1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2007-06-12 05:43:06 +00:00
parent 3cf184ce6f
commit 8cc8c9f9a1
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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