Blame ChangeLog

Packit 47b4ca
2012-04-24  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	Release Version 2.69.
Packit 47b4ca
	* NEWS: Mention the release.
Packit 47b4ca
Packit 47b4ca
2012-04-24  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	maint: drop bz2 tarball
Packit 47b4ca
	At 2.68b, I asked whether anyone would miss .gz and .bz2 formats.
Packit 47b4ca
	Consensus was overwhelming that .gz still holds a place in people's
Packit 47b4ca
	hearts, in spite of .xz compressing to smaller files, but no one
Packit 47b4ca
	was able to make a convincing argument for .bz2.
Packit 47b4ca
Packit 47b4ca
	* configure.ac (AM_INIT_AUTOMAKE): Drop bzip2; xz wins hands down.
Packit 47b4ca
Packit 47b4ca
2012-04-24  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	maint: resync files from upstream
Packit 47b4ca
	The files in lib/Autom4te/ are intentionally not synced at this
Packit 47b4ca
	point, since this recent Automake patch:
Packit 47b4ca
	https://lists.gnu.org/archive/html/automake-patches/2012-03/msg00111.html
Packit 47b4ca
Packit 47b4ca
	was buggy regarding '-' as stdout, and also exposes some latent
Packit 47b4ca
	bugs in autoconf where we use raw 'open' instead of XFile::open.
Packit 47b4ca
Packit 47b4ca
	* build-aux/announce-gen: Resync via 'make fetch'.
Packit 47b4ca
	* build-aux/config.sub: Likewise.
Packit 47b4ca
	* build-aux/git-version-gen: Likewise.
Packit 47b4ca
	* build-aux/gnupload: Likewise.
Packit 47b4ca
	* build-aux/move-if-change: Likewise.
Packit 47b4ca
	* build-aux/texinfo.tex: Likewise.
Packit 47b4ca
	* doc/standards.texi: Likewise.
Packit 47b4ca
	* maint.mk: Likewise.
Packit 47b4ca
Packit 47b4ca
2012-04-24  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	doc: fix bad @xref uses
Packit 47b4ca
	Upstream gnulib maint.mk improvements caught a few issues we
Packit 47b4ca
	should fix, as well as a few issues in files we copy from
Packit 47b4ca
	other sources that we will just ignore here.
Packit 47b4ca
Packit 47b4ca
	* doc/autoconf.texi (Generic Programs, Special Shell Variables)
Packit 47b4ca
	(Limitations of Builtins): Use references correctly.
Packit 47b4ca
	* cfg.mk
Packit 47b4ca
	(exclude_file_name_regexp--sc_prohibit_undesirable_word_seq)
Packit 47b4ca
	(exclude_file_name_regexp--sc_useless_cpp_parens): Add exemptions.
Packit 47b4ca
Packit 47b4ca
2012-04-24  Bruno Haible  <bruno@clisp.org>
Packit 47b4ca
Packit 47b4ca
	AC_INIT: remove a transitional warning
Packit 47b4ca
	On bi-arch systems (such as x86 / x86_64) it is often necessary to pass
Packit 47b4ca
	the --host option together with an appropriate value for CC. But this
Packit 47b4ca
	triggers a warning:
Packit 47b4ca
Packit 47b4ca
	$ ./configure --host=i686-pc-linux-gnu CC="gcc -m32 -march=i586"
Packit 47b4ca
	configure: WARNING: if you wanted to set the --build type, don't use --host.
Packit 47b4ca
	    If a cross compiler is detected then cross compile mode will be used
Packit 47b4ca
	..
Packit 47b4ca
Packit 47b4ca
	This warning was introduced on 2000-06-30, in commit
Packit 47b4ca
	<http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=cb2e761b8e1181f97e8e09d85526bd22078433db>
Packit 47b4ca
	with the remark "Re-enable the old behavior of --host and --build."
Packit 47b4ca
Packit 47b4ca
	This warning was meant to warn users about a changed semantics of
Packit 47b4ca
	--build and --host. This change is now 12 years in the past; users
Packit 47b4ca
	have had enough time to learn it. I therefore suggest to remove the
Packit 47b4ca
	warning.
Packit 47b4ca
Packit 47b4ca
	I've done lots of cross and bi-arch compilations in the last 10 years,
Packit 47b4ca
	all with --host and without --build, and have never observed a problem
Packit 47b4ca
	with it, except for the warning. Simply relying on config.guess is sufficient.
Packit 47b4ca
Packit 47b4ca
	* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Don't warn if --host
Packit 47b4ca
	given without --build.
