]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
meson: Don't define DBUS_ENABLE_ASSERTS
authorSimon McVittie <smcv@collabora.com>
Tue, 28 Jun 2022 10:52:02 +0000 (11:52 +0100)
committerSimon McVittie <smcv@collabora.com>
Wed, 13 Jul 2022 19:36:13 +0000 (20:36 +0100)
The other build systems don't define this, and it's too confusing to
have both DBUS_ENABLE_ASSERTS and DBUS_ENABLE_ASSERT.

Signed-off-by: Simon McVittie <smcv@collabora.com>
meson.build

index ad0e6d7bd1aa4e94bb463bc0b3e67fd31ead23cf..4f2632fe6c37f2ac5e242b65a826e33787d10bc9 100644 (file)
@@ -647,8 +647,6 @@ config.set('DBUS_ENABLE_VERBOSE_MODE', verbose_mode)
 
 # Asserts defaults to developer mode
 asserts = get_option('asserts')
-config.set('DBUS_ENABLE_ASSERTS', asserts)
-
 config.set('DBUS_ENABLE_ASSERT', asserts ? 1 : false)
 config.set('DBUS_DISABLE_ASSERT', not asserts ? 1 : false)