Fix busted test for ldap_initialize.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ebc346e5bb72b2a68258f1be8791f2b90191cd38
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-07-10T17:19:31Z
Releases: 14.0
Fix busted test for ldap_initialize.

Sigh ... I was expecting AC_CHECK_LIB to do something it didn't,
namely update LIBS.  This led to not finding ldap_initialize.
Fix by moving the probe for ldap_initialize.  In some sense this
is more correct anyway, since (at least for now) we care about
whether ldap_initialize exists in libldap not libldap_r.

Per buildfarm member elver and local testing.

Discussion: https://postgr.es/m/17083-a19190d9591946a7@postgresql.org

Files

PathChange+/−
configure modified +12 −11
configure.ac modified +2 −1

Discussion