summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index dd3e16841..e9b2e69b0 100644
--- a/configure.in
+++ b/configure.in
@@ -325,6 +325,16 @@ AC_EGREP_HEADER(ut_id, utmp.h,
325 [AC_DEFINE(HAVE_ID_IN_UTMP) AC_MSG_RESULT(yes); ], 325 [AC_DEFINE(HAVE_ID_IN_UTMP) AC_MSG_RESULT(yes); ],
326 [AC_MSG_RESULT(no)] 326 [AC_MSG_RESULT(no)]
327) 327)
328AC_MSG_CHECKING([whether utmp.h has ut_addr field])
329AC_EGREP_HEADER(ut_addr, utmp.h,
330 [AC_DEFINE(HAVE_ADDR_IN_UTMP) AC_MSG_RESULT(yes); ],
331 [AC_MSG_RESULT(no)]
332)
333AC_MSG_CHECKING([whether utmpx.h has ut_addr field])
334AC_EGREP_HEADER(ut_addr, utmpx.h,
335 [AC_DEFINE(HAVE_ADDR_IN_UTMP) AC_MSG_RESULT(yes); ],
336 [AC_MSG_RESULT(no)]
337)
328 338
329dnl Look for lastlog location 339dnl Look for lastlog location
330AC_ARG_WITH(lastlog, 340AC_ARG_WITH(lastlog,