summaryrefslogtreecommitdiff
path: root/src/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.m4')
-rw-r--r--src/config.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.m4 b/src/config.m4
index aba355c..84ca2f4 100644
--- a/src/config.m4
+++ b/src/config.m4
@@ -20,10 +20,14 @@ CFLAGS="$CFLAGS -lpcre"
20CFLAGS="$CFLAGS -D_DEFAULT_SOURCE=1 -std=c99" 20CFLAGS="$CFLAGS -D_DEFAULT_SOURCE=1 -std=c99"
21CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter" 21CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter"
22 22
23LFLAGS="$LFLAGS -lpcre"
24
23if test "$PHP_DEBUG" = "yes"; then 25if test "$PHP_DEBUG" = "yes"; then
24 AC_DEFINE(SP_DEBUG, 1, [Wether you want to enable debug messages]) 26 AC_DEFINE(SP_DEBUG, 1, [Wether you want to enable debug messages])
25fi 27fi
26 28
29AC_CHECK_LIB(pcre, pcre_compile, AC_DEFINE(HAVE_PCRE, 1, [have pcre]))
30
27if test "$PHP_SNUFFLEUPAGUS" != "no"; then 31if test "$PHP_SNUFFLEUPAGUS" != "no"; then
28 if test "$PHP_COVERAGE" != "no"; then 32 if test "$PHP_COVERAGE" != "no"; then
29 CFLAGS="$CFLAGS --coverage -fprofile-arcs -ftest-coverage" 33 CFLAGS="$CFLAGS --coverage -fprofile-arcs -ftest-coverage"