diff options
author | Darren Tucker <dtucker@dtucker.net> | 2023-08-18 23:39:08 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2023-08-18 23:39:08 +0200 |
commit | cb4ed12ffc332d1f72d054ed92655b5f1c38f621 (patch) | |
tree | 8b11c9822a5c572964b6170c32e14506c01dbb9f /configure.ac | |
parent | Add 9.4 branch to CI status page. (diff) | |
download | openssh-cb4ed12ffc332d1f72d054ed92655b5f1c38f621.tar.xz openssh-cb4ed12ffc332d1f72d054ed92655b5f1c38f621.zip |
Fix zlib version check for 1.3 and future version.
bz#3604.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 07893e870..e3128dfcb 100644 --- a/configure.ac +++ b/configure.ac @@ -1464,7 +1464,7 @@ else [[ int a=0, b=0, c=0, d=0, n, v; n = sscanf(ZLIB_VERSION, "%d.%d.%d.%d", &a, &b, &c, &d); - if (n != 3 && n != 4) + if (n < 1) exit(1); v = a*1000000 + b*10000 + c*100 + d; fprintf(stderr, "found zlib version %s (%d)\n", ZLIB_VERSION, v); |