]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
configure: Document --enable-logind behaviour correctly
authorEvgeny Grin (Karlson2k) <k2k@drgrin.dev>
Sun, 20 Jul 2025 09:12:40 +0000 (11:12 +0200)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Sat, 2 Aug 2025 10:09:13 +0000 (12:09 +0200)
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>
configure.ac

index f332c37e45e6aa57e1491cff6ebd63b169d196bc..72f96d2c580a9e52fcc9e90fb5114f2c26b231ba 100644 (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"]
 )