summaryrefslogtreecommitdiff
path: root/mkconfig.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-01-17 04:45:22 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-01-17 04:45:22 +0000
commit5f3d4d6078e928d6955d62a2e3d5e7c2c313f725 (patch)
tree90472855c82630ddaf47b632e1d635f6a240353f /mkconfig.rb
parent7a5c477ba4a97f71ab02cd8500d00f4c761f598c (diff)
* mkconfig.rb: remove DEFS definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mkconfig.rb')
-rw-r--r--mkconfig.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/mkconfig.rb b/mkconfig.rb
index 175a4c3b15..271f84c9cc 100644
--- a/mkconfig.rb
+++ b/mkconfig.rb
@@ -48,19 +48,6 @@ File.foreach "config.status" do |$_|
v_others << v
end
has_version = true if name == "MAJOR"
- if /DEFS/
- val.split(/\s*-D/).each do |i|
- if i =~ /(.*)=(\\")?([^\\]*)(\\")?/
- key, val = $1, $3
- if val == '1'
- val = "TRUE"
- else
- val.sub! /^\s*(.*)\s*$/, '"\1"'
- end
- print " CONFIG[\"#{key}\"] = #{val}\n"
- end
- end
- end
elsif /^ac_given_srcdir=(.*)/
v_fast << " CONFIG[\"srcdir\"] = \"" + File.expand_path($1) + "\"\n"
has_srcdir = true