chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix service file to match installed elogind binary location
[elogind.git]
/
src
/
basic
/
build.h
diff --git
a/src/basic/build.h
b/src/basic/build.h
index 856519f6150a5d0d66272f48d7db373189f96c5b..6329a8fc39d4ce936d81ee75fef85cbd810fe95f 100644
(file)
--- a/
src/basic/build.h
+++ b/
src/basic/build.h
@@
-37,14
+37,24
@@
#define _SMACK_FEATURE_ "-SMACK"
#endif
#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
#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_ " " \
#define SYSTEMD_FEATURES \
_PAM_FEATURE_ " " \
_SELINUX_FEATURE_ " " \
_SMACK_FEATURE_ " " \
- _ACL_FEATURE_ " "
+ _UTMP_FEATURE_ " " \
+ _ACL_FEATURE_ " " \
+ _CGROUP_HIEARCHY_