mirror of https://git.ffmpeg.org/ffmpeg.git
Use disabled() to check for GPL.
Originally committed as revision 7744 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ec5527c516
commit
47f9cc15cc
|
@ -1227,7 +1227,7 @@ if enabled libvorbis && disabled libogg; then
|
||||||
die "libogg must be enabled to enable libvorbis."
|
die "libogg must be enabled to enable libvorbis."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$gpl" != "yes"; then
|
if disabled gpl ; then
|
||||||
if enabled pp; then
|
if enabled pp; then
|
||||||
die "The Postprocessing code is under GPL and --enable-gpl is not specified."
|
die "The Postprocessing code is under GPL and --enable-gpl is not specified."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue