]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
configure: Drop unused DOVECOT_IPV6
authorAki Tuomi <aki.tuomi@open-xchange.com>
Thu, 23 May 2024 09:05:29 +0000 (12:05 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Mon, 3 Jun 2024 20:26:45 +0000 (20:26 +0000)
configure.ac
m4/ipv6.m4 [deleted file]

index 820fc73c2118247ab717474a12cd25cb599b9fa6..7906b89a73a22ee79be024c8bdab9c882f89810b 100644 (file)
@@ -522,8 +522,6 @@ AC_SUBST(dict_drivers)
 
 AC_C_BIGENDIAN
 
-DOVECOT_IPV6
-
 dnl **
 dnl ** storage classes
 dnl **
diff --git a/m4/ipv6.m4 b/m4/ipv6.m4
deleted file mode 100644 (file)
index daf9c2e..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-dnl **
-dnl ** IPv6 support
-dnl **
-
-AC_DEFUN([DOVECOT_IPV6], [
-  have_ipv6=no
-  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; (void)i;]])],
-  [i_cv_type_in6_addr=yes],
-  [i_cv_type_in6_addr=no])])
-  AS_IF([test $i_cv_type_in6_addr = yes], [
-          AC_DEFINE(HAVE_IPV6,, [Build with IPv6 support])
-          have_ipv6=yes
-  ], [
-          AC_MSG_ERROR(cannot build without IPv6 support.)
-  ])
-  AC_MSG_RESULT($i_cv_type_in6_addr)
-])