Changeset 2e4fb04 for wscript


Ignore:
Timestamp:
Nov 5, 2009, 11:21:32 PM (15 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
3e17aed
Parents:
16ed726
Message:

wscript: add option to disable libsamplerate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r16ed726 r2e4fb04  
    2424  opt.add_option('--disable-lash', action='store_true', default=False,
    2525      help='compile without lash support')
     26  opt.add_option('--disable-libsamplerate', action='store_true', default=False,
     27      help='compile without libsamplerate support')
    2628  opt.add_option('--with-target-platform', type='string',
    2729      help='set target platform for cross-compilation', dest='target_platform')
     
    5557    conf.check(header_name='complex.h')
    5658
    57   # required dependancies
     59  # check dependencies
    5860  conf.check_cfg(package = 'sndfile', atleast_version = '1.0.4',
    5961    args = '--cflags --libs')
    60   conf.check_cfg(package = 'samplerate', atleast_version = '0.0.15',
    61     args = '--cflags --libs')
     62  if (Options.options.disable_libsamplerate == False):
     63      conf.check_cfg(package = 'libsamplerate', atleast_version = '0.0.15',
     64        args = '--cflags --libs')
    6265
    6366  # double precision mode
Note: See TracChangeset for help on using the changeset viewer.