diff --git a/v2/tools/vacpp.jam b/v2/tools/vacpp.jam index 6a4741c4b..1f5a53d5f 100644 --- a/v2/tools/vacpp.jam +++ b/v2/tools/vacpp.jam @@ -18,11 +18,17 @@ feature.extend toolset : vacpp ; toolset.inherit vacpp : unix ; generators.override vacpp.prebuilt : builtin.lib-generator ; generators.override vacpp.searched-lib-generator : searched-lib-generator ; -feature.subfeature toolset vacpp : version ; # Configure the vacpp toolset rule init ( version ? : command * : options * ) { + local condition = [ + common.check-init-parameters vacpp : version $(version) ] ; + + command = [ common.get-invocation-command vacpp : xlC + : $(command) : "/usr/vacpp/bin/xlC" ] ; + + common.handle-options vacpp : $(condition) : $(command) : $(options) ; } # Declare generators