Packit 47b4ca
Packit 47b4ca
2012-04-24  Bruno Haible  <bruno@clisp.org>
Packit 47b4ca
Packit 47b4ca
	doc: fix incorrect and incomplete doc about cross-compilation mode
Packit 47b4ca
	* doc/autoconf.texi (Runtime): Mention the effect of the cross-
Packit 47b4ca
	compilation mode on AC_RUN_IFELSE.
Packit 47b4ca
	(Specifying Target Triplets): Fix description of --host's effects.
Packit 47b4ca
	(Hosts and Cross-Compilation): Remove incorrect statement about
Packit 47b4ca
	--host's effects.
Packit 47b4ca
Packit 47b4ca
2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
Packit 47b4ca
Packit 47b4ca
	doc: document --build and cross-compilation better
Packit 47b4ca
	* doc/autoconf.texi (Specifying Target Triplets): Mention that
Packit 47b4ca
	specifying a build-type that differs from host-type enables
Packit 47b4ca
	cross-compilation.  Problem reported by Bruno Haible in:
Packit 47b4ca
	http://lists.gnu.org/archive/html/autoconf-patches/2012-04/msg00009.html
Packit 47b4ca
Packit 47b4ca
2012-04-11  Jim Meyering  <meyering@redhat.com>
Packit 47b4ca
Packit 47b4ca
	maint: avoid "make syntax-check" failure
Packit 47b4ca
	* cfg.mk (old_NEWS_hash): Update to reflect typo fix in old news.
Packit 47b4ca
Packit 47b4ca
2012-03-28  Stefano Lattarini  <stefano.lattarini@gmail.com>
Packit 47b4ca
Packit 47b4ca
	cosmetics fix imprecise comment in Autom4te::General
Packit 47b4ca
	* lib/Autom4te/General.pm: This file is *not* used by Automake;
Packit 47b4ca
	adjust comments accordingly.
Packit 47b4ca
Packit 47b4ca
2012-03-07  Paul Eggert  <eggert@cs.ucla.edu>
Packit 47b4ca
Packit 47b4ca
	tests: fix port of AT_CHECK_ENV to hosts with flaky grep
Packit 47b4ca
	* tests/local.at (AT_CHECK_ENV): Don't copy the buggy grep's
Packit 47b4ca
	diagnostics to stderr, as that causes AT_CHECK to fail.  They can
Packit 47b4ca
	be found in the stderr-* files if this is needed for debugging.
Packit 47b4ca
Packit 47b4ca
2012-03-07  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	docs: document set -n pitfalls
Packit 47b4ca
	* doc/autoconf.texi (Limitations of Builtins) <set>: Document
Packit 47b4ca
	issues with set -n.
Packit 47b4ca
Packit 47b4ca
2012-03-07  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	build: require perl 5.6
Packit 47b4ca
	This reduces the implicit requirement from 5.6.2 back to 5.6,
Packit 47b4ca
	while raising the explicit requirement to match the actual code.
Packit 47b4ca
Packit 47b4ca
	* configure.ac (PERL): Fail up front if perl is too old.
Packit 47b4ca
	* NEWS: Document this.
Packit 47b4ca
	* README: Likewise.
Packit 47b4ca
	* README-hacking: Likewise.
Packit 47b4ca
	* lib/Autom4te/ChannelDefs.pm: Bump requirement.
Packit 47b4ca
	* lib/Autom4te/General.pm: Relax requirement.
Packit 47b4ca
Packit 47b4ca
2012-03-07  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	tests: ignore ksh -n warnings
Packit 47b4ca
	Recent ksh is noisy:
Packit 47b4ca
Packit 47b4ca
	$ ksh -nc '``'; echo $?
Packit 47b4ca
	ksh: warning: line 1: `...` obsolete, use $(...)
Packit 47b4ca
	0
Packit 47b4ca
Packit 47b4ca
	* tests/local.at (AT_CHECK_SHELL_SYNTAX): Ignore noisy ksh on.
Packit 47b4ca
	Reported by Martin Zaun.
Packit 47b4ca
Packit 47b4ca
2012-03-06  Paul Eggert  <eggert@cs.ucla.edu>
Packit 47b4ca
Packit 47b4ca
	tests: port AT_CHECK_ENV to hosts with flaky grep
Packit 47b4ca
	* tests/local.at (AT_CHECK_ENV): Don't assume that if one grep
Packit 47b4ca
	fails, the other will too.  It could be that 'grep' is flaky,
Packit 47b4ca
	and fails somewhat at random.  This would explain the problems
Packit 47b4ca
	reported for autoconf-2.68b on FreeBSD and MacOS X, for example:
