diff --git a/NEWS b/NEWS index 0ee059db..bce295da 100644 --- a/NEWS +++ b/NEWS @@ -39,6 +39,7 @@ Incompatibilities: and its security goals are undocumented. If you must enable ECMAScript support, it would be prudent to restrict the ELinks process with a sandbox of some kind. +* Gzip decompression support now requires zlib 1.2.0.2 or later. * bugs 871, 752: The numbering of terminal.*.colors no longer depends on config options. This change makes elinks.conf portable between different configurations but unfortunately not between this and diff --git a/configure.in b/configure.in index cba0c815..01fdb696 100644 --- a/configure.in +++ b/configure.in @@ -465,7 +465,7 @@ AC_DEFUN([EL_CONFIG_OPTIONAL_LIBRARY], EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_GPM, gpm, gpm.h, gpm, Gpm_Open, [ --without-gpm disable gpm (mouse) support]) -EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_GZIP, zlib, zlib.h, z, gzdopen, +EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_GZIP, zlib, zlib.h, z, gzclearerr, [ --without-zlib disable zlib support]) EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_BZIP2, bzlib, bzlib.h, bz2, BZ2_bzReadOpen, diff --git a/doc/installation.txt b/doc/installation.txt index efabb144..95c7da03 100644 --- a/doc/installation.txt +++ b/doc/installation.txt @@ -41,7 +41,7 @@ ifndef::installation-webpage[] See <> \ endif::installation-webpage[] for more info. -GNU zip For handling compressed documents both locally and \ +zlib 1.2.0.2 or later For handling compressed documents both locally and \ sent from server. bzip2 For handling local compressed documents. OpenSSL or GNU TLS For handling secure HTTP browsing.