Import("env_base", "env_etc", "mtz_env")

env = mtz_env.Copy()
env.Append(LIBPATH=["#libtbx",])
env.Prepend(LIBS=["iotbx","cmtz","cctbx"])
env.Append(LIBS=env_etc.libm)
env.Program(target="test3",
            source="test3.cpp")
#The test4 program is all good and wonderful on all platforms except
#irix 6.5, MIPSpro Compilers: Version 7.3.1.2m
#The error message is cc-1070 CC: ERROR File = /usr/include/CC/stl_threads.h, Line = 185
#  The indicated type is incomplete.
#            struct timespec __ts;
#                            ^
#cc-1020 CC: ERROR File = /usr/include/CC/stl_threads.h, Line = 189
#  The identifier "nanosleep" is undefined.
#            nanosleep(&__ts, 0);
#            ^
#env.Program(target="test4",
#            source="test4.cpp")
