aboutsummaryrefslogtreecommitdiffstats
path: root/core.lv2/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'core.lv2/wscript')
-rw-r--r--core.lv2/wscript9
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 = ['.'],