diff --git a/configure b/configure
index 21151eacb4763f2a16ef6d1d8aa0e4b2ada3343f..65b220d704444554bc81eed3a3cc00a5d72470cc 100755
--- a/configure
+++ b/configure
@@ -1173,6 +1173,11 @@ EOF
         echo "The X11 grabber is under GPL and --enable-gpl is not specified."
         fail="yes"
     fi
+
+    if test "$swscaler" != "no"; then
+        echo "The software scaler is under GPL and --enable-gpl is not specified."
+        fail="yes"
+    fi
 fi
 
 if test "$fail" = "yes"; then
@@ -1357,11 +1362,6 @@ if test $arch = "powerpc"; then
             add_cflags "-maltivec -mabi=altivec"
         fi
     fi
-
-    if test "$swscaler" != "no"; then
-        echo "The software scaler is under GPL and --enable-gpl is not specified."
-        fail="yes"
-    fi
 fi
 
 check_header altivec.h