зеркало из https://github.com/github/ruby.git
* 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:
Родитель
0ff2e1d531
Коммит
a0fa43b094
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче