diff -crN ./gtk-doc/configure.in /gestconf/project/GNOME_ACL/GNOME/build/sh_build_GNOME/src/./gtk-doc/configure.in
*** ./gtk-doc/configure.in	Fri Apr 18 03:06:31 2003
--- /gestconf/project/GNOME_ACL/GNOME/build/sh_build_GNOME/src/./gtk-doc/configure.in	Thu Jul  3 13:05:37 2003
***************
*** 23,34 ****
    AC_MSG_ERROR([perl not found])
  fi
  
! AC_MSG_CHECKING([if Perl version >= 5.6.0])
! if "$PERL" -e "require v5.6.0"; then
!   AC_MSG_RESULT([yes])
! else
!   AC_MSG_RESULT([no])
!   AC_MSG_ERROR([perl >= 5.6.0 is required for gtk-doc])
  fi
  
  dnl
--- 23,30 ----
    AC_MSG_ERROR([perl not found])
  fi
  
! if test "$PERL_PATH"; then
!    PERL=$PERL_PATH
  fi
  
  dnl
***************
*** 44,50 ****
    SGML_FORMAT_TYPE=sgml
    AC_PATH_PROG([JADE], [jade])
    if test -z "$JADE"; then
!     AC_MSG_ERROR([openjade/jade not found])
    fi
  fi
  AC_SUBST([SGML_FORMAT_TYPE])
--- 40,46 ----
    SGML_FORMAT_TYPE=sgml
    AC_PATH_PROG([JADE], [jade])
    if test -z "$JADE"; then
!     AC_MSG_WARN([openjade/jade not found])
    fi
  fi
  AC_SUBST([SGML_FORMAT_TYPE])
***************
*** 54,67 ****
  dnl
  AC_PATH_PROG([XSLTPROC], [xsltproc])
  if test -z "$XSLTPROC"; then
!   AC_MSG_ERROR([xsltproc not found])
  fi
  
! dnl check for DocBook DTD and stylesheets in the local catalog.
! JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.1.2//EN],
!    [DocBook XML DTD V4.1.2])
! JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl],
!    [DocBook XSL Stylesheets])
  
  dnl
  dnl Set PACKAGE_DATA_DIR so we can find the script containing common routines.
--- 50,98 ----
  dnl
  AC_PATH_PROG([XSLTPROC], [xsltproc])
  if test -z "$XSLTPROC"; then
!   AC_MSG_WARN([xsltproc not found])
  fi
  
! #dnl check for DocBook DTD and stylesheets in the local catalog.
! #JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.1.2//EN],
! #   [DocBook XML DTD V4.1.2])
! #JhH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl],
! #   [DocBook XSL Stylesheets])
! 
! dnl ====================================
! dnl = Begin tests for libxml2
! dnl ====================================
! AC_PATH_PROG(XML_CONFIG,xml2-config,no)
! if test x$XML_CONFIG = xno; then
!   AC_MSG_ERROR(Couldn't find xml2-config please install the libxml2 and libxml2-devel packages)
! fi
! AC_MSG_CHECKING(libxml2 version)
! libxml2_version=`$XML_CONFIG --version | awk '{print $1;}'`
! AC_MSG_RESULT($libxml2_version)
! libxml2_version=`echo $libxml2_version | awk -F. '{print $1 * 10000 + $2 * 100 + $3;}'`
! if test 0$libxml2_version -lt 20419; then
!         AC_MSG_ERROR(libxml2 2.4.19 or later required)
! fi
! XML_LIBS=`$XML_CONFIG --libs`
! XML_CFLAGS=`$XML_CONFIG --cflags`
! 
! dnl ====================================
! dnl check function
! dnl docbParseFile (part of libxml2)
! dnl ====================================
! AC_CHECK_LIB(xml2, docbParseFile)
! AC_CHECK_FUNCS(docbParseFile)
! 
! AC_SUBST(XML_LIBS)
! AC_SUBST(XML_CFLAGS)
! LIBXML2_REQUIRED=2.4.19
! AC_SUBST(LIBXML2_REQUIRED)
! dnl ====================================
! dnl = End tests for libxml2
! dnl ====================================
! 
! 
! 
  
  dnl
  dnl Set PACKAGE_DATA_DIR so we can find the script containing common routines.
diff -crN ./gtk-doc/gtkdoc-mkhtml.in /gestconf/project/GNOME_ACL/GNOME/build/sh_build_GNOME/src/./gtk-doc/gtkdoc-mkhtml.in
*** ./gtk-doc/gtkdoc-mkhtml.in	Wed Feb 19 09:08:45 2003
--- /gestconf/project/GNOME_ACL/GNOME/build/sh_build_GNOME/src/./gtk-doc/gtkdoc-mkhtml.in	Thu Jul  3 13:06:17 2003
***************
*** 30,36 ****
  
  # Delete the old index.sgml file, if it exists.
  if test -f index.sgml; then
!       rm -f index.sgml
  fi
  
  if $is_xml; then
--- 30,36 ----
  
  # Delete the old index.sgml file, if it exists.
  if test -f index.sgml; then
! 	mv -f index.sgml index.sgml.prev
  fi
  
  if $is_xml; then
***************
*** 44,49 ****
--- 44,55 ----
        $gtkdocdir/gtk-doc.dcl $document
  fi
  
+ if test ! -e index.sgml
+ then
+       # if jade fails, we wan't to restore old index.sgml
+       mv -f index.sgml.prev index.sgml
+ fi
+ 
  # copy navigation images to html directory ...
  cp -f $gtkdocdir/*.png .
  
