summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-04-16 10:43:00 +0000
committerJim Meyering <jim@meyering.net>2002-04-16 10:43:00 +0000
commita9ecff59e4da88a3c5ee5b093fbb77b79cca3fa2 (patch)
tree91a78f28329b5bf2eb167c6b04270efd674f1622 /m4
parentb1f44ffb396fa289fee62fe17a47b5f37d1250ea (diff)
downloadcoreutils-a9ecff59e4da88a3c5ee5b093fbb77b79cca3fa2.tar.xz
(jm_PREREQ_READUTMP): Also check for these members: ut_pid, ut_id, ut_exit.
Diffstat (limited to 'm4')
-rw-r--r--m4/prereq.m48
1 files changed, 7 insertions, 1 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index 9a73829cc..9059452c6 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -1,4 +1,4 @@
-#serial 22
+#serial 23
dnl These are the prerequisite macros for files in the lib/
dnl directories of the fileutils, sh-utils, and textutils packages.
@@ -133,6 +133,12 @@ $ac_includes_default
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_CHECK_MEMBERS([struct utmpx.ut_pid],,,[$utmp_includes])
+ AC_CHECK_MEMBERS([struct utmp.ut_pid],,,[$utmp_includes])
+ AC_CHECK_MEMBERS([struct utmpx.ut_id],,,[$utmp_includes])
+ AC_CHECK_MEMBERS([struct utmp.ut_id],,,[$utmp_includes])
+ AC_CHECK_MEMBERS([struct utmpx.ut_exit],,,[$utmp_includes])
+ AC_CHECK_MEMBERS([struct utmp.ut_exit],,,[$utmp_includes])
AC_LIBOBJ(readutmp)
fi
])