From MAILER-DAEMON Wed Apr 11 08:42:10 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SHwsE-0004N1-6K
	for mharc-autoconf-commit@gnu.org; Wed, 11 Apr 2012 08:42:10 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48874)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SHws2-0003qV-G2
	for autoconf-commit@gnu.org; Wed, 11 Apr 2012 08:42:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SHwm4-00065q-Nd
	for autoconf-commit@gnu.org; Wed, 11 Apr 2012 08:35:54 -0400
Received: from vcs.savannah.gnu.org ([140.186.70.72]:44182)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SHwm4-00065j-Kb
	for autoconf-commit@gnu.org; Wed, 11 Apr 2012 08:35:48 -0400
Received: from meyering by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SHwlh-0006kt-9T
	for autoconf-commit@gnu.org; Wed, 11 Apr 2012 12:35:37 +0000
Date: Wed, 11 Apr 2012 12:35:28 +0000
Message-Id: <E1SHwlh-0006kt-9T@vcs.savannah.gnu.org>
From: "Jim Meyering" <meyering@redhat.com>
To: autoconf-commit@gnu.org
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.68b-19-geaa96cb
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 0db9c1a19fbbdbf8728ec8d9c5a020d070ec23b2
X-Git-Newrev: eaa96cb8bd6dca5317329b6682df91dfda286d06
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: Wed, 11 Apr 2012 12:42:08 -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=eaa96cb8bd6dca5317329b6682df91dfda286d06

The branch, master has been updated
       via  eaa96cb8bd6dca5317329b6682df91dfda286d06 (commit)
      from  0db9c1a19fbbdbf8728ec8d9c5a020d070ec23b2 (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 eaa96cb8bd6dca5317329b6682df91dfda286d06
Author: Jim Meyering <meyering@redhat.com>
Date:   Wed Apr 11 12:05:38 2012 +0200

    maint: avoid "make syntax-check" failure
    
    * cfg.mk (old_NEWS_hash): Update to reflect typo fix in old news.

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

Summary of changes:
 cfg.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index 41b5cbe..3febab0 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -127,7 +127,7 @@ update-copyright-env = \
   UPDATE_COPYRIGHT_MAX_LINE_LENGTH=72
 
 # Prevent incorrect NEWS edits.
-old_NEWS_hash = d10ae7f49f642a6dc120c135ff4844ff
+old_NEWS_hash = 54ad39275441a2a3fcbe6182da4f84fb
 
 exclude_file_name_regexp--sc_prohibit_undesirable_word_seq = ^maint\.mk$$
 exclude_file_name_regexp--sc_prohibit_test_minus_ao = \


hooks/post-receive
-- 
GNU Autoconf source repository


From MAILER-DAEMON Mon Apr 23 13:30:49 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SMN69-0001Uc-52
	for mharc-autoconf-commit@gnu.org; Mon, 23 Apr 2012 13:30:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55558)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMN5y-0001TT-UP
	for autoconf-commit@gnu.org; Mon, 23 Apr 2012 13:30:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMN5w-0002fH-U2
	for autoconf-commit@gnu.org; Mon, 23 Apr 2012 13:30:38 -0400
Received: from vcs.savannah.gnu.org ([140.186.70.72]:32989)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMN5w-0002fC-QZ
	for autoconf-commit@gnu.org; Mon, 23 Apr 2012 13:30:36 -0400
Received: from eggert by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMN5w-0006Wd-6w
	for autoconf-commit@gnu.org; Mon, 23 Apr 2012 17:30:36 +0000
Date: Mon, 23 Apr 2012 17:30:36 +0000
Message-Id: <E1SMN5w-0006Wd-6w@vcs.savannah.gnu.org>
From: "Paul Eggert" <eggert@cs.ucla.edu>
To: autoconf-commit@gnu.org
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.68b-20-ged96f65
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: eaa96cb8bd6dca5317329b6682df91dfda286d06
X-Git-Newrev: ed96f6541caacbc35cd8fca6444d04b40bba9b1a
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: Mon, 23 Apr 2012 17:30:47 -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=ed96f6541caacbc35cd8fca6444d04b40bba9b1a

The branch, master has been updated
       via  ed96f6541caacbc35cd8fca6444d04b40bba9b1a (commit)
      from  eaa96cb8bd6dca5317329b6682df91dfda286d06 (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 ed96f6541caacbc35cd8fca6444d04b40bba9b1a
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Mon Apr 23 10:30:05 2012 -0700

    doc: document --build and cross-compilation better
    
    * doc/autoconf.texi (Specifying Target Triplets): Mention that
    specifying a build-type that differs from host-type enables
    cross-compilation.  Problem reported by Bruno Haible in:
    http://lists.gnu.org/archive/html/autoconf-patches/2012-04/msg00009.html

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

Summary of changes:
 doc/autoconf.texi |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 2ae8bb9..b1295eb 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -21747,10 +21747,12 @@ system types are involved.  The options to specify them are:
 @item --build=@var{build-type}
 the type of system on which the package is being configured and
 compiled.  It defaults to the result of running @command{config.guess}.
+Specifying a @var{build-type} that differs from @var{host-type} enables
+cross-compilation mode.
 
 @item --host=@var{host-type}
 the type of system on which the package runs.  By default it is the
-same as the build machine.  Specifying it enables the cross-compilation
+same as the build machine.  Specifying it enables cross-compilation
 mode.
 
 @item --target=@var{target-type}


hooks/post-receive
-- 
GNU Autoconf source repository


From MAILER-DAEMON Tue Apr 24 17:20:16 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SMn9k-0001kC-FI
	for mharc-autoconf-commit@gnu.org; Tue, 24 Apr 2012 17:20:16 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41729)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMn9i-0001k0-1Z
	for autoconf-commit@gnu.org; Tue, 24 Apr 2012 17:20:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMn9f-0000al-T1
	for autoconf-commit@gnu.org; Tue, 24 Apr 2012 17:20:13 -0400
