1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-11 21:48:50 +01:00

* configure.ac: Try linking LDAP without -lresolv first, just in case the

platform has libresolv, but doesn't actually need it to use LDAP.
This commit is contained in:
David Shaw 2002-09-15 03:27:16 +00:00
parent d29d483e5f
commit 3643188d72
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-09-14 David Shaw <dshaw@jabberwocky.com>
* configure.ac: Try linking LDAP without -lresolv first, just in
case the platform has libresolv, but doesn't actually need it to
use LDAP.
2002-09-12 David Shaw <dshaw@jabberwocky.com>
* NEWS: Note that the old IDEA plugin won't work with post-1.1.90

View File

@ -360,7 +360,7 @@ AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt,
# is for Mozilla LDAP.
if test "$try_ldap" = yes ; then
for LDAPLIBS in "-lldap -llber -lresolv" "-lldap -llber" "-lldapssl41"; do
for LDAPLIBS in "-lldap -llber" "-lldap -llber -lresolv" "-lldapssl41"; do
_ldap_save_libs=$LIBS
LIBS="$LDAPLIBS $NETLIBS $LIBS"