mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-03-16 03:29:17 +01:00
Check for ykclient-2.4+, since we use new ca_path function.
This commit is contained in:
parent
bdfa3891e2
commit
ff14ae114c
@ -59,9 +59,9 @@ AC_ARG_WITH([ldap],
|
|||||||
|
|
||||||
|
|
||||||
AC_LIB_HAVE_LINKFLAGS([ykclient],, [#include <ykclient.h>],
|
AC_LIB_HAVE_LINKFLAGS([ykclient],, [#include <ykclient.h>],
|
||||||
[ykclient_set_client_b64 (0, 0, 0);])
|
[ykclient_set_ca_path(0, 0)])
|
||||||
if test "$ac_cv_libykclient" != yes; then
|
if test "$ac_cv_libykclient" != yes; then
|
||||||
AC_MSG_ERROR([[Libykclient v2.3+ required, see http://code.google.com/p/yubico-c-client/]])
|
AC_MSG_ERROR([[Libykclient v2.4+ required, see http://code.google.com/p/yubico-c-client/]])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(PAMDIR, "\$(exec_prefix)/lib/security")
|
AC_SUBST(PAMDIR, "\$(exec_prefix)/lib/security")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user