Received: from vcs.savannah.gnu.org ([140.186.70.72]:41292)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMn9f-0000aQ-PA
	for autoconf-commit@gnu.org; Tue, 24 Apr 2012 17:20:11 -0400
Received: from ericb by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMn9e-0006Dt-Jk
	for autoconf-commit@gnu.org; Tue, 24 Apr 2012 21:20:11 +0000
Date: Tue, 24 Apr 2012 21:20:10 +0000
Message-Id: <E1SMn9e-0006Dt-Jk@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.68b-22-g280f330
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: ed96f6541caacbc35cd8fca6444d04b40bba9b1a
X-Git-Newrev: 280f3309927f87d8483d092425cdc2d2f7842ba1
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: Tue, 24 Apr 2012 21:20:15 -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=280f3309927f87d8483d092425cdc2d2f7842ba1

The branch, master has been updated
       via  280f3309927f87d8483d092425cdc2d2f7842ba1 (commit)
       via  303e507c2783bb6c43c7c5be2467eaa8a57dadd9 (commit)
      from  ed96f6541caacbc35cd8fca6444d04b40bba9b1a (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 280f3309927f87d8483d092425cdc2d2f7842ba1
Author: Bruno Haible <bruno@clisp.org>
Date:   Sun Apr 22 19:42:24 2012 +0200

    AC_INIT: remove a transitional warning
    
    On bi-arch systems (such as x86 / x86_64) it is often necessary to pass
    the --host option together with an appropriate value for CC. But this
    triggers a warning:
    
    $ ./configure --host=i686-pc-linux-gnu CC="gcc -m32 -march=i586"
    configure: WARNING: if you wanted to set the --build type, don't use --host.
        If a cross compiler is detected then cross compile mode will be used
    ..
    
    This warning was introduced on 2000-06-30, in commit
    <http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=cb2e761b8e1181f97e8e09d85526bd22078433db>
    with the remark "Re-enable the old behavior of --host and --build."
    
    This warning was meant to warn users about a changed semantics of
    --build and --host. This change is now 12 years in the past; users
    have had enough time to learn it. I therefore suggest to remove the
    warning.
    
    I've done lots of cross and bi-arch compilations in the last 10 years,
    all with --host and without --build, and have never observed a problem
    with it, except for the warning. Simply relying on config.guess is sufficient.
    
    * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Don't warn if --host
    given without --build.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>

commit 303e507c2783bb6c43c7c5be2467eaa8a57dadd9
Author: Bruno Haible <bruno@clisp.org>
Date:   Mon Apr 23 21:43:04 2012 +0200

    doc: fix incorrect and incomplete doc about cross-compilation mode
    
    * doc/autoconf.texi (Runtime): Mention the effect of the cross-
    compilation mode on AC_RUN_IFELSE.
    (Specifying Target Triplets): Fix description of --host's effects.
    (Hosts and Cross-Compilation): Remove incorrect statement about
    --host's effects.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>

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

Summary of changes:
 doc/autoconf.texi       |   17 +++++++++--------
 lib/autoconf/general.m4 |    2 --
 2 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index b1295eb..a629668 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -9491,8 +9491,11 @@ available in the shell variable @samp{$?}.  This exit status might be
 that of a failed compilation, or it might be that of a failed program
 execution.
 
-If the compiler being used does not produce executables that run on the
-system where @command{configure} is being run, then the test program is
+If cross-compilation mode is enabled (this is the case if either the
+compiler being used does not produce executables that run on the system
+where @command{configure} is being run, or if the options @code{--build}
+and @code{--host} were both specified and their values are different),
+then the test program is
 not run.  If the optional shell commands @var{action-if-cross-compiling}
 are given, those commands are run instead; typically these commands
 provide pessimistic defaults that allow cross-compilation to work even
@@ -21752,8 +21755,9 @@ cross-compilation mode.
 
 @item --host=@var{host-type}
 the type of system on which the package runs.  By default it is the
-same as the build machine.  Specifying it enables cross-compilation
-mode.
+same as the build machine.  Specifying a @var{host-type} that differs
+from @var{build-type}, when @var{build-type} was also explicitly
+specified, enables cross-compilation mode.
 
 @item --target=@var{target-type}
 the type of system for which any compiler tools in the package
@@ -24459,10 +24463,7 @@ and they're different, @command{configure} enters cross compilation
 mode, so it doesn't run any tests that require execution.
 
 Hint: if you mean to override the result of @command{config.guess},
-prefer @option{--build} over @option{--host}.  In the future,
-@option{--host} will not override the name of the build system type.
-Whenever you specify @option{--host}, be sure to specify @option{--build}
-too.
+prefer @option{--build} over @option{--host}.
 
 @sp 1
 
diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4
index dfa687f..adfae1d 100644
--- a/lib/autoconf/general.m4
+++ b/lib/autoconf/general.m4
@@ -949,8 +949,6 @@ target=$target_alias
 if test "x$host_alias" != x; then
   if test "x$build_alias" = x; then
     cross_compiling=maybe
-    AC_MSG_WARN([if you wanted to set the --build type, don't use --host.
-    If a cross compiler is detected then cross compile mode will be used])
   elif test "x$build_alias" != "x$host_alias"; then
     cross_compiling=yes
   fi


hooks/post-receive
-- 
GNU Autoconf source repository


From MAILER-DAEMON Tue Apr 24 23:36:23 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SMt1j-0001R2-27
	for mharc-autoconf-commit@gnu.org; Tue, 24 Apr 2012 23:36:23 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34484)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMt1e-0001Qk-SG
	for autoconf-commit@gnu.org; Tue, 24 Apr 2012 23:36:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMt1d-0003UH-0Z
	for autoconf-commit@gnu.org; Tue, 24 Apr 2012 23:36:18 -0400
Received: from vcs.savannah.gnu.org ([140.186.70.72]:45815)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMt1c-0003Tx-TW
	for autoconf-commit@gnu.org; Tue, 24 Apr 2012 23:36:16 -0400
Received: from ericb by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMt1c-0003Fw-Al
	for autoconf-commit@gnu.org; Wed, 25 Apr 2012 03:36:16 +0000
Date: Wed, 25 Apr 2012 03:36:16 +0000
Message-Id: <E1SMt1c-0003Fw-Al@vcs.savannah.gnu.org>
From: "Eric Blake" <eblake@redhat.com>
To: autoconf-commit@gnu.org
Subject: [SCM] GNU Autoconf source repository annotated tag, v2.69,
	created. v2.69
X-Git-Refname: refs/tags/v2.69
X-Git-Reftype: annotated tag
X-Git-Oldrev: 0000000000000000000000000000000000000000
X-Git-Newrev: e0e7813ea5e6fb615e6e840f2b926b3b5859cca5
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: Wed, 25 Apr 2012 03:36:21 -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=e0e7813ea5e6fb615e6e840f2b926b3b5859cca5

The annotated tag, v2.69 has been created
        at  e0e7813ea5e6fb615e6e840f2b926b3b5859cca5 (tag)
   tagging  771017a4336bcc38b99c84e345c94a8910b89996 (commit)
  replaces  v2.68b
 tagged by  Eric Blake
        on  Tue Apr 24 21:04:30 2012 -0600

- Log -----------------------------------------------------------------
2.69
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg

iQEcBAABCAAGBQJPl2m+AAoJEKeha0olJ0NqUI8IAJRn3BQz9MgUBIYPkToyWx+X
J645S8H6lw0GmHkntnUV8e4pEymiEh1CsdBzp73p3pJ7sXw0dSi0iR3SJMj3i3iU
Pk2zrUGegR7lmahz0Vfqdq91U/LEE+UJnmgL+4NvPaMnSVKuDvto59HZrD8agNi2
jM/UvUOPIIiXm8DeOqfFDyZ7SbcZy7IaL5DXTjwOGOJkIZIcTqJzMSqURV4K3/dR
oXczdMpsdfdvfmWknZbQfa7Rc2LQR8DviUm17eguCx65R+nLR/XROU7+4VktYx+Z
l1cJskUPa56NZRyaOj0L+9RGpgKFC37fA/uOS0F4ZAxqh3ohQ3lhoWz1cKZkUnk=
=NUwG
-----END PGP SIGNATURE-----

Bruno Haible (2):
      doc: fix incorrect and incomplete doc about cross-compilation mode
      AC_INIT: remove a transitional warning

Eric Blake (8):
      maint: post-release administrivia
      tests: ignore ksh -n warnings
      build: require perl 5.6
      docs: document set -n pitfalls
      doc: fix bad @xref uses
      maint: resync files from upstream
      maint: drop bz2 tarball
      Release Version 2.69.

Jim Meyering (1):
      maint: avoid "make syntax-check" failure

Paul Eggert (9):
      maint: spelling fixes
      tests: port AS_EXECUTABLE_P test to Solaris 8 /bin/sh
      tests: fix "#/bin/sh" typo
      tests: port AS_TR_SH and AS_TR_CPP test to Solaris 8 wc
      fortran: clean up core files after AC_FC_CHECK_BOUNDS
      doc: mention PATH bug with "ksh foo"
      tests: port AT_CHECK_ENV to hosts with flaky grep
      tests: fix port of AT_CHECK_ENV to hosts with flaky grep
      doc: document --build and cross-compilation better

Stefano Lattarini (6):
      configure: don't infloop when re-executing with $CONFIG_SHELL
      tests: fix spurious failure when CONFIG_SITE is set
      tests: fix spurious failure due to Solaris XPG4 sh bug
      maint: drop syncing with Automake::Struct
      maint: resync files from upstream
      cosmetics fix imprecise comment in Autom4te::General

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


hooks/post-receive
-- 
GNU Autoconf source repository


From MAILER-DAEMON Tue Apr 24 23:36:25 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SMt1l-0001Ri-5o
	for mharc-autoconf-commit@gnu.org; Tue, 24 Apr 2012 23:36:25 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34508)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMt1h-0001Qo-0T
	for autoconf-commit@gnu.org; Tue, 24 Apr 2012 23:36:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMt1c-0003UA-Uw
	for autoconf-commit@gnu.org; Tue, 24 Apr 2012 23:36:20 -0400
Received: from vcs.savannah.gnu.org ([140.186.70.72]:45814)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMt1c-0003Tn-QX
	for autoconf-commit@gnu.org; Tue, 24 Apr 2012 23:36:16 -0400
Received: from ericb by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SMt1b-0003FK-PK
	for autoconf-commit@gnu.org; Wed, 25 Apr 2012 03:36:16 +0000
Date: Wed, 25 Apr 2012 03:36:15 +0000
Message-Id: <E1SMt1b-0003FK-PK@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.69-1-g2d4eb95
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 280f3309927f87d8483d092425cdc2d2f7842ba1
X-Git-Newrev: 2d4eb959325a8c7af0c03c9ed580c563b04d77cb
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: Wed, 25 Apr 2012 03:36:24 -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=2d4eb959325a8c7af0c03c9ed580c563b04d77cb

The branch, master has been updated
       via  2d4eb959325a8c7af0c03c9ed580c563b04d77cb (commit)
       via  771017a4336bcc38b99c84e345c94a8910b89996 (commit)
       via  19513cca18398fb43c953031e6da63252fe7f8f2 (commit)
       via  84e20e9164b7e7ccc189eb68c5f839ec28d276ae (commit)
       via  f35498d15cd291a476594ed1b12b8d198310efb0 (commit)
      from  280f3309927f87d8483d092425cdc2d2f7842ba1 (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 2d4eb959325a8c7af0c03c9ed580c563b04d77cb
Author: Eric Blake <eblake@redhat.com>
Date:   Tue Apr 24 21:06:32 2012 -0600

    maint: post-release administrivia
    
    * NEWS: Add header line for next release.
    * .prev-version: Record previous version.
    * cfg.mk (old_NEWS_hash): Auto-update.

commit 771017a4336bcc38b99c84e345c94a8910b89996
Author: Eric Blake <eblake@redhat.com>
Date:   Tue Apr 24 20:17:06 2012 -0600

    Release Version 2.69.
    
    * NEWS: Mention the release.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>

commit 19513cca18398fb43c953031e6da63252fe7f8f2
Author: Eric Blake <eblake@redhat.com>
Date:   Tue Apr 24 20:38:57 2012 -0600

    maint: drop bz2 tarball
    
    At 2.68b, I asked whether anyone would miss .gz and .bz2 formats.
    Consensus was overwhelming that .gz still holds a place in people's
    hearts, in spite of .xz compressing to smaller files, but no one
    was able to make a convincing argument for .bz2.
    
    * configure.ac (AM_INIT_AUTOMAKE): Drop bzip2; xz wins hands down.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>

commit 84e20e9164b7e7ccc189eb68c5f839ec28d276ae
Author: Eric Blake <eblake@redhat.com>
Date:   Tue Apr 24 17:30:37 2012 -0600

    maint: resync files from upstream
    
    The files in lib/Autom4te/ are intentionally not synced at this
    point, since this recent Automake patch:
    https://lists.gnu.org/archive/html/automake-patches/2012-03/msg00111.html
    
    was buggy regarding '-' as stdout, and also exposes some latent
    bugs in autoconf where we use raw 'open' instead of XFile::open.
    
    * build-aux/announce-gen: Resync via 'make fetch'.
    * build-aux/config.sub: Likewise.
    * build-aux/git-version-gen: Likewise.
    * build-aux/gnupload: Likewise.
    * build-aux/move-if-change: Likewise.
    * build-aux/texinfo.tex: Likewise.
    * doc/standards.texi: Likewise.
    * maint.mk: Likewise.

commit f35498d15cd291a476594ed1b12b8d198310efb0
Author: Eric Blake <eblake@redhat.com>
Date:   Tue Apr 24 20:08:06 2012 -0600

    doc: fix bad @xref uses
    
    Upstream gnulib maint.mk improvements caught a few issues we
    should fix, as well as a few issues in files we copy from
    other sources that we will just ignore here.
    
    * doc/autoconf.texi (Generic Programs, Special Shell Variables)
    (Limitations of Builtins): Use references correctly.
    * cfg.mk
    (exclude_file_name_regexp--sc_prohibit_undesirable_word_seq)
    (exclude_file_name_regexp--sc_useless_cpp_parens): Add exemptions.

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

Summary of changes:
 .prev-version             |    2 +-
 NEWS                      |    5 ++-
 build-aux/announce-gen    |    5 +-
 build-aux/config.sub      |    8 +++-
 build-aux/git-version-gen |    5 +-
 build-aux/gnupload        |    2 +-
 build-aux/move-if-change  |    2 +-
 build-aux/texinfo.tex     |  101 +++++++++++++++++++++++++++++++-------------
 cfg.mk                    |    9 ++--
 configure.ac              |    3 +-
 doc/autoconf.texi         |    8 ++--
 doc/standards.texi        |   27 +++++++++---
 maint.mk                  |   14 +++++-
 13 files changed, 133 insertions(+), 58 deletions(-)

diff --git a/.prev-version b/.prev-version
index 292b239..5e1b8b0 100644
--- a/.prev-version
+++ b/.prev-version
@@ -1 +1 @@
-2.68b
+2.69
diff --git a/NEWS b/NEWS
index dbc19dc..61e3bd2 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,9 @@
 GNU Autoconf NEWS - User visible changes.
 
-* Noteworthy changes in release 2.69 (????-??-??) [?]
+* Noteworthy changes in release ?.? (????-??-??) [?]
+
+
+* Noteworthy changes in release 2.69 (2012-04-24) [stable]
 
 ** Autoconf now requires perl 5.6 or better (but generated configure
    scripts continue to run without perl).
diff --git a/build-aux/announce-gen b/build-aux/announce-gen
index 3ca90a9..8c6ed36 100755
--- a/build-aux/announce-gen
+++ b/build-aux/announce-gen
@@ -3,7 +3,7 @@ eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}'
     if 0;
 # Generate a release announcement message.
 
