Index: configure.in
===================================================================
--- configure.in	(revision 34256)
+++ configure.in	(working copy)
@@ -1801,55 +1801,6 @@ if echo ${plugins_enabled} | grep "excha
 	fi
 fi
 
-##################################################
-# Check for gtk-doc.
-##################################################
-
-AC_ARG_WITH([html-dir],
-	    AC_HELP_STRING([--with-html-dir=PATH],
-			   [path to installed docs.]))
-
-if test "x$with_html_dir" = "x" ; then
-  HTML_DIR='${datadir}/gnome/html'
-else
-  HTML_DIR=$with_html_dir
-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
-
-dnl Let people disable the gtk-doc stuff.
-AC_ARG_ENABLE([gtk-doc],
-	      AC_HELP_STRING([--enable-gtk-doc],
-			     [Use gtk-doc to build documentation [default=auto]]),
-	      [enable_gtk_doc=$enableval],[enable_gtk_doc=auto])
-
-if test x$enable_gtk_doc = xauto ; then
-  if test x$GTKDOC = xtrue ; then
-    enable_gtk_doc=yes
-  else
-    enable_gtk_doc=no 
-  fi
-fi
-
-AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
-
 dnl ***********
 dnl GConf stuff
 dnl ***********
@@ -2073,17 +2024,4 @@ echo "\
 	SSL support:      $msg_ssl
 	SMIME support:    $msg_smime
 	Plugins:	  $msg_plugins
-	Gtk-doc:	  $enable_gtk_doc
 	DBus API version  $DBUS_VERSION"
-
-if test x$enable_gtk_doc = xyes; then
-echo "
-	Programming documentation files will be built automatically.
-"
-else
-echo "
-	Programming documentation files will not be built.
-	You may want to install the gtk-doc package
-	so that you will get the Evolution Developer's Guide.
-"
-fi
