summaryrefslogtreecommitdiff
path: root/m4/prereq.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-05-27 13:45:39 +0000
committerJim Meyering <jim@meyering.net>2001-05-27 13:45:39 +0000
commit0e94296ac1e930cec0e5585686b8a2d3e18499c2 (patch)
tree8c05fecf6b1669229df93f70e6e211c378e17ad3 /m4/prereq.m4
parenta99fb13160bd29e78e0ca6ac486e55bda33a3c70 (diff)
downloadcoreutils-0e94296ac1e930cec0e5585686b8a2d3e18499c2.tar.xz
(jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
Check for ut_type in struct utmp.
Diffstat (limited to 'm4/prereq.m4')
-rw-r--r--m4/prereq.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index e6979b460..cfa5aad05 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -1,4 +1,4 @@
-#serial 18
+#serial 19
dnl These are the prerequisite macros for files in the lib/
dnl directories of the fileutils, sh-utils, and textutils packages.
@@ -109,6 +109,8 @@ $ac_includes_default
AC_CHECK_MEMBERS([struct utmp.ut_user],,,[$utmp_includes])
AC_CHECK_MEMBERS([struct utmpx.ut_name],,,[$utmp_includes])
AC_CHECK_MEMBERS([struct utmp.ut_name],,,[$utmp_includes])
+ AC_CHECK_MEMBERS([struct utmpx.ut_type],,,[$utmp_includes])
+ AC_CHECK_MEMBERS([struct utmp.ut_type],,,[$utmp_includes])
AC_LIBOBJ(readutmp)
fi
])