diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-10-13 11:19:36 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-10-13 11:21:03 +0200 |
commit | aec7c5a87c8482b6ddffa352d7d220698652262e (patch) | |
tree | bc2c74812f2d1980fba61ecb4de64d174a48e2fc /docs/INSTALL.cmake | |
parent | b55502cdae4e9eb773762b87694f347a8d11ed8b (diff) | |
download | curl-aec7c5a87c8482b6ddffa352d7d220698652262e.tar.gz |
cmake: enable IPv6 by default if available
ENABLE_IPV6 depends on HAVE_GETADDRINFO or you will get a
Curl_getaddrinfo_ex error. Enable IPv6 by default, disabling it if
struct sockaddr_in6 is not found in netinet/in.h.
Note that HAVE_GETADDRINFO_THREADSAFE is still not set as it needs more
platform checks even though POSIX requires a thread-safe getaddrinfo.
Verified on Arch Linux x86_64 with glibc 2.20-2 and Linux 3.16-rc7.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'docs/INSTALL.cmake')
-rw-r--r-- | docs/INSTALL.cmake | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/INSTALL.cmake b/docs/INSTALL.cmake index dd8c93674..b2924e642 100644 --- a/docs/INSTALL.cmake +++ b/docs/INSTALL.cmake @@ -31,7 +31,6 @@ Current flaws in the curl CMake build - Doesn't allow build curl and libcurl debug enabled - Doesn't allow a custom CA bundle path - Doesn't allow you to disable specific protocols from the build - - Doesn't properly enable IPv6 support by default - Doesn't find or use krb4 or GSS - Rebuilds test files too eagerly, but still can't run the tests |