From 2e1fefc99cc267b1eba7484f740d8bee7c2f59fb Mon Sep 17 00:00:00 2001 From: David Levine Date: Thu, 5 Dec 2013 18:35:00 -0600 Subject: [PATCH] That didn't work, try adding -pedantic-errors. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0788b9f1..839547d1 100644 --- a/configure.ac +++ b/configure.ac @@ -114,7 +114,7 @@ if test "$GCC" = yes; then AC_CACHE_CHECK([whether we can use -ansi with linker], [nmh_cv_has_dash_ansi_with_linker], [nmh_saved_ldflags="$LDFLAGS" - LDFLAGS="-ansi" + LDFLAGS="-ansi -pedantic-errors" AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include ],[tzset();])], [nmh_cv_has_dash_ansi_with_linker=yes], [nmh_cv_has_dash_ansi_with_linker=no]) -- 2.56.0