summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index 608b2c0..52149c4 100644
--- a/wscript
+++ b/wscript
@@ -13,14 +13,14 @@ def set_options(opt):
opt.tool_options('compiler_cc')
def configure(conf):
+ if not conf.env['CC']:
+ conf.check_tool('compiler_cc')
if not conf.env['HAVE_LV2CORE']:
conf.check_pkg('lv2core', destvar='LV2CORE', vnum='1', mandatory=True)
if not conf.env['HAVE_REDLAND']:
conf.check_pkg('redland', destvar='REDLAND', vnum='1.0.8', mandatory=True)
if not conf.env['HAVE_JACK']:
conf.check_pkg('jack', destvar='JACK', vnum='0.107.0', mandatory=False)
- if not conf.env['CC']:
- conf.check_tool('compiler_cc')
conf.env.append_value('CCFLAGS', '-std=c99')
conf.define('PACKAGE_VERSION', VERSION)
conf.write_config_header('waf-config.h')