From 799f97ceeea6589d3127a4051f745fc5c64342d5 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Sat, 16 Apr 2005 18:20:01 +0000 Subject: [PATCH] * configure.ac: Add --disable-old-hkp option that can be used along with --with-libcurl to build the curl version of HKP. --- ChangeLog | 5 +++++ configure.ac | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index c0f4f55e8..29d973eee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-04-16 David Shaw + + * configure.ac: Add --disable-old-hkp option that can be used + along with --with-libcurl to build the curl version of HKP. + 2005-04-12 David Shaw * configure.ac: Check for memrchr() diff --git a/configure.ac b/configure.ac index 0656284cd..e27f5aedd 100644 --- a/configure.ac +++ b/configure.ac @@ -635,6 +635,8 @@ fi # Are we doing HTTP? +old_hkp=yes + if test x"$try_http" = xyes ; then if test x$libcurl_protocol_HTTP = xyes ; then AC_SUBST(GPGKEYS_CURL,"gpgkeys_curl$EXEEXT") @@ -642,11 +644,17 @@ if test x"$try_http" = xyes ; then if test x$libcurl_protocol_HTTPS = xyes ; then AC_DEFINE(HTTPS_VIA_LIBCURL,1,[Define if HTTPS is handled via libcurl]) fi + + AC_ARG_ENABLE(old-hkp, + AC_HELP_STRING([--disable-old-hkp],[disable old HKP processing code and use the new]),old_hkp=$enableval) + else AC_SUBST(GPGKEYS_HTTP,"gpgkeys_http$EXEEXT") fi fi +AM_CONDITIONAL(OLD_HKP,test x"$old_hkp" != xno) + # Are we doing FTP? We only do FTP if we have libcurl. if test x"$try_ftp" = xyes && test x$libcurl_protocol_FTP = xyes ; then