Subject: Re: bug#9755: 24.0.90 trying to configure with GCC 4.6.1 on intel Mac OS X 10.6.8

From: Paul Eggert <[email-masked]>
Date: Wed, 16 May 2012 02:16:39 -0700

Given that CPP doesn't need to be set any more
(see <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11485#9>),
I propose this patch to emacs-24's configure.in:

=== modified file 'configure.in'
--- configure.in	2012-05-05 10:18:38 +0000
+++ configure.in	2012-05-16 09:13:51 +0000
@@ -492,8 +492,6 @@ case "${canonical}" in
       * )            unported=yes ;;
     esac
     opsys=darwin
-    # Define CPP as follows to make autoconf work correctly.
-    CPP="${CC-cc} -E -no-cpp-precomp"
     # Use fink packages if available.
     if test -d /sw/include && test -d /sw/lib; then
       GCC_TEST_OPTIONS="-I/sw/include -L/sw/lib"
@@ -582,7 +580,6 @@ case "${canonical}" in
     case "${canonical}" in
       *-cygwin )                opsys=cygwin ;;
       *-darwin* )               opsys=darwin
-                                CPP="${CC-cc} -E -no-cpp-precomp"
  				;;
       *-sysv4.2uw* )	  	opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
       *-sysv5uw* )	  	opsys=unixware; NON_GNU_CPP=/lib/cpp ;;