From 0c131e9942c46cf29ecf69b63dc29b63dd2e05fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Eivind=20N=C3=A6ss?= Date: Thu, 21 Dec 2023 01:29:29 -0800 Subject: [PATCH] Fix problem where the detection of openssl failed when pkgconfig isn't available (#468) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Eivind Næss --- m4/ax_check_openssl.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/ax_check_openssl.m4 b/m4/ax_check_openssl.m4 index 39154c8..de8c524 100644 --- a/m4/ax_check_openssl.m4 +++ b/m4/ax_check_openssl.m4 @@ -68,7 +68,7 @@ AC_DEFUN([AX_CHECK_OPENSSL], [ fi ]) - AS_IF([test "${with_openssl}" != "no" && test ! ${found}], [ + AS_IF([test "${with_openssl}" != "no" && test "${found}" != "true"], [ OPENSSL_INCLUDES= for ssldir in $ssldirs; do AC_MSG_CHECKING([for openssl/ssl.h in $ssldir]) @@ -84,7 +84,7 @@ AC_DEFUN([AX_CHECK_OPENSSL], [ ]) done]) - AS_IF([test "${with_openssl}" != "no" && test ${found}], [ + AS_IF([test "${with_openssl}" != "no" && test "${found}" = "true" ], [ # try the preprocessor and linker with our new flags, # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS -- 2.39.2