]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
configure.ac: stop checking for utmp location
authorChris Hofstaedtler <zeha@debian.org>
Mon, 24 Feb 2025 22:48:28 +0000 (23:48 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 25 Feb 2025 19:01:37 +0000 (20:01 +0100)
Nothing seems to use it.

Signed-off-by: Chris Hofstaedtler <zeha@debian.org>
Reviewed-by: Alejandro Colomar <alx@kernel.org>
configure.ac

index 36c57d8e349c70d290a2051fe670c97f4d74c572..403f3abc7e52c914171c165ee47d9bdc0b74db4f 100644 (file)
@@ -90,18 +90,6 @@ if test $shadow_cv_mailfile != none; then
                [Name of user's mail spool file if stored in user's home directory.])
 fi
 
-AC_CACHE_CHECK([location of utmp], shadow_cv_utmpdir,
-[for shadow_cv_utmpdir in /var/run /var/adm /usr/adm /etc none; do
-       if test -f $shadow_cv_utmpdir/utmp; then
-               break
-       fi
-done])
-if test "$shadow_cv_utmpdir" = "none"; then
-       AC_MSG_WARN(utmp file not found)
-fi
-AC_DEFINE_UNQUOTED(_UTMP_FILE, "$shadow_cv_utmpdir/utmp",
-       [Path for utmp file.])
-
 AC_CACHE_CHECK([location of faillog/lastlog/wtmp], shadow_cv_logdir,
 [for shadow_cv_logdir in /var/log /var/adm /usr/adm /etc; do
        if test -d $shadow_cv_logdir; then