Skip to content

Commit bfaf732

Browse files
committed
Fix installation headers
1 parent fcac10a commit bfaf732

File tree

4 files changed

+3
-9
lines changed

4 files changed

+3
-9
lines changed

ext/collections/config.m4

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
PHP_NEW_EXTENSION(collections, php_collections.c collections_deque.c, no,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
2-
PHP_INSTALL_HEADERS([ext/spl], [php_collections.h collections_deque.h])
3-
PHP_ADD_EXTENSION_DEP(collections, pcre, true)
2+
PHP_INSTALL_HEADERS([ext/collections], [php_collections.h collections_deque.h])
43
PHP_ADD_EXTENSION_DEP(collections, spl, true)
54
PHP_ADD_EXTENSION_DEP(collections, standard, true)
65
PHP_ADD_EXTENSION_DEP(collections, json)

ext/collections/php_collections.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ PHP_MINFO_FUNCTION(collections)
3333
(void) ((ZEND_MODULE_INFO_FUNC_ARGS_PASSTHRU));
3434
php_info_print_table_start();
3535
php_info_print_table_header(2, "collections support", "enabled");
36-
php_info_print_table_row(2, "collections version", PHP_COLLECTIONS_VERSION);
3736
php_info_print_table_end();
3837
}
3938
/* }}} */
@@ -53,10 +52,6 @@ zend_module_entry collections_module_entry = {
5352
};
5453
/* }}} */
5554

56-
5755
#ifdef COMPILE_DL_COLLECTIONS
58-
# ifdef ZTS
59-
ZEND_TSRMLS_CACHE_DEFINE()
60-
# endif
6156
ZEND_GET_MODULE(collections)
6257
#endif

ext/spl/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PHP_NEW_EXTENSION(spl, php_spl.c spl_functions.c spl_iterators.c spl_array.c spl_directory.c spl_exceptions.c spl_observer.c spl_dllist.c spl_heap.c spl_fixedarray.c, no,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
2-
PHP_INSTALL_HEADERS([ext/spl], [php_spl.h spl_array.h spl_directory.h spl_engine.h spl_exceptions.h spl_functions.h spl_iterators.h spl_observer.h spl_dllist.h spl_heap.h spl_fixedarray.h])
2+
PHP_INSTALL_HEADERS([ext/spl], [php_spl.h spl_array.h spl_directory.h spl_engine.h spl_exceptions.h spl_functions.h spl_iterators.h spl_observer.h spl_dllist.h spl_heap.h spl_fixedarray.h spl_util.h])
33
PHP_ADD_EXTENSION_DEP(spl, pcre, true)
44
PHP_ADD_EXTENSION_DEP(spl, standard, true)
55
PHP_ADD_EXTENSION_DEP(spl, json)

ext/spl/config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
EXTENSION("spl", "php_spl.c spl_functions.c spl_iterators.c spl_array.c spl_directory.c spl_exceptions.c spl_observer.c spl_dllist.c spl_heap.c spl_fixedarray.c", false /*never shared */, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
44
PHP_SPL="yes";
5-
PHP_INSTALL_HEADERS("ext/spl", "php_spl.h spl_array.h spl_directory.h spl_engine.h spl_exceptions.h spl_functions.h spl_iterators.h spl_observer.h spl_dllist.h spl_heap.h spl_fixedarray.h");
5+
PHP_INSTALL_HEADERS("ext/spl", "php_spl.h spl_array.h spl_directory.h spl_engine.h spl_exceptions.h spl_functions.h spl_iterators.h spl_observer.h spl_dllist.h spl_heap.h spl_fixedarray.h spl_util.h");

0 commit comments

Comments
 (0)