summaryrefslogtreecommitdiffstats
path: root/source3/configure.in
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-16 10:40:50 +1100
committerKarolin Seeger <kseeger@samba.org>2009-11-26 11:39:24 +0100
commitfba1a7d5776de300249cd1e1557fec0e44cda7df (patch)
tree6b5cdf8b62a59276c4be9ff05199a6de537f2372 /source3/configure.in
parentcecf543ff07d5592e22d2e12fbca7c20a7aee3ff (diff)
downloadsamba-fba1a7d5776de300249cd1e1557fec0e44cda7df.tar.gz
samba-fba1a7d5776de300249cd1e1557fec0e44cda7df.tar.xz
samba-fba1a7d5776de300249cd1e1557fec0e44cda7df.zip
s3: fixed krb5 build problem on ubuntu karmic
Karmic has MIT krb5 1.7-beta3, which has the symbol krb5_auth_con_set_req_cksumtype but no prototype for it. See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531635 (cherry picked from commit 156560a00c08e4c1ab2fca7ba14329db70271553)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index c98d526888c..e07d02298a0 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -3384,6 +3384,10 @@ if test x"$with_ads_support" != x"no"; then
AC_CHECK_FUNC_EXT(krb5_fwd_tgt_creds, $KRB5_LIBS)
AC_CHECK_FUNC_EXT(krb5_auth_con_set_req_cksumtype, $KRB5_LIBS)
+ # MIT krb5 1.7beta3 (in Ubuntu Karmic) does not have this declaration
+ # but does have the symbol
+ AC_CHECK_DECLS(krb5_auth_con_set_req_cksumtype, [], [], [#include <krb5.h>])
+
LIBS="$KRB5_LIBS $LIBS"
AC_CACHE_CHECK(whether krb5_ticket contains kvno and enctype,