meson.eclass: MESON_AUTO_DEPEND support
authorRobin H. Johnson <robbat2@gentoo.org>
Wed, 4 Oct 2017 19:03:18 +0000 (12:03 -0700)
committerRobin H. Johnson <robbat2@gentoo.org>
Wed, 4 Oct 2017 19:30:08 +0000 (12:30 -0700)
commit5f21d6aacd144e990402609aa3b3f118cc391447
treea409a5aa915d31622deedfce2ca8a3cde446c76f
parentd11fcd28c44f8181f9d45d4ce8967e9c106e5b87
meson.eclass: MESON_AUTO_DEPEND support

Make it possible to use the meson eclass without it automatically adding
meson to DEPEND. Intended for cases where meson usage is conditional
(e.g. hidden behind a USE flag).

This is a direct copy of the AUTOTOOLS_AUTO_DEPEND functionality &
implementation from autotools.eclass, including the guard for multiple
inheritance.

Closes: https://bugs.gentoo.org/626054
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
eclass/meson.eclass