* mkconfig.rb: forgotten to commit.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2005-10-18 01:18:05 +00:00
parent 71aa77ef8a
commit 2b8887590d
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ File.foreach "config.status" do |line|
next if /^\$ac_\w+$/ =~ val
next if $install_name and /^RUBY_INSTALL_NAME$/ =~ name
next if $so_name and /^RUBY_SO_NAME$/ =~ name
val.gsub!(/ +(?!-)/, "=") if name == "configure_args" && /mswin32/ =~ RUBY_PLATFORM
v = " CONFIG[\"" + name + "\"] = " +
val.gsub(/\$(?:\$|\{?(\w+)\}?)/) {$1 ? "$(#{$1})" : $&}.dump + "\n"
if fast[name]