summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-05 10:54:50 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-01-10 21:50:07 +0100
commit016fc0af0c30a22d0154ca6c67bb31bac893fb7b (patch)
treec514fe134f76a01ae54acecd41d406b0c3db1143 /source3/configure.in
parent6b2e742d6c719258c8ff1c2309847e88bdae97e7 (diff)
downloadsamba-016fc0af0c30a22d0154ca6c67bb31bac893fb7b.tar.gz
samba-016fc0af0c30a22d0154ca6c67bb31bac893fb7b.tar.bz2
samba-016fc0af0c30a22d0154ca6c67bb31bac893fb7b.zip
krb5: Require krb5_get_host_realm and krb5_free_host_realm be available to build with krb5
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index fd28a4bb1a..a2f414b408 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -4422,6 +4422,18 @@ if test x"$with_ads_support" != x"no"; then
use_ads=no
fi
+ if test x"$ac_cv_func_ext_krb5_get_host_realm" != x"yes"
+ then
+ AC_MSG_WARN(krb5_get_host_realm not found in -lkrb5)
+ use_ads=no
+ fi
+
+ if test x"$ac_cv_func_ext_krb5_free_host_realm" != x"yes"
+ then
+ AC_MSG_WARN(krb5_free_host_realm not found in -lkrb5)
+ use_ads=no
+ fi
+
if test x"$ac_cv_func_ext_krb5_principal2salt" != x"yes" -a \
x"$ac_cv_func_ext_krb5_get_pw_salt" != x"yes"
then