From 0e9dcecafe5ecb6e8ccb85d00c8b036fcffd2f8e Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Sun, 29 Jun 2025 23:51:16 +0000 Subject: [PATCH] Feature: Added --disable-ipv6 as required for 32 bit windows --- configure.ac | 15 +++++++++++++++ src/common | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 553bb0b0..5b7ca468 100644 --- a/configure.ac +++ b/configure.ac @@ -346,6 +346,20 @@ AS_IF([test "x$enable_devel_logging" == "xyes"], [ AC_DEFINE([DEVEL_LOGGING], 1, [Define to enable development logging]) ], [enable_devel_logging="no"]) +AC_ARG_ENABLE([ipv6], + AS_HELP_STRING([--enable-ipv6], + [enable ipv6 support]) +) + +AS_IF([test "x$enable_ipv6" != "xno"], [ + [enable_ipv6="yes"] + AC_DEFINE([SUPPORT_IPV6], 1, [Define to enable IPv6 support]) +], [ + [enable_ipv6="no"] + AC_DEFINE([DISABLE_IPV6], 1, [Define to disable IPv6 support]) +]) + + dnl Make substitutions AC_SUBST(XIPH_LIBS) AC_SUBST(XIPH_CPPFLAGS) @@ -389,5 +403,6 @@ Format/Codec support: Features: YP support : ${enable_yp} Client tests : ${enable_client_tests} + IPv6 : ${enable_ipv6} Development logging: ${enable_devel_logging}"]) diff --git a/src/common b/src/common index cea99fd9..edfe2311 160000 --- a/src/common +++ b/src/common @@ -1 +1 @@ -Subproject commit cea99fd9889d48675042f86907d6b25ff29fd945 +Subproject commit edfe2311c7b40ae75e2ea091320fb881b7f55433