From fba081f9238e93ad9383cd2c36d6e1b8ef1ad20c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 21 Aug 2007 10:34:33 +0200 Subject: 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. --- ChangeLog | 7 +++++++ NEWS | 4 ++++ configure.ac | 6 +++--- src/Makefile.am | 2 +- 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 + + 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 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 -- cgit v1.2.3-54-g00ecf