Packit 47b4ca
	<http://lists.gnu.org/archive/html/bug-autoconf/2012-03/msg00032.html>
Packit 47b4ca
	<http://lists.gnu.org/archive/html/bug-autoconf/2012-03/msg00035.html>
Packit 47b4ca
	<http://lists.gnu.org/archive/html/bug-autoconf/2012-03/msg00036.html>
Packit 47b4ca
	<http://lists.gnu.org/archive/html/bug-autoconf/2012-03/msg00044.html>
Packit 47b4ca
Packit 47b4ca
2012-03-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
Packit 47b4ca
Packit 47b4ca
	maint: resync files from upstream
Packit 47b4ca
	Since the perl version required in Automake::Getopt has been
Packit 47b4ca
	recently lowered from 5.6.2 to 5.6.0, this change has the nice
Packit 47b4ca
	effect of making autoconf compatible again with all perls in
Packit 47b4ca
	the 5.6.x release series.
Packit 47b4ca
Packit 47b4ca
	* maint.mk: Resync via 'make fetch'.
Packit 47b4ca
	* lib/Autom4te/Channels.pm: Likewise.
Packit 47b4ca
	* lib/Autom4te/Configure_ac.pm: Likewise.
Packit 47b4ca
	* lib/Autom4te/FileUtils.pm: Likewise.
Packit 47b4ca
	* lib/Autom4te/Getopt.pm: Likewise.
Packit 47b4ca
	* lib/Autom4te/XFile.pm: Likewise.
Packit 47b4ca
Packit 47b4ca
2012-03-05  Stefano Lattarini  <stefano.lattarini@gmail.com>
Packit 47b4ca
Packit 47b4ca
	maint: drop syncing with Automake::Struct
Packit 47b4ca
	The module Automake::Struct has been removed in automake master
