From 9ee956a2f7cfff3e6a6097851742411a50cd8606 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 17 Jul 2002 10:49:46 +0000 Subject: Use GNULIB_BOOT_TIME. --- configure.ac | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/configure.ac b/configure.ac index 9b4125df6..531a3aedd 100644 --- a/configure.ac +++ b/configure.ac @@ -172,31 +172,8 @@ if test -z "$have_ut_host"; then fi fi -AC_DEFUN(jm_BOOT_TIME, -[ - AC_CACHE_CHECK([whether we can get the system boot time], - su_cv_have_boot_time, - [ - AC_REQUIRE([jm_PREREQ_READUTMP]) - if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then - AC_EGREP_CPP(yes, - [#ifdef HAVE_UTMPX_H -#include -#else -#include -#endif -#ifdef BOOT_TIME -yes -#endif - ], su_cv_have_boot_time=yes, su_cv_have_boot_time=no) - else - su_cv_have_boot_time=no - fi - ]) - test "$su_cv_have_boot_time" = yes && - OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS uptime" -]) -jm_BOOT_TIME +GNULIB_BOOT_TIME( + [OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS uptime" MAN="$MAN uptime.1"]) AM_SYS_POSIX_TERMIOS jm_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL -- cgit v1.2.3-70-g09d2