]> git.saurik.com Git - apt.git/blobdiff - configure.in
merged from lp:~donkult/apt/sid
[apt.git] / configure.in
index 8e5c636f73365d02977cf4a1dc6bce7bb5dad269..10f117eb8ef3dd2e725ef7a8ea57d07bf179a680 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