Browse Source

wscript: mark readline as optional

We need readline for transport.c, but it's built conditionally if
present, so allow the check for readline to fail.
tags/1.9.9.5
Adrian Knoth 13 years ago
parent
commit
05bdeafd3d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      example-clients/wscript

+ 1
- 1
example-clients/wscript View File

@@ -44,7 +44,7 @@ def configure(conf):

conf.check_cfg(package='celt', atleast_version='0.5.0', args='--cflags --libs', mandatory=False)

e = conf.check_cc(lib='readline', define_name="HAVE_READLINE")
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
#if conf.is_defined('HAVE_READLINE'):


Loading…
Cancel
Save