aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-02-26 02:52:03 +0100
committerChristian Grothoff <christian@grothoff.org>2017-02-26 02:52:03 +0100
commite67688c0a717e662773f67a485a767fe2db17da1 (patch)
tree2631611ead764b6dc544e9d2d4dc5636e07f744f
parent4fe745c1a0a912d793790c20653c1ff812dc1f34 (diff)
downloadgnunet-e67688c0a717e662773f67a485a767fe2db17da1.tar.gz
gnunet-e67688c0a717e662773f67a485a767fe2db17da1.zip
get rid of --enable-wachs option, move mlp plugin to experimental-only
-rw-r--r--configure.ac9
-rw-r--r--po/POTFILES.in2
-rw-r--r--src/ats-tests/Makefile.am2
-rw-r--r--src/ats/Makefile.am12
4 files changed, 8 insertions, 17 deletions
diff --git a/configure.ac b/configure.ac
index 7f9cc2197..e90485597 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1336,15 +1336,6 @@ AC_ARG_ENABLE([experimental],
1336AC_MSG_RESULT($enable_experimental) 1336AC_MSG_RESULT($enable_experimental)
1337AM_CONDITIONAL([HAVE_EXPERIMENTAL], [test "x$enable_experimental" = "xyes"]) 1337AM_CONDITIONAL([HAVE_EXPERIMENTAL], [test "x$enable_experimental" = "xyes"])
1338 1338
1339# FTBFS right now...
1340AC_MSG_CHECKING(whether to compile ATS test code)
1341AC_ARG_ENABLE([wachs],
1342 [AS_HELP_STRING([--enable-wachs], [enable compiling ATS test code])],
1343 [enable_wachs=${enableval}],
1344 [enable_wachs=no])
1345AC_MSG_RESULT($enable_wachs)
1346AM_CONDITIONAL([HAVE_WACHS], [test "x$enable_wachs" = "xyes"])
1347
1348# should malicious code be compiled (should only be used for testing)? 1339# should malicious code be compiled (should only be used for testing)?
1349AC_MSG_CHECKING(whether to compile malicious code) 1340AC_MSG_CHECKING(whether to compile malicious code)
1350AC_ARG_ENABLE([malicious], 1341AC_ARG_ENABLE([malicious],
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 03eca63fa..2594104df 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -188,8 +188,6 @@ src/gns/gnunet-gns-proxy.c
188src/gns/gnunet-service-gns.c 188src/gns/gnunet-service-gns.c
189src/gns/gnunet-service-gns_interceptor.c 189src/gns/gnunet-service-gns_interceptor.c
190src/gns/gnunet-service-gns_resolver.c 190src/gns/gnunet-service-gns_resolver.c
191src/gns/gnunet-service-gns_reverser.c
192src/gns/gnunet-service-gns_shorten.c
193src/gns/nss/nss_gns.c 191src/gns/nss/nss_gns.c
194src/gns/nss/nss_gns_query.c 192src/gns/nss/nss_gns_query.c
195src/gns/plugin_block_gns.c 193src/gns/plugin_block_gns.c
diff --git a/src/ats-tests/Makefile.am b/src/ats-tests/Makefile.am
index cfed92f2b..4811bc8d7 100644
--- a/src/ats-tests/Makefile.am
+++ b/src/ats-tests/Makefile.am
@@ -13,6 +13,7 @@ if USE_COVERAGE
13 AM_CFLAGS = -fprofile-arcs -ftest-coverage 13 AM_CFLAGS = -fprofile-arcs -ftest-coverage
14endif 14endif
15 15
16if HAVE_EXPERIMENTAL
16if HAVE_LIBGLPK 17if HAVE_LIBGLPK
17 PERF_MLP = \ 18 PERF_MLP = \
18 perf_ats_mlp_transport_none \ 19 perf_ats_mlp_transport_none \
@@ -22,6 +23,7 @@ if HAVE_LIBGLPK
22 perf_ats_mlp_core_bandwidth \ 23 perf_ats_mlp_core_bandwidth \
23 perf_ats_mlp_core_latency 24 perf_ats_mlp_core_latency
24endif 25endif
26endif
25 27
26if HAVE_TESTING 28if HAVE_TESTING
27TESTING_TESTS = \ 29TESTING_TESTS = \
diff --git a/src/ats/Makefile.am b/src/ats/Makefile.am
index af7f6bd58..759dac0be 100644
--- a/src/ats/Makefile.am
+++ b/src/ats/Makefile.am
@@ -21,14 +21,16 @@ endif
21lib_LTLIBRARIES = libgnunetats.la 21lib_LTLIBRARIES = libgnunetats.la
22 22
23plugin_LTLIBRARIES = \ 23plugin_LTLIBRARIES = \
24 libgnunet_plugin_ats_proportional.la \ 24 libgnunet_plugin_ats_proportional.la
25 $(GN_MLP_LIB) \
26 libgnunet_plugin_ats_ril.la
27 25
26if HAVE_EXPERIMENTAL
27plugin_LTLIBRARIES += \
28 libgnunet_plugin_ats_ril.la
28if HAVE_LIBGLPK 29if HAVE_LIBGLPK
29plugin_LTLIBRARIES += \ 30plugin_LTLIBRARIES += \
30 libgnunet_plugin_ats_mlp.la 31 libgnunet_plugin_ats_mlp.la
31endif 32endif
33endif
32 34
33libgnunetats_la_SOURCES = \ 35libgnunetats_la_SOURCES = \
34 ats_api_connectivity.c \ 36 ats_api_connectivity.c \
@@ -54,7 +56,6 @@ libgnunet_plugin_ats_proportional_la_LDFLAGS = \
54 $(GN_PLUGIN_LDFLAGS) 56 $(GN_PLUGIN_LDFLAGS)
55 57
56 58
57if HAVE_LIBGLPK
58libgnunet_plugin_ats_mlp_la_SOURCES = \ 59libgnunet_plugin_ats_mlp_la_SOURCES = \
59 plugin_ats_mlp.c 60 plugin_ats_mlp.c
60libgnunet_plugin_ats_mlp_la_LIBADD = \ 61libgnunet_plugin_ats_mlp_la_LIBADD = \
@@ -64,7 +65,6 @@ libgnunet_plugin_ats_mlp_la_LIBADD = \
64libgnunet_plugin_ats_mlp_la_LDFLAGS = \ 65libgnunet_plugin_ats_mlp_la_LDFLAGS = \
65 $(GN_PLUGIN_LDFLAGS) \ 66 $(GN_PLUGIN_LDFLAGS) \
66 -lglpk 67 -lglpk
67endif
68 68
69libgnunet_plugin_ats_ril_la_SOURCES = \ 69libgnunet_plugin_ats_ril_la_SOURCES = \
70 plugin_ats_ril.c 70 plugin_ats_ril.c
@@ -99,7 +99,7 @@ if HAVE_TESTING
99TESTING_TESTS = \ 99TESTING_TESTS = \
100 test_ats_api_proportional \ 100 test_ats_api_proportional \
101 test_ats_reservation_api_proportional 101 test_ats_reservation_api_proportional
102if HAVE_WACHS 102if HAVE_EXPERIMENTAL
103TESTING_TESTS += \ 103TESTING_TESTS += \
104 test_ats_api_ril 104 test_ats_api_ril
105if HAVE_LIBGLPK 105if HAVE_LIBGLPK