Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62415 - trunk/tools/build/v2/tools
From: steven_at_[hidden]
Date: 2010-06-03 14:59:42


Author: steven_watanabe
Date: 2010-06-03 14:59:40 EDT (Thu, 03 Jun 2010)
New Revision: 62415
URL: http://svn.boost.org/trac/boost/changeset/62415

Log:
Make sure that we test for cygwin vs. windows xsltproc even if there is no using xsltproc in user-config.jam
Text files modified:
   trunk/tools/build/v2/tools/xsltproc.jam | 6 +++++-
   1 files changed, 5 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/tools/xsltproc.jam
==============================================================================
--- trunk/tools/build/v2/tools/xsltproc.jam (original)
+++ trunk/tools/build/v2/tools/xsltproc.jam 2010-06-03 14:59:40 EDT (Thu, 03 Jun 2010)
@@ -34,7 +34,7 @@
 
     if ! $(.initialized)
     {
- $(.initialized) = true ;
+ .initialized = true ;
         .xsltproc = $(xsltproc) ;
         .is-cygwin = [ .is-cygwin $(xsltproc:E=xsltproc) ] ;
     }
@@ -43,6 +43,10 @@
 # Returns a non-empty string if a cygwin xsltproc binary was specified.
 rule is-cygwin ( )
 {
+ if ! $(.initialized)
+ {
+ init ;
+ }
     return $(.is-cygwin) ;
 }
 


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