summaryrefslogtreecommitdiff
path: root/config.m4
blob: 01edafd5e4ce4b3462ca9fd493199f20cb0677b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
dnl $Id: config.m4,v 1.1.1.1 2007-11-28 01:15:35 sesser Exp $
dnl config.m4 for extension suhosin

PHP_ARG_ENABLE(suhosin, whether to enable suhosin support,
[  --enable-suhosin        Enable suhosin support])

if test "$PHP_SUHOSIN" != "no"; then
  PHP_NEW_EXTENSION(suhosin, suhosin.c sha256.c memory_limit.c treat_data.c ifilter.c post_handler.c ufilter.c rfc1867.c rfc1867_new.c log.c header.c execute.c ex_imp.c session.c aes.c compat_snprintf.c, $ext_shared)
fi

PHP_ARG_ENABLE(suhosin-experimental, whether to enable experimental suhosin features,
[  --enable-suhosin-experimental        Enable experimental suhosin features], no, no)

if test "$PHP_SUHOSIN_EXPERIMENTAL" != "no"; then
  AC_DEFINE(SUHOSIN_EXPERIMENTAL, 1, [Whether to enable experimental suhosin features])
fi