mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Produce an error if Active Directory support is requested and we don't
have krb5.h Should fix bug 152.
This commit is contained in:
parent
86b6ff134c
commit
82d3dd757b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user