|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49065 - trunk/libs/regex/build
From: john_at_[hidden]
Date: 2008-09-30 06:54:39
Author: johnmaddock
Date: 2008-09-30 06:54:38 EDT (Tue, 30 Sep 2008)
New Revision: 49065
URL: http://svn.boost.org/trac/boost/changeset/49065
Log:
Suppress configuration messages when not actually building the regex lib.
Text files modified:
trunk/libs/regex/build/Jamfile.v2 | 34 ++++++++++++++++++++++++++--------
1 files changed, 26 insertions(+), 8 deletions(-)
Modified: trunk/libs/regex/build/Jamfile.v2
==============================================================================
--- trunk/libs/regex/build/Jamfile.v2 (original)
+++ trunk/libs/regex/build/Jamfile.v2 2008-09-30 06:54:38 EDT (Tue, 30 Sep 2008)
@@ -33,8 +33,6 @@
if [ GLOB $(dir)/include/unicode : utypes.h ]
{
- ECHO Building Boost.Regex with Unicode/ICU support enabled ;
- ECHO Using ICU in $(ICU_PATH:J=" ")/include ;
gHAS_ICU = true ;
# try and find ICU libraries, look for NT versions first:
@@ -153,25 +151,42 @@
if $(gHAS_ICU)
{
+ message icu_config ;
+ message icu_config2
+ : Note: Building Boost.Regex with Unicode/ICU support enabled
+ : " Using ICU in " $(ICU_PATH:J=" ")/include ;
return true ;
}
else
{
- ECHO Building Boost.Regex with the optional Unicode/ICU support disabled. ;
- ECHO Please refer to the Boost.Regex documentation for more information ;
- ECHO (don't panic: this is a strictly optional feature). ;
+ message icu_config
+ : "Building Boost.Regex with the optional Unicode/ICU support disabled."
+ : "Note: Please refer to the Boost.Regex documentation for more information"
+ : "Note: this is a strictly optional feature." ;
+
if $(ICU_PATH)
{
- ECHO Couldn't find utypes.h in $(ICU_PATH:J=" ")/include/unicode ;
+ message icu_config2
+ : WARNING! ICU configuration failed
+ : " Couldn't find utypes.h in " $(ICU_PATH:J=" ")/include/unicode ;
+ }
+ else
+ {
+ message icu_config2 ;
}
}
}
+explicit icu_config ;
+explicit icu_config2 ;
+
if [ check-icu-config ]
{
+if $(gHAS_ICU)
+{
BOOST_REGEX_ICU_OPTS = "<target-os>freebsd:<include>/usr/local/include" ;
BOOST_REGEX_ICU_OPTS += "<define>BOOST_HAS_ICU=1" ;
-
+
if $(ICU_PATH)
{
if $(ICU_PATH) != "/usr" && $(ICU_PATH) != "/usr/local"
@@ -212,6 +227,7 @@
}
#End of addition by Tommy Nordgren
}
+ }
}
SOURCES =
@@ -234,7 +250,7 @@
usinstances.cpp ;
-lib boost_regex : ../src/$(SOURCES) $(ICU_EXTRA_SOURCE)
+lib boost_regex : ../src/$(SOURCES) $(ICU_EXTRA_SOURCE) icu_config2 icu_config
:
#<link>static:<define>BOOST_REGEX_NO_LIB=1
#<link>static:<define>BOOST_REGEX_STATIC_LINK=1
@@ -261,3 +277,5 @@
+
+
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk