From 9f3f1ad06a99ba16797e119aac2be889ca9092da Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 15 Mar 2016 14:03:32 -0400 Subject: [PATCH] build: Work without gtk-doc installed This follows the pattern used by e.g. glib. If people (commonly embedded systems) don't want docs, we should support that. Pull request: #235 Approved by: jlebon --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 59243651..243c1822 100644 --- a/configure.ac +++ b/configure.ac @@ -79,7 +79,11 @@ m4_ifdef([GOBJECT_INTROSPECTION_CHECK], [ ]) AM_CONDITIONAL(BUILDOPT_INTROSPECTION, test "x$found_introspection" = xyes) +m4_ifdef([GTK_DOC_CHECK], [ GTK_DOC_CHECK([1.15], [--flavour no-tmpl]) +],[ +AM_CONDITIONAL([ENABLE_GTK_DOC],[false]) +]) AC_ARG_ENABLE(installed_tests, AS_HELP_STRING([--enable-installed-tests],