summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
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)