* ext/socket/extconf.rb: Remove obsolete options: ---with-ipv6-lib and

--with-ipv6-libdir.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2013-04-25 08:57:15 +00:00
parent 79b807118f
commit 0ff2e1d531
2 changed files with 5 additions and 7 deletions

View File

@ -1,3 +1,8 @@
Thu Apr 25 17:56:39 2013 Tanaka Akira <akr@fsij.org>
* ext/socket/extconf.rb: Remove obsolete options: ---with-ipv6-lib and
--with-ipv6-libdir.
Thu Apr 25 17:43:49 2013 Tanaka Akira <akr@fsij.org>
* ext/socket/extconf.rb: Implement

View File

@ -409,13 +409,6 @@ EOF
have_library(ipv6lib = "v6") and "v6d"
elsif have_macro("_ZETA_MINAMI_INET6", "sys/param.h")
have_library(ipv6lib = "inet6") and "zeta"
elsif ipv6lib = with_config("ipv6-lib")
warn <<EOS
--with-ipv6-lib and --with-ipv6-libdir option will be obsolete, use
--with-inet6lib and --with-inet6-{include,lib} options instead.
EOS
find_library(ipv6lib, nil, with_config("ipv6-libdir", ldirs)) and
ipv6lib
elsif have_library("inet6")
"inet6"
end