curl/m4
Viktor Szakats 671e83f0b1
c-ares: fix/tidy-up macro initializations, avoid a deprecated function
- replace deprecated `ares_init()` call with `ares_init_options()`.
  Follow-up to 0d4fdbf15d #16054

- dedupe `CARES_STATICLIB` initalizations into `curl_setup.h`, to
  ensure it's defined before the first (and every) `ares.h` include and
  avoid a potential confusion.

- move `CARES_NO_DEPRECATED` from build level to `curl_setup.h`.
  To work regardless of build system.
  It is necessary because curl calls `ares_getsock()` from two places,
  of which one feeds a chain of wrappers: `Curl_ares_getsock()`,
  `Curl_resolver_getsock()`, `Curl_resolv_getsock()`.

Closes #16131
2025-02-03 19:04:50 +01:00
..
.gitignore tidy-up: .gitignore lines mostly 2025-01-27 20:59:46 +01:00
curl-amissl.m4 Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
curl-bearssl.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-compilers.m4 build: fix compiling with GCC 4.x versions 2025-01-22 11:26:15 +01:00
curl-confopts.m4 c-ares: fix/tidy-up macro initializations, avoid a deprecated function 2025-02-03 19:04:50 +01:00
curl-functions.m4 curl-functions.m4: fix indentation in CURL_SIZEOF() 2025-01-13 02:44:41 +01:00
curl-gnutls.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-mbedtls.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-openssl.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-override.m4 tidy-up: indent, whitespace, #error in make files 2024-09-22 09:51:15 +02:00
curl-reentrant.m4 tidy-up: indentation in autotools sources 2024-09-25 09:10:45 +02:00
curl-rustls.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-schannel.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-sectransp.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
curl-sysconfig.m4 configure: do not echo most inherited LDFLAGS to config files 2024-11-14 09:55:45 +01:00
curl-wolfssl.m4 build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +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 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
xc-val-flgs.m4 configure: fix indentation more 2024-08-26 11:14:01 +02:00
zz40-xc-ovr.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
zz50-xc-ovr.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
zz60-xc-ovr.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00