cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Compressed manual

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sun, 11 Jan 2004 21:34:50 -0800

On Sun, Jan 11, 2004 at 11:47:18PM +0100, Daniel Stenberg wrote:
> 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...

Yeah, why not? Sure, that file will be huge, but it solves all the potential
build problems you could have with the other options, and cleans up the file
copying mess in my patch.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------
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.html
Received on 2004-01-12