build: use allowed over enabled or not-disabled

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`.
Switch all uses of `not disabled` to `allowed`.

Change-Id: Ib0b26af4bd0e8685c83b1b0181f70bfca59ab2bc
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index 341c72f..a427bdb 100644
--- a/meson.build
+++ b/meson.build
@@ -24,7 +24,7 @@
 )
 
 # Soft Power off related.
-if not get_option('softoff').disabled()
+if get_option('softoff').allowed()
     conf_data.set_quoted('SOFTOFF_BUSNAME', get_option('softoff-busname'))
     conf_data.set_quoted('SOFTOFF_OBJPATH', get_option('softoff-objpath'))
     conf_data.set(
@@ -86,7 +86,7 @@
     language: 'cpp',
 )
 
-if not get_option('get-dbus-active-software').disabled()
+if get_option('get-dbus-active-software').allowed()
     add_project_arguments(
         cpp.get_supported_arguments(['-DGET_DBUS_ACTIVE_SOFTWARE']),
         language: 'cpp',
@@ -177,13 +177,13 @@
 subdir('user_channel')
 subdir('scripts')
 
-if not get_option('softoff').disabled()
+if get_option('softoff').allowed()
     subdir('xyz/openbmc_project/Ipmi/Internal/SoftPowerOff')
     subdir('softoff')
 endif
 
 # whitelist
-if not get_option('ipmi-whitelist').disabled()
+if get_option('ipmi-whitelist').allowed()
     generate_whitelist_script = files('generate_whitelist_create.sh')
 
     whitelist_conf = get_option('whitelist-conf')
@@ -256,7 +256,7 @@
 ]
 
 transportoem_src = []
-if not get_option('transport-oem').disabled()
+if get_option('transport-oem').allowed()
     transportoem_src = ['transporthandler_oem.cpp']
 endif
 
@@ -332,7 +332,7 @@
 # Dynamic Sensor Stack
 subdir('dbus-sdr')
 
-if not get_option('dynamic-sensors').disabled() or not get_option('tests').disabled()
+if get_option('dynamic-sensors').disabled() or not get_option('tests').allowed()
     library(
         'dynamiccmds',
         dbus_sdr_src,
@@ -345,7 +345,7 @@
     )
 endif
 
-if not get_option('tests').disabled()
+if get_option('tests').allowed()
     subdir('test')
 endif