From 346455c6b5716c8ce095235428614e15c0adf13e Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Wed, 24 Feb 2016 00:36:35 +0100 Subject: cookie encryption --- config.m4 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'config.m4') diff --git a/config.m4 b/config.m4 index b5d8249..65b0c83 100644 --- a/config.m4 +++ b/config.m4 @@ -1,16 +1,17 @@ dnl $Id$ dnl config.m4 for extension suhosin7 -PHP_ARG_ENABLE(suhosin, whether to enable suhosin support, -[ --enable-suhosin Enable suhosin support]) +PHP_ARG_ENABLE(suhosin7, whether to enable suhosin support, +[ --enable-suhosin7 Enable suhosin support]) -if test "$PHP_SUHOSIN" != "no"; then - 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) +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 crypt.c cookiecrypt.c header.c, $ext_shared,, -DZEND_ENABLE_STATIC_ACHE=1) + PHP_ADD_EXTENSION_DEP(suhosin7, hash) 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]) + AC_DEFINE(SUHOSIN7_EXPERIMENTAL, 1, [Whether to enable experimental suhosin7 features]) fi -- cgit v1.3