Skip to content

Commit 7d92707

Browse files
authored
Autotools: Sync shared argument CS (php#15141)
The 3rd argument of the PHP_NEW_EXTENSION can be "shared" or "yes" to mark the extension as shared, or anything else to mark that extension as not shared. This syncs the argument values across the build system to be "no" as in other always-enabled extensions.
1 parent 575efc0 commit 7d92707

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ext/hash/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ EXT_HASH_SOURCES="hash.c hash_md.c hash_sha.c hash_ripemd.c hash_haval.c \
3838
hash_crc32.c hash_fnv.c hash_joaat.c $EXT_HASH_SHA3_SOURCES
3939
murmur/PMurHash.c murmur/PMurHash128.c hash_murmur.c hash_xxhash.c"
4040

41-
PHP_NEW_EXTENSION(hash, $EXT_HASH_SOURCES, 0,,$PHP_HASH_CFLAGS)
41+
PHP_NEW_EXTENSION([hash], [$EXT_HASH_SOURCES], [no],, [$PHP_HASH_CFLAGS])
4242
PHP_ADD_BUILD_DIR([$ext_builddir/murmur])
4343
AS_VAR_IF([SHA3_DIR],,, [PHP_ADD_BUILD_DIR([$ext_builddir/$SHA3_DIR])])
4444
PHP_INSTALL_HEADERS([ext/hash], m4_normalize([

ext/standard/config.m4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,8 @@ PHP_NEW_EXTENSION([standard], m4_normalize([
467467
var.c
468468
versioning.c
469469
$php_ext_standard_sources
470-
]),,,
470+
]),
471+
[no],,
471472
[-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1])
472473

473474
PHP_ADD_BUILD_DIR([$ext_builddir/libavifinfo])

0 commit comments

Comments
 (0)