[SCM] GNU Autoconf source repository branch, master, updated. v2.67-49-g4416ea8

"Eric Blake" <[email protected]> Tue, 07 Sep 2010 19:53:38 +0000
Newsgroups gmane.comp.sysutils.autoconf.cvs
Message-ID <[email protected]>
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=4416ea8d259ded79b03877ad41b2ec23b10e3f70

The branch, master has been updated
       via  4416ea8d259ded79b03877ad41b2ec23b10e3f70 (commit)
      from  d46804252a9f00b94f22a185811301331064805c (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 4416ea8d259ded79b03877ad41b2ec23b10e3f70
Author: Eric Blake <[email protected]>
Date:   Tue Sep 7 13:49:03 2010 -0600

    docs: mention bash vs. POSIXLY_CORRECT
    
    * doc/autoconf.texi (Special Shell Variables) <POSIXLY_CORRECT>:
    Document bash behavior.
    * THANKS: Update.
    Reported by Dustin J. Mitchell, via bug-gnulib list.
    
    Signed-off-by: Eric Blake <[email protected]>

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

Summary of changes:
 ChangeLog         |    6 ++++++
 THANKS            |    1 +
 doc/autoconf.texi |   18 ++++++++++++++++++
 3 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d43f681..73be221 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-09-07  Eric Blake  <[email protected]>
 
+	docs: mention bash vs. POSIXLY_CORRECT
+	* doc/autoconf.texi (Special Shell Variables) <POSIXLY_CORRECT>:
+	Document bash behavior.
+	* THANKS: Update.
+	Reported by Dustin J. Mitchell, via bug-gnulib list.
+
 	docs: enhance recommendations on test usage
 	* doc/autoconf.texi (Limitations of Builtins) <test (strings)>:
 	Mention yet another Solaris issue.
diff --git a/THANKS b/THANKS
index 748c4e4..675d6d9 100644
--- a/THANKS
+++ b/THANKS
@@ -113,6 +113,7 @@ Dietmar P. Schindler        [email protected]
 Dmitry Grebeniuk            [email protected]
 Doug Evans                  [email protected]
 Dries Kimpe                 ?
+Dustin J. Mitchell          [email protected]
 Edouard Bechetoille         [email protected]
 Elbert Pol                  [email protected]
 Eli Zaretskii               [email protected]
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 4d62bf3..15639d9 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -16416,6 +16416,24 @@ separator Bash uses to set up certain environment variables (such as
 if you plan to use non-Posix shells to execute files.  @xref{File System
 Conventions}, for more information about @code{PATH_SEPARATOR}.
 
+@item POSIXLY_CORRECT
+@evindex POSIXLY_CORRECT
+In the GNU environment, exporting @env{POSIXLY_CORRECT} with any value
+(even empty) causes programs to try harder to conform to Posix.
+Autoconf does not directly manipulate this variable, but @command{bash}
+ties the shell variable @env{POSIXLY_CORRECT} to whether the script is
+running in Posix mode.  Therefore, take care when exporting or unsetting
+this variable, so as not to change whether @command{bash} is in Posix
+mode.
+
+@example
+$ @kbd{bash --posix -c 'set -o | grep posix}
+> @kbd{unset POSIXLY_CORRECT}
+> @kbd{set -o | grep posix'}
+posix           on
+posix           off
+@end example
+
 @item PWD
 @evindex PWD
 Posix 1003.1-2001 requires that @command{cd} and


hooks/post-receive
-- 
GNU Autoconf source repository