From 2ad4c65b545e095d36c66074422ce2e41b9d0278 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 13 May 2013 12:51:38 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ ext/socket/extconf.rb | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index c371e179c6..9e68d3eabc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon May 13 21:49:17 2013 Tanaka Akira + + * ext/socket/extconf.rb: Check socketpair again. + It is required on Unix. + Mon May 13 21:20:32 2013 NAKAMURA Usaku * win32/win32.c (getipaddrs): use alternamtive interface name if diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index a6a86b967a..88e7366e37 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