summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-06-23 01:27:17 +0000
committerTim Potter <tpot@samba.org>2003-06-23 01:27:17 +0000
commit5f1ff72f7d314d4bb9762ac11398188719507bc4 (patch)
tree71a59619b2c79672a9cdf1e73d2f864ffa76f108
parent5779e6d15e0a5b5b3e8fbcf0345a32944d5ca376 (diff)
downloadsamba-5f1ff72f7d314d4bb9762ac11398188719507bc4.tar.gz
samba-5f1ff72f7d314d4bb9762ac11398188719507bc4.tar.bz2
samba-5f1ff72f7d314d4bb9762ac11398188719507bc4.zip
Produce an error if Active Directory support is requested and we don't
have krb5.h Should fix bug 152. (This used to be commit 82d3dd757be5c56fdeb97e66f64ec25d5e202614)
-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)