meson: Don't define DBUS_ENABLE_ASSERTS

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>
This commit is contained in:
Simon McVittie 2022-06-28 11:52:02 +01:00
parent 09ebed95ea
commit 9c9fae18dd

View 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)