Fix busted test for ldap_initialize.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 10 Jul 2021 17:19:30 +0000 (13:19 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 10 Jul 2021 17:19:30 +0000 (13:19 -0400)
commit9f6be2e79f88c65cef7cfeb0580e8b2ba74974f6
treeb221952c598f24e1c2609e9b3c98ae5940687d6b
parent44bd0126c70b5b90e8e2d604833a6476abbbffe6
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.ac