mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-17 14:07:03 +01:00
From stable branch
* configure.ac: Try linking LDAP as just -lldap as it seems very recent OpenLDAPs (>=2.0.23) support that.
This commit is contained in:
parent
8bd507e5a2
commit
2761544fb4
@ -1,3 +1,8 @@
|
|||||||
|
2002-09-19 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* configure.ac: Try linking LDAP as just -lldap as it seems very
|
||||||
|
recent OpenLDAPs (>=2.0.23) support that.
|
||||||
|
|
||||||
2002-09-14 David Shaw <dshaw@jabberwocky.com>
|
2002-09-14 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* configure.ac: Try linking LDAP without -lresolv first, just in
|
* configure.ac: Try linking LDAP without -lresolv first, just in
|
||||||
|
@ -355,11 +355,11 @@ AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt,
|
|||||||
[NETLIBS="-lsocket $NETLIBS"]))
|
[NETLIBS="-lsocket $NETLIBS"]))
|
||||||
|
|
||||||
# Try and link a LDAP test program to weed out unusable LDAP
|
# Try and link a LDAP test program to weed out unusable LDAP
|
||||||
# libraries. -lldap -llber [-lresolv] is for OpenLDAP. -lldapssl41
|
# libraries. -lldap [-llber [-lresolv]] is for OpenLDAP. -lldapssl41
|
||||||
# is for Mozilla LDAP.
|
# is for Mozilla LDAP.
|
||||||
|
|
||||||
if test "$try_ldap" = yes ; then
|
if test "$try_ldap" = yes ; then
|
||||||
for LDAPLIBS in "-lldap -llber" "-lldap -llber -lresolv" "-lldapssl41"; do
|
for LDAPLIBS in "-lldap" "-lldap -llber" "-lldap -llber -lresolv" "-lldapssl41"; do
|
||||||
_ldap_save_libs=$LIBS
|
_ldap_save_libs=$LIBS
|
||||||
LIBS="$LDAPLIBS $NETLIBS $LIBS"
|
LIBS="$LDAPLIBS $NETLIBS $LIBS"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user