curl-curl/m4
Viktor Szakats 5fa5cb3825
build: fix -Wunused-macros warnings, and related tidy-ups
- fix internal macro `AN_APPLE_OS` reused between sources without
  resetting it. It may potentially have left the system sha256
  function unused.
- fix to define `WOLFSSL_OPTIONS_IGNORE_SYS` so that it always applies
  to wolfSSL headers, also during feature detection.
- md4, md5, sha256: simplify fallback logic.
- delete 20+ unused macros.
- scope or move macros to avoid `-Wunused-macros` warnings.
- examples: delete unused code.

The warning detects macros defined but not used within the same C
source. It does not warn for macros defined in headers. It also works
with unity builds, but to a lesser extent.

Closes #20593
2026-02-19 00:00:48 +01:00
..
.gitignore tidy-up: .gitignore lines mostly 2025-01-27 20:59:46 +01:00
curl-amissl.m4 openssl: drop includes unused or duplicate 2025-12-20 13:51:05 +01:00
curl-apple-sectrust.m4 autotools: tidy-up if expressions 2025-12-10 22:29:19 +01:00
curl-compilers.m4 include: avoid recursive macros 2026-02-15 22:54:32 +01:00
curl-confopts.m4 build: merge TrackMemory (CURLDEBUG) into debug-enabled option 2026-01-19 18:43:17 +01:00
curl-functions.m4 build: require POSIX strdup() 2026-02-03 17:50:18 +01:00
curl-gnutls.m4 autotools: tidy-up if expressions 2025-12-10 22:29:19 +01:00
curl-mbedtls.m4 autotools: tidy-up if expressions 2025-12-10 22:29:19 +01:00
curl-openssl.m4 vquic: drop support for OpenSSL-QUIC 2026-01-17 22:49:34 +01:00
curl-override.m4 tidy-up: miscellaneous 2026-02-12 14:52:16 +01:00
curl-reentrant.m4 tidy-up: miscellaneous 2025-12-18 21:27:58 +01:00
curl-rustls.m4 autotools: tidy-up if expressions 2025-12-10 22:29:19 +01:00
curl-schannel.m4 autotools: tidy-up if expressions 2025-12-10 22:29:19 +01:00
curl-sysconfig.m4 autotools: tidy-up if expressions 2025-12-10 22:29:19 +01:00
curl-wolfssl.m4 build: fix -Wunused-macros warnings, and related tidy-ups 2026-02-19 00:00:48 +01:00
xc-am-iface.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
xc-cc-check.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
xc-lt-iface.m4 autotools: tidy-up if expressions 2025-12-10 22:29:19 +01:00
xc-val-flgs.m4 autotools: tidy-up if expressions 2025-12-10 22:29:19 +01:00
zz40-xc-ovr.m4 autotools: tidy-up if expressions 2025-12-10 22:29:19 +01:00
zz50-xc-ovr.m4 badwords: add more contractions, fix fallouts 2025-11-17 19:29:15 +01:00