By default, do not install hostname anymore.
authorJim Meyering <jim@meyering.net>
Tue, 21 Aug 2007 08:34:33 +0000 (10:34 +0200)
committerJim Meyering <jim@meyering.net>
Tue, 21 Aug 2007 08:36:05 +0000 (10:36 +0200)
* configure.ac: Add "hostname" to the list of not-installed programs.
* src/Makefile.am (no_install__progs): Add "hostname" here, too.
* NEWS: Mention this.

ChangeLog
NEWS
configure.ac
src/Makefile.am

index 291b9f3..6590c15 100644 (file)
--- 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 225697d..c548c0b 100644 (file)
--- 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
index 60ce526..0e49370 100644 (file)
@@ -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.
index 6e79455..7e481ad 100644 (file)
@@ -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