X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/e7aea3985734af1702fde6e2b0af90b992425334..2a679f4f71784800b6643b5c4eecb4b11865a439:/configure.in 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