]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: delete duplicate HAVE_GETADDRINFO test
authorViktor Szakats <commit@vsz.me>
Fri, 14 Oct 2022 17:31:19 +0000 (17:31 +0000)
committerViktor Szakats <commit@vsz.me>
Fri, 14 Oct 2022 17:31:19 +0000 (17:31 +0000)
commit1d64a2bf5b46f0639cc07e674bf502cbd16c391d
treedfc3f05cbf38b1eee5b29cebb3e595b3e9c56b76
parent8c452b4003d352c9f90d2116bdeed3d5bfbc8356
cmake: delete duplicate HAVE_GETADDRINFO test

A custom `HAVE_GETADDRINFO` check came with the initial CMake commit
[1]. A later commit [2] added a standard check for it as well. The
standard check run before the custom one, so CMake ignored the latter.

The custom check was also non-portable, so this patch deletes it in
favor of the standard check.

[1] 4c5307b45655ba75ab066564afdc0c111a8b9291
[2] aec7c5a87c8482b6ddffa352d7d220698652262e

Closes #9731
CMake/CurlTests.c
CMakeLists.txt