summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--configure.ac2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c9b6888e..f6d54aaa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2009-01-23 Roland McGrath <[email protected]>
+ * configure.ac (zlib check): Check for gzdirect, need zlib >= 1.2.2.3.
+
* configure.ac (__thread check): Use AC_LINK_IFELSE, in case of
building with compiler support but no working runtime support.
diff --git a/configure.ac b/configure.ac
index d7d58e1a..e78da952 100644
--- a/configure.ac
+++ b/configure.ac
@@ -203,7 +203,7 @@ dnl Test for zlib and bzlib, gives ZLIB/BZLIB .am
dnl conditional and config.h USE_ZLIB/USE_BZLIB #define.
save_LIBS="$LIBS"
LIBS=
-eu_ZIPLIB(z,Z,z,gzdopen,gzip)
+eu_ZIPLIB(z,Z,z,gzdirect,gzip)
eu_ZIPLIB(bz,BZ,bz2,BZ2_bzdopen,bzip2)
zip_LIBS="$LIBS"
LIBS="$save_LIBS"