From ecc809f3f0fe8471956e9ab39dce123bf9c029fb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 27 May 2001 13:45:39 +0000 Subject: [PATCH] (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(-) diff --git a/m4/prereq.m4 b/m4/prereq.m4 index e6979b460c..cfa5aad05a 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 ]) -- 2.30.2