diff options
author | Brad King <brad.king@kitware.com> | 2020-05-19 17:25:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-05-20 19:17:26 (GMT) |
commit | 0a46eb11af88d2d50c90888c95860fa5f736f0d8 (patch) | |
tree | 86b44ea2f894feda29677ee36d6652bd6cf77e20 /configure | |
parent | 2f3a356ea8dd8305ce4360c1652e2e5abfa9f1cf (diff) | |
download | CMake-0a46eb11af88d2d50c90888c95860fa5f736f0d8.zip CMake-0a46eb11af88d2d50c90888c95860fa5f736f0d8.tar.gz CMake-0a46eb11af88d2d50c90888c95860fa5f736f0d8.tar.bz2 |
curl: Avoid checking 'send' and 'recv' signatures
cURL detects the `send` and `recv` signatures using a large loop
of `try_compile` checks. The results are used for the following:
* Casting argument types in calls to `send` and `recv`, perhaps
to avoid conversion warnings. We compile with `-w` anyway.
* Providing debug variants for `CURLDEBUG`, which we do not use.
Replace the detection loops with hard-coded results that should work
well enough everywhere. This significantly reduces the number of
configure-time checks for building CMake on some platforms.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions