From: Jim Meyering Date: Sat, 10 Oct 2009 07:02:26 +0000 (+0200) Subject: build: build uname(1) unconditionally X-Git-Tag: v8.1~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d74a1b005ca09ea8ac08b3f9f16a5176e240ff28;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/configure.ac b/configure.ac index fa82b4c09e..4902fea679 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 681c3939e0..b4ff8dad6c 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 \