autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.61a-357


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.61a-357-g52a9605
Date: Fri, 08 Feb 2008 15:18:49 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=52a96052723ca134505eb915f0546e3e84ca6444

The branch, master has been updated
       via  52a96052723ca134505eb915f0546e3e84ca6444 (commit)
      from  8957ad82aac501fcc5b25216edce2fe44c04c667 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 52a96052723ca134505eb915f0546e3e84ca6444
Author: Eric Blake <address@hidden>
Date:   Fri Feb 8 08:13:27 2008 -0700

    Describe a config.site that can be used for FHS compliance.
    
    * doc/autoconf.texi (Site Defaults): Fix typo.  Add new example
    for FHS.
    * THANKS: Update.
    Reported by Jules Colding and Ralf Wildenhues.
    
    Signed-off-by: Eric Blake <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    8 ++++++++
 THANKS            |    1 +
 doc/autoconf.texi |   24 ++++++++++++++++++++++--
 3 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b61b26c..a003d47 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-02-08  Eric Blake  <address@hidden>
+
+       Describe a config.site that can be used for FHS compliance.
+       * doc/autoconf.texi (Site Defaults): Fix typo.  Add new example
+       for FHS.
+       * THANKS: Update.
+       Reported by Jules Colding and Ralf Wildenhues.
+
 2008-02-02  Eric Blake  <address@hidden>
 
        * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Fix typo.
diff --git a/THANKS b/THANKS
index 6e5ca5b..8d83bbd 100644
--- a/THANKS
+++ b/THANKS
@@ -165,6 +165,7 @@ John Interrante             address@hidden
 John W. Eaton               address@hidden
 Jonathan Kamens             address@hidden
 Joseph S. Myers             address@hidden
+Jules Colding               address@hidden
 Julian Onions               address@hidden
 Julien Danjou               address@hidden
 Julio Garvia                ?
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 395b2c1..b0668a8 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -17865,8 +17865,8 @@ file (if @code{CONFIG_SITE} is not set to a different 
file).
 # Change some defaults.
 test "$prefix" = NONE && prefix=/usr/share/local/gnu
 test "$exec_prefix" = NONE && exec_prefix=/usr/local/gnu
-test "$sharedstatedir" = '$prefix/com' && sharedstatedir=/var
-test "$localstatedir" = '$prefix/var' && localstatedir=/var
+test "$sharedstatedir" = '${prefix}/com' && sharedstatedir=/var
+test "$localstatedir" = '${prefix}/var' && localstatedir=/var
 
 # Give Autoconf 2.x generated configure scripts a shared default
 # cache file for feature test results, architecture-specific.
@@ -17877,6 +17877,26 @@ if test "$cache_file" = /dev/null; then
 fi
 @end example
 
address@hidden Filesystem Hierarchy Standard
address@hidden FHS
+
+Another use of @file{config.site} is for priming the directory variables
+in a manner consistent with the Filesystem Hierarchy Standard
+(@acronym{FHS}).  Once the following file is installed at
address@hidden/usr/share/config.site}, a user can execute simply
address@hidden/configure --prefix=/usr} to get all the directories chosen in
+the locations recommended by @acronym{FHS}.
+
address@hidden
+# /usr/local/config.site for FHS defaults when installing below /usr,
+# and the respective settings were not changed on the command line.
+if test "$prefix" = /usr; then
+  test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc
+  test "$sharedstatedir" = '${prefix}/com' && sharedstatedir=/var
+  test "$localstatedir" = '${prefix}/var' && localstatedir=/var
+fi
address@hidden example
+
 
 @c ============================================== Running configure Scripts.
 


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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