diff options
author | David Robillard <d@drobilla.net> | 2015-11-08 01:44:25 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-11-08 01:44:25 +0000 |
commit | add42b10290e261aefa93dac2a1cef659a7c302f (patch) | |
tree | aa194854548e0a18da4904d0a1cf9851ce93b2df /wscript | |
parent | 5537b613c517e258ed3209ac0f72e012fb314928 (diff) | |
download | jalv-add42b10290e261aefa93dac2a1cef659a7c302f.tar.gz jalv-add42b10290e261aefa93dac2a1cef659a7c302f.tar.bz2 jalv-add42b10290e261aefa93dac2a1cef659a7c302f.zip |
Support numeric and string plugin properties
Also:
* Print plugin/UI communication log in colour if supported
* Update UI when internal plugin state is changed during preset load
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5812 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -94,6 +94,24 @@ def configure(conf): uselib='JACK', mandatory=False) + defines = ['_POSIX_SOURCE'] + + conf.check(function_name='isatty', + header_name='unistd.h', + defines=defines, + define_name='HAVE_ISATTY', + mandatory=False) + + conf.check(function_name='fileno', + header_name='stdio.h', + defines=defines, + define_name='HAVE_FILENO', + mandatory=False) + + if conf.is_defined('HAVE_ISATTY') and conf.is_defined('HAVE_FILENO'): + autowaf.define(conf, 'JALV_WITH_COLOR', 1) + conf.env.append_unique('CFLAGS', ['-D_POSIX_SOURCE']) + if not Options.options.no_jack_session: autowaf.define(conf, 'JALV_JACK_SESSION', 1) @@ -108,12 +126,13 @@ def configure(conf): autowaf.display_msg(conf, "Gtkmm 2.0 support", bool(conf.env.HAVE_GTKMM2)) autowaf.display_msg(conf, "Qt 4.0 support", bool(conf.env.HAVE_QT4)) autowaf.display_msg(conf, "Qt 5.0 support", bool(conf.env.HAVE_QT5)) + autowaf.display_msg(conf, "Color output", bool(conf.env.JALV_WITH_COLOR)) print('') def build(bld): libs = 'LILV SUIL JACK SERD SORD SRATOM LV2' - source = 'src/jalv.c src/symap.c src/state.c src/lv2_evbuf.c src/worker.c src/log.c' + source = 'src/jalv.c src/symap.c src/state.c src/lv2_evbuf.c src/worker.c src/log.c src/control.c' # Non-GUI version obj = bld(features = 'c cprogram', |