summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMichael Felt <michael@felt.demon.nl>2019-02-21 13:34:49 +0000
committerJay Satiro <raysatiro@yahoo.com>2019-02-25 01:48:00 -0500
commit66637b4d8fbc52aa1b57845cf45c7ccc7a95880f (patch)
treeab1a843f5b2890e63dfba6860b70094d8d24e97a /acinclude.m4
parent531b7ad43a7804d6fdaece570fc39b954373a4a9 (diff)
downloadcurl-66637b4d8fbc52aa1b57845cf45c7ccc7a95880f.tar.gz
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
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 982d38e56..41909dec7 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -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"