Ethereal-users: Re: [ethereal-users] Ethereal 0.7.8 compilation problem

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Craig Rodrigues <rodrigc@xxxxxxxxxxxx>
Date: Sun, 28 Nov 1999 21:10:02 -0500
On Sun, Nov 28, 1999 at 04:22:46PM -0800, Guy Harris wrote:
> > However, gzseek, a zlib function, is not found.
> > 
> > 1. Does /usr/include/zlib.h exist on your system?
> > 2. If so, what version is it? The version info should be in the
> > 	first few lines of zlib.h
> 
> Probably an older one - somebody else had the same problem, which went
> away when they installed a new Zlib.
> 
> I've checked in a change to make our "configure" script for Wiretap
> check for "gzseek()", and the other routines that other person's link
> attempt failed to find, and only include support for reading compressed
> files with "zlib" if all the routines it checks for are present.

How about just checking for the zlib version number?
The ZLIB_VERSION macro is defined in zlib.h.....it may be easier
to check for the version number rather than determining what
features of zlib you need.  Insisting that people upgrade zlib
is not too harsh a requirement. :)
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@xxxxxxxxxxxx