aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-12 15:08:39 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-12 15:08:39 +0000
commitf6bdc4c133a26084e3a4457ad8dcc27c56344bb5 (patch)
tree3e94fe4c58085f301e4da61910ab5ffbe9decd43 /src/hostlist
parentf2cfcd5b55fb441a5cd76c4508be48c85d2b93b1 (diff)
downloadgnunet-f6bdc4c133a26084e3a4457ad8dcc27c56344bb5.tar.gz
gnunet-f6bdc4c133a26084e3a4457ad8dcc27c56344bb5.zip
-only build hostlist if we have curl
Diffstat (limited to 'src/hostlist')
-rw-r--r--src/hostlist/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hostlist/Makefile.am b/src/hostlist/Makefile.am
index f764f2fbe..1df537276 100644
--- a/src/hostlist/Makefile.am
+++ b/src/hostlist/Makefile.am
@@ -14,8 +14,10 @@ if HAVE_MHD
14 GN_LIBMHD = -lmicrohttpd 14 GN_LIBMHD = -lmicrohttpd
15endif 15endif
16 16
17if HAVE_LIBCURL
17bin_PROGRAMS = \ 18bin_PROGRAMS = \
18 gnunet-daemon-hostlist 19 gnunet-daemon-hostlist
20endif
19 21
20gnunet_daemon_hostlist_SOURCES = \ 22gnunet_daemon_hostlist_SOURCES = \
21 gnunet-daemon-hostlist.c gnunet-daemon-hostlist.h \ 23 gnunet-daemon-hostlist.c gnunet-daemon-hostlist.h \
@@ -36,6 +38,7 @@ gnunet_daemon_hostlist_LDADD = \
36gnunet_daemon_hostlist_CPPFLAGS = \ 38gnunet_daemon_hostlist_CPPFLAGS = \
37 @LIBCURL_CPPFLAGS@ 39 @LIBCURL_CPPFLAGS@
38 40
41if HAVE_LIBCURL
39check_PROGRAMS = \ 42check_PROGRAMS = \
40 test_gnunet_daemon_hostlist \ 43 test_gnunet_daemon_hostlist \
41 test_gnunet_daemon_hostlist_reconnect \ 44 test_gnunet_daemon_hostlist_reconnect \
@@ -49,6 +52,7 @@ TESTS = \
49 test_gnunet_daemon_hostlist_learning 52 test_gnunet_daemon_hostlist_learning
50endif 53endif
51endif 54endif
55endif
52 56
53test_gnunet_daemon_hostlist_SOURCES = \ 57test_gnunet_daemon_hostlist_SOURCES = \
54 test_gnunet_daemon_hostlist.c 58 test_gnunet_daemon_hostlist.c