dnl Ensure that libcitadel is configured with autoconf 2.52 or newer
AC_PREREQ(2.52)
-
-AC_INIT(libcitadel, 903, http://uncensored.citadel.org)
-
+AC_INIT([libcitadel], m4_esyscmd_s([grep LIBCITADEL_VERSION lib/libcitadel.h | sed 's/[^0-9]*//g' ]),[http://uncensored.citadel.org])
AC_CONFIG_SRCDIR(Makefile.in)
AC_CONFIG_AUX_DIR(conftools)
-AC_CONFIG_SRCDIR(tests/Makefile.in)
dnl
dnl Set LIBREVISION to the ever-ascending libcitadel version number.
dnl
LIBCURRENT=4
-LIBREVISION=903
+LIBREVISION=m4_esyscmd_s([grep LIBCITADEL_VERSION lib/libcitadel.h | sed 's/[^0-9]*//g' ])
LIBAGE=0
sinclude(conftools/libtool.m4)
AC_TYPE_SIZE_T
AC_CHECK_FUNCS(memmove bcopy)
-AC_CONFIG_FILES(Makefile libcitadel.pc tests/Makefile)
+AC_CONFIG_FILES(Makefile libcitadel.pc)
AC_CONFIG_HEADER(sysdep.h)
AC_OUTPUT