summaryrefslogtreecommitdiff
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
commit71e591aed68f2ff93d0d6be9610a641f0cd51415 (patch)
tree4d573a7988d1bd5e40588f3187d74f9471eb7dec
parent70e3e77f3b22c0c2fa71c473a638c35f7018f9cb (diff)
* mkconfig.rb: remove DEFS definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--mkconfig.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/mkconfig.rb b/mkconfig.rb
index 78ddaea3fd..63a7351799 100644
--- a/mkconfig.rb
+++ b/mkconfig.rb
@@ -48,19 +48,6 @@ File.foreach "config.status" do |line|
v_others << v
end
has_version = true if name == "MAJOR"
- if /DEFS/ =~ line
- 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=(.*)/ =~ line
v_fast << " CONFIG[\"srcdir\"] = \"" + File.expand_path($1) + "\"\n"
has_srcdir = true