As always, CVS leaves out the local directory?
authorDavid Shaw <dshaw@jabberwocky.com>
Tue, 21 Dec 2004 23:40:51 +0000 (23:40 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Tue, 21 Dec 2004 23:40:51 +0000 (23:40 +0000)
ChangeLog
configure.ac

index 4213450..6820a3d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-21  David Shaw  <dshaw@jabberwocky.com>
+
+       * configure.ac: Add check for --enable-ftp.  It is disabled by
+       default for now.
+
 2004-12-18  David Shaw  <dshaw@jabberwocky.com>
 
        * configure.ac: Call the new GNUPG_CHECK_READLINE macro for
index 8117b1e..73a2331 100644 (file)
@@ -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".