Module: monitoring-plugins Branch: gnulib_2022 Commit: 8d9b27d8e11df4c37f3a10fd1d17b3484a401229 Author: RincewindsHat <12514511+rincewinds...@users.noreply.github.com> Date: Sat Sep 17 02:58:16 2022 +0200 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=8d9b27d
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 d95cc64..a82dcf2 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