From b7c95147188502651e4cb2b60c7062137f73e878 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 2 Oct 2010 22:29:25 +0000 Subject: make code compile with enable-malicious option set --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b958efc7e..2e2b90321 100644 --- a/configure.ac +++ b/configure.ac @@ -726,15 +726,15 @@ AC_MSG_RESULT($enable_experimental) AM_CONDITIONAL([HAVE_EXPERIMENTAL], [test "x$enable_experimental" = "xyes"]) # should malicious code be compiled (code used for testing with malicious peers) -disable_malicious=yes +enable_malicious=0 AC_MSG_CHECKING(whether to compile malicious code) AC_ARG_ENABLE(malicious, [AS_HELP_STRING([--enable-malicious], [enable compiling malicious code (only for developers for testing)])], - [enable_malicious=$enableval], - [enable_malicious="no"]) + [enable_malicious=1], + [enable_malicious=0]) AC_MSG_RESULT($enable_malicious) -AM_CONDITIONAL([HAVE_MALICIOUS], [test "x$enable_malicious" = "xyes"]) +AM_CONDITIONAL([HAVE_MALICIOUS], [test "x$enable_malicious" = "x1"]) AC_DEFINE_UNQUOTED([HAVE_MALICIOUS], $enable_malicious, [Compile malicious code]) # gcov compilation -- cgit v1.2.3