]> granicus.if.org Git - php/commitdiff
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:17 +0000 (00:08 +0000)
committerScott MacVicar <scottmac@php.net>
Wed, 11 Feb 2009 00:08:17 +0000 (00:08 +0000)
configure.in

index 85c12960a86d2d922bc44df01d7cc67cc81d23c9..6b3d3fdf7ed1c35aa06547ed285fcbef4ccf4a0d 100644 (file)
@@ -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'`