]> 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:31 +0000 (00:08 +0000)
committerScott MacVicar <scottmac@php.net>
Wed, 11 Feb 2009 00:08:31 +0000 (00:08 +0000)
configure.in

index de11ff2ce3496dc49cd11b8e8be12d8580347e99..434ffebf59a6464379aab26aa333626d7956a3a8 100644 (file)
@@ -1377,7 +1377,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'`