Add check for gtk-doc version.

Mon Feb 12 15:01:09 2001  Owen Taylor  <otaylor@redhat.com>

	* configure.in (gtk_doc_min_version): Add check for gtk-doc version.
This commit is contained in:
Owen Taylor 2001-02-12 20:25:58 +00:00 committed by Owen Taylor
parent d6fe9f43b3
commit cc0f6f0232
9 changed files with 48 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Mon Feb 12 15:01:09 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (gtk_doc_min_version): Add check for gtk-doc version.
2001-02-10 Tor Lillqvist <tml@iki.fi>
* gtypes.h

View File

@ -1,3 +1,7 @@
Mon Feb 12 15:01:09 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (gtk_doc_min_version): Add check for gtk-doc version.
2001-02-10 Tor Lillqvist <tml@iki.fi>
* gtypes.h

View File

@ -1,3 +1,7 @@
Mon Feb 12 15:01:09 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (gtk_doc_min_version): Add check for gtk-doc version.
2001-02-10 Tor Lillqvist <tml@iki.fi>
* gtypes.h

View File

@ -1,3 +1,7 @@
Mon Feb 12 15:01:09 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (gtk_doc_min_version): Add check for gtk-doc version.
2001-02-10 Tor Lillqvist <tml@iki.fi>
* gtypes.h

View File

@ -1,3 +1,7 @@
Mon Feb 12 15:01:09 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (gtk_doc_min_version): Add check for gtk-doc version.
2001-02-10 Tor Lillqvist <tml@iki.fi>
* gtypes.h

View File

@ -1,3 +1,7 @@
Mon Feb 12 15:01:09 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (gtk_doc_min_version): Add check for gtk-doc version.
2001-02-10 Tor Lillqvist <tml@iki.fi>
* gtypes.h

View File

@ -1,3 +1,7 @@
Mon Feb 12 15:01:09 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (gtk_doc_min_version): Add check for gtk-doc version.
2001-02-10 Tor Lillqvist <tml@iki.fi>
* gtypes.h

View File

@ -1,3 +1,7 @@
Mon Feb 12 15:01:09 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (gtk_doc_min_version): Add check for gtk-doc version.
2001-02-10 Tor Lillqvist <tml@iki.fi>
* gtypes.h

View File

@ -1264,8 +1264,23 @@ fi
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 <<EOF ; then
exit (("$gtk_doc_version" =~ /^[[0-9]]+\.[[0-9]]+$/) &&
("$gtk_doc_version" >= "$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)