summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2009-02-11 00:08:31 +0000
committerScott MacVicar <scottmac@php.net>2009-02-11 00:08:31 +0000
commit40fa70a790760e052c1727c74dada02a823e406b (patch)
tree25f9d4176c604a931919298d0c418cfd3d8f88fc
parentbf87bfb040548af03d70b1b011fa69ffd94fc882 (diff)
downloadphp-git-40fa70a790760e052c1727c74dada02a823e406b.tar.gz
MFH Fix debug builds for OSX, PHP_DEBUG is set to 1 at the top
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index de11ff2ce3..434ffebf59 100644
--- a/configure.in
+++ b/configure.in
@@ -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'`