gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r13123 - gnunet


From: gnunet
Subject: [GNUnet-SVN] r13123 - gnunet
Date: Sat, 2 Oct 2010 15:58:26 +0200

Author: grothoff
Date: 2010-10-02 15:58:26 +0200 (Sat, 02 Oct 2010)
New Revision: 13123

Modified:
   gnunet/configure.ac
Log:
new configure flag to enable 'malicious' test code

Modified: gnunet/configure.ac
===================================================================
--- gnunet/configure.ac 2010-10-02 13:58:05 UTC (rev 13122)
+++ gnunet/configure.ac 2010-10-02 13:58:26 UTC (rev 13123)
@@ -725,6 +725,18 @@
 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
+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"])
+AC_MSG_RESULT($enable_malicious)
+AM_CONDITIONAL([HAVE_MALICIOUS], [test "x$enable_malicious" = "xyes"])
+AC_DEFINE_UNQUOTED([HAVE_MALICIOUS], $enable_malicious, [Compile malicious 
code])
+
 # gcov compilation
 use_gcov=no
 AC_ARG_ENABLE([coverage], AS_HELP_STRING([--enable-coverage],




reply via email to

[Prev in Thread] Current Thread [Next in Thread]