Christophe Fergeau e95f05452a meson: Support auto/true/false for optional dependencies
At the moment, missing optional dependencies will be silently ignored
when the corresponding configuration flag is 'true', and won't be tested
for when the flag is 'false'.
In the autotools build, this corresponds respectively to
--enable-foo=auto and --disable-foo.
Having a way to get an error when the package is enabled but missing is
quite desirable. f52247384 has some half-baked attempt at that, but this
was supposed to be removed from the series. This causes errors when
processing meson.build, breaking the meson build.
This commit adds 'true'/'false'/'auto' in a proper way.

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2018-06-06 12:16:31 +01:00
2015-08-11 10:26:06 +02:00
2018-06-05 14:10:22 +01:00
2015-12-18 11:41:15 +01:00
2012-09-21 10:51:17 +02:00
2017-05-18 16:40:36 +01:00
S
Description
No description provided
1.4 MiB
Languages
C 79%
Python 14%
Makefile 2.3%
M4 2%
Meson 1.6%
Other 1.1%