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

9
configure vendored
View File

@ -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