dnl Ensure that libcitadel is configured with autoconf 2.52 or newer
AC_PREREQ(2.52)
-AC_INIT(citadel, 1.00, example@example.com)
+AC_INIT(libcitadel, 1.06, https://uncensored.citadel.org)
AC_CONFIG_SRCDIR(Makefile.in)
AC_CONFIG_AUX_DIR(conftools)
dnl Checks for header files.
AC_HEADER_STDC
+AC_CHECK_HEADER(sys/mman.h, [CFLAGS="$CFLAGS -D HAVE_MMAP"])
+
+
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
AC_CHECK_FUNCS(memmove bcopy)
-AC_CONFIG_FILES(Makefile)
+AC_CONFIG_FILES(Makefile libcitadel.pc)
AC_OUTPUT
abs_srcdir="`cd $srcdir && pwd`"