From 774b590f55a377f669809285f6b05626f1fb2c3e Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 20 Sep 2008 11:57:59 -0400 Subject: [PATCH] Fix standalone client build for Windows Need to compile with -mthreads since commit f082ef9f, v4.3.11. --- src/client/configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/client/configure.ac b/src/client/configure.ac index 54e00a292..57d4d26a7 100644 --- a/src/client/configure.ac +++ b/src/client/configure.ac @@ -69,6 +69,15 @@ fi ### Checks for typedefs, structures, and compiler characteristics. +AC_MSG_CHECKING([for Windows]) +AC_COMPILE_IFELSE( + [AC_LANG_SOURCE([[#ifdef _WIN32 +#Here's a nickel, kid +#endif]])], + [Windows_res=no], + [Windows_res=yes CFLAGS="$CFLAGS -mthreads"]) +AC_MSG_RESULT([$Windows_res]) + ### Checks for library functions. -- 2.43.0