change default compile flags to have more warnings

This commit is contained in:
Jérémy Rosen 2006-01-03 23:16:19 +00:00
parent eab9c1533b
commit 271a123e7f

View file

@ -57,7 +57,9 @@ AC_PROG_RANLIB
AC_ARG_ENABLE([debug],
AS_HELP_STRING([--enable-debug], [enable debug in wesnoth]),
[if test "x${enableval}" = "xyes" ; then
CXXFLAGS="$CXXFLAGS -DDEBUG -O0 -ggdb3"
CXXFLAGS="$CXXFLAGS -DDEBUG -O0 -ggdb3 -Wextra -Wall -ansi -pedantic" ;
else
CXXFLAGS="$CXXFLAGS -Wextra -Wall -ansi -pedantic" ;
fi])
AC_ARG_ENABLE([static],