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:
aet 2002-04-26 06:35:57 +00:00
parent af8511ee37
commit c85d42a523
1 changed files with 1 additions and 0 deletions

View File

@ -890,6 +890,7 @@ if (test x$enable_ldap = xyes); then
saved_LIBS="$LIBS"
LIBS="$LIBS $LIBLDAP"
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"
fi
if test -z "$found_ldap_lib" -a \( $with_ldap_lib = auto -o $with_ldap_lib = netscape5 \); then