summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-12 05:43:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-12 05:43:06 +0000
commitd95fee25258f4ac0c4a44bc970ed5a3ddaf71f4a (patch)
tree2fcf09ae6a729ec169e066363a2d0d2baeed62dc
parentc3fa77044c14e85be53b11f385c0ce3f5e3eac08 (diff)
downloadruby-d95fee25258f4ac0c4a44bc970ed5a3ddaf71f4a.tar.gz
ruby-d95fee25258f4ac0c4a44bc970ed5a3ddaf71f4a.tar.xz
ruby-d95fee25258f4ac0c4a44bc970ed5a3ddaf71f4a.zip
* lib/mkmf.rb (find_header): use header names in the message.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--lib/mkmf.rb3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f3670cdc4..319302b0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jun 12 14:44:38 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * lib/mkmf.rb (find_header): use header names in the message.
+
Sun Jun 10 18:37:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/probeprofiler/probeprofiler.c: clean warnings.
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 54299fe69..fa1339625 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -717,8 +717,9 @@ end
# of included directories that are sent to the compiler (via the -I switch).
#
def find_header(header, *paths)
+ message = checking_message(header, paths)
header = cpp_include(header)
- checking_for header do
+ checking_for message do
if try_cpp(header)
true
else