aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-10-25 21:39:46 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-11-17 11:30:01 +0100
commit81302efa661f848455a1bfe44b27608b11d6d49b (patch)
treec4ee58c60d071f992c6bab8c8016e557e6d490eb /configure.ac
parent21c775703c9e3852fdda206a9658cb236613ef85 (diff)
iface-modem: use external dispatcher to attempt FCC unlock
We remove the built-in FCC unlock procedures from the ModemManager, we will no longer run them automatically, and instead rely on external scripts/programs to do that. Packages providing the external FCC unlock tools can install them in ${pkglibdir}/fcc-unlock.d. Users manually enabling external FCC unlock tools can install them in ${pkgsysconfdir}/fcc-unlock.d. The user-enabled path takes precedence over the package-enabled one.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3afd0aec..4ee94126 100644
--- a/configure.ac
+++ b/configure.ac
@@ -190,6 +190,10 @@ dnl-----------------------------------------------------------------------------
dnl System paths
dnl
+dnl ModemManager configuration directory
+pkgsysconfdir="${sysconfdir}/ModemManager"
+AC_SUBST(pkgsysconfdir)
+
dnl DBus system directory
AC_ARG_WITH(dbus-sys-dir, AS_HELP_STRING([--with-dbus-sys-dir=DIR], [where D-BUS system.d directory is]))
if test -n "$with_dbus_sys_dir" ; then
@@ -618,6 +622,7 @@ echo "
System paths:
prefix: ${prefix}
+ configuration directory: ${pkgsysconfdir}
D-Bus system directory: ${DBUS_SYS_DIR}
udev base directory: ${UDEV_BASE_DIR}
systemd unit directory: ${with_systemdsystemunitdir}