1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
some systems have libkrb5 but not krb5.h
This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent 014b0973a3
commit 4b89fdecfc

View File

@ -377,7 +377,7 @@
#include <iconv.h>
#endif
#if HAVE_KRB5
#if HAVE_KRB5_H
#include <krb5.h>
#endif
@ -390,7 +390,7 @@
#endif
/* we support ADS if we have krb5 and ldap libs */
#if defined(HAVE_KRB5) && defined(HAVE_LDAP) && defined(HAVE_LDAP_H) && defined(HAVE_SASL_H)
#if defined(HAVE_KRB5) && defined(HAVE_KRB5_H) && defined(HAVE_LDAP) && defined(HAVE_LDAP_H) && defined(HAVE_SASL_H)
#define HAVE_ADS
#endif