From cb0cfbb4c399846f443ced842ac952b7f60198f4 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 1 Mar 2015 02:17:13 +0000 Subject: mkconfig.rb: no build-time variables * tool/mkconfig.rb: exclude unnecessary build-time only variables, various ruby commands, installation targets, and dtrace stuffs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/mkconfig.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tool/mkconfig.rb') diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb index b86c312265..8eade264bf 100755 --- a/tool/mkconfig.rb +++ b/tool/mkconfig.rb @@ -74,7 +74,9 @@ File.foreach "config.status" do |line| if name case name when /^(?:ac_.*|configure_input|(?:top_)?srcdir|\w+OBJS)$/; next - when /^(?:X|(?:MINI|RUN|BASE)RUBY$)/; next + when /^(?:X|(?:MINI|RUN|(?:HAVE_)?BASE|BTEST)RUBY(?:_COMMAND)?$)/; next + when /^INSTALLDOC|TARGET$/; next + when /^DTRACE/; next when /^(?:MAJOR|MINOR|TEENY)$/; vars[name] = val; next when /^LIBRUBY_D?LD/; next when /^RUBY_INSTALL_NAME$/; next vars[name] = (install_name = val).dup if $install_name -- cgit v1.2.3