diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-01-17 04:45:22 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-01-17 04:45:22 +0000 |
commit | 71e591aed68f2ff93d0d6be9610a641f0cd51415 (patch) | |
tree | 4d573a7988d1bd5e40588f3187d74f9471eb7dec /mkconfig.rb | |
parent | 70e3e77f3b22c0c2fa71c473a638c35f7018f9cb (diff) | |
download | ruby-71e591aed68f2ff93d0d6be9610a641f0cd51415.tar.gz |
* mkconfig.rb: remove DEFS definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mkconfig.rb')
-rw-r--r-- | mkconfig.rb | 13 |
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 |