-my $VERSION = '2012-01-06 07:46'; # UTC
+my $VERSION = '2012-04-19 14:36'; # UTC
 # The definition above must lie within the first 8 lines in order
 # for the Emacs time-stamp write hook (at end) to update it.
 # If you change this file with Emacs, please let the write hook
@@ -30,7 +30,8 @@ use strict;
 
 use Getopt::Long;
 use Digest::MD5;
-use Digest::SHA1;
+eval { require Digest::SHA; }
+  or eval 'use Digest::SHA1';
 use POSIX qw(strftime);
 
 (my $ME = $0) =~ s|.*/||;
diff --git a/build-aux/config.sub b/build-aux/config.sub
index c894da4..59bb593 100755
--- a/build-aux/config.sub
+++ b/build-aux/config.sub
@@ -4,7 +4,7 @@
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
 #   2011, 2012 Free Software Foundation, Inc.
 
-timestamp='2012-02-10'
+timestamp='2012-04-18'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -225,6 +225,12 @@ case $os in
 	-isc*)
 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 		;;
+	-lynx*178)
+		os=-lynxos178
+		;;
+	-lynx*5)
+		os=-lynxos5
+		;;
 	-lynx*)
 		os=-lynxos
 		;;
diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen
index d5542a2..0fa9063 100755
--- a/build-aux/git-version-gen
+++ b/build-aux/git-version-gen
@@ -1,6 +1,6 @@
 #!/bin/sh
 # Print a version string.
-scriptversion=2012-01-06.07; # UTC
+scriptversion=2012-03-18.17; # UTC
 
 # Copyright (C) 2007-2012 Free Software Foundation, Inc.
 #
@@ -92,6 +92,8 @@ Options:
 
 Running without arguments will suffice in most cases."
 
+prefix=v
+
 while test $# -gt 0; do
   case $1 in
     --help) echo "$usage"; exit 0;;
@@ -120,7 +122,6 @@ if test -z "$tarball_version_file"; then
 fi
 
 tag_sed_script="${tag_sed_script:-s/x/x/}"
-prefix="${prefix:-v}"
 
 nl='
 '
diff --git a/build-aux/gnupload b/build-aux/gnupload
index 51e17c6..b71ddfd 100755
--- a/build-aux/gnupload
+++ b/build-aux/gnupload
@@ -3,7 +3,7 @@
 
 scriptversion=2012-01-15.15; # UTC
 
-# Copyright (C) 2004-2010, 2012 Free Software Foundation, Inc.
+# Copyright (C) 2004-2012 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
diff --git a/build-aux/move-if-change b/build-aux/move-if-change
index 4d01447..8cae2b3 100755
--- a/build-aux/move-if-change
+++ b/build-aux/move-if-change
@@ -8,7 +8,7 @@ VERSION='2012-01-06 07:23'; # UTC
 # If you change this file with Emacs, please let the write hook
 # do its job.  Otherwise, update this string manually.
 
-# Copyright (C) 2002-2007, 2009-2012 Free Software Foundation, Inc.
+# Copyright (C) 2002-2012 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
diff --git a/build-aux/texinfo.tex b/build-aux/texinfo.tex
index bee50a8..e4dca02 100644
--- a/build-aux/texinfo.tex
+++ b/build-aux/texinfo.tex
@@ -3,7 +3,7 @@
 % Load plain if necessary, i.e., if running under initex.
 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
 %
-\def\texinfoversion{2012-02-28.16}
+\def\texinfoversion{2012-04-06.11}
 %
 % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -1372,7 +1372,13 @@ output) for that.)}
       \fi
     \fi
     \nextsp}
-  \def\getfilename#1{\filenamelength=0\expandafter\skipspaces#1|\relax}
+  \def\getfilename#1{%
+    \filenamelength=0
+    % If we don't expand the argument now, \skipspaces will get
+    % snagged on things like "@value{foo}".
+    \edef\temp{#1}%
+    \expandafter\skipspaces\temp|\relax
+  }
   \ifnum\pdftexversion < 14
     \let \startlink \pdfannotlink
   \else
@@ -4445,6 +4451,7 @@ end
   \definedummyword\guillemetright
   \definedummyword\guilsinglleft
   \definedummyword\guilsinglright
+  \definedummyword\lbracechar
   \definedummyword\leq
   \definedummyword\minus
   \definedummyword\ogonek
