xref: /netbsd-src/external/gpl3/autoconf/dist/ChangeLog (revision d874e91932377fc40d53f102e48fc3ee6f4fe9de)
1*d874e919Schristos2012-04-24  Eric Blake  <eblake@redhat.com>
2*d874e919Schristos
3*d874e919Schristos	Release Version 2.69.
4*d874e919Schristos	* NEWS: Mention the release.
5*d874e919Schristos
6*d874e919Schristos2012-04-24  Eric Blake  <eblake@redhat.com>
7*d874e919Schristos
8*d874e919Schristos	maint: drop bz2 tarball
9*d874e919Schristos	At 2.68b, I asked whether anyone would miss .gz and .bz2 formats.
10*d874e919Schristos	Consensus was overwhelming that .gz still holds a place in people's
11*d874e919Schristos	hearts, in spite of .xz compressing to smaller files, but no one
12*d874e919Schristos	was able to make a convincing argument for .bz2.
13*d874e919Schristos
14*d874e919Schristos	* configure.ac (AM_INIT_AUTOMAKE): Drop bzip2; xz wins hands down.
15*d874e919Schristos
16*d874e919Schristos2012-04-24  Eric Blake  <eblake@redhat.com>
17*d874e919Schristos
18*d874e919Schristos	maint: resync files from upstream
19*d874e919Schristos	The files in lib/Autom4te/ are intentionally not synced at this
20*d874e919Schristos	point, since this recent Automake patch:
21*d874e919Schristos	https://lists.gnu.org/archive/html/automake-patches/2012-03/msg00111.html
22*d874e919Schristos
23*d874e919Schristos	was buggy regarding '-' as stdout, and also exposes some latent
24*d874e919Schristos	bugs in autoconf where we use raw 'open' instead of XFile::open.
25*d874e919Schristos
26*d874e919Schristos	* build-aux/announce-gen: Resync via 'make fetch'.
27*d874e919Schristos	* build-aux/config.sub: Likewise.
28*d874e919Schristos	* build-aux/git-version-gen: Likewise.
29*d874e919Schristos	* build-aux/gnupload: Likewise.
30*d874e919Schristos	* build-aux/move-if-change: Likewise.
31*d874e919Schristos	* build-aux/texinfo.tex: Likewise.
32*d874e919Schristos	* doc/standards.texi: Likewise.
33*d874e919Schristos	* maint.mk: Likewise.
34*d874e919Schristos
35*d874e919Schristos2012-04-24  Eric Blake  <eblake@redhat.com>
36*d874e919Schristos
37*d874e919Schristos	doc: fix bad @xref uses
38*d874e919Schristos	Upstream gnulib maint.mk improvements caught a few issues we
39*d874e919Schristos	should fix, as well as a few issues in files we copy from
40*d874e919Schristos	other sources that we will just ignore here.
41*d874e919Schristos
42*d874e919Schristos	* doc/autoconf.texi (Generic Programs, Special Shell Variables)
43*d874e919Schristos	(Limitations of Builtins): Use references correctly.
44*d874e919Schristos	* cfg.mk
45*d874e919Schristos	(exclude_file_name_regexp--sc_prohibit_undesirable_word_seq)
46*d874e919Schristos	(exclude_file_name_regexp--sc_useless_cpp_parens): Add exemptions.
47*d874e919Schristos
48*d874e919Schristos2012-04-24  Bruno Haible  <bruno@clisp.org>
49*d874e919Schristos
50*d874e919Schristos	AC_INIT: remove a transitional warning
51*d874e919Schristos	On bi-arch systems (such as x86 / x86_64) it is often necessary to pass
52*d874e919Schristos	the --host option together with an appropriate value for CC. But this
53*d874e919Schristos	triggers a warning:
54*d874e919Schristos
55*d874e919Schristos	$ ./configure --host=i686-pc-linux-gnu CC="gcc -m32 -march=i586"
56*d874e919Schristos	configure: WARNING: if you wanted to set the --build type, don't use --host.
57*d874e919Schristos	    If a cross compiler is detected then cross compile mode will be used
58*d874e919Schristos	..
59*d874e919Schristos
60*d874e919Schristos	This warning was introduced on 2000-06-30, in commit
61*d874e919Schristos	<http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=cb2e761b8e1181f97e8e09d85526bd22078433db>
62*d874e919Schristos	with the remark "Re-enable the old behavior of --host and --build."
63*d874e919Schristos
64*d874e919Schristos	This warning was meant to warn users about a changed semantics of
65*d874e919Schristos	--build and --host. This change is now 12 years in the past; users
66*d874e919Schristos	have had enough time to learn it. I therefore suggest to remove the
67*d874e919Schristos	warning.
68*d874e919Schristos
69*d874e919Schristos	I've done lots of cross and bi-arch compilations in the last 10 years,
70*d874e919Schristos	all with --host and without --build, and have never observed a problem
71*d874e919Schristos	with it, except for the warning. Simply relying on config.guess is sufficient.
72*d874e919Schristos
73*d874e919Schristos	* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Don't warn if --host
74*d874e919Schristos	given without --build.
75*d874e919Schristos
76*d874e919Schristos2012-04-24  Bruno Haible  <bruno@clisp.org>
77*d874e919Schristos
78*d874e919Schristos	doc: fix incorrect and incomplete doc about cross-compilation mode
79*d874e919Schristos	* doc/autoconf.texi (Runtime): Mention the effect of the cross-
80*d874e919Schristos	compilation mode on AC_RUN_IFELSE.
81*d874e919Schristos	(Specifying Target Triplets): Fix description of --host's effects.
82*d874e919Schristos	(Hosts and Cross-Compilation): Remove incorrect statement about
83*d874e919Schristos	--host's effects.
84*d874e919Schristos
85*d874e919Schristos2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
86*d874e919Schristos
87*d874e919Schristos	doc: document --build and cross-compilation better
88*d874e919Schristos	* doc/autoconf.texi (Specifying Target Triplets): Mention that
89*d874e919Schristos	specifying a build-type that differs from host-type enables
90*d874e919Schristos	cross-compilation.  Problem reported by Bruno Haible in:
91*d874e919Schristos	http://lists.gnu.org/archive/html/autoconf-patches/2012-04/msg00009.html
92*d874e919Schristos
93*d874e919Schristos2012-04-11  Jim Meyering  <meyering@redhat.com>
94*d874e919Schristos
95*d874e919Schristos	maint: avoid "make syntax-check" failure
96*d874e919Schristos	* cfg.mk (old_NEWS_hash): Update to reflect typo fix in old news.
97*d874e919Schristos
98*d874e919Schristos2012-03-28  Stefano Lattarini  <stefano.lattarini@gmail.com>
99*d874e919Schristos
100*d874e919Schristos	cosmetics fix imprecise comment in Autom4te::General
101*d874e919Schristos	* lib/Autom4te/General.pm: This file is *not* used by Automake;
102*d874e919Schristos	adjust comments accordingly.
103*d874e919Schristos
104*d874e919Schristos2012-03-07  Paul Eggert  <eggert@cs.ucla.edu>
105*d874e919Schristos
106*d874e919Schristos	tests: fix port of AT_CHECK_ENV to hosts with flaky grep
107*d874e919Schristos	* tests/local.at (AT_CHECK_ENV): Don't copy the buggy grep's
108*d874e919Schristos	diagnostics to stderr, as that causes AT_CHECK to fail.  They can
109*d874e919Schristos	be found in the stderr-* files if this is needed for debugging.
110*d874e919Schristos
111*d874e919Schristos2012-03-07  Eric Blake  <eblake@redhat.com>
112*d874e919Schristos
113*d874e919Schristos	docs: document set -n pitfalls
114*d874e919Schristos	* doc/autoconf.texi (Limitations of Builtins) <set>: Document
115*d874e919Schristos	issues with set -n.
116*d874e919Schristos
117*d874e919Schristos2012-03-07  Eric Blake  <eblake@redhat.com>
118*d874e919Schristos
119*d874e919Schristos	build: require perl 5.6
120*d874e919Schristos	This reduces the implicit requirement from 5.6.2 back to 5.6,
121*d874e919Schristos	while raising the explicit requirement to match the actual code.
122*d874e919Schristos
123*d874e919Schristos	* configure.ac (PERL): Fail up front if perl is too old.
124*d874e919Schristos	* NEWS: Document this.
125*d874e919Schristos	* README: Likewise.
126*d874e919Schristos	* README-hacking: Likewise.
127*d874e919Schristos	* lib/Autom4te/ChannelDefs.pm: Bump requirement.
128*d874e919Schristos	* lib/Autom4te/General.pm: Relax requirement.
129*d874e919Schristos
130*d874e919Schristos2012-03-07  Eric Blake  <eblake@redhat.com>
131*d874e919Schristos
132*d874e919Schristos	tests: ignore ksh -n warnings
133*d874e919Schristos	Recent ksh is noisy:
134*d874e919Schristos
135*d874e919Schristos	$ ksh -nc '``'; echo $?
136*d874e919Schristos	ksh: warning: line 1: `...` obsolete, use $(...)
137*d874e919Schristos	0
138*d874e919Schristos
139*d874e919Schristos	* tests/local.at (AT_CHECK_SHELL_SYNTAX): Ignore noisy ksh on.
140*d874e919Schristos	Reported by Martin Zaun.
141*d874e919Schristos
142*d874e919Schristos2012-03-06  Paul Eggert  <eggert@cs.ucla.edu>
143*d874e919Schristos
144*d874e919Schristos	tests: port AT_CHECK_ENV to hosts with flaky grep
145*d874e919Schristos	* tests/local.at (AT_CHECK_ENV): Don't assume that if one grep
146*d874e919Schristos	fails, the other will too.  It could be that 'grep' is flaky,
147*d874e919Schristos	and fails somewhat at random.  This would explain the problems
148*d874e919Schristos	reported for autoconf-2.68b on FreeBSD and MacOS X, for example:
149*d874e919Schristos	<http://lists.gnu.org/archive/html/bug-autoconf/2012-03/msg00032.html>
150*d874e919Schristos	<http://lists.gnu.org/archive/html/bug-autoconf/2012-03/msg00035.html>
151*d874e919Schristos	<http://lists.gnu.org/archive/html/bug-autoconf/2012-03/msg00036.html>
152*d874e919Schristos	<http://lists.gnu.org/archive/html/bug-autoconf/2012-03/msg00044.html>
153*d874e919Schristos
154*d874e919Schristos2012-03-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
155*d874e919Schristos
156*d874e919Schristos	maint: resync files from upstream
157*d874e919Schristos	Since the perl version required in Automake::Getopt has been
158*d874e919Schristos	recently lowered from 5.6.2 to 5.6.0, this change has the nice
159*d874e919Schristos	effect of making autoconf compatible again with all perls in
160*d874e919Schristos	the 5.6.x release series.
161*d874e919Schristos
162*d874e919Schristos	* maint.mk: Resync via 'make fetch'.
163*d874e919Schristos	* lib/Autom4te/Channels.pm: Likewise.
164*d874e919Schristos	* lib/Autom4te/Configure_ac.pm: Likewise.
165*d874e919Schristos	* lib/Autom4te/FileUtils.pm: Likewise.
166*d874e919Schristos	* lib/Autom4te/Getopt.pm: Likewise.
167*d874e919Schristos	* lib/Autom4te/XFile.pm: Likewise.
168*d874e919Schristos
169*d874e919Schristos2012-03-05  Stefano Lattarini  <stefano.lattarini@gmail.com>
170*d874e919Schristos
171*d874e919Schristos	maint: drop syncing with Automake::Struct
172*d874e919Schristos	The module Automake::Struct has been removed in automake master
173*d874e919Schristos	branch (with yesterday's commit v1.11-2055-g74a7f49 "maint: drop
174*d874e919Schristos	'Automake::Struct' module"): since Automake now requires Perl 5.6,
175*d874e919Schristos	that module has become obsolete, being basically just a backport
176*d874e919Schristos	of Perl 5.6's 'Class::Struct' to Perl 5.5.  With this change, we
177*d874e919Schristos	follow suite in Autoconf, which syncs some of its internal modules
178*d874e919Schristos	with Automake.
179*d874e919Schristos
180*d874e919Schristos	* lib/Autom4te/Struct.pm: Delete.
181*d874e919Schristos	* lib/Autom4te/Makefile.am (dist_perllib_DATA): Don't list it
182*d874e919Schristos	anymore.
183*d874e919Schristos	* cfg.mk: Don't sync it with the Automake repository anymore.
184*d874e919Schristos	* lib/Autom4te/Request.pm: Use 'Class::Struct' instead of
185*d874e919Schristos	'Autom4te::Struct'.
186*d874e919Schristos
187*d874e919Schristos2012-03-04  Paul Eggert  <eggert@cs.ucla.edu>
188*d874e919Schristos
189*d874e919Schristos	doc: mention PATH bug with "ksh foo"
190*d874e919Schristos	* doc/autoconf.texi (Invoking the Shell): Mention ksh PATH bug.
191*d874e919Schristos
192*d874e919Schristos2012-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
193*d874e919Schristos
194*d874e919Schristos	tests: fix spurious failure due to Solaris XPG4 sh bug
195*d874e919Schristos	On Solaris 10, the /usr/xpg4/bin/sh shell seems unable to execute
196*d874e919Schristos	a shell script named 'script':
197*d874e919Schristos
198*d874e919Schristos	  $ touch script
199*d874e919Schristos	  $ /bin/sh script; echo status: $? # As expected.
200*d874e919Schristos	  status: 0
201*d874e919Schristos	  $ /usr/xpg4/bin/sh script; echo status: $? # Weirdness follows.
202*d874e919Schristos	  /usr/xpg4/bin/sh: script: cannot execute
203*d874e919Schristos	  status: 1
204*d874e919Schristos
205*d874e919Schristos	This was causing a spurious testsuite failure for users which have
206*d874e919Schristos	/usr/xpg4/bin in $PATH before /bin and /usr/bin.  Fix that.
207*d874e919Schristos
208*d874e919Schristos	* tests/m4sh.at (Configure re-execs self with CONFIG_SHELL): Rename
209*d874e919Schristos	the m4sh-produced script to 'script2', to avoid the just-described
210*d874e919Schristos	issue.
211*d874e919Schristos
212*d874e919Schristos2012-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
213*d874e919Schristos
214*d874e919Schristos	tests: fix spurious failure when CONFIG_SITE is set
215*d874e919Schristos	* tests/m4sh.at (Configure re-execs self with CONFIG_SHELL): Export
216*d874e919Schristos	$CONFIG_SITE to "/dev/null", to avoid spurious diffs in expected
217*d874e919Schristos	stdout/stderr.
218*d874e919Schristos
219*d874e919Schristos2012-03-03  Paul Eggert  <eggert@cs.ucla.edu>
220*d874e919Schristos
221*d874e919Schristos	fortran: clean up core files after AC_FC_CHECK_BOUNDS
222*d874e919Schristos	* lib/autoconf/fortran.m4 (AC_FC_CHECK_BOUNDS): Clean up core
223*d874e919Schristos	files, too.  Needed for Sun Fortran 95 8.2 2005/10/13 on Solaris 8.
224*d874e919Schristos
225*d874e919Schristos	tests: port AS_TR_SH and AS_TR_CPP test to Solaris 8 wc
226*d874e919Schristos	* tests/m4sh.at (AS@&t@_TR_SH and AS@&t@_TR_CPP): Do not assume
227*d874e919Schristos	that "wc -l" outputs only digits; on Solaris 8 it also outputs
228*d874e919Schristos	blanks and POSIX allows this.
229*d874e919Schristos
230*d874e919Schristos	tests: fix "#/bin/sh" typo
231*d874e919Schristos	* tests/m4sh.at (AS@&t@_EXECUTABLE): "#!/bin/sh", not "#/bin/sh".
232*d874e919Schristos	Typo reported by Tim Rice in:
233*d874e919Schristos	http://lists.gnu.org/archive/html/autoconf-patches/2012-03/msg00009.html
234*d874e919Schristos
235*d874e919Schristos	tests: port AS_EXECUTABLE_P test to Solaris 8 /bin/sh
236*d874e919Schristos	* tests/m4sh.at (AS@&t@_EXECUTABLE): Treat any nonzero exit
237*d874e919Schristos	status as failure.  This is needed for Solaris 8 /bin/sh,
238*d874e919Schristos	where executing a nonexecutable file causes the shell
239*d874e919Schristos	to say the file had exit status 1.
240*d874e919Schristos
241*d874e919Schristos2012-03-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
242*d874e919Schristos
243*d874e919Schristos	configure: don't infloop when re-executing with $CONFIG_SHELL
244*d874e919Schristos	It turns out our guard against infinite recursion wasn't good
245*d874e919Schristos	enough when shells without $LINENO support were involved, since
246*d874e919Schristos	the creation-and-sourcing of configure.lineno broke the guard's
247*d874e919Schristos	expectations.  Reports by Tim Rice and Paul Eggert.
248*d874e919Schristos
249*d874e919Schristos	* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Export '_as_can_reexec'
250*d874e919Schristos	to "no" before sourcing the just-created configure.lineno.
251*d874e919Schristos
252*d874e919Schristos2012-03-01  Paul Eggert  <eggert@cs.ucla.edu>
253*d874e919Schristos
254*d874e919Schristos	maint: spelling fixes
255*d874e919Schristos
256*d874e919Schristos2012-03-01  Eric Blake  <eblake@redhat.com>
257*d874e919Schristos
258*d874e919Schristos	maint: post-release administrivia
259*d874e919Schristos	* NEWS: Add header line for next release.
260*d874e919Schristos	* .prev-version: Record previous version.
261*d874e919Schristos	* cfg.mk (old_NEWS_hash): Auto-update.
262*d874e919Schristos
263*d874e919Schristos2012-03-01  Eric Blake  <eblake@redhat.com>
264*d874e919Schristos
265*d874e919Schristos	Release Version 2.68b.
266*d874e919Schristos	It's been more than a year since 2.68; time for a beta release
267*d874e919Schristos	to shake out any last minute bugs, before a release of 2.69
268*d874e919Schristos	in the near future.
269*d874e919Schristos
270*d874e919Schristos	* NEWS: Mention the release.
271*d874e919Schristos	* HACKING: Update some instructions.
272*d874e919Schristos
273*d874e919Schristos2012-03-01  Eric Blake  <eblake@redhat.com>
274*d874e919Schristos
275*d874e919Schristos	maint: resync files from upstream
276*d874e919Schristos	* GNUmakefile: Resync via 'make fetch'.
277*d874e919Schristos	* build-aux/config.guess: Likewise.
278*d874e919Schristos	* build-aux/config.sub: Likewise.
279*d874e919Schristos	* build-aux/texinfo.tex: Likewise.
280*d874e919Schristos	* build-aux/update-copyright: Likewise.
281*d874e919Schristos	* doc/standards.texi: Likewise.
282*d874e919Schristos	* lib/Autom4te/Channels.pm: Likewise.
283*d874e919Schristos	* lib/Autom4te/Configure_ac.pm: Likewise.
284*d874e919Schristos	* lib/Autom4te/FileUtils.pm: Likewise.
285*d874e919Schristos	* lib/Autom4te/Getopt.pm: Likewise.
286*d874e919Schristos	* lib/Autom4te/Struct.pm: Likewise.
287*d874e919Schristos	* lib/Autom4te/XFile.pm: Likewise.
288*d874e919Schristos	* maint.mk: Likewise.
289*d874e919Schristos
290*d874e919Schristos2012-02-25  Eric Blake  <eblake@redhat.com>
291*d874e919Schristos
292*d874e919Schristos	tests: add test for AS_EXECUTABLE_P
293*d874e919Schristos	Now that this is public, we should regression test it.
294*d874e919Schristos
295*d874e919Schristos	* tests/m4sh.at (AS@&t@_EXECUTABLE): New test.
296*d874e919Schristos
297*d874e919Schristos2012-02-24  Eric Blake  <eblake@redhat.com>
298*d874e919Schristos
299*d874e919Schristos	m4sh: make AS_EXECUTABLE_P public
300*d874e919Schristos	In the process of making it public, factor it into a reusable
301*d874e919Schristos	function.  This makes constructs like AC_CHECK_PROGRAM smaller,
302*d874e919Schristos	as well as making libtool's naughty use of $as_executable_p safer.
303*d874e919Schristos
304*d874e919Schristos	* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Add a shell function.
305*d874e919Schristos	(AS_EXECUTABLE_P): Forward to shell function.
306*d874e919Schristos	* doc/autoconf.texi (Common Shell Constructs): Document it.
307*d874e919Schristos	* NEWS: Mention this.
308*d874e919Schristos
309*d874e919Schristos2012-02-24  Eric Blake  <eblake@redhat.com>
310*d874e919Schristos
311*d874e919Schristos	m4sh: require that 'test -x' works
312*d874e919Schristos	4.3BSD is no longer a reasonable portability target; and we are
313*d874e919Schristos	pretty sure that these days we can find at least one shell on any
314*d874e919Schristos	platform that supports 'test -x'.  Drop a horribly unsafe use of
315*d874e919Schristos	eval as a result. :)
316*d874e919Schristos
317*d874e919Schristos	Libtool still uses $as_executable_p without so much as calling
318*d874e919Schristos	either AS_TEST_X or AS_EXECUTABLE_P; even though the latter has
319*d874e919Schristos	existed, although undocumented, since at least 2.59; furthermore,
320*d874e919Schristos	libtool uses it in a context where filtering out directories
321*d874e919Schristos	would have been desirable.  Shame on them.
322*d874e919Schristos
323*d874e919Schristos	* lib/m4sugar/m4sh.m4 (_AS_TEST_X_WORKS): New probe.
324*d874e919Schristos	(AS_SHELL_SANITIZE, AS_INIT): Use it in shell searching.
325*d874e919Schristos	(AS_TEST_X, AS_EXECUTABLE_P): Simplify.
326*d874e919Schristos
327*d874e919Schristos2012-02-24  Eric Blake  <eblake@redhat.com>
328*d874e919Schristos
329*d874e919Schristos	doc: mention more pitfalls of file mode tests
330*d874e919Schristos	4.3BSD is museum-ware now, so we can assume that test -x exists;
331*d874e919Schristos	however, we still can't assume that it always does what we want.
332*d874e919Schristos
333*d874e919Schristos	* doc/autoconf.texi (Limitations of Builtins) <test (files)>:
334*d874e919Schristos	Treat 'test -x' as mostly portable, but mention problems with
335*d874e919Schristos	root user, ACLs, and TOCTTOU races.
336*d874e919Schristos
337*d874e919Schristos2012-02-16  Eric Blake  <eblake@redhat.com>
338*d874e919Schristos
339*d874e919Schristos	docs: tweak 'rm -f' limitations
340*d874e919Schristos	Based on http://debbugs.gnu.org/10819 and
341*d874e919Schristos	http://austingroupbugs.net/view.php?id=542
342*d874e919Schristos
343*d874e919Schristos	* doc/autoconf.texi (Limitations of Usual Tools) <rm>: More
344*d874e919Schristos	details on 'rm -f' without files.
345*d874e919Schristos
346*d874e919Schristos2012-02-10  Paul Eggert  <eggert@cs.ucla.edu>
347*d874e919Schristos
348*d874e919Schristos	maint: replace FSF snail-mail addresses with URLs
349*d874e919Schristos	* tests/erlang.at, tests/go.at, tests/statesave.m4:
350*d874e919Schristos	Replace FSF snail mail addresses with URLs, as per GNU coding
351*d874e919Schristos	standards, and for consistency with other tests.
352*d874e919Schristos
353*d874e919Schristos2012-01-28  Jim Meyering  <meyering@redhat.com>
354*d874e919Schristos
355*d874e919Schristos	maint: avoid "make syntax-check" failure
356*d874e919Schristos	* Makefile.am ($(srcdir)/INSTALL): Remove spurious space-before-TAB.
357*d874e919Schristos
358*d874e919Schristos2012-01-23  Eric Blake  <eblake@redhat.com>
359*d874e919Schristos
360*d874e919Schristos	tests: fix test regression due to additional output
361*d874e919Schristos	This test has been failing since commit 5285ea8c (sadly, since
362*d874e919Schristos	last July; thankfully, unreleased).
363*d874e919Schristos
364*d874e919Schristos	* tests/m4sugar.at (m4@&t@_require: nested): Fix test.
365*d874e919Schristos
366*d874e919Schristos2012-01-23  Eric Blake  <eblake@redhat.com>
367*d874e919Schristos
368*d874e919Schristos	INSTALL: convert to '' quoting, drop blank line at end
369*d874e919Schristos	This is allowed by recent GNU Coding Standards changes, and
370*d874e919Schristos	mirrors recent gnulib changes:
371*d874e919Schristos	https://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00267.html
372*d874e919Schristos	https://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00298.html
373*d874e919Schristos
374*d874e919Schristos	I've confirmed that after these changes, the INSTALL generated and
375*d874e919Schristos	installed by autoconf matches the INSTALL.ISO in gnulib.
376*d874e919Schristos
377*d874e919Schristos	* Makefile.am ($(srcdir)/INSTALL): Match gnulib INSTALL.ISO.
378*d874e919Schristos
379*d874e919Schristos2012-01-23  Jim Meyering  <meyering@redhat.com>
380*d874e919Schristos
381*d874e919Schristos	maint: convert .x-sc_* into exclude_file_name_regexp--sc_* exemptions
382*d874e919Schristos	Many of the .x-sc_* exemptions were no long necessary.  Remove those
383*d874e919Schristos	files and instead, provide exemptions via variable definitions in
384*d874e919Schristos	cfg.mk to address the few remaining exceptions.
385*d874e919Schristos	* .x-sc_prohibit_atoi_atof: Remove file.
386*d874e919Schristos	* .x-sc_space_tab: Likewise.
387*d874e919Schristos	* .x-sc_sun_os_names: Likewise.
388*d874e919Schristos	* .x-sc_trailing_blank: Likewise.
389*d874e919Schristos	* .x-sc_two_space_separator_in_usage: Likewise.
390*d874e919Schristos	* .x-sc_useless_cpp_parens: Likewise.
391*d874e919Schristos	* cfg.mk: Add minimal exemptions.
392*d874e919Schristos	* cfg.mk: Add minimal exemptions.
393*d874e919Schristos	* doc/standards.texi (Standard C): Address the sole useless-cpp-parens
394*d874e919Schristos	violation in this file:
395*d874e919Schristos	-#if defined (__STDC__) || defined (WINDOWSNT)
396*d874e919Schristos	+#if defined __STDC__ || defined WINDOWSNT
397*d874e919Schristos	With that, the only remaining offender is config.guess, whose name
398*d874e919Schristos	is now listed in cfg.mk.
399*d874e919Schristos	Suggested by Eric Blake.
400*d874e919Schristos
401*d874e919Schristos2012-01-23  Paul Eggert  <eggert@cs.ucla.edu>
402*d874e919Schristos
403*d874e919Schristos	doc: work around mingw-w64 alloca problem with example
404*d874e919Schristos	* doc/autoconf.texi (Particular Functions): In example code for
405*d874e919Schristos	alloca, do not re-#define alloca.  This works around a mingw-w64
406*d874e919Schristos	problem reported by Vincent Torri in
407*d874e919Schristos	<http://lists.gnu.org/archive/html/autoconf/2012-01/msg00018.html>.
408*d874e919Schristos
409*d874e919Schristos2012-01-21  Jim Meyering  <meyering@redhat.com>
410*d874e919Schristos
411*d874e919Schristos	maint: fix or disable failing syntax-check rules
412*d874e919Schristos	* cfg.mk (local-checks-to-skip): List failing tests, so we skip
413*d874e919Schristos	them, for now.
414*d874e919Schristos	(old_NEWS_hash): Update.
415*d874e919Schristos	* doc/autoconf.texi: Per suggestion from Eric Blake, obfuscate
416*d874e919Schristos	the first word of "Filesystem Hierarchy Standard" as File@/system
417*d874e919Schristos	so it continues to render as one word, yet doesn't trigger the
418*d874e919Schristos	syntax-check prohibition.
419*d874e919Schristos
420*d874e919Schristos	maint: also sync maint.mk and useless-if-before-free from gnulib
421*d874e919Schristos	* cfg.mk (gnulib-update): Add them to the list.
422*d874e919Schristos	* maint.mk: Update from gnulib.
423*d874e919Schristos	* build-aux/gitlog-to-changelog: Likewise.
424*d874e919Schristos	* build-aux/useless-if-before-free: New file, from gnulib.
425*d874e919Schristos	* doc/gnu-oids.texi: Update.
426*d874e919Schristos
427*d874e919Schristos	maint.mk: update from gnulib
428*d874e919Schristos	* maint.mk: Update.
429*d874e919Schristos
430*d874e919Schristos	maint: placate syntax-check rules: exempt some false positives
431*d874e919Schristos	* cfg.mk: Exempt maint.mk from the "undesirable word seq" check.
432*d874e919Schristos	Exempt maint.mk and autoconf.texi from the test_minus_ao check.
433*d874e919Schristos
434*d874e919Schristos	maint: tweak to avoid triggering space-tab-prohibiting syntax-check
435*d874e919Schristos	* tests/m4sh.at (nargs): Use TAB-SP, not SP-TAB in abusive file name,
436*d874e919Schristos	to avoid triggering the space-tab-prohibiting syntax-check.
437*d874e919Schristos
438*d874e919Schristos	maint: remove empty lines at EOF
439*d874e919Schristos	* man/autoconf.x: Remove empty line at EOF.
440*d874e919Schristos	* man/autoheader.x: Likewise.
441*d874e919Schristos	* man/autoscan.x: Likewise.
442*d874e919Schristos	* man/autoupdate.x: Likewise.
443*d874e919Schristos	* man/ifnames.x: Likewise.
444*d874e919Schristos	* tests/compile.at: Likewise.
445*d874e919Schristos	* doc/fdl.texi: Likewise.
446*d874e919Schristos
447*d874e919Schristos	doc: fix grammar/doubled-word errors
448*d874e919Schristos	* doc/autoconf.texi: Remove/fix doubled-word errors.
449*d874e919Schristos	Also, s/can not/cannot/.
450*d874e919Schristos	* lib/m4sugar/m4sh.m4: Reword "if IF" comment to avoid triggering
451*d874e919Schristos	the doubled-word warning.
452*d874e919Schristos
453*d874e919Schristos2012-01-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
454*d874e919Schristos
455*d874e919Schristos	maint: sync files from gnulib
456*d874e919Schristos	* GNUmakefile: Sync from gnulib.
457*d874e919Schristos	* build-aux/announce-gen: Likewise.
458*d874e919Schristos	* build-aux/config.guess: Likewise.
459*d874e919Schristos	* build-aux/config.sub: Likewise.
460*d874e919Schristos	* build-aux/git-version-gen: Likewise.
461*d874e919Schristos	* build-aux/gnupload: Likewise.
462*d874e919Schristos	* build-aux/move-if-change: Likewise.
463*d874e919Schristos	* build-aux/texinfo.tex: Likewise.
464*d874e919Schristos	* build-aux/update-copyright: Likewise.
465*d874e919Schristos	* build-aux/vc-list-files: Likewise.
466*d874e919Schristos	* doc/gendocs_template: Likewise.
467*d874e919Schristos	* doc/standards.texi: Likewise.
468*d874e919Schristos	* m4/autobuild.m4: Likewise.
469*d874e919Schristos
470*d874e919Schristos2012-01-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
471*d874e919Schristos
472*d874e919Schristos	maint: make position of gnulib checkout configurable
473*d874e919Schristos	Some gnulib-related tools (most prominently, the gnulib-provided
474*d874e919Schristos	'bootstrap' script) allow the user to define the position of his
475*d874e919Schristos	gnulib's repository checkout through the use of the 'GNULIB_SRCDIR'
476*d874e919Schristos	environment variable.  We should do the same, for consistency and
477*d874e919Schristos	to easily support slightly unusual layouts in developers' source
478*d874e919Schristos	trees.
479*d874e919Schristos
480*d874e919Schristos	* cfg.mk (gnulib_dir): Define to "$GNULIB_SRCDIR" if that's set,
481*d874e919Schristos	and to default value of "'$(abs_srcdir)'/../gnulib" otherwise.
482*d874e919Schristos	Update comments.
483*d874e919Schristos
484*d874e919Schristos2012-01-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
485*d874e919Schristos
486*d874e919Schristos	getopt: sync from Automake repository
487*d874e919Schristos	* lib/Autom4te/Getopt.am: The master copy of this file has
488*d874e919Schristos	been moved to the  Automake repository (see Automake commit
489*d874e919Schristos	'v1.11-662-g52246cc' 2012-01-18, "cmdline parsing: move into
490*d874e919Schristos	a dedicated perl module").  So we now we sync it from there,
491*d874e919Schristos	by listing it ...
492*d874e919Schristos	* cfg.mk (autom4te_files): ... in this variable.
493*d874e919Schristos
494*d874e919Schristos2012-01-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
495*d874e919Schristos
496*d874e919Schristos	build: fix automake error due to missing ChangeLog
497*d874e919Schristos	Apparently, Automake does not accept the '$(srcdir)/ChangeLog'
498*d874e919Schristos	target in Makefile.am as a declaration that ChangeLog is
499*d874e919Schristos	automatically generated (and thus does not need to exist at
500*d874e919Schristos	automake time).  One has to use a *literal* 'ChangeLog' target.
501*d874e919Schristos
502*d874e919Schristos	Problem introduced in commit v2.68-118-g6ed5195 of 2012-01-17,
503*d874e919Schristos	"maint: generate ChangeLog from git log".
504*d874e919Schristos
505*d874e919Schristos	* Makefile.ma ($(srcdir)/ChangeLog): Renamed ...
506*d874e919Schristos	(ChangeLog): ... to this.
507*d874e919Schristos
508*d874e919Schristos2012-01-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
509*d874e919Schristos
510*d874e919Schristos	getopt: new Autom4te::Getopt module
511*d874e919Schristos	* lib/Autom4te/General.pm (getopt): Move the guts of its
512*d874e919Schristos	implementation ...
513*d874e919Schristos	* lib/Autom4te/Getopt.pm (parse_options): .. into this function
514*d874e919Schristos	in the new Autom4te::Getopt module.  This will make it simpler
515*d874e919Schristos	for the implementation to be shared with other projects (right
516*d874e919Schristos	now, Automake).
517*d874e919Schristos	* lib/Automake/Makefile.am (dist_perllib_DATA): Add the new
518*d874e919Schristos	module.
519*d874e919Schristos
520*d874e919Schristos2012-01-17  Jim Meyering  <meyering@redhat.com>
521*d874e919Schristos
522*d874e919Schristos	tests: avoid spurious failure for each gnu-fortran-using test
523*d874e919Schristos	The tests compare pre- and post-run lists of envvars, which must
524*d874e919Schristos	be the same, modulo a list of known, filtered-out exceptions.
525*d874e919Schristos	However, when running fortran-checking tests with GNU fortran, each
526*d874e919Schristos	would fail due to the post-run addition of the GFC symbol added in
527*d874e919Schristos	v2.68-97-gbd962ac.
528*d874e919Schristos	* tests/local.at (AT_CHECK_ENV): Add GFC to the list of symbols
529*d874e919Schristos	that we ignore in pre-/post-run environment diffs.
530*d874e919Schristos
531*d874e919Schristos2012-01-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
532*d874e919Schristos
533*d874e919Schristos	maint: generate ChangeLog from git log
534*d874e919Schristos	Following the practice set by various other GNU projects, we start
535*d874e919Schristos	to automatically generate the ChangeLog file from the git commit
536*d874e919Schristos	messages.  This will avoid duplication (as the ChangeLog entries
537*d874e919Schristos	were always inserted both in the git commit message and in the
538*d874e919Schristos	version-controlled ChangeLog file), and potential problems with
539*d874e919Schristos	spurious merge conflicts (which, although greatly mitigated by
540*d874e919Schristos	Bruno Haible's `git-merge-changelog' helper program, have never
541*d874e919Schristos	been completely solved).
542*d874e919Schristos
543*d874e919Schristos	* ChangeLog: Moved ...
544*d874e919Schristos	* ChangeLog.3: ... to this.
545*d874e919Schristos	* build-aux/gitlog-to-changelog: New script, synced from gnulib.
546*d874e919Schristos	* cfg.mk (gnulib-update): Also sync gitlog-to-changelog.
547*d874e919Schristos	* Makefile.am (gen-ChangeLog): New .PHONY rule, generate the
548*d874e919Schristos	ChangeLog for distribution.
549*d874e919Schristos	(dist-hook): Depend on it.
550*d874e919Schristos	($(srcdir)/ChangeLog): New dummy rule, to pacify automake "gnu"
551*d874e919Schristos	strictness.  Creates a dummy ChangeLog, that will be overridden
552*d874e919Schristos	by the proper one at distribution time.
553*d874e919Schristos	(gen_start_date): New variable, the date starting from which the
554*d874e919Schristos	git log entries are to be copied in the generated ChangeLog.
555*d874e919Schristos	(EXTRA_DIST): Add ChangeLog.3 and gitlog-to-changelog.
556*d874e919Schristos	* configure.ac (AC_CONFIG_SRCDIR): Use 'lib/autoconf/autoconf.m4'
557*d874e919Schristos	instead of 'ChangeLog' as the sentinel file.
558*d874e919Schristos	* .gitignore: Add ChangeLog.
559*d874e919Schristos
560*d874e919Schristos2012-01-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
561*d874e919Schristos
562*d874e919Schristos	cosmetics: fix some typos in ChangeLog
563