summaryrefslogtreecommitdiffstats
path: root/aclocal/kerberos5.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal/kerberos5.m4')
-rw-r--r--aclocal/kerberos5.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/aclocal/kerberos5.m4 b/aclocal/kerberos5.m4
index 8a0f3e4..c26881b 100644
--- a/aclocal/kerberos5.m4
+++ b/aclocal/kerberos5.m4
@@ -94,6 +94,10 @@ AC_DEFUN([AC_KERBEROS_V5],[
AC_CHECK_LIB($gssapi_lib, krb5_get_init_creds_opt_set_addressless,
AC_DEFINE(HAVE_KRB5_GET_INIT_CREDS_OPT_SET_ADDRESSLESS, 1, [Define this if the function krb5_get_init_creds_opt_set_addressless is available]), ,$KRBLIBS)
+ dnl Optional functions that make life better
+ AC_CHECK_LIB($gssapi_lib, gss_acquire_cred_from,
+ AC_DEFINE(HAVE_GSS_ACQUIRE_CRED_FROM, 1, [Define this if the function gss_acquire_cred_from is available]), ,$KRBLIBS)
+
dnl If they specified a directory and it didn't work, give them a warning
if test "x$krb5_with" != "x" -a "$krb5_with" != "$KRBDIR"; then
AC_MSG_WARN(Using $KRBDIR instead of requested value of $krb5_with for Kerberos!)