xref: /PHP-8.2/ext/filter/config.m4 (revision b558a18c)
1PHP_ARG_ENABLE([filter],
2  [whether to enable input filter support],
3  [AS_HELP_STRING([--disable-filter],
4    [Disable input filter support])],
5  [yes])
6
7if test "$PHP_FILTER" != "no"; then
8  PHP_NEW_EXTENSION(filter, filter.c sanitizing_filters.c logical_filters.c callback_filter.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
9
10  PHP_INSTALL_HEADERS([ext/filter], [php_filter.h])
11  PHP_ADD_EXTENSION_DEP(filter, pcre)
12fi
13