From d44bf8c41d9e04791c1bafae42f0b103b7301eca Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 22 May 2007 17:24:25 +0000 Subject: [PATCH] Improve ICU support. See http://svn.boost.org/trac/boost/ticket/976 [SVN r37741] --- build/Jamfile.v2 | 5 +++++ test/regress/test_icu.cpp | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index b1acde23..7eab6fda 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -45,6 +45,10 @@ rule check-icu-config ( ) { gICU_CORE_LIB = icuuc ; } + else if [ GLOB $(dir)/lib : icuuc.* ] + { + gICU_CORE_LIB = icuuc ; + } else if [ GLOB $(dir)/lib : libicuuc.* ] { gICU_CORE_LIB = icuuc ; @@ -188,3 +192,4 @@ lib boost_regex : ../src/$(SOURCES) $(ICU_EXTRA_SOURCE) + diff --git a/test/regress/test_icu.cpp b/test/regress/test_icu.cpp index 5379c567..fc470653 100644 --- a/test/regress/test_icu.cpp +++ b/test/regress/test_icu.cpp @@ -39,8 +39,8 @@ class back_insert_iterator { private: Seq* container; - typedef const typename Seq::value_type value_type; public: + typedef const typename Seq::value_type value_type; typedef Seq container_type; typedef std::output_iterator_tag iterator_category; @@ -647,3 +647,4 @@ void test_icu(const wchar_t&, const test_invalid_regex_tag&){} void test_icu(const wchar_t&, const test_regex_replace_tag&){} #endif +