Skip to contentSkip to conversation

build: Define enable_gtk_doc when the m4 macro is missing

PATCH In review Damien Lespiau 1 participant 2 messages Mar 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: Define enable_gtk_doc when the m4 macro is missing

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.

---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)
configure.ac +1 -0
index 21420da..b71b100 100644
@@ -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
 ])
 
 
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 5 lines · Damien Lespiau

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.

Pushed with Daniel's IRC-ack

Signature · 1 line
Damien