summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 1a123553cd..339a61c632 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2199,6 +2199,10 @@ if test x"$with_ads_support" = x"yes"; then
# include paths
AC_CHECK_HEADERS(krb5.h)
+ if test x"$ac_cv_header_krb5_h" = x"no"; then
+ AC_MSG_ERROR([Active Directory cannot be supported without krb5.h])
+ fi
+
# now check for gssapi headers. This is also done here to allow for
# different kerberos include paths
AC_CHECK_HEADERS(gssapi.h gssapi/gssapi_generic.h gssapi/gssapi.h com_err.h)