diff options
author | Glenn Morris <rgm@gnu.org> | 2012-01-12 18:11:38 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-01-12 18:11:38 +0800 |
commit | 177f1b0e21fa9454def19912d1e257d40619d59f (patch) | |
tree | c4e1b53b463b4a13a3a703313a02340c9b6249bf /configure.in | |
parent | 49f70d46ea38ceb7a501594db7f6ea35e19681aa (diff) | |
download | emacs-177f1b0e21fa9454def19912d1e257d40619d59f.tar.gz |
* configure.in: Add i386 to cpp_undefs (Bug#8497).
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in index a43b514b60a..c25848c5de1 100644 --- a/configure.in +++ b/configure.in @@ -3103,7 +3103,12 @@ 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 unix | +[ +case $canonical in + i[456]86-*) extra_undefs=i386 ;; + *) extra_undefs= ;; +esac +cpp_undefs="`echo $srcdir $configuration $canonical unix $extra_undefs | sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`"] |