sigh.
authorAndrew Tridgell <tridge@samba.org>
Tue, 27 Nov 2001 07:09:06 +0000 (07:09 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 27 Nov 2001 07:09:06 +0000 (07:09 +0000)
some systems have libkrb5 but not krb5.h

source/include/includes.h

index f0ab1a2c216ca6d06babbd1d240e096b18dd1734..0a3fd1f4c0a37bcc945e6840dd12a8f8dd972225 100644 (file)
 #include <iconv.h>
 #endif
 
-#if HAVE_KRB5
+#if HAVE_KRB5_H
 #include <krb5.h>
 #endif
 
 #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