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 /configure.ac | |
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 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index db01a1460..b1fea6a2e 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1067,6 +1067,15 @@ AC_ARG_ENABLE([benchmarks], | |||
1067 | AC_MSG_RESULT($enable_benchmarks) | 1067 | AC_MSG_RESULT($enable_benchmarks) |
1068 | AM_CONDITIONAL([HAVE_BENCHMARKS], [test "x$enable_benchmarks" = "xyes"]) | 1068 | AM_CONDITIONAL([HAVE_BENCHMARKS], [test "x$enable_benchmarks" = "xyes"]) |
1069 | 1069 | ||
1070 | # should gnunet-testing be compiled | ||
1071 | AC_MSG_CHECKING(wether to compile gnunet-testing) | ||
1072 | AC_ARG_ENABLE([testing], | ||
1073 | [AS_HELP_STRING([--disable-testing], [do not build gnunet-testing])], | ||
1074 | [enable_testing=${enableval}], | ||
1075 | [enable_testing=yes]) | ||
1076 | AC_MSG_RESULT($enable_testing) | ||
1077 | AM_CONDITIONAL([HAVE_TESTING], [test "x$enable_testing" = "xyes"]) | ||
1078 | |||
1070 | # should experimental code be compiled (code that may not yet compile)? | 1079 | # should experimental code be compiled (code that may not yet compile)? |
1071 | AC_MSG_CHECKING(whether to compile experimental code) | 1080 | AC_MSG_CHECKING(whether to compile experimental code) |
1072 | AC_ARG_ENABLE([experimental], | 1081 | AC_ARG_ENABLE([experimental], |