From: Nikita Popov Date: Tue, 16 Mar 2021 13:30:24 +0000 (+0100) Subject: Don't check executability X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e35f9dfecc49d14722dbb1dfc0fe89d5dfbc4f4f;p=php Don't check executability As $(PHP) is not an absolute path, test -x doesn't do anything meaningful. Rely on the autoconf check. --- diff --git a/Zend/Makefile.frag b/Zend/Makefile.frag index 1e5023b204..e53d3fd209 100644 --- a/Zend/Makefile.frag +++ b/Zend/Makefile.frag @@ -32,8 +32,8 @@ $(srcdir)/zend_ini_parser.c: $(srcdir)/zend_ini_parser.y $(srcdir)/zend_ini_scanner.c: $(srcdir)/zend_ini_scanner.l @(cd $(top_srcdir); $(RE2C) $(RE2C_FLAGS) --no-generation-date --case-inverted -cbdFt Zend/zend_ini_scanner_defs.h -oZend/zend_ini_scanner.c Zend/zend_ini_scanner.l) -$(srcdir)/zend_vm_execute.h: $(srcdir)/zend_vm_def.h $(srcdir)/zend_vm_execute.skl $(srcdir)/zend_vm_gen.php - @if test ! -z "$(PHP)" && test -x "$(PHP)"; then \ +$(srcdir)/zend_vm_execute.h $(srcdir)/zend_vm_opcodes.c: $(srcdir)/zend_vm_def.h $(srcdir)/zend_vm_execute.skl $(srcdir)/zend_vm_gen.php + @if test ! -z "$(PHP)"; then \ $(PHP) $(srcdir)/zend_vm_gen.php; \ fi; diff --git a/build/Makefile.global b/build/Makefile.global index cc21973f18..2ff838cb33 100644 --- a/build/Makefile.global +++ b/build/Makefile.global @@ -144,7 +144,7 @@ prof-use: %_arginfo.h: %.stub.php @if test -e "$(top_srcdir)/build/gen_stub.php"; then \ - if test ! -z "$(PHP)" && test -x "$(PHP)"; then \ + if test ! -z "$(PHP)"; then \ echo Parse $< to generate $@;\ $(PHP) $(top_srcdir)/build/gen_stub.php $<; \ fi; \