diff options
author | Peter Eisentraut | 2023-08-07 07:06:52 +0000 |
---|---|---|
committer | Peter Eisentraut | 2023-08-07 07:34:38 +0000 |
commit | eeb4eeea2c525c51767ffeafda0070b946f26ae8 (patch) | |
tree | 8b464bc8ad433553d403c74521161226ffbbceac /configure | |
parent | 67c0ef9752ade6dc252a19be8d2259847d4eb78d (diff) |
Remove configure check for z_streamp
This is surely obsolete. zlib version 1.0.4, which includes
z_streamp, was released 1996-07-24. When this check was put in in
2001 (19c97b8579), the commit was already labeling that release as
ancient.
Reviewed-by: Tristan Partin <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/33462926-bb1e-7cc9-8d92-d86318e8ed1d%40eisentraut.org
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/configure b/configure index 2e518c8007d..963fbbcf1e7 100755 --- a/configure +++ b/configure @@ -15162,21 +15162,6 @@ _ACEOF fi -if test "$with_zlib" = yes; then - # Check that <zlib.h> defines z_streamp (versions before about 1.0.4 - # did not). While we could work around the lack of z_streamp, it - # seems unwise to encourage people to use such old zlib versions... - ac_fn_c_check_type "$LINENO" "z_streamp" "ac_cv_type_z_streamp" "#include <zlib.h> -" -if test "x$ac_cv_type_z_streamp" = xyes; then : - -else - as_fn_error $? "zlib version is too old -Use --without-zlib to disable zlib support." "$LINENO" 5 -fi - -fi - case $host_cpu in x86_64) # On x86_64, check if we can compile a popcntq instruction |