2021-02-05 11:00:21 +01:00
|
|
|
From 13da2bcde8e22dd0127a668374fdf79bed04d353 Mon Sep 17 00:00:00 2001
|
2018-09-17 22:39:12 +02:00
|
|
|
From: Bart Van Assche <bvanassche@acm.org>
|
|
|
|
Date: Mon, 17 Sep 2018 07:33:34 -0700
|
2021-02-05 11:00:21 +01:00
|
|
|
Subject: [PATCH] configure: Fix -lcrypto -lz test
|
2018-09-17 22:39:12 +02:00
|
|
|
|
|
|
|
Avoid that the second crypto library test uses the cached result from
|
|
|
|
the first test by explicitly clearing the cached test result.
|
|
|
|
|
2021-02-05 11:00:21 +01:00
|
|
|
[yann.morin.1998@free.fr:
|
|
|
|
- use an actual backport of 13da2bcde8e22dd0127a668374fdf79bed04d353
|
|
|
|
]
|
|
|
|
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
|
2018-09-17 22:39:12 +02:00
|
|
|
---
|
|
|
|
configure | 1 +
|
|
|
|
configure.d/config_os_libs2 | 1 +
|
|
|
|
2 files changed, 2 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/configure b/configure
|
2021-02-05 11:00:21 +01:00
|
|
|
index 1116cecaad..33b8c93e57 100755
|
2018-09-17 22:39:12 +02:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
|
|
|
@@ -23231,6 +23231,7 @@ if test "x$ac_cv_lib_crypto_EVP_md5" = xyes; then :
|
|
|
|
CRYPTO="crypto"; LIBCRYPTO="-lcrypto"
|
|
|
|
else
|
|
|
|
|
|
|
|
+ unset ac_cv_lib_crypto_EVP_md5
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_md5 in -lcrypto" >&5
|
|
|
|
$as_echo_n "checking for EVP_md5 in -lcrypto... " >&6; }
|
|
|
|
if ${ac_cv_lib_crypto_EVP_md5+:} false; then :
|
|
|
|
diff --git a/configure.d/config_os_libs2 b/configure.d/config_os_libs2
|
2021-02-05 11:00:21 +01:00
|
|
|
index 75214cfff3..81788a2096 100644
|
2018-09-17 22:39:12 +02:00
|
|
|
--- a/configure.d/config_os_libs2
|
|
|
|
+++ b/configure.d/config_os_libs2
|
|
|
|
@@ -308,6 +308,7 @@ if test "x$tryopenssl" != "xno" -a "x$tryopenssl" != "xinternal"; then
|
|
|
|
if test x$CRYPTO = x; then
|
|
|
|
AC_CHECK_LIB([crypto], [EVP_md5],
|
|
|
|
[CRYPTO="crypto"; LIBCRYPTO="-lcrypto"], [
|
|
|
|
+ unset ac_cv_lib_crypto_EVP_md5
|
|
|
|
AC_CHECK_LIB([crypto], [EVP_md5],
|
|
|
|
[CRYPTO="crypto"; LIBCRYPTO="-lcrypto -lz"], [],
|
|
|
|
[-lz])
|
|
|
|
--
|
2021-02-05 11:00:21 +01:00
|
|
|
2.25.1
|
2018-09-17 22:39:12 +02:00
|
|
|
|