Fix SSL/TLS support for OpenLDAP
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@588 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
af8511ee37
commit
c85d42a523
|
@ -890,6 +890,7 @@ if (test x$enable_ldap = xyes); then
|
||||||
saved_LIBS="$LIBS"
|
saved_LIBS="$LIBS"
|
||||||
LIBS="$LIBS $LIBLDAP"
|
LIBS="$LIBS $LIBLDAP"
|
||||||
AC_CHECK_LIB(ldap, ldap_search, LIBLDAP="-lldap $LIBLDAP" found_ldap_lib=yes)
|
AC_CHECK_LIB(ldap, ldap_search, LIBLDAP="-lldap $LIBLDAP" found_ldap_lib=yes)
|
||||||
|
AC_CHECK_LIB(ldap, ldap_start_tls_s, LIBLDAP="-lssl $LIBLDAP" need_ssl_lib=yes)
|
||||||
LIBS="$saved_LIBS"
|
LIBS="$saved_LIBS"
|
||||||
fi
|
fi
|
||||||
if test -z "$found_ldap_lib" -a \( $with_ldap_lib = auto -o $with_ldap_lib = netscape5 \); then
|
if test -z "$found_ldap_lib" -a \( $with_ldap_lib = auto -o $with_ldap_lib = netscape5 \); then
|
||||||
|
|
Loading…
Reference in New Issue