summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-10-10 09:02:26 +0200
committerJim Meyering <meyering@redhat.com>2009-10-10 09:03:15 +0200
commitd74a1b005ca09ea8ac08b3f9f16a5176e240ff28 (patch)
treedb04f65a36e9138f9161c08c9ce0050690480d31
parent4f1a3eda10608fe444e199477e730d434579f0f7 (diff)
downloadcoreutils-d74a1b005ca09ea8ac08b3f9f16a5176e240ff28.tar.xz
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.
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.am2
2 files changed, 1 insertions, 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 \