Commit 707ece73 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

do as the gtk+ folks did and replace the gtk-doc version check with an

2002-12-03  Sven Neumann  <sven@gimp.org>

	* configure.in: do as the gtk+ folks did and replace the gtk-doc
	version check with an all-sh version (#99216).
parent d281156e
2002-12-03 Sven Neumann <sven@gimp.org>
* configure.in: do as the gtk+ folks did and replace the gtk-doc
version check with an all-sh version (#99216).
2002-12-02 Sven Neumann <sven@gimp.org>
 
* app/core/gimpdata.c (gimp_data_save): don't check filename for
......
......@@ -944,12 +944,20 @@ AC_SUBST(HTML_DIR)
AC_CHECK_PROG(GTKDOC, gtkdoc-mkdb, true, false)
if $GTKDOC ; then
gtk_doc_version=`gtkdoc-mkdb --version`
AC_MSG_CHECKING([gtk-doc version ($gtk_doc_version) >= $GTKDOC_REQUIRED_VERSION])
if perl <<EOF ; then
exit (("$gtk_doc_version" =~ /^[[0-9]]+\.[[0-9]]+$/) &&
("$gtk_doc_version" >= "$GTKDOC_REQUIRED_VERSION") ? 0 : 1);
EOF
gtk_doc_version=`gtkdoc-mkdb --version`
AC_MSG_CHECKING([gtk-doc version ($gtk_doc_version) >= $GTKDOC_REQUIRED_VERSION])
IFS="${IFS= }"; gimp_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="$gimp_save_IFS"
if $GTKDOC ; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
......
*.gmo
*.mo
*.pot
.intltool-merge-cachemake
Makefile
Makefile.in
POTFILES
*.pot
messages
.intltool-merge-cachemake
po2tbl.sed.in
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment