AC_MSG_RESULT($enable_experimental)
AM_CONDITIONAL([HAVE_EXPERIMENTAL], [test "x$enable_experimental" = "xyes"])
-# FTBFS right now...
-AC_MSG_CHECKING(whether to compile ATS test code)
-AC_ARG_ENABLE([wachs],
- [AS_HELP_STRING([--enable-wachs], [enable compiling ATS test code])],
- [enable_wachs=${enableval}],
- [enable_wachs=no])
-AC_MSG_RESULT($enable_wachs)
-AM_CONDITIONAL([HAVE_WACHS], [test "x$enable_wachs" = "xyes"])
-
# should malicious code be compiled (should only be used for testing)?
AC_MSG_CHECKING(whether to compile malicious code)
AC_ARG_ENABLE([malicious],
src/gns/gnunet-service-gns.c
src/gns/gnunet-service-gns_interceptor.c
src/gns/gnunet-service-gns_resolver.c
-src/gns/gnunet-service-gns_reverser.c
-src/gns/gnunet-service-gns_shorten.c
src/gns/nss/nss_gns.c
src/gns/nss/nss_gns_query.c
src/gns/plugin_block_gns.c
AM_CFLAGS = -fprofile-arcs -ftest-coverage
endif
+if HAVE_EXPERIMENTAL
if HAVE_LIBGLPK
PERF_MLP = \
perf_ats_mlp_transport_none \
perf_ats_mlp_core_bandwidth \
perf_ats_mlp_core_latency
endif
+endif
if HAVE_TESTING
TESTING_TESTS = \
lib_LTLIBRARIES = libgnunetats.la
plugin_LTLIBRARIES = \
- libgnunet_plugin_ats_proportional.la \
- $(GN_MLP_LIB) \
- libgnunet_plugin_ats_ril.la
+ libgnunet_plugin_ats_proportional.la
+if HAVE_EXPERIMENTAL
+plugin_LTLIBRARIES += \
+ libgnunet_plugin_ats_ril.la
if HAVE_LIBGLPK
plugin_LTLIBRARIES += \
libgnunet_plugin_ats_mlp.la
endif
+endif
libgnunetats_la_SOURCES = \
ats_api_connectivity.c \
$(GN_PLUGIN_LDFLAGS)
-if HAVE_LIBGLPK
libgnunet_plugin_ats_mlp_la_SOURCES = \
plugin_ats_mlp.c
libgnunet_plugin_ats_mlp_la_LIBADD = \
libgnunet_plugin_ats_mlp_la_LDFLAGS = \
$(GN_PLUGIN_LDFLAGS) \
-lglpk
-endif
libgnunet_plugin_ats_ril_la_SOURCES = \
plugin_ats_ril.c
TESTING_TESTS = \
test_ats_api_proportional \
test_ats_reservation_api_proportional
-if HAVE_WACHS
+if HAVE_EXPERIMENTAL
TESTING_TESTS += \
test_ats_api_ril
if HAVE_LIBGLPK