commit | 6c79a72b44d7cf26810e623439336d37322f2340 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:44:14 2023 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:44:14 2023 -0600 |
tree | 87999d37f0b01d81b17c4154bd934ca2d4f31365 | |
parent | 717fdc440a3f1c8ac0a538b0a641d1dcd23a32e1 [diff] |
build: use allowed over enabled Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer return true for auto features. Instead, the expectation is to use `allowed()` which is true for both enabled and auto. Switch all uses of `enabled` to `allowed`. Change-Id: Id670871780c89a5291d478aa66ec942c3378afe7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>