chiark / gitweb /
Prep v233.3: Add HAVE_UTMP information to basic/build.h
authorSven Eden <yamakuzure@gmx.net>
Fri, 21 Jul 2017 05:46:20 +0000 (07:46 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 21 Jul 2017 05:46:20 +0000 (07:46 +0200)
src/basic/build.h

index d376107..6329a8f 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
@@ -49,5 +55,6 @@
         _PAM_FEATURE_ " "                                               \
         _SELINUX_FEATURE_ " "                                           \
         _SMACK_FEATURE_ " "                                             \
+        _UTMP_FEATURE_ " "                                              \
         _ACL_FEATURE_ " "                                               \
         _CGROUP_HIEARCHY_