1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-02-17 21:54:15 +01:00

Check for better symbol in -lldap.

This commit is contained in:
Simon Josefsson 2009-02-11 16:56:32 +00:00
parent a6043192e6
commit eee6e60a2e

View File

@ -49,7 +49,7 @@ AC_ARG_WITH([ldap],
LIBLDAP=
AS_IF([test "x$with_ldap" != xno],
[AC_CHECK_LIB([ldap], [main],
[AC_CHECK_LIB([ldap], [ldap_init],
[AC_SUBST([LIBLDAP], ["-lldap -llber"])
AC_DEFINE([HAVE_LIBLDAP], [1],
[Define if you have libldap])