curl/CMake
Viktor Szakats 59dc9f7e69
build: untangle CURLDEBUG and DEBUGBUILD macros
`CURLDEBUG` is meant to enable memory tracking, but in a bunch of cases,
it was protecting debug features that were supposed to be guarded with
`DEBUGBUILD`.

Replace these uses with `DEBUGBUILD`.

This leaves `CURLDEBUG` uses solely for its intended  purpose: to enable
the memory tracking debug feature.

Also:
- autotools: rely on `DEBUGBUILD` to enable `checksrc`.
  Instead of `CURLDEBUG`, which worked in most cases because debug
  builds enable `CURLDEBUG` by default, but it's not accurate.
- include `lib/easyif.h` instead of keeping a copy of a declaration.
- add CI test jobs for the build issues discovered.

Ref: https://github.com/curl/curl/pull/13694#issuecomment-2120311894
Closes #13718
2024-05-28 08:12:00 +02:00
..
Platforms file: add support for getting basic directory listings 2024-04-11 12:37:12 +02:00
cmake_uninstall.cmake.in copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
CMakeConfigurableFile.in copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-config.cmake.in cmake: fix multiple include of CURL package 2023-11-10 18:23:22 +00:00
CurlSymbolHiding.cmake build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
CurlTests.c cmake: fix HAVE_IOCTLSOCKET_FIONBIO test with gcc 14 2024-05-11 10:56:37 +02:00
FindBearSSL.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindBrotli.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindCARES.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindGSS.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindLibPSL.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindLibSSH2.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindMbedTLS.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindMSH3.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FindNGHTTP2.cmake cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
FindNGHTTP3.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FindNGTCP2.cmake h3: add support for ngtcp2 with AWS-LC builds 2023-10-08 22:35:04 +00:00
FindQUICHE.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FindWolfSSL.cmake copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FindZstd.cmake cmake: speed up zstd detection 2023-10-27 00:37:34 +00:00
Macros.cmake docs: ascii version of manpage without nroff 2024-03-06 15:55:59 +01:00
OtherTests.cmake cmake: tidy-up OtherTests.cmake 2023-12-19 12:45:24 +00:00
PickyWarnings.cmake cmake: enable -pedantic-errors for clang when CURL_WERROR=ON 2024-04-05 13:05:36 +00:00
Utilities.cmake cmake: fix function description in comment [ci skip] 2024-02-06 22:20:33 +00:00