2 # Copyright John Maddock 2008.
3 # Use, modification and distribution are subject to the
4 # Boost Software License, Version 1.0. (See accompanying file
5 # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 # If you need to alter build preferences then set them in
8 # the template defined in options_v2.jam.
13 local is_unix = [ modules.peek : UNIX ] ;
17 local osname = [ SHELL uname ] ;
21 case "Sun*" : OTHERFLAGS = "-lpthread -lrt" ;
22 case "*BSD*" : OTHERFLAGS = "-lpthread" ;
28 [ compile config_test_c.c ]
34 : config_test_threaded
40 <threading>single <toolset>msvc:<runtime-link>static <toolset>msvc:<link>static
41 <target-os>linux:<linkflags>-lpthread
42 <target-os>linux:<linkflags>-lrt
43 <toolset>gcc:<linkflags>$(OTHERFLAGS)
45 [ run config_info.cpp : : : <test-info>always_show_run_output <threading>single <toolset>msvc:<runtime-link>static <toolset>msvc:<link>static ]
46 [ run config_info.cpp : : : <test-info>always_show_run_output <threading>multi : config_info_threaded ]
47 [ run math_info.cpp : : : <test-info>always_show_run_output <toolset>borland:<runtime-link>static <toolset>borland:<link>static ]
48 [ run abi/abi_test.cpp abi/main.cpp ]
49 [ run limits_test.cpp ../../test/build//boost_test_exec_monitor ]
50 [ run link/main.cpp link//link_test
55 <define>BOOST_DYN_LINK=1
56 <define>BOOST_CONFIG_NO_LIB=1
60 [ compile-fail threads/test_thread_fail1.cpp ]
61 [ compile-fail threads/test_thread_fail2.cpp ]