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

let configure script check for ykclient_set_proxy()

since it's the last symbol added to ykclient that we need, from 2.15.
This commit is contained in:
Klas Lindfors 2016-04-18 20:56:48 +02:00
parent 2343b25d23
commit 7c371a0d62

View File

@ -69,9 +69,9 @@ AC_ARG_WITH([ldap],
AC_LIB_HAVE_LINKFLAGS([ykclient],, [#include <ykclient.h>],
[ykclient_set_url_bases(0, 0, 0)])
[ykclient_set_proxy(0, 0)])
if test "$ac_cv_libykclient" != yes; then
AC_MSG_ERROR([[Libykclient v2.12+ required, see https://developers.yubico.com/yubico-c-client/]])
AC_MSG_ERROR([[Libykclient v2.15+ required, see https://developers.yubico.com/yubico-c-client/]])
fi
AC_LIB_HAVE_LINKFLAGS(yubikey,, [#include <yubikey.h>],