aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamiro Polla <ramiro@lisha.ufsc.br>2007-02-06 07:57:56 +0000
committerDiego Biurrun <diego@biurrun.de>2007-02-06 07:57:56 +0000
commitddf50e4cc3a1c676133af886ad657b72473d09b9 (patch)
treee43ece6b8b30851c52e5684858aff3ad6dd339e9
parentac91185fb7ca1372b3cab0e38c42760c84319d09 (diff)
downloadffmpeg-ddf50e4cc3a1c676133af886ad657b72473d09b9.tar.gz
Simplify libvorbis/libtheora check for libogg dependency.
patch by Ramiro Polla, ramiro lisha.ufsc br Originally committed as revision 7850 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure9
1 files changed, 3 insertions, 6 deletions
diff --git a/configure b/configure
index a5c24a05b0..ce1585d2d4 100755
--- a/configure
+++ b/configure
@@ -1220,12 +1220,9 @@ EOF
exit 1;
fi
-if enabled libtheora && disabled libogg; then
- die "libogg must be enabled to enable libtheora."
-fi
-
-if enabled libvorbis && disabled libogg; then
- die "libogg must be enabled to enable libvorbis."
+if disabled libogg; then
+ enabled libtheora && die "libogg must be enabled to enable libtheora."
+ enabled libvorbis && die "libogg must be enabled to enable libvorbis."
fi
if enabled_any libfaad libfaadbin ; then