chiark / gitweb /
Fix service file to match installed elogind binary location
[elogind.git] / src / basic / build.h
index 856519f6150a5d0d66272f48d7db373189f96c5b..6329a8fc39d4ce936d81ee75fef85cbd810fe95f 100644 (file)
 #define _SMACK_FEATURE_ "-SMACK"
 #endif
 
+#ifdef HAVE_UTMP
+#define _UTMP_FEATURE_ "+UTMP"
+#else
+#define _UTMP_FEATURE_ "-UTMP"
+#endif
+
 #ifdef HAVE_ACL
 #define _ACL_FEATURE_ "+ACL"
 #else
 #define _ACL_FEATURE_ "-ACL"
 #endif
 
+#define _CGROUP_HIEARCHY_ "default-hierarchy=" DEFAULT_HIERARCHY_NAME
+
 #define SYSTEMD_FEATURES                                                \
         _PAM_FEATURE_ " "                                               \
         _SELINUX_FEATURE_ " "                                           \
         _SMACK_FEATURE_ " "                                             \
-        _ACL_FEATURE_ " "
+        _UTMP_FEATURE_ " "                                              \
+        _ACL_FEATURE_ " "                                               \
+        _CGROUP_HIEARCHY_