cvs: php-src / configure.in

From: Date: Fri, 26 Jan 2007 11:13:50 +0000
Subject: cvs: php-src / configure.in
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-42883@lists.php.net to get a copy of this message
tony2001 Fri Jan 26 11:13:50 2007 UTC Modified files: /php-src configure.in Log: check if -no-cpp-precomp is supported by GCC before using it (mac os only) http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.621&r2=1.622&diff_format=u Index: php-src/configure.in diff -u php-src/configure.in:1.621 php-src/configure.in:1.622 --- php-src/configure.in:1.621 Fri Jan 12 18:57:11 2007 +++ php-src/configure.in Fri Jan 26 11:13:50 2007 @@ -1,4 +1,4 @@ - ## $Id: configure.in,v 1.621 2007/01/12 18:57:11 andrei Exp $ -*- autoconf -*- + ## $Id: configure.in,v 1.622 2007/01/26 11:13:50 tony2001 Exp $ -*- autoconf -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -166,7 +166,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 (#42883) next »