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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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