From 20a9112135add2df04fb2ed8009639f9a6b45614 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 19 May 2016 19:37:06 -0400 Subject: [PATCH] remove boost thread checking since it is no longer a dependency --- SConstruct | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/SConstruct b/SConstruct index f61309fa9..694d494fb 100644 --- a/SConstruct +++ b/SConstruct @@ -704,11 +704,7 @@ def FindBoost(context, prefixes, thread_flag): BOOST_INCLUDE_DIR = None BOOST_APPEND = None env['BOOST_APPEND'] = str() - - if env['THREADING'] == 'multi': - search_lib = 'libboost_thread' - else: - search_lib = 'libboost_filesystem' + search_lib = 'libboost_filesystem' # note: must call normpath to strip trailing slash otherwise dirname # does not remove 'lib' and 'include' @@ -1411,15 +1407,6 @@ if not preconfigured: ['program_options', 'boost/program_options.hpp', False] ] - if env['THREADING'] == 'multi': - BOOST_LIBSHEADERS.append(['thread', 'boost/thread/mutex.hpp', True]) - # on solaris the configure checks for boost_thread - # require the -pthreads flag to be able to check for - # threading support, so we add as a global library instead - # of attaching to cxxflags after configure - if env['PLATFORM'] == 'SunOS': - env.Append(CXXFLAGS = '-pthreads') - # if requested, sort LIBPATH and CPPPATH before running CheckLibWithHeader tests if env['PRIORITIZE_LINKING']: conf.prioritize_paths(silent=True)