[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3982) libldap compile settings



Kurt D. Zeilenga wrote:

> I note the same problem you have in determining the dependencies
> of -lldap/-lldap, we would have in determining dependendencies of
> -lsasl, -lssl, and various other libraries we might depend on.
> Without a sasl_config, ssl_config, and other such scripts for
> these dependencies, or autoconf detection of their dependencies,
> I think any openldap_config script we would provide would be broken.
> I vaguely recall having this discussion before. 

Indeed it is very difficult to write a m4 script for autoconf for the
reasons you have given: it's a lot of work to check the dependancy's
dependancies.

However, the ldap-config script works differently. When building the
openldap binaries, we know somehow the compile options for the local
setup: either detected by autoconf or provided on the command
line. (otherwise the build would fail) Therefore if you save these
options in the ldap-config script, you can build later other programs
with the libldap, too.

-- 
Nicolas Baradakis