Fix busted test for ldap_initialize.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 10 Jul 2021 17:19:31 +0000 (13:19 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 10 Jul 2021 17:19:31 +0000 (13:19 -0400)
commit9fca23c1d6de2664aa447e4ef72b9bf60d3bdf35
treed4d359ebabb26e11b92d7755abb6f4ddb2dc811c
parentf23a9b8a49af1ef89dd65399867ca21318ae6b8e
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
configure
configure.in