config.jam 567 B

123456789101112131415161718192021
  1. # Copyright John Maddock.
  2. # Use, modification and distribution are subject to the
  3. # Boost Software License, Version 1.0. (See accompanying file
  4. # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. import modules ;
  6. rule requires ( names + )
  7. {
  8. local config-binding = [ modules.binding $(__name__) ] ;
  9. local result ;
  10. for name in $(names)
  11. {
  12. local msg = "Boost.Config Feature Check: " ;
  13. msg += $(name) ;
  14. result += [ check-target-builds $(config-binding:D)//$(name) $(msg:J=) : : <build>no ] ;
  15. }
  16. return $(result) ;
  17. }