meson.eclass: update the example to use modern helper functions
authorMarek Szuba <marecki@gentoo.org>
Mon, 13 Apr 2020 21:42:38 +0000 (22:42 +0100)
committerMarek Szuba <marecki@gentoo.org>
Tue, 14 Apr 2020 09:33:18 +0000 (10:33 +0100)
commitb69481722aa911410ab12018f01db859d696f22c
tree26178dc8b20ae85a8751e693b9ba117fb93759cc
parentbc52ea7ff4dde4fee73c7a02b135d481b9743fad
meson.eclass: update the example to use modern helper functions

We have now got meson_use and meson_feature yet the example still
used usex.

Signed-off-by: Marek Szuba <marecki@gentoo.org>
Reviewed-by: Mike Gilbert <floppym@gentoo.org>
eclass/meson.eclass