Un-break AIX build, take 2.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 9 Jul 2021 20:59:07 +0000 (16:59 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 9 Jul 2021 20:59:07 +0000 (16:59 -0400)
commit9ffad7ae7ffc632ff8d3822916c431b7e4a4df38
treeb7c1130ba5b6ec9bb0b28896d8a7b94571ba63ea
parent1beaa654da61ee66857a3c5125682b629f62fdf9
Un-break AIX build, take 2.

I incorrectly diagnosed the reason why hoverfly is unhappy.
Looking closer, it appears that it fails to link libldap
unless libssl is also present; so the problem was my
idea of clearing LIBS before making the check.  Revert
to essentially the original coding, except that instead
of failing when libldap_r isn't there, use libldap.

Per buildfarm member hoverfly.

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