cvs: php-src / configure.in
| From: | Antony Dovgal | Date: | Sun, 06 Aug 2006 20:45:43 +0000 |
| Subject: | cvs: php-src / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-39795@lists.php.net to get a copy of this message | ||
tony2001 Sun Aug 6 20:45:43 2006 UTC
Modified files:
/php-src configure.in
Log:
use -O0 with --enable-debug
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.608&r2=1.609&diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.608 php-src/configure.in:1.609
--- php-src/configure.in:1.608 Thu Jul 27 08:51:50 2006
+++ php-src/configure.in Sun Aug 6 20:45:42 2006
@@ -1,4 +1,4 @@
- ## $Id: configure.in,v 1.608 2006/07/27 08:51:50 sniper Exp $ -*- autoconf -*-
+ ## $Id: configure.in,v 1.609 2006/08/06 20:45:42 tony2001 Exp $ -*- autoconf -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -674,6 +674,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