Skip to content

Commit 1f2948a

Browse files
authored
Sync PHP_SUBST in phpize.m4 (#14756)
- Arguments quoted - Duplicate redundant prefix variable substitution removed
1 parent 66a06d6 commit 1f2948a

File tree

1 file changed

+26
-30
lines changed

1 file changed

+26
-30
lines changed

scripts/phpize.m4

Lines changed: 26 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -178,36 +178,32 @@ else
178178
BUILD_CC=$CC
179179
fi
180180

181-
PHP_SUBST(PHP_MODULES)
182-
PHP_SUBST(PHP_ZEND_EX)
183-
184-
PHP_SUBST(all_targets)
185-
PHP_SUBST(install_targets)
186-
187-
PHP_SUBST(prefix)
188-
PHP_SUBST(exec_prefix)
189-
PHP_SUBST(libdir)
190-
PHP_SUBST(prefix)
191-
PHP_SUBST(phpincludedir)
192-
193-
PHP_SUBST(CC)
194-
PHP_SUBST(CFLAGS)
195-
PHP_SUBST(CFLAGS_CLEAN)
196-
PHP_SUBST(CPP)
197-
PHP_SUBST(CPPFLAGS)
198-
PHP_SUBST(CXX)
199-
PHP_SUBST(CXXFLAGS)
200-
PHP_SUBST(CXXFLAGS_CLEAN)
201-
PHP_SUBST(EXTENSION_DIR)
202-
PHP_SUBST(PHP_EXECUTABLE)
203-
PHP_SUBST(EXTRA_LDFLAGS)
204-
PHP_SUBST(EXTRA_LIBS)
205-
PHP_SUBST(INCLUDES)
206-
PHP_SUBST(LDFLAGS)
207-
PHP_SUBST(LIBTOOL)
208-
PHP_SUBST(SHELL)
209-
PHP_SUBST(INSTALL_HEADERS)
210-
PHP_SUBST(BUILD_CC)
181+
PHP_SUBST([PHP_MODULES])
182+
PHP_SUBST([PHP_ZEND_EX])
183+
PHP_SUBST([all_targets])
184+
PHP_SUBST([install_targets])
185+
PHP_SUBST([prefix])
186+
PHP_SUBST([exec_prefix])
187+
PHP_SUBST([libdir])
188+
PHP_SUBST([phpincludedir])
189+
PHP_SUBST([CC])
190+
PHP_SUBST([CFLAGS])
191+
PHP_SUBST([CFLAGS_CLEAN])
192+
PHP_SUBST([CPP])
193+
PHP_SUBST([CPPFLAGS])
194+
PHP_SUBST([CXX])
195+
PHP_SUBST([CXXFLAGS])
196+
PHP_SUBST([CXXFLAGS_CLEAN])
197+
PHP_SUBST([EXTENSION_DIR])
198+
PHP_SUBST([PHP_EXECUTABLE])
199+
PHP_SUBST([EXTRA_LDFLAGS])
200+
PHP_SUBST([EXTRA_LIBS])
201+
PHP_SUBST([INCLUDES])
202+
PHP_SUBST([LDFLAGS])
203+
PHP_SUBST([LIBTOOL])
204+
PHP_SUBST([SHELL])
205+
PHP_SUBST([INSTALL_HEADERS])
206+
PHP_SUBST([BUILD_CC])
211207

212208
AC_CONFIG_HEADERS([config.h])
213209

0 commit comments

Comments
 (0)