mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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 <tristan@neon.tech>
Discussion: https://www.postgresql.org/message-id/flat/33462926-bb1e-7cc9-8d92-d86318e8ed1d%40eisentraut.org
This commit is contained in:
@ -1384,14 +1384,6 @@ if not zlibopt.disabled()
|
||||
args: test_c_args, include_directories: postgres_inc,
|
||||
dependencies: [zlib_t], required: zlibopt)
|
||||
warning('zlib header not found')
|
||||
elif not cc.has_type('z_streamp',
|
||||
dependencies: [zlib_t], prefix: '#include <zlib.h>',
|
||||
args: test_c_args, include_directories: postgres_inc)
|
||||
if zlibopt.enabled()
|
||||
error('zlib version is too old')
|
||||
else
|
||||
warning('zlib version is too old')
|
||||
endif
|
||||
else
|
||||
zlib = zlib_t
|
||||
endif
|
||||
|
Reference in New Issue
Block a user