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:
@@ -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%],
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user