From: Markus Armbruster Date: Sat, 20 Sep 2008 15:57:59 +0000 (-0400) Subject: Fix standalone client build for Windows X-Git-Tag: v4.3.17~1 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=774b590f55a377f669809285f6b05626f1fb2c3e Fix standalone client build for Windows Need to compile with -mthreads since commit f082ef9f, v4.3.11. --- 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.