summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-05 18:43:44 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-05 18:43:44 +0200
commit13d800fa04c930b86ccf17fe12e2c7e4a682f044 (patch)
tree1d6c4e299c7b355596819a977fc21aea4a4bb181
parent344a18d3015c2616b65f152957be13fe24e2ffe5 (diff)
only run test_gns_proxy if we have the dependencies
-rw-r--r--src/gns/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gns/Makefile.am b/src/gns/Makefile.am
index f51e571ec..bd8311d70 100644
--- a/src/gns/Makefile.am
+++ b/src/gns/Makefile.am
@@ -272,8 +272,14 @@ libgnunet_plugin_block_gns_la_LIBADD = \
libgnunet_plugin_block_gns_la_LDFLAGS = \
$(GN_PLUGIN_LDFLAGS)
+if HAVE_MHD
+if HAVE_GNUTLS
+if HAVE_LIBGNURL
check_PROGRAMS = \
test_gns_proxy
+endif
+endif
+endif
check_SCRIPTS = \
test_gns_lookup.sh \
@@ -292,7 +298,7 @@ check_SCRIPTS = \
test_gns_soa_lookup.sh\
test_gns_revocation.sh\
test_gns_cname_lookup.sh \
- test_proxy.sh
+ test_proxy.sh
if ENABLE_TEST_RUN
if HAVE_SQLITE