summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2020-05-13 13:56:45 +1000
committerDarren Tucker <dtucker@dtucker.net>2020-05-13 13:56:45 +1000
commit08ce6b2210f46f795e7db747809f8e587429dfd2 (patch)
treeaa89e1cd8813a3ed289950ebbbd3d1bfc643b5a2 /configure.ac
parent102d106bc2e50347d0e545fad6ff5ce408d67247 (diff)
Skip building sk-dummy library if no SK support.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 003b235e5..460383757 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3137,6 +3137,10 @@ AC_MSG_RESULT([$enable_pkcs11])
3137AC_MSG_CHECKING([whether to enable U2F]) 3137AC_MSG_CHECKING([whether to enable U2F])
3138if test "x$enable_sk" = "xyes" ; then 3138if test "x$enable_sk" = "xyes" ; then
3139 AC_DEFINE([ENABLE_SK], [], [Enable for U2F/FIDO support]) 3139 AC_DEFINE([ENABLE_SK], [], [Enable for U2F/FIDO support])
3140 AC_SUBST(SK_DUMMY_LIBRARY, [regress/misc/sk-dummy/sk-dummy.so])
3141else
3142 # Do not try to build sk-dummy library.
3143 AC_SUBST(SK_DUMMY_LIBRARY, [""])
3140fi 3144fi
3141AC_MSG_RESULT([$enable_sk]) 3145AC_MSG_RESULT([$enable_sk])
3142 3146