diff options
| author | jvoisin | 2017-09-26 16:55:42 +0200 |
|---|---|---|
| committer | jvoisin | 2017-09-26 16:55:42 +0200 |
| commit | 3c14dba94e837322e030b19b41654952624cb485 (patch) | |
| tree | 184dee84d63ba3a85dbc987f23b04120c3f763cd /src/config.m4 | |
| parent | 4dc382c63f4219cdbf5dd784f0d8025f6af68629 (diff) | |
Implement, test and document namespace support
Diffstat (limited to 'src/config.m4')
| -rw-r--r-- | src/config.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.m4 b/src/config.m4 index bf5523a..04eefa2 100644 --- a/src/config.m4 +++ b/src/config.m4 | |||
| @@ -26,13 +26,14 @@ LDFLAGS="$LDFLAGS -lpcre" | |||
| 26 | 26 | ||
| 27 | if test "$PHP_DEBUG" = "yes"; then | 27 | if test "$PHP_DEBUG" = "yes"; then |
| 28 | AC_DEFINE(SP_DEBUG, 1, [Wether you want to enable debug messages]) | 28 | AC_DEFINE(SP_DEBUG, 1, [Wether you want to enable debug messages]) |
| 29 | CFLAGS="$CFLAGS -g -ggdb -O0" | ||
| 29 | fi | 30 | fi |
| 30 | 31 | ||
| 31 | AC_CHECK_LIB(pcre, pcre_compile, AC_DEFINE(HAVE_PCRE, 1, [have pcre])) | 32 | AC_CHECK_LIB(pcre, pcre_compile, AC_DEFINE(HAVE_PCRE, 1, [have pcre])) |
| 32 | 33 | ||
| 33 | if test "$PHP_SNUFFLEUPAGUS" = "yes"; then | 34 | if test "$PHP_SNUFFLEUPAGUS" = "yes"; then |
| 34 | if test "$PHP_COVERAGE" = "yes"; then | 35 | if test "$PHP_COVERAGE" = "yes"; then |
| 35 | CFLAGS="$CFLAGS -g --coverage -lgcov -O1 -g" | 36 | CFLAGS="$CFLAGS --coverage -lgcov -O1 -g" |
| 36 | fi | 37 | fi |
| 37 | 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) |
| 38 | fi | 39 | fi |
