diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/mkmf.rb | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -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 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 |