summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-08-28 11:59:51 +0200
committerSimon Josefsson <simon@josefsson.org>2008-08-28 11:59:51 +0200
commitd27069c41628740388584ac409b8fbac7623af06 (patch)
tree6ae2c214fb66ca84cf5e57de2ae3bd3b10887b94
parent41d281f2b0f660d0bfcb4346074bae70b380e716 (diff)
downloadgnutls-d27069c41628740388584ac409b8fbac7623af06.tar.gz
Add warning.
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index c4fd2bb326..b27897db07 100644
--- a/configure.in
+++ b/configure.in
@@ -133,7 +133,7 @@ if test $ac_cv_c_compiler_gnu != no; then
if test x$opt_developer_mode = xyes; then
AC_MSG_CHECKING([whether gcc supports various warning flags])
_gcc_cflags_save="$CFLAGS"
- CFLAGS="${CFLAGS} -g -Wall -Wcast-align -W -Wpointer-arith -Wchar-subscripts -Wformat-security -Wno-format-y2k -Wmissing-braces -Winline -Wstrict-prototypes -Wno-unused-parameter"
+ CFLAGS="${CFLAGS} -g -Wall -Wcast-align -W -Wpointer-arith -Wchar-subscripts -Wformat-security -Wno-format-y2k -Wmissing-braces -Winline -Wstrict-prototypes -Wno-unused-parameter -Wredundant-decls"
AC_COMPILE_IFELSE(AC_LANG_PROGRAM([]),_gcc_warns=yes,_gcc_warns=no)
AC_MSG_RESULT($_gcc_warns)
if test x"$_gcc_warns" != xyes ; then