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
This commit is contained in:
Ramiro Polla 2007-02-06 07:57:56 +00:00 committed by Diego Biurrun
parent ac91185fb7
commit ddf50e4cc3
1 changed files with 3 additions and 6 deletions

9
configure vendored
View File

@ -1220,12 +1220,9 @@ EOF
exit 1; exit 1;
fi fi
if enabled libtheora && disabled libogg; then if disabled libogg; then
die "libogg must be enabled to enable libtheora." enabled libtheora && die "libogg must be enabled to enable libtheora."
fi enabled libvorbis && die "libogg must be enabled to enable libvorbis."
if enabled libvorbis && disabled libogg; then
die "libogg must be enabled to enable libvorbis."
fi fi
if enabled_any libfaad libfaadbin ; then if enabled_any libfaad libfaadbin ; then