From ddf50e4cc3a1c676133af886ad657b72473d09b9 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Tue, 6 Feb 2007 07:57:56 +0000 Subject: [PATCH] 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 --- configure | 9 +++------ 1 file 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