From 101e1f4c0f1538018e89d3eb327dd734e2963e46 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Sat, 17 Jul 1999 13:24:53 +0000 Subject: [PATCH] Debug on by default --- Zend/configure.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Zend/configure.in b/Zend/configure.in index b0217eb04c8..dc3739e7b92 100644 --- a/Zend/configure.in +++ b/Zend/configure.in @@ -92,7 +92,7 @@ AC_REPLACE_FUNCS(getopt) AC_MSG_CHECKING(whether to include debugging symbols) AC_ARG_ENABLE(debug, -[ --enable-debug Compile with debugging symbols], +[ --disable-debug Compile without debugging symbols], [ if test "$enableval" = "yes"; then AC_MSG_RESULT(yes) @@ -107,9 +107,9 @@ AC_ARG_ENABLE(debug, DEBUG_CFLAGS="" fi ],[ - AC_MSG_RESULT(no) - AC_DEFINE(ZEND_DEBUG,0) - DEBUG_CFLAGS="" + AC_MSG_RESULT(yes) + AC_DEFINE(ZEND_DEBUG,1) + DEBUG_CFLAGS="-g" ]) AC_SUBST(DEBUG_CFLAGS) CFLAGS="$CFLAGS $DEBUG_CFLAGS"