From 54c411f6afeafb88649c565d252ab0245266eeee Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 5 Jun 2004 09:57:35 +0000 Subject: [PATCH] Add more warnings if --enable-warnings is turned on. (probably requires gcc-3.0 or newer, but I hope it's OK) --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 69ea0f8d..7a4674d3 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