mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 14:40:08 +01:00
merge: branch 'bg/dbus-path'
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/831
This commit is contained in:
commit
bf6214ef32
3 changed files with 3 additions and 3 deletions
|
|
@ -727,7 +727,7 @@ AC_ARG_WITH(dbus-sys-dir,
|
|||
if test -n "$with_dbus_sys_dir" ; then
|
||||
DBUS_SYS_DIR="$with_dbus_sys_dir"
|
||||
else
|
||||
DBUS_SYS_DIR="${sysconfdir}/dbus-1/system.d"
|
||||
DBUS_SYS_DIR="${datadir}/dbus-1/system.d"
|
||||
fi
|
||||
AC_SUBST(DBUS_SYS_DIR)
|
||||
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@
|
|||
|
||||
###############################################################################
|
||||
|
||||
%if 0%{?fedora}
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
%global dbus_version 1.9.18
|
||||
%global dbus_sys_dir %{_datadir}/dbus-1/system.d
|
||||
%else
|
||||
|
|
|
|||
|
|
@ -552,7 +552,7 @@ endif
|
|||
dbus_conf_dir = get_option('dbus_conf_dir')
|
||||
if dbus_conf_dir == ''
|
||||
assert(dbus_dep.found(), 'D-Bus required but not found, please provide a valid system bus config dir')
|
||||
dbus_conf_dir = join_paths(dbus_dep.get_pkgconfig_variable('sysconfdir', define_variable: ['sysconfdir', nm_sysconfdir]), 'dbus-1', 'system.d')
|
||||
dbus_conf_dir = join_paths(dbus_dep.get_pkgconfig_variable('datadir'), 'dbus-1', 'system.d')
|
||||
endif
|
||||
|
||||
dbus_interfaces_dir = dbus_dep.get_pkgconfig_variable('interfaces_dir', define_variable: ['datadir', nm_datadir])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue