summaryrefslogtreecommitdiff
path: root/tool/mkconfig.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-31 06:40:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-31 06:40:37 +0000
commit8825a084eb57893b7e1951e76ce299bd41535c24 (patch)
tree5f15644eddb420a3eb58a211f8d88285610fae6f /tool/mkconfig.rb
parent0423c207c65a0c9910521a33627cecbd38ad38a1 (diff)
win32/configure.bat: option arguments
* win32/configure.bat: try to fix option arguments split by commas and equals here. this batch file no longer run with old command.com. * tool/mkconfig.rb: no hacks for cmd.exe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/mkconfig.rb')
-rwxr-xr-xtool/mkconfig.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb
index 15e2f4f..07076d4 100755
--- a/tool/mkconfig.rb
+++ b/tool/mkconfig.rb
@@ -116,12 +116,6 @@ File.foreach "config.status" do |line|
eq = win32 && vars[name] ? '<< "\n"' : '='
vars[name] = val
if name == "configure_args"
- if win32
- val.gsub!(/\G(--[-a-z0-9]+)((=\S+)|(?:\s+(?!-)\S+)+)?(\s*)/) {
- _, opt, list, arg, sep = *$~
- "#{opt}#{arg || list && list.sub(/^\s+/, '=').tr_s(' ', ',')}#{sep}"
- }
- end
val.gsub!(/--with-out-ext/, "--without-ext")
end
val = val.gsub(/\$(?:\$|\{?(\w+)\}?)/) {$1 ? "$(#{$1})" : $&}.dump