From eb6899125ac83900710180c02b94bc593a1426d2 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 21 Aug 2015 11:04:03 +0200 Subject: [PATCH] wscript: check HAVE_AV* from ctx.env --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 03e00d69..74dbf7d1 100644 --- a/wscript +++ b/wscript @@ -243,7 +243,7 @@ def configure(ctx): ctx.check_cfg(package = 'libavresample', atleast_version = '1.0.1', args = '--cflags --libs', uselib_store = 'AVRESAMPLE', mandatory = ctx.options.enable_avcodec) - if all ( 'HAVE_' + i in ctx.env.define_key + if all ( 'HAVE_' + i in ctx.env for i in ['AVCODEC', 'AVFORMAT', 'AVUTIL', 'AVRESAMPLE'] ): ctx.define('HAVE_LIBAV', 1) ctx.msg('Checking for all libav libraries', 'yes') -- 2.11.0