From ea7eed529e12dcbed6a6775b818d8b93b9505f18 Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Thu, 27 Jun 2013 06:11:55 +0000 Subject: Make building gnunet-testing lib optional. This is all because emscripten doesn't have getaddrinfo. --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure.ac') 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], AC_MSG_RESULT($enable_benchmarks) AM_CONDITIONAL([HAVE_BENCHMARKS], [test "x$enable_benchmarks" = "xyes"]) +# should gnunet-testing be compiled +AC_MSG_CHECKING(wether to compile gnunet-testing) +AC_ARG_ENABLE([testing], + [AS_HELP_STRING([--disable-testing], [do not build gnunet-testing])], + [enable_testing=${enableval}], + [enable_testing=yes]) +AC_MSG_RESULT($enable_testing) +AM_CONDITIONAL([HAVE_TESTING], [test "x$enable_testing" = "xyes"]) + # should experimental code be compiled (code that may not yet compile)? AC_MSG_CHECKING(whether to compile experimental code) AC_ARG_ENABLE([experimental], -- cgit v1.2.3