The fail test needs to be outside of the GPL test, it's referenced elsewhere.
authorRamiro Polla <ramiro@lisha.ufsc.br>
Thu, 31 Aug 2006 19:02:10 +0000 (19:02 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 31 Aug 2006 19:02:10 +0000 (19:02 +0000)
patch by Ramiro Polla, angustia (at) arrozcru (dot) no-ip (dot) org

Originally committed as revision 6145 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 6c9065f..354f441 100755 (executable)
--- a/configure
+++ b/configure
@@ -985,10 +985,10 @@ EOF
         echo "The software scaler is under GPL and --enable-gpl is not specified."
         fail="yes"
     fi
         echo "The software scaler is under GPL and --enable-gpl is not specified."
         fail="yes"
     fi
+fi
 
 
-    if test "$fail" = "yes"; then
-        exit 1
-    fi
+if test "$fail" = "yes"; then
+    exit 1
 fi
 
 # compute MMX state
 fi
 
 # compute MMX state