summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-02 23:37:38 +0000
committerDavid Robillard <d@drobilla.net>2008-10-02 23:37:38 +0000
commitc9a85bdb35286c4072e640574c49d60f6d8f13c4 (patch)
treeb8f8984d238b81d659d6a5729743f357f76d119c /wscript
parenteabd60dc1352bd3427c035605ef261cf69cdcebc (diff)
downloadraul-c9a85bdb35286c4072e640574c49d60f6d8f13c4.tar.gz
raul-c9a85bdb35286c4072e640574c49d60f6d8f13c4.tar.bz2
raul-c9a85bdb35286c4072e640574c49d60f6d8f13c4.zip
Factor out avoid-repeated-checks thing to autowaf. Saves lines in wscripts....
Use SLV2_VERSION instead of PACKAGE_VERSION in slv2 code to play nice with others. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@1598 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 3 insertions, 8 deletions
diff --git a/wscript b/wscript
index 4f4b19f..7127b4f 100644
--- a/wscript
+++ b/wscript
@@ -29,15 +29,10 @@ def set_options(opt):
def configure(conf):
autowaf.configure(conf)
- if not conf.env['CXX']:
- conf.check_tool('compiler_cxx')
- if not conf.env['HAVE_GLIBMM']:
- conf.check_pkg('glibmm-2.4', destvar='GLIBMM', vnum='2.16.0', mandatory=True)
- if not conf.env['HAVE_GTHREAD']:
- conf.check_pkg('gthread-2.0', destvar='GTHREAD', vnum='2.16.0', mandatory=True)
-
+ autowaf.check_tool(conf, 'compiler_cxx')
+ autowaf.check_pkg(conf, 'glibmm-2.4', destvar='GLIBMM', vnum='2.16.0', mandatory=True)
+ autowaf.check_pkg(conf, 'gthread-2.0', destvar='GTHREAD', vnum='2.16.0', mandatory=True)
autowaf.print_summary(conf)
- print
def build(bld):
# Headers