configure.ac: adapt the output of doxygen compare check

Adapting the text output on the doxygen version compare to the dot check
so the user is seeing more informative things on configure run.
This commit is contained in:
Carsten Schoenert authored and Olaf Bergmann committed 2016-10-26 10:46:50 +02:00
1 parent af48b3b31a
commit 65090de7c8
1 file changed
+3 -3
+3 -3
View File
@@ -145,13 +145,13 @@ if test "x$build_documentation" = "xyes"; then
doxygen_version="not found"
fi
else
AC_MSG_CHECKING([for compatible doxygen version])
AC_MSG_CHECKING([for compatible doxygen version (>= 1.7.0)])
doxygen_version=`$DOXYGEN --version`
AS_VERSION_COMPARE([$doxygen_version], [1.7.0],
[AC_MSG_RESULT([no])
DOXYGEN=""],
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([yes])])
[AC_MSG_RESULT([yes $doxygen_version])],
[AC_MSG_RESULT([yes $doxygen_version])])
if test "x$DOXYGEN" = "x" -a "x$build_documentation" = "xyes"; then
AC_MSG_ERROR([==> Doxygen $doxygen_version too old. Doxygen 1.7+ required for documentation build.])
AC_MSG_ERROR([==> Install required doxygen version or disable the documentation using --disable-documentation])