summaryrefslogtreecommitdiff
path: root/mkconfig.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-31 09:21:25 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-31 09:21:25 +0000
commited474caef18e34a54010ea09d3f64896b0add5f7 (patch)
tree407c98a5c0e7f446a540c9ec902b4e29641041a9 /mkconfig.rb
parentb2d7eaec50f070913fa71d3a8d39cf9e738f3559 (diff)
matz - biorhythm.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mkconfig.rb')
-rw-r--r--mkconfig.rb17
1 files changed, 1 insertions, 16 deletions
diff --git a/mkconfig.rb b/mkconfig.rb
index 2e346c1..c83e5f8 100644
--- a/mkconfig.rb
+++ b/mkconfig.rb
@@ -83,22 +83,7 @@ end
print v_fast, v_others
print <<EOS
CONFIG["compile_dir"] = "#{Dir.pwd}"
- MAKEFILE_CONFIG = {}
- CONFIG.each{|k,v| MAKEFILE_CONFIG[k] = v.dup}
- def Config::expand(val)
- val.gsub!(/\\$\\(([^()]+)\\)/) do |var|
- key = $1
- if CONFIG.key? key
- "\#{Config::expand(CONFIG[\\\"\#{key}\\\"])}"
- else
- var
- end
- end
- val
- end
- CONFIG.each_value do |val|
- Config::expand(val)
- end
+ MAKEFILE_CONFIG = CONFIG.dup
end
EOS
config.close