summarylogtreecommitdiffstats
path: root/gtk-doc.patch
blob: 581137fd9769604d144f89fe6ba693164ad105ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/configure.ac b/configure.ac
index d0bb1a1..5eee551 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,13 @@ AM_INIT_AUTOMAKE([foreign subdir-objects dist-xz no-dist-gzip tar-ustar])
 AM_MAINTAINER_MODE([enable])
 m4_include([Source/autotools/SetupAutomake.m4])
 
+# check for gtk-doc
+m4_ifdef([GTK_DOC_CHECK], [
+GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
+],[
+AM_CONDITIONAL([ENABLE_GTK_DOC], false)
+])
+
 ######################################################################################
 # Processing of configuration files
 ######################################################################################