diff options
author | Damien Miller <djm@mindrot.org> | 1999-12-28 10:41:12 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-12-28 10:41:12 +1100 |
commit | 4ff2b9bf429f40cb4d8119108cd7c4aa76c081ee (patch) | |
tree | 1d5585780b56b4296c8dfa43caf69fa0a1b96523 /configure.in | |
parent | 13bc0be2b65b65ab7ac020bbd0a772ed3abe1738 (diff) |
- NetBSD login.c compile fix from David Rankin
<drankin@bohemians.lexington.ky.us>
- Fully set ut_tv if present in utmp or utmpx
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 57b08a421..6fb5d63c6 100644 --- a/configure.in +++ b/configure.in | |||
@@ -264,6 +264,21 @@ AC_EGREP_HEADER(syslen, utmpx.h, | |||
264 | [AC_DEFINE(HAVE_SYSLEN_IN_UTMPX) AC_MSG_RESULT(yes); ], | 264 | [AC_DEFINE(HAVE_SYSLEN_IN_UTMPX) AC_MSG_RESULT(yes); ], |
265 | [AC_MSG_RESULT(no)] | 265 | [AC_MSG_RESULT(no)] |
266 | ) | 266 | ) |
267 | AC_MSG_CHECKING([whether utmp.h has ut_pid field]) | ||
268 | AC_EGREP_HEADER(ut_pid, utmp.h, | ||
269 | [AC_DEFINE(HAVE_PID_IN_UTMP) AC_MSG_RESULT(yes); ], | ||
270 | [AC_MSG_RESULT(no)] | ||
271 | ) | ||
272 | AC_MSG_CHECKING([whether utmp.h has ut_type field]) | ||
273 | AC_EGREP_HEADER(ut_type, utmp.h, | ||
274 | [AC_DEFINE(HAVE_TYPE_IN_UTMP) AC_MSG_RESULT(yes); ], | ||
275 | [AC_MSG_RESULT(no)] | ||
276 | ) | ||
277 | AC_MSG_CHECKING([whether utmp.h has ut_tv field]) | ||
278 | AC_EGREP_HEADER(ut_tv, utmp.h, | ||
279 | [AC_DEFINE(HAVE_TV_IN_UTMP) AC_MSG_RESULT(yes); ], | ||
280 | [AC_MSG_RESULT(no)] | ||
281 | ) | ||
267 | 282 | ||
268 | dnl Look for lastlog location | 283 | dnl Look for lastlog location |
269 | AC_ARG_WITH(lastlog, | 284 | AC_ARG_WITH(lastlog, |