diff --git a/ChangeLog b/ChangeLog index efb6eef8b..7e9fafd3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-09-14 David Shaw + + * 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 * NEWS: Note that the old IDEA plugin won't work with post-1.1.90 diff --git a/configure.ac b/configure.ac index d3220aa02..b4f6b65df 100644 --- a/configure.ac +++ b/configure.ac @@ -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"