diff options
-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 |