summaryrefslogtreecommitdiff
path: root/ext/socket/extconf.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-13 12:51:38 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-13 12:51:38 +0000
commit2ad4c65b545e095d36c66074422ce2e41b9d0278 (patch)
tree57a8746d16e81061d6105f1835e7cd29aa432b2e /ext/socket/extconf.rb
parentdd4687313cf62f43fca2d9a8ceeb56ec5fa6841c (diff)
* ext/socket/extconf.rb: Check socketpair again.
It is required on Unix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/extconf.rb')
-rw-r--r--ext/socket/extconf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index a6a86b9..88e7366 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -426,6 +426,7 @@ EOF
have_func("hsterror", headers)
have_func('getipnodebyname("", 0, 0, (int *)0)', headers) # RFC 2553
have_func('gethostbyname2("", 0)', headers) # RFC 2133
+ have_func("socketpair(0, 0, 0, 0)", headers)
unless have_func("gethostname((char *)0, 0)", headers)
have_func("uname((struct utsname *)NULL)", headers)
end