diff options
author | corvid <devnull@localhost> | 2016-07-03 21:34:10 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2016-07-03 21:34:10 +0000 |
commit | dc0280859b8aea3c571f746471891c42d44050b5 (patch) | |
tree | 7d202892fc5223a450146ccdf008a733ac5cbc0f /configure.ac | |
parent | 1290e4a8914471bf1dd28ea6863e86967a81270b (diff) |
workaround for mbed TLS 2.3.0 include problem
reported by Nick Warne http://lists.dillo.org/pipermail/dillo-dev/2016-July/010941.html
checking mbedtls/ssl.h usability... no
checking mbedtls/ssl.h presence... yes
configure: WARNING: mbedtls/ssl.h: present but cannot be compiled
configure: WARNING: mbedtls/ssl.h: check for missing prerequisite headers?
configure: WARNING: mbedtls/ssl.h: see the Autoconf documentation
configure: WARNING: mbedtls/ssl.h: section "Present But Cannot Be Compiled"
configure: WARNING: mbedtls/ssl.h: proceeding with the compiler's result checking for mbedtls/ssl.h... no
configure: WARNING: *** mbed TLS 2 not found. Disabling SSL/HTTPS/TLS support. ***
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 23d4abdd..09b5bf5d 100644 --- a/configure.ac +++ b/configure.ac @@ -294,7 +294,9 @@ dnl Test for support for SSL/TLS dnl -------------------------- dnl if test "x$enable_ssl" = "xyes"; then - AC_CHECK_HEADER(mbedtls/ssl.h, ssl_ok=yes, ssl_ok=no) + AC_CHECK_HEADER(mbedtls/ssl.h, ssl_ok=yes, ssl_ok=no, + [#include <mbedtls/platform.h>]) +dnl In mbed TLS 2.3.0, ssl.h needs platform.h but fails to include it. if test "x$ssl_ok" = "xyes"; then old_libs="$LIBS" |