diff options
author | Damien Miller <djm@mindrot.org> | 1999-12-31 09:42:24 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-12-31 09:42:24 +1100 |
commit | 3131d8bc717b2fad9b5e13a1ac1b1c1b726b3dd4 (patch) | |
tree | e9376356591e18fa49588564f5167107afea7654 /configure.in | |
parent | b2532b3be4133d2ea7bf6acaf2b0edb8217d356e (diff) |
- Fill in ut_utaddr utmp field. Report from Benjamin Charron
<iretd@bigfoot.com>
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 dd3e1684..e9b2e69b 100644 --- a/configure.in +++ b/configure.in @@ -325,6 +325,16 @@ AC_EGREP_HEADER(ut_id, utmp.h, [AC_DEFINE(HAVE_ID_IN_UTMP) AC_MSG_RESULT(yes); ], [AC_MSG_RESULT(no)] ) +AC_MSG_CHECKING([whether utmp.h has ut_addr field]) +AC_EGREP_HEADER(ut_addr, utmp.h, + [AC_DEFINE(HAVE_ADDR_IN_UTMP) AC_MSG_RESULT(yes); ], + [AC_MSG_RESULT(no)] +) +AC_MSG_CHECKING([whether utmpx.h has ut_addr field]) +AC_EGREP_HEADER(ut_addr, utmpx.h, + [AC_DEFINE(HAVE_ADDR_IN_UTMP) AC_MSG_RESULT(yes); ], + [AC_MSG_RESULT(no)] +) dnl Look for lastlog location AC_ARG_WITH(lastlog, |