diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2003-03-10 22:49:27 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2003-03-10 22:49:27 +0000 |
commit | 220891ee8eea53a01677d613e3acb4985b074439 (patch) | |
tree | b6c71ec86e2c9d3acd62efcd3fa085cd5c9ba44d /include/apr_ldap.h.in | |
parent | 3a36a923ea2cff3b42c1e3d238dfc99b40b2e36b (diff) | |
download | libapr-util-220891ee8eea53a01677d613e3acb4985b074439.tar.gz |
Fix apr-util build on Unix with OpenLDAP until someone who cares
about proprietary LDAP toolkits brings apu-conf.m4 up to speed.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@58868 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_ldap.h.in')
-rw-r--r-- | include/apr_ldap.h.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/apr_ldap.h.in b/include/apr_ldap.h.in index b2778988..915af16e 100644 --- a/include/apr_ldap.h.in +++ b/include/apr_ldap.h.in @@ -91,6 +91,8 @@ #else /* ldap support available */ +#ifdef APR_NOT_READY_YET +/* FIXME: this code awaits support from apu-conf.m4 */ /* There a several LDAPv3 SDKs available on various platforms * define which LDAP SDK is used @@ -105,6 +107,15 @@ */ #define APR_HAS_LDAP_SSL @apu_has_ldap_ssl@ +#else /* APR_NOT_READY_YET */ + +/* FIXME: remove this when above code works. Default to build with + * OpenLDAP until apu-conf.m4 support exists */ +#define APR_HAS_OPENLDAP_LDAPSDK 1 +#define APR_HAS_LDAP_SSL 1 + +#endif /* APR_NOT_READY_YET */ + /* If no APR_HAS_xxx_LDAPSDK is defined error out * Define if the SDK supports the ldap_url_parse function */ |