From 2a5790216f57e9bdfb2930d52860bb5300366536 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 5 Apr 2011 15:42:13 +0200 Subject: Provide a configuration option to use systemd unit file https://fedorahosted.org/sssd/ticket/837 --- src/external/systemd.m4 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/external/systemd.m4 (limited to 'src/external/systemd.m4') 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])] + ) +]) -- cgit