From 2dcf8c43c774c814fbaedee34f0633db6c53ab10 Mon Sep 17 00:00:00 2001 From: nalin Date: Wed, 2 Nov 2005 23:26:57 +0000 Subject: * configure.ac,src/krb5-auth-dialog.c: just test for the definitions of the flags directly. git-svn-id: http://svn.gnome.org/svn/krb5-auth-dialog/trunk@43 517b70f8-ed25-0410-8bf6-f5db08f7b76e --- src/krb5-auth-dialog.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/krb5-auth-dialog.c b/src/krb5-auth-dialog.c index 8852cc7..1b1b6f6 100644 --- a/src/krb5-auth-dialog.c +++ b/src/krb5-auth-dialog.c @@ -271,7 +271,7 @@ credentials_expiring (gpointer *data) return TRUE; } -#if defined(HAVE_KRB5_CREDS_TICKET_FLAGS) && defined(HAVE_DECL_TKT_FLG_FORWARDABLE) +#if defined(HAVE_KRB5_CREDS_TICKET_FLAGS) && defined(TKT_FLG_FORWARDABLE) static int get_cred_forwardable(krb5_creds *creds) { @@ -283,7 +283,7 @@ get_cred_forwardable(krb5_creds *creds) { return creds->flags.b.forwardable; } -#elif defined(HAVE_KRB5_CREDS_FLAGS) && defined(HAVE_DECL_KDC_OPT_FORWARDABLE) +#elif defined(HAVE_KRB5_CREDS_FLAGS) && defined(KDC_OPT_FORWARDABLE) static int get_cred_forwardable(krb5_creds *creds) { @@ -291,7 +291,7 @@ get_cred_forwardable(krb5_creds *creds) } #endif -#if defined(HAVE_KRB5_CREDS_TICKET_FLAGS) && defined(HAVE_DECL_TKT_FLG_RENEWABLE) +#if defined(HAVE_KRB5_CREDS_TICKET_FLAGS) && defined(TKT_FLG_RENEWABLE) static int get_cred_renewable(krb5_creds *creds) { @@ -303,7 +303,7 @@ get_cred_renewable(krb5_creds *creds) { return creds->flags.b.renewable; } -#elif defined(HAVE_KRB5_CREDS_FLAGS) && defined(HAVE_DECL_KDC_OPT_RENEWABLE) +#elif defined(HAVE_KRB5_CREDS_FLAGS) && defined(KDC_OPT_RENEWABLE) static int get_cred_renewable(krb5_creds *creds) { @@ -311,7 +311,7 @@ get_cred_renewable(krb5_creds *creds) } #endif -#if defined(HAVE_KRB5_CREDS_TICKET_FLAGS) && defined(HAVE_DECL_TKT_FLG_PROXIABLE) +#if defined(HAVE_KRB5_CREDS_TICKET_FLAGS) && defined(TKT_FLG_PROXIABLE) static int get_cred_proxiable(krb5_creds *creds) { @@ -323,7 +323,7 @@ get_cred_proxiable(krb5_creds *creds) { return creds->flags.b.proxiable; } -#elif defined(HAVE_KRB5_CREDS_FLAGS) && defined(HAVE_DECL_KDC_OPT_PROXIABLE) +#elif defined(HAVE_KRB5_CREDS_FLAGS) && defined(KDC_OPT_PROXIABLE) static int get_cred_proxiable(krb5_creds *creds) { -- cgit v1.2.3