]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/configure.in
* fixed several crash / invalid data cases in the hash implementation
[citadel.git] / libcitadel / configure.in
index c8d8e06d5989d72c58d7e2271bf5d1059a8b5f8b..dad2a9998b40785ab82c912a36590f479d25a2b9 100755 (executable)
@@ -5,8 +5,7 @@ dnl
 dnl Ensure that libcitadel is configured with autoconf 2.52 or newer
 AC_PREREQ(2.52)
 
-AC_INIT(citadel, 1.00, example@example.com)
-undefine([expat_version])
+AC_INIT(libcitadel, 1.06, https://uncensored.citadel.org)
 
 AC_CONFIG_SRCDIR(Makefile.in)
 AC_CONFIG_AUX_DIR(conftools)
@@ -30,7 +29,6 @@ LIBAGE=0
 sinclude(conftools/libtool.m4)
 sinclude(conftools/ac_c_bigendian_cross.m4)
 
-AC_LIBTOOL_WIN32_DLL
 AC_PROG_LIBTOOL
 
 AC_SUBST(LIBCURRENT)
@@ -59,17 +57,16 @@ fi
 dnl Checks for header files.
 AC_HEADER_STDC
 
-dnl Checks for typedefs, structures, and compiler characteristics.
+AC_CHECK_HEADER(sys/mman.h, [CFLAGS="$CFLAGS -D HAVE_MMAP"])
+
 
-dnl Note: Avoid using AC_C_BIGENDIAN because it does not
-dnl work in a cross compile.
-AC_C_BIGENDIAN_CROSS
+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`"