From bcc27ad808016b27bba7d7d137098df6abf766c3 Mon Sep 17 00:00:00 2001 From: "martin@piware.de" <> Date: Fri, 11 Jun 2010 11:16:22 +0200 Subject: * configure.in: - Check for zlib library and headers. --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 82785a9dd..015b142ea 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 -- cgit v1.2.3