Add more warnings if --enable-warnings is turned on. (probably requires

gcc-3.0 or newer, but I hope it's OK)
This commit is contained in:
Martin Mares 2004-06-05 09:57:35 +00:00
parent 189dab54a2
commit 54c411f6af

View file

@ -58,7 +58,7 @@ if test -z "$GCC" ; then
AC_MSG_CHECKING([what CFLAGS should we use])
if test "$ac_test_CFLAGS" != set ; then
if test "$enable_warnings" = yes ; then
WARNS=""
WARNS=" -Wmissing-prototypes -Wundef"
else
WARNS=" -Wno-unused"
fi