@@ -4457,6 +4464,7 @@ end
   \definedummyword\quoteleft
   \definedummyword\quoteright
   \definedummyword\quotesinglbase
+  \definedummyword\rbracechar
   \definedummyword\result
   \definedummyword\textdegree
   %
@@ -4508,6 +4516,7 @@ end
   \definedummyword\t
   %
   % Commands that take arguments.
+  \definedummyword\abbr
   \definedummyword\acronym
   \definedummyword\anchor
   \definedummyword\cite
@@ -4519,7 +4528,9 @@ end
   \definedummyword\emph
   \definedummyword\env
   \definedummyword\file
+  \definedummyword\image
   \definedummyword\indicateurl
+  \definedummyword\inforef
   \definedummyword\kbd
   \definedummyword\key
   \definedummyword\math
@@ -4566,7 +4577,10 @@ end
   % content at all.  So for index sorting, we map @{ and @} to strings
   % starting with |, since that ASCII character is between ASCII { and }.
   \def\{{|a}%
+  \def\lbracechar{|a}%
+  %
   \def\}{|b}%
+  \def\rbracechar{|b}%
   %
   % Non-English letters.
   \def\AA{AA}%
@@ -7801,7 +7815,7 @@ end
   \fi\fi
 }
 
-
+% 
 % @xref, @pxref, and @ref generate cross-references.  For \xrefX, #1 is
 % the node name, #2 the name of the Info cross-reference, #3 the printed
 % node name, #4 the name of the Info file, #5 the name of the printed
@@ -7811,16 +7825,21 @@ end
 \def\xref#1{\putwordSee{} \xrefX[#1,,,,,,,]}
 \def\ref#1{\xrefX[#1,,,,,,,]}
 %
-\newbox\topbox
+\newbox\toprefbox
 \newbox\printedrefnamebox
