]> granicus.if.org Git - php/commitdiff
MFH Fix debug builds for OSX, PHP_DEBUG is set to 1 at the top
authorScott MacVicar <scottmac@php.net>
Wed, 11 Feb 2009 00:08:44 +0000 (00:08 +0000)
committerScott MacVicar <scottmac@php.net>
Wed, 11 Feb 2009 00:08:44 +0000 (00:08 +0000)
configure.in

index 81c69fe8890d3cdf6e888830dfec8bb4a50bd870..5b16fdebae780645b0063bff2592226cc95a2784 100644 (file)
@@ -1329,7 +1329,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'`