summaryrefslogtreecommitdiff
path: root/tool/mkconfig.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-01 02:17:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-01 02:17:13 +0000
commitcb0cfbb4c399846f443ced842ac952b7f60198f4 (patch)
tree69fbcf23f3681d56c4bf7ffff5fd13dcabe9a75a /tool/mkconfig.rb
parenta12a453152dc551a5e4c92038b19594815cbc7d1 (diff)
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
Diffstat (limited to 'tool/mkconfig.rb')
-rwxr-xr-xtool/mkconfig.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb
index b86c312..8eade26 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