From f6bdc4c133a26084e3a4457ad8dcc27c56344bb5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 12 Oct 2012 15:08:39 +0000 Subject: [PATCH] -only build hostlist if we have curl --- src/hostlist/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) 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 GN_LIBMHD = -lmicrohttpd endif +if HAVE_LIBCURL bin_PROGRAMS = \ gnunet-daemon-hostlist +endif gnunet_daemon_hostlist_SOURCES = \ gnunet-daemon-hostlist.c gnunet-daemon-hostlist.h \ @@ -36,6 +38,7 @@ gnunet_daemon_hostlist_LDADD = \ gnunet_daemon_hostlist_CPPFLAGS = \ @LIBCURL_CPPFLAGS@ +if HAVE_LIBCURL check_PROGRAMS = \ test_gnunet_daemon_hostlist \ test_gnunet_daemon_hostlist_reconnect \ @@ -49,6 +52,7 @@ TESTS = \ test_gnunet_daemon_hostlist_learning endif endif +endif test_gnunet_daemon_hostlist_SOURCES = \ test_gnunet_daemon_hostlist.c -- 2.25.1