summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-09-07 08:53:46 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-09-07 08:53:46 +0000
commit0974744f43003e71afdf54d544c87538f376b8e5 (patch)
tree7eae9911e5bcc0cfe698ace40138c246ebe35d59
parentc88fd113776df7e29dc595beb79f38daa3e2fb96 (diff)
downloadzsh-0974744f43003e71afdf54d544c87538f376b8e5.tar.gz
zsh-0974744f43003e71afdf54d544c87538f376b8e5.tar.xz
zsh-0974744f43003e71afdf54d544c87538f376b8e5.zip
27236: use $CPPFLAGS with $CPP in configure.ac
-rw-r--r--ChangeLog7
-rw-r--r--configure.ac8
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index ea2c67cf8..c2c0f3419 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-07  Peter Stephenson  <pws@csr.com>
+
+	* 27236 (somewhat late): configure.ac: use $CPPFLAGS
+	after all occurrences of $CPP and see what happens.
+
 2009-09-06  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* Holger Weiss <holger@CIS.FU-Berlin.DE>: 27248:
@@ -12129,5 +12134,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4770 $
+* $Revision: 1.4771 $
 *****************************************************
diff --git a/configure.ac b/configure.ac
index 72f50eac2..f4137fd79 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1345,7 +1345,7 @@ dnl but then you can get a rather long list of files to test.
 dnl The backslash substitution is to persuade cygwin to cough up
 dnl slashes rather than doubled backslashes in the path.
 echo "#include <signal.h>" > nametmp.c
-sigfile_list="`$CPP nametmp.c |
+sigfile_list="`$CPP $CPPFLAGS nametmp.c |
 sed -n -e 's/^#line[ 	].*\"\(.*\)\"/\1/p' \
        -e 's/^#[ 	].*\"\(.*\)\"/\1/p' |
 sed 's/\\\\\\\\/\//g' |
@@ -1393,7 +1393,7 @@ dnl but then you can get a rather long list of files to test.
 dnl The backslash substitution is to persuade cygwin to cough up
 dnl slashes rather than doubled backslashes in the path.
 echo "#include <errno.h>" > nametmp.c
-errfile_list="`$CPP nametmp.c |
+errfile_list="`$CPP $CPPFLAGS nametmp.c |
 sed -n -e 's/^#line[ 	].*\"\(.*\)\"/\1/p' \
        -e 's/^#[ 	0-9].*\"\(.*\)\"/\1/p' |
 sed 's/\\\\\\\\/\//g' |
@@ -1462,7 +1462,7 @@ else
   echo "#include <$zsh_cv_path_curses_header>" >nametmp.c
 fi
 
-curses_list="`$CPP nametmp.c |
+curses_list="`$CPP $CPPFLAGS nametmp.c |
 sed -n -e 's/^#line[ 	].*\"\(.*\)\"/\1/p' \
        -e 's/^#[ 	0-9].*\"\(.*\)\"/\1/p' |
 sed 's/\\\\\\\\/\//g' |
@@ -1584,7 +1584,7 @@ AC_CACHE_CHECK(where the RLIMIT macros are located,zsh_cv_path_rlimit_h,
 [dnl Look at the output from the preprocessor.
 dnl Copied from the search for the signal names above.
 echo "#include <sys/resource.h>" >restmp.c
-resourcefile_list="`$CPP restmp.c |
+resourcefile_list="`$CPP $CPPFLAGS restmp.c |
 sed -n -e 's/^#line[ 	].*\"\(.*\)\"/\1/p' \
        -e 's/^#[ 	].*\"\(.*\)\"/\1/p' |
 sed 's/\\\\\\\\/\//g' |