gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] branch master updated: fix #5108


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: fix #5108
Date: Tue, 24 Oct 2017 15:38:27 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 1e2a852  fix #5108
1e2a852 is described below

commit 1e2a852a9559fa27c13fb06e4704c7cf47870dfa
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Oct 24 15:37:40 2017 +0200

    fix #5108
---
 Makefile.am  | 8 ++++++++
 configure.ac | 9 ++++++++-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index c42e33d..9309390 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,9 +1,17 @@
 # This Makefile is in the public domain
 
 if DOC_ONLY
+if ENABLE_DOC
   SUBDIRS = . doc
 else
+  SUBDIRS = .
+endif
+else
+if ENABLE_DOC
   SUBDIRS = . src doc
+else
+  SUBDIRS = . src doc
+endif
 endif
 
 @DX_RULES@
diff --git a/configure.ac b/configure.ac
index 73c850d..b13a58a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -153,7 +153,7 @@ AS_IF([test $microhttpd = 0],
 *** ]])])
 
 jansson=0
-PKG_CHECK_MODULES([JANSSON], [jansson >= 2.3], 
+PKG_CHECK_MODULES([JANSSON], [jansson >= 2.3],
                   [LDFLAGS="$JANSSON_LIBS $LDFLAGS"
                    CPPFLAGS="$JANSSON_CFLAGS $CPPFLAGS"],
                   [AC_MSG_ERROR([[
@@ -265,6 +265,12 @@ AC_CHECK_PROG([tsc],[tsc],[yes],[no])
 AM_CONDITIONAL([HAVE_TSC], [test "x$tsc" = xyes])
 
 
+AC_ARG_ENABLE([[doc]],
+  [AS_HELP_STRING([[--disable-doc]], [do not build any documentation])], ,
+    [enable_doc=yes])
+test "x$enable_doc" = "xno" || enable_doc=yes
+AM_CONDITIONAL([ENABLE_DOC], [test "x$enable_doc" = "xyes"])
+
 else
 
 # logic if doc_only is set, make sure conditionals are still defined
@@ -275,6 +281,7 @@ AM_CONDITIONAL([HAVE_LIBCURL], [false])
 AM_CONDITIONAL([HAVE_LIBGNURL], [false])
 AM_CONDITIONAL([HAVE_TSC], [false])
 AM_CONDITIONAL([USE_COVERAGE], [false])
+AM_CONDITIONAL([ENABLE_DOC], [true])
 
 
 # end of 'doc_only'

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]