summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-08-14 01:02:33 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-08-14 14:42:10 +0900
commita58a429f8b85d9a68a9439ba58c76996750946da (patch)
tree120fef0572381bb4d560823c63897d67f41756dc /template
parent0617cba197cdff626ee9c74cece480df31d384ef (diff)
downloadruby-a58a429f8b85d9a68a9439ba58c76996750946da.tar.gz
Silent configure does not output cached configurations
Diffstat (limited to 'template')
-rw-r--r--template/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/template/Makefile.in b/template/Makefile.in
index 7968619f9a..facbf062f4 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -397,12 +397,13 @@ uncommon.mk: $(srcdir)/common.mk
reconfig-args = $(srcdir)/$(CONFIGURE) $(yes_silence:yes=--silent) $(configure_args)
config.status-args = ./config.status $(yes_silence:yes=--silent) --recheck
reconfig-exec-0 = test -t 1 && { : $${CONFIGURE_TTY=yes}; export CONFIGURE_TTY; }; 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; exec "$$@"
+reconfig-exec-yes = $(reconfig-exec-1)
reconfig config.status: $(srcdir)/$(CONFIGURE) $(srcdir)/enc/Makefile.in \
$(hdrdir)/ruby/version.h $(ABI_VERSION_HDR)
@PWD= MINIRUBY="$(MINIRUBY)"; export MINIRUBY; \
- set $(SHELL) $($@-args); $(reconfig-exec-$(V))
+ set $(SHELL) $($@-args); $(reconfig-exec-$(silence:no=$(V)))
$(srcdir)/$(CONFIGURE): $(srcdir)/configure.ac
$(CHDIR) $(srcdir) && exec $(AUTOCONF) -o $(@F)