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:
parent
3cf184ce6f
commit
8cc8c9f9a1
2 changed files with 6 additions and 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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue