bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI, no longer install hostname, by default


From: Jim Meyering
Subject: FYI, no longer install hostname, by default
Date: Tue, 21 Aug 2007 10:37:28 +0200

diff --git a/ChangeLog b/ChangeLog
index 291b9f3..6590c15 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-21  Jim Meyering  <address@hidden>
+
+       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  <address@hidden>

        Clarify touch documentation of file arguments.
diff --git a/NEWS b/NEWS
index 225697d..c548c0b 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 60ce526..0e49370 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 6e79455..7e481ad 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
--
1.5.3.rc5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]