diff options
author | David Robillard <d@drobilla.net> | 2017-12-26 14:41:02 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-29 15:02:24 -0500 |
commit | f6b7b6c09aed60217f32a99b6a35b13fa1f43f7e (patch) | |
tree | e0b32b655200a4675d4f1b71de89394b18da1bd7 /wscript | |
parent | e5621f1b4d4acafa03898c072b0e11cb32db10ac (diff) | |
download | ganv-f6b7b6c09aed60217f32a99b6a35b13fa1f43f7e.tar.gz ganv-f6b7b6c09aed60217f32a99b6a35b13fa1f43f7e.tar.bz2 ganv-f6b7b6c09aed60217f32a99b6a35b13fa1f43f7e.zip |
Upgrade to waf 2.0.3
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -34,10 +34,10 @@ def options(ctx): help='build GObject introspection data') def configure(conf): - conf.load('compiler_c') - conf.load('compiler_cxx') - autowaf.configure(conf) autowaf.display_header('Ganv Configuration') + conf.load('compiler_c', cache=True) + conf.load('compiler_cxx', cache=True) + conf.load('autowaf', cache=True) autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK', atleast_version='2.0.0', mandatory=True) @@ -64,16 +64,17 @@ def configure(conf): autowaf.define(conf, 'GANV_USE_LIGHT_THEME', 1) if not Options.options.no_nls: - conf.check(function_name = 'dgettext', - header_name = 'libintl.h', - lib = 'intl', - define_name = 'ENABLE_NLS', - mandatory = False) + autowaf.check_function(conf, 'cxx', 'dgettext', + header_name = 'libintl.h', + lib = 'intl', + define_name = 'ENABLE_NLS', + mandatory = False) conf.env.LIB_GANV = ['ganv-%s' % GANV_MAJOR_VERSION] conf.write_config_header('ganv_config.h', remove=False) + autowaf.display_summary(conf) autowaf.display_msg(conf, "Static (Graphviz) arrange", bool(conf.env.HAVE_AGRAPH_2_20 or conf.env.HAVE_AGRAPH_2_30)) |