Skip to content

cmake: tidy up and document feature detections in dependencies #17082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Apr 17, 2025


w/o ws https://github.com/curl/curl/pull/17082/files?w=1

@github-actions github-actions bot added the build label Apr 17, 2025
@vszakats vszakats changed the title cmake: refresh comment on feature detection vars in dependencies cmake: update comment on feature detection vars in dependencies Apr 17, 2025
@vszakats vszakats changed the title cmake: update comment on feature detection vars in dependencies cmake: update comment on dependency feature detection variables Apr 17, 2025
@testclutch

This comment was marked as outdated.

@github-actions github-actions bot added the CI Continuous Integration label Apr 17, 2025
@vszakats vszakats changed the title cmake: update comment on dependency feature detection variables cmake: tidy ups and fixes in feature detections in dependencies Apr 17, 2025
@vszakats vszakats changed the title cmake: tidy ups and fixes in feature detections in dependencies cmake: tidy up/fixup/document feature detections in dependencies Apr 17, 2025
@vszakats vszakats changed the title cmake: tidy up/fixup/document feature detections in dependencies cmake: tidy up and document feature detections in dependencies Apr 17, 2025
@github-actions github-actions bot added the tests label Apr 17, 2025
@vszakats vszakats force-pushed the quictlsapi-tidy branch 2 times, most recently from 12968c7 to e17bdb3 Compare April 17, 2025 20:36
@vszakats vszakats changed the title cmake: tidy up and document feature detections in dependencies cmake: tidy up and document feature detections in dependencies (QUIC, wolfSSL) Apr 24, 2025
@vszakats vszakats changed the title cmake: tidy up and document feature detections in dependencies (QUIC, wolfSSL) cmake: tidy up and document feature detections in dependencies Apr 24, 2025
vszakats added a commit to vszakats/curl that referenced this pull request Apr 24, 2025
@vszakats vszakats closed this in 4bfc379 Apr 24, 2025
vszakats added a commit that referenced this pull request Apr 24, 2025
@vszakats vszakats deleted the quictlsapi-tidy branch April 24, 2025 17:47
vszakats added a commit that referenced this pull request Apr 24, 2025
Sync them with the function name they detect, and sync them between
cmake and autotools.

- rename `HAVE_WOLFSSL_BIO` to `HAVE_WOLFSSL_BIO_NEW`.
- rename `HAVE_WOLFSSL_FULL_BIO` to `HAVE_WOLFSSL_BIO_SET_SHUTDOWN`.
- autotools: rename `WOLFSSL_NTLM` to `HAVE_WOLFSSL_DES_ECB_ENCRYPT`
  (to sync with cmake).
- autotools: rename `WOLFSSL_BIO` to `HAVE_WOLFSSL_BIO_NEW`
  (to sync with cmake).
- autotools: simplify `HAVE_WOLFSSL_DES_ECB_ENCRYPT` detection.

Cherry-picked from #17082

Closes #17175
nbaws pushed a commit to nbaws/curl that referenced this pull request Apr 26, 2025
- update text on dependency feature detection variables, and move it
  to its own section in `docs/INSTALL-CMAKE.md`.
  Ref: curl#17032 (Discussion)

- tidy up descriptions/comments, alpha-sort.

- move comment to its own section in `docs/INSTALL-CMAKE.md`.

- split `HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT` to distinct names for
  each TLS backend API. To make the names more stable and to sync them
  with autotools.
  Follow-up to 07cc50f curl#17018
  Follow-up to 342a654 curl#15873

- drop redundant condition while detecting QUICTLS API.
  Follow-up to 07cc50f curl#17018

- add config-comparison exception for `HAVE_SSL_SET_QUIC_TLS_CBS`.
  Follow-up to 5eefdd7 curl#17027

- detect `wolfSSL_get_peer_certificate` like autotools does.

- detect `wolfSSL_UseALPN` like autotools does.

Closes curl#17082
nbaws pushed a commit to nbaws/curl that referenced this pull request Apr 26, 2025
nbaws pushed a commit to nbaws/curl that referenced this pull request Apr 26, 2025
Sync them with the function name they detect, and sync them between
cmake and autotools.

- rename `HAVE_WOLFSSL_BIO` to `HAVE_WOLFSSL_BIO_NEW`.
- rename `HAVE_WOLFSSL_FULL_BIO` to `HAVE_WOLFSSL_BIO_SET_SHUTDOWN`.
- autotools: rename `WOLFSSL_NTLM` to `HAVE_WOLFSSL_DES_ECB_ENCRYPT`
  (to sync with cmake).
- autotools: rename `WOLFSSL_BIO` to `HAVE_WOLFSSL_BIO_NEW`
  (to sync with cmake).
- autotools: simplify `HAVE_WOLFSSL_DES_ECB_ENCRYPT` detection.

Cherry-picked from curl#17082

Closes curl#17175
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants