From 80b8744eb42c7493794f3e3fe0bf1ce14f53e6dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eivind=20N=C3=A6ss?= Date: Fri, 6 Aug 2021 09:14:02 -0700 Subject: Changing INET6 to PPP_WITH_IPV6CP and adding configure option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Based on feedback on PR #296, the option ipv6-support seems inconsistent with the existing ipxcp option. Futhermore, the #define has been renamed to avoid bleeding into third party projects. pppdconf.h is already distributed and will define or undefine the PPP_WITH_IPV6CP define. Signed-off-by: Eivind Næss --- configure.ac | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index dd22dc6..85688a8 100644 --- a/configure.ac +++ b/configure.ac @@ -143,11 +143,11 @@ AS_IF([test "x${enable_mslanman}" = "xyes" && test "x${enable_microsoft_extensio # # Disable IPv6 support -AC_ARG_ENABLE([ipv6-support], - AS_HELP_STRING([--disable-ipv6-support], [Disable IPv6 support])) -AM_CONDITIONAL(WITH_INET6, test "x${enable_ipv6_support}" != "xno") -AM_COND_IF([WITH_INET6], - AC_DEFINE(INET6, 1, ["Have IPv6 support"])) +AC_ARG_ENABLE([ipv6cp], + AS_HELP_STRING([--disable-ipv6cp], [Disable IPv6 Control Protocol])) +AM_CONDITIONAL(PPP_WITH_IPV6CP, test "x${enable_ipv6cp}" != "xno") +AM_COND_IF([PPP_WITH_IPV6CP], + AC_DEFINE(PPP_WITH_IPV6CP, 1, ["Have IPv6 Control Protocol"])) # # Disable Multilink support @@ -410,6 +410,7 @@ Features enabled Multilink............: ${enable_multilink:-no} Plugins..............: ${enable_plugins:-yes} CBCP.................: ${enable_cbcp:-no} + IPV6CP...............: ${enable_ipv6cp:-yes} EAP-TLS..............: ${enable_eaptls:-yes} PEAP.................: ${enable_peap:-yes} " -- cgit v1.2.1