mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Autotools: Add ZEND_ENABLE_STATIC_TSRMLS_CACHE to skeleton (#14827)
This enables "Thread Safety Resource Manager Local Storage" static cache for skeleton template for Autotools build.
This commit is contained in:
parent
27879fb5d5
commit
955c2e60eb
@ -90,5 +90,8 @@ if test "$PHP_%EXTNAMECAPS%" != "no"; then
|
||||
dnl In case of no dependencies
|
||||
AC_DEFINE(HAVE_%EXTNAMECAPS%, 1, [ Have %EXTNAME% support ])
|
||||
|
||||
PHP_NEW_EXTENSION(%EXTNAME%, %EXTNAME%.c, $ext_shared)
|
||||
PHP_NEW_EXTENSION([%EXTNAME%],
|
||||
[%EXTNAME%.c],
|
||||
[$ext_shared],,
|
||||
[-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1])
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user