From: David Levine Date: Fri, 6 Dec 2013 00:35:00 +0000 (-0600) Subject: That didn't work, try adding -pedantic-errors. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/2e1fefc99cc267b1eba7484f740d8bee7c2f59fb?ds=sidebyside;hp=-c That didn't work, try adding -pedantic-errors. --- 2e1fefc99cc267b1eba7484f740d8bee7c2f59fb 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])