From 8a212562eaeee970c48ccf6e2f7412dee11f445c Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Mon, 15 Sep 2003 22:30:28 +0000 Subject: [PATCH] ICU-3258 Threading is always available on Windows X-SVN-Rev: 13103 --- icu4c/source/configure.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/icu4c/source/configure.in b/icu4c/source/configure.in index 1b475d684fb..df7892a81ab 100644 --- a/icu4c/source/configure.in +++ b/icu4c/source/configure.in @@ -4,7 +4,7 @@ dnl Copyright (c) 1999-2003, International Business Machines Corporation and dnl others. All Rights Reserved. dnl Stephen F. Booth, heavily modified by Yves and others -dnl $Id: configure.in,v 1.196 2003/08/21 00:30:31 grhoten-oss Exp $ +dnl $Id: configure.in,v 1.197 2003/09/15 22:30:28 grhoten-oss Exp $ dnl Process this file with autoconf to produce a configure script AC_INIT(common/unicode/utypes.h) @@ -250,6 +250,14 @@ if test $threads = true; then if test $ac_cv_func_pthread_mutex_lock = yes; then ICU_USE_THREADS=1 fi + dnl Check to see if we are using CygWin with MSVC + case "${host}" in + *-pc-cygwin*|*-pc-mingw*) + if test "$ac_cv_prog_gcc" = no; then + dnl We're using normal windows compilers. Threading is available. + ICU_USE_THREADS=1 + fi ;; + esac fi fi fi