]> granicus.if.org Git - curl/commitdiff
acinclude: add additional libraries to check for LDAP support
authorMichael Felt <michael@felt.demon.nl>
Thu, 21 Feb 2019 13:34:49 +0000 (13:34 +0000)
committerJay Satiro <raysatiro@yahoo.com>
Mon, 25 Feb 2019 06:48:00 +0000 (01:48 -0500)
- 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

acinclude.m4

index 982d38e5617072f6b646d417d43be63be1e7ce44..41909dec78cac059986512164df127473acbdf06 100644 (file)
@@ -791,7 +791,9 @@ AC_DEFUN([CURL_CHECK_LIBS_LDAP], [
     '-lldap -llber' \
     '-llber -lldap' \
     '-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 -z "$x_nlibs"; then
         LIBS="$curl_cv_save_LIBS"