Changes in wscript [74bdc4a:ba0ba10]
Legend:
- Unmodified
- Added
- Removed
-
wscript
r74bdc4a rba0ba10 57 57 add_option_enable_disable(ctx, 'sndfile', default = None, 58 58 help_str = 'compile with sndfile (auto)', help_disable_str = 'disable sndfile') 59 add_option_enable_disable(ctx, 'avcodec', default = None, 60 help_str = 'compile with libavcodec (auto)', help_disable_str = 'disable libavcodec') 59 61 add_option_enable_disable(ctx, 'samplerate', default = None, 60 62 help_str = 'compile with samplerate (auto)', help_disable_str = 'disable samplerate') … … 200 202 args = '--cflags --libs', uselib_store = 'LASH', mandatory = False) 201 203 204 if (ctx.options.enable_avcodec != False): 205 ctx.check_cfg(package = 'libavcodec', atleast_version = '54.35.0', 206 args = '--cflags --libs', uselib_store = 'AVCODEC', mandatory = False) 207 ctx.check_cfg(package = 'libavformat', atleast_version = '52.3.0', 208 args = '--cflags --libs', uselib_store = 'AVFORMAT', mandatory = False) 209 ctx.check_cfg(package = 'libavutil', atleast_version = '52.3.0', 210 args = '--cflags --libs', uselib_store = 'AVUTIL', mandatory = False) 211 ctx.check_cfg(package = 'libavresample', atleast_version = '1.0.1', 212 args = '--cflags --libs', uselib_store = 'AVRESAMPLE', mandatory = False) 213 202 214 # write configuration header 203 215 ctx.write_config_header('src/config.h')
Note: See TracChangeset
for help on using the changeset viewer.