Don't add compressed-file-reading support unless "gzopen()" *and*

"gzseek()" *and* "gztell()" *and* "gzgets()" *and* "zError()" are all in
Zlib - we use all of them, and it appears that some older versions of
Zlib that some users had on their systems don't have some of them.

svn path=/trunk/; revision=1136
This commit is contained in:
Guy Harris 1999-11-29 01:44:56 +00:00
parent 8bac651320
commit f315a4b745
1 changed files with 4 additions and 0 deletions

View File

@ -198,6 +198,10 @@ AC_DEFUN(AC_ETHEREAL_ZLIB_CHECK,
[
AC_CHECK_HEADER(zlib.h,,enable_zlib=no)
AC_CHECK_LIB(z, gzopen,,enable_zlib=no)
AC_CHECK_LIB(z, gzseek,,enable_zlib=no)
AC_CHECK_LIB(z, gztell,,enable_zlib=no)
AC_CHECK_LIB(z, gzgets,,enable_zlib=no)
AC_CHECK_LIB(z, zError,,enable_zlib=no)
])
#