commit 9edb9076fce9d72e9860fe8dd2f7cb203ec73eca
parent 6779799259492d35729286274898435412d288c7
Author: ukai <ukai>
Date: Wed, 16 Jan 2002 17:22:49 +0000
[w3m-dev 02861] IPv6 configuration check
* configure: force "#define INET6" if socket(AF_INET6, SOCK_STREAM, 0)
failed but use_ipv6=y in config.param
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,11 @@
2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp>
+ * [w3m-dev 02861] IPv6 configuration check
+ * configure: force "#define INET6" if socket(AF_INET6, SOCK_STREAM, 0)
+ failed but use_ipv6=y in config.param
+
+2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp>
+
* [w3m-dev 02859]
* config.h.dist (DEF_MIGEMO_COMMAND): added
* configure (DEF_MIGEMO_COMMAND): added
diff --git a/configure b/configure
@@ -1808,6 +1808,14 @@ if $cc $cflags -o _zmachdep _zmachdep.c $extlib > /dev/null 2>&1
then
if ./_zmachdep; then
def_ipv6="#define INET6"
+ else
+ # even if build machine doesnt have IPv6 support, it may works
+ # Required for package builds
+ if [ "$use_ipv6" = "y" ]; then
+ echo "Your build machine doesn't have IPv6 support, but it is enabled by config.param"
+ def_ipv6="#define INET6"
+ echo "use_ipv6=y" >> config.param
+ fi
fi
case $sysname in
*BSD|*bsd)