[PATCH v2] doc: Add config check for doxygen 1.6.0+.
Pekka Paalanen
ppaalanen at gmail.com
Fri Dec 5 07:09:34 PST 2014
On Wed, 3 Dec 2014 18:26:26 -0800
"Jon A. Cruz" <jonc at osg.samsung.com> wrote:
> Add a config time check for a new enough (1.6.0+) version of doxygen.
>
> v2. require 1.6.0+ instead of 1.8.0+
>
> Signed-off-by: Jon A. Cruz <jonc at osg.samsung.com>
> ---
> configure.ac | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 6f8220b..12dd94c 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -109,6 +109,14 @@ if test "x$enable_documentation" = "xyes"; then
> AC_MSG_ERROR([Documentation build requested but doxygen not found. Install doxygen or disable the documentation using --disable-documentation])
> fi
>
> + AC_MSG_CHECKING([for compatible doxygen version])
> + doxygen_version=`$DOXYGEN --version`
> + AS_VERSION_COMPARE([$doxygen_version], [1.6.0],
> + [AC_MSG_RESULT([no])
> + AC_MSG_ERROR([Doxygen $doxygen_version too old. Doxygen 1.6+ required for documentation build. Install required doxygen version or disable the documentation using --disable-documentation])],
> + [AC_MSG_RESULT([yes])],
> + [AC_MSG_RESULT([yes])])
> +
> AC_PATH_PROG(XMLTO, xmlto)
>
> if test "x$XMLTO" = "x"; then
Hi,
looking at doc/doxygen/wayland.doxygen.in it says
# Doxyfile 1.7.6.1
Do we know this works with Doxygen 1.6 or should we require 1.7?
Not that it matters too much, since right now we don't have any checks,
but I'd prefer some consistency.
Thanks,
pq
More information about the wayland-devel
mailing list