curl/.github
Viktor Szakats 772f0d8edf
cmake: fix HAVE_LDAP_SSL, HAVE_LDAP_URL_PARSE on non-Windows
- set `HAVE_LDAP_URL_PARSE` if `ldap_url_parse` function exists.
  Before this patch we set it based it on the presence of `stricmp`,
  which correctly enabled it on e.g. Windows, but was inaccurate for
  other platforms.

- always set `HAVE_LDAP_SSL` if an LDAP backend is detected and
  LDAPS is not explicitly disabled. This mimics autotools behaviour.
  Previously we set it only for Windows LDAP. After this fix, LDAPS is
  correctly enabled in default macOS builds.

- enable LDAP[S] for a CMake macOS CI job. Target OS X 10.9 (Mavericks)
  to avoid deprecation warnings for LDAP API.

- always detect `HAVE_LDAP_SSL_H`, even with LDAPS explicitly disabled.
  This doesn't make much sense, but let's do it to sync behaviour with
  autotools.

- fix benign typo in variable name.

Ref: #11964 (effort to sync cmake detections with autotools)

Closes #12006
2023-10-02 22:19:47 +00:00
..
ISSUE_TEMPLATE tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
scripts curl: add support for the IPFS protocols: 2023-09-23 11:02:10 +02:00
workflows cmake: fix HAVE_LDAP_SSL, HAVE_LDAP_URL_PARSE on non-Windows 2023-10-02 22:19:47 +00:00
CODEOWNERS CODEOWNERS: remove the peeps mentioned as CI owners 2023-02-02 08:42:29 +01:00
CONTRIBUTING.md copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
FUNDING.yml copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
labeler.yml github/labeler: improve the match patterns 2023-09-21 14:37:27 -07:00
lock.yml copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
stale.yml copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00