From 8ea9237d82857ecd6111c37d1ce6b9122ff50f44 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 5 Nov 2004 00:57:29 +0000 Subject: r3538: Fix the build with the latest Heimdal code. Jeremy. (This used to be commit 34275bae787762646f02ea1dec19d7b3a9a733a3) --- source3/configure.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index d32d684358..170b3c0d1c 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2795,6 +2795,18 @@ if test x"$with_ads_support" != x"no"; then LIBS="$KRB5_LIBS $LIBS" + AC_CACHE_CHECK([for krb5_encrypt_block type], + samba_cv_HAVE_KRB5_ENCRYPT_BLOCK,[ + AC_TRY_COMPILE([#include ], + [krb5_encrypt_block block;], + samba_cv_HAVE_KRB5_ENCRYPT_BLOCK=yes, + samba_cv_HAVE_KRB5_ENCRYPT_BLOCK=no)]) + + if test x"$samba_cv_HAVE_KRB5_ENCRYPT_BLOCK" = x"yes"; then + AC_DEFINE(HAVE_KRB5_ENCRYPT_BLOCK,1, + [Whether the type krb5_encrypt_block exists]) + fi + AC_CACHE_CHECK([for addrtype in krb5_address], samba_cv_HAVE_ADDRTYPE_IN_KRB5_ADDRESS,[ AC_TRY_COMPILE([#include ], -- cgit