This one moves the GPL check in the right place
Originally committed as revision 7359 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
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