## and also to connect to. If this ever changes, it'll need to be split into
## two variables, one for the listening address and one for the connecting
## address.
-#AC_SUBST(DBUS_SYSTEM_BUS_DEFAULT_ADDRESS)
-if ! test -z "$with_system_default_bus"; then
- ## Now system bus can work on kdbus too. It is diffrent situation than
- ## described above (daemon working with kdbus doesn't need to listen on
- ## any socket), so variable was not splited into two.
- DBUS_SYSTEM_BUS_DEFAULT_ADDRESS=$with_system_default_bus
-else
- kdbus_address_path=""
- if test x$enable_kdbus_transport = xyes; then
- kdbus_address_path="kernel:path=/sys/fs/kdbus/0-system/bus;"
- fi
-
- DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="${kdbus_address_path}unix:path=$DBUS_SYSTEM_SOCKET"
+kdbus_address_path=""
+if test x$enable_kdbus_transport = xyes; then
+ kdbus_address_path="kernel:path=/sys/fs/kdbus/0-system/bus;"
fi
+DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="${kdbus_address_path}unix:path=$DBUS_SYSTEM_SOCKET"
AC_SUBST(DBUS_SYSTEM_BUS_DEFAULT_ADDRESS)
AC_DEFINE_UNQUOTED(DBUS_SYSTEM_BUS_DEFAULT_ADDRESS, "$DBUS_SYSTEM_BUS_DEFAULT_ADDRESS",[The default D-Bus address of the system bus])