Packit 47b4ca
	branch (with yesterday's commit v1.11-2055-g74a7f49 "maint: drop
Packit 47b4ca
	'Automake::Struct' module"): since Automake now requires Perl 5.6,
Packit 47b4ca
	that module has become obsolete, being basically just a backport
Packit 47b4ca
	of Perl 5.6's 'Class::Struct' to Perl 5.5.  With this change, we
Packit 47b4ca
	follow suite in Autoconf, which syncs some of its internal modules
Packit 47b4ca
	with Automake.
Packit 47b4ca
Packit 47b4ca
	* lib/Autom4te/Struct.pm: Delete.
Packit 47b4ca
	* lib/Autom4te/Makefile.am (dist_perllib_DATA): Don't list it
Packit 47b4ca
	anymore.
Packit 47b4ca
	* cfg.mk: Don't sync it with the Automake repository anymore.
Packit 47b4ca
	* lib/Autom4te/Request.pm: Use 'Class::Struct' instead of
Packit 47b4ca
	'Autom4te::Struct'.
Packit 47b4ca
Packit 47b4ca
2012-03-04  Paul Eggert  <eggert@cs.ucla.edu>
Packit 47b4ca
Packit 47b4ca
	doc: mention PATH bug with "ksh foo"
Packit 47b4ca
	* doc/autoconf.texi (Invoking the Shell): Mention ksh PATH bug.
Packit 47b4ca
Packit 47b4ca
2012-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
Packit 47b4ca
Packit 47b4ca
	tests: fix spurious failure due to Solaris XPG4 sh bug
Packit 47b4ca
	On Solaris 10, the /usr/xpg4/bin/sh shell seems unable to execute
Packit 47b4ca
	a shell script named 'script':
Packit 47b4ca
Packit 47b4ca
	  $ touch script
Packit 47b4ca
	  $ /bin/sh script; echo status: $? # As expected.
Packit 47b4ca
	  status: 0
Packit 47b4ca
	  $ /usr/xpg4/bin/sh script; echo status: $? # Weirdness follows.
Packit 47b4ca
	  /usr/xpg4/bin/sh: script: cannot execute
Packit 47b4ca
	  status: 1
Packit 47b4ca
Packit 47b4ca
	This was causing a spurious testsuite failure for users which have
Packit 47b4ca
	/usr/xpg4/bin in $PATH before /bin and /usr/bin.  Fix that.
Packit 47b4ca
Packit 47b4ca
	* tests/m4sh.at (Configure re-execs self with CONFIG_SHELL): Rename
Packit 47b4ca
	the m4sh-produced script to 'script2', to avoid the just-described
Packit 47b4ca
	issue.
Packit 47b4ca
Packit 47b4ca
2012-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
Packit 47b4ca
Packit 47b4ca
	tests: fix spurious failure when CONFIG_SITE is set
Packit 47b4ca
	* tests/m4sh.at (Configure re-execs self with CONFIG_SHELL): Export
Packit 47b4ca
	$CONFIG_SITE to "/dev/null", to avoid spurious diffs in expected
Packit 47b4ca
	stdout/stderr.
Packit 47b4ca
Packit 47b4ca
2012-03-03  Paul Eggert  <eggert@cs.ucla.edu>
Packit 47b4ca
Packit 47b4ca
	fortran: clean up core files after AC_FC_CHECK_BOUNDS
Packit 47b4ca
	* lib/autoconf/fortran.m4 (AC_FC_CHECK_BOUNDS): Clean up core
Packit 47b4ca
	files, too.  Needed for Sun Fortran 95 8.2 2005/10/13 on Solaris 8.
Packit 47b4ca
Packit 47b4ca
	tests: port AS_TR_SH and AS_TR_CPP test to Solaris 8 wc
Packit 47b4ca
	* tests/m4sh.at (AS@&t@_TR_SH and AS@&t@_TR_CPP): Do not assume
Packit 47b4ca
	that "wc -l" outputs only digits; on Solaris 8 it also outputs
Packit 47b4ca
	blanks and POSIX allows this.
Packit 47b4ca
Packit 47b4ca
	tests: fix "#/bin/sh" typo
Packit 47b4ca
	* tests/m4sh.at (AS@&t@_EXECUTABLE): "#!/bin/sh", not "#/bin/sh".
Packit 47b4ca
	Typo reported by Tim Rice in:
Packit 47b4ca
	http://lists.gnu.org/archive/html/autoconf-patches/2012-03/msg00009.html
Packit 47b4ca
Packit 47b4ca
	tests: port AS_EXECUTABLE_P test to Solaris 8 /bin/sh
Packit 47b4ca
	* tests/m4sh.at (AS@&t@_EXECUTABLE): Treat any nonzero exit
Packit 47b4ca
	status as failure.  This is needed for Solaris 8 /bin/sh,
Packit 47b4ca
	where executing a nonexecutable file causes the shell
Packit 47b4ca
	to say the file had exit status 1.
Packit 47b4ca
Packit 47b4ca
2012-03-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
Packit 47b4ca
Packit 47b4ca
	configure: don't infloop when re-executing with $CONFIG_SHELL
Packit 47b4ca
	It turns out our guard against infinite recursion wasn't good
Packit 47b4ca
	enough when shells without $LINENO support were involved, since
Packit 47b4ca
	the creation-and-sourcing of configure.lineno broke the guard's
Packit 47b4ca
	expectations.  Reports by Tim Rice and Paul Eggert.
Packit 47b4ca
Packit 47b4ca
	* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Export '_as_can_reexec'
Packit 47b4ca
	to "no" before sourcing the just-created configure.lineno.
Packit 47b4ca
Packit 47b4ca
2012-03-01  Paul Eggert  <eggert@cs.ucla.edu>
Packit 47b4ca
Packit 47b4ca
	maint: spelling fixes
Packit 47b4ca
Packit 47b4ca
2012-03-01  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	maint: post-release administrivia
Packit 47b4ca
	* NEWS: Add header line for next release.
Packit 47b4ca
	* .prev-version: Record previous version.
Packit 47b4ca
	* cfg.mk (old_NEWS_hash): Auto-update.
Packit 47b4ca
Packit 47b4ca
2012-03-01  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	Release Version 2.68b.
Packit 47b4ca
	It's been more than a year since 2.68; time for a beta release
Packit 47b4ca
	to shake out any last minute bugs, before a release of 2.69
Packit 47b4ca
	in the near future.
Packit 47b4ca
Packit 47b4ca
	* NEWS: Mention the release.
Packit 47b4ca
	* HACKING: Update some instructions.
Packit 47b4ca
Packit 47b4ca
2012-03-01  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	maint: resync files from upstream
Packit 47b4ca
	* GNUmakefile: Resync via 'make fetch'.
Packit 47b4ca
	* build-aux/config.guess: Likewise.
Packit 47b4ca
	* build-aux/config.sub: Likewise.
Packit 47b4ca
	* build-aux/texinfo.tex: Likewise.
Packit 47b4ca
	* build-aux/update-copyright: Likewise.
Packit 47b4ca
	* doc/standards.texi: Likewise.
Packit 47b4ca
	* lib/Autom4te/Channels.pm: Likewise.
Packit 47b4ca
	* lib/Autom4te/Configure_ac.pm: Likewise.
Packit 47b4ca
	* lib/Autom4te/FileUtils.pm: Likewise.
Packit 47b4ca
	* lib/Autom4te/Getopt.pm: Likewise.
Packit 47b4ca
	* lib/Autom4te/Struct.pm: Likewise.
Packit 47b4ca
	* lib/Autom4te/XFile.pm: Likewise.
Packit 47b4ca
	* maint.mk: Likewise.
Packit 47b4ca
Packit 47b4ca
2012-02-25  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	tests: add test for AS_EXECUTABLE_P
Packit 47b4ca
	Now that this is public, we should regression test it.
Packit 47b4ca
Packit 47b4ca
	* tests/m4sh.at (AS@&t@_EXECUTABLE): New test.
Packit 47b4ca
Packit 47b4ca
2012-02-24  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	m4sh: make AS_EXECUTABLE_P public
Packit 47b4ca
	In the process of making it public, factor it into a reusable
Packit 47b4ca
	function.  This makes constructs like AC_CHECK_PROGRAM smaller,
Packit 47b4ca
	as well as making libtool's naughty use of $as_executable_p safer.
Packit 47b4ca
Packit 47b4ca
	* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Add a shell function.
Packit 47b4ca
	(AS_EXECUTABLE_P): Forward to shell function.
Packit 47b4ca
	* doc/autoconf.texi (Common Shell Constructs): Document it.
Packit 47b4ca
	* NEWS: Mention this.
Packit 47b4ca
Packit 47b4ca
2012-02-24  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	m4sh: require that 'test -x' works
Packit 47b4ca
	4.3BSD is no longer a reasonable portability target; and we are
Packit 47b4ca
	pretty sure that these days we can find at least one shell on any
Packit 47b4ca
	platform that supports 'test -x'.  Drop a horribly unsafe use of
Packit 47b4ca
	eval as a result. :)
