mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
Add a systemd unit file
It's just better if we get activated via systemd rather than dbus. Various bits of configury/makefile taken from polkit. https://bugs.freedesktop.org/show_bug.cgi?id=58468
This commit is contained in:
committed by
Bastien Nocera
parent
870a7a8361
commit
9ea025d9cb
@ -55,6 +55,15 @@ AM_CONDITIONAL(BUILD_MAN, test x"$POD2MAN" != "x")
|
||||
|
||||
GTK_DOC_CHECK([1.3])
|
||||
|
||||
AC_ARG_WITH([systemdsystemunitdir],
|
||||
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
|
||||
[],
|
||||
[with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
|
||||
AS_IF([test "x$with_systemdsystemunitdir" != "xno"], [
|
||||
AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
|
||||
])
|
||||
AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$systemdsystemunitdir"])
|
||||
|
||||
AS_AC_EXPAND(DATADIR, $datadir)
|
||||
|
||||
DBUS_SERVICES_DIR="$DATADIR/dbus-1/services"
|
||||
|
||||
Reference in New Issue
Block a user