summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-11 06:26:49 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-04-11 06:26:49 +0000
commit04021e04d4bc9d7069f5a23286f6c8bd58104e2c (patch)
treeef063473ae4b7efd93493e4db43b33980720ff6d
parentfc35387e6fa6b0ab09509235eab8ac7c3f523a55 (diff)
downloadruby-04021e04d4bc9d7069f5a23286f6c8bd58104e2c.tar.gz
ruby-04021e04d4bc9d7069f5a23286f6c8bd58104e2c.tar.xz
ruby-04021e04d4bc9d7069f5a23286f6c8bd58104e2c.zip
* lib/mkmf.rb (configuration): shouldn't output hdrdir twice.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--lib/mkmf.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ce97f6c4e..94f03c5cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Apr 11 15:24:20 2005 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * lib/mkmf.rb (configuration): shouldn't output hdrdir twice.
+
Sat Apr 9 18:20:31 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/lib/tk/image.rb: support to create TkImage object without
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index a9561cc7a..07017597c 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -862,7 +862,7 @@ VPATH = #{vpath.join(CONFIG['PATH_SEPARATOR'])}
end
CONFIG.each do |key, var|
next if /^abs_/ =~ key
- next unless /^(?:src|top|(.*))dir$/ =~ key and $1
+ next unless /^(?:src|top|hdr|(.*))dir$/ =~ key and $1
mk << "#{key} = #{with_destdir(var.sub(drive, ''))}\n"
end
mk << %{