aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8117b1ee2..73a233175 100644
--- a/configure.ac
+++ b/configure.ac
@@ -323,6 +323,13 @@ dnl LDAP is defined only after we confirm the library is available later
try_finger=$enableval, try_finger=yes)
AC_MSG_RESULT($try_finger)
+ AC_MSG_CHECKING([whether ftp key fetching support is requested])
+ AC_ARG_ENABLE(ftp,
+ AC_HELP_STRING([--enable-ftp],
+ [enable ftp key fetching interface only]),
+ try_ftp=$enableval, try_ftp=no)
+ AC_MSG_RESULT($try_ftp)
+
AC_MSG_CHECKING([whether email keyserver support is requested])
AC_ARG_ENABLE(mailto,
AC_HELP_STRING([--disable-mailto],
@@ -641,6 +648,14 @@ AC_SUBST(GPGKEYS_LDAP)
AC_SUBST(LDAPLIBS)
AM_CONDITIONAL(GPGKEYS_LDAP, test "$GPGKEYS_LDAP" != "")
+if test "$try_ftp" = yes ; then
+ GNUPG_CHECK_LIBCURL
+
+ if test x"$have_libcurl" = xyes ; then
+ AC_SUBST(GPGKEYS_FTP,"gpgkeys_ftp$EXEEXT")
+ fi
+fi
+
dnl This isn't necessarily sendmail itself, but anything that gives a
dnl sendmail-ish interface to the outside world. That includes qmail,
dnl postfix, etc. Basically, anything that can handle "sendmail -t".