diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-10-12 15:08:39 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-10-12 15:08:39 +0000 |
commit | f6bdc4c133a26084e3a4457ad8dcc27c56344bb5 (patch) | |
tree | 3e94fe4c58085f301e4da61910ab5ffbe9decd43 /src/hostlist | |
parent | f2cfcd5b55fb441a5cd76c4508be48c85d2b93b1 (diff) | |
download | gnunet-f6bdc4c133a26084e3a4457ad8dcc27c56344bb5.tar.gz gnunet-f6bdc4c133a26084e3a4457ad8dcc27c56344bb5.zip |
-only build hostlist if we have curl
Diffstat (limited to 'src/hostlist')
-rw-r--r-- | src/hostlist/Makefile.am | 4 |
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 |
15 | endif | 15 | endif |
16 | 16 | ||
17 | if HAVE_LIBCURL | ||
17 | bin_PROGRAMS = \ | 18 | bin_PROGRAMS = \ |
18 | gnunet-daemon-hostlist | 19 | gnunet-daemon-hostlist |
20 | endif | ||
19 | 21 | ||
20 | gnunet_daemon_hostlist_SOURCES = \ | 22 | gnunet_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 = \ | |||
36 | gnunet_daemon_hostlist_CPPFLAGS = \ | 38 | gnunet_daemon_hostlist_CPPFLAGS = \ |
37 | @LIBCURL_CPPFLAGS@ | 39 | @LIBCURL_CPPFLAGS@ |
38 | 40 | ||
41 | if HAVE_LIBCURL | ||
39 | check_PROGRAMS = \ | 42 | check_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 |
50 | endif | 53 | endif |
51 | endif | 54 | endif |
55 | endif | ||
52 | 56 | ||
53 | test_gnunet_daemon_hostlist_SOURCES = \ | 57 | test_gnunet_daemon_hostlist_SOURCES = \ |
54 | test_gnunet_daemon_hostlist.c | 58 | test_gnunet_daemon_hostlist.c |