comparison configure.in @ 108035:98d289f97679

get rid of "unix" pre-defined macro when preprocessing Makefile
author Miles Bader <miles@gnu.org>
date Thu, 22 Apr 2010 09:10:30 +0900
parents 8ff86e76b50f
children b0957e256d91
comparison
equal deleted inserted replaced
108034:8ff86e76b50f 108035:98d289f97679
3160 # or the ${configuration} value might, just might, happen to be an 3160 # or the ${configuration} value might, just might, happen to be an
3161 # identifier like `sun4' or `i386' or something, and be predefined by 3161 # identifier like `sun4' or `i386' or something, and be predefined by
3162 # the C preprocessor to some helpful value like 1, or maybe the empty 3162 # the C preprocessor to some helpful value like 1, or maybe the empty
3163 # string. Needless to say consequent macro substitutions are less 3163 # string. Needless to say consequent macro substitutions are less
3164 # than conducive to the makefile finding the correct directory. 3164 # than conducive to the makefile finding the correct directory.
3165 [cpp_undefs="`echo $srcdir $configuration $canonical | 3165 [cpp_undefs="`echo $srcdir $configuration $canonical unix |
3166 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ 3166 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
3167 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`"] 3167 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`"]
3168 3168
3169 ## Check if the C preprocessor will convert `..' to `. .'. If so, set 3169 ## Check if the C preprocessor will convert `..' to `. .'. If so, set
3170 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile 3170 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile