mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00

This makes future config.m4 files changes simpler in case of adding additional checks, macro calls etc. Or if these extensions configuration would change at some point.
14 lines
349 B
Text
14 lines
349 B
Text
PHP_ARG_ENABLE([dl-test],
|
|
[whether to enable dl-test extension],
|
|
[AS_HELP_STRING([--enable-dl-test],
|
|
[Enable dl_test extension])])
|
|
|
|
if test "$PHP_DL_TEST" != "no"; then
|
|
dnl Always build as shared extension.
|
|
ext_shared=yes
|
|
|
|
PHP_NEW_EXTENSION([dl_test],
|
|
[dl_test.c],
|
|
[$ext_shared],,
|
|
[-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1])
|
|
fi
|