# HG changeset patch # User Glenn Morris # Date 1273451879 25200 # Node ID 4d25cedac124c84ad6629b5f835f42d743169e36 # Parent fd5073c58e5f40adc17296fa0381ce65bde184ec Backport from trunk: close bug#5857. * configure.in: Get rid of "unix" pre-defined macro when preprocessing Makefile. (Bug#5857) [Backport from trunk] diff -r fd5073c58e5f -r 4d25cedac124 ChangeLog --- a/ChangeLog Sun May 09 17:30:08 2010 -0700 +++ b/ChangeLog Sun May 09 17:37:59 2010 -0700 @@ -1,3 +1,8 @@ +2010-05-10 Miles Bader + + * configure.in: Get rid of "unix" pre-defined macro when + preprocessing Makefile. (Bug#5857) [Backport from trunk] + 2010-05-07 Chong Yidong * Version 23.2 released. diff -r fd5073c58e5f -r 4d25cedac124 configure.in --- a/configure.in Sun May 09 17:30:08 2010 -0700 +++ b/configure.in Sun May 09 17:37:59 2010 -0700 @@ -3072,7 +3072,7 @@ # 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'`"]