* ext/socket/extconf.rb: Don't use WIDE getaddrinfo by default.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2013-04-25 09:17:54 +00:00
Родитель 0ff2e1d531
Коммит a0fa43b094
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -1,3 +1,7 @@
Thu Apr 25 18:15:46 2013 Tanaka Akira <akr@fsij.org>
* ext/socket/extconf.rb: Don't use WIDE getaddrinfo by default.
Thu Apr 25 17:56:39 2013 Tanaka Akira <akr@fsij.org>
* ext/socket/extconf.rb: Remove obsolete options: ---with-ipv6-lib and

Просмотреть файл

@ -484,7 +484,7 @@ EOS
when nil
if have_func("getnameinfo", headers) and have_func("getaddrinfo", headers)
getaddr_info_ok = :os
if !CROSS_COMPILING && checking_for("wide getaddrinfo") {try_run(cpp_include(headers) + GETADDRINFO_GETNAMEINFO_TEST)}
if !CROSS_COMPILING && !checking_for("wide getaddrinfo") {try_run(cpp_include(headers) + GETADDRINFO_GETNAMEINFO_TEST)}
getaddr_info_ok = :wide
end
else
@ -493,7 +493,7 @@ EOS
when false
if have_func("getnameinfo", headers) and have_func("getaddrinfo", headers)
getaddr_info_ok = :os
if !CROSS_COMPILING && checking_for("wide getaddrinfo") {try_run(cpp_include(headers) + GETADDRINFO_GETNAMEINFO_TEST)}
if !CROSS_COMPILING && !checking_for("wide getaddrinfo") {try_run(cpp_include(headers) + GETADDRINFO_GETNAMEINFO_TEST)}
getaddr_info_ok = nil
end
else