blob: 2860b8d05aaf4ccd46bac8a4b318bcec2b6dbb10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
dnl $Id$
dnl config.m4 for extension suhosin7
PHP_ARG_ENABLE(suhosin7, whether to enable suhosin support,
[ --enable-suhosin7 Enable suhosin support])
if test "$PHP_SUHOSIN7" != "no"; then
PHP_NEW_EXTENSION(suhosin7, suhosin7.c ifilter.c memory_limit.c aes.c treat_data.c log.c execute.c execute_ih.c execute_rnd.c crypt.c cookiecrypt.c header.c, $ext_shared,, [-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1])
PHP_ADD_EXTENSION_DEP(suhosin7, hash)
echo "===== WARNING ============================================"
echo " Suhosin7 for PHP 7 is in alpha stage at the moment and"
echo " not ready for production yet."
echo "=========================================================="
fi
PHP_ARG_ENABLE(suhosin7-experimental, whether to enable experimental suhosin7 features,
[ --enable-suhosin7-experimental Enable experimental suhosin7 features], no, no)
if test "$PHP_SUHOSIN7_EXPERIMENTAL" != "no"; then
AC_DEFINE(SUHOSIN7_EXPERIMENTAL, 1, [Whether to enable experimental suhosin7 features])
fi
|