summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-03-16 14:30:24 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-03-16 14:36:10 +0100
commite35f9dfecc49d14722dbb1dfc0fe89d5dfbc4f4f (patch)
treea261244fed9fa4665a24ac000a2fa0ab029990b2
parent59e610092a0c667098de0cca85c224d0a1b66990 (diff)
downloadphp-git-e35f9dfecc49d14722dbb1dfc0fe89d5dfbc4f4f.tar.gz
Don't check executability
As $(PHP) is not an absolute path, test -x doesn't do anything meaningful. Rely on the autoconf check.
-rw-r--r--Zend/Makefile.frag4
-rw-r--r--build/Makefile.global2
2 files changed, 3 insertions, 3 deletions
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; \