summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-08-21 10:34:33 +0200
committerJim Meyering <jim@meyering.net>2007-08-21 10:36:05 +0200
commitfba081f9238e93ad9383cd2c36d6e1b8ef1ad20c (patch)
treecf4e9d84cb217480a0fc28ffac486d35a04e41e3
parent741f851bf61c884ea41eaee2c1a90d4cab99776f (diff)
downloadcoreutils-fba081f9238e93ad9383cd2c36d6e1b8ef1ad20c.tar.xz
By default, do not install hostname anymore.
* configure.ac: Add "hostname" to the list of not-installed programs. * src/Makefile.am (no_install__progs): Add "hostname" here, too. * NEWS: Mention this.
-rw-r--r--ChangeLog7
-rw-r--r--NEWS4
-rw-r--r--configure.ac6
-rw-r--r--src/Makefile.am2
4 files changed, 15 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 291b9f307..6590c151a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-21 Jim Meyering <jim@meyering.net>
+
+ By default, do not install hostname anymore.
+ * configure.ac: Add "hostname" to the list of not-installed programs.
+ * src/Makefile.am (no_install__progs): Add "hostname" here, too.
+ * NEWS: Mention this.
+
2007-08-20 Bob Proulx <bob@proulx.com>
Clarify touch documentation of file arguments.
diff --git a/NEWS b/NEWS
index 225697dc5..c548c0b1b 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,10 @@ GNU coreutils NEWS -*- outline -*-
arch: equivalent to uname -m, not installed by default
But don't install this program on Solaris systems.
+** Programs no longer installed by default
+
+ hostname, su
+
** Changes in behavior
pr -F no longer suppresses the footer or the first two blank lines in
diff --git a/configure.ac b/configure.ac
index 60ce526dc..0e49370de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -268,8 +268,8 @@ t=`sed -n '/^'$v' =/,/[[^\]]$/p' $mk \
# Remove any trailing space.
no_install_progs_default=`echo "$t"|sed 's/ $//'`
-# Unfortunately, due to the way autoconf's AS_HELP_STRING works, the
-# list of default-not-installed programs, "arch su", must appear in two
+# Unfortunately, due to the way autoconf's AS_HELP_STRING works, the list
+# of default-not-installed programs, "arch hostname su", must appear in two
# places: in this file below, and in $mk. Using "$no_install_progs_default"
# below cannot work. And we can't substitute the names into $mk because
# automake needs the literals, too.
@@ -291,7 +291,7 @@ esac
# "don't-install" requests.
# I.e., add any program name specified via --enable-install-program=..., and
# remove any program name specified via --enable-no-install-program=...
-gl_INCLUDE_EXCLUDE_PROG([optional_bin_progs], [arch su])
+gl_INCLUDE_EXCLUDE_PROG([optional_bin_progs], [arch hostname su])
# Set INSTALL_SU if su installation has been requested via
# --enable-install-program=su.
diff --git a/src/Makefile.am b/src/Makefile.am
index 6e794552a..7e481adef 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,7 +21,7 @@
# Hence, if you want to install programs from this list anyway, say A and B,
# use --enable-install-program=A,B
no_install__progs = \
- arch su
+ arch hostname su
build_if_possible__progs = \
chroot df hostid nice pinky stty su uname uptime users who