summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2010-07-12 13:26:10 +0200
committerMichael Vogt <mvo@debian.org>2010-07-12 13:26:10 +0200
commit2a679f4f71784800b6643b5c4eecb4b11865a439 (patch)
treec8b5f2967f09a3001becf5fb6ff634d933e171a2 /configure.in
parent137a73dc58b14f71a11da5940e099725f6dad8ef (diff)
parentd10cef824604012516f26efaae8bab1f29a7820a (diff)
merged from lp:~donkult/apt/sid
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 8e5c636f7..10f117eb8 100644
--- a/configure.in
+++ b/configure.in
@@ -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