summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2020-03-14 20:58:46 +1100
committerDarren Tucker <dtucker@dtucker.net>2020-03-14 20:58:46 +1100
commit0eaca933ae08b0a515edfccd5cc4a6b667034813 (patch)
tree787cd7542e72535fdef6902c48dc32228e69653c
parentc7c099060f82ffe6a36d8785ecf6052e12fd92f0 (diff)
Include fido.h when checking for fido/credman.h.
It's required for fido_dev_t, otherwise configure fails with when given --with-security-key-builtin.
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a5c5c624..de6ad127 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3117,7 +3117,9 @@ if test "x$enable_sk" = "xyes" -a "x$enable_sk_internal" = "xyes" ; then
AC_CHECK_HEADER([fido.h], [],
AC_MSG_ERROR([missing fido.h from libfido2]))
AC_CHECK_HEADER([fido/credman.h], [],
- AC_MSG_ERROR([missing fido/credman.h from libfido2]))
+ AC_MSG_ERROR([missing fido/credman.h from libfido2]),
+ [#include <fido.h>]
+ )
fi
AC_CHECK_FUNCS([ \