diff options
author | Damien Miller <djm@mindrot.org> | 2017-09-28 14:54:34 -0700 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-09-28 14:54:34 -0700 |
commit | 04dc070e8b4507d9d829f910b29be7e3b2414913 (patch) | |
tree | 08868ff9e34e2b4c6d59c359fb70673ef66d2095 | |
parent | 74c1c3660acf996d9dc329e819179418dc115f2c (diff) |
abort in configure when only openssl-1.1.x found
We don't support openssl-1.1.x yet (see multiple threads on the
openssh-unix-dev@ mailing list for the reason), but previously
./configure would accept it and the compilation would subsequently
fail. This makes ./configure display an explicit error message and
abort.
ok dtucker@
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e9c593ac..4eb65f52 100644 --- a/configure.ac +++ b/configure.ac @@ -2549,7 +2549,10 @@ if test "x$openssl" = "xyes" ; then 10000*|0*) AC_MSG_ERROR([OpenSSL >= 1.0.1 required (have "$ssl_library_ver")]) ;; - *) ;; + 100*) ;; # 1.0.x + *) + AC_MSG_ERROR([OpenSSL >= 1.1.0 is not yet supported (have "$ssl_library_ver")]) + ;; esac AC_MSG_RESULT([$ssl_library_ver]) ], |