From: Miles Bader Date: Thu, 22 Apr 2010 00:10:30 +0000 (+0900) Subject: get rid of "unix" pre-defined macro when preprocessing Makefile X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~438 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=567c757d4298680f71e3826c73850c4e5687648b;p=emacs.git get rid of "unix" pre-defined macro when preprocessing Makefile --- diff --git a/configure.in b/configure.in index c768e33e002..25a5baa06fd 100644 --- a/configure.in +++ b/configure.in @@ -3162,7 +3162,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'`"]