diff options
| author | jvoisin | 2017-09-20 10:51:22 +0200 |
|---|---|---|
| committer | jvoisin | 2017-09-21 16:09:28 +0200 |
| commit | 6487590b4fd55dddd59b43f1fcf2ebd8d56f20ac (patch) | |
| tree | 22ff7c8ee4b34a0978093afcc5b747073c625d06 /src/config.m4 | |
| parent | 09a71ec9b889af34173e354ecba935a9db010a19 (diff) | |
Add travis
Diffstat (limited to 'src/config.m4')
| -rw-r--r-- | src/config.m4 | 4 |
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" | |||
| 20 | CFLAGS="$CFLAGS -D_DEFAULT_SOURCE=1 -std=c99" | 20 | CFLAGS="$CFLAGS -D_DEFAULT_SOURCE=1 -std=c99" |
| 21 | CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter" | 21 | CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter" |
| 22 | 22 | ||
| 23 | LFLAGS="$LFLAGS -lpcre" | ||
| 24 | |||
| 23 | if test "$PHP_DEBUG" = "yes"; then | 25 | if 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]) |
| 25 | fi | 27 | fi |
| 26 | 28 | ||
| 29 | AC_CHECK_LIB(pcre, pcre_compile, AC_DEFINE(HAVE_PCRE, 1, [have pcre])) | ||
| 30 | |||
| 27 | if test "$PHP_SNUFFLEUPAGUS" != "no"; then | 31 | if 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" |
