php-src/ext/filter/config.m4
Peter Kokot 1ceadaed52
Autotools: Normalize and quote all PHP_NEW_EXTENSION arguments (#15144)
This adds Autoconf quote characters to all PHP_NEW_EXTENSION arguments
and syncs the CS across the php-src Autotools build system.
2024-07-29 00:14:59 +02:00

15 lines
451 B
Text

PHP_ARG_ENABLE([filter],
[whether to enable input filter support],
[AS_HELP_STRING([--disable-filter],
[Disable input filter support])],
[yes])
if test "$PHP_FILTER" != "no"; then
PHP_NEW_EXTENSION([filter],
[filter.c sanitizing_filters.c logical_filters.c callback_filter.c],
[$ext_shared],,
[-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1])
PHP_INSTALL_HEADERS([ext/filter], [php_filter.h])
PHP_ADD_EXTENSION_DEP(filter, pcre)
fi