Changeset 549928e for wscript


Ignore:
Timestamp:
Dec 10, 2013, 2:30:42 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
ab41f5c
Parents:
eb99982
Message:

wscript: make sure all libav libraries are installed to build source_avcodec

Signed-off-by: Paul Brossier <piem@piem.org>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    reb99982 r549928e  
    214214        ctx.check_cfg(package = 'libavresample', atleast_version = '1.0.1',
    215215                args = '--cflags --libs', uselib_store = 'AVRESAMPLE', mandatory = False)
     216        if all ( 'HAVE_' + i in ctx.env.define_key
     217                for i in ['AVCODEC', 'AVFORMAT', 'AVUTIL', 'AVRESAMPLE'] ):
     218            ctx.define('HAVE_LIBAV', 1)
     219            ctx.msg('Checking for all libav libraries', 'yes')
     220        else:
     221            ctx.msg('Checking for all libav libraries', 'not found', color = 'YELLOW')
    216222
    217223    # use memcpy hacks
Note: See TracChangeset for help on using the changeset viewer.