[gbrainy/conditional-help] Make building of help conditional to macro availability.



commit a4549273a2f536143486720cf431bf21424da799
Author: Jordi Mallach <jordi mallach net>
Date:   Wed Jan 9 11:07:21 2019 +0100

    Make building of help conditional to macro availability.

 configure.ac | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index 33222c0..ad52e9c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,8 +42,12 @@ if test ! -x "$CSC"; then
 fi
 
 dnl -- Initialize docs
-
+enable_documentation=no
+m4_ifdef([YELP_HELP_INIT],[
 YELP_HELP_INIT
+enable_documentation=yes
+])
+AM_CONDITIONAL(ENABLE_DOCUMENTATION, test x$enable_documentation = xyes)
 
 dnl -- Check for mono pc file
 


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