configure: Document --enable-logind behaviour correctly

The code does not enabled logind unconditionally by default.  Instead
configure checks for logind (libsystemd) availability and enables it
only if found.

Signed-off-by: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
This commit is contained in:
Evgeny Grin (Karlson2k) 2025-07-20 11:12:40 +02:00 committed by Alejandro Colomar
parent 1f617f8aa7
commit ccc40e7d72

View File

@ -153,7 +153,7 @@ AC_ARG_ENABLE([lastlog],
AC_ARG_ENABLE([logind],
[AS_HELP_STRING([--enable-logind],
[enable logind @<:@default=yes@:>@])],
[enable logind @<:@default=yes if found@:>@])],
[enable_logind="${enableval}"],
[enable_logind="yes"]
)