aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorcaillon <caillon@517b70f8-ed25-0410-8bf6-f5db08f7b76e>2006-03-18 00:21:08 +0000
committercaillon <caillon@517b70f8-ed25-0410-8bf6-f5db08f7b76e>2006-03-18 00:21:08 +0000
commit06eb0ef8a973ee1fcc26a5d7c84121846015824a (patch)
tree9a1e49be4293d910d54009a3de56c47a772cf921 /configure.ac
parent0b9e630dde78cb83d6a0f93be538b6f7fac860f2 (diff)
2006-03-17 Christopher Aillon <caillon@redhat.com>
* src/krb5-auth-dialog.c: Check to see whether credentials are renewable; if so, renew them automatically. Implement this for the MIT implementation only. (Fixes #331210) * configure.ac: Add test to see whether we have krb5_get_renewed_creds git-svn-id: http://svn.gnome.org/svn/krb5-auth-dialog/trunk@62 517b70f8-ed25-0410-8bf6-f5db08f7b76e
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5f7480f..b4b6f00 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,11 +39,14 @@ fi
dnl Check for API differences between Heimdal and MIT Kerberos
savedCFLAGS="$CFLAGS"
CFLAGS="$KRB5_CFLAGS $CFLAGS"
+savedLIBS="$LIBS"
+LIBS="$KRB5_LIBS $LIBS"
AC_CHECK_MEMBERS(krb5_creds.ticket_flags,,,[#include <krb5.h>])
AC_CHECK_MEMBERS(krb5_creds.flags.b.forwardable,,,[#include <krb5.h>])
AC_CHECK_MEMBERS(krb5_creds.flags.b.renewable,,,[#include <krb5.h>])
AC_CHECK_MEMBERS(krb5_creds.flags.b.proxiable,,,[#include <krb5.h>])
AC_CHECK_MEMBERS(krb5_creds.flags,,,[#include <krb5.h>])
+AC_CHECK_FUNCS([krb5_get_renewed_creds])
AC_MSG_CHECKING(if a krb5_principal->realm is a char*)
AC_COMPILE_IFELSE([
$ac_includes_default
@@ -73,6 +76,7 @@ main(int argc, char **argv)
AC_MSG_RESULT(yes)],
AC_MSG_RESULT(no))
CFLAGS="$savedCFLAGS"
+LIBS="$savedLIBS"
dnl NetworkManager