xref: /php-src/ext/dl_test/config.m4 (revision 816aea79)
1PHP_ARG_ENABLE([dl-test],
2  [whether to enable dl-test extension],
3  [AS_HELP_STRING([--enable-dl-test],
4    [Enable dl_test extension])])
5
6if test "$PHP_DL_TEST" != "no"; then
7  dnl Always build as shared extension.
8  ext_shared=yes
9
10  PHP_NEW_EXTENSION([dl_test],
11    [dl_test.c],
12    [$ext_shared],,
13    [-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1])
14fi
15