1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01: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:
Peter Kokot
2024-07-05 12:52:49 +02:00
committed by GitHub
parent 27879fb5d5
commit 955c2e60eb

View File

@@ -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