Subject: Re: [htdig3-dev] latest CVS errors on Slackware 4.0
From: loic@ceic.com
Date: Thu Dec 09 1999 - 07:14:06 PST
Geoff Hutchison writes:
> At 7:08 PM +0100 12/8/99, loic@ceic.com wrote:
> > There is a specific configure macro for zlib detection. However I'd
> >say that there was not enough testing on this case : what happens
> >if zlib is not there or partially there (libz.a and zlib.h).
>
> Yes, sure enough:
>
> #include <zlib.h>
> #include <htString.h>
> #include <db.h>
>
> I think this should be:
> #if defined(HAVE_LIBZ) && defined(HAVE_ZLIB_H)
> #include <zlib.h>
> #endif
> #include <htString.h>
> #include <db.h>
>
> There are probably a few other required changes.
Apparently that was the only one. I did not define HAVE_ZLIB_H
because HAVE_LIBZ now implies zlib.h was found. Another reason is that
defining HAVE_ZLIB_H requires modification of acconfig.h. If someone
wants to re-use the CHECK_ZLIB macro it's easier for him to include
it in acinclude.m4 without even reading the documentation than to
fight with autoheader and acconfig.h after failure + reading of the
documentation.
If you see good reasons to do otherwise, let me know.
Cheers,
-- Loic DacharyECILA 100 av. du Gal Leclerc 93500 Pantin - France Tel: 33 1 56 96 10 85 e-mail: loic@dachary.org URL: http://www.senga.org/
------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev-unsubscribe@htdig.org You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Thu Dec 09 1999 - 06:09:57 PST