1 #~ Copyright 2005 Rene Rivera.
2 #~ Distributed under the Boost Software License, Version 1.0.
3 #~ (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt)
5 # Automatic configuration for the xsltproc toolset. To use, just import this
9 import toolset : using ;
12 local rule locate-executable ( name )
14 local path = [ modules.peek : PATH ] ;
18 exe = [ GLOB $(path) "C:\\Boost\\bin" : $(name)\.exe ] ;
22 exe = [ GLOB $(path) : $(name) ] ;
28 local xsltproc-exe = [ locate-executable xsltproc ] ;
31 if --debug-configuration in [ modules.peek : ARGV ]
33 ECHO notice\: using xsltproc ":" $(xsltproc-exe) ;
35 using xsltproc : $(xsltproc-exe) ;