The fail test needs to be outside of the GPL test, it's referenced elsewhere.
[libav.git] / 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