]> git.saurik.com Git - apt.git/commitdiff
* configure.in:
authormartin@piware.de <>
Fri, 11 Jun 2010 09:16:22 +0000 (11:16 +0200)
committermartin@piware.de <>
Fri, 11 Jun 2010 09:16:22 +0000 (11:16 +0200)
  - Check for zlib library and headers.

configure.in
debian/changelog

index 82785a9dddcc235d37685067b2bfbc0246276f29..015b142ea9c4e80cf208a11a73a2bdccbea87aba 100644 (file)
@@ -83,6 +83,10 @@ AC_CHECK_LIB(curl, curl_easy_init,
 
 AC_SUBST(BDBLIB)
 
+AC_CHECK_LIB(z, gzopen,
+       [AC_CHECK_HEADER(zlib.h, [], AC_MSG_ERROR([failed: zlib.h not found]))],
+       AC_MSG_ERROR([failed: Need libz]))
+
 dnl Converts the ARCH to be something singular for this general CPU family
 dnl This is often the dpkg architecture string.
 dnl First check against the full canonical canoncial-system-type in $target
index 7caa401fcc116fb7c81944721715fcb2d22ae361..9f9e09727b434e2778edccc5f0a3e9a9c53c6bdf 100644 (file)
@@ -13,6 +13,8 @@ apt (0.7.26~exp5) UNRELEASED; urgency=low
     - Link against zlib (in apt-pkg/makefile) and add zlib build dependency.
     - [ABI BREAK] This introduces a new protected member of FileFD and changes
       the behaviour of FileFd for reading gzipped files.
+  * configure.in:
+    - Check for zlib library and headers.
   * apt-pkg/deb/debindexfile.cc:
     - If we do not find uncompressed package/source/translation indexes, look
       for gzip compressed ones.