diff -Naur gtk-doc-1.15/configure gtk-doc-1.15-haiku/configure
--- gtk-doc-1.15/configure	2010-05-21 05:10:43.057671680 -0300
+++ gtk-doc-1.15-haiku/configure	2010-09-03 22:31:41.759431168 -0300
@@ -12900,120 +12900,6 @@
 fi
 
 
-  # check for the presence of the XML catalog
-
-# Check whether --with-xml-catalog was given.
-if test "${with_xml_catalog+set}" = set; then
-  withval=$with_xml_catalog;
-else
-  with_xml_catalog=/etc/xml/catalog
-fi
-
-  jh_found_xmlcatalog=true
-  XML_CATALOG_FILE="$with_xml_catalog"
-
-  { $as_echo "$as_me:$LINENO: checking for XML catalog ($XML_CATALOG_FILE)" >&5
-$as_echo_n "checking for XML catalog ($XML_CATALOG_FILE)... " >&6; }
-  if test -f "$XML_CATALOG_FILE"; then
-    { $as_echo "$as_me:$LINENO: result: found" >&5
-$as_echo "found" >&6; }
-  else
-    jh_found_xmlcatalog=false
-    { $as_echo "$as_me:$LINENO: result: not found" >&5
-$as_echo "not found" >&6; }
-  fi
-
-  # check for the xmlcatalog program
-  # Extract the first word of "xmlcatalog", so it can be a program name with args.
-set dummy xmlcatalog; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_XMLCATALOG+set}" = set; then
-  $as_echo_n "(cached) " >&6
-else
-  case $XMLCATALOG in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-done
-IFS=$as_save_IFS
-
-  test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no"
-  ;;
-esac
-fi
-XMLCATALOG=$ac_cv_path_XMLCATALOG
-if test -n "$XMLCATALOG"; then
-  { $as_echo "$as_me:$LINENO: result: $XMLCATALOG" >&5
-$as_echo "$XMLCATALOG" >&6; }
-else
-  { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-  if test "x$XMLCATALOG" = xno; then
-    jh_found_xmlcatalog=false
-  fi
-
-  if $jh_found_xmlcatalog; then
-    :
-  else
-    :
-  fi
-
-
-    { $as_echo "$as_me:$LINENO: checking for DocBook XML DTD V4.3 in XML catalog" >&5
-$as_echo_n "checking for DocBook XML DTD V4.3 in XML catalog... " >&6; }
-  if $jh_found_xmlcatalog && \
-     { ($as_echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.3//EN\" >&2") >&5
-  ($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.3//EN" >&2) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; then
-    { $as_echo "$as_me:$LINENO: result: found" >&5
-$as_echo "found" >&6; }
-      else
-    { $as_echo "$as_me:$LINENO: result: not found" >&5
-$as_echo "not found" >&6; }
-    { { $as_echo "$as_me:$LINENO: error: could not find DocBook XML DTD V4.3 in XML catalog" >&5
-$as_echo "$as_me: error: could not find DocBook XML DTD V4.3 in XML catalog" >&2;}
-   { (exit 1); exit 1; }; }
-  fi
-
-
-    { $as_echo "$as_me:$LINENO: checking for DocBook XSL Stylesheets in XML catalog" >&5
-$as_echo_n "checking for DocBook XSL Stylesheets in XML catalog... " >&6; }
-  if $jh_found_xmlcatalog && \
-     { ($as_echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl\" >&2") >&5
-  ($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl" >&2) 2>&5
-  ac_status=$?
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; then
-    { $as_echo "$as_me:$LINENO: result: found" >&5
-$as_echo "found" >&6; }
-      else
-    { $as_echo "$as_me:$LINENO: result: not found" >&5
-$as_echo "not found" >&6; }
-    { { $as_echo "$as_me:$LINENO: error: could not find DocBook XSL Stylesheets in XML catalog" >&5
-$as_echo "$as_me: error: could not find DocBook XSL Stylesheets in XML catalog" >&2;}
-   { (exit 1); exit 1; }; }
-  fi
-
-
 HIGHLIGHT_OPTIONS=""
 # Extract the first word of "source-highlight", so it can be a program name with args.
 set dummy source-highlight; ac_word=$2
