From d74a1b005ca09ea8ac08b3f9f16a5176e240ff28 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 10 Oct 2009 09:02:26 +0200 Subject: build: build uname(1) unconditionally Before, on a system without the uname function, the build system would detect that and not build/install a uname program. Now that gnulib guarantees a uname function, ... * configure.ac: Don't check for the uname function. * src/Makefile.am (build_if_possible__progs): Move uname... (EXTRA_PROGRAMS): ...to this list. --- configure.ac | 2 -- src/Makefile.am | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index fa82b4c09..4902fea67 100644 --- a/configure.ac +++ b/configure.ac @@ -118,8 +118,6 @@ fi AC_FUNC_FORK optional_bin_progs= -AC_CHECK_FUNCS([uname], - gl_ADD_PROG([optional_bin_progs], [uname])) AC_CHECK_FUNCS([chroot], gl_ADD_PROG([optional_bin_progs], [chroot])) AC_CHECK_FUNCS([gethostid], diff --git a/src/Makefile.am b/src/Makefile.am index 681c3939e..b4ff8dad6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -33,7 +33,6 @@ build_if_possible__progs = \ stdbuf \ stty \ su \ - uname \ uptime \ users \ who @@ -125,6 +124,7 @@ EXTRA_PROGRAMS = \ truncate \ tsort \ tty \ + uname \ unexpand \ uniq \ unlink \ -- cgit v1.2.3-54-g00ecf