diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-15 12:40:41 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-17 13:17:26 +0200 |
commit | f41ecfd90bcfc43c6e2c4151e6124e431587a02b (patch) | |
tree | 02ae709554547748ee94dd845936c21de080446d | |
parent | 51fa7df2e7ace828251a3ba73311d47c15840f2b (diff) | |
download | sssd-f41ecfd90bcfc43c6e2c4151e6124e431587a02b.tar.gz sssd-f41ecfd90bcfc43c6e2c4151e6124e431587a02b.tar.bz2 sssd-f41ecfd90bcfc43c6e2c4151e6124e431587a02b.zip |
heimdal: Add a check whether profile.h exists
-rw-r--r-- | src/external/krb5.m4 | 2 | ||||
-rw-r--r-- | src/providers/krb5/krb5_common.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/external/krb5.m4 b/src/external/krb5.m4 index 1a50bf1c..b9d6ff20 100644 --- a/src/external/krb5.m4 +++ b/src/external/krb5.m4 @@ -37,7 +37,7 @@ SAVE_CFLAGS=$CFLAGS SAVE_LIBS=$LIBS CFLAGS="$CFLAGS $KRB5_CFLAGS" LIBS="$LIBS $KRB5_LIBS" -AC_CHECK_HEADERS([krb5.h krb5/krb5.h]) +AC_CHECK_HEADERS([krb5.h krb5/krb5.h profile.h]) AC_CHECK_TYPES([krb5_ticket_times, krb5_times, krb5_trace_info], [], [], [ #ifdef HAVE_KRB5_KRB5_H #include <krb5/krb5.h> diff --git a/src/providers/krb5/krb5_common.c b/src/providers/krb5/krb5_common.c index c40f0dd4..63d81d6d 100644 --- a/src/providers/krb5/krb5_common.c +++ b/src/providers/krb5/krb5_common.c @@ -33,7 +33,7 @@ #include "providers/krb5/krb5_opts.h" #include "providers/krb5/krb5_utils.h" -#ifdef HAVE_KRB5_CC_COLLECTION +#ifdef HAVE_PROFILE_H /* krb5 profile functions */ #include <profile.h> #endif @@ -91,7 +91,7 @@ done: return ret; } -#ifdef HAVE_KRB5_CC_COLLECTION +#ifdef HAVE_PROFILE_H /* source default_ccache_name from krb5.conf */ static errno_t sss_get_system_ccname_template(TALLOC_CTX *mem_ctx, char **ccname) |