Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
accountsservice
accountsservice
Commits
d45610fe
Commit
d45610fe
authored
Mar 23, 2012
by
Ray Strode
Browse files
wip: start adding systemd support
Only started, still more to do, just sketching at this point.
parent
1f0356a6
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
d45610fe
...
@@ -161,10 +161,22 @@ AC_PATH_PROG([XSLTPROC], [xsltproc])
...
@@ -161,10 +161,22 @@ AC_PATH_PROG([XSLTPROC], [xsltproc])
# systemd
# systemd
PKG_CHECK_MODULES(SYSTEMD, [libsystemd-login libsystemd-daemon],
[have_systemd=yes], [have_systemd=no])
AC_SUBST(SYSTEMD_CFLAGS)
AC_SUBST(SYSTEMD_LIBS)
LIBACCOUNTSSERVICE_LIBS="$LIBACCOUNTSSERVICE_LIBS $SYSTEMD_LIBS"
LIBACCOUNTSSERVICE_CFLAGS="$LIBACCOUNTSSERVICE_CFLAGS $SYSTEMD_CFLAGS"
if test "x$have_systemd" != "no" ; then
AC_DEFINE(WITH_SYSTEMD, 1, [Define to enable systemd support])
fi
AC_ARG_WITH([systemdsystemunitdir],
AC_ARG_WITH([systemdsystemunitdir],
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
[],
[],
[with_systemdsystemunitdir=
yes
])
[with_systemdsystemunitdir=
$have_systemd
])
if test "x$with_systemdsystemunitdir" = "xyes"; then
if test "x$with_systemdsystemunitdir" = "xyes"; then
with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
fi
fi
...
...
src/libaccountsservice/act-user-manager.c
View file @
d45610fe
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment