Drop --disable-logit configure option, no longer in $PATH

Simplify build system.

The logit tool is, as of v4.0, installed into /libexec/finit/logit and
thus not part of the system $PATH.  If a sysadmin or distro wants to
remove it from the system it's entirely possible since Finit always
checks for logit availability before attempting to use it.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2021-04-25 22:53:34 +02:00
parent e6f36974c8
commit 842b522e68
2 changed files with 1 additions and 13 deletions
+1 -4
View File
@@ -8,7 +8,7 @@ AM_LDFLAGS = -export-dynamic
endif
sbin_PROGRAMS = finit initctl
pkglibexec_PROGRAMS = sulogin
pkglibexec_PROGRAMS = logit sulogin
finit_pkglibdir = $(pkglibdir)
finit_pkglib_SCRIPTS = rescue.conf sample.conf
@@ -20,13 +20,10 @@ if WATCHDOGD
pkglibexec_PROGRAMS += watchdogd
endif
if LOGIT
pkglibexec_PROGRAMS += logit
logit_SOURCES = logit.c logrotate.c
logit_CFLAGS = -W -Wall -Wextra -Wno-unused-parameter -std=gnu99
logit_CFLAGS += $(lite_CFLAGS)
logit_LDADD = $(lite_LIBS)
endif
finit_SOURCES = api.c cgroup.c cgroup.h \
cond.c cond-w.c cond.h \