aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/acinclude.m4')
-rw-r--r--wiretap/acinclude.m412
1 files changed, 8 insertions, 4 deletions
diff --git a/wiretap/acinclude.m4 b/wiretap/acinclude.m4
index 44c873857f..ecd6196963 100644
--- a/wiretap/acinclude.m4
+++ b/wiretap/acinclude.m4
@@ -201,9 +201,13 @@ main ()
AC_DEFUN(AC_WIRETAP_ZLIB_CHECK,
[
AC_CHECK_HEADER(zlib.h,,enable_zlib=no)
- AC_CHECK_LIB(z, gzopen,,enable_zlib=no)
+
+ dnl
+ dnl Check for "gzgets()" in zlib, because we need it, but
+ dnl some older versions of zlib don't have it. It appears
+ dnl from the ChangeLog that any released version of zlib
+ dnl with "gzgets()" should have the other routines we
+ dnl depend on, such as "gzseek()", "gztell()", and "zError()".
+ dnl
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)
])