only run test_gns_proxy if we have the dependencies
authorChristian Grothoff <christian@grothoff.org>
Wed, 5 Jun 2019 16:43:44 +0000 (18:43 +0200)
committerChristian Grothoff <christian@grothoff.org>
Wed, 5 Jun 2019 16:43:44 +0000 (18:43 +0200)
src/gns/Makefile.am

index f51e571ec07373f2d6328cbd9476a59c92971971..bd8311d704246f776937d5dc4790153b27a333af 100644 (file)
@@ -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