diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-21 16:55:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-12 00:10:35 +0200 |
commit | 5a81bb666df3d8469d282e63d452ac2dea96b313 (patch) | |
tree | f860fc43670313a1104050f5da9aa2aa05df8d3e /configure.ac | |
parent | 30f0968b9a7f544d1afc8908888dc403be6112b8 (diff) |
systemd: install systemd unit files
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 117d788..17afab8 100644 --- a/configure.ac +++ b/configure.ac @@ -391,6 +391,15 @@ AC_SUBST(CFLAGS) AC_SUBST(CPPFLAGS) AC_SUBST(LDFLAGS) +# systemd + +AC_ARG_WITH([systemdsystemunitdir], + AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]), + [], + [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)]) +AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir]) +AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir"]) + # Files AC_CONFIG_FILES([ |