aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-01-16 17:22:49 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-01-16 17:22:49 +0000
commitb4afb4312f25123fc6a0d97579e4a54873a10190 (patch)
tree7411331e6152a024ab6b50422dc35b33dc919394
parenthighlight for incremental search (diff)
downloadw3m-b4afb4312f25123fc6a0d97579e4a54873a10190.tar.gz
w3m-b4afb4312f25123fc6a0d97579e4a54873a10190.zip
[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>
-rw-r--r--ChangeLog8
-rwxr-xr-xconfigure10
2 files changed, 16 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fd0384b..5a621e5 100644
--- 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
@@ -2058,4 +2064,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.232 2002/01/16 16:52:05 ukai Exp $
+$Id: ChangeLog,v 1.233 2002/01/16 17:22:49 ukai Exp $
diff --git a/configure b/configure
index fd9959b..0a608b8 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.51 2002/01/16 16:49:54 ukai Exp $
+# $Id: configure,v 1.52 2002/01/16 17:22:49 ukai Exp $
# Configuration.
#
@@ -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)