Browse Source

fix jack_transport build

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3867 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/v1.9.5
nedko 16 years ago
parent
commit
5d67ec263e
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      example-clients/wscript

+ 4
- 3
example-clients/wscript View File

@@ -49,10 +49,11 @@ def configure(conf):

e = conf.check_cc(lib='readline', define_name="HAVE_READLINE")

if conf.is_defined('HAVE_READLINE'):
conf.env['LIB_READLINE'] = ['readline']
# define_name="HAVE_READLINE" has no effect, LIB_READLINE is defined if readline is available
#if conf.is_defined('HAVE_READLINE'):
# conf.env['LIB_READLINE'] = ['readline']

conf.env['BUILD_EXAMPLE_CLIENT_TRANSPORT'] = conf.is_defined('HAVE_READLINE') and conf.is_defined('HAVE_NCURSES')
conf.env['BUILD_EXAMPLE_CLIENT_TRANSPORT'] = bool(conf.env['LIB_READLINE']) and bool(conf.env['LIB_NCURSES'])

conf.env['BUILD_EXAMPLE_CLIENT_REC'] = conf.is_defined('HAVE_SNDFILE')



Loading…
Cancel
Save