summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2022-09-17 00:58:16 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2022-09-17 00:58:16 (GMT)
commit8d9b27d8e11df4c37f3a10fd1d17b3484a401229 (patch)
tree13d19661641de7401a05546befed084b3f5c1dd7
parent14f3305df20093bc897ccb9f4a91a572ea08e4d4 (diff)
downloadmonitoring-plugins-8d9b27d.tar.gz
Link against openssl if it is available
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
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
541 if test "$ac_cv_lib_crypto_CRYPTO_new_ex_data" = "yes"; then 541 if test "$ac_cv_lib_crypto_CRYPTO_new_ex_data" = "yes"; then
542 dnl Check for SSL lib 542 dnl Check for SSL lib
543 AC_CHECK_LIB(ssl,main, SSLLIBS="-lssl -lcrypto",,-lcrypto) 543 AC_CHECK_LIB(ssl,main, SSLLIBS="-lssl -lcrypto",,-lcrypto)
544 else
545 LIBS="$_SAVEDLIBS"
544 fi 546 fi
545 LIBS="$_SAVEDLIBS"
546 547
547 dnl test headers and libs to decide whether check_http should use SSL 548 dnl test headers and libs to decide whether check_http should use SSL
548 if test "$ac_cv_lib_crypto_CRYPTO_new_ex_data" = "yes"; then 549 if test "$ac_cv_lib_crypto_CRYPTO_new_ex_data" = "yes"; then