1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Sync HAVE_<extension> help texts (#15167)

This syncs all help texts of extension preprocessor macros to the same
style "Define to 1 if the PHP extension '<ext>' is available.".
[skip ci]
This commit is contained in:
Peter Kokot
2024-08-02 01:41:47 +02:00
committed by GitHub
parent 4993453933
commit f66feaec0f
76 changed files with 107 additions and 76 deletions

View File

@@ -99,7 +99,7 @@ AS_VAR_IF([PHP_%EXTNAMECAPS%], [no],, [
dnl Define a preprocessor macro to indicate that this PHP extension can
dnl be dynamically loaded as a shared module or is statically built into PHP.
AC_DEFINE([HAVE_%EXTNAMECAPS%], [1],
[Define to 1 if PHP extension '%EXTNAME%' is available.])
[Define to 1 if the PHP extension '%EXTNAME%' is available.])
dnl Configure extension sources and compilation flags.
PHP_NEW_EXTENSION([%EXTNAME%],

View File

@@ -1,7 +1,7 @@
ARG_ENABLE('%EXTNAME%', '%EXTNAME% support', 'no');
if (PHP_%EXTNAMECAPS% != 'no') {
AC_DEFINE('HAVE_%EXTNAMECAPS%', 1, '%EXTNAME% support enabled');
AC_DEFINE('HAVE_%EXTNAMECAPS%', 1, "Define to 1 if the PHP extension '%EXTNAME%' is available.");
EXTENSION('%EXTNAME%', '%EXTNAME%.c', null, '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
}