Bug 224

Summary: xc/lib/zlib
Product: xorg Reporter: Jim Gettys <jg>
Component: Build/MonolithicAssignee: Mike A. Harris <mharris>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: highest    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 213    

Description Jim Gettys 2004-02-25 10:18:44 UTC
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.
Comment 1 Mike A. Harris 2004-02-27 15:37:02 UTC
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.
Comment 2 Egbert Eich 2004-03-02 04:30:50 UTC
linux, some BSD and appearantly some other OSes have HaveZlib set to true already"
cd xc/config/cf; grep HasZlib *
FreeBSD.cf:#ifndef HasZlib
FreeBSD.cf:#define HasZlib              YES
Imake.tmpl:#ifndef HasZlib
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:#ifndef 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:#ifndef HasZlib
linux.cf:#define HasZlib                        YES
sco5.cf:#define HasZlib                 YES
sun.cf:#  define HasZlib        YES
Comment 3 Egbert Eich 2004-03-02 05:46:45 UTC
Will commit required changes.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.