From 0f0865c910096c95594ac09929708e84934e46df Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Fri, 6 Feb 2026 12:59:58 +0100 Subject: Make IPv6 unconditional (#2219) This commits removes the detection of IPv6 availability. The IPv6 code in the plugins is used unconditionally now. --- configure.ac | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7361434a..ae7eb30b 100644 --- a/configure.ac +++ b/configure.ac @@ -475,30 +475,6 @@ AC_ARG_WITH([ipv6], [AS_HELP_STRING([--with-ipv6], [support IPv6 @<:@default=check@:>@])], [], [with_ipv6=check]) -dnl Check for AF_INET6 support - unistd.h required for Darwin -if test "$with_ipv6" != "no"; then - AC_CACHE_CHECK([for IPv6 support], np_cv_sys_ipv6, [ - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifdef HAVE_UNISTD_H - #include - #endif - #include - #include ]], [[struct sockaddr_in6 sin6; - void *p; - - sin6.sin6_family = AF_INET6; - sin6.sin6_port = 587; - p = &sin6.sin6_addr;]])],[np_cv_sys_ipv6=yes],[np_cv_sys_ipv6=no]) - ]) - if test "$np_cv_sys_ipv6" = "no" -a "$with_ipv6" != "check"; then - AC_MSG_FAILURE([--with-ipv6 was given, but test for IPv6 support failed]) - fi - if test "$np_cv_sys_ipv6" = "yes"; then - AC_DEFINE(USE_IPV6,1,[Enable IPv6 support]) - fi - with_ipv6="$np_cv_sys_ipv6" -fi - - dnl Checks for Kerberos. Must come before openssl checks for Redhat EL 3 AC_CHECK_HEADERS(krb5.h,FOUNDINCLUDE=yes,FOUNDINCLUDE=no) if test "$FOUNDINCLUDE" = "no"; then -- cgit v1.2.3-74-g34f1