On Tue, 2019-07-02 at 18:14 +0800, Dmitry Timoshkov wrote:
Sounds like a broken install. To fix this I think it would be better to improve
our configure check than to add more (nested) ifdefs.
I believe that the added ifdefs are actually necessary, and they logically separate libkrb5 functionality from libgssapi one. Without libkrb5 the only things that won't be supported are custom credentials and the ticket cache, everything else works just fine.
AcquireCredentialsHandle won't be very useful without these krb5 functions.
It works just fine with cached system credentials.
gssapi itself depends on krb5, so there's no reason to build with partial support. The user will have it installed but can't make use of it, and the developer will not be warned that support is missing.