Packit 47b4ca
Packit 47b4ca
	Libtool still uses $as_executable_p without so much as calling
Packit 47b4ca
	either AS_TEST_X or AS_EXECUTABLE_P; even though the latter has
Packit 47b4ca
	existed, although undocumented, since at least 2.59; furthermore,
Packit 47b4ca
	libtool uses it in a context where filtering out directories
Packit 47b4ca
	would have been desirable.  Shame on them.
Packit 47b4ca
Packit 47b4ca
	* lib/m4sugar/m4sh.m4 (_AS_TEST_X_WORKS): New probe.
Packit 47b4ca
	(AS_SHELL_SANITIZE, AS_INIT): Use it in shell searching.
Packit 47b4ca
	(AS_TEST_X, AS_EXECUTABLE_P): Simplify.
Packit 47b4ca
Packit 47b4ca
2012-02-24  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	doc: mention more pitfalls of file mode tests
Packit 47b4ca
	4.3BSD is museum-ware now, so we can assume that test -x exists;
Packit 47b4ca
	however, we still can't assume that it always does what we want.
Packit 47b4ca
Packit 47b4ca
	* doc/autoconf.texi (Limitations of Builtins) <test (files)>:
Packit 47b4ca
	Treat 'test -x' as mostly portable, but mention problems with
Packit 47b4ca
	root user, ACLs, and TOCTTOU races.
Packit 47b4ca
Packit 47b4ca
2012-02-16  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	docs: tweak 'rm -f' limitations
Packit 47b4ca
	Based on http://debbugs.gnu.org/10819 and
Packit 47b4ca
	http://austingroupbugs.net/view.php?id=542
Packit 47b4ca
Packit 47b4ca
	* doc/autoconf.texi (Limitations of Usual Tools) <rm>: More
Packit 47b4ca
	details on 'rm -f' without files.
Packit 47b4ca
Packit 47b4ca
2012-02-10  Paul Eggert  <eggert@cs.ucla.edu>
Packit 47b4ca
Packit 47b4ca
	maint: replace FSF snail-mail addresses with URLs
Packit 47b4ca
	* tests/erlang.at, tests/go.at, tests/statesave.m4:
Packit 47b4ca
	Replace FSF snail mail addresses with URLs, as per GNU coding
Packit 47b4ca
	standards, and for consistency with other tests.
Packit 47b4ca
Packit 47b4ca
2012-01-28  Jim Meyering  <meyering@redhat.com>
Packit 47b4ca
Packit 47b4ca
	maint: avoid "make syntax-check" failure
Packit 47b4ca
	* Makefile.am ($(srcdir)/INSTALL): Remove spurious space-before-TAB.
Packit 47b4ca
Packit 47b4ca
2012-01-23  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	tests: fix test regression due to additional output
Packit 47b4ca
	This test has been failing since commit 5285ea8c (sadly, since
Packit 47b4ca
	last July; thankfully, unreleased).
