summaryrefslogtreecommitdiff
path: root/src/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.m4')
-rw-r--r--src/config.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config.m4 b/src/config.m4
index 04eefa2..a0409de 100644
--- a/src/config.m4
+++ b/src/config.m4
@@ -11,10 +11,10 @@ PHP_ARG_ENABLE(snuffleupagus, whether to enable snuffleupagus support,
11[ --enable-snuffleupagus Enable snuffleupagus support]) 11[ --enable-snuffleupagus Enable snuffleupagus support])
12 12
13PHP_ARG_ENABLE(coverage, whether to enable coverage support, 13PHP_ARG_ENABLE(coverage, whether to enable coverage support,
14[ --enable-coverage Enable coverage support]) 14[ --enable-coverage Enable coverage support], no, no)
15 15
16PHP_ARG_ENABLE(debug, whether to enable debug messages, 16PHP_ARG_ENABLE(debug, whether to enable debug messages,
17[ --enable-debug Enable debug messages]) 17[ --enable-debug Enable debug messages], no, no)
18 18
19CFLAGS="$CFLAGS" 19CFLAGS="$CFLAGS"
20CFLAGS="$CFLAGS -D_DEFAULT_SOURCE=1 -std=c99" 20CFLAGS="$CFLAGS -D_DEFAULT_SOURCE=1 -std=c99"
@@ -33,7 +33,7 @@ AC_CHECK_LIB(pcre, pcre_compile, AC_DEFINE(HAVE_PCRE, 1, [have pcre]))
33 33
34if test "$PHP_SNUFFLEUPAGUS" = "yes"; then 34if test "$PHP_SNUFFLEUPAGUS" = "yes"; then
35 if test "$PHP_COVERAGE" = "yes"; then 35 if test "$PHP_COVERAGE" = "yes"; then
36 CFLAGS="$CFLAGS --coverage -lgcov -O1 -g" 36 CFLAGS="$CFLAGS --coverage -O0 -g"
37 fi 37 fi
38 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)
39fi 39fi