From: Martin Mares Date: Sat, 5 Jun 2004 09:57:35 +0000 (+0000) Subject: Add more warnings if --enable-warnings is turned on. (probably requires X-Git-Tag: v1.2.0~318 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54c411f6afeafb88649c565d252ab0245266eeee;p=thirdparty%2Fbird.git Add more warnings if --enable-warnings is turned on. (probably requires gcc-3.0 or newer, but I hope it's OK) --- diff --git a/configure.in b/configure.in index 69ea0f8dc..7a4674d3d 100644 --- a/configure.in +++ b/configure.in @@ -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