summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2011-03-28 11:06:43 +0100
committerColin Watson <cjwatson@debian.org>2011-03-28 11:06:43 +0100
commite1596e5efe1020db2d571959d6b378c8d6c50963 (patch)
tree88ca9cad011117b1ed94864d2229e22ddc241c74
parentb2554a18ed31506aea08786c9c5361f39f635ef0 (diff)
* m4/man-gcc-warning.m4: Remove.
* gnulib: Import warnings module. * configure.ac: Replace MAN_GCC_WARNING with gl_WARN_ADD.
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.in3
-rw-r--r--aclocal.m42
-rwxr-xr-xconfigure312
-rw-r--r--configure.ac16
-rw-r--r--docs/Makefile.in3
-rw-r--r--gnulib/lib/Makefile.am2
-rw-r--r--gnulib/lib/Makefile.in5
-rw-r--r--gnulib/m4/gnulib-cache.m43
-rw-r--r--gnulib/m4/gnulib-comp.m44
-rw-r--r--gnulib/m4/warnings.m436
-rw-r--r--lib/Makefile.in3
-rw-r--r--libdb/Makefile.in3
-rw-r--r--m4/man-gcc-warning.m414
-rw-r--r--man/Makefile.in3
-rw-r--r--man/de/Makefile.in3
-rw-r--r--man/es/Makefile.in3
-rw-r--r--man/fr/Makefile.in3
-rw-r--r--man/id/Makefile.in3
-rw-r--r--man/it/Makefile.in3
-rw-r--r--man/ja/Makefile.in3
-rw-r--r--man/nl/Makefile.in3
-rw-r--r--man/pl/Makefile.in3
-rw-r--r--man/po4a/Makefile.in3
-rw-r--r--man/ru/Makefile.in3
-rw-r--r--manual/Makefile.in3
-rw-r--r--src/Makefile.in3
-rw-r--r--src/tests/Makefile.in3
-rw-r--r--tools/Makefile.in3
29 files changed, 277 insertions, 180 deletions
diff --git a/ChangeLog b/ChangeLog
index cfd7238d..08c156ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon Mar 28 11:06:04 BST 2011 Colin Watson <cjwatson@debian.org>
+
+ * m4/man-gcc-warning.m4: Remove.
+ * gnulib: Import warnings module.
+ * configure.ac: Replace MAN_GCC_WARNING with gl_WARN_ADD.
+
Sun Mar 27 18:25:25 BST 2011 Colin Watson <cjwatson@debian.org>
* Version: 2.6.0-pre1.
diff --git a/Makefile.in b/Makefile.in
index aec43879..cb77ae4d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -43,7 +43,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -189,6 +188,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -999,6 +999,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/aclocal.m4 b/aclocal.m4
index 4e94a08d..19ff7a60 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1212,7 +1212,6 @@ AC_SUBST([am__untar])
m4_include([m4/man-bdb.m4])
m4_include([m4/man-check-progs.m4])
m4_include([m4/man-compress-lib.m4])
-m4_include([m4/man-gcc-warning.m4])
m4_include([m4/man-gnu-nroff.m4])
m4_include([m4/man-heirloom-nroff.m4])
m4_include([m4/man-linguas.m4])
@@ -1359,6 +1358,7 @@ m4_include([gnulib/m4/vasnprintf.m4])
m4_include([gnulib/m4/vasprintf.m4])
m4_include([gnulib/m4/vsnprintf.m4])
m4_include([gnulib/m4/warn-on-use.m4])
+m4_include([gnulib/m4/warnings.m4])
m4_include([gnulib/m4/wchar_h.m4])
m4_include([gnulib/m4/wchar_t.m4])
m4_include([gnulib/m4/wcrtomb.m4])
diff --git a/configure b/configure
index 8600dfcb..d282b2be 100755
--- a/configure
+++ b/configure
@@ -824,6 +824,7 @@ HAVE_WINT_T
HAVE_WCHAR_H
NEXT_AS_FIRST_DIRECTIVE_WCHAR_H
NEXT_WCHAR_H
+WARN_CFLAGS
HAVE_FEATURES_H
HAVE_UNISTD_H
NEXT_AS_FIRST_DIRECTIVE_UNISTD_H
@@ -6104,13 +6105,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
- (eval echo "\"\$as_me:6107: $ac_compile\"" >&5)
+ (eval echo "\"\$as_me:6108: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
- (eval echo "\"\$as_me:6110: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval echo "\"\$as_me:6111: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
- (eval echo "\"\$as_me:6113: output\"" >&5)
+ (eval echo "\"\$as_me:6114: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
@@ -7315,7 +7316,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 7318 "configure"' > conftest.$ac_ext
+ echo '#line 7319 "configure"' > conftest.$ac_ext
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -8576,11 +8577,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:8579: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8580: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:8583: \$? = $ac_status" >&5
+ echo "$as_me:8584: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -8915,11 +8916,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:8918: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8919: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:8922: \$? = $ac_status" >&5
+ echo "$as_me:8923: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -9020,11 +9021,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9023: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9024: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:9027: \$? = $ac_status" >&5
+ echo "$as_me:9028: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -9075,11 +9076,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:9078: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:9079: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:9082: \$? = $ac_status" >&5
+ echo "$as_me:9083: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -11459,7 +11460,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11462 "configure"
+#line 11463 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11555,7 +11556,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11558 "configure"
+#line 11559 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13331,6 +13332,7 @@ fi
# Code from module verify:
# Code from module vsnprintf:
# Code from module warn-on-use:
+ # Code from module warnings:
# Code from module wchar:
# Code from module wcrtomb:
# Code from module wctype-h:
@@ -13486,15 +13488,15 @@ case $host_os in
esac
if test "$GCC" = yes
then
- man_saved_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -W"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking that GCC supports -W" >&5
-$as_echo_n "checking that GCC supports -W... " >&6; }
-if test "${man_cv_gcc_warning_+set}" = set; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -W" >&5
+$as_echo_n "checking whether compiler handles -W... " >&6; }
+if test "${gl_cv_warn__W+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- man_cv_gcc_warning_=no
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+ save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="${CPPFLAGS} -W"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -13505,25 +13507,30 @@ main ()
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- man_cv_gcc_warning_=yes
+if ac_fn_c_try_cpp "$LINENO"; then :
+ gl_cv_warn__W=yes
+else
+ gl_cv_warn__W=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
+ CPPFLAGS="$save_CPPFLAGS"
+
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $man_cv_gcc_warning_" >&5
-$as_echo "$man_cv_gcc_warning_" >&6; }
- if test "$man_cv_gcc_warning_" = no; then
- CFLAGS="$man_saved_CFLAGS"
- fi # -W
- man_saved_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -Wpointer-arith"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking that GCC supports -Wpointer-arith" >&5
-$as_echo_n "checking that GCC supports -Wpointer-arith... " >&6; }
-if test "${man_cv_gcc_warning_pointer_arith+set}" = set; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__W" >&5
+$as_echo "$gl_cv_warn__W" >&6; }
+if test "x$gl_cv_warn__W" = x""yes; then :
+ as_fn_append CFLAGS " -W"
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wpointer-arith" >&5
+$as_echo_n "checking whether compiler handles -Wpointer-arith... " >&6; }
+if test "${gl_cv_warn__Wpointer_arith+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- man_cv_gcc_warning_pointer_arith=no
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+ save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="${CPPFLAGS} -Wpointer-arith"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -13534,25 +13541,30 @@ main ()
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- man_cv_gcc_warning_pointer_arith=yes
+if ac_fn_c_try_cpp "$LINENO"; then :
+ gl_cv_warn__Wpointer_arith=yes
+else
+ gl_cv_warn__Wpointer_arith=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
+ CPPFLAGS="$save_CPPFLAGS"
+
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $man_cv_gcc_warning_pointer_arith" >&5
-$as_echo "$man_cv_gcc_warning_pointer_arith" >&6; }
- if test "$man_cv_gcc_warning_pointer_arith" = no; then
- CFLAGS="$man_saved_CFLAGS"
- fi
- man_saved_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -Wwrite-strings"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking that GCC supports -Wwrite-strings" >&5
-$as_echo_n "checking that GCC supports -Wwrite-strings... " >&6; }
-if test "${man_cv_gcc_warning_write_strings+set}" = set; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wpointer_arith" >&5
+$as_echo "$gl_cv_warn__Wpointer_arith" >&6; }
+if test "x$gl_cv_warn__Wpointer_arith" = x""yes; then :
+ as_fn_append CFLAGS " -Wpointer-arith"
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wwrite-strings" >&5
+$as_echo_n "checking whether compiler handles -Wwrite-strings... " >&6; }
+if test "${gl_cv_warn__Wwrite_strings+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- man_cv_gcc_warning_write_strings=no
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+ save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="${CPPFLAGS} -Wwrite-strings"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -13563,25 +13575,30 @@ main ()
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- man_cv_gcc_warning_write_strings=yes
+if ac_fn_c_try_cpp "$LINENO"; then :
+ gl_cv_warn__Wwrite_strings=yes
+else
+ gl_cv_warn__Wwrite_strings=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
+ CPPFLAGS="$save_CPPFLAGS"
+
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $man_cv_gcc_warning_write_strings" >&5
-$as_echo "$man_cv_gcc_warning_write_strings" >&6; }
- if test "$man_cv_gcc_warning_write_strings" = no; then
- CFLAGS="$man_saved_CFLAGS"
- fi
- man_saved_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -Wstrict-prototypes"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking that GCC supports -Wstrict-prototypes" >&5
-$as_echo_n "checking that GCC supports -Wstrict-prototypes... " >&6; }
-if test "${man_cv_gcc_warning_strict_prototypes+set}" = set; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wwrite_strings" >&5
+$as_echo "$gl_cv_warn__Wwrite_strings" >&6; }
+if test "x$gl_cv_warn__Wwrite_strings" = x""yes; then :
+ as_fn_append CFLAGS " -Wwrite-strings"
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wstrict-prototypes" >&5
+$as_echo_n "checking whether compiler handles -Wstrict-prototypes... " >&6; }
+if test "${gl_cv_warn__Wstrict_prototypes+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- man_cv_gcc_warning_strict_prototypes=no
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+ save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="${CPPFLAGS} -Wstrict-prototypes"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -13592,25 +13609,30 @@ main ()
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- man_cv_gcc_warning_strict_prototypes=yes
+if ac_fn_c_try_cpp "$LINENO"; then :
+ gl_cv_warn__Wstrict_prototypes=yes
+else
+ gl_cv_warn__Wstrict_prototypes=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
+ CPPFLAGS="$save_CPPFLAGS"
+
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $man_cv_gcc_warning_strict_prototypes" >&5
-$as_echo "$man_cv_gcc_warning_strict_prototypes" >&6; }
- if test "$man_cv_gcc_warning_strict_prototypes" = no; then
- CFLAGS="$man_saved_CFLAGS"
- fi
- man_saved_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -Wshadow"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking that GCC supports -Wshadow" >&5
-$as_echo_n "checking that GCC supports -Wshadow... " >&6; }
-if test "${man_cv_gcc_warning_shadow+set}" = set; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wstrict_prototypes" >&5
+$as_echo "$gl_cv_warn__Wstrict_prototypes" >&6; }
+if test "x$gl_cv_warn__Wstrict_prototypes" = x""yes; then :
+ as_fn_append CFLAGS " -Wstrict-prototypes"
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wshadow" >&5
+$as_echo_n "checking whether compiler handles -Wshadow... " >&6; }
+if test "${gl_cv_warn__Wshadow+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- man_cv_gcc_warning_shadow=no
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+ save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="${CPPFLAGS} -Wshadow"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -13621,25 +13643,30 @@ main ()
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- man_cv_gcc_warning_shadow=yes
+if ac_fn_c_try_cpp "$LINENO"; then :
+ gl_cv_warn__Wshadow=yes
+else
+ gl_cv_warn__Wshadow=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
+ CPPFLAGS="$save_CPPFLAGS"
+
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $man_cv_gcc_warning_shadow" >&5
-$as_echo "$man_cv_gcc_warning_shadow" >&6; }
- if test "$man_cv_gcc_warning_shadow" = no; then
- CFLAGS="$man_saved_CFLAGS"
- fi
- man_saved_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -Wformat-security"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking that GCC supports -Wformat-security" >&5
-$as_echo_n "checking that GCC supports -Wformat-security... " >&6; }
-if test "${man_cv_gcc_warning_format_security+set}" = set; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wshadow" >&5
+$as_echo "$gl_cv_warn__Wshadow" >&6; }
+if test "x$gl_cv_warn__Wshadow" = x""yes; then :
+ as_fn_append CFLAGS " -Wshadow"
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wformat-security" >&5
+$as_echo_n "checking whether compiler handles -Wformat-security... " >&6; }
+if test "${gl_cv_warn__Wformat_security+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- man_cv_gcc_warning_format_security=no
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+ save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="${CPPFLAGS} -Wformat-security"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -13650,25 +13677,30 @@ main ()
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- man_cv_gcc_warning_format_security=yes
+if ac_fn_c_try_cpp "$LINENO"; then :
+ gl_cv_warn__Wformat_security=yes
+else
+ gl_cv_warn__Wformat_security=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
+ CPPFLAGS="$save_CPPFLAGS"
+
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $man_cv_gcc_warning_format_security" >&5
-$as_echo "$man_cv_gcc_warning_format_security" >&6; }
- if test "$man_cv_gcc_warning_format_security" = no; then
- CFLAGS="$man_saved_CFLAGS"
- fi
- man_saved_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -Wredundant-decls"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking that GCC supports -Wredundant-decls" >&5
-$as_echo_n "checking that GCC supports -Wredundant-decls... " >&6; }
-if test "${man_cv_gcc_warning_redundant_decls+set}" = set; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wformat_security" >&5
+$as_echo "$gl_cv_warn__Wformat_security" >&6; }
+if test "x$gl_cv_warn__Wformat_security" = x""yes; then :
+ as_fn_append CFLAGS " -Wformat-security"
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wredundant-decls" >&5
+$as_echo_n "checking whether compiler handles -Wredundant-decls... " >&6; }
+if test "${gl_cv_warn__Wredundant_decls+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- man_cv_gcc_warning_redundant_decls=no
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+ save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="${CPPFLAGS} -Wredundant-decls"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -13679,25 +13711,30 @@ main ()
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- man_cv_gcc_warning_redundant_decls=yes
+if ac_fn_c_try_cpp "$LINENO"; then :
+ gl_cv_warn__Wredundant_decls=yes
+else
+ gl_cv_warn__Wredundant_decls=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
+ CPPFLAGS="$save_CPPFLAGS"
+
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $man_cv_gcc_warning_redundant_decls" >&5
-$as_echo "$man_cv_gcc_warning_redundant_decls" >&6; }
- if test "$man_cv_gcc_warning_redundant_decls" = no; then
- CFLAGS="$man_saved_CFLAGS"
- fi
- man_saved_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -Wno-missing-field-initializers"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking that GCC supports -Wno-missing-field-initializers" >&5
-$as_echo_n "checking that GCC supports -Wno-missing-field-initializers... " >&6; }
-if test "${man_cv_gcc_warning_no_missing_field_initializers+set}" = set; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wredundant_decls" >&5
+$as_echo "$gl_cv_warn__Wredundant_decls" >&6; }
+if test "x$gl_cv_warn__Wredundant_decls" = x""yes; then :
+ as_fn_append CFLAGS " -Wredundant-decls"
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-missing-field-initializers" >&5
+$as_echo_n "checking whether compiler handles -Wno-missing-field-initializers... " >&6; }
+if test "${gl_cv_warn__Wno_missing_field_initializers+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- man_cv_gcc_warning_no_missing_field_initializers=no
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+ save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="${CPPFLAGS} -Wno-missing-field-initializers"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
@@ -13708,16 +13745,21 @@ main ()
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- man_cv_gcc_warning_no_missing_field_initializers=yes
+if ac_fn_c_try_cpp "$LINENO"; then :
+ gl_cv_warn__Wno_missing_field_initializers=yes
+else
+ gl_cv_warn__Wno_missing_field_initializers=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
+ CPPFLAGS="$save_CPPFLAGS"
+
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $man_cv_gcc_warning_no_missing_field_initializers" >&5
-$as_echo "$man_cv_gcc_warning_no_missing_field_initializers" >&6; }
- if test "$man_cv_gcc_warning_no_missing_field_initializers" = no; then
- CFLAGS="$man_saved_CFLAGS"
- fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_missing_field_initializers" >&5
+$as_echo "$gl_cv_warn__Wno_missing_field_initializers" >&6; }
+if test "x$gl_cv_warn__Wno_missing_field_initializers" = x""yes; then :
+ as_fn_append CFLAGS " -Wno-missing-field-initializers"
+fi
+
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
@@ -33466,6 +33508,8 @@ $as_echo "#define GNULIB_TEST_VSNPRINTF 1" >>confdefs.h
# Code from module warn-on-use:
+ # Code from module warnings:
+
# Code from module wchar:
diff --git a/configure.ac b/configure.ac
index 0ce6e7c9..d1093105 100644
--- a/configure.ac
+++ b/configure.ac
@@ -144,14 +144,14 @@ case $host_os in
esac
if test "$GCC" = yes
then
- MAN_GCC_WARNING([]) # -W
- MAN_GCC_WARNING([pointer-arith])
- MAN_GCC_WARNING([write-strings])
- MAN_GCC_WARNING([strict-prototypes])
- MAN_GCC_WARNING([shadow])
- MAN_GCC_WARNING([format-security])
- MAN_GCC_WARNING([redundant-decls])
- MAN_GCC_WARNING([no-missing-field-initializers])
+ gl_WARN_ADD([-W], [CFLAGS])
+ gl_WARN_ADD([-Wpointer-arith], [CFLAGS])
+ gl_WARN_ADD([-Wwrite-strings], [CFLAGS])
+ gl_WARN_ADD([-Wstrict-prototypes], [CFLAGS])
+ gl_WARN_ADD([-Wshadow], [CFLAGS])
+ gl_WARN_ADD([-Wformat-security], [CFLAGS])
+ gl_WARN_ADD([-Wredundant-decls], [CFLAGS])
+ gl_WARN_ADD([-Wno-missing-field-initializers], [CFLAGS])
fi
AC_PROG_INSTALL
AC_PROG_LN_S
diff --git a/docs/Makefile.in b/docs/Makefile.in
index 0e40fa14..2808a409 100644
--- a/docs/Makefile.in
+++ b/docs/Makefile.in
@@ -40,7 +40,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -186,6 +185,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -944,6 +944,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/gnulib/lib/Makefile.am b/gnulib/lib/Makefile.am
index ddeff8bf..c6484f9e 100644
--- a/gnulib/lib/Makefile.am
+++ b/gnulib/lib/Makefile.am
@@ -9,7 +9,7 @@
# the same distribution terms as the rest of that program.
#
# Generated by gnulib-tool.
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --po-base=gnulib/po --doc-base=doc --tests-base=tests --aux-dir=tools --libtool --macro-prefix=gl --po-domain=man-db argp canonicalize dirname error fnmatch-gnu getopt-gnu gettext glob idpriv-drop idpriv-droptemp lib-ignore localcharset lock minmax mkdtemp mkstemp regex rename setenv sigaction signal sigprocmask strerror strsep unsetenv xalloc xgetcwd xstrndup xvasprintf
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --po-base=gnulib/po --doc-base=doc --tests-base=tests --aux-dir=tools --libtool --macro-prefix=gl --po-domain=man-db argp canonicalize dirname error fnmatch-gnu getopt-gnu gettext glob idpriv-drop idpriv-droptemp lib-ignore localcharset lock minmax mkdtemp mkstemp regex rename setenv sigaction signal sigprocmask strerror strsep unsetenv warnings xalloc xgetcwd xstrndup xvasprintf
AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
diff --git a/gnulib/lib/Makefile.in b/gnulib/lib/Makefile.in
index 66be049f..fe068e28 100644
--- a/gnulib/lib/Makefile.in
+++ b/gnulib/lib/Makefile.in
@@ -24,7 +24,7 @@
# the same distribution terms as the rest of that program.
#
# Generated by gnulib-tool.
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --po-base=gnulib/po --doc-base=doc --tests-base=tests --aux-dir=tools --libtool --macro-prefix=gl --po-domain=man-db argp canonicalize dirname error fnmatch-gnu getopt-gnu gettext glob idpriv-drop idpriv-droptemp lib-ignore localcharset lock minmax mkdtemp mkstemp regex rename setenv sigaction signal sigprocmask strerror strsep unsetenv xalloc xgetcwd xstrndup xvasprintf
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --po-base=gnulib/po --doc-base=doc --tests-base=tests --aux-dir=tools --libtool --macro-prefix=gl --po-domain=man-db argp canonicalize dirname error fnmatch-gnu getopt-gnu gettext glob idpriv-drop idpriv-droptemp lib-ignore localcharset lock minmax mkdtemp mkstemp regex rename setenv sigaction signal sigprocmask strerror strsep unsetenv warnings xalloc xgetcwd xstrndup xvasprintf
@@ -53,7 +53,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -199,6 +198,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -1036,6 +1036,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/gnulib/m4/gnulib-cache.m4 b/gnulib/m4/gnulib-cache.m4
index 9b0a6476..1b999734 100644
--- a/gnulib/m4/gnulib-cache.m4
+++ b/gnulib/m4/gnulib-cache.m4
@@ -15,7 +15,7 @@
# Specification in the form of a command-line invocation:
-# gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --po-base=gnulib/po --doc-base=doc --tests-base=tests --aux-dir=tools --libtool --macro-prefix=gl --po-domain=man-db argp canonicalize dirname error fnmatch-gnu getopt-gnu gettext glob idpriv-drop idpriv-droptemp lib-ignore localcharset lock minmax mkdtemp mkstemp regex rename setenv sigaction signal sigprocmask strerror strsep unsetenv xalloc xgetcwd xstrndup xvasprintf
+# gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --po-base=gnulib/po --doc-base=doc --tests-base=tests --aux-dir=tools --libtool --macro-prefix=gl --po-domain=man-db argp canonicalize dirname error fnmatch-gnu getopt-gnu gettext glob idpriv-drop idpriv-droptemp lib-ignore localcharset lock minmax mkdtemp mkstemp regex rename setenv sigaction signal sigprocmask strerror strsep unsetenv warnings xalloc xgetcwd xstrndup xvasprintf
# Specification in the form of a few gnulib-tool.m4 macro invocations:
gl_LOCAL_DIR([])
@@ -45,6 +45,7 @@ gl_MODULES([
strerror
strsep
unsetenv
+ warnings
xalloc
xgetcwd
xstrndup
diff --git a/gnulib/m4/gnulib-comp.m4 b/gnulib/m4/gnulib-comp.m4
index f0f17917..0a89e881 100644
--- a/gnulib/m4/gnulib-comp.m4
+++ b/gnulib/m4/gnulib-comp.m4
@@ -164,6 +164,7 @@ AC_DEFUN([gl_EARLY],
# Code from module verify:
# Code from module vsnprintf:
# Code from module warn-on-use:
+ # Code from module warnings:
# Code from module wchar:
# Code from module wcrtomb:
# Code from module wctype-h:
@@ -507,6 +508,8 @@ AC_SUBST([LTALLOCA])
gl_FUNC_VSNPRINTF
gl_STDIO_MODULE_INDICATOR([vsnprintf])
# Code from module warn-on-use:
+ # Code from module warnings:
+ AC_SUBST([WARN_CFLAGS])
# Code from module wchar:
gl_WCHAR_H
# Code from module wcrtomb:
@@ -1018,6 +1021,7 @@ AC_DEFUN([gl_FILE_LIST], [
m4/visibility.m4
m4/vsnprintf.m4
m4/warn-on-use.m4
+ m4/warnings.m4
m4/wchar_h.m4
m4/wchar_t.m4
m4/wcrtomb.m4
diff --git a/gnulib/m4/warnings.m4 b/gnulib/m4/warnings.m4
new file mode 100644
index 00000000..a8f34663
--- /dev/null
+++ b/gnulib/m4/warnings.m4
@@ -0,0 +1,36 @@
+# warnings.m4 serial 2
+dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Simon Josefsson
+
+# gl_AS_VAR_APPEND(VAR, VALUE)
+# ----------------------------
+# Provide the functionality of AS_VAR_APPEND if Autoconf does not have it.
+m4_ifdef([AS_VAR_APPEND],
+[m4_copy([AS_VAR_APPEND], [gl_AS_VAR_APPEND])],
+[m4_define([gl_AS_VAR_APPEND],
+[AS_VAR_SET([$1], [AS_VAR_GET([$1])$2])])])
+
+# gl_WARN_ADD(PARAMETER, [VARIABLE = WARN_CFLAGS])
+# ------------------------------------------------
+# Adds parameter to WARN_CFLAGS if the compiler supports it. For example,
+# gl_WARN_ADD([-Wparentheses]).
+AC_DEFUN([gl_WARN_ADD],
+[AS_VAR_PUSHDEF([gl_Warn], [gl_cv_warn_$1])dnl
+AC_CACHE_CHECK([whether compiler handles $1], [gl_Warn], [
+ save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="${CPPFLAGS} $1"
+ AC_PREPROC_IFELSE([AC_LANG_PROGRAM([])],
+ [AS_VAR_SET([gl_Warn], [yes])],
+ [AS_VAR_SET([gl_Warn], [no])])
+ CPPFLAGS="$save_CPPFLAGS"
+])
+AS_VAR_PUSHDEF([gl_Flags], m4_if([$2], [], [[WARN_CFLAGS]], [[$2]]))dnl
+AS_VAR_IF([gl_Warn], [yes], [gl_AS_VAR_APPEND([gl_Flags], [" $1"])])
+AS_VAR_POPDEF([gl_Flags])dnl
+AS_VAR_POPDEF([gl_Warn])dnl
+m4_ifval([$2], [AS_LITERAL_IF([$2], [AC_SUBST([$2])], [])])dnl
+])
diff --git a/lib/Makefile.in b/lib/Makefile.in
index ec6132f7..309d2965 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -41,7 +41,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -187,6 +186,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -1007,6 +1007,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/libdb/Makefile.in b/libdb/Makefile.in
index dbb3b439..7198ab0f 100644
--- a/libdb/Makefile.in
+++ b/libdb/Makefile.in
@@ -41,7 +41,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -187,6 +186,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -1003,6 +1003,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/m4/man-gcc-warning.m4 b/m4/man-gcc-warning.m4
deleted file mode 100644
index aa571d3f..00000000
--- a/m4/man-gcc-warning.m4
+++ /dev/null
@@ -1,14 +0,0 @@
-# man-gcc-warning.m4 serial 1
-dnl MAN_GCC_WARNING(WARNING)
-dnl Add -WWARNING to CFLAGS if it is supported by the compiler.
-AC_DEFUN([MAN_GCC_WARNING],
-[man_saved_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -W$1"
- AC_CACHE_CHECK([that GCC supports -W$1],
- [AS_TR_SH([man_cv_gcc_warning_$1])],
- [AS_TR_SH([man_cv_gcc_warning_$1])=no
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
- [AS_TR_SH([man_cv_gcc_warning_$1])=yes])])
- if test "$AS_TR_SH([man_cv_gcc_warning_$1])" = no; then
- CFLAGS="$man_saved_CFLAGS"
- fi]) # MAN_GCC_WARNING
diff --git a/man/Makefile.in b/man/Makefile.in
index b4e003e4..7ce1fccb 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -39,7 +39,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -185,6 +184,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -1011,6 +1011,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/man/de/Makefile.in b/man/de/Makefile.in
index 74b39647..1da7fead 100644
--- a/man/de/Makefile.in
+++ b/man/de/Makefile.in
@@ -39,7 +39,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -185,6 +184,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -972,6 +972,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/man/es/Makefile.in b/man/es/Makefile.in
index 630becaa..4e723286 100644
--- a/man/es/Makefile.in
+++ b/man/es/Makefile.in
@@ -39,7 +39,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -185,6 +184,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -972,6 +972,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/man/fr/Makefile.in b/man/fr/Makefile.in
index 05fe7274..c77eed95 100644
--- a/man/fr/Makefile.in
+++ b/man/fr/Makefile.in
@@ -39,7 +39,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -185,6 +184,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -972,6 +972,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/man/id/Makefile.in b/man/id/Makefile.in
index bc43d1be..b31d1bb0 100644
--- a/man/id/Makefile.in
+++ b/man/id/Makefile.in
@@ -39,7 +39,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -185,6 +184,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -972,6 +972,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/man/it/Makefile.in b/man/it/Makefile.in
index 8e6a3f61..85f4e5e7 100644
--- a/man/it/Makefile.in
+++ b/man/it/Makefile.in
@@ -39,7 +39,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -185,6 +184,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -972,6 +972,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/man/ja/Makefile.in b/man/ja/Makefile.in
index 7e2605b3..43516f09 100644
--- a/man/ja/Makefile.in
+++ b/man/ja/Makefile.in
@@ -39,7 +39,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -185,6 +184,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -972,6 +972,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/man/nl/Makefile.in b/man/nl/Makefile.in
index 608672c9..356bb568 100644
--- a/man/nl/Makefile.in
+++ b/man/nl/Makefile.in
@@ -39,7 +39,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -185,6 +184,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -972,6 +972,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/man/pl/Makefile.in b/man/pl/Makefile.in
index ed5e9499..bcc1b9a6 100644
--- a/man/pl/Makefile.in
+++ b/man/pl/Makefile.in
@@ -39,7 +39,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -185,6 +184,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -972,6 +972,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/man/po4a/Makefile.in b/man/po4a/Makefile.in
index e716cb18..09bbe318 100644
--- a/man/po4a/Makefile.in
+++ b/man/po4a/Makefile.in
@@ -38,7 +38,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -184,6 +183,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -941,6 +941,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/man/ru/Makefile.in b/man/ru/Makefile.in
index 6db2f48f..f93658fb 100644
--- a/man/ru/Makefile.in
+++ b/man/ru/Makefile.in
@@ -39,7 +39,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -185,6 +184,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -972,6 +972,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/manual/Makefile.in b/manual/Makefile.in
index cc8d03ce..3f2a50f5 100644
--- a/manual/Makefile.in
+++ b/manual/Makefile.in
@@ -40,7 +40,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -186,6 +185,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -944,6 +944,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/src/Makefile.in b/src/Makefile.in
index 1973e808..3cbbf6b6 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -46,7 +46,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -192,6 +191,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -1080,6 +1080,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/src/tests/Makefile.in b/src/tests/Makefile.in
index 14407008..b609d0a1 100644
--- a/src/tests/Makefile.in
+++ b/src/tests/Makefile.in
@@ -39,7 +39,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -185,6 +184,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -944,6 +944,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@
diff --git a/tools/Makefile.in b/tools/Makefile.in
index c6d34966..0722b5e7 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -43,7 +43,6 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/m4/man-check-progs.m4 \
$(top_srcdir)/m4/man-compress-lib.m4 \
- $(top_srcdir)/m4/man-gcc-warning.m4 \
$(top_srcdir)/m4/man-gnu-nroff.m4 \
$(top_srcdir)/m4/man-heirloom-nroff.m4 \
$(top_srcdir)/m4/man-linguas.m4 $(top_srcdir)/m4/man-po4a.m4 \
@@ -189,6 +188,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/man-bdb.m4 \
$(top_srcdir)/gnulib/m4/vasprintf.m4 \
$(top_srcdir)/gnulib/m4/vsnprintf.m4 \
$(top_srcdir)/gnulib/m4/warn-on-use.m4 \
+ $(top_srcdir)/gnulib/m4/warnings.m4 \
$(top_srcdir)/gnulib/m4/wchar_h.m4 \
$(top_srcdir)/gnulib/m4/wchar_t.m4 \
$(top_srcdir)/gnulib/m4/wcrtomb.m4 \
@@ -948,6 +948,7 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
WINT_T_SUFFIX = @WINT_T_SUFFIX@
XGETTEXT = @XGETTEXT@