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

* ext/socket/extconf.rb (have_struct_member): don't print checked

result.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2002-03-08 23:47:36 +00:00
parent 301fec6ac9
commit 81930da895
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
Sat Mar 9 08:45:58 2002 Tanaka Akira <akr@m17n.org>
* ext/socket/extconf.rb (have_struct_member): don't print checked
result.
Fri Mar 8 12:19:15 2002 Tanaka Akira <akr@m17n.org>
* lib/resolv.rb: use its own thread group for background threads.

View file

@ -3,8 +3,8 @@ require 'mkmf'
$CPPFLAGS += " -Dss_family=__ss_family -Dss_len=__ss_len"
def have_struct_member(type, member, header=nil)
printf "checking for %s.%s... ", type, member
STDOUT.flush
#printf "checking for %s.%s... ", type, member
#STDOUT.flush
libs = $libs
src =
@ -30,11 +30,11 @@ int s = (char *)&((#{type}*)0)->#{member} - (char *)0;
SRC
r = try_link(src, libs) # xxx try_compile is not available.
unless r
print "no\n"
#print "no\n"
return false
end
$defs.push(format("-DHAVE_ST_%s", member.upcase))
print "yes\n"
#print "yes\n"
return true
end