]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
build: remove unused macros
authorAlyssa Ross <hi@alyssa.is>
Sun, 21 Jul 2024 12:22:44 +0000 (14:22 +0200)
committerAlyssa Ross <hi@alyssa.is>
Sun, 21 Jul 2024 17:52:16 +0000 (19:52 +0200)
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 <hi@alyssa.is>
Fixes: dca6591f ("Keep cmake defines GLIB_VERSION_... in sync with autotools.")
Fixes: cd2e3826 ("Add Meson build system")
cmake/config.h.cmake
meson.build

index 77fc19c398587774613f730971e013135760ef93..1cf57286f9aabeed6648086f60fbb544ff8b29b4 100644 (file)
@@ -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@
 
index 19b41cd90aa17759e339721e30b9f7026de168ee..55fa41df29e5c9e868594fc09641eb50e03a5b6a 100644 (file)
@@ -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