diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-04-04 08:21:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-04-04 08:21:40 +0000 |
commit | 2764fd265cdf18522c3d852057bbdbd947072e17 (patch) | |
tree | 3f1895697f9ea9e59d350c8f59c714abfb56d148 /configure.ac | |
parent | df79301b5a1bb9bb37dc4b857bc502c605a40fef (diff) | |
download | gnunet-2764fd265cdf18522c3d852057bbdbd947072e17.tar.gz gnunet-2764fd265cdf18522c3d852057bbdbd947072e17.zip |
adding configure option to run GNUnet with monkey
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 7fb10cf32..57dcd36b3 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -775,6 +775,24 @@ AC_ARG_ENABLE([testruns], | |||
775 | AC_MSG_RESULT($enable_test_run) | 775 | AC_MSG_RESULT($enable_test_run) |
776 | AM_CONDITIONAL([ENABLE_TEST_RUN], [test "x$enable_tests_run" = "xyes"]) | 776 | AM_CONDITIONAL([ENABLE_TEST_RUN], [test "x$enable_tests_run" = "xyes"]) |
777 | 777 | ||
778 | |||
779 | # should monkey be used when running (certain) services? | ||
780 | AC_MSG_CHECKING(whether to run with monkey) | ||
781 | AC_ARG_ENABLE([monkey], | ||
782 | [AS_HELP_STRING([--enable-monkey], [enable running with monkey])], | ||
783 | [enable_monkey=${enableval}], | ||
784 | [enable_monkey=no]) | ||
785 | AC_MSG_RESULT($enable_monkey) | ||
786 | AM_CONDITIONAL([ENABLE_MONKEY], [test "x$enable_monkey" = "xyes"]) | ||
787 | if test "x$enable_monkey" = "xyes" | ||
788 | then | ||
789 | MONKEYPREFIX="" | ||
790 | else | ||
791 | MONKEYPREFIX="monkey" | ||
792 | fi | ||
793 | AC_SUBST(MONKEYPREFIX) | ||
794 | |||
795 | |||
778 | # should expensive tests be run? | 796 | # should expensive tests be run? |
779 | AC_MSG_CHECKING(whether to run expensive tests) | 797 | AC_MSG_CHECKING(whether to run expensive tests) |
780 | AC_ARG_ENABLE([expensivetests], | 798 | AC_ARG_ENABLE([expensivetests], |