From b8bd34305e5313a9fb9e791fe97ffccebe414a81 Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Sun, 24 Dec 2006 02:14:26 +0000
Subject: [PATCH] Slightly shorten libvorbis check.

Originally committed as revision 7371 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/configure b/configure
index c516554600b..0f8b39f33eb 100755
--- 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
-- 
GitLab