]> git.sesse.net Git - ffmpeg/commitdiff
Simplify libvorbis/libtheora check for libogg dependency.
authorRamiro Polla <ramiro@lisha.ufsc.br>
Tue, 6 Feb 2007 07:57:56 +0000 (07:57 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 6 Feb 2007 07:57:56 +0000 (07:57 +0000)
patch by Ramiro Polla, ramiro lisha.ufsc br

Originally committed as revision 7850 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index a5c24a05b0212f4961a72d7d7058143bf642a6ad..ce1585d2d49f3c5cc45940b5e57b3e65124bc04f 100755 (executable)
--- 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