diff mbox

[v2] Make IPv6 enabled by default

Message ID 1401214719-8882-1-git-send-email-steved@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Steve Dickson May 27, 2014, 6:18 p.m. UTC
From: Mike Frysinger <vapier@gentoo.org>

Added a --disable-ipv6 configuration flag to allow the
disabling of the IPv6 support.

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 configure.ac | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Chuck Lever May 27, 2014, 6:37 p.m. UTC | #1
> On May 27, 2014, at 2:18 PM, Steve Dickson <steved@redhat.com> wrote:
> 
> From: Mike Frysinger <vapier@gentoo.org>
> 
> Added a --disable-ipv6 configuration flag to allow the
> disabling of the IPv6 support.

If I may ask, who needs to disable it?


> 
> Signed-off-by: Steve Dickson <steved@redhat.com>
> ---
> configure.ac | 7 +++++++
> 1 file changed, 7 insertions(+)
> 
> diff --git a/configure.ac b/configure.ac
> index 7ff80a4..a99c5d6 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -15,6 +15,13 @@ if test x$gss = xtrue; then
>    PKG_CHECK_MODULES(GSSGLUE, libgssglue, [],
>    AC_MSG_ERROR([Unable to locate information required to use libgssglue.]))
> fi
> +AC_ARG_ENABLE(ipv6,
> +    [AC_HELP_STRING([--disable-ipv6], [Disable IPv6 support @<:@default=no@:>@])],
> +    [],[enable_ipv6=yes])
> +AM_CONDITIONAL(INET6, test "x$disable_ipv6" != xno)
> +if test "x$enable_ipv6" != xno; then
> +    AC_DEFINE(INET6, 1, [Define to 1 if IPv6 is available])
> +fi
> 
> AC_PROG_CC
> AM_CONFIG_HEADER(config.h)
> -- 
> 1.7.11.7
> 
> 
> ------------------------------------------------------------------------------
> The best possible search technologies are now affordable for all companies.
> Download your FREE open source Enterprise Search Engine today!
> Our experts will assist you in its installation for $59/mo, no commitment.
> Test it for FREE on our Cloud platform anytime!
> http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
> _______________________________________________
> Libtirpc-devel mailing list
> Libtirpc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libtirpc-devel
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Steve Dickson May 28, 2014, 4:20 p.m. UTC | #2
On 05/27/2014 02:37 PM, Chuck Lever wrote:
> 
> 
>> On May 27, 2014, at 2:18 PM, Steve Dickson <steved@redhat.com> wrote:
>>
>> From: Mike Frysinger <vapier@gentoo.org>
>>
>> Added a --disable-ipv6 configuration flag to allow the
>> disabling of the IPv6 support.
> 
> If I may ask, who needs to disable it?
Nobody... I just sent out the wrong patch.... 

Sorry for the noise... 

steved.

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index 7ff80a4..a99c5d6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,6 +15,13 @@  if test x$gss = xtrue; then
 	PKG_CHECK_MODULES(GSSGLUE, libgssglue, [],
 	AC_MSG_ERROR([Unable to locate information required to use libgssglue.]))
 fi
+AC_ARG_ENABLE(ipv6,
+	[AC_HELP_STRING([--disable-ipv6], [Disable IPv6 support @<:@default=no@:>@])],
+	[],[enable_ipv6=yes])
+AM_CONDITIONAL(INET6, test "x$disable_ipv6" != xno)
+if test "x$enable_ipv6" != xno; then
+	AC_DEFINE(INET6, 1, [Define to 1 if IPv6 is available])
+fi
 
 AC_PROG_CC
 AM_CONFIG_HEADER(config.h)