Slightly shorten libvorbis check.
authorDiego Biurrun <diego@biurrun.de>
Sun, 24 Dec 2006 02:14:26 +0000 (02:14 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 24 Dec 2006 02:14:26 +0000 (02:14 +0000)
Originally committed as revision 7371 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index c516554..0f8b39f 100755 (executable)
--- a/configure
+++ b/configure
@@ -1117,11 +1117,9 @@ EOF
     exit 1;
 fi
 
-if test "$libvorbis" = "yes" ; then
-    if test "$libogg" = "no"; then
-        echo "libogg must be enabled to enable Vorbis."
-        fail="yes"
-    fi
+if test "$libvorbis" = "yes" && test "$libogg" = "no"; then
+    echo "libogg must be enabled to enable libvorbis."
+    fail="yes"
 fi
 
 if test "$gpl" != "yes"; then