summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-02 01:49:02 +0000
committerDavid Robillard <d@drobilla.net>2008-10-02 01:49:02 +0000
commitd90874e56f8ec03cadf6ec3647f28a0f31aaa8e6 (patch)
treed81fd8856bac66afe92e954b8ab91bccd3ff8064
parent3c5399a7708cdfdb1ea71005c1ef109290442702 (diff)
downloadlilv-d90874e56f8ec03cadf6ec3647f28a0f31aaa8e6.tar.gz
lilv-d90874e56f8ec03cadf6ec3647f28a0f31aaa8e6.tar.bz2
lilv-d90874e56f8ec03cadf6ec3647f28a0f31aaa8e6.zip
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
-rw-r--r--wscript7
1 files changed, 7 insertions, 0 deletions
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