Fix busted test for ldap_initialize.

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

Commit: 03fc042eb628759d1009c28e81aae776ed9358a2
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-07-10T17:19:31Z
Releases: 12.8
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.in modified +2 −1

Discussion