[patch] configure does not detect static LDAP libs on System V

David Shaw dshaw at jabberwocky.com
Tue Jun 11 22:58:01 CEST 2002


On Tue, Jun 11, 2002 at 01:39:11PM -0500, David Champion wrote:
> With static ldap libraries on a system using libnsl and libsocket (e.g.,
> Solaris), ldap support will not be detected because the ldap link test
> will fail. Moving the -lnsl/-lsocket tests earlier in configure.ac
> (placing them before the feature tests) fixes this.

Good point.  I'll fix this.

> keyserver/Makefile.am then needs to import library choices from the
> top-level Makefile.
> 
> At least some distributions of LDAP don't include lber.h from ldap.h, so
> gpgkeys_ldap.c needs to explicitly include it.

This one isn't so simple as some LDAP libraries don't have a lber.h.
The current CVS version has a explicit lber.h reqirement check before
using it.

Do you have access to the CVS version?  Can you check the changes on
your system when I'm done?

David

-- 
   David Shaw  |  dshaw at jabberwocky.com  |  WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson




More information about the Gnupg-devel mailing list