summaryrefslogtreecommitdiffstats
path: root/ext/socket/extconf.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-30 04:24:17 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-30 04:24:17 +0000
commitec620c402573af9960920809c6b210fcbc9e9fba (patch)
treef08529a845b5a16b93635eeb06b58553252692c9 /ext/socket/extconf.rb
parent27351b924a7fc0aa47da3e19f01468904c32dbe2 (diff)
downloadruby-ec620c402573af9960920809c6b210fcbc9e9fba.tar.gz
ruby-ec620c402573af9960920809c6b210fcbc9e9fba.tar.xz
ruby-ec620c402573af9960920809c6b210fcbc9e9fba.zip
2000-05-30
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/extconf.rb')
-rw-r--r--ext/socket/extconf.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index 9ac24cd76..b0b44180c 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -277,17 +277,17 @@ EOS
exit
end
-case with_config("ipv6-lookup-order", "INET")
+case with_config("lookup-order-hack", "UNSPEC")
when "INET"
- $CFLAGS="-DDEFAULT_LOOKUP_ORDER_INET "+$CFLAGS
+ $CFLAGS="-DLOOKUP_ORDER_HACK_INET "+$CFLAGS
when "INET6"
- $CFLAGS="-DDEFAULT_LOOKUP_ORDER_INET6 "+$CFLAGS
+ $CFLAGS="-DLOOKUP_ORDER_HACK_INET6 "+$CFLAGS
when "UNSPEC"
- $CFLAGS="-DDEFAULT_LOOKUP_ORDER_UNSPEC "+$CFLAGS
+ # nothing special
else
print <<EOS
-Fatal: invalid --ipv6-lookup-order (expected INET, INET6 or UNSPEC)
+Fatal: invalid value for --with-lookup-order-hack (expected INET, INET6 or UNSPEC)
EOS
exit
end