1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-15 05:55:04 -05:00

acinclude: add additional libraries to check for LDAP support

- Add an additional check for LDAP that also checks for OpenSSL since
  on AIX those libraries may be required to link LDAP properly.

Fixes https://github.com/curl/curl/issues/3595
Closes https://github.com/curl/curl/pull/3596
This commit is contained in:
Michael Felt 2019-02-21 13:34:49 +00:00 committed by Jay Satiro
parent 531b7ad43a
commit 66637b4d8f

View File

@ -791,7 +791,9 @@ AC_DEFUN([CURL_CHECK_LIBS_LDAP], [
'-lldap -llber' \ '-lldap -llber' \
'-llber -lldap' \ '-llber -lldap' \
'-lldapssl -lldapx -lldapsdk' \ '-lldapssl -lldapx -lldapsdk' \
'-lldapsdk -lldapx -lldapssl' ; do '-lldapsdk -lldapx -lldapssl' \
'-lldap -llber -lssl -lcrypto' ; do
if test "$curl_cv_ldap_LIBS" = "unknown"; then if test "$curl_cv_ldap_LIBS" = "unknown"; then
if test -z "$x_nlibs"; then if test -z "$x_nlibs"; then
LIBS="$curl_cv_save_LIBS" LIBS="$curl_cv_save_LIBS"