summaryrefslogtreecommitdiff
path: root/src/external
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-04-05 15:42:13 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-04-12 09:26:26 -0400
commit2a5790216f57e9bdfb2930d52860bb5300366536 (patch)
tree41d9ad9913dcc3cda3aed38f64f5f1c6ef251d18 /src/external
parent00e9f24707a2d221ed2be40289669e4fd731713e (diff)
downloadsssd-2a5790216f57e9bdfb2930d52860bb5300366536.tar.gz
sssd-2a5790216f57e9bdfb2930d52860bb5300366536.tar.bz2
sssd-2a5790216f57e9bdfb2930d52860bb5300366536.zip
Provide a configuration option to use systemd unit file
https://fedorahosted.org/sssd/ticket/837
Diffstat (limited to 'src/external')
-rw-r--r--src/external/systemd.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/src/external/systemd.m4 b/src/external/systemd.m4
new file mode 100644
index 00000000..2c26dc19
--- /dev/null
+++ b/src/external/systemd.m4
@@ -0,0 +1,8 @@
+dnl A macro to check presence of systemd on the system
+AC_DEFUN([AM_CHECK_SYSTEMD],
+[
+ PKG_CHECK_EXISTS(systemd,
+ [ HAVE_SYSTEMD=1, AC_SUBST(HAVE_SYSTEMD) ],
+ [AC_MSG_ERROR([Could not detect systemd presence])]
+ )
+])