aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mkmf.rb
diff options
context:
space:
mode:
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