summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-31 14:31:13 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-31 14:31:13 +0000
commit162a6606bdcb075c256980fb3a559e59d89f2192 (patch)
treede5a719de6612449acdb88203bb80b7bf9f13346 /source3/include
parent84ecd95dba6cf03070432b3cc37d511d310d1325 (diff)
downloadsamba-162a6606bdcb075c256980fb3a559e59d89f2192.tar.gz
samba-162a6606bdcb075c256980fb3a559e59d89f2192.tar.bz2
samba-162a6606bdcb075c256980fb3a559e59d89f2192.zip
cope with systems that don't have full gssapi libs
(This used to be commit c4d928e55fe99a3a1c4e53508a44949f92d74219)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/config.h.in3
-rw-r--r--source3/include/includes.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index 9aa9a1b203..641f81517a 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -1,4 +1,4 @@
-/* include/config.h.in. Generated automatically from configure.in by autoheader. */
+/* include/config.h.in. Generated automatically from configure.in by autoheader 2.13. */
/* Define if on AIX 3.
System headers sometimes define this.
@@ -248,6 +248,7 @@
#undef I18N_SWAT
#undef I18N_DEFAULT_PREF_LANG
#undef HAVE_KRB5
+#undef HAVE_GSSAPI
#undef BROKEN_REDHAT_7_SYSTEM_HEADERS
#undef HAVE_LDAP
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 3a4c50ab9a..c113a14f62 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -408,7 +408,7 @@
#endif
/* we support ADS if we have krb5 and ldap libs */
-#if defined(HAVE_KRB5) && defined(HAVE_LDAP)
+#if defined(HAVE_KRB5) && defined(HAVE_LDAP) && defined(HAVE_GSSAPI)
#define HAVE_ADS
#endif