aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornalin <nalin@517b70f8-ed25-0410-8bf6-f5db08f7b76e>2005-11-02 23:26:57 +0000
committernalin <nalin@517b70f8-ed25-0410-8bf6-f5db08f7b76e>2005-11-02 23:26:57 +0000
commit2dcf8c43c774c814fbaedee34f0633db6c53ab10 (patch)
treefaf188ec1a645e4fad8503021a33cc96a63004ad /src
parentb74a955cdf6800aae538fef69b8ebb3e2e61b0d0 (diff)
* 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
Diffstat (limited to 'src')
-rw-r--r--src/krb5-auth-dialog.c12
1 files changed, 6 insertions, 6 deletions
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)
{