diff mbox series

[BlueZ,v3,1/2] configure.ac: Bump minimum D-Bus version to 1.10

Message ID 20230809064441.2002194-2-gioele@svario.it
State New
Headers show
Series configure.ac: Install D-Bus policy in /usr/share, not /etc | expand

Commit Message

Gioele Barabucci Aug. 9, 2023, 6:44 a.m. UTC
D-Bus 1.10, released in 2015, is the first version that supports reading
policy files from `/usr/share/dbus-1` in addition to `/etc/dbus-1`.

The previous minimum version, 1.6, was released in 2012.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/configure.ac b/configure.ac
index bc7edfcd3..5348bf3c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,7 +95,7 @@  AC_ARG_WITH([dbusconfdir], AS_HELP_STRING([--with-dbusconfdir=DIR],
 					[path_dbusconfdir=${withval}])
 if (test -z "${path_dbusconfdir}"); then
 	AC_MSG_CHECKING([D-Bus configuration directory])
-	path_dbusconfdir="`$PKG_CONFIG --variable=sysconfdir dbus-1`"
+	path_dbusconfdir="`$PKG_CONFIG --variable=datadir dbus-1`"
 	if (test -z "${path_dbusconfdir}"); then
 		AC_MSG_ERROR([D-Bus configuration directory is required])
 	fi