diff --git a/configure.ac b/configure.ac index fca8fa3..e91abec 100644 --- a/configure.ac +++ b/configure.ac @@ -58,14 +58,12 @@ PKG_CHECK_MODULES([PANGO], [pango], [ echo "Note: Pango not found; Unicode will not be supported." ]) -AC_ARG_VAR([SF_NOWARN], [Set to 1 to disable compiler warnings (useful for older GCC versions)]) +AC_ARG_VAR([SF_WARN], [Set to 1 to enable compiler warnings]) AC_ARG_VAR([SF_SCREEN_WIDTH], [The width of the game window in pixels]) AC_ARG_VAR([SF_SCREEN_HEIGHT], [The height of the game window in pixels]) AC_ARG_VAR([SF_NOFONT], [Set to 1 to manually force the compiler not to include font/Unicode support]) AC_ARG_VAR([SF_RUN_IN_PLACE], [Set to 1 to compile Starfighter to run in-place (instead of installing)]) -AS_IF([test -n "$SF_NOWARN"], [ - echo "Disabling compiler warnings" -], [ +AS_IF([test -n "$SF_WARN"], [ STARFIGHTER_CPPFLAGS="$STARFIGHTER_CPPFLAGS -Wall -Wformat-truncation=0" ]) AS_IF([test -n "$SF_SCREEN_WIDTH"], [