summaryrefslogtreecommitdiff
path: root/src/external/systemd.m4
blob: 2c26dc19b2c0a087cf1af58206b65473c5d250f9 (plain)
1
2
3
4
5
6
7
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])]
                    )
])