 $     cc_extra = f$element(1, "=", arg_val)
 $ endif
 $!
-$ is_ieee = 1
-$ if f$locate(",noieee,", args_lower) .lt. args_lower_len
-$ then
-$     is_ieee = 0
-$ endif
-$!
 $ is_debug = 0
 $ if f$locate(",debug,", args_lower) .lt. args_lower_len
 $ then
 $     is_debug = 1
+$ endif
+$!
+$ is_tests = 0
+$ test_list = ""
+$ if f$locate(",tests,", args_lower) .lt. args_lower_len
+$ then
+$     is_tests = 1
+$ else
+$     args_loc = f$locate(",tests=(", args_lower)
+$     if args_loc .lt. args_lower_len
+$     then
+$         is_tests          = 1
+$         arg               = f$extract(args_loc + 1, args_lower_len, args_lower)
+$         arg_val           = f$element(0, ")", arg)
+$         test_list_val     = f$element(1, "=", arg_val) - "(" - ")"
+$         test_list_val     = f$edit(test_list_val, "COLLAPSE")
+$         test_list_counter = 0
+$
+$ test_list_loop: 
+$         next_test_val = f$element (test_list_counter, ",", test_list_val)
+$         if next_test_val .nes. "" .and. next_test_val .nes. ","
+$         then
+$             test_list         = test_list + next_test_val + " "
+$             test_list_counter = test_list_counter + 1
+$             goto test_list_loop
+$         endif
+$     endif
+$ endif
+$!
+$ boost_root = ""
+$ args_loc = f$locate(",boost_root=", args_lower)
+$ if args_loc .lt. args_lower_len
+$ then
+$     arg = f$extract(args_loc + 1, args_lower_len, args_lower)
+$     arg_val = f$element(0, ",", arg)
+$     boost_root = f$element(1, "=", arg_val)
+$ endif
+$!
+$ if is_tests .eqs. "1" .and. boost_root .eqs. ""
+$ then
+$     'vo_c' "%PLIBSYS-I-NOTESTS, tests couldn't be built without BOOST_ROOT parameter, disabling."
+$     is_tests = 0
+$ endif
+$!
+$ if is_tests .eqs. "0" .and. boost_root .nes. ""
+$ then
+$     'vo_c' "%PLIBSYS-I-BOOSTIGN, BOOST_ROOT parameter will be ignored without tests enabled."
 $ endif
 $!
 $! Prepare build directory

$! Prepare sources for compilation
$! -------------------------------
$!
$ plibsys_include_dirs = "''objdir',''top_src_dir'" + delim
$ cc_params = "/NAMES=(AS_IS,SHORTENED)/DEFINE=(PLIBSYS_COMPILATION,_REENTRANT)/INCLUDE_DIRECTORY=(''plibsys_include_dirs')"
$!
$ if build_64 .eqs. "1"
$ then

$! it.
$!
$ create/dir 'objdir'/prot=o:rwed
$ set default 'objdir'
$ @[-]deltree CXX_REPOSITORY
$!
$ if f$locate(",nolib,", args_lower) .lt. args_lower_len
$ then
$     goto build_tests
$ endif
$!
$! Generate platform-specific config file
$! --------------------------------------
$!
$ if f$search("plibsysconfig.h") .nes. "" then delete/log plibsysconfig.h;*
$!
