replace gtk-doc version check with an all-sh version that works better

2002-11-21 15:48:13 2002 Dan Mills  <thunder@ximian.com>

	* configure.in: replace gtk-doc version check with an all-sh
	version that works better (#99216).
This commit is contained in:
15:48:13 2002 Dan Mills
2002-11-21 20:50:07 +00:00
committed by Dan Mills
parent 6efdc2c552
commit 5c798a8e30
7 changed files with 45 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
2002-11-21 15:48:13 2002 Dan Mills <thunder@ximian.com>
* configure.in: replace gtk-doc version check with an all-sh
version that works better (#99216).
Wed Nov 20 20:35:14 2002 Kristian Rietveld <kris@gtk.org>
* ==== Released 2.0.9 ====

View File

@@ -1,3 +1,8 @@
2002-11-21 15:48:13 2002 Dan Mills <thunder@ximian.com>
* configure.in: replace gtk-doc version check with an all-sh
version that works better (#99216).
Wed Nov 20 20:35:14 2002 Kristian Rietveld <kris@gtk.org>
* ==== Released 2.0.9 ====

View File

@@ -1,3 +1,8 @@
2002-11-21 15:48:13 2002 Dan Mills <thunder@ximian.com>
* configure.in: replace gtk-doc version check with an all-sh
version that works better (#99216).
Wed Nov 20 20:35:14 2002 Kristian Rietveld <kris@gtk.org>
* ==== Released 2.0.9 ====

View File

@@ -1,3 +1,8 @@
2002-11-21 15:48:13 2002 Dan Mills <thunder@ximian.com>
* configure.in: replace gtk-doc version check with an all-sh
version that works better (#99216).
Wed Nov 20 20:35:14 2002 Kristian Rietveld <kris@gtk.org>
* ==== Released 2.0.9 ====

View File

@@ -1,3 +1,8 @@
2002-11-21 15:48:13 2002 Dan Mills <thunder@ximian.com>
* configure.in: replace gtk-doc version check with an all-sh
version that works better (#99216).
Wed Nov 20 20:35:14 2002 Kristian Rietveld <kris@gtk.org>
* ==== Released 2.0.9 ====

View File

@@ -1,3 +1,8 @@
2002-11-21 15:48:13 2002 Dan Mills <thunder@ximian.com>
* configure.in: replace gtk-doc version check with an all-sh
version that works better (#99216).
Wed Nov 20 20:35:14 2002 Kristian Rietveld <kris@gtk.org>
* ==== Released 2.0.9 ====

View File

@@ -1369,15 +1369,23 @@ gtk_doc_min_version=0.9
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
IFS="${IFS= }"; gtk_save_IFS="$IFS"; IFS="."
set $gtk_doc_version
for min in $gtk_doc_min_version ; do
cur=$1; shift
if test -z $min ; then break; fi
if test -z $cur ; then GTKDOC=false; break; fi
if test $cur -gt $min ; then break ; fi
if test $cur -lt $min ; then GTKDOC=false; break ; fi
done
IFS="$gtk_save_IFS"
if $GTKDOC ; then
AC_MSG_RESULT(yes)
else
else
AC_MSG_RESULT(no)
GTKDOC=false
fi
fi
fi
AC_CHECK_PROG(DB2HTML, db2html, true, false)