$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
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
+
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
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)