]> git.sesse.net Git - ffmpeg/commitdiff
Use disabled() to check for GPL.
authorDiego Biurrun <diego@biurrun.de>
Sun, 28 Jan 2007 16:28:03 +0000 (16:28 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 28 Jan 2007 16:28:03 +0000 (16:28 +0000)
Originally committed as revision 7744 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index b4c0d825f988c0fdb122dfd8117989df8f479629..1b6bed03f105e48182cc9a65154497a0d0201a7e 100755 (executable)
--- a/configure
+++ b/configure
@@ -1227,7 +1227,7 @@ if enabled libvorbis && disabled libogg; then
     die "libogg must be enabled to enable libvorbis."
 fi
 
-if test "$gpl" != "yes"; then
+if disabled gpl ; then
     if enabled pp; then
         die "The Postprocessing code is under GPL and --enable-gpl is not specified."
     fi