Most people have zlib as a shared system library.
X should be using them in preference to one from in tree by default.
This needs to be release noted, with a version information.
Indeed, we should determine what all platforms come with zlib, and default
them to using the system supplied zlib. In the past, we've had to do extra
X security erratum due to X including it's own zlib, when security holes
were found in zlib.
It's possible the defaults might actually be sane now also, definitely need
to investigate. Small effort required. Will update status later.
linux, some BSD and appearantly some other OSes have HaveZlib set to true already"
cd xc/config/cf; grep HasZlib *
FreeBSD.cf:#define HasZlib YES
Imake.tmpl:#define HasZlib NO
Imake.tmpl:#define OsNeedZlibHeaders !HasZlib
Imake.tmpl:#if !HasZlib /* if OS doesn't have it, we'll build it */
Imake.tmpl:#undef GzipLibrary /* GzipLibrary was valid only if HasZlib */
NetBSD.cf:#define HasZlib YES
OpenBSD.cf:#define HasZlib YES
README: HasZlib boolean for system has libz
grep: TinyX.cf: No such file or directory
bsdi.cf:#define HasZlib YES
cygwin.cf:#define HasZlib YES
darwin.cf:#define HasZlib YES
linux.cf:#define HasZlib YES
sco5.cf:#define HasZlib YES
sun.cf:# define HasZlib YES
Will commit required changes.