Packit 47b4ca
Packit 47b4ca
	* tests/m4sugar.at (m4@&t@_require: nested): Fix test.
Packit 47b4ca
Packit 47b4ca
2012-01-23  Eric Blake  <eblake@redhat.com>
Packit 47b4ca
Packit 47b4ca
	INSTALL: convert to '' quoting, drop blank line at end
Packit 47b4ca
	This is allowed by recent GNU Coding Standards changes, and
Packit 47b4ca
	mirrors recent gnulib changes:
Packit 47b4ca
	https://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00267.html
Packit 47b4ca
	https://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00298.html
Packit 47b4ca
Packit 47b4ca
	I've confirmed that after these changes, the INSTALL generated and
Packit 47b4ca
	installed by autoconf matches the INSTALL.ISO in gnulib.
Packit 47b4ca
Packit 47b4ca
	* Makefile.am ($(srcdir)/INSTALL): Match gnulib INSTALL.ISO.
Packit 47b4ca
Packit 47b4ca
2012-01-23  Jim Meyering  <meyering@redhat.com>
Packit 47b4ca
Packit 47b4ca
	maint: convert .x-sc_* into exclude_file_name_regexp--sc_* exemptions
Packit 47b4ca
	Many of the .x-sc_* exemptions were no long necessary.  Remove those
Packit 47b4ca
	files and instead, provide exemptions via variable definitions in
Packit 47b4ca
	cfg.mk to address the few remaining exceptions.
Packit 47b4ca
	* .x-sc_prohibit_atoi_atof: Remove file.
Packit 47b4ca
	* .x-sc_space_tab: Likewise.
Packit 47b4ca
	* .x-sc_sun_os_names: Likewise.
Packit 47b4ca
	* .x-sc_trailing_blank: Likewise.
Packit 47b4ca
	* .x-sc_two_space_separator_in_usage: Likewise.
Packit 47b4ca
	* .x-sc_useless_cpp_parens: Likewise.
Packit 47b4ca
	* cfg.mk: Add minimal exemptions.
Packit 47b4ca
	* cfg.mk: Add minimal exemptions.
Packit 47b4ca
	* doc/standards.texi (Standard C): Address the sole useless-cpp-parens
Packit 47b4ca
	violation in this file:
Packit 47b4ca
	-#if defined (__STDC__) || defined (WINDOWSNT)
Packit 47b4ca
	+#if defined __STDC__ || defined WINDOWSNT
Packit 47b4ca
	With that, the only remaining offender is config.guess, whose name
Packit 47b4ca
	is now listed in cfg.mk.
Packit 47b4ca
	Suggested by Eric Blake.
Packit 47b4ca
Packit 47b4ca
2012-01-23  Paul Eggert  <eggert@cs.ucla.edu>
Packit 47b4ca
Packit 47b4ca
	doc: work around mingw-w64 alloca problem with example
Packit 47b4ca
	* doc/autoconf.texi (Particular Functions): In example code for
Packit 47b4ca
	alloca, do not re-#define alloca.  This works around a mingw-w64
Packit 47b4ca
	problem reported by Vincent Torri in
Packit 47b4ca
	<http://lists.gnu.org/archive/html/autoconf/2012-01/msg00018.html>.
Packit 47b4ca
Packit 47b4ca
2012-01-21  Jim Meyering  <meyering@redhat.com>
Packit 47b4ca
Packit 47b4ca
	maint: fix or disable failing syntax-check rules
Packit 47b4ca
	* cfg.mk (local-checks-to-skip): List failing tests, so we skip
Packit 47b4ca
	them, for now.
Packit 47b4ca
	(old_NEWS_hash): Update.
Packit 47b4ca
	* doc/autoconf.texi: Per suggestion from Eric Blake, obfuscate
Packit 47b4ca
	the first word of "Filesystem Hierarchy Standard" as File@/system
Packit 47b4ca
	so it continues to render as one word, yet doesn't trigger the
Packit 47b4ca
	syntax-check prohibition.
Packit 47b4ca
Packit 47b4ca
	maint: also sync maint.mk and useless-if-before-free from gnulib
Packit 47b4ca
	* cfg.mk (gnulib-update): Add them to the list.
Packit 47b4ca
	* maint.mk: Update from gnulib.
Packit 47b4ca
	* build-aux/gitlog-to-changelog: Likewise.
Packit 47b4ca
	* build-aux/useless-if-before-free: New file, from gnulib.
Packit 47b4ca
	* doc/gnu-oids.texi: Update.
Packit 47b4ca
Packit 47b4ca
	maint.mk: update from gnulib
