summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--configure.ac12
2 files changed, 12 insertions, 1 deletions
diff --git a/README.md b/README.md
index 412adcecb..4a393295d 100644
--- a/README.md
+++ b/README.md
@@ -66,6 +66,7 @@ Flag | Meaning
66``--with-libedit`` | Enable [libedit](https://www.thrysoee.dk/editline/) support for sftp. 66``--with-libedit`` | Enable [libedit](https://www.thrysoee.dk/editline/) support for sftp.
67``--with-kerberos5`` | Enable Kerberos/GSSAPI support. Both [Heimdal](https://www.h5l.org/) and [MIT](https://web.mit.edu/kerberos/) Kerberos implementations are supported. 67``--with-kerberos5`` | Enable Kerberos/GSSAPI support. Both [Heimdal](https://www.h5l.org/) and [MIT](https://web.mit.edu/kerberos/) Kerberos implementations are supported.
68``--with-selinux`` | Enable [SELinux](https://en.wikipedia.org/wiki/Security-Enhanced_Linux) support. 68``--with-selinux`` | Enable [SELinux](https://en.wikipedia.org/wiki/Security-Enhanced_Linux) support.
69``--with-security-key-builtin`` | Include built-in support for U2F/FIDO2 security keys. This requires [libfido2](https://github.com/Yubico/libfido2) be installed.
69 70
70## Development 71## Development
71 72
diff --git a/configure.ac b/configure.ac
index 3814db66b..0c2882b1a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1908,6 +1908,16 @@ AC_ARG_ENABLE([security-key],
1908 fi 1908 fi
1909 ] 1909 ]
1910) 1910)
1911enable_sk_internal=
1912AC_ARG_WITH([security-key-builtin],
1913 [ --with-security-key-builtin include builtin U2F/FIDO support],
1914 [
1915 if test "x$withval" != "xno" ; then
1916 enable_sk_internal=yes
1917 fi
1918 ]
1919)
1920test "x$disable_sk" != "x" && enable_sk_internal=""
1911 1921
1912AC_SEARCH_LIBS([dlopen], [dl]) 1922AC_SEARCH_LIBS([dlopen], [dl])
1913AC_CHECK_FUNCS([dlopen]) 1923AC_CHECK_FUNCS([dlopen])
@@ -3062,7 +3072,7 @@ fi
3062AC_MSG_RESULT([$enable_sk]) 3072AC_MSG_RESULT([$enable_sk])
3063 3073
3064# Now check for built-in security key support. 3074# Now check for built-in security key support.
3065if test "x$enable_sk" = "xyes" ; then 3075if test "x$enable_sk" = "xyes" -a "x$enable_sk_internal" = "xyes" ; then
3066 AC_PATH_TOOL([PKGCONFIG], [pkg-config], [no]) 3076 AC_PATH_TOOL([PKGCONFIG], [pkg-config], [no])
3067 use_pkgconfig_for_libfido2= 3077 use_pkgconfig_for_libfido2=
3068 if test "x$PKGCONFIG" != "xno"; then 3078 if test "x$PKGCONFIG" != "xno"; then