commit | 85c1c2a74d2e309d6faeb0030dad9c680a9851de | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:44:37 2023 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:44:37 2023 -0600 |
tree | 81723d7b97c773e62bc2044e1dd88421a044e028 | |
parent | 59c2e0e8fff1073a96a9375469d1109d6d3caaf1 [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: I2fcb7f5ec79e4a71720306519e31d010ba9852ec Signed-off-by: Patrick Williams <patrick@stwcx.xyz>