diff options
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" |
