Browse Source

drop calls to deprecated conf.check_tool since they have been replaced with conf.load

tags/v1.9.11-RC1
Karl Lindén 10 years ago
parent
commit
bf3a21ef2a
1 changed files with 0 additions and 19 deletions
  1. +0
    -19
      wscript

+ 0
- 19
wscript View File

@@ -470,26 +470,7 @@ def configure(conf):
if conf.env['IS_WINDOWS']:
Logs.pprint('CYAN', "Windows detected")

if conf.env['IS_LINUX']:
conf.check_tool('compiler_cxx')
conf.check_tool('compiler_cc')

if conf.env['IS_MACOSX']:
conf.check_tool('compiler_cxx')
conf.check_tool('compiler_cc')

# waf 1.5 : check_tool('compiler_cxx') and check_tool('compiler_cc') do not work correctly, so explicit use of gcc and g++
if conf.env['IS_SUN']:
conf.check_tool('g++')
conf.check_tool('gcc')

#if conf.env['IS_SUN']:
# conf.check_tool('compiler_cxx')
# conf.check_tool('compiler_cc')

if conf.env['IS_WINDOWS']:
conf.check_tool('compiler_cxx')
conf.check_tool('compiler_cc')
conf.env.append_unique('CCDEFINES', '_POSIX')
conf.env.append_unique('CXXDEFINES', '_POSIX')



Loading…
Cancel
Save