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/datacache | |
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/datacache')
-rw-r--r-- | src/datacache/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/datacache/Makefile.am b/src/datacache/Makefile.am index c6c27b327..e8583aacb 100644 --- a/src/datacache/Makefile.am +++ b/src/datacache/Makefile.am | |||
@@ -83,6 +83,7 @@ libgnunet_plugin_datacache_template_la_LDFLAGS = \ | |||
83 | $(GN_PLUGIN_LDFLAGS) | 83 | $(GN_PLUGIN_LDFLAGS) |
84 | 84 | ||
85 | 85 | ||
86 | if HAVE_TESTING | ||
86 | if HAVE_SQLITE | 87 | if HAVE_SQLITE |
87 | if HAVE_BENCHMARKS | 88 | if HAVE_BENCHMARKS |
88 | SQLITE_BENCHMARKS = \ | 89 | SQLITE_BENCHMARKS = \ |
@@ -113,6 +114,7 @@ POSTGRES_TESTS = \ | |||
113 | test_datacache_quota_postgres \ | 114 | test_datacache_quota_postgres \ |
114 | $(POSTGRES_BENCHMARKS) | 115 | $(POSTGRES_BENCHMARKS) |
115 | endif | 116 | endif |
117 | endif | ||
116 | 118 | ||
117 | check_PROGRAMS = \ | 119 | check_PROGRAMS = \ |
118 | $(SQLITE_TESTS) \ | 120 | $(SQLITE_TESTS) \ |