[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: Ken Hornstein
Subject: [Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. 00949f4fa56dc4e1a7d4ea1972d7492d80880b2c
Date: Fri, 10 Feb 2012 14:51:45 +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  00949f4fa56dc4e1a7d4ea1972d7492d80880b2c (commit)
      from  062356283e3de7e2da9b488853e1f4381a3e5267 (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 00949f4fa56dc4e1a7d4ea1972d7492d80880b2c
Author: Ken Hornstein <address@hidden>
Date:   Fri Feb 10 09:50:48 2012 -0500

    With the fixing of the bug that caused CPPFLAGS to get tromped on, remove
    support for OURDEFS and direct people to use CPPFLAGS instead.

diff --git a/INSTALL b/INSTALL
index 04a0c0d..3cefafc 100644
@@ -140,8 +140,9 @@ environment.  For example,
     ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
-If you want to add to, not replace, compile flags, you can use OURDEFS:
-   ./configure OURDEFS='-Wextra -Wno-sign-compare'
+If you wish to add options that are only used at compile time instead of
+link time, you can use the CPPFLAGS variable:
+   ./configure CPPFLAGS='-Wextra -Wno-sign-compare'
 If you want to add to both compile and link flags at build time
 without putting them in the configuration, you can use an otherwise
@@ -177,7 +178,7 @@ run the "configure" script.  "configure" automatically 
checks for the
 source code in the directory that "configure" is in.  For example,
     cd /usr/local/solaris/nmh
-    /usr/local/src/nmh-1.0/configure
+    /usr/local/src/nmh-1.5/configure
diff --git a/Makefile.am b/Makefile.am
index 42e71fe..41dee6c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,11 +31,6 @@ MHNSEARCHPROG = $(srcdir)/etc/mhn.find.sh
 auxexecdir = @libdir@
-## For backward compatibility, include OURDEFS in DEFS.  See INSTALL.
 ## nmh _does_ have a test suite!
 testdir = $(srcdir)/test
diff --git a/configure.ac b/configure.ac
index e38fae1..a6b5525 100644
--- a/configure.ac
+++ b/configure.ac
@@ -389,9 +389,8 @@ dnl before system header files.
        [# Like DEFS, but doesn't get stomped on by configure when using 
-    test -z "$OURDEFS"  &&  OURDEFS="-D_GNU_SOURCE"  \
-                        ||  OURDEFS="$OURDEFS -D_GNU_SOURCE"])
+         AS_IF([test -z "$CPPFLAGS"],[CPPFLAGS="-D_GNU_SOURCE"],
+                [CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"])])
@@ -740,7 +739,7 @@ host os                    : ${host}
 compiler                   : ${CC}
 compiler flags             : ${CFLAGS}
 linker flags               : ${LDFLAGS}
-definitions                : ${OURDEFS}
+preprocessor flags         : ${CPPFLAGS}
 source code location       : ${srcdir}
 binary install path        : ${nmhbin}
 library install path       : ${nmhlib}


Summary of changes:
 INSTALL      |    7 ++++---
 Makefile.am  |    5 -----
 configure.ac |    7 +++----
 3 files changed, 7 insertions(+), 12 deletions(-)

The nmh Mail Handling System

reply via email to

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