cvs: php-src(PHP_5_2) / configure.in

From: Date: Wed, 07 Feb 2007 11:16:53 +0000
Subject: cvs: php-src(PHP_5_2) / configure.in
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-42961@lists.php.net to get a copy of this message
tony2001 Wed Feb 7 11:16:53 2007 UTC Modified files: (Branch: PHP_5_2) /php-src configure.in Log: MFH: check if GCC on MacOS supports -no-cpp-precomp before using it http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.42&r2=1.579.2.52.2.43&diff_format=u Index: php-src/configure.in diff -u php-src/configure.in:1.579.2.52.2.42 php-src/configure.in:1.579.2.52.2.43 --- php-src/configure.in:1.579.2.52.2.42 Wed Feb 7 01:01:37 2007 +++ php-src/configure.in Wed Feb 7 11:16:52 2007 @@ -1,4 +1,4 @@ - ## $Id: configure.in,v 1.579.2.52.2.42 2007/02/07 01:01:37 iliaa Exp $ -*- autoconf -*- + ## $Id: configure.in,v 1.579.2.52.2.43 2007/02/07 11:16:52 tony2001 Exp $ -*- autoconf -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -168,7 +168,12 @@ *dgux*) CPPFLAGS="$CPPFLAGS -D_BSD_TIMEOFDAY_FLAVOR";; *darwin*|*rhapsody*) - CPPFLAGS="$CPPFLAGS -no-cpp-precomp" + if test -n "$GCC"; then + PHP_CHECK_GCC_ARG(-no-cpp-precomp, gcc_no_cpp_precomp=yes) + if test "$gcc_no_cpp_precomp" = "yes"; then + CPPFLAGS="$CPPFLAGS -no-cpp-precomp" + fi + fi AC_DEFINE(BIND_8_COMPAT, 1, [Enabling BIND8 compatibility for Panther]) php_multiple_shlib_versions_ok=yes;; *beos*)

« previous php.cvs (#42961) next »