mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 13:50:00 -04:00
only look for gsskrb5_register_acceptor_identity if gssapi_krb5.h exists
(cherry picked from commit 0277def3cf)
This commit is contained in:
parent
7908a238dd
commit
f36d3eb488
2 changed files with 8 additions and 2 deletions
5
configure
vendored
5
configure
vendored
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 ;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue