[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated

From: David Levine
Subject: [Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. 4f2471026d69f8eeffa1b9403d96aca5e050399b
Date: Thu, 26 Jan 2012 02:49:03 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The nmh Mail Handling System".

The branch, master has been updated
       via  4f2471026d69f8eeffa1b9403d96aca5e050399b (commit)
      from  c45b37ce0f7ac22ebd606269bbc7674f6b49370e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 4f2471026d69f8eeffa1b9403d96aca5e050399b
Author: David Levine <address@hidden>
Date:   Wed Jan 25 20:48:55 2012 -0600

    Updated config test to add -Wextra to be consistent with others.  So, it's 

diff --git a/configure.ac b/configure.ac
index d73f376..37d7c23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -215,11 +215,10 @@ if test "$nmh_cv_has_unusedmacros" = 'yes'; then
-AC_CACHE_CHECK([whether compiler supports -Wextra], [nmh_cv_wextra],
+AC_CACHE_CHECK([whether compiler supports -Wextra], [nmh_cv_has_wextra],
  CFLAGS="$CFLAGS -Wextra -Wno-clobbered"
-   [nmh_cv_wextras=' -Wextra -Wno-clobbered'], [echo $ECHO_N "no$ECHO_C"])
+ AC_TRY_COMPILE([],[],nmh_cv_has_wextra=yes,nmh_cv_has_wextra=no)
 AC_CACHE_CHECK([whether compiler supports -Wno-pointer-sign], 
@@ -237,9 +236,17 @@ dnl also use -Wno-pointer-sign, because gcc 4 now produces 
a lot of new
 dnl warnings which are probably mostly spurious and which in any case we
 dnl don't want to deal with now.
 if test "$nmh_cv_has_noptrsign" = "yes"; then
-        nmh_gcc_warnflags="-Wall$nmh_cv_wextra -Wno-pointer-sign"
+    if test "$nmh_cv_has_wextra" = "yes"; then
+        nmh_gcc_warnflags="-Wall -Wextra -Wno-clobbered -Wno-pointer-sign"
+    else
+        nmh_gcc_warnflags="-Wall -Wno-pointer-sign"
+    fi
-        nmh_gcc_warnflags="-Wall$nmh_cv_wextra"
+    if test "$nmh_cv_has_wextra" = "yes"; then
+        nmh_gcc_warnflags="-Wall -Wextra -Wno-clobbered"
+    else
+        nmh_gcc_warnflags="-Wall"
+    fi
 if test -n "$auto_cflags"; then


Summary of changes:
 configure.ac |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

The nmh Mail Handling System

reply via email to

[Prev in Thread] Current Thread [Next in Thread]