Index: libdatrie-0.2.9/configure.ac =================================================================== --- libdatrie-0.2.9.orig/configure.ac +++ libdatrie-0.2.9/configure.ac @@ -113,7 +113,8 @@ if test "x$enable_doxygen_doc" = "xyes"; else AC_MSG_CHECKING([doxygen >= $DOXYGEN_REQ_VER]) DOXYGEN_VER=$($DOXYGEN --version) - if expr $DOXYGEN_VER \< $DOXYGEN_REQ_VER > /dev/null; then + AS_VERSION_COMPARE($DOXYGEN_VER, $DOXYGEN_REQ_VER, [HAVE_DOXYGEN=0], [HAVE_DOXYGEN=1], [HAVE_DOXYGEN=1]) + if [test "$HAVE_DOXYGEN" = "0"]; then AC_MSG_RESULT([$DOXYGEN_VER, no, documentation disabled]) enable_doxygen_doc="no" else