On 2/5/06, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote:
>
> Am 05.02.2006 um 09:22 schrieb Stephen Deasey:
>
> >  I think the build should fail if zlib is
> > not found.
>
> ...and if you configured with --without-zlib?
> Hm...
>
> The problem is, as I see that the test routines
> cannot check if the zlib is compiled-in or not.
> I usually build with --without-zlib for some weird
> unimportant reasons.
>
> I think that the code IS allright, as it allows the
> fallback when no zlib is compiled in. But what is
> if the zlib is compiled but not found on runtime?
> Well, this should obviously result in process not
> being able to start, right? Now, was your code compiled
> with zlib support and the zlib library was not installed?
>
> OTOH, if you do not explicitly disable the zlib support
> then the build should fail. That is true.


The zlib-devel package was not installed on my laptop and so there was
no include/zlib.h header.  The configure script detected this and
disabled support.

Hmm, looks like Ns_CompressGzip() returns an error if zlib support is
not enabled.  I guess we just issue a warning at configure time, and
come up with a workaround for the test.

Reply via email to