X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=configure.ac;h=93559e436322b25db5631bcb84d114dac72b8b89;hb=58082a82b9b089de618dfe693e9342e078437451;hp=7fb10cf322dcd7beeefd005925d2f5c5af108dd9;hpb=010f7dc6e0efcba23c3a79a17c6f426f51b1db05;p=oweals%2Fgnunet.git diff --git a/configure.ac b/configure.ac index 7fb10cf32..93559e436 100644 --- a/configure.ac +++ b/configure.ac @@ -775,6 +775,24 @@ AC_ARG_ENABLE([testruns], AC_MSG_RESULT($enable_test_run) AM_CONDITIONAL([ENABLE_TEST_RUN], [test "x$enable_tests_run" = "xyes"]) + +# should monkey be used when running (certain) services? +AC_MSG_CHECKING(whether to run with monkey) +AC_ARG_ENABLE([monkey], + [AS_HELP_STRING([--enable-monkey], [enable running with monkey])], + [enable_monkey=${enableval}], + [enable_monkey=no]) +AC_MSG_RESULT($enable_monkey) +AM_CONDITIONAL([ENABLE_MONKEY], [test "x$enable_monkey" = "xyes"]) +if test "x$enable_monkey" = "xyes" +then + MONKEYPREFIX="monkey" +else + MONKEYPREFIX="" +fi +AC_SUBST(MONKEYPREFIX) + + # should expensive tests be run? AC_MSG_CHECKING(whether to run expensive tests) AC_ARG_ENABLE([expensivetests],