diff options
author | Damien Miller <djm@mindrot.org> | 2020-07-03 15:28:27 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-07-03 15:28:27 +1000 |
commit | 6fcfd303d67f16695198cf23d109a988e40eefb6 (patch) | |
tree | 3d731093e68146e3e33abbe021081513a058afe0 /configure.ac | |
parent | f11b23346309e4d5138e733a49321aedd6eeaa2f (diff) |
add check for fido_cred_set_prot() to configure
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d6edb24f2..c03db2732 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -3176,6 +3176,9 @@ if test "x$enable_sk" = "xyes" -a "x$enable_sk_internal" = "xyes" ; then | |||
3176 | ], [ AC_MSG_ERROR([no usable libfido2 found]) ], | 3176 | ], [ AC_MSG_ERROR([no usable libfido2 found]) ], |
3177 | [ $OTHERLIBS ] | 3177 | [ $OTHERLIBS ] |
3178 | ) | 3178 | ) |
3179 | AC_CHECK_LIB([fido2], [fido_cred_set_prot], [], | ||
3180 | [ AC_MSG_ERROR([libfido2 missing fido_cred_set_prot; please use libfido2 >= 1.4.0]) ], | ||
3181 | ) | ||
3179 | AC_CHECK_HEADER([fido.h], [], | 3182 | AC_CHECK_HEADER([fido.h], [], |
3180 | AC_MSG_ERROR([missing fido.h from libfido2])) | 3183 | AC_MSG_ERROR([missing fido.h from libfido2])) |
3181 | AC_CHECK_HEADER([fido/credman.h], [], | 3184 | AC_CHECK_HEADER([fido/credman.h], [], |