]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/configure.in
* add xdgmime from freedesktop.org
[citadel.git] / libcitadel / configure.in
index c8d8e06d5989d72c58d7e2271bf5d1059a8b5f8b..7b6a6093540b000bea6581e944627b1973f4ed27 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.03, 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, AC_DEFINE_UNQUOTED(HAVE_MMAP, [whether whe have sys/mmap.h]))
+
 
-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`"