From 8d9b27d8e11df4c37f3a10fd1d17b3484a401229 Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Sat, 17 Sep 2022 02:58:16 +0200 Subject: Link against openssl if it is available --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d95cc64e..a82dcf22 100644 --- a/configure.ac +++ b/configure.ac @@ -541,8 +541,9 @@ if ! test x"$with_openssl" = x"no"; then if test "$ac_cv_lib_crypto_CRYPTO_new_ex_data" = "yes"; then dnl Check for SSL lib AC_CHECK_LIB(ssl,main, SSLLIBS="-lssl -lcrypto",,-lcrypto) + else + LIBS="$_SAVEDLIBS" fi - LIBS="$_SAVEDLIBS" dnl test headers and libs to decide whether check_http should use SSL if test "$ac_cv_lib_crypto_CRYPTO_new_ex_data" = "yes"; then -- cgit v1.2.3-74-g34f1