Justin Erenkrantz wrote:

> I think you'd want:
> 
> #include <apu.h>
> ...
> #if APU_HAS_LDAP
> /* LDAP code here. */
> #else
> /* You don't have LDAP, so don't do anything. */
> #endif
> 
> The trick is that APU_HAS_LDAP should be a 0 or 1 value not a simple
> define.  And, I think rbb (or Doug?) pointed out that it should be
> APR_HAS_LDAP since that symbol doesn't conflict with APR.

So I would create an apr_ldap.h.in, and use a substitution to insert a 1
or a 0? Or is there another way?

Regards,
Graham
-- 
-----------------------------------------
[EMAIL PROTECTED]               "There's a moon
                                        over Bourbon Street
                                                tonight..."

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to