commit | 676fd83d14b19d98b3ccc37cd46c06f29edeba4f | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:44:23 2023 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:44:23 2023 -0600 |
tree | ad6d0ad9e211a6f8a38ecd305aa3833ff90d70aa | |
parent | bebbda9b47a2d44b28d4bb8ef24d4bc9866064ed [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: I1fb38a8715c8dbec883beaadd8519472de452e43 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>