commit | 90b84ad9d6cfe44daae2d9cfbbdb9bd616e4c814 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:44:34 2023 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:44:34 2023 -0600 |
tree | c4d0b4222f3e6c073784330192b38323744bc874 | |
parent | 40419f91ea6d57fe618516231e56cda7db98725b [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: I50f949d6323c4ff17e48901a56f7e34a76ca46db Signed-off-by: Patrick Williams <patrick@stwcx.xyz>