diff options
author | Dmitry V. Levin <ldv@strace.io> | 2024-08-08 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-08-13 08:00:00 +0000 |
commit | 7ff048524c4a3d24d92848916225d0e95a7677f7 (patch) | |
tree | 43cb27a5927e06dc6b549219d4fc7c456f1e7116 /configure.ac | |
parent | 83c344ee5a5eb4796e435bce897b83cae3465243 (diff) | |
download | pam-7ff048524c4a3d24d92848916225d0e95a7677f7.tar.gz pam-7ff048524c4a3d24d92848916225d0e95a7677f7.tar.bz2 pam-7ff048524c4a3d24d92848916225d0e95a7677f7.zip |
configure.ac: do not check for lastlog.h, utmp.h, and utmpx.h
Given that utmp.h is included unconditionally in other modules,
and neither utmpx.h nor lastlog.h is used nowadays, remove obsolete
checks.
* configure.ac (AC_CHECK_HEADERS): Remove lastlog.h, utmp.h, and utmpx.h.
* modules/pam_lastlog/pam_lastlog.c: Include <utmp.h> unconditionally.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index d7d440e7..7565f024 100644 --- a/configure.ac +++ b/configure.ac @@ -650,9 +650,6 @@ dnl Checks for header files. AC_HEADER_DIRENT AC_HEADER_SYS_WAIT -dnl For module/pam_lastlog -AC_CHECK_HEADERS(lastlog.h utmp.h utmpx.h) - dnl Checks for typedefs, structures, and compiler characteristics. AC_C_BIGENDIAN AC_C_CONST |