--- a/configure.ac 2009-10-23 04:52:31.000000000 +0200 +++ b/configure.ac 2023-05-18 01:37:16.213390282 +0200 @@ -31,44 +31,6 @@ # [AC_DEFINE(FIXED_PANGO, 1, [Define to 1 if pango >= 1.8.0.])], # [AC_MSG_WARN([Enabling word-breaking workarounds since pango < 1.8.0])]) -# gtk-doc check: -# gtk-doc check: -# from http://cvs.gnome.org/lxr/source/gtk-doc/examples/configure.in -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}/gtk-doc/html' -else - HTML_DIR=$with_html_dir -fi - -AC_SUBST(HTML_DIR) - -gtk_doc_min_version=1.0 -AC_MSG_CHECKING([gtk-doc version >= $gtk_doc_min_version]) -if pkg-config --atleast-version=$gtk_doc_min_version gtk-doc; then - AC_MSG_RESULT(yes) - GTKDOC=true -else - AC_MSG_RESULT(no) - GTKDOC=false -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) - -# end gtk-doc check. - AC_PROG_CC AC_PROG_LIBTOOL @@ -90,9 +52,7 @@ dnl AM_MAINTAINER_MODE -AC_CONFIG_FILES(Makefile gtkspell/Makefile examples/Makefile gtkspell-2.0.pc gtkspell.spec docs/Makefile po/Makefile.in) - -GTK_DOC_CHECK(1.0) +AC_CONFIG_FILES(Makefile gtkspell/Makefile examples/Makefile gtkspell-2.0.pc gtkspell.spec po/Makefile.in) AC_OUTPUT --- a/Makefile.am 2009-10-08 00:24:30.000000000 +0200 +++ b/Makefile.am 2023-05-18 01:55:22.922555140 +0200 @@ -1,4 +1,4 @@ -SUBDIRS=gtkspell examples docs po +SUBDIRS=gtkspell examples po pkgconfigdir=$(libdir)/pkgconfig pkgconfig_DATA=gtkspell-2.0.pc --- a/Makefile.in 2009-10-23 04:57:14.000000000 +0200 +++ b/Makefile.in 2023-05-18 01:45:26.493361866 +0200 @@ -224,7 +224,7 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -SUBDIRS = gtkspell examples docs po +SUBDIRS = gtkspell examples po pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = gtkspell-2.0.pc DISTCLEANFILES = gtkspell-2.0.pc