diff options
author | Alexander Bokovoy <ab@samba.org> | 2012-05-31 12:44:50 +0300 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-06-01 11:23:21 +0200 |
commit | 6e9aca7d4100e3c0f3a9b0ffe21fb3b4a8a5c87f (patch) | |
tree | 8bef4e641db762f625660d0a8932f8b9229deb8c /source3 | |
parent | f8c447b1a48eaf12dcf70b92fd7525c4ad26c246 (diff) | |
download | samba-6e9aca7d4100e3c0f3a9b0ffe21fb3b4a8a5c87f.tar.gz |
waf: check for krb5_create_checksum and krb5_creds.flags for some Heimdal versions
Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Fri Jun 1 11:23:21 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index ea89fa2fe73..06b51dba6e3 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -3596,6 +3596,7 @@ if test x"$with_ads_support" != x"no"; then AC_CHECK_FUNC_EXT(krb5_cc_get_lifetime, $KRB5_LIBS) AC_CHECK_FUNC_EXT(krb5_cc_retrieve_cred, $KRB5_LIBS) AC_CHECK_FUNC_EXT(krb5_free_checksum_contents, $KRB5_LIBS) + AC_CHECK_FUNC_EXT(krb5_create_checksum, $KRB5_LIBS) AC_CHECK_FUNC_EXT(krb5_c_make_checksum, $KRB5_LIBS) AC_CHECK_FUNC_EXT(gss_krb5_import_cred, $KRB5_LIBS) AC_CHECK_FUNC_EXT(gss_get_name_attribute, $KRB5_LIBS) @@ -4006,6 +4007,17 @@ if test x"$with_ads_support" != x"no"; then AC_HAVE_DECL(KRB5_PDU_NONE,[#include <krb5.h>]) + AC_CACHE_CHECK([for flags in krb5_creds], + samba_cv_HAVE_FLAGS_IN_KRB5_CREDS,[ + AC_TRY_COMPILE([#include <krb5.h>], + [krb5_creds creds; creds.flags.b.initial = 0;], + samba_cv_HAVE_FLAGS_IN_KRB5_CREDS=yes, + samba_cv_HAVE_FLAGS_IN_KRB5_CREDS=no)]) + + if test x"$samba_cv_HAVE_FLAGS_IN_KRB5_CREDS" = x"yes"; then + AC_DEFINE(HAVE_FLAGS_IN_KRB5_CREDS,1, + [Whether the krb5_creds struct has a flags property]) + fi # # # Now the decisions whether we can support krb5 |