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
This commit is contained in:
parent
429487231f
commit
9f3f1ad06a
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user