diff options
author | Jim Meyering <jim@meyering.net> | 2002-07-27 21:39:00 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-07-27 21:39:00 +0000 |
commit | 37a7d1433c518577fed23ecc81efe1a57950fc70 (patch) | |
tree | b810f82427e51488e3ce89c58b9fa6f5be1be279 /m4 | |
parent | 598ed91d6212777a337bce291a63b323c729f24f (diff) | |
download | coreutils-37a7d1433c518577fed23ecc81efe1a57950fc70.tar.xz |
(jm_PREREQ_READUTMP): Don't check just
`struct utmpx.ut_exit' and `struct utmp.ut_exit'. Instead, check
all combinations of utmp/utmpx and ut_termination/e_termination
and ut_exit/e_exit.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/prereq.m4 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4 index 37960793c..25931b94c 100644 --- a/m4/prereq.m4 +++ b/m4/prereq.m4 @@ -149,8 +149,16 @@ $ac_includes_default 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_CHECK_MEMBERS([struct utmpx.ut_exit.ut_exit],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmp.ut_exit.ut_exit],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmpx.ut_exit.e_exit],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmp.ut_exit.e_exit],,,[$utmp_includes]) + + AC_CHECK_MEMBERS([struct utmpx.ut_exit.ut_termination],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmp.ut_exit.ut_termination],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmpx.ut_exit.e_termination],,,[$utmp_includes]) + AC_CHECK_MEMBERS([struct utmp.ut_exit.e_termination],,,[$utmp_includes]) AC_LIBOBJ(readutmp) fi ]) |