Browse Source

use pkg-config to find sndfile (drop explicit LIB_SNDFILE and HAVE_SNDFILE since check_cfg deals with it)

tags/v1.9.11-RC1
Karl Lindén 10 years ago
parent
commit
ea43b15ea9
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      example-clients/wscript

+ 1
- 4
example-clients/wscript View File

@@ -36,11 +36,8 @@ example_libs = {
}

def configure(conf):
e = conf.check_cc(header_name='sndfile.h', define_name="HAVE_SNDFILE", mandatory=False)
conf.check_cfg(package='sndfile', args='--cflags --libs', mandatory=False)
if conf.is_defined('HAVE_SNDFILE'):
conf.env['LIB_SNDFILE'] = ['sndfile']

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


Loading…
Cancel
Save