commit | a8ebb1db377b7a86ba5890723d5a0f7c4d636217 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:44:15 2023 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Nov 29 06:44:15 2023 -0600 |
tree | b52c2a0cc73c498550bd55a2658b593b3d20cc9f | |
parent | 2564451f911bd8bb3af4fdb84dbc94fab70f68e9 [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: I1f8f77d3cd06d82c4d5390a910593f5e88c5581f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>