[cogl] build: Fix gtkdocize as it needs to parse the GTK_DOC_CHECK line



commit 0da07b4e3de41f268301f8759b699ae132a0dc71
Author: Damien Lespiau <damien lespiau intel com>
Date:   Thu May 12 12:59:22 2011 +0100

    build: Fix gtkdocize as it needs to parse the GTK_DOC_CHECK line

 configure.ac |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1d36b43..1c91781 100644
--- a/configure.ac
+++ b/configure.ac
@@ -697,8 +697,11 @@ AS_ALL_LINGUAS
 dnl ================================================================
 dnl Documentation stuff.
 dnl ================================================================
-m4_ifdef([GTK_DOC_CHECK],
-         [GTK_DOC_CHECK([gtk_doc_req_version], [--flavour no-tmpl])])
+# 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([gtk_doc_req_version], [--flavour no-tmpl])
+])
 AM_CONDITIONAL([BUILD_GTK_DOC], [test "x$enable_gtk_doc" = "xyes"])
 
 dnl ================================================================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]