From MAILER-DAEMON Fri Nov 11 15:53:40 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ROy6W-000374-8d
	for mharc-autoconf-commit@gnu.org; Fri, 11 Nov 2011 15:53:40 -0500
Received: from eggs.gnu.org ([140.186.70.92]:34079)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1ROy6T-00036Y-HR
	for autoconf-commit@gnu.org; Fri, 11 Nov 2011 15:53:38 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1ROy6R-0003HN-Bz
	for autoconf-commit@gnu.org; Fri, 11 Nov 2011 15:53:37 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:45319)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1ROy6R-0003HJ-AU
	for autoconf-commit@gnu.org; Fri, 11 Nov 2011 15:53:35 -0500
Received: from ericb by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1ROy6Q-0002No-V0
	for autoconf-commit@gnu.org; Fri, 11 Nov 2011 20:53:35 +0000
Date: Fri, 11 Nov 2011 20:53:34 +0000
Message-Id: <E1ROy6Q-0002No-V0@vcs.savannah.gnu.org>
From: "Eric Blake" <eblake@redhat.com>
To: autoconf-commit@gnu.org
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.68-98-g2f3cec7
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: bd962acf3e0a2d38c11d048c8c36d9b4305b8604
X-Git-Newrev: 2f3cec7dfc609308f645b593dc5e396f9f790f4d
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
X-BeenThere: autoconf-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: autoconf-patches@gnu.org
List-Id: Commits to the Autoconf git repository <autoconf-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf-commit>
List-Post: <mailto:autoconf-commit@gnu.org>
List-Help: <mailto:autoconf-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Nov 2011 20:53:38 -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=2f3cec7dfc609308f645b593dc5e396f9f790f4d

The branch, master has been updated
       via  2f3cec7dfc609308f645b593dc5e396f9f790f4d (commit)
      from  bd962acf3e0a2d38c11d048c8c36d9b4305b8604 (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 2f3cec7dfc609308f645b593dc5e396f9f790f4d
Author: Eric Blake <eblake@redhat.com>
Date:   Fri Nov 11 13:51:33 2011 -0700

    doc: mention export portability hint
    
    * doc/autoconf.texi (Limitations of Builtins) <export>: Document
    export limitation.
    Suggested by Bruno Haible.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>

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

Summary of changes:
 ChangeLog         |    7 +++++++
 doc/autoconf.texi |   14 ++++++++++++++
 2 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e51f7d7..72b1dbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-11-11  Eric Blake  <eblake@redhat.com>
+
+	doc: mention export portability hint
+	* doc/autoconf.texi (Limitations of Builtins) <export>: Document
+	export limitation.
+	Suggested by Bruno Haible.
+
 2011-10-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
 	fortran: define $GFC to "yes" if $FC is a GNU compiler
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index b6dc67b..417c432 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -17642,6 +17642,20 @@ $ @kbd{ash -c 'export foo; env | grep foo'}
 foo=
 @end example
 
+Posix requires @command{export} to honor assignments made as arguments,
+but older shells did not support this.  Portable scripts should separate
+assignments and exports into different statements (it does not matter if
+the export comes before or after the assignment).
+
+@example
+$ @kbd{bash -c 'export foo=bar; echo $foo'}
+bar
+$ @kbd{/bin/sh -c 'export foo=bar; echo $foo'}
+/bin/sh: foo=bar: is not an identifier
+$ @kbd{/bin/sh -c 'export foo; foo=bar; echo $foo'}
+bar
+@end example
+
 @item @command{false}
 @c ------------------
 @prindex @command{false}


hooks/post-receive
-- 
GNU Autoconf source repository


From MAILER-DAEMON Fri Nov 11 16:19:50 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ROyVq-0008Or-G4
	for mharc-autoconf-commit@gnu.org; Fri, 11 Nov 2011 16:19:50 -0500
Received: from eggs.gnu.org ([140.186.70.92]:42965)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1ROyVn-0008OM-M5
	for autoconf-commit@gnu.org; Fri, 11 Nov 2011 16:19:49 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1ROyVm-0006js-I6
	for autoconf-commit@gnu.org; Fri, 11 Nov 2011 16:19:47 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:47601)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1ROyVm-0006jo-G7
	for autoconf-commit@gnu.org; Fri, 11 Nov 2011 16:19:46 -0500
Received: from ericb by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1ROyVm-0006P3-10
	for autoconf-commit@gnu.org; Fri, 11 Nov 2011 21:19:46 +0000
Date: Fri, 11 Nov 2011 21:19:46 +0000
Message-Id: <E1ROyVm-0006P3-10@vcs.savannah.gnu.org>
From: "Eric Blake" <eblake@redhat.com>
To: autoconf-commit@gnu.org
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.68-99-g7aae67f
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 2f3cec7dfc609308f645b593dc5e396f9f790f4d
X-Git-Newrev: 7aae67fbef03c672a4880cf0a59b215a961c78d6
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
X-BeenThere: autoconf-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: autoconf-patches@gnu.org
List-Id: Commits to the Autoconf git repository <autoconf-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf-commit>
List-Post: <mailto:autoconf-commit@gnu.org>
List-Help: <mailto:autoconf-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Nov 2011 21:19: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=7aae67fbef03c672a4880cf0a59b215a961c78d6

The branch, master has been updated
       via  7aae67fbef03c672a4880cf0a59b215a961c78d6 (commit)
      from  2f3cec7dfc609308f645b593dc5e396f9f790f4d (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 7aae67fbef03c672a4880cf0a59b215a961c78d6
Author: Eric Blake <eblake@redhat.com>
Date:   Fri Nov 11 14:16:35 2011 -0700

    doc: tweak previous commit
    
    * doc/autoconf.texi (Limitations of Builtins) <export>: Give
    concrete example of offender, and drop redundant text.
    Reported by Stefano Lattarini.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>

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

Summary of changes:
 ChangeLog         |    5 +++++
 doc/autoconf.texi |    6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 72b1dbc..68dffef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-11-11  Eric Blake  <eblake@redhat.com>
 
+	doc: tweak previous commit
+	* doc/autoconf.texi (Limitations of Builtins) <export>: Give
+	concrete example of offender, and drop redundant text.
+	Reported by Stefano Lattarini.
+
 	doc: mention export portability hint
 	* doc/autoconf.texi (Limitations of Builtins) <export>: Document
 	export limitation.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 417c432..0569a27 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -17643,9 +17643,9 @@ foo=
 @end example
 
 Posix requires @command{export} to honor assignments made as arguments,
-but older shells did not support this.  Portable scripts should separate
-assignments and exports into different statements (it does not matter if
-the export comes before or after the assignment).
+but older shells do not support this, including @command{/bin/sh} in
+Solaris 10.  Portable scripts should separate assignments and exports
+into different statements.
 
 @example
 $ @kbd{bash -c 'export foo=bar; echo $foo'}


hooks/post-receive
-- 
GNU Autoconf source repository


