diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-16 11:29:45 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-16 11:29:45 +0300 |
commit | feb04e725cc6a87f0beb3abebb44789830a86a6b (patch) | |
tree | 11a2e993b4e8e053d8d16d3061512d2050470bcb /configure.ac | |
parent | 21f90d552f5781326f3cb898dc2c56d652b73e14 (diff) | |
download | libmicrohttpd-feb04e725cc6a87f0beb3abebb44789830a86a6b.tar.gz libmicrohttpd-feb04e725cc6a87f0beb3abebb44789830a86a6b.zip |
Additional fix for old gnutls versions
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 68f8f0d3..e9a15565 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -2645,9 +2645,18 @@ AS_VAR_IF([have_gnutls], ["yes"], | |||
2645 | ) | 2645 | ) |
2646 | ] | 2646 | ] |
2647 | ) | 2647 | ) |
2648 | AC_CACHE_CHECK([for gnutls-cli binary], [mhd_cv_gnutls_cli], | ||
2649 | [ | ||
2650 | mhd_cv_gnutls_cli="no" | ||
2651 | AS_IF([command -v gnutls-cli >/dev/null 2>&1], | ||
2652 | [AS_IF([AC_RUN_LOG([gnutls-cli --version >&2])], [mhd_cv_gnutls_cli="yes"])] | ||
2653 | ) | ||
2654 | ] | ||
2655 | ) | ||
2648 | ] | 2656 | ] |
2649 | ) | 2657 | ) |
2650 | AM_CONDITIONAL([HAVE_GNUTLS_MTHREAD_BROKEN], [[test "x${mhd_cv_gnutls_mthread_broken}" = "xfound"]]) | 2658 | AM_CONDITIONAL([HAVE_GNUTLS_MTHREAD_BROKEN], [[test "x${mhd_cv_gnutls_mthread_broken}" = "xfound"]]) |
2659 | AM_CONDITIONAL([USE_UPGRADE_TLS_TESTS], [[test "x${mhd_cv_gnutls_mthread_broken}" = "xno" || test "x${mhd_cv_gnutls_cli}" == "xyes"]]) | ||
2651 | 2660 | ||
2652 | # optional: HTTP Basic Auth support. Enabled by default | 2661 | # optional: HTTP Basic Auth support. Enabled by default |
2653 | AC_MSG_CHECKING([[whether to support HTTP basic authentication]]) | 2662 | AC_MSG_CHECKING([[whether to support HTTP basic authentication]]) |