From 0e94296ac1e930cec0e5585686b8a2d3e18499c2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 27 May 2001 13:45:39 +0000 Subject: (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx. Check for ut_type in struct utmp. --- m4/prereq.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'm4') 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 ]) -- cgit v1.2.3-70-g09d2