add check for fido_cred_set_prot() to configure

This commit is contained in:
Damien Miller 2020-07-03 15:28:27 +10:00
parent f11b233463
commit 6fcfd303d6
1 changed files with 3 additions and 0 deletions

View File

@ -3176,6 +3176,9 @@ if test "x$enable_sk" = "xyes" -a "x$enable_sk_internal" = "xyes" ; then
], [ AC_MSG_ERROR([no usable libfido2 found]) ],
[ $OTHERLIBS ]
)
AC_CHECK_LIB([fido2], [fido_cred_set_prot], [],
[ AC_MSG_ERROR([libfido2 missing fido_cred_set_prot; please use libfido2 >= 1.4.0]) ],
)
AC_CHECK_HEADER([fido.h], [],
AC_MSG_ERROR([missing fido.h from libfido2]))
AC_CHECK_HEADER([fido/credman.h], [],