diff options
author | Tim Potter <tpot@samba.org> | 2002-09-17 05:38:12 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-09-17 05:38:12 +0000 |
commit | ccfe2b848583d4036fb1a11a25e8c87c80e59520 (patch) | |
tree | 3b4b7d66aa4c60e1d1b8e9d1b4b83b14bbfd84cf /source3/include | |
parent | 83b997118e4cbf8cc794b612a4ac9b8e852f488c (diff) | |
download | samba-ccfe2b848583d4036fb1a11a25e8c87c80e59520.tar.gz samba-ccfe2b848583d4036fb1a11a25e8c87c80e59520.tar.bz2 samba-ccfe2b848583d4036fb1a11a25e8c87c80e59520.zip |
Added --with-ads option, defaults to yes. If you run ./configure
--with-ads=no or ./configure --without-ads Samba will build without
linking to the various kerberos libraries.
(This used to be commit edb6172abf0f07fead8ed3aaaebe0411d757aa64)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/config.h.in | 3 | ||||
-rw-r--r-- | source3/include/includes.h | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in index 9fbde2bf37..8e744e43f7 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. @@ -294,6 +294,7 @@ #undef LINUX_BROKEN_SENDFILE_API #undef WITH_SENDFILE #undef FREEBSD_SENDFILE_API +#undef WITH_ADS /* The number of bytes in a int. */ #undef SIZEOF_INT diff --git a/source3/include/includes.h b/source3/include/includes.h index eaa0d25239..bdf5bbcef3 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -420,8 +420,8 @@ #include <gssapi/gssapi_generic.h> #endif -/* we support ADS if we have krb5 and ldap libs */ -#if defined(HAVE_KRB5) && defined(HAVE_LDAP) +/* we support ADS if we want it and have krb5 and ldap libs */ +#if defined(WITH_ADS) && defined(HAVE_KRB5) && defined(HAVE_LDAP) #define HAVE_ADS #endif |