diff options
author | Jim Meyering <jim@meyering.net> | 2002-07-17 10:49:46 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-07-17 10:49:46 +0000 |
commit | 9ee956a2f7cfff3e6a6097851742411a50cd8606 (patch) | |
tree | 019a31dfa2297e9cfdae1de773c209153f61836d | |
parent | 15b923a271eb54b7b07864b301a31d26f851f10b (diff) | |
download | coreutils-9ee956a2f7cfff3e6a6097851742411a50cd8606.tar.xz |
Use GNULIB_BOOT_TIME.
-rw-r--r-- | configure.ac | 27 |
1 files 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 <utmpx.h> -#else -#include <utmp.h> -#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 |