From 5ee8cc8a0dcaed15277424682703e735c966b0e0 Mon Sep 17 00:00:00 2001 From: Yves Arrouye Date: Fri, 20 Oct 2000 06:17:23 +0000 Subject: [PATCH] ICU-681 more flexibility in threads variables settings X-SVN-Rev: 2757 --- icu4c/source/configure | 4 +++- icu4c/source/configure.in | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/icu4c/source/configure b/icu4c/source/configure index a427075fa51..5cdc61a8268 100755 --- a/icu4c/source/configure +++ b/icu4c/source/configure @@ -3740,7 +3740,9 @@ fi if test $ICU_USE_THREADS -ne 0 then - CFLAGS="$CFLAGS \$(THREADSCPPFLAGS)" + CPPFLAGS="$CPPFLAGS \$(THREADSCPPFLAGS)" + CFLAGS="$CFLAGS \$(THREADSCFLAGS)" + CXXFLAGS="$CXXFLAGS \$(THREADSCXXFLAGS)" fi if test "$ac_cv_lib_dld_shl_load" = "yes"; then diff --git a/icu4c/source/configure.in b/icu4c/source/configure.in index a0df7ecac9c..84dc0344ed3 100644 --- a/icu4c/source/configure.in +++ b/icu4c/source/configure.in @@ -4,7 +4,7 @@ dnl Copyright (c) 1999-2000, 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.86 2000/10/20 05:48:22 yves Exp $ +dnl $Id: configure.in,v 1.87 2000/10/20 06:17:23 yves Exp $ dnl Process this file with autoconf to produce a configure script AC_INIT(common/unicode/utypes.h) @@ -679,7 +679,9 @@ dnl for build. if test $ICU_USE_THREADS -ne 0 then - CFLAGS="$CFLAGS \$(THREADSCPPFLAGS)" + CPPFLAGS="$CPPFLAGS \$(THREADSCPPFLAGS)" + CFLAGS="$CFLAGS \$(THREADSCFLAGS)" + CXXFLAGS="$CXXFLAGS \$(THREADSCXXFLAGS)" fi if test "$ac_cv_lib_dld_shl_load" = "yes"; then