summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2009-02-11 00:08:44 +0000
committerScott MacVicar <scottmac@php.net>2009-02-11 00:08:44 +0000
commit5ee54f12af34a88cec8f16f41ec1a13a02e3afa7 (patch)
tree3b781afebc77129af16b2aaf560507235f288567
parentc752e95c3648e1422ffe53ddb56acc9cdc97299b (diff)
downloadphp-git-5ee54f12af34a88cec8f16f41ec1a13a02e3afa7.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 81c69fe889..5b16fdebae 100644
--- a/configure.in
+++ b/configure.in
@@ -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'`