Packit 47b4ca
	* maint.mk: Update.
Packit 47b4ca
Packit 47b4ca
	maint: placate syntax-check rules: exempt some false positives
Packit 47b4ca
	* cfg.mk: Exempt maint.mk from the "undesirable word seq" check.
Packit 47b4ca
	Exempt maint.mk and autoconf.texi from the test_minus_ao check.
Packit 47b4ca
Packit 47b4ca
	maint: tweak to avoid triggering space-tab-prohibiting syntax-check
Packit 47b4ca
	* tests/m4sh.at (nargs): Use TAB-SP, not SP-TAB in abusive file name,
Packit 47b4ca
	to avoid triggering the space-tab-prohibiting syntax-check.
Packit 47b4ca
Packit 47b4ca
	maint: remove empty lines at EOF
Packit 47b4ca
	* man/autoconf.x: Remove empty line at EOF.
Packit 47b4ca
	* man/autoheader.x: Likewise.
Packit 47b4ca
	* man/autoscan.x: Likewise.
Packit 47b4ca
	* man/autoupdate.x: Likewise.
Packit 47b4ca
	* man/ifnames.x: Likewise.
Packit 47b4ca
	* tests/compile.at: Likewise.
Packit 47b4ca
	* doc/fdl.texi: Likewise.
Packit 47b4ca
Packit 47b4ca
	doc: fix grammar/doubled-word errors
Packit 47b4ca
	* doc/autoconf.texi: Remove/fix doubled-word errors.
Packit 47b4ca
	Also, s/can not/cannot/.
Packit 47b4ca
	* lib/m4sugar/m4sh.m4: Reword "if IF" comment to avoid triggering
Packit 47b4ca
	the doubled-word warning.
Packit 47b4ca
Packit 47b4ca
2012-01-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
Packit 47b4ca
Packit 47b4ca
	maint: sync files from gnulib
Packit 47b4ca
	* GNUmakefile: Sync from gnulib.
Packit 47b4ca
	* build-aux/announce-gen: Likewise.
Packit 47b4ca
	* build-aux/config.guess: Likewise.
Packit 47b4ca
	* build-aux/config.sub: Likewise.
Packit 47b4ca
	* build-aux/git-version-gen: Likewise.
Packit 47b4ca
	* build-aux/gnupload: Likewise.
Packit 47b4ca
	* build-aux/move-if-change: Likewise.
Packit 47b4ca
	* build-aux/texinfo.tex: Likewise.
Packit 47b4ca
	* build-aux/update-copyright: Likewise.
Packit 47b4ca
	* build-aux/vc-list-files: Likewise.
Packit 47b4ca
	* doc/gendocs_template: Likewise.
Packit 47b4ca
	* doc/standards.texi: Likewise.
Packit 47b4ca
	* m4/autobuild.m4: Likewise.
Packit 47b4ca
Packit 47b4ca
2012-01-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
Packit 47b4ca
Packit 47b4ca
	maint: make position of gnulib checkout configurable
Packit 47b4ca
	Some gnulib-related tools (most prominently, the gnulib-provided
Packit 47b4ca
	'bootstrap' script) allow the user to define the position of his
Packit 47b4ca
	gnulib's repository checkout through the use of the 'GNULIB_SRCDIR'
Packit 47b4ca
	environment variable.  We should do the same, for consistency and
Packit 47b4ca
	to easily support slightly unusual layouts in developers' source
Packit 47b4ca
	trees.
Packit 47b4ca
Packit 47b4ca
	* cfg.mk (gnulib_dir): Define to "$GNULIB_SRCDIR" if that's set,
Packit 47b4ca
	and to default value of "'$(abs_srcdir)'/../gnulib" otherwise.
Packit 47b4ca
	Update comments.
Packit 47b4ca
Packit 47b4ca
2012-01-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
Packit 47b4ca
Packit 47b4ca
	getopt: sync from Automake repository
Packit 47b4ca
	* lib/Autom4te/Getopt.am: The master copy of this file has
