mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 15:04:10 +01:00
configure: Fix HAVE_IPV6 enableval / conditional.
This commit is contained in:
parent
be563a9f18
commit
f098848386
1 changed files with 6 additions and 5 deletions
11
configure.ac
11
configure.ac
|
@ -777,16 +777,17 @@ dnl
|
|||
|
||||
AC_ARG_ENABLE(ipv6, AC_HELP_STRING([--disable-ipv6], [Disable IPv6 support]),
|
||||
[
|
||||
ipv6=$enableval
|
||||
ipv6="no"
|
||||
], [
|
||||
ipv6=yes
|
||||
ipv6="yes"
|
||||
])
|
||||
|
||||
dnl TODO: IPV6 CHECKS
|
||||
AM_CONDITIONAL([HAVE_IPV6], [[[[ "$ipv6" = "yes" ]]]])
|
||||
|
||||
if test x$ipv6 = "Xyes"; then
|
||||
AM_COND_IF(HAVE_IPV6,
|
||||
[
|
||||
AC_DEFINE([HAVE_IPV6], [1], [IPv6 is supported])
|
||||
fi
|
||||
],[])
|
||||
|
||||
|
||||
dnl ***************************************************************************
|
||||
|
|
Loading…
Reference in a new issue