Skip to content

Commit bee84c0

Browse files
authored
Autotools: Quote PHP_SUBST arguments in extensions (#14748)
1 parent b9f8113 commit bee84c0

File tree

34 files changed

+37
-37
lines changed

34 files changed

+37
-37
lines changed

ext/bz2/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ if test "$PHP_BZ2" != "no"; then
3434
])
3535

3636
PHP_NEW_EXTENSION(bz2, bz2.c bz2_filter.c, $ext_shared)
37-
PHP_SUBST(BZ2_SHARED_LIBADD)
37+
PHP_SUBST([BZ2_SHARED_LIBADD])
3838
fi

ext/curl/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,5 @@ if test "$PHP_CURL" != "no"; then
8484

8585
PHP_NEW_EXTENSION(curl, interface.c multi.c share.c curl_file.c, $ext_shared)
8686
PHP_INSTALL_HEADERS([ext/curl], [php_curl.h])
87-
PHP_SUBST(CURL_SHARED_LIBADD)
87+
PHP_SUBST([CURL_SHARED_LIBADD])
8888
fi

ext/dba/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ if test "$HAVE_DBA" = "1"; then
705705
PHP_ADD_BUILD_DIR($ext_builddir/libinifile)
706706
PHP_ADD_BUILD_DIR($ext_builddir/libcdb)
707707
PHP_ADD_BUILD_DIR($ext_builddir/libflatfile)
708-
PHP_SUBST(DBA_SHARED_LIBADD)
708+
PHP_SUBST([DBA_SHARED_LIBADD])
709709
else
710710
AC_MSG_RESULT(no)
711711
fi

ext/dom/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if test "$PHP_DOM" != "no"; then
5454
PHP_ADD_BUILD_DIR($ext_builddir/$LEXBOR_DIR/selectors-adapted)
5555
PHP_ADD_BUILD_DIR($ext_builddir/$LEXBOR_DIR/ns)
5656
PHP_ADD_BUILD_DIR($ext_builddir/$LEXBOR_DIR/tag)
57-
PHP_SUBST(DOM_SHARED_LIBADD)
57+
PHP_SUBST([DOM_SHARED_LIBADD])
5858
PHP_INSTALL_HEADERS([ext/dom], [xml_common.h xpath_callbacks.h namespace_compat.h])
5959
PHP_ADD_EXTENSION_DEP(dom, libxml)
6060
])

ext/enchant/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ if test "$PHP_ENCHANT" != "no"; then
3838
AC_DEFINE(HAVE_ENCHANT, 1, [ ])
3939

4040
PHP_NEW_EXTENSION(enchant, enchant.c, $ext_shared)
41-
PHP_SUBST(ENCHANT_SHARED_LIBADD)
41+
PHP_SUBST([ENCHANT_SHARED_LIBADD])
4242
fi

ext/ffi/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ if test "$PHP_FFI" != "no"; then
2828
PHP_FFI_CHECK_DECL([FFI_SYSV])
2929

3030
PHP_NEW_EXTENSION(ffi, ffi.c ffi_parser.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
31-
PHP_SUBST(FFI_SHARED_LIBADD)
31+
PHP_SUBST([FFI_SHARED_LIBADD])
3232
fi

ext/ftp/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if test "$PHP_FTP" = "yes"; then
2121

2222
if test "$PHP_OPENSSL" != "no" || test "$PHP_FTP_SSL" != "no"; then
2323
PHP_SETUP_OPENSSL(FTP_SHARED_LIBADD)
24-
PHP_SUBST(FTP_SHARED_LIBADD)
24+
PHP_SUBST([FTP_SHARED_LIBADD])
2525
AC_DEFINE(HAVE_FTP_SSL,1,[Whether FTP over SSL is supported])
2626
fi
2727
fi

ext/gettext/config.m4

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

3434
AC_DEFINE(HAVE_LIBINTL,1,[ ])
3535
PHP_NEW_EXTENSION(gettext, gettext.c, $ext_shared)
36-
PHP_SUBST(GETTEXT_SHARED_LIBADD)
36+
PHP_SUBST([GETTEXT_SHARED_LIBADD])
3737

3838
PHP_ADD_INCLUDE($GETTEXT_INCDIR)
3939

ext/gmp/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ if test "$PHP_GMP" != "no"; then
3030
PHP_INSTALL_HEADERS([ext/gmp], [php_gmp_int.h])
3131

3232
PHP_NEW_EXTENSION(gmp, gmp.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
33-
PHP_SUBST(GMP_SHARED_LIBADD)
33+
PHP_SUBST([GMP_SHARED_LIBADD])
3434
AC_DEFINE(HAVE_GMP, 1, [ ])
3535
fi

ext/iconv/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ int main(void) {
133133
CFLAGS="$save_CFLAGS"
134134

135135
PHP_NEW_EXTENSION(iconv, iconv.c, $ext_shared,, [-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1])
136-
PHP_SUBST(ICONV_SHARED_LIBADD)
136+
PHP_SUBST([ICONV_SHARED_LIBADD])
137137
PHP_INSTALL_HEADERS([ext/iconv], [php_iconv.h])
138138
else
139139
AC_MSG_ERROR(Please reinstall the iconv library.)

0 commit comments

Comments
 (0)