From 9efe31e8d46d544edcbdfe10c6dadd0ea4fb4d5e Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 28 Jan 2016 15:22:18 +0100 Subject: Add systemd user units corresponding to the D-Bus session services Signed-off-by: Simon McVittie --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 854fa96..c1cfcfe 100644 --- a/configure.ac +++ b/configure.ac @@ -60,6 +60,14 @@ AC_ARG_WITH(dbus_service_dir, DBUS_SERVICE_DIR=$with_dbus_service_dir AC_SUBST(DBUS_SERVICE_DIR) +AC_ARG_WITH([systemduserunitdir], + [AS_HELP_STRING([--with-systemduserunitdir=DIR], + [Directory for systemd user service files (default=PREFIX/lib/systemd/user)])], + [], + dnl This is deliberately not ${libdir}: systemd units always go in + dnl .../lib, never .../lib64 or .../lib/x86_64-linux-gnu + [with_systemduserunitdir='${prefix}/lib/systemd/user']) +AC_SUBST([systemduserunitdir], [$with_systemduserunitdir]) AC_ARG_WITH(system_fonts_dir, AS_HELP_STRING([--with-system-fonts-dir=PATH],[Directory where system fonts are, [default=/usr/share/fonts]]), -- cgit v1.2.1