Geoff Hutchison writes:
 > At 7:08 PM +0100 12/8/99, [EMAIL PROTECTED] 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 Dachary

                ECILA
                100 av. du Gal Leclerc
                93500 Pantin - France
                Tel: 33 1 56 96 10 85
                e-mail: [EMAIL PROTECTED]
                URL: http://www.senga.org/


------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 

Reply via email to