Make use of enabled_any().

Originally committed as revision 7743 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2007-01-28 16:22:07 +00:00
parent 2f7e6782f4
commit ec5527c516
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -1232,7 +1232,7 @@ if test "$gpl" != "yes"; then
die "The Postprocessing code is under GPL and --enable-gpl is not specified."
fi
if test "$liba52" != "no" -o "$liba52bin" != "no"; then
if enabled_any liba52 liba52bin ; then
die "liba52 is under GPL and --enable-gpl is not specified."
fi
@ -1248,7 +1248,7 @@ if test "$gpl" != "yes"; then
die "libdts is under GPL and --enable-gpl is not specified."
fi
if test "$libfaad" != "no" -o "$libfaadbin" != "no"; then
if enabled_any libfaad libfaadbin ; then
if check_header faad.h; then
check_cc << EOF
#include <faad.h>