diff options
| -rw-r--r-- | m4/ax_lib_openssl.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_lib_openssl.m4 b/m4/ax_lib_openssl.m4 index 8a70f99..a7f69f0 100644 --- a/m4/ax_lib_openssl.m4 +++ b/m4/ax_lib_openssl.m4 @@ -237,7 +237,7 @@ SSLeay(); if test -f "$openssl_include_dir/openssl/opensslv.h"; then OPENSSL_VERSION=`grep OPENSSL_VERSION_TEXT $openssl_include_dir/openssl/opensslv.h \ - | grep -v fips | grep -v PTEXT | cut -f 2 | tr -d \"` + | grep -v fips | grep -v PTEXT | sed -e 's/[ ][ ][ ]*/\t/g' | cut -f 2 | tr -d \"` AC_SUBST([OPENSSL_VERSION]) dnl Decompose required version string and calculate numerical representation @@ -259,7 +259,7 @@ SSLeay(); \+ $((0xf))` dnl Calculate numerical representation of detected version - openssl_version_number=`expr $(($(grep OPENSSL_VERSION_NUMBER $openssl_include_dir/openssl/opensslv.h | cut -f 2 | tr -d L)))` + openssl_version_number=`expr $(($(grep OPENSSL_VERSION_NUMBER $openssl_include_dir/openssl/opensslv.h | sed -e 's/[ ][ ][ ]*/\t/g' | cut -f 2 | tr -d L)))` openssl_version_check=`expr $openssl_version_number \>\= $openssl_version_req_number` if test "$openssl_version_check" = "1"; then |
