don't attempt to build dht-profiler if testing is disabled
authorDaniel Golle <daniel@makrotopia.org>
Tue, 10 Jan 2017 04:42:44 +0000 (05:42 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 10 Jan 2017 04:42:44 +0000 (05:42 +0100)
src/dht/Makefile.am

index f91917768bed5118f5a04cffd71f3cda7c04b708..1a174165cc798651757277fd4220160fa1abf39b 100644 (file)
@@ -58,8 +58,12 @@ endif
 noinst_PROGRAMS = \
  gnunet-dht-monitor \
  gnunet-dht-get \
- gnunet-dht-put \
+ gnunet-dht-put
+
+if HAVE_TESTING
+noinst_PROGRAMS += \
  gnunet-dht-profiler
+endif
 
 gnunet_service_dht_SOURCES = \
  gnunet-service-dht.c gnunet-service-dht.h \