From 38bffb7f99d9f0c8dc2a784edc3aa4af96a5a2ae Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Mon, 13 Dec 2021 10:04:49 +0000 Subject: [PATCH] configure.ac: Fix have mbedtls lib, but no mbedtls-dev issue Do not make it a hard error if mbedtls library exists, but the mbedtls development environment is missing. Just remove mbedtls support if this is the case. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 918ccddc..ea4b2d97 100644 --- a/configure.ac +++ b/configure.ac @@ -415,7 +415,8 @@ if test "x$build_dtls" = "xyes"; then return 0; }]])], [mbedtls_version=$(./conftest$EXEEXT)], - [AC_MSG_ERROR(Failed to determine Mbed TLS version)]) + [AC_MSG_WARN(Failed to determine Mbed TLS version) + have_mbedtls=no]) LIBS=$local_MbedTLS_save_LIBS AC_LANG_POP(C) fi