]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
meson: Consistently use boolean defaults for boolean options
authorSimon McVittie <smcv@collabora.com>
Fri, 13 Dec 2024 10:48:23 +0000 (10:48 +0000)
committerSimon McVittie <smcv@collabora.com>
Mon, 16 Dec 2024 10:41:25 +0000 (10:41 +0000)
Meson accepts either booleans or strings as defaults for a boolean
option, but recommends booleans, and raises deprecation warnings for
strings.

Signed-off-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit dc56afed594c63f3b29d68af33397072a300c310)

meson_options.txt

index 1fc8a2ad0b7f3589212fad9a792ee475a8e36c3b..ee06cb89492d759c09be862a7757fd515d1f21df 100644 (file)
@@ -139,7 +139,7 @@ option(
 option(
   'message_bus',
   type: 'boolean',
-  value: 'true',
+  value: true,
   description: 'Enable dbus-daemon'
 )
 
@@ -253,7 +253,7 @@ option(
 option(
   'tools',
   type: 'boolean',
-  value: 'true',
+  value: true,
   description: 'Enable CLI tools such as dbus-send and dbus-monitor'
 )