1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Makefile.in: selectable configure

* Makefile.in (reconfig): use selected configure script name.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-03-21 00:11:20 +00:00
parent c8a28a5a1b
commit d138ab0442

View file

@ -289,12 +289,12 @@ uncommon.mk: $(srcdir)/common.mk
sed 's/{\$$([^(){}]*)[^{}]*}//g' $< > $@ sed 's/{\$$([^(){}]*)[^{}]*}//g' $< > $@
.PHONY: reconfig .PHONY: reconfig
reconfig-args = $(srcdir)/configure $(configure_args) reconfig-args = $(srcdir)/$(CONFIGURE) $(configure_args)
config.status-args = ./config.status --recheck config.status-args = ./config.status --recheck
reconfig-exec-0 = exec 3>&1; exit `exec 4>&1; { "$$@" 3>&- 4>&-; echo $$? 1>&4; } | fgrep -v '(cached)' 1>&3` reconfig-exec-0 = exec 3>&1; exit `exec 4>&1; { "$$@" 3>&- 4>&-; echo $$? 1>&4; } | fgrep -v '(cached)' 1>&3 3>&- 4>&-`
reconfig-exec-1 = set -x; "$$@" reconfig-exec-1 = set -x; "$$@"
reconfig config.status: $(srcdir)/configure $(srcdir)/enc/Makefile.in \ reconfig config.status: $(srcdir)/$(CONFIGURE) $(srcdir)/enc/Makefile.in \
$(srcdir)/include/ruby/version.h $(srcdir)/include/ruby/version.h
@PWD= MINIRUBY="$(MINIRUBY)"; export MINIRUBY; \ @PWD= MINIRUBY="$(MINIRUBY)"; export MINIRUBY; \
set $(SHELL) $($@-args); $(reconfig-exec-$(V)) set $(SHELL) $($@-args); $(reconfig-exec-$(V))