6 import Configure, Options, Utils
8 from Configure import conftest
12 if sys.platform == 'cygwin':
13 conf.fatal('The Intel compiler does not work on Cygwin')
17 if v['CXX']: cxx = v['CXX']
18 elif 'CXX' in conf.environ: cxx = conf.environ['CXX']
19 if not cxx: cxx = conf.find_program('icpc', var='CXX')
20 if not cxx: conf.fatal('Intel C++ Compiler (icpc) was not found')
21 cxx = conf.cmd_to_list(cxx)
23 ccroot.get_cc_version(conf, cxx, icc=True)