diff --git a/configure b/configure index da8ae75f..383bc927 100755 --- a/configure +++ b/configure @@ -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)."