* 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
@ -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>
|
Sun Jun 10 18:37:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* ext/probeprofiler/probeprofiler.c: clean warnings.
|
* ext/probeprofiler/probeprofiler.c: clean warnings.
|
||||||
|
@ -717,8 +717,9 @@ end
|
|||||||
# of included directories that are sent to the compiler (via the -I switch).
|
# of included directories that are sent to the compiler (via the -I switch).
|
||||||
#
|
#
|
||||||
def find_header(header, *paths)
|
def find_header(header, *paths)
|
||||||
|
message = checking_message(header, paths)
|
||||||
header = cpp_include(header)
|
header = cpp_include(header)
|
||||||
checking_for header do
|
checking_for message do
|
||||||
if try_cpp(header)
|
if try_cpp(header)
|
||||||
true
|
true
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user