cvs: php-src(PHP_5_2) / configure.in
| From: | Antony Dovgal | Date: | Sun, 06 Aug 2006 20:46:02 +0000 |
| Subject: | cvs: php-src(PHP_5_2) / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-39796@lists.php.net to get a copy of this message | ||
tony2001 Sun Aug 6 20:46:02 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src configure.in
Log:
use -O0 with --enable-debug
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.6&r2=1.579.2.52.2.7&diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.6 php-src/configure.in:1.579.2.52.2.7
--- php-src/configure.in:1.579.2.52.2.6 Thu Jul 27 08:53:16 2006
+++ php-src/configure.in Sun Aug 6 20:46:02 2006
@@ -1,4 +1,4 @@
- ## $Id: configure.in,v 1.579.2.52.2.6 2006/07/27 08:53:16 sniper Exp $ -*- autoconf -*-
+ ## $Id: configure.in,v 1.579.2.52.2.7 2006/08/06 20:46:02 tony2001 Exp $ -*- autoconf -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -676,6 +676,10 @@
if test "$PHP_DEBUG" = "yes"; then
PHP_DEBUG=1
ZEND_DEBUG=yes
+ changequote({,})
+ CFLAGS=
echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'
+ changequote([,])
+ CFLAGS="$CFLAGS -O0"
else
PHP_DEBUG=0
ZEND_DEBUG=no