+\newbox\infofilenamebox
 \newbox\printedmanualbox
 %
 \def\xrefX[#1,#2,#3,#4,#5,#6]{\begingroup
   \unsepspaces
   %
+  % Get args without leading/trailing spaces.
   \def\printedrefname{\ignorespaces #3}%
   \setbox\printedrefnamebox = \hbox{\printedrefname\unskip}%
   %
+  \def\infofilename{\ignorespaces #4}%
+  \setbox\infofilenamebox = \hbox{\infofilename\unskip}%
+  %
   \def\printedmanual{\ignorespaces #5}%
   \setbox\printedmanualbox  = \hbox{\printedmanual\unskip}%
   %
@@ -7853,12 +7872,20 @@ end
   \ifpdf
     {\indexnofonts
      \turnoffactive
+     \makevalueexpandable
      % This expands tokens, so do it after making catcode changes, so _
-     % etc. don't get their TeX definitions.
+     % etc. don't get their TeX definitions.  This ignores all spaces in
+     % #4, including (wrongly) those in the middle of the filename.
      \getfilename{#4}%
      %
+     % This (wrongly) does not take account of leading or trailing
+     % spaces in #1, which should be ignored.
      \edef\pdfxrefdest{#1}%
-     \txiescapepdf\pdfxrefdest
+     \ifx\pdfxrefdest\empty
+       \def\pdfxrefdest{Top}% no empty targets
+     \else
+       \txiescapepdf\pdfxrefdest  % escape PDF special chars
+     \fi
      %
      \leavevmode
      \startlink attr{/Border [0 0 0]}%
@@ -7891,7 +7918,7 @@ end
       \printedrefname
     \fi
     %
-    % if the user also gave the printed manual name (fifth arg), append
+    % If the user also gave the printed manual name (fifth arg), append
     % "in MANUALNAME".
     \ifdim \wd\printedmanualbox > 0pt
       \space \putwordin{} \cite{\printedmanual}%
@@ -7906,32 +7933,20 @@ end
     % this is a loss.  Therefore, we give the text of the node name
     % again, so it is as if TeX is seeing it for the first time.
     % 
-    % Cross-manual reference.  Only include the "Section ``foo'' in" if
-    % the foo is neither missing or Top.  Thus, @xref{,,,foo,The Foo Manual}
-    % outputs simply "see The Foo Manual".
     \ifdim \wd\printedmanualbox > 0pt
-      % What is the 7sp about?  The idea is that we also want to omit
-      % the Section part if we would be printing "Top", since they are
-      % clearly trying to refer to the whole manual.  But, this being
-      % TeX, we can't easily compare strings while ignoring the possible
-      % spaces before and after in the input.  By adding the arbitrary
-      % 7sp, we make it much less likely that a real node name would
-      % happen to have the same width as "Top" (e.g., in a monospaced font).
-      % I hope it will never happen in practice.
+      % Cross-manual reference with a printed manual name.
       % 
-      % For the same basic reason, we retypeset the "Top" at every
-      % reference, since the current font is indeterminate.
+      \crossmanualxref{\cite{\printedmanual\unskip}}%
+    %
+    \else\ifdim \wd\infofilenamebox > 0pt
+      % Cross-manual reference with only an info filename (arg 4), no
+      % printed manual name (arg 5).  This is essentially the same as
+      % the case above; we output the filename, since we have nothing else.
       % 
-      \setbox\topbox = \hbox{Top\kern7sp}%
-      \setbox2 = \hbox{\ignorespaces \printedrefname \unskip \kern7sp}%
-      \ifdim \wd2 > 7sp
-        \ifdim \wd2 = \wd\topbox \else
-          \putwordSection{} ``\printedrefname'' \putwordin{}\space
-        \fi
-      \fi
-      \cite{\printedmanual}%
+      \crossmanualxref{\code{\infofilename\unskip}}%
+    %
     \else
-      % Reference in this manual.
+      % Reference within this manual.
       %
       % _ (for example) has to be the character _ for the purposes of the
       % control sequence corresponding to the node, but it has to expand
@@ -7952,11 +7967,37 @@ end
       %
       % output the `page 3'.
       \turnoffactive \putwordpage\tie\refx{#1-pg}{}%
-    \fi
+    \fi\fi
   \fi
   \endlink
 \endgroup}
 
+% Output a cross-manual xref to #1.  Used just above (twice).
+% 
+% Only include the text "Section ``foo'' in" if the foo is neither
+% missing or Top.  Thus, @xref{,,,foo,The Foo Manual} outputs simply
+% "see The Foo Manual", the idea being to refer to the whole manual.
+% 
+% But, this being TeX, we can't easily compare our node name against the
+% string "Top" while ignoring the possible spaces before and after in
+% the input.  By adding the arbitrary 7sp below, we make it much less
+% likely that a real node name would have the same width as "Top" (e.g.,
+% in a monospaced font).  Hopefully it will never happen in practice.
+% 
+% For the same basic reason, we retypeset the "Top" at every
+% reference, since the current font is indeterminate.
+% 
+\def\crossmanualxref#1{%
+  \setbox\toprefbox = \hbox{Top\kern7sp}%
+  \setbox2 = \hbox{\ignorespaces \printedrefname \unskip \kern7sp}%
+  \ifdim \wd2 > 7sp  % nonempty?
+    \ifdim \wd2 = \wd\toprefbox \else  % same as Top?
+      \putwordSection{} ``\printedrefname'' \putwordin{}\space
+    \fi
+  \fi
+  #1%
+}
+
 % This macro is called from \xrefX for the `[nodename]' part of xref
 % output.  It's a separate macro only so it can be changed more easily,
 % since square brackets don't work well in some documents.  Particularly
diff --git a/cfg.mk b/cfg.mk
index 3febab0..23ebe4e 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -127,14 +127,15 @@ update-copyright-env = \
   UPDATE_COPYRIGHT_MAX_LINE_LENGTH=72
 
 # Prevent incorrect NEWS edits.
-old_NEWS_hash = 54ad39275441a2a3fcbe6182da4f84fb
+old_NEWS_hash = 8532b4ed4fb456eb71071a5cf8c258d4
 
-exclude_file_name_regexp--sc_prohibit_undesirable_word_seq = ^maint\.mk$$
+exclude_file_name_regexp--sc_prohibit_undesirable_word_seq = \
+  ^(maint\.mk|build-aux/texinfo\.tex)$$
 exclude_file_name_regexp--sc_prohibit_test_minus_ao = \
   ^(maint\.mk|doc/autoconf\.texi)$$
-
 exclude_file_name_regexp--sc_prohibit_atoi_atof = ^doc/autoconf\.texi$$
-exclude_file_name_regexp--sc_useless_cpp_parens = ^build-aux/config\.guess$$
+exclude_file_name_regexp--sc_useless_cpp_parens = \
+  ^(build-aux/config\.guess|doc/standards\.texi)$$
 exclude_file_name_regexp--sc_trailing_blank = ^build-aux/texinfo\.tex$$
 exclude_file_name_regexp--sc_two_space_separator_in_usage = \
   ^build-aux/gnupload$$
diff --git a/configure.ac b/configure.ac
index 280cc0e..696e513 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,8 +26,7 @@ AC_CONFIG_SRCDIR([lib/autoconf/autoconf.m4])
 
 AC_CONFIG_AUX_DIR([build-aux])
 
-AM_INIT_AUTOMAKE([1.11 dist-bzip2 dist-xz
-readme-alpha no-texinfo.tex std-options])
+AM_INIT_AUTOMAKE([1.11 dist-xz readme-alpha no-texinfo.tex std-options])
 
 AB_INIT
 
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index a629668..34ca213 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -4211,7 +4211,7 @@ AC_PATH_PROG([INETD], [inetd], [/usr/libexec/inetd],
 @end example
 
 You are strongly encouraged to declare the @var{variable} passed to
-@code{AC_CHECK_PROG} etc.@: as precious, @xref{Setting Output Variables},
+@code{AC_CHECK_PROG} etc.@: as precious.  @xref{Setting Output Variables},
 @code{AC_ARG_VAR}, for more details.
 
 @anchor{AC_CHECK_PROG}
@@ -16782,7 +16782,7 @@ PS4='+ '
 
 @noindent
 (actually, there is some complication due to bugs in @command{unset};
-see @pxref{unset, , Limitations of Shell Builtins}).
+@pxref{unset, , Limitations of Shell Builtins}).
 
 @item FPATH
 @evindex FPATH
@@ -17874,8 +17874,8 @@ for an @command{echo} that does not interpret @samp{\} or leading
 @samp{-}. With Solaris @command{ksh}, it is possible to use @code{print
 -r --} for this role instead.
 
-For a discussion of portable alternatives to both @command{printf}
-and @command{echo}, @xref{echo, , Limitations of Shell Builtins}.
+@xref{echo, , Limitations of Shell Builtins} for a discussion of
+portable alternatives to both @command{printf} and @command{echo}.
 
 
 @item @command{pwd}
diff --git a/doc/standards.texi b/doc/standards.texi
index 4ba9426..69a400e 100644
--- a/doc/standards.texi
+++ b/doc/standards.texi
@@ -3,7 +3,7 @@
 @setfilename standards.info
 @settitle GNU Coding Standards
 @c This date is automagically updated when you save this file:
-@set lastupdate February 5, 2012
+@set lastupdate April 7, 2012
 @c %**end of header
 
 @dircategory GNU organization
@@ -2384,6 +2384,7 @@ when writing GNU software.
 
 @cindex open brace
 @cindex braces, in C source
+@cindex function definitions, formatting
 It is important to put the open-brace that starts the body of a C
 function in column one, so that they will start a defun.  Several
 tools look for open-braces in column one to find the beginnings of C
@@ -2430,6 +2431,20 @@ lots_of_args (int an_integer, long a_long, short a_short,
 @dots{}
 @end example
 
+@cindex @code{struct} types, formatting
+@cindex @code{enum} types, formatting
+For @code{struct} and @code{enum} types, likewise put the braces in
+column one, unless the whole contents fits on one line:
+
+@example
+struct foo
+@{
+  int a, b;
+@}
+@exdent @r{or}
+struct foo @{ int a, b; @}
+@end example
+
 The rest of this section gives our recommendations for other aspects of
 C formatting style, which is also the default style of the @code{indent}
 program in version 1.2 and newer.  It corresponds to the options
@@ -2576,7 +2591,7 @@ about the value rather than the variable itself.  Thus, ``the inode
 number NODE_NUM'' rather than ``an inode''.
 
 There is usually no purpose in restating the name of the function in
-the comment before it, because the reader can see that for himself.
+the comment before it, because readers can see that for themselves.
 There might be an exception when the comment is so long that the function
 itself would be off the bottom of the screen.
 
@@ -2655,10 +2670,10 @@ Don't make the program ugly just to placate static analysis tools such
 as @command{lint}, @command{clang}, and GCC with extra warnings
 options such as @option{-Wconversion} and @option{-Wundef}.  These
 tools can help find bugs and unclear code, but they can also generate
-so many false alarms that that it hurts readability to silence them
-with unnecessary casts, wrappers, and other complications.  For
-example, please don't insert casts to @code{void} or calls to
-do-nothing functions merely to pacify a lint checker.
+so many false alarms that it hurts readability to silence them with
+unnecessary casts, wrappers, and other complications.  For example,
+please don't insert casts to @code{void} or calls to do-nothing
+functions merely to pacify a lint checker.
 
 Declarations of external functions and functions to appear later in the
 source file should all go in one place near the beginning of the file
diff --git a/maint.mk b/maint.mk
index a97e0bd..1c7af03 100644
--- a/maint.mk
+++ b/maint.mk
@@ -279,7 +279,7 @@ define _sc_search_regexp
    if test -n "$$files"; then						\
      if test -n "$$prohibit"; then					\
        grep $$with_grep_options $(_ignore_case) -nE "$$prohibit" $$files \
-         | grep -vE "$${exclude-^$$}"					\
+         | grep -vE "$${exclude:-^$$}"					\
          && { msg="$$halt" $(_sc_say_and_exit) } || :;			\
      else								\
        grep $$with_grep_options $(_ignore_case) -LE "$$require" $$files \
@@ -455,7 +455,8 @@ sc_prohibit_quotearg_without_use:
 
 # Don't include quote.h unless you use one of its functions.
 sc_prohibit_quote_without_use:
-	@h='quote.h' re='\<quote(_n)? *\(' $(_sc_header_without_use)
+	@h='quote.h' re='\<quote((_n)? *\(|_quoting_options\>)' \
+	  $(_sc_header_without_use)
 
 # Don't include this header unless you use one of its functions.
 sc_prohibit_long_options_without_use:
@@ -931,8 +932,15 @@ sc_prohibit_doubled_word:
 # A regular expression matching undesirable combinations of words like
 # "can not"; this matches them even when the two words appear on different
 # lines, but not when there is an intervening delimiter like "#" or "*".
+# Similarly undesirable, "See @xref{...}", since an @xref should start
+# a sentence.  Explicitly prohibit any prefix of "see" or "also".
+# Also prohibit a prefix matching "\w+ +".
+# @pxref gets the same see/also treatment and should be parenthesized;
+# presume it must *not* start a sentence.
+bad_xref_re_ ?= (?:[\w,:;] +|(?:see|also)\s+)\@xref\{
+bad_pxref_re_ ?= (?:[.!?]|(?:see|also))\s+\@pxref\{
 prohibit_undesirable_word_seq_RE_ ?=					\
-  /\bcan\s+not\b/gims
+  /(?:\bcan\s+not\b|$(bad_xref_re_)|$(bad_pxref_re_))/gims
 prohibit_undesirable_word_seq_ =					\
     -e 'while ($(prohibit_undesirable_word_seq_RE_))'			\
     $(perl_filename_lineno_text_)


hooks/post-receive
-- 
GNU Autoconf source repository


