only look for gsskrb5_register_acceptor_identity if gssapi_krb5.h exists
(cherry picked from commit 0277def3cf)
This commit is contained in:
@@ -14194,7 +14194,10 @@ $krb5_hack
|
||||
int
|
||||
main ()
|
||||
{
|
||||
gss_acquire_cred(NULL, NULL, 0, NULL, 0, NULL, NULL, NULL);krb5_init_context(NULL);gsskrb5_register_acceptor_identity(NULL);
|
||||
gss_acquire_cred(NULL, NULL, 0, NULL, 0, NULL, NULL, NULL);krb5_init_context(NULL);
|
||||
#if defined(HAVE_GSSAPI_KRB5_H) || defined(HAVE_GSSAPI_GSSAPI_KRB5_H)
|
||||
gsskrb5_register_acceptor_identity(NULL);
|
||||
#endif
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
||||
+4
-1
@@ -1136,7 +1136,10 @@ case "$use_gssapi" in
|
||||
$gssapi_hack
|
||||
$gssapi_krb5_hack
|
||||
$krb5_hack
|
||||
] , [gss_acquire_cred(NULL, NULL, 0, NULL, 0, NULL, NULL, NULL);krb5_init_context(NULL);gsskrb5_register_acceptor_identity(NULL);],
|
||||
] , [gss_acquire_cred(NULL, NULL, 0, NULL, 0, NULL, NULL, NULL);krb5_init_context(NULL);
|
||||
#if defined(HAVE_GSSAPI_KRB5_H) || defined(HAVE_GSSAPI_GSSAPI_KRB5_H)
|
||||
gsskrb5_register_acceptor_identity(NULL);
|
||||
#endif],
|
||||
gssapi_linked=yes, gssapi_linked=no)
|
||||
case $gssapi_linked in
|
||||
yes) AC_MSG_RESULT(yes); break ;;
|
||||
|
||||
Reference in New Issue
Block a user