Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r2d64a24 r4ed1e47  
    6767            help_str = 'compile with libavcodec (auto)',
    6868            help_disable_str = 'disable libavcodec')
     69    add_option_enable_disable(ctx, 'vorbis', default = None,
     70            help_str = 'compile with libvorbis (auto)',
     71            help_disable_str = 'disable libvorbis')
    6972    add_option_enable_disable(ctx, 'samplerate', default = None,
    7073            help_str = 'compile with samplerate (auto)',
     
    429432                ctx.define('HAVE_AVRESAMPLE', 1)
    430433            ctx.define('HAVE_LIBAV', 1)
     434
     435    # check for vorbisenc
     436    if (ctx.options.enable_vorbis != False):
     437        ctx.check_cfg(package = 'vorbisenc vorbis ogg',
     438                args = '--cflags --libs',
     439                uselib_store = 'VORBISENC',
     440                mandatory = ctx.options.enable_vorbis)
    431441
    432442    if (ctx.options.enable_wavread != False):
Note: See TracChangeset for help on using the changeset viewer.