]> code.citadel.org Git - citadel.git/commitdiff
* Started adding in compression and calendaring library detects (not finished)
authorArt Cancro <ajc@citadel.org>
Wed, 11 Sep 2002 22:47:00 +0000 (22:47 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 11 Sep 2002 22:47:00 +0000 (22:47 +0000)
webcit/ChangeLog
webcit/configure.in

index 62ccb87cd5cb09a83ed682dea39b0a2bea3c73f8..1bcf8f667d39776778d906a9ed0f16e6192e9a61 100644 (file)
@@ -1,4 +1,7 @@
 $Log$
+Revision 400.1  2002/09/11 22:46:59  ajc
+* Started adding in compression and calendaring library detects (not finished)
+
 Revision 400.0  2002/09/09 03:56:11  ajc
 * This is version 4.00
 
@@ -937,3 +940,4 @@ Sun Dec  6 19:50:55 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
+
index 9048b330682825b3154ab22b2271e9c5732f37de..53687536cdb6c7285e9d415e6f9b984b9ebef6ea 100644 (file)
@@ -2,6 +2,16 @@ dnl Process this file with autoconf to produce a configure script.
 dnl $Id$
 AC_INIT(webserver.c)
 
+
+
+
+AC_ARG_WITH(with_zlib, [  --with-zlib             use zlib compression if present])
+AC_ARG_WITH(with_libical, [  --with-libical          use libical calendaring library])
+
+
+
+
+
 AC_CANONICAL_HOST
 
 dnl Set some system-specific variables which are OK to set before compiler
@@ -69,4 +79,30 @@ dnl AC_FUNC_VPRINTF
 dnl AC_CHECK_FUNCS(strerror)
 AC_REPLACE_FUNCS(snprintf)
 
+
+
+
+
+
+
+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" != xno ; then
+       LIBS="-lz $LIBS"
+       AC_DEFINE(HAVE_ZLIB)
+fi
+
+
+
+
+
+
+
+
 AC_OUTPUT(Makefile)