diff options
author | David Shaw <[email protected]> | 2005-02-11 17:46:15 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2005-02-11 17:46:15 +0000 |
commit | 8ba44ec18005b8cd25c0d303c1d3dfbedd42a691 (patch) | |
tree | 4f8795882937931f9b2f7fd6625ee2de8865a283 /configure.ac | |
parent | Disable the "quick check" bytes for PK decryptions. This is in (diff) | |
download | gnupg-8ba44ec18005b8cd25c0d303c1d3dfbedd42a691.tar.gz gnupg-8ba44ec18005b8cd25c0d303c1d3dfbedd42a691.zip |
* configure.ac: Add --enable-fake-curl option to help test no-curl HTTP.
* NEWS: Note Mister/Zuccherato CFB countermeasures.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 12da089c8..8131799b0 100644 --- a/configure.ac +++ b/configure.ac @@ -645,11 +645,19 @@ AC_SUBST(GPGKEYS_LDAP) AC_SUBST(LDAPLIBS) AM_CONDITIONAL(GPGKEYS_LDAP, test "$GPGKEYS_LDAP" != "") -# If we have neither FTP or HTTP defined, then don't bother to check -# for curl. +AC_ARG_ENABLE(fake-curl, + AC_HELP_STRING([--enable-fake-curl],[enable EXPERIMENTAL no-curl HTTP code]),fake_curl=$enableval,fake_curl=no) -if test "$try_ftp" = yes || test "$try_http" = yes ; then - LIBCURL_CHECK_CONFIG([no],,[have_libcurl=yes]) +AM_CONDITIONAL(FAKE_CURL,test x"$fake_curl" = xyes) + +if test x"$fake_curl" = xyes ; then + libcurl_protocol_HTTP=yes +else + # If we have neither FTP or HTTP defined, then don't bother to check + # for curl. + if test x"$try_ftp" = xyes || test x"$try_http" = xyes ; then + LIBCURL_CHECK_CONFIG([no]) + fi fi # Are we doing HTTP? |