mirror of
https://github.com/php/php-src.git
synced 2026-04-21 06:51:18 +02:00
The extension name should match the name of the ext/ directory, otherwise it will not get picked up by run-tests. It would be possible to remap this in run-tests, but I think it's better to rename the extension to follow the standard format. Other extensions also use underscore instead of hyphen (e.g. pdo_mysql and not pdo-mysql). Of course, the ./configure option remains hyphenated. Closes GH-6613.
9 lines
280 B
Plaintext
9 lines
280 B
Plaintext
PHP_ARG_ENABLE([zend-test],
|
|
[whether to enable zend-test extension],
|
|
[AS_HELP_STRING([--enable-zend-test],
|
|
[Enable zend_test extension])])
|
|
|
|
if test "$PHP_ZEND_TEST" != "no"; then
|
|
PHP_NEW_EXTENSION(zend_test, test.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
|
|
fi
|