Backport from trunk: close bug#5857.
authorMiles Bader <miles@gnu.org>
Mon, 10 May 2010 00:37:59 +0000 (17:37 -0700)
committerGlenn Morris <rgm@gnu.org>
Mon, 10 May 2010 00:37:59 +0000 (17:37 -0700)
* configure.in: Get rid of "unix" pre-defined macro when
preprocessing Makefile.  (Bug#5857)  [Backport from trunk]

ChangeLog
configure.in

index 6b2c016..b218314 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-10  Miles Bader  <miles@gnu.org>
+
+       * configure.in: Get rid of "unix" pre-defined macro when
+       preprocessing Makefile.  (Bug#5857)  [Backport from trunk]
+
 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
 
        * Version 23.2 released.
index 7b681f6..304f6ab 100644 (file)
@@ -3072,7 +3072,7 @@ test "${exec_prefix}" != NONE &&
 # the C preprocessor to some helpful value like 1, or maybe the empty
 # string.  Needless to say consequent macro substitutions are less
 # than conducive to the makefile finding the correct directory.
-[cpp_undefs="`echo $srcdir $configuration $canonical |
+[cpp_undefs="`echo $srcdir $configuration $canonical unix |
   sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/  *$//' \
   -e 's/  */ -U/g' -e 's/-U[0-9][^ ]*//g'`"]