don't attempt to build set profilers if testing is disabled
authorDaniel Golle <daniel@makrotopia.org>
Tue, 10 Jan 2017 04:49:13 +0000 (05:49 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 10 Jan 2017 04:53:28 +0000 (05:53 +0100)
src/set/Makefile.am

index 0142b1729ce40a4fd54ab903f0fd6f9bfde0ab5c..4d990479cb51e750fae8e8c26705b50c103993b1 100644 (file)
@@ -16,11 +16,13 @@ if USE_COVERAGE
   AM_CFLAGS = -fprofile-arcs -ftest-coverage
 endif
 
+if HAVE_TESTING
 bin_PROGRAMS = \
  gnunet-set-profiler
 
 noinst_PROGRAMS = \
  gnunet-set-ibf-profiler
+endif
 
 libexec_PROGRAMS = \
  gnunet-service-set