summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-28 10:41:12 +1100
committerDamien Miller <djm@mindrot.org>1999-12-28 10:41:12 +1100
commit4ff2b9bf429f40cb4d8119108cd7c4aa76c081ee (patch)
tree1d5585780b56b4296c8dfa43caf69fa0a1b96523 /configure.in
parent13bc0be2b65b65ab7ac020bbd0a772ed3abe1738 (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.in15
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)
267AC_MSG_CHECKING([whether utmp.h has ut_pid field])
268AC_EGREP_HEADER(ut_pid, utmp.h,
269 [AC_DEFINE(HAVE_PID_IN_UTMP) AC_MSG_RESULT(yes); ],
270 [AC_MSG_RESULT(no)]
271)
272AC_MSG_CHECKING([whether utmp.h has ut_type field])
273AC_EGREP_HEADER(ut_type, utmp.h,
274 [AC_DEFINE(HAVE_TYPE_IN_UTMP) AC_MSG_RESULT(yes); ],
275 [AC_MSG_RESULT(no)]
276)
277AC_MSG_CHECKING([whether utmp.h has ut_tv field])
278AC_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
268dnl Look for lastlog location 283dnl Look for lastlog location
269AC_ARG_WITH(lastlog, 284AC_ARG_WITH(lastlog,