summaryrefslogtreecommitdiff
path: root/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config.m4')
-rw-r--r--config.m411
1 files changed, 6 insertions, 5 deletions
diff --git a/config.m4 b/config.m4
index b5d8249..65b0c83 100644
--- a/config.m4
+++ b/config.m4
@@ -1,16 +1,17 @@
1dnl $Id$ 1dnl $Id$
2dnl config.m4 for extension suhosin7 2dnl config.m4 for extension suhosin7
3 3
4PHP_ARG_ENABLE(suhosin, whether to enable suhosin support, 4PHP_ARG_ENABLE(suhosin7, whether to enable suhosin support,
5[ --enable-suhosin Enable suhosin support]) 5[ --enable-suhosin7 Enable suhosin support])
6 6
7if test "$PHP_SUHOSIN" != "no"; then 7if test "$PHP_SUHOSIN7" != "no"; then
8 PHP_NEW_EXTENSION(suhosin7, suhosin7.c aes.c ifilter.c memory_limit.c sha256.c treat_data.c log.c execute.c, $ext_shared,, -DZEND_ENABLE_STATIC_ACHE=1) 8 PHP_NEW_EXTENSION(suhosin7, suhosin7.c ifilter.c memory_limit.c aes.c treat_data.c log.c execute.c crypt.c cookiecrypt.c header.c, $ext_shared,, -DZEND_ENABLE_STATIC_ACHE=1)
9 PHP_ADD_EXTENSION_DEP(suhosin7, hash)
9fi 10fi
10 11
11PHP_ARG_ENABLE(suhosin7-experimental, whether to enable experimental suhosin7 features, 12PHP_ARG_ENABLE(suhosin7-experimental, whether to enable experimental suhosin7 features,
12[ --enable-suhosin7-experimental Enable experimental suhosin7 features], no, no) 13[ --enable-suhosin7-experimental Enable experimental suhosin7 features], no, no)
13 14
14if test "$PHP_SUHOSIN7_EXPERIMENTAL" != "no"; then 15if test "$PHP_SUHOSIN7_EXPERIMENTAL" != "no"; then
15 AC_DEFINE(SUHOSIN7_EXPERIMENTAL, 1, [Whether to enable experimental suhosin7 features]) 16 AC_DEFINE(SUHOSIN7_EXPERIMENTAL, 1, [Whether to enable experimental suhosin7 features])
16fi 17fi