summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2012-04-17 15:17:27 +0100
committerKay Sievers <kay@vrfy.org>2012-04-17 17:01:21 +0200
commit92ec4495f76a7a2a6c31f5bb2a5240f78dcfe1d2 (patch)
tree468cd0a008b9bc7fd8f2766507b1f197abeda715 /configure.ac
parent512dabcdc65eece0bcebb4f971ec34794be8d35d (diff)
build-sys: make gtk-doc dependency optional
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2e766a6a5d..5a4fc84588 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,7 +61,16 @@ AM_PROG_CC_C_O
AC_PROG_GCC_TRADITIONAL
AC_PATH_PROG([M4], [m4])
-GTK_DOC_CHECK(1.10)
+
+# gtkdocize greps for ^GTK_DOC_CHECK and parses it, so you need to have
+# it on it's own line.
+m4_ifdef([GTK_DOC_CHECK], [
+GTK_DOC_CHECK([1.18])
+],[
+AM_CONDITIONAL([ENABLE_GTK_DOC],[false])
+])
+
+
GOBJECT_INTROSPECTION_CHECK([1.31.1])
AC_CHECK_TOOL(OBJCOPY, objcopy)