From: Andrei Pavel Date: Fri, 10 Sep 2021 10:41:44 +0000 (+0300) Subject: [#2081] remove attempt to link with OpenSSL 1.1 X-Git-Tag: Kea-2.0.0~109 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c19e6343c9899e8923a6bfe0de6c1398c99986b2;p=thirdparty%2Fkea.git [#2081] remove attempt to link with OpenSSL 1.1 --- diff --git a/m4macros/ax_crypto.m4 b/m4macros/ax_crypto.m4 index db619d75b7..e1b43f8f0c 100644 --- a/m4macros/ax_crypto.m4 +++ b/m4macros/ax_crypto.m4 @@ -278,25 +278,6 @@ else ;; esac - # Search for an OpenSSL 11 compatibility library first. It should exist e.g. on CentOS 7. - if test "${use_openssl}" = "yes" ; then - for d in /usr /usr/local /usr/local/ssl /usr/local/opt/openssl /usr/pkg /usr/sfw; do - if test -f "${d}/include/openssl11/openssl/opensslv.h"; then - use_openssl="${d}" - openssl_headers="${d}/include/openssl11" - for l in lib lib64; do - if test -f "${d}/${l}/openssl11/libssl.so"; then - openssl_libraries="${d}/${l}/openssl11" - break - fi - done - if test -n "${openssl_headers}" && test -n "${openssl_libraries}"; then - break - fi - fi - done - fi - # Now search for the system OpenSSL library. if test "${use_openssl}" = "yes" ; then for d in /usr /usr/local /usr/local/ssl /usr/local/opt/openssl /usr/pkg /usr/sfw; do