aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mkmf.rb
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
commit8cc8c9f9a19a18463cf10c05368dc5e42bd2e45e (patch)
tree2fcf09ae6a729ec169e066363a2d0d2baeed62dc /lib/mkmf.rb
parent3cf184ce6ffec4b2f0815d1d5a7826e86033f7be (diff)
downloadruby-8cc8c9f9a19a18463cf10c05368dc5e42bd2e45e.tar.gz
* lib/mkmf.rb (find_header): use header names in the message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r--lib/mkmf.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 54299fe696..fa1339625c 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