)
+dnl Checks for the zlib compression library.
+if test "x$with_zlib" != xno ; then
+ AC_CHECK_HEADERS(zlib.h,
+ [AC_CHECK_LIB(z, zlibVersion,
+ [ok_zlib=yes],,
+ )])
+fi
+
+if test "x$ok_zlib" = xyes ; then
+dnl libcitadel will bring libz, so we don't need it here. LDFLAGS="-lz $LDFLAGS"
+ AC_DEFINE(HAVE_ZLIB, [], [define this if you have zlib compression available])
+fi
+
+
+
+
dnl Here is the check for a libc integrated iconv
AC_ARG_ENABLE(iconv,
[ --disable-iconv do not use iconv charset conversion],
Build-Depends: debhelper (>= 4), po-debconf, bison, autotools-dev,
libdb4.4-dev | libdb4.3-dev, libical-dev, libldap2-dev, libncurses5-dev,
libpam0g-dev, libsieve2-dev, libssl-dev, libexpat1-dev, libcitadel-dev,
- libcurl4-openssl-dev | libcurl3-openssl-dev
+ libcurl4-openssl-dev | libcurl3-openssl-dev, zlib1g-dev
Standards-Version: 3.7.3
Package: citadel-server