mirror of
https://github.com/php/php-src.git
synced 2026-04-19 05:51:02 +02:00
- This should have been done for 4.0.0.
- Default build is without debug now. Use --enable-debug if you want a - debug build which includes leak/memory overwrite etc. detection
This commit is contained in:
@@ -76,10 +76,10 @@ AC_SUBST(ZEND_SCANNER)
|
||||
AC_DEFUN(LIBZEND_ENABLE_DEBUG,[
|
||||
|
||||
AC_ARG_ENABLE(debug,
|
||||
[ --disable-debug Compile without debugging symbols],[
|
||||
[ --enable-debug Compile with debugging symbols],[
|
||||
ZEND_DEBUG=$enableval
|
||||
],[
|
||||
ZEND_DEBUG=yes
|
||||
ZEND_DEBUG=no
|
||||
])
|
||||
|
||||
])
|
||||
|
||||
@@ -432,7 +432,7 @@ else
|
||||
fi
|
||||
|
||||
PHP_ARG_ENABLE(debug, whether to include debugging symbols,
|
||||
[ --disable-debug Compile without debugging symbols.], yes)
|
||||
[ --enable-debug Compile with debugging symbols.], no)
|
||||
|
||||
if test "$PHP_DEBUG" = "yes"; then
|
||||
PHP_DEBUG=1
|
||||
|
||||
Reference in New Issue
Block a user