[issue6016] Use shipped zlib if the system version is bad

2009-05-13 Thread Daniel Diniz
Daniel Diniz added the comment: We'd be asking for trouble with this: incompatible shipped and system versions or having to build the shipped version. All that for working around the rare case where the user doesn't have a valid zlib makes no sense :) -- resolution: -> invalid stage: t

[issue6016] Use shipped zlib if the system version is bad

2009-05-13 Thread Daniel Diniz
New submission from Daniel Diniz : The attached patch makes setup.py use the shipped zlib.h in Modules/zlib/ when a bogus zlib.h is found by find_file. However, I couldn't test it (nor make it work) when a system zlib is missing (no time right now). Can we build the shipped zlib and link against