From 81930da895afee14918490b072593860cb12d09b Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 8 Mar 2002 23:47:36 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ ext/socket/extconf.rb | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 22ba21d110..e2d120c219 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Mar 9 08:45:58 2002 Tanaka Akira + + * ext/socket/extconf.rb (have_struct_member): don't print checked + result. + Fri Mar 8 12:19:15 2002 Tanaka Akira * lib/resolv.rb: use its own thread group for background threads. diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index a306b3f9c5..46557682a7 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -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