From 385ef8e5c24b0e28ef88346725380c7e26bf427a Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 21 Jan 2013 06:41:38 +0000 Subject: [PATCH] mkconfig.rb: no BASERUBY * tool/mkconfig.rb: BASERUBY is transient at core build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ common.mk | 2 +- tool/mkconfig.rb | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 44f6fcef5b..33b9f978cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Jan 21 15:41:33 2013 Nobuyoshi Nakada + + * tool/mkconfig.rb: BASERUBY is transient at core build. + Mon Jan 21 13:51:21 2013 Nobuyoshi Nakada * lib/mkmf.rb ($extmk): traverse parent directories for the case diff --git a/common.mk b/common.mk index 1abef18031..531ba26daa 100644 --- a/common.mk +++ b/common.mk @@ -936,7 +936,7 @@ $(srcdir)/ext/ripper/ripper.c: parse.y $(srcdir)/ext/json/parser/parser.c: $(srcdir)/ext/json/parser/parser.rl $(ECHO) generating $@ $(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f prereq.mk $(MFLAGS) \ - Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. + Q=$(Q) ECHO=$(ECHO) top_srcdir=../../.. srcdir=. VPATH=../../.. BASERUBY="$(BASERUBY)" $(srcdir)/ext/dl/callback/callback.c: $(srcdir)/ext/dl/callback/mkcallback.rb $(srcdir)/ext/dl/dl.h $(ECHO) generating $@ diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb index e73cd29d62..faa1a3f458 100755 --- a/tool/mkconfig.rb +++ b/tool/mkconfig.rb @@ -73,7 +73,7 @@ File.foreach "config.status" do |line| if name case name when /^(?:ac_.*|configure_input|(?:top_)?srcdir|\w+OBJS)$/; next - when /^(?:X|(?:MINI|RUN)RUBY$)/; next + when /^(?:X|(?:MINI|RUN|BASE)RUBY$)/; next when /^(?:MAJOR|MINOR|TEENY)$/; next when /^RUBY_INSTALL_NAME$/; next if $install_name when /^RUBY_SO_NAME$/; next if $so_name @@ -132,7 +132,7 @@ File.foreach "config.status" do |line| val.sub!(/universal/, %q[#{arch && universal[/(?:\A|\s)#{Regexp.quote(arch)}=(\S+)/, 1] || '\&'}]) end end - v = " CONFIG[\"#{name}\"] #{win32 && vars[name] ? '<< "\n" +' : '='} #{val}\n" + v = " CONFIG[\"#{name}\"] #{win32 && vars[name] ? '<< "\n"' : '='} #{val}\n" vars[name] = true if fast[name] v_fast << v