1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-11 21:48:50 +01:00

* configure.ac: Add --disable-old-hkp option that can be used along

with --with-libcurl to build the curl version of HKP.
This commit is contained in:
David Shaw 2005-04-16 18:20:01 +00:00
parent 40a9c998b3
commit 799f97ceee
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-04-16 David Shaw <dshaw@jabberwocky.com>
* 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 <dshaw@jabberwocky.com> 2005-04-12 David Shaw <dshaw@jabberwocky.com>
* configure.ac: Check for memrchr() * configure.ac: Check for memrchr()

View File

@ -635,6 +635,8 @@ fi
# Are we doing HTTP? # Are we doing HTTP?
old_hkp=yes
if test x"$try_http" = xyes ; then if test x"$try_http" = xyes ; then
if test x$libcurl_protocol_HTTP = xyes ; then if test x$libcurl_protocol_HTTP = xyes ; then
AC_SUBST(GPGKEYS_CURL,"gpgkeys_curl$EXEEXT") 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 if test x$libcurl_protocol_HTTPS = xyes ; then
AC_DEFINE(HTTPS_VIA_LIBCURL,1,[Define if HTTPS is handled via libcurl]) AC_DEFINE(HTTPS_VIA_LIBCURL,1,[Define if HTTPS is handled via libcurl])
fi 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 else
AC_SUBST(GPGKEYS_HTTP,"gpgkeys_http$EXEEXT") AC_SUBST(GPGKEYS_HTTP,"gpgkeys_http$EXEEXT")
fi fi
fi fi
AM_CONDITIONAL(OLD_HKP,test x"$old_hkp" != xno)
# Are we doing FTP? We only do FTP if we have libcurl. # 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 if test x"$try_ftp" = xyes && test x$libcurl_protocol_FTP = xyes ; then