cmake: detect GNU GSS - #15176
Closed
vszakats wants to merge 2 commits into
Closed
Conversation
pps83
pushed a commit
to pps83/curl
that referenced
this pull request
Apr 26, 2025
Fix to set `HAVE_GSSGNU` when GNU GSS is detected. Also set the appropriate `pkg-config` dependency and do version detection for the GNU GSS flavour. Tested with `pkg-config` and partly tested without. The latter case picks up everything else but, in my env. This is likely not the last word to implement this detection correctly for all build-cases. GNU GSS doesn't seem to have a Homebrew formula and building it locally needs manual tweaks to make finish successfully. Also move a MIT-specific header detection into to MIT-specific `if` branch. Closes curl#15176
vszakats
added a commit
that referenced
this pull request
Jun 16, 2026
To match the non-pkg-config path, and also suspected user expectation. This comes with a small incompatibility in return for more consistency. Bug: #22052 (comment) Follow-up to 9e19a57 #15176 Closes #22053
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix to set
HAVE_GSSGNUwhen GNU GSS is detected.Also set the appropriate
pkg-configdependency and do versiondetection for the GNU GSS flavour.
Tested with
pkg-configand partly tested without. The latter casepicks up everything else but, in my env. This is likely not the last
word to implement this detection correctly for all build-cases.
GNU GSS doesn't seem to have a Homebrew formula and building
it locally needs manual tweaks to make finish successfully.
Also move a MIT-specific header detection into to MIT-specific
ifbranch.
w/o whitespace: https://github.com/curl/curl/pull/15176/files?w=1