From 82d3dd757be5c56fdeb97e66f64ec25d5e202614 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 23 Jun 2003 01:27:17 +0000 Subject: [PATCH] Produce an error if Active Directory support is requested and we don't have krb5.h Should fix bug 152. --- source/configure.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/configure.in b/source/configure.in index 1a123553cd..339a61c632 100644 --- a/source/configure.in +++ b/source/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) -- 2.34.1