summaryrefslogtreecommitdiff
path: root/m4/boottime.m4
AgeCommit message (Collapse)Author
2006-08-22BeOS portability.Paul Eggert
* src/uptime.c: Include OS.h if it exists. (print_uptime): On BeOS, use the get_system_info function (actually a macro). Loop through utmp entries only if utmp.h or utmpx.h exists. (uptime): Call read_utmp only if utmp.h or utmpx.h exists. * m4/boottime.m4 (GNULIB_BOOT_TIME): Test also for utmp.h, utmpx.h, OS.h. Don't require to have utmp.h or utmpx.h. Enable boottime support if <OS.h> is found.
2005-05-14Update FSF postal mail address.Jim Meyering
2004-08-04Add copyright notice.Paul Eggert
(GNULIB_BOOT_TIME): Include sys/param.h before testing for sys/sysctl.h; needed for OpenBSD 3.4.
2002-07-17New file. Extracted from sh-utils' configure.acJim Meyering
and extended to work also with *BSD systems.