build: build uname(1) unconditionally
authorJim Meyering <meyering@redhat.com>
Sat, 10 Oct 2009 07:02:26 +0000 (09:02 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 10 Oct 2009 07:03:15 +0000 (09:03 +0200)
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
src/Makefile.am

index fa82b4c..4902fea 100644 (file)
@@ -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],
index 681c393..b4ff8da 100644 (file)
@@ -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       \