Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51893 - trunk/tools/build/v2/build
From: ghost_at_[hidden]
Date: 2009-03-21 18:45:06


Author: vladimir_prus
Date: 2009-03-21 18:45:05 EDT (Sat, 21 Mar 2009)
New Revision: 51893
URL: http://svn.boost.org/trac/boost/changeset/51893

Log:
Ubreak stdlib=sun-stlport.

This patch makes the feature module check if a feature value
is actually a complete permissible value, before splitting at
'-' and treating each element as subfeature.

Patch from Noel Belcourt.

Text files modified:
   trunk/tools/build/v2/build/feature.jam | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/build/feature.jam
==============================================================================
--- trunk/tools/build/v2/build/feature.jam (original)
+++ trunk/tools/build/v2/build/feature.jam 2009-03-21 18:45:05 EDT (Sat, 21 Mar 2009)
@@ -469,7 +469,9 @@
 
         if $($(feature).subfeatures)
         {
- values = [ regex.split $(value-string) - ] ;
+ if ! ( $(value-string) in $($(feature).subfeatures) ) {
+ values = [ regex.split $(value-string) - ] ;
+ }
         }
 
         if ! ( $(values[1]) in $($(feature).values) ) &&


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