From: Christian Grothoff Date: Fri, 12 Oct 2012 15:08:39 +0000 (+0000) Subject: -only build hostlist if we have curl X-Git-Tag: initial-import-from-subversion-38251~11421 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f6bdc4c133a26084e3a4457ad8dcc27c56344bb5;p=oweals%2Fgnunet.git -only build hostlist if we have curl --- 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