diff options
author | Martin Mares <mj@ucw.cz> | 2004-06-05 11:57:35 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2004-06-05 11:57:35 +0200 |
commit | 54c411f6afeafb88649c565d252ab0245266eeee (patch) | |
tree | 89015c826574bc4ed2a238ab91ee869370fb6f60 | |
parent | 189dab54a211d2d92148d2aae7130df3a080e7c8 (diff) | |
download | bird-54c411f6afeafb88649c565d252ab0245266eeee.tar bird-54c411f6afeafb88649c565d252ab0245266eeee.zip |
Add more warnings if --enable-warnings is turned on. (probably requires
gcc-3.0 or newer, but I hope it's OK)
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 69ea0f8..7a4674d 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 |