(jm_PREREQ_READUTMP): Also check for these members: ut_pid, ut_id, ut_exit.
authorJim Meyering <jim@meyering.net>
Tue, 16 Apr 2002 10:43:00 +0000 (10:43 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 16 Apr 2002 10:43:00 +0000 (10:43 +0000)
m4/prereq.m4

index 9a73829..9059452 100644 (file)
@@ -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
 ])