Packit 47b4ca
	been moved to the  Automake repository (see Automake commit
Packit 47b4ca
	'v1.11-662-g52246cc' 2012-01-18, "cmdline parsing: move into
Packit 47b4ca
	a dedicated perl module").  So we now we sync it from there,
Packit 47b4ca
	by listing it ...
Packit 47b4ca
	* cfg.mk (autom4te_files): ... in this variable.
Packit 47b4ca
Packit 47b4ca
2012-01-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
Packit 47b4ca
Packit 47b4ca
	build: fix automake error due to missing ChangeLog
Packit 47b4ca
	Apparently, Automake does not accept the '$(srcdir)/ChangeLog'
Packit 47b4ca
	target in Makefile.am as a declaration that ChangeLog is
Packit 47b4ca
	automatically generated (and thus does not need to exist at
Packit 47b4ca
	automake time).  One has to use a *literal* 'ChangeLog' target.
Packit 47b4ca
Packit 47b4ca
	Problem introduced in commit v2.68-118-g6ed5195 of 2012-01-17,
Packit 47b4ca
	"maint: generate ChangeLog from git log".
Packit 47b4ca
Packit 47b4ca
	* Makefile.ma ($(srcdir)/ChangeLog): Renamed ...
Packit 47b4ca
	(ChangeLog): ... to this.
Packit 47b4ca
Packit 47b4ca
2012-01-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
Packit 47b4ca
Packit 47b4ca
	getopt: new Autom4te::Getopt module
Packit 47b4ca
	* lib/Autom4te/General.pm (getopt): Move the guts of its
Packit 47b4ca
	implementation ...
Packit 47b4ca
	* lib/Autom4te/Getopt.pm (parse_options): .. into this function
Packit 47b4ca
	in the new Autom4te::Getopt module.  This will make it simpler
Packit 47b4ca
	for the implementation to be shared with other projects (right
Packit 47b4ca
	now, Automake).
Packit 47b4ca
	* lib/Automake/Makefile.am (dist_perllib_DATA): Add the new
Packit 47b4ca
	module.
Packit 47b4ca
Packit 47b4ca
2012-01-17  Jim Meyering  <meyering@redhat.com>
Packit 47b4ca
Packit 47b4ca
	tests: avoid spurious failure for each gnu-fortran-using test
Packit 47b4ca
	The tests compare pre- and post-run lists of envvars, which must
Packit 47b4ca
	be the same, modulo a list of known, filtered-out exceptions.
Packit 47b4ca
	However, when running fortran-checking tests with GNU fortran, each
Packit 47b4ca
	would fail due to the post-run addition of the GFC symbol added in
Packit 47b4ca
	v2.68-97-gbd962ac.
Packit 47b4ca
	* tests/local.at (AT_CHECK_ENV): Add GFC to the list of symbols
Packit 47b4ca
	that we ignore in pre-/post-run environment diffs.
Packit 47b4ca
Packit 47b4ca
2012-01-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
Packit 47b4ca
Packit 47b4ca
	maint: generate ChangeLog from git log
Packit 47b4ca
	Following the practice set by various other GNU projects, we start
Packit 47b4ca
	to automatically generate the ChangeLog file from the git commit
Packit 47b4ca
	messages.  This will avoid duplication (as the ChangeLog entries
Packit 47b4ca
	were always inserted both in the git commit message and in the
Packit 47b4ca
	version-controlled ChangeLog file), and potential problems with
Packit 47b4ca
	spurious merge conflicts (which, although greatly mitigated by
Packit 47b4ca
	Bruno Haible's `git-merge-changelog' helper program, have never
Packit 47b4ca
	been completely solved).
Packit 47b4ca
Packit 47b4ca
	* ChangeLog: Moved ...
Packit 47b4ca
	* ChangeLog.3: ... to this.
Packit 47b4ca
	* build-aux/gitlog-to-changelog: New script, synced from gnulib.
Packit 47b4ca
	* cfg.mk (gnulib-update): Also sync gitlog-to-changelog.
Packit 47b4ca
	* Makefile.am (gen-ChangeLog): New .PHONY rule, generate the
Packit 47b4ca
	ChangeLog for distribution.
Packit 47b4ca
	(dist-hook): Depend on it.
Packit 47b4ca
	($(srcdir)/ChangeLog): New dummy rule, to pacify automake "gnu"
Packit 47b4ca
	strictness.  Creates a dummy ChangeLog, that will be overridden
Packit 47b4ca
	by the proper one at distribution time.
Packit 47b4ca
	(gen_start_date): New variable, the date starting from which the
Packit 47b4ca
	git log entries are to be copied in the generated ChangeLog.
Packit 47b4ca
	(EXTRA_DIST): Add ChangeLog.3 and gitlog-to-changelog.
Packit 47b4ca
	* configure.ac (AC_CONFIG_SRCDIR): Use 'lib/autoconf/autoconf.m4'
Packit 47b4ca
	instead of 'ChangeLog' as the sentinel file.
Packit 47b4ca
	* .gitignore: Add ChangeLog.
Packit 47b4ca
Packit 47b4ca
2012-01-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
Packit 47b4ca
Packit 47b4ca
	cosmetics: fix some typos in ChangeLog