Skip to content

Commit 7a6a3d9

Browse files
committed
fix arg order, CFLAGS is the fifth arg in m4
1 parent 4fce2ae commit 7a6a3d9

File tree

12 files changed

+13
-13
lines changed

12 files changed

+13
-13
lines changed

ext/filter/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ yes
3939
CPPFLAGS=$old_CPPFLAGS
4040
fi
4141

42-
PHP_NEW_EXTENSION(filter, filter.c sanitizing_filters.c logical_filters.c callback_filter.c, $ext_shared, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
42+
PHP_NEW_EXTENSION(filter, filter.c sanitizing_filters.c logical_filters.c callback_filter.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
4343
PHP_SUBST(FILTER_SHARED_LIBADD)
4444

4545
PHP_INSTALL_HEADERS([ext/filter/php_filter.h])

ext/json/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if test "$PHP_JSON" != "no"; then
99
AC_DEFINE([HAVE_JSON],1 ,[whether to enable JavaScript Object Serialization support])
1010
AC_HEADER_STDC
1111

12-
PHP_NEW_EXTENSION(json, json.c utf8_decode.c JSON_parser.c, $ext_shared, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
12+
PHP_NEW_EXTENSION(json, json.c utf8_decode.c JSON_parser.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
1313
PHP_INSTALL_HEADERS([ext/json], [php_json.h])
1414
PHP_SUBST(JSON_SHARED_LIBADD)
1515
fi

ext/libxml/config0.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if test "$PHP_LIBXML" != "no"; then
1717

1818
PHP_SETUP_LIBXML(LIBXML_SHARED_LIBADD, [
1919
AC_DEFINE(HAVE_LIBXML,1,[ ])
20-
PHP_NEW_EXTENSION(libxml, [libxml.c], $ext_shared, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
20+
PHP_NEW_EXTENSION(libxml, [libxml.c], $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
2121
PHP_INSTALL_HEADERS([ext/libxml/php_libxml.h])
2222
], [
2323
AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.])

ext/mbstring/config.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ AC_DEFUN([PHP_MBSTRING_ADD_INSTALL_HEADERS], [
3131
])
3232

3333
AC_DEFUN([PHP_MBSTRING_EXTENSION], [
34-
PHP_NEW_EXTENSION(mbstring, $PHP_MBSTRING_SOURCES, $ext_shared,, $PHP_MBSTRING_CFLAGS)
34+
PHP_NEW_EXTENSION(mbstring, $PHP_MBSTRING_SOURCES, $ext_shared,, $PHP_MBSTRING_CFLAGS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
3535
PHP_SUBST(MBSTRING_SHARED_LIBADD)
3636
3737
for dir in $PHP_MBSTRING_EXTRA_BUILD_DIRS; do
@@ -47,7 +47,7 @@ AC_DEFUN([PHP_MBSTRING_EXTENSION], [
4747
PHP_ADD_SOURCES(PHP_EXT_DIR(mbstring), $PHP_MBSTRING_BASE_SOURCES)
4848
out="php_config.h"
4949
else
50-
PHP_ADD_SOURCES_X(PHP_EXT_DIR(mbstring),$PHP_MBSTRING_BASE_SOURCES, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1,shared_objects_mbstring,yes)
50+
PHP_ADD_SOURCES_X(PHP_EXT_DIR(mbstring),$PHP_MBSTRING_BASE_SOURCES,,shared_objects_mbstring,yes)
5151
if test -f "$ext_builddir/config.h.in"; then
5252
out="$abs_builddir/config.h"
5353
else

ext/pcre/config0.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ PHP_ARG_WITH(pcre-regex,,
4747

4848
AC_DEFINE(HAVE_PCRE, 1, [ ])
4949
PHP_ADD_INCLUDE($PCRE_INCDIR)
50-
PHP_NEW_EXTENSION(pcre, php_pcre.c, no, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
50+
PHP_NEW_EXTENSION(pcre, php_pcre.c, no,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
5151
PHP_INSTALL_HEADERS([ext/pcre], [php_pcre.h])
5252
else
5353
AC_MSG_CHECKING([for PCRE library to use])

ext/pgsql/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ if test "$PHP_PGSQL" != "no"; then
105105

106106
PHP_ADD_INCLUDE($PGSQL_INCLUDE)
107107

108-
PHP_NEW_EXTENSION(pgsql, pgsql.c, $ext_shared, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
108+
PHP_NEW_EXTENSION(pgsql, pgsql.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
109109
fi
110110

111111

ext/phar/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PHP_ARG_ENABLE(phar, for phar archive support,
55
[ --disable-phar Disable phar support], yes)
66

77
if test "$PHP_PHAR" != "no"; then
8-
PHP_NEW_EXTENSION(phar, util.c tar.c zip.c stream.c func_interceptors.c dirstream.c phar.c phar_object.c phar_path_check.c, $ext_shared, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
8+
PHP_NEW_EXTENSION(phar, util.c tar.c zip.c stream.c func_interceptors.c dirstream.c phar.c phar_object.c phar_path_check.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
99
AC_MSG_CHECKING([for phar openssl support])
1010
if test "$PHP_HASH_SHARED" != "yes"; then
1111
if test "$PHP_HASH" != "no"; then

ext/reflection/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ dnl $Id$
22
dnl config.m4 for extension reflection
33

44
AC_DEFINE(HAVE_REFLECTION, 1, [Whether Reflection is enabled])
5-
PHP_NEW_EXTENSION(reflection, php_reflection.c, no, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
5+
PHP_NEW_EXTENSION(reflection, php_reflection.c, no,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)

ext/session/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ PHP_ARG_WITH(mm,for mm support,
1111
if test "$PHP_SESSION" != "no"; then
1212
PHP_PWRITE_TEST
1313
PHP_PREAD_TEST
14-
PHP_NEW_EXTENSION(session, mod_user_class.c session.c mod_files.c mod_mm.c mod_user.c, $ext_shared, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
14+
PHP_NEW_EXTENSION(session, mod_user_class.c session.c mod_files.c mod_mm.c mod_user.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
1515
PHP_ADD_EXTENSION_DEP(session, hash, true)
1616
PHP_ADD_EXTENSION_DEP(session, spl)
1717
PHP_SUBST(SESSION_SHARED_LIBADD)

ext/soap/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if test "$PHP_SOAP" != "no"; then
1717

1818
PHP_SETUP_LIBXML(SOAP_SHARED_LIBADD, [
1919
AC_DEFINE(HAVE_SOAP,1,[ ])
20-
PHP_NEW_EXTENSION(soap, soap.c php_encoding.c php_http.c php_packet_soap.c php_schema.c php_sdl.c php_xml.c, $ext_shared, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
20+
PHP_NEW_EXTENSION(soap, soap.c php_encoding.c php_http.c php_packet_soap.c php_schema.c php_sdl.c php_xml.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
2121
PHP_SUBST(SOAP_SHARED_LIBADD)
2222
], [
2323
AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.])

0 commit comments

Comments
 (0)