summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-06-17 10:41:22 -0400
committerNick Mathewson <nickm@torproject.org>2015-06-17 10:41:22 -0400
commitb9b658e727520d947e6c14475ee22e8606e9f062 (patch)
tree76a1997f4787d5879b2e3a57ac25f865fe426a60 /configure.ac
parent8d44ce910ddb00d6a9c18b912f2b027f822e5dc1 (diff)
downloadtor-b9b658e727520d947e6c14475ee22e8606e9f062.tar.gz
tor-b9b658e727520d947e6c14475ee22e8606e9f062.zip
Add the openssh 6.8p1 readpassphrase implementation
This way glibc users don't have to fall back to getpass. Windows users are still out of luck
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 195e56fc93..23d4c98f5d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -423,6 +423,8 @@ if test "$bwin32" != true; then
AC_CHECK_FUNCS(pthread_create)
fi
+AM_CONDITIONAL(BUILD_READPASSPHRASE_C, test x$ac_cv_func_readpassphrase = xno && test $bwin32 = false)
+
dnl ------------------------------------------------------
dnl Where do you live, libevent? And how do we call you?