curl/m4
Viktor Szakats ee9b000438
curl/curl.h: revert to recursive macros to keep supporting C++ use-case
To avoid breaking 3rd-party code reusing these symbols as C++ methods,
e.g. in CMake sources:
```
cmake/src/v4.0.0-b30653ae0c.clean/Source/cmCurl.cxx:119:24: error: expected unqualified-id
  119 |     ::CURLcode res = ::curl_easy_setopt(curl, CURLOPT_CAINFO, cafile.c_str());
      |                        ^
```

Also expand comment to highlight the case.

Reported-by: Kai Pastor
Bug: daa6b27b4d (r177869049)
Reported-by: Marcel Raad
Bug: https://curl.se/mail/lib-2026-02/0020.html
Fixes #20682
Follow-up to daa6b27b4d #20597

Closes #20686
2026-02-23 13:56:59 +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 curl/curl.h: revert to recursive macros to keep supporting C++ use-case 2026-02-23 13:56:59 +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