dovecot-1.1: Fixed --enable-ipv6

dovecot at dovecot.org dovecot at dovecot.org
Sun Feb 17 12:48:05 EET 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/91cf91f0a0a8
changeset: 7264:91cf91f0a0a8
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Feb 17 12:48:44 2008 +0200
description:
Fixed --enable-ipv6

diffstat:

1 file changed, 4 insertions(+), 2 deletions(-)
configure.in |    6 ++++--

diffs (23 lines):

diff -r b34b2d4aac03 -r 91cf91f0a0a8 configure.in
--- a/configure.in	Sun Feb 17 12:44:16 2008 +0200
+++ b/configure.in	Sun Feb 17 12:48:44 2008 +0200
@@ -23,8 +23,8 @@ AC_CHECK_HEADERS(strings.h stdint.h unis
 
 AC_ARG_ENABLE(ipv6,
 [  --enable-ipv6           Enable IPv6 support (auto)],
-	if test x$withval = xno || test x$withval = xauto; then
-		want_ipv6=$withval
+	if test x$enableval = xno || test x$enableval = xauto; then
+		want_ipv6=$enableval
 	else
 		want_ipv6=yes
 	fi,
@@ -2033,6 +2033,8 @@ if test "$want_ipv6" != no; then
 	if test $i_cv_type_in6_addr = yes; then
 		AC_DEFINE(HAVE_IPV6,, Build with IPv6 support)
 		have_ipv6=yes
+	elif test $want_ipv6 = yes; then
+		AC_ERROR([IPv6 support not found])
 	fi
 	AC_MSG_RESULT($i_cv_type_in6_addr)
 fi


More information about the dovecot-cvs mailing list