From d90874e56f8ec03cadf6ec3647f28a0f31aaa8e6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 2 Oct 2008 01:49:02 +0000 Subject: Factor more things into autowaf. Only call autowaf functions once no matter how many sub-projects call them (global counter, barf). Print pretty summary for everything with options, in order so you can see which project caused which check. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1581 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wscript b/wscript index 5d5033c..a35714f 100644 --- a/wscript +++ b/wscript @@ -35,9 +35,11 @@ srcdir = '.' blddir = 'build' def set_options(opt): + autowaf.set_options(opt) opt.tool_options('compiler_cc') def configure(conf): + autowaf.configure(conf) if not conf.env['CC']: conf.check_tool('compiler_cc') if not conf.env['HAVE_LV2CORE']: @@ -51,6 +53,11 @@ def configure(conf): conf.write_config_header('waf-config.h') conf.env.append_value('CCFLAGS', '-DCONFIG_H_PATH=\\\"waf-config.h\\\"') conf.env.append_value('CCFLAGS', '-DPACKAGE_VERSION=\\\"' + VERSION + '\\\"') + + autowaf.print_summary(conf) + print '= SLV2 Configuration =' + autowaf.display_msg("Jack clients", str(bool(conf.env['HAVE_JACK'])), 'YELLOW') + print def build(bld): # C Headers -- cgit v1.2.1