summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2010-12-27 09:53:48 +0000
committerNils Durner <durner@gnunet.org>2010-12-27 09:53:48 +0000
commit22e893cbfab6d19abb860a13778850e9df4e82d7 (patch)
tree188d8ff64c6504b73b60606414d3c55ec992feca /configure.ac
parentee21c6d2cf75966df5876476d50179d9c1b2f0ad (diff)
shutdown via control pipe (#0001616)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8c747d283..6f6e47ea4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -755,6 +755,23 @@ AC_MSG_RESULT($enable_malicious)
AM_CONDITIONAL([HAVE_MALICIOUS], [test "x$enable_malicious" = "x1"])
AC_DEFINE_UNQUOTED([HAVE_MALICIOUS], $enable_malicious, [Compile malicious code])
+# should code be enabled that works around missing OS functionality on Windows?
+# used for test cases
+AC_ARG_ENABLE(windows_workarounds, [AS_HELP_STRING([--enable-windows_workarounds],
+ [enable workarounds used on Windows (only useful for test cases)])])
+if test $build_target = "mingw"
+then
+ workarounds=1
+else
+ if test x$enable_windows_workarounds = "xyes"
+ then
+ workarounds=1
+ else
+ workarounds=0
+ fi
+fi
+AC_DEFINE_UNQUOTED([ENABLE_WINDOWS_WORKAROUNDS], $workarounds, [enable workarounds used on Windows (only useful for test cases)])
+
# gcov compilation
use_gcov=no
AC_ARG_ENABLE([coverage], AS_HELP_STRING([--enable-coverage],