* remove libz code, libcitadel does this the right way now.
authorWilfried Göesgens <willi@citadel.org>
Sat, 13 Dec 2008 22:48:49 +0000 (22:48 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sat, 13 Dec 2008 22:48:49 +0000 (22:48 +0000)
citadel/configure.ac

index 5d1a2390027aa5320d8478a38fedefe2d2e905f1..f6c780b47a5d03311dae9fddfbf4817717821e10 100644 (file)
@@ -220,7 +220,6 @@ AC_ARG_WITH(ssl,
 )
 AC_ARG_WITH(ncurses, [  --without-ncurses       don't use ncurses])
 
-AC_ARG_WITH(with_zlib, [  --with-zlib             use zlib compression if present])
 AC_ARG_WITH(with_ldap, [  --with-ldap             use OpenLDAP client library])
 AC_ARG_WITH(with_libdspam, [  --with-libdspam         use libdspam mail spam scanning library])
 
@@ -468,19 +467,6 @@ fi
 
 test -d /usr/kerberos/include && CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include"
 
-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
-       LDFLAGS="-lz $LDFLAGS"
-       AC_DEFINE(HAVE_ZLIB, [], [define this if you have zlib compression available])
-fi
-
 dnl Checks for the libical iCalendar library.
 AC_CHECK_HEADER(libical/ical.h,
        [AC_CHECK_LIB(ical, icaltimezone_set_tzid_prefix,
@@ -980,7 +966,6 @@ if test -z "$DATABASE"; then
 fi
 
 echo ------------------------------------------------------------------------
-echo 'zlib compression:                ' $ok_zlib
 echo 'LDAP support:                    ' $ok_ldap
 echo 'Character set conversion support:' $ok_iconv
 echo 'DSpam Scanning support:          ' $ok_libdspam