From f2065867c8fa6ec4e1d493b99ba5ac2f2526bf79 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 11 May 2016 23:37:41 +0200 Subject: data: Add a way for Rygel to be started via user systemd This will allow better tracking of whether rygel is running, ensuring that even if the manager to enable/disable its startup (gnome-settings-daemon) crashes and needs to restart, its status is still available by querying the user systemd. https://bugzilla.gnome.org/show_bug.cgi?id=766332 --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index def6eaa0..88fba8ce 100644 --- a/configure.ac +++ b/configure.ac @@ -403,6 +403,15 @@ AS_IF([test "x$enable_coverage" != "xno"], ] ) +dnl systemd user unit directory +AC_ARG_WITH([systemduserunitdir], + AS_HELP_STRING([--with-systemduserunitdir=DIR], [Directory for systemd user service files]), + [], + [with_systemduserunitdir=$($PKG_CONFIG --variable=systemduserunitdir systemd)]) +if test x$with_systemduserunitdir != xno; then + AC_SUBST([systemduserunitdir], [$with_systemduserunitdir]) +fi + dnl Check additional requirements for MediaExport plugins if test "x$enable_media_export_plugin" = "xyes"; then -- cgit v1.2.1