summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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