build: fix compatibility with meson 0.47
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 24 Oct 2019 10:41:08 +0000 (11:41 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 25 Oct 2019 07:45:51 +0000 (09:45 +0200)
commita7bdb568c3e943dd0a533c10e5e2784e00e2984e
tree3e46536069fceddc65a7d2d830b08174dbcddea6
parent157e55f82db03ea6fa9cbc2d6c82574c10f82335
build: fix compatibility with meson 0.47

The "in" keyword was introduced in meson 0.49, which means we need to use
an old-fashioned loop to check the array of disabled drivers.

Fixes: 6f80f1cd2247 ("build: support disabling drivers with meson")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
drivers/meson.build