diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-08 23:47:36 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-08 23:47:36 +0000 |
commit | 81930da895afee14918490b072593860cb12d09b (patch) | |
tree | 18265ab935c68076ecbf24d12289fcddfdff5d4d /ext/socket | |
parent | 301fec6ac93f2f6f5611e1b327b9e1364ec551eb (diff) | |
download | ruby-81930da895afee14918490b072593860cb12d09b.tar.gz |
* 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
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/extconf.rb | 8 |
1 files changed, 4 insertions, 4 deletions
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 |