Make unix/ subtree compilable.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/unified_buildsys@3893 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/configure.ac b/configure.ac
index 1847bc7..d395c89 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,12 +31,15 @@
;;
esac
+BUILD_WIN=
case "$host_os" in
mingw*)
CPPFLAGS="$CPPFLAGS -DWINVER=0x0500 -D_WIN32_IE=0x0500"
CXXFLAGS="$CXXFLAGS -mthreads"
+ BUILD_WIN=yes
;;
esac
+AM_CONDITIONAL([BUILD_WIN], [test "x$BUILD_WIN" = xyes])
dnl FIXME: Check for MIT-SHM properly, add a corresponding --with option.
if test "$USE_MITSHM" = yes; then