diff options
author | Damien Miller <djm@mindrot.org> | 1999-11-15 14:25:30 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-11-15 14:25:30 +1100 |
commit | d05a247953572b5aa9c28f48410cb3608dfc118f (patch) | |
tree | 1244dada84f16b4143e5e74498b68899b6937e67 /configure.in | |
parent | 44b4e49eb79e835060324fc2e2392bb286a05fea (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.in | 23 |
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 | |||
109 | fi | 109 | fi |
110 | 110 | ||
111 | dnl Check whether use wants to disable the external ssh-askpass | 111 | dnl Check whether use wants to disable the external ssh-askpass |
112 | INSTALL_ASKPASS="yes" | ||
113 | AC_MSG_CHECKING([whether to enable external ssh-askpass support]) | ||
112 | AC_ARG_WITH(askpass, | 114 | AC_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 | ) |
117 | AC_SUBST(INSTALL_ASKPASS) | 125 | |
126 | if test "x$INSTALL_ASKPASS" = "xyes" ; then | ||
127 | AC_DEFINE(USE_EXTERNAL_ASKPASS) | ||
128 | AC_SUBST(INSTALL_ASKPASS) | ||
129 | AC_MSG_RESULT(yes) | ||
130 | else | ||
131 | AC_MSG_RESULT(no) | ||
132 | fi | ||
118 | 133 | ||
119 | AC_OUTPUT(Makefile) | 134 | AC_OUTPUT(Makefile) |