configure: accept any openssl version.

This commit is contained in:
Juan RP 2020-04-16 14:57:18 +02:00
parent 3164e9c7ce
commit db1766986c
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368

2
configure vendored
View File

@ -704,7 +704,7 @@ fi
# libssl with pkg-config support is required.
#
printf "Checking for libssl via pkg-config ... "
if pkg-config --exists 'libssl < 1.2' && ! pkg-config --exists libtls ; then
if pkg-config --exists 'libssl' && ! pkg-config --exists libtls ; then
echo "found OpenSSL version $(pkg-config --modversion libssl)."
elif pkg-config --exists libssl libtls; then
echo "found LibreSSL version $(pkg-config --modversion libssl)."