X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Fportable.nt;h=8e478479da58fdb46718e6642a104b859d2938b6;hb=882b8c5f41747e5b5f8542c92119d866ad90d5f4;hp=6a62403cb7b55af423c5b761f74c143fe6f0ee30;hpb=0bb431d3b38f6d7feab4bcd175bac226ef5e02be;p=openldap diff --git a/include/portable.nt b/include/portable.nt index 6a62403cb7..8e478479da 100644 --- a/include/portable.nt +++ b/include/portable.nt @@ -16,6 +16,9 @@ /* end of preamble */ +/* comment this out if you don't have Cyrus SASL */ +#define HAVE_CYRUS_SASL 1 + /* --------------------------------------------------- */ /* begin of MSVC5 specific entries */ @@ -203,10 +206,7 @@ typedef signed int ssize_t; #define HAVE_SYS_ERRLIST 1 /* define if you have berkeley db */ -/* #undef HAVE_BERKELEY_DB */ - -/* define if you have berkeley db2 */ -#define HAVE_BERKELEY_DB2 1 +#define HAVE_BERKELEY_DB 1 /* define if you have crypt */ /* #undef HAVE_CRYPT */ @@ -259,9 +259,6 @@ typedef signed int ssize_t; /* define this for ACL Group support */ #define SLAPD_ACLGROUPS 1 -/* define this to use SLAPD Berkeley DB2 backend */ -/* #define SLAPD_BDB2 1 */ - /* define this for ClearText password support */ #define SLAPD_CLEARTEXT 1 @@ -275,7 +272,7 @@ typedef signed int ssize_t; #define SLAPD_LDBM 1 /* define this to use SLAPD SQL backend */ -#define SLAPD_SQL 1 +/* #undef SLAPD_SQL */ /* define this to use SLAPD passwd backend */ /* #undef SLAPD_PASSWD */ @@ -728,9 +725,9 @@ typedef signed int ssize_t; /* begin of postamble */ -#ifndef __NEED_PROTOTYPES +#ifndef LDAP_NEEDS_PROTOTYPES /* force LDAP_P to always include prototypes */ -#define __NEED_PROTOTYPES 1 +#define LDAP_NEEDS_PROTOTYPES 1 #endif #ifdef HAVE_STDDEF_H