summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-12-18 08:01:59 +0000
committerDavid Robillard <d@drobilla.net>2014-12-18 08:01:59 +0000
commit88103d9fc6c5ab22aab264d7bd6ad6865d5f7719 (patch)
treef6ede83062839bd52388c35113b8ba327ce66f8c /wscript
parentc7383f88f7ac3fba6a4c14cadbb5742b3917e035 (diff)
downloadganv-88103d9fc6c5ab22aab264d7bd6ad6865d5f7719.tar.gz
ganv-88103d9fc6c5ab22aab264d7bd6ad6865d5f7719.tar.bz2
ganv-88103d9fc6c5ab22aab264d7bd6ad6865d5f7719.zip
Upgrade to waf 1.8.5.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5496 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript16
1 files changed, 8 insertions, 8 deletions
diff --git a/wscript b/wscript
index a0e6aec..a089b3a 100644
--- a/wscript
+++ b/wscript
@@ -55,7 +55,7 @@ def configure(conf):
if not Options.options.no_graphviz:
autowaf.check_pkg(conf, 'libgvc', uselib_store='AGRAPH_2_30',
atleast_version='2.30', mandatory=False)
- if not conf.is_defined('HAVE_AGRAPH_2_30'):
+ if not conf.env.HAVE_AGRAPH_2_30:
autowaf.check_pkg(conf, 'libgvc', uselib_store='AGRAPH_2_20',
atleast_version='2.20', mandatory=False)
@@ -70,13 +70,13 @@ def configure(conf):
conf.write_config_header('ganv_config.h', remove=False)
autowaf.display_msg(conf, "Static (Graphviz) arrange",
- conf.is_defined('HAVE_AGRAPH_2_20') or
- conf.is_defined('HAVE_AGRAPH_2_30'))
+ bool(conf.env.HAVE_AGRAPH_2_20 or
+ conf.env.HAVE_AGRAPH_2_30))
autowaf.display_msg(conf, "Interactive force-directed arrange",
- conf.is_defined('GANV_FDGL'))
- autowaf.display_msg(conf, "Native language support", conf.is_defined('ENABLE_NLS'))
- autowaf.display_msg(conf, "GObject introspection", conf.is_defined('HAVE_GIR'))
- autowaf.display_msg(conf, "Unit tests", str(conf.env.BUILD_TESTS))
+ bool(conf.env.GANV_FDGL))
+ autowaf.display_msg(conf, "Native language support", bool(conf.env.ENABLE_NLS))
+ autowaf.display_msg(conf, "GObject introspection", bool(conf.env.HAVE_GIR))
+ autowaf.display_msg(conf, "Unit tests", bool(conf.env.BUILD_TESTS))
print('')
ganv_source = [
@@ -165,7 +165,7 @@ def build(bld):
# Documentation
#autowaf.build_dox(bld, 'GANV', GANV_VERSION, top, out)
- if bld.is_defined('HAVE_GIR'):
+ if bld.env.HAVE_GIR:
bld.add_group()
bld_dir = os.path.join(out, APPNAME)