]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Add more warnings if --enable-warnings is turned on. (probably requires
authorMartin Mares <mj@ucw.cz>
Sat, 5 Jun 2004 09:57:35 +0000 (09:57 +0000)
committerMartin Mares <mj@ucw.cz>
Sat, 5 Jun 2004 09:57:35 +0000 (09:57 +0000)
gcc-3.0 or newer, but I hope it's OK)

configure.in

index 69ea0f8dc1aa6e032c5aefa793983c14b44a71b6..7a4674d3de25e1497ef97518003deb4674d72638 100644 (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