From: Scott MacVicar Date: Wed, 11 Feb 2009 00:08:17 +0000 (+0000) Subject: Fix debug builds for OSX, PHP_DEBUG is set to 1 at the top X-Git-Tag: php-5.4.0alpha1~191^2~4302 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35f8c3f40f581fc0291c4912a7f4eb22240209c4;p=php Fix debug builds for OSX, PHP_DEBUG is set to 1 at the top --- diff --git a/configure.in b/configure.in index 85c12960a8..6b3d3fdf7e 100644 --- a/configure.in +++ b/configure.in @@ -1291,7 +1291,7 @@ CC=$old_CC dnl Finish the Darwin hack if test "$php_did_darwin9_cheat" -eq 1; then - if test "$PHP_DEBUG" = "yes"; 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'`