From: Markus Teich Date: Thu, 12 Jan 2017 16:29:25 +0000 (+0100) Subject: include json dependency X-Git-Tag: taler-0.2.1~461 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=84dc6a3184d951d6b5f49e3075022a6e5895b716;p=oweals%2Fgnunet.git include json dependency --- diff --git a/src/Makefile.am b/src/Makefile.am index c6f320ae4..56f301ac0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -60,6 +60,10 @@ if HAVE_JSON endif endif +if HAVE_JSON + AUCTION_DIR = auction +endif + if TALER_ONLY SUBDIRS = \ include \ @@ -122,7 +126,7 @@ SUBDIRS = \ psycstore \ psyc \ social \ - auction \ + $(AUCTION_DIR) \ $(EXP_DIR) \ $(PROVIDER_DIR) diff --git a/src/auction/Makefile.am b/src/auction/Makefile.am index 18a3e5604..8518244fa 100644 --- a/src/auction/Makefile.am +++ b/src/auction/Makefile.am @@ -28,24 +28,28 @@ gnunet_auction_create_SOURCES = \ gnunet-auction-create.c gnunet_auction_create_LDADD = \ $(top_builddir)/src/util/libgnunetutil.la \ + -ljansson \ $(GN_LIBINTL) gnunet_auction_info_SOURCES = \ gnunet-auction-info.c gnunet_auction_info_LDADD = \ $(top_builddir)/src/util/libgnunetutil.la \ + -ljansson \ $(GN_LIBINTL) gnunet_auction_join_SOURCES = \ gnunet-auction-join.c gnunet_auction_join_LDADD = \ $(top_builddir)/src/util/libgnunetutil.la \ + -ljansson \ $(GN_LIBINTL) gnunet_service_auction_SOURCES = \ gnunet-service-auction.c gnunet_service_auction_LDADD = \ $(top_builddir)/src/util/libgnunetutil.la \ + -ljansson \ $(GN_LIBINTL) diff --git a/src/auction/gnunet-auction-create.c b/src/auction/gnunet-auction-create.c index fae9c13ae..c21e93f26 100644 --- a/src/auction/gnunet-auction-create.c +++ b/src/auction/gnunet-auction-create.c @@ -25,6 +25,7 @@ */ #include "platform.h" #include "gnunet_util_lib.h" +#include "gnunet_json_lib.h" /* #include "gnunet_auction_service.h" */ #define FIRST_PRICE 0