diff options
author | Karl Lindén <karl.j.linden@gmail.com> | 2015-04-10 17:02:30 +0200 |
---|---|---|
committer | Karl Lindén <karl.j.linden@gmail.com> | 2015-04-10 17:02:30 +0200 |
commit | bac7cc775de4461b5833f27cb13153839bb7cba8 (patch) | |
tree | e8ef157ac6863094edabbbfb341392204dcc052f /example-clients | |
parent | ea43b15ea9d753720a00931242a882925ee48e97 (diff) | |
download | jack2-bac7cc775de4461b5833f27cb13153839bb7cba8.tar.gz |
add the --sndfile auto option and check sndfile availability with env['SNDFILE'] instead of is_defined('HAVE_SNDFILE')
Diffstat (limited to 'example-clients')
-rw-r--r-- | example-clients/wscript | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/example-clients/wscript b/example-clients/wscript index f834e8a2..0c8f32da 100644 --- a/example-clients/wscript +++ b/example-clients/wscript @@ -36,8 +36,6 @@ example_libs = { } def configure(conf): - conf.check_cfg(package='sndfile', args='--cflags --libs', mandatory=False) - e = conf.check_cc(lib='readline', define_name="HAVE_READLINE", mandatory=False) # define_name="HAVE_READLINE" has no effect, LIB_READLINE is defined if readline is available @@ -46,7 +44,7 @@ def configure(conf): conf.env['BUILD_EXAMPLE_CLIENT_TRANSPORT'] = bool(conf.env['LIB_READLINE']) - conf.env['BUILD_EXAMPLE_CLIENT_REC'] = conf.is_defined('HAVE_SNDFILE') + conf.env['BUILD_EXAMPLE_CLIENT_REC'] = conf.env['SNDFILE'] conf.env['BUILD_EXAMPLE_ALSA_IO'] = conf.env['SAMPLERATE'] and conf.env['BUILD_DRIVER_ALSA'] |