Skip to content

Commit e35f9df

Browse files
committed
Don't check executability
As $(PHP) is not an absolute path, test -x doesn't do anything meaningful. Rely on the autoconf check.
1 parent 59e6100 commit e35f9df

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Zend/Makefile.frag

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ $(srcdir)/zend_ini_parser.c: $(srcdir)/zend_ini_parser.y
3232
$(srcdir)/zend_ini_scanner.c: $(srcdir)/zend_ini_scanner.l
3333
@(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)
3434

35-
$(srcdir)/zend_vm_execute.h: $(srcdir)/zend_vm_def.h $(srcdir)/zend_vm_execute.skl $(srcdir)/zend_vm_gen.php
36-
@if test ! -z "$(PHP)" && test -x "$(PHP)"; then \
35+
$(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
36+
@if test ! -z "$(PHP)"; then \
3737
$(PHP) $(srcdir)/zend_vm_gen.php; \
3838
fi;
3939

build/Makefile.global

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ prof-use:
144144

145145
%_arginfo.h: %.stub.php
146146
@if test -e "$(top_srcdir)/build/gen_stub.php"; then \
147-
if test ! -z "$(PHP)" && test -x "$(PHP)"; then \
147+
if test ! -z "$(PHP)"; then \
148148
echo Parse $< to generate $@;\
149149
$(PHP) $(top_srcdir)/build/gen_stub.php $<; \
150150
fi; \

0 commit comments

Comments
 (0)