]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build-sys: disable login-utils if shadow.h or utmp.h is missing
authorRuediger Meier <ruediger.meier@ga-group.nl>
Tue, 23 Feb 2016 22:15:35 +0000 (23:15 +0100)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Mon, 29 Feb 2016 12:05:08 +0000 (13:05 +0100)
commitd00c10edb87e71e184c7724ed0b6d86abc42e753
tree88bc559bb5efc1223de9a314efafc18eb94aa8a1
parenta365953a247cf4d00cde52a7b19faf977ae95cc4
build-sys: disable login-utils if shadow.h or utmp.h is missing

Actually we could have also used UL_REQUIRES_LINUX because our
utmp usage and the shadow.h header is unlikely to be portable.
However only requiring these headers may help others who are
curious what needs to be done to port something.

Note, we could easily make the utmp stuff more portable by using
utmpx which is POSIX standard and on LINUX (glibc) basically just
renaming work. See getutxent(3).

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
configure.ac