mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Don't check executability
As $(PHP) is not an absolute path, test -x doesn't do anything meaningful. Rely on the autoconf check.
This commit is contained in:
parent
59e610092a
commit
e35f9dfecc
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue