Mathieu Lacage 2007-05-17 16:00:02 +02:00
commit 237de8786b
1 changed files with 3 additions and 5 deletions

View File

@ -71,8 +71,7 @@ def init():
def set_options(opt): def set_options(opt):
# options provided by the modules # options provided by the modules
if not opt.tool_options('msvc'): opt.tool_options('compiler_cxx')
opt.tool_options('g++')
opt.add_option('--enable-gcov', opt.add_option('--enable-gcov',
help=('Enable code coverage analysis'), help=('Enable code coverage analysis'),
@ -95,9 +94,8 @@ def set_options(opt):
def configure(conf): def configure(conf):
if not conf.check_tool('msvc'): if not conf.check_tool('compiler_cxx'):
if not conf.check_tool('g++'): Params.fatal("No suitable compiler found")
Params.fatal("No suitable compiler found")
# create the second environment, set the variant and set its name # create the second environment, set the variant and set its name