commit | 6eb945fa699e0d1fc91886c952cb564147f28d82 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:45:26 2023 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:45:26 2023 -0600 |
tree | 4b052b37eb89e439be51eb3ccbc0278bf7c56ae6 | |
parent | 6f3082ea656eba3c5e6675d4f847440c2eb24881 [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: I0c79d23d21956ffd007b1d1001bf6aaa0f72103b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>