mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00

This adds Autoconf quote characters to all PHP_NEW_EXTENSION arguments and syncs the CS across the php-src Autotools build system.
15 lines
451 B
Text
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
|