summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2018-03-09 22:39:41 +0000
committerAmar Tumballi <amarts@redhat.com>2018-03-24 05:14:05 +0000
commitd121b97f9ad1fdca36f1e79a934e09a9d3066866 (patch)
treed0cadd6627797a4516f242ac2c18b6e2dec40f6d /configure.ac
parent0a08afbb9a2278c7bc71df11c709c14adab68d57 (diff)
build: Fix configure --without-ipv6-default behaviour
The current behaviour disables ipv6-default when no switch is given at all but otherwise checks if libtirpc was requested, regardless of whether you have given --with-ipv6-default or --without-ipv6-default. I believe the intention was to enable when libtirpc is requested by default but otherwise respect the switch given. This is important because ipv6-default breaks Gluster for systems that have IPv6 disabled. BUG: 1553926 Change-Id: I76b91ae2699574b2e5b777453732bb5cbd79bbca Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 827ec051848..d421791826d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -315,7 +315,7 @@ AC_ARG_WITH([libtirpc],
AC_ARG_WITH([ipv6-default],
AC_HELP_STRING([--with-ipv6-default], [Set IPv6 as default.]),
- [with_ipv6_default=$with_libtirpc], [with_ipv6_default=no])
+ [], [with_ipv6_default=$with_libtirpc])
if test "x$ac_cv_file__etc_redhat_release" = "xyes"; then
if rpm -qa centos-release | grep centos; then