OSDN Git Service

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 a5c24a0..ce1585d 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