aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJason Woodward2005-07-25 21:06:41 +0000
committerJason Woodward2005-07-25 21:06:41 +0000
commitb59ad0a7b7d393c6ad7c38cf990052234198063d (patch)
tree6b02e4d5c2166335cfbc840e6ef655b8ebe4d029 /configure.in
parent372371cc76296c24fc5fc53ce097bf2c5d418ff5 (diff)
downloadgslapt-b59ad0a7b7d393c6ad7c38cf990052234198063d.tar.gz
added check for gzopen with libz
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 69d640d..879b251 100644
--- a/configure.in
+++ b/configure.in
@@ -18,6 +18,7 @@ AM_PROG_CC_STDC
AC_HEADER_STDC
AC_CHECK_HEADER(curl/curl.h, [], [AC_MSG_ERROR(libcurl headers are missing)])
AC_CHECK_HEADER(slapt.h, [], [AC_MSG_ERROR(libslapt headers are missing)])
+AC_CHECK_LIB(z,gzopen, [LIBS="$LIBS -lz"], [AC_MSG_ERROR(libz is missing)])
AC_CHECK_LIB(curl,curl_global_init, [LIBS="$LIBS `curl-config --libs`"], [AC_MSG_ERROR(curl libs are missing)])
AC_CHECK_LIB(slapt,slapt_get_pkg_source_packages, [], [AC_MSG_ERROR(libslapt 0.9.10a or greater is required)])
LIBS="$LIBS -lglib-2.0 -lgthread-2.0"