diff --git a/configure.ac b/configure.ac index 605251e..c64613d 100644 --- a/configure.ac +++ b/configure.ac @@ -296,7 +296,7 @@ if test x$enable_poppler_glib = xyes; then fi AM_CONDITIONAL(BUILD_POPPLER_GLIB, test x$enable_poppler_glib = xyes) -GTK_DOC_CHECK([1.0]) +m4_ifdef([GTK_DOC_CHECK],[GTK_DOC_CHECK([1.0])]) dnl dnl GDK diff --git a/glib/reference/Makefile.am b/glib/reference/Makefile.am index fc99ed1..d8b6fb0 100644 --- a/glib/reference/Makefile.am +++ b/glib/reference/Makefile.am @@ -81,7 +81,7 @@ GTKDOC_LIBS=$(top_builddir)/poppler/libpoppler.la \ # This includes the standard gtk-doc make rules, copied by gtkdocize. -include $(top_srcdir)/gtk-doc.make +-include $(top_srcdir)/gtk-doc.make # Other files to distribute # e.g. EXTRA_DIST += version.xml.in