12
12
AC_CHECK_HEADERS_ONCE([utmp.h utmpx.h])
13
13
if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then
14
14
dnl Prerequisites of lib/readutmp.h and lib/readutmp.c.
16
15
AC_CHECK_FUNCS_ONCE([utmpname utmpxname])
17
16
AC_CHECK_DECLS([getutent],,,[[
18
17
/* <sys/types.h> is a prerequisite of <utmp.h> on FreeBSD 8.0, OpenBSD 4.6. */