# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
-AC_INIT(libdatrie, 0.2.6, thep@linux.thai.net)
+AC_INIT(libdatrie, 0.2.7, thep@linux.thai.net)
AC_CONFIG_SRCDIR([datrie/trie.h])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([m4])
AC_SUBST(LT_REVISION)
AC_SUBST(LT_AGE)
+DOXYGEN_REQ_VER=1.8.4
+
# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_CHECK_PROG(DOXYGEN,doxygen,doxygen,no)
if test "x$DOXYGEN" = "xno"; then
enable_doxygen_doc="no"
+ else
+ AC_MSG_CHECKING([doxygen >= $DOXYGEN_REQ_VER])
+ DOXYGEN_VER=$($DOXYGEN --version)
+ if expr $DOXYGEN_VER \< $DOXYGEN_REQ_VER > /dev/null; then
+ AC_MSG_RESULT([$DOXYGEN_VER, no, documentation disabled])
+ enable_doxygen_doc="no"
+ else
+ AC_MSG_RESULT([$DOXYGEN_VER, yes])
+ fi
fi
fi
tools/Makefile
man/Makefile
doc/Makefile
- doc/Doxyfile])
+ doc/Doxyfile
+ tests/Makefile])
AC_OUTPUT