dovecot-1.2: configure: Removed --disable-ipv6 parameter. There'...

dovecot at dovecot.org dovecot at dovecot.org
Sun Jun 28 01:01:24 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/3270d0867546
changeset: 9163:3270d0867546
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Jun 27 17:51:24 2009 -0400
description:
configure: Removed --disable-ipv6 parameter. There's really no point having it.
Originally it was added back when some OSes had broken IPv6 support, but
those OSes should be long gone by now. Also we still support automatically
building without IPv6 support if it's not detected.

diffstat:

1 file changed, 16 insertions(+), 30 deletions(-)
configure.in |   46 ++++++++++++++++------------------------------

diffs (70 lines):

diff -r 8a2c85c418a1 -r 3270d0867546 configure.in
--- a/configure.in	Sat Jun 27 17:49:56 2009 -0400
+++ b/configure.in	Sat Jun 27 17:51:24 2009 -0400
@@ -24,15 +24,6 @@ CPPFLAGS=-I$2/include LDFLAGS=-L$2/lib .
     AC_ERROR([--with-$1: Unknown value: $2])
   fi
 ])
-
-AC_ARG_ENABLE(ipv6,
-[  --enable-ipv6           Enable IPv6 support (auto)],
-	if test x$enableval = xno || test x$enableval = xauto; then
-		want_ipv6=$enableval
-	else
-		want_ipv6=yes
-	fi,
-	want_ipv6=auto)
 
 AC_ARG_ENABLE(devel-checks,
 [  --enable-devel-checks   Enable some extra expensive checks for developers],
@@ -2185,26 +2176,22 @@ dnl **
 dnl **
 
 have_ipv6=no
-if test "$want_ipv6" != no; then
-	AC_MSG_CHECKING([for IPv6])
-	AC_CACHE_VAL(i_cv_type_in6_addr,
-	[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
-	#include <sys/types.h>
-	#include <sys/socket.h>
-	#include <netinet/in.h>
-	#include <netdb.h>
-	#include <arpa/inet.h>]],
-	[[struct in6_addr i;]])],
-	[i_cv_type_in6_addr=yes],
-	[i_cv_type_in6_addr=no])])
-	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
+AC_MSG_CHECKING([for IPv6])
+AC_CACHE_VAL(i_cv_type_in6_addr,
+[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <netdb.h>
+#include <arpa/inet.h>]],
+[[struct in6_addr i;]])],
+[i_cv_type_in6_addr=yes],
+[i_cv_type_in6_addr=no])])
+if test $i_cv_type_in6_addr = yes; then
+	AC_DEFINE(HAVE_IPV6,, Build with IPv6 support)
+	have_ipv6=yes
+fi
+AC_MSG_RESULT($i_cv_type_in6_addr)
 
 dnl **
 dnl ** storage classes
@@ -2433,7 +2420,6 @@ echo "I/O loop method ..................
 echo "I/O loop method ..................... : $ioloop"
 echo "File change notification method ..... : $have_notify"
 echo "Building with SSL support ........... : $have_ssl"
-echo "Building with IPv6 support .......... : $have_ipv6"
 echo "Building with GSSAPI support ........ : $have_gssapi"
 echo "Building with user database modules . :$userdb"
 echo "Building with password lookup modules :$passdb"


More information about the dovecot-cvs mailing list