This adds --disable-utmp option to configure. If it is used, all utmp-related functionality, including querying runlevel support, is removed.
37161c5 make utmp/wtmp support configurable
Makefile-man.am | 29 +++++++++++++++++------------
Makefile.am | 26 +++++++++++++++++++++-----
configure.ac | 11 +++++++++++
man/runlevel.xml | 3 ++-
man/systemd-update-utmp.service.xml | 2 +-
src/core/build.h | 7 +++++++
src/shared/utmp-wtmp.h | 28 ++++++++++++++++++++++++++++
7 files changed, 87 insertions(+), 19 deletions(-)
Upstream: github.com