diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
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 | ) |
328 | AC_MSG_CHECKING([whether utmp.h has ut_addr field]) | ||
329 | AC_EGREP_HEADER(ut_addr, utmp.h, | ||
330 | [AC_DEFINE(HAVE_ADDR_IN_UTMP) AC_MSG_RESULT(yes); ], | ||
331 | [AC_MSG_RESULT(no)] | ||
332 | ) | ||
333 | AC_MSG_CHECKING([whether utmpx.h has ut_addr field]) | ||
334 | AC_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 | ||
329 | dnl Look for lastlog location | 339 | dnl Look for lastlog location |
330 | AC_ARG_WITH(lastlog, | 340 | AC_ARG_WITH(lastlog, |