diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2013-06-27 06:11:55 +0000 |
---|---|---|
committer | David Barksdale <amatus.amongus@gmail.com> | 2013-06-27 06:11:55 +0000 |
commit | ea7eed529e12dcbed6a6775b818d8b93b9505f18 (patch) | |
tree | 521ba312e1268d1afb249db03c1b97d5a79181a1 /src/stream | |
parent | 48e50f64d8c05b2a6dab327156ea86fc92f171cf (diff) | |
download | gnunet-ea7eed529e12dcbed6a6775b818d8b93b9505f18.tar.gz gnunet-ea7eed529e12dcbed6a6775b818d8b93b9505f18.zip |
Make building gnunet-testing lib optional.
This is all because emscripten doesn't have getaddrinfo.
Diffstat (limited to 'src/stream')
-rw-r--r-- | src/stream/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stream/Makefile.am b/src/stream/Makefile.am index c42f752bf..d21f170be 100644 --- a/src/stream/Makefile.am +++ b/src/stream/Makefile.am | |||
@@ -27,6 +27,7 @@ if HAVE_BENCHMARKS | |||
27 | perf_stream_api | 27 | perf_stream_api |
28 | endif | 28 | endif |
29 | 29 | ||
30 | if HAVE_TESTING | ||
30 | check_PROGRAMS = \ | 31 | check_PROGRAMS = \ |
31 | test_stream_2peers \ | 32 | test_stream_2peers \ |
32 | test_stream_2peers_halfclose \ | 33 | test_stream_2peers_halfclose \ |
@@ -35,6 +36,7 @@ check_PROGRAMS = \ | |||
35 | test_stream_sequence_wraparound \ | 36 | test_stream_sequence_wraparound \ |
36 | mesh-test \ | 37 | mesh-test \ |
37 | $(STREAM_BENCHMARKS) | 38 | $(STREAM_BENCHMARKS) |
39 | endif | ||
38 | 40 | ||
39 | EXTRA_DIST = test_stream_local.conf | 41 | EXTRA_DIST = test_stream_local.conf |
40 | 42 | ||
@@ -95,4 +97,4 @@ perf_stream_api_LDADD = \ | |||
95 | mesh_test_SOURCES = mesh-test.c | 97 | mesh_test_SOURCES = mesh-test.c |
96 | mesh_test_LDADD = \ | 98 | mesh_test_LDADD = \ |
97 | $(top_builddir)/src/mesh/libgnunetmesh.la \ | 99 | $(top_builddir)/src/mesh/libgnunetmesh.la \ |
98 | $(top_builddir)/src/util/libgnunetutil.la \ No newline at end of file | 100 | $(top_builddir)/src/util/libgnunetutil.la |