]> git.ipfire.org Git - thirdparty/shadow.git/commit
configure.ac: Make sure that logind is enabled if requested, make --enable-logind...
authorEvgeny Grin (Karlson2k) <k2k@drgrin.dev>
Thu, 10 Jul 2025 16:38:48 +0000 (18:38 +0200)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Sat, 2 Aug 2025 10:09:13 +0000 (12:09 +0200)
commit324d070ff853b6c283a57b99c376a4d02fade36f
treed24cee35f302a433e8e4d78941920f3a052e7011
parent048083ab924be18467a734d3cd71f37673c49651
configure.ac: Make sure that logind is enabled if requested, make --enable-logind default

Before this commit, if configured with --enable-logind, but libsystemd
is not found, configure silently succeed, however logind is efficiently
disabled.
With this commit, the configure fails if logind is not explicitly
disabled and libsystemd is not found.
--disable-logind is mandatory if logind integration should not be used.

Automatic detection is disabled by Alejandro Colomar's request.
Extra help in the error message is added by lslebodn's request.

Signed-off-by: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
.github/actions/install-dependencies/action.yml
.github/workflows/runner.yml
Makefile.am
autogen.sh
configure.ac