summaryrefslogtreecommitdiff
path: root/src/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.m4')
-rw-r--r--src/config.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.m4 b/src/config.m4
index bf5523a..04eefa2 100644
--- a/src/config.m4
+++ b/src/config.m4
@@ -26,13 +26,14 @@ LDFLAGS="$LDFLAGS -lpcre"
26 26
27if test "$PHP_DEBUG" = "yes"; then 27if test "$PHP_DEBUG" = "yes"; then
28 AC_DEFINE(SP_DEBUG, 1, [Wether you want to enable debug messages]) 28 AC_DEFINE(SP_DEBUG, 1, [Wether you want to enable debug messages])
29 CFLAGS="$CFLAGS -g -ggdb -O0"
29fi 30fi
30 31
31AC_CHECK_LIB(pcre, pcre_compile, AC_DEFINE(HAVE_PCRE, 1, [have pcre])) 32AC_CHECK_LIB(pcre, pcre_compile, AC_DEFINE(HAVE_PCRE, 1, [have pcre]))
32 33
33if test "$PHP_SNUFFLEUPAGUS" = "yes"; then 34if test "$PHP_SNUFFLEUPAGUS" = "yes"; then
34 if test "$PHP_COVERAGE" = "yes"; then 35 if test "$PHP_COVERAGE" = "yes"; then
35 CFLAGS="$CFLAGS -g --coverage -lgcov -O1 -g" 36 CFLAGS="$CFLAGS --coverage -lgcov -O1 -g"
36 fi 37 fi
37 PHP_NEW_EXTENSION(snuffleupagus, $sources, $ext_shared,-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) 38 PHP_NEW_EXTENSION(snuffleupagus, $sources, $ext_shared,-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
38fi 39fi