[前][次][番号順一覧][スレッド一覧]

ruby-changes:72927

From: Nobuyoshi <ko1@a...>
Date: Sun, 14 Aug 2022 14:45:06 +0900 (JST)
Subject: [ruby-changes:72927] a58a429f8b (master): Silent configure does not output cached configurations

https://git.ruby-lang.org/ruby.git/commit/?id=a58a429f8b

From a58a429f8b85d9a68a9439ba58c76996750946da Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 14 Aug 2022 01:02:33 +0900
Subject: Silent configure does not output cached configurations

---
 template/Makefile.in | 5 +++--
 1 file 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 https://github.com/ruby/ruby/blob/trunk/template/Makefile.in#L397
 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)
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]