From d951cd34bf2c55ef216fc7ad341601fadafb3b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9sz=C3=A1ros=20Mih=C3=A1ly?= Date: Fri, 8 Jan 2021 08:41:04 +0000 Subject: [PATCH] Add back again ssl and crypto testlib --- configure | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/configure b/configure index 1d8fc404..caf11f51 100755 --- a/configure +++ b/configure @@ -758,19 +758,31 @@ else if testpkg_common libcrypto; then ${ECHO_CMD} "OpenSSL Crypto lib found." else - ${ECHO_CMD} "ERROR: OpenSSL Crypto development libraries are not installed properly in required location." - ${ECHO_CMD} "Abort." - cleanup - exit + testlib crypto + ER=$? + if ! [ ${ER} -eq 0 ] ; then + ${ECHO_CMD} "OpenSSL Crypto lib found." + else + ${ECHO_CMD} "ERROR: OpenSSL Crypto development libraries are not installed properly in required location." + ${ECHO_CMD} "Abort." + cleanup + exit + fi fi if testpkg_common libssl; then ${ECHO_CMD} "OpenSSL lib found." else - ${ECHO_CMD} "ERROR: OpenSSL development libraries are not installed properly in required location." - ${ECHO_CMD} "Abort." - cleanup - exit + testlib ssl + ER=$? + if ! [ ${ER} -eq 0 ] ; then + ${ECHO_CMD} "OpenSSL lib found." + else + ${ECHO_CMD} "ERROR: OpenSSL development libraries are not installed properly in required location." + ${ECHO_CMD} "Abort." + cleanup + exit + fi fi fi ###########################