From 3e24ee1e2746fa8ab3ebd0db52743c4cd00bd869 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sun, 21 Jul 2024 14:22:44 +0200 Subject: [PATCH] build: remove unused macros These were/are used as autoconf/CMake variable names, but were never used by C code, so there's no need to export them as macros. Signed-off-by: Alyssa Ross Fixes: dca6591f ("Keep cmake defines GLIB_VERSION_... in sync with autotools.") Fixes: cd2e3826 ("Add Meson build system") --- cmake/config.h.cmake | 1 - meson.build | 2 -- 2 files changed, 3 deletions(-) diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake index 77fc19c39..1cf57286f 100644 --- a/cmake/config.h.cmake +++ b/cmake/config.h.cmake @@ -79,7 +79,6 @@ # define DBUS_ENABLE_X11_AUTOLAUNCH 1 #endif -#cmakedefine DBUS_WITH_GLIB 1 #cmakedefine GLIB_VERSION_MIN_REQUIRED @GLIB_VERSION_MIN_REQUIRED@ #cmakedefine GLIB_VERSION_MAX_ALLOWED @GLIB_VERSION_MAX_ALLOWED@ diff --git a/meson.build b/meson.build index 19b41cd90..55fa41df2 100644 --- a/meson.build +++ b/meson.build @@ -388,7 +388,6 @@ else have_gio_unix = false endif use_glib = glib.found() and gio.found() -config.set('DBUS_WITH_GLIB', use_glib) if message_bus expat = dependency('expat') @@ -458,7 +457,6 @@ else error('kqueue support requested but not found') endif endif -config.set('DBUS_BUS_ENABLE_KQUEUE', use_kqueue) if get_option('launchd').disabled() use_launchd = false -- 2.47.3