Mercurial > emacs
comparison configure.in @ 108491:4d25cedac124
Backport from trunk: close bug#5857.
* configure.in: Get rid of "unix" pre-defined macro when
preprocessing Makefile. (Bug#5857) [Backport from trunk]
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sun, 09 May 2010 17:37:59 -0700 |
parents | 22f58204116d |
children | 7df8e74a1096 |
comparison
equal
deleted
inserted
replaced
108490:fd5073c58e5f | 108491:4d25cedac124 |
---|---|
3070 # or the ${configuration} value might, just might, happen to be an | 3070 # or the ${configuration} value might, just might, happen to be an |
3071 # identifier like `sun4' or `i386' or something, and be predefined by | 3071 # identifier like `sun4' or `i386' or something, and be predefined by |
3072 # the C preprocessor to some helpful value like 1, or maybe the empty | 3072 # the C preprocessor to some helpful value like 1, or maybe the empty |
3073 # string. Needless to say consequent macro substitutions are less | 3073 # string. Needless to say consequent macro substitutions are less |
3074 # than conducive to the makefile finding the correct directory. | 3074 # than conducive to the makefile finding the correct directory. |
3075 [cpp_undefs="`echo $srcdir $configuration $canonical | | 3075 [cpp_undefs="`echo $srcdir $configuration $canonical unix | |
3076 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ | 3076 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ |
3077 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`"] | 3077 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`"] |
3078 | 3078 |
3079 ## Check if the C preprocessor will convert `..' to `. .'. If so, set | 3079 ## Check if the C preprocessor will convert `..' to `. .'. If so, set |
3080 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile | 3080 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile |