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:
parent
189dab54a2
commit
54c411f6af
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue