summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-15 14:25:30 +1100
committerDamien Miller <djm@mindrot.org>1999-11-15 14:25:30 +1100
commitd05a247953572b5aa9c28f48410cb3608dfc118f (patch)
tree1244dada84f16b4143e5e74498b68899b6937e67 /configure.in
parent44b4e49eb79e835060324fc2e2392bb286a05fea (diff)
- Merged OpenBSD CVS changes:
- [ssh-add.c] change passphrase loop logic and remove ref to $DISPLAY, ok niels - Changed to ssh-add.c broke askpass support. Revised it to be a little more modular. - Revised autoconf support for enabling/disabling askpass support.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in23
1 files changed, 19 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index cd0c9a3de..ace3aaaa3 100644
--- a/configure.in
+++ b/configure.in
@@ -109,11 +109,26 @@ if test -z "$RANDOM_POOL" -a -z "$EGD_POOL"; then
109fi 109fi
110 110
111dnl Check whether use wants to disable the external ssh-askpass 111dnl Check whether use wants to disable the external ssh-askpass
112INSTALL_ASKPASS="yes"
113AC_MSG_CHECKING([whether to enable external ssh-askpass support])
112AC_ARG_WITH(askpass, 114AC_ARG_WITH(askpass,
113 [ --without-askpass Disable external ssh-askpass support], 115 [ --with-askpass=yes/no Enable external ssh-askpass support (default=yes)],
114 [AC_DEFINE(DISABLE_EXTERNAL_ASKPASS)], 116 [
115 [INSTALL_ASKPASS="yes"] 117 if test x$withval = xno ; then
118 INSTALL_ASKPASS="no"
119 else
120 INSTALL_ASKPASS="yes"
121 fi
122
123 ]
116) 124)
117AC_SUBST(INSTALL_ASKPASS) 125
126if test "x$INSTALL_ASKPASS" = "xyes" ; then
127 AC_DEFINE(USE_EXTERNAL_ASKPASS)
128 AC_SUBST(INSTALL_ASKPASS)
129 AC_MSG_RESULT(yes)
130else
131 AC_MSG_RESULT(no)
132fi
118 133
119AC_OUTPUT(Makefile) 134AC_OUTPUT(Makefile)