curl-library
Re: Compressed manual
Date: Sun, 11 Jan 2004 23:47:18 +0100 (CET)
On Fri, 9 Jan 2004, Dan Fandrich wrote:
> I've noticed that the --manual compression feature in recent versions of
> curl isn't being used by most binary curl distributions I've seen. This
> seems to be due to the default uncompressed hugehelp.c file shipped in the
> tarball causing the compression to not take place by default.
>
> Attached is a patch (against 7.10.8) that causes make to attempt to compress
> the manual at least once and only if that fails to use the uncompressed
> version.
I have an idea of a different approach: What about doing a plain old #ifdef
HAVE_LIBZ [code] #else [code] #endif ? (when making a compressed version)
I think the main problem is that people don't rebuild the hugehelp.c but
simply builds with the provided one...
-- Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/ [[ Do not send mails to this email address. They won't reach me. ]] ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.htmlReceived on 2004-01-11