build: Define enable_gtk_doc when the m4 macro is missing
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 21 Mar 2014 14:36:54 +0000 (14:36 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Fri, 21 Mar 2014 15:53:48 +0000 (15:53 +0000)
For setups where we don't have gtk-doc installed, ie when the
GTK_DOC_CHECK macro doesn't expand, we still need to populate the
enable_gtk_doc variable to provide a value to the configure summary.

Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
configure.ac

index 21420da..b71b100 100644 (file)
@@ -47,6 +47,7 @@ m4_ifdef([GTK_DOC_CHECK], [
 GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
 ],[
 AM_CONDITIONAL([ENABLE_GTK_DOC], false)
+enable_gtk_doc=no
 ])