mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 07:20:50 +00:00
Clean up the ipv6 check a little.
This commit is contained in:
parent
02a5a2008d
commit
f8d8395cf0
1 changed files with 6 additions and 4 deletions
|
@ -5,8 +5,10 @@ dnl ==================================================================
|
|||
LIBCURL_CHECK_CONFIG([], [], [CURL=yes], [])
|
||||
|
||||
AC_ARG_WITH(ipv6,
|
||||
[ --with-ipv6=DIR enable IPv6 support. Optional argument specifies
|
||||
location of inet6 libraries.],
|
||||
AS_HELP_STRING([--with-ipv6=DIR],
|
||||
[Eenable IPv6 support.]
|
||||
[Optional argument specifies location of inet6 libraries.]),
|
||||
[
|
||||
if test "x$withval" = xno ; then
|
||||
NETTYPE_IPV6=no
|
||||
else
|
||||
|
@ -16,8 +18,8 @@ AC_ARG_WITH(ipv6,
|
|||
LIBS="$LIBS -L${withval}"
|
||||
fi
|
||||
fi
|
||||
,
|
||||
NETTYPE_IPV6=no
|
||||
],
|
||||
[NETTYPE_IPV6=no]
|
||||
)
|
||||
AM_CONDITIONAL(NETTYPE_IPV6, test "x$NETTYPE_IPV6" = "xyes")
|
||||
|
||||
|
|
Loading…
Reference in a new issue