svn: /php/php-src/branches/PHP_5_3/ configure.in

From: Date: Sat, 28 Nov 2009 19:19:11 +0000
Subject: svn: /php/php-src/branches/PHP_5_3/ configure.in
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-61050@lists.php.net to get a copy of this message
gwynne Sat, 28 Nov 2009 19:19:11 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=291396 Log: Remove the now-unnecessary (and wrong anyway) Darwin hack Changed paths: U php/php-src/branches/PHP_5_3/configure.in Modified: php/php-src/branches/PHP_5_3/configure.in =================================================================== --- php/php-src/branches/PHP_5_3/configure.in 2009-11-28 18:56:20 UTC (rev 291395) +++ php/php-src/branches/PHP_5_3/configure.in 2009-11-28 19:19:11 UTC (rev 291396) @@ -101,21 +101,6 @@ $php_shtool mkdir -p libs rm -f libs/* -dnl Darwin 9 hack -dnl Because the default debugging format used by Apple's GCC on Mac OS 10.5 -dnl causes errors in all current and past versions of Autoconf, we do a little -dnl messing with the CFLAGS here to trick it. -php_did_darwin9_cheat=0 -case $host_alias in -*darwin9*) - hasg=echo $CFLAGS | grep -E '(^-g)|([[:space:]]-g)' - if test x"$hasg" = "x"; then - php_did_darwin9_cheat=1 - CFLAGS="$CFLAGS -gstabs" - fi - ;; -esac - dnl Checks for programs. dnl ------------------------------------------------------------------------- @@ -1320,15 +1305,6 @@ CC=$old_CC -dnl Finish the Darwin hack -if test "$php_did_darwin9_cheat" -eq 1; then - if test "$PHP_DEBUG" = "1"; then - CFLAGS=echo "$CFLAGS" | $SED -e 's/-gstabs/-g/g' - else - CFLAGS=echo "-O2 $CFLAGS" | $SED -e 's/-gstabs//g' - fi -fi - PHP_CONFIGURE_PART(Generating files) CXXFLAGS_CLEAN=$CXXFLAGS

« previous php.cvs (#61050) next »