diff options
author | David Robillard <d@drobilla.net> | 2011-03-27 06:06:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-27 06:06:42 +0000 |
commit | fcd10838f29aba961c8461e1c235f1c7508c373a (patch) | |
tree | c681689d2d5762c8bbbc968a369718f2622648f7 /core.lv2/wscript | |
parent | 81f7c65c0a300131d2643359aab3943add8b5c77 (diff) | |
download | lv2-fcd10838f29aba961c8461e1c235f1c7508c373a.tar.xz |
Build lv2config on systems without wordexp.
Diffstat (limited to 'core.lv2/wscript')
-rw-r--r-- | core.lv2/wscript | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core.lv2/wscript b/core.lv2/wscript index 2680664..95a518c 100644 --- a/core.lv2/wscript +++ b/core.lv2/wscript @@ -57,8 +57,17 @@ def configure(conf): autowaf.define(conf, 'LV2CORE_DEFAULT_LV2_PATH', Options.options.default_lv2_path) + conf.check(function_name='wordexp', + header_name='wordexp.h', + define_name='HAVE_WORDEXP', + mandatory=False) + conf.write_config_header('lv2-config.h', remove=False) + autowaf.display_msg(conf, "Path expansion via wordexp", + conf.is_defined('HAVE_WORDEXP')) + print('') + def build(bld): # Header "library" obj = bld(export_includes = ['.'], |