]> git.ipfire.org Git - thirdparty/curl.git/commit
configure: enable IPv6 support without `getaddrinfo`
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Sat, 30 Nov 2019 14:49:32 +0000 (15:49 +0100)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Tue, 3 Dec 2019 20:37:41 +0000 (21:37 +0100)
commit226bf217028017e408eadef66e60a1ea5762c961
tree69b8c686419ebab6f3f39c2df5544b8861612b32
parent67a08dca27a6a07b36c7f97252e284ca957ff1a5
configure: enable IPv6 support without `getaddrinfo`

This makes it possible to recognize and connect to literal IPv6
addresses when `getaddrinfo` is not available, which is already the
case for the CMake build. This affects e.g. classic MinGW because it
still targets Windows 2000 by default, where `getaddrinfo` is not
available, but general IPv6 support is.

Instead of checking for `getaddrinfo`, check for `sockaddr_in6` as the
CMake build does.

Closes https://github.com/curl/curl/pull/4662
configure.ac