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.
Would it be a good idea to use the AC_CONFIG_HEADER(include/apr_ldap.h)
macro for this?
Can this macro be used more than once? (it is used already in
configure.in for include/private/apu_config.h)
Regards,
Graham
--
-----------------------------------------
[EMAIL PROTECTED] "There's a moon
over Bourbon Street
tonight..."
smime.p7s
Description: S/MIME Cryptographic Signature
