Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2007-09-19 15:29:31


Author: grafik
Date: 2007-09-19 15:29:31 EDT (Wed, 19 Sep 2007)
New Revision: 39395
URL: http://svn.boost.org/trac/boost/changeset/39395

Log:
Make get-values preserve the values exactly, instead of treating them like paths and hence munging them.
Text files modified:
   trunk/tools/build/v2/build/feature.jam | 5 ++++-
   1 files changed, 4 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 2007-09-19 15:29:31 EDT (Wed, 19 Sep 2007)
@@ -647,7 +647,10 @@
     {
         if $(p:G) = $(feature)
         {
- result += $(p:G=) ;
+ #~ Use MATCH instead if :G= to get the value, in order to preserve
+ #~ the value intact instead of having bjam treat it as a decompossible
+ #~ path.
+ result += [ MATCH ">(.*)" : $(p) ] ;
         }
     }
     return $(result) ;


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