summaryrefslogtreecommitdiff
path: root/src/config.m4
diff options
context:
space:
mode:
authorjvoisin2017-09-20 10:51:22 +0200
committerjvoisin2017-09-21 16:09:28 +0200
commit6487590b4fd55dddd59b43f1fcf2ebd8d56f20ac (patch)
tree22ff7c8ee4b34a0978093afcc5b747073c625d06 /src/config.m4
parent09a71ec9b889af34173e354ecba935a9db010a19 (diff)
Add travis
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"