From 80d53b6380d64d3bc2c13c6d2fcfe924d45c3d93 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Mon, 12 Feb 2001 20:27:30 +0000 Subject: Add check for gtk-doc version. Mon Feb 12 15:01:38 2001 Owen Taylor * configure.in (gtk_doc_min_version): Add check for gtk-doc version. --- configure.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 94b5f53c..02d9d43a 100644 --- a/configure.in +++ b/configure.in @@ -294,6 +294,22 @@ AC_SUBST(HTML_DIR) AC_CHECK_PROG(GTKDOC, gtkdoc-mkdb, true, false) + +gtk_doc_min_version=0.6 +if $GTKDOC ; then + gtk_doc_version=`gtkdoc-mkdb --version` + AC_MSG_CHECKING([gtk-doc version ($gtk_doc_version) >= $gtk_doc_min_version]) + if perl <= "$gtk_doc_min_version") ? 0 : 1); +EOF + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + GTKDOC=false + fi +fi + AM_CONDITIONAL(HAVE_GTK_DOC, $GTKDOC) AC_SUBST(HAVE_GTK_DOC) -- cgit v1.2.1