From 22e893cbfab6d19abb860a13778850e9df4e82d7 Mon Sep 17 00:00:00 2001 From: Nils Durner Date: Mon, 27 Dec 2010 09:53:48 +0000 Subject: shutdown via control pipe (#0001616) --- configure.ac | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'configure.ac') 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], -- cgit v1.2.3