Replaced the SF_NOWARN flag with an SF_WARN flag which does the inverse.
Fixes #18
This commit is contained in:
parent
000905e6af
commit
c516cd7bb4
|
@ -58,14 +58,12 @@ PKG_CHECK_MODULES([PANGO], [pango], [
|
||||||
echo "Note: Pango not found; Unicode will not be supported."
|
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_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_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_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)])
|
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"], [
|
AS_IF([test -n "$SF_WARN"], [
|
||||||
echo "Disabling compiler warnings"
|
|
||||||
], [
|
|
||||||
STARFIGHTER_CPPFLAGS="$STARFIGHTER_CPPFLAGS -Wall -Wformat-truncation=0"
|
STARFIGHTER_CPPFLAGS="$STARFIGHTER_CPPFLAGS -Wall -Wformat-truncation=0"
|
||||||
])
|
])
|
||||||
AS_IF([test -n "$SF_SCREEN_WIDTH"], [
|
AS_IF([test -n "$SF_SCREEN_WIDTH"], [
|
||||||
|
|
Loading…
Reference in New Issue