Hello,
meson 0.47.0 has new option type - feature
<
https://mesonbuild.com/Release-notes-for-0-47-0.html#new-type-of-build-op...
(tri-state option - enabled/disabled/auto). It is quite common that in
autofoo and less in cmake worlds people rely on auto-detection of
dependencies and enabling features based on those.
I believe that for distribution we should make sure that all default
features are enabled and if not, packager should explicitly disable
feature. For instance when I was testing some RPM patches for new
compression types, it was disabling some default feature because the
configure script was written in a wrong way.
It would be nice if we could have some standardized way of specifying
options for buildsystems which would convert into autofoo/cmake/meson way
of specifying parameters but this is topic for another discussion.
Thoughts? Objections?
Unless there is strong opposition, I'm going to switch this parameter in
%meson macro and you would be able to change its value by redefining
%__meson_auto_features.
--
-Igor Gnatenko