diff options
| author | Stefan Esser | 2015-12-17 16:35:34 +0100 |
|---|---|---|
| committer | Stefan Esser | 2015-12-17 16:35:34 +0100 |
| commit | c4c9192839ba7842f5da58f5fd525056c77cfe54 (patch) | |
| tree | 810854ddb53e03d7320570ec8d634390a849d6b2 /config.m4 | |
| parent | aee7faf18880573b60606756a61faea32a1bb89a (diff) | |
Continue the actual porting work on GitHub
Diffstat (limited to 'config.m4')
| -rw-r--r-- | config.m4 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/config.m4 b/config.m4 new file mode 100644 index 0000000..602b2c9 --- /dev/null +++ b/config.m4 | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | dnl $Id$ | ||
| 2 | dnl config.m4 for extension suhosin7 | ||
| 3 | |||
| 4 | PHP_ARG_ENABLE(suhosin, whether to enable suhosin support, | ||
| 5 | [ --enable-suhosin Enable suhosin support]) | ||
| 6 | |||
| 7 | if test "$PHP_SUHOSIN" != "no"; then | ||
| 8 | PHP_NEW_EXTENSION(suhosin7, suhosin7.c aes.c ifilter.c memory_limit.c sha256.c treat_data.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) | ||
| 9 | fi | ||
| 10 | |||
| 11 | PHP_ARG_ENABLE(suhosin7-experimental, whether to enable experimental suhosin7 features, | ||
| 12 | [ --enable-suhosin7-experimental Enable experimental suhosin7 features], no, no) | ||
| 13 | |||
| 14 | if test "$PHP_SUHOSIN7_EXPERIMENTAL" != "no"; then | ||
| 15 | AC_DEFINE(SUHOSIN7_EXPERIMENTAL, 1, [Whether to enable experimental suhosin7 features]) | ||
| 16 | fi | ||
| 17 | |||
