Merge branch 'maint' into yacc-work
[platform/upstream/automake.git] / ChangeLog
1 2011-04-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
2
3         coverage: test mixed C/C++ yacc-generated parsers in the same dir
4         * tests/yacc-mix-c-cxx.test: New test.
5         * tests/Makefile.am (TESTS): Update.
6
7 2011-04-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
8
9         cosmetics: fix typos and wording in some yacc tests
10         * tests/yacc-cxx.test (foo.cc): Clarify comment about the content
11         of this file being valid C++ but invalid C.
12         (parse1.yy): Likewise.  Also, remove redundant parentheses in a
13         `return' statement.
14         * tests/yacc-d-cxx.test (write_parse): Clarify comment about the
15         content of the generated files being valid C++ but invalid C.
16         (write_main): Likewise.
17         * tests/yacc-basic.test: Remove redundant parentheses in a
18         `return' statement.
19         * tests/yacc-d-vpath.test: Adjust spacing around curly brackets.
20         * tests/yaccvpath.test: Likewise.
21         * tests/yaccdry.test: Likewise.
22         * tests/yacc8.test: Likewise.
23         * tests/yacc4.test: Likewise.
24         Suggested by Ralf Wildenhues.
25
26 2011-04-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
27
28         yacc: update NEWS and docs about yacc-generated headers extensions
29         * doc/automake.texi (Yacc and Lex): Document explicitly that
30         extensions of yacc-generated headers are modelled after the
31         extension of the corresponding sources.
32         * NEWS: Update.
33
34 2011-01-28   Stefano Lattarini  <stefano.lattarini@gmail.com>
35
36         yacc: extension of headers modelled after extension of sources
37         With this change, if '-d' is in *YFLAGS, a yacc input file named
38         foo.y++ will cause a foo.h++ header to be generated, instead of a
39         foo.h header.  Similarly for foo.ypp, foo.yxx and foo.yy.
40         This way, the name of the files generated by an automake-created
41         `ylwrap' invocation should be consistent with those generated by
42         a `bison -o' call.
43         Related to automake bug#7648 and PR automake/491.
44         * lib/am/yacc.am (am__yacc_c2h): New internal variable.
45         (?GENERIC?%EXT%%DERIVED-EXT%, ?!GENERIC?%OBJ%): Get the name of
46         the header dynamically at make runtime, so that its extension is
47         modelled after the extension of the source.
48         * automake.in (lang_yacc_target_hook): Adjust the calculation of
49         `$header' accordingly.
50         * tests/yacc-cxx.test: New test.
51         * tests/yacc-d-cxx.test: Likewise.
52         * tests/yacc-weirdnames.test: Likewise.
53         * tests/yacc-basic.test: Update comments.
54         * tests/yacc-d-basic.test: Likewise.
55         * tests/yaccpp.test: Updated and extended.
56         * tests/Makefile.am (TESTS): Update.
57
58 2011-01-29  Stefano Lattarini  <stefano.lattarini@gmail.com>
59
60         tests: don't define YACC and LEX in the Makefiles
61         We don't want YACC and LEX defined as make variables, otherwise
62         the values determined at configure time will override those from
63         the environment, even in the make-spawned testcases.  For example,
64         before this change, with the following usage:
65           $ ./configure YACC=yacc
66           $ export YACC='bison -y'
67           $ make check
68         the testsuite would have ended up, very counterintuitively, with
69         YACC defined to 'yacc' in the testcases' environment.
70         * configure.ac: Call `AM_SUBST_NOTMAKE' on YACC and LEX.
71
72 2011-01-29  Stefano Lattarini  <stefano.lattarini@gmail.com>
73
74         tests: fix spurious failures in lflags*.test
75         * tests/lflags.test: Remove 'LEX' from the environment, so
76         that it won't be erroneously picked up by `make -e'.
77         * tests/lflags2.test: Likewise.
78
79 2011-01-29   Stefano Lattarini  <stefano.lattarini@gmail.com>
80
81         coverage: more on 'yacc -d' and recovery from deleted headers
82         * tests/yacc-deleted-headers.test: New test.
83         * tests/Makefile.am (TESTS): Update.
84
85 2011-01-29   Stefano Lattarini  <stefano.lattarini@gmail.com>
86
87         tests: remove redundancy from silent lex/yacc tests
88         * tests/silent-yacc-gcc.test, tests/silent-yacc-generic.test: Merge
89         these two testcases into ...
90         * tests/silent-yacc.test: ... this new one, which doesn't fiddle
91         which dependency tracking, as that shouldn't impact on generation
92         of yacc-derived C source and header files (and, for what concerns
93         compilation of C files, is already tested in other testcases).
94         * tests/silent-lex-gcc.test, tests/silent-lex-generic.test: Merge
95         these two testcases into ...
96         * tests/silent-lex.test: ... this new test, for similar reasons.
97         * tests/Makefile.am (TESTS): Update.
98
99 2011-01-29  Stefano Lattarini  <stefano.lattarini@gmail.com>
100             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
101
102         tests init: better messages for 'yacc' and 'lex' requirements
103         * tests/defs.in: Give better diagnostic messages when a test must
104         be skipped to the unavailability of yacc or lex program.  Also,
105         improve syncing between code for requiring yacc and lex.
106
107 2011-01-28  Stefano Lattarini  <stefano.lattarini@gmail.com>
108
109         configure: look for a lex program to be used by the testsuite
110         This will allow the testcases requiring a 'lex' program to run also
111         with vendor/legacy lex implementations, not only with 'flex'.
112         * configure.ac: Look for a lex program, using AC_CHECK_PROGS.
113         * tests/defs.in: New required entry 'lex'.
114         ($LEX): Let the user override the lex program to be used by the
115         testsuite.
116         * tests/cond35.test ($required): Require 'lex', not 'flex'.
117         * tests/cond36.test: Likewise.
118         * tests/lexv3.test: Likewise.
119         * tests/lexv3.test: Likewise.
120         * tests/silent-lex-gcc.test: Likewise.
121         * tests/silent-lex-generic.test: Likewise.
122         * tests/silent-many-gcc.test: Likewise.
123         * tests/silent-many-generic.test:likewise.
124         * tests/lexvpath.test: Likewise, and fix typo in comments.
125
126 2011-01-22   Stefano Lattarini  <stefano.lattarini@gmail.com>
127
128         configure: look for a yacc program to be used by the testsuite
129         Instead of forcing the user to manually export 'YACC' in the
130         testsuite to use a non-bison yacc, we now look for a yacc program
131         at configure time, and use that as the default in the testsuite.
132         * configure.ac: Look for a yacc program, using AC_CHECK_PROGS.
133         * tests/defs.in: Updated to use the value of $YACC precomputed by
134         configure, unless the user overrides that in the environment.
135
136 2011-01-22   Stefano Lattarini  <stefano.lattarini@gmail.com>
137
138         tests: more coverage on yacc/lex silent-rules, plus minor cleanups
139         * tests/silent-yacc-gcc.test: Add sanity checks verifying that the
140         generated Makefile.in files really contains the non-generic rules
141         we expect.  Do not redundantly manually remove files we know to be
142         already removed "make maintainer-clean".
143         (Makefile.am): Ensure we cover also non-generic yacc rules, by
144         setting target-specific YFLAGS.
145         (sub/Makefile.am): Likewise.
146         * tests/silent-yacc-generic.test: Likewise.
147         * tests/silent-lex-gcc.test: Likewise, but with LFLAGS instead of
148         YFLAGS.
149         * tests/silent-lex-generic.test: Likewise.
150         * tests/silent-many-gcc.test: Likewise, but with both LFLAGS and
151         YFLAGS.  Also ...
152         (do_and_check_verbose_build): Remove redundant blank line.
153         * tests/silent-many-generic.test: Likewise.
154         * tests/silent-yacc-headers.test: New test.
155         * tests/Makefile.am (TESTS): Update.
156
157 2011-01-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
158
159         tests: fix spurious failures in yflags*.test
160         * tests/yflags.test: Remove 'YACC' from the environment, so
161         that it won't be erroneously picked up by `make -e'.
162         * tests/yflags2.test: Likewise.
163
164 2011-01-22   Stefano Lattarini  <stefano.lattarini@gmail.com>
165
166         tests: cover yacc target-specific flags, and `-v' flag handling
167         * tests/yacc-basic.test: Also try to build a parser having `-v'
168         as target-specific flags.  Add a couple of `ls -l' commands, for
169         debugging.  Update and extend comments.  Escape literal dots in
170         grep regular expressions.
171
172 2011-01-12   Stefano Lattarini  <stefano.lattarini@gmail.com>
173
174         docs: clustered '-d' not recognized in YFLAGS
175         This change fixes automake bug#7828.
176         * doc/automake.texi (Yacc and Lex): Document that automake
177         recognizes '-d' in AM_YFLAGS only if it's not clustered with
178         other options.
179         From a report by Юрий Пухальский.
180
181 2011-01-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
182
183         tests: do not force yacc-requiring tests to use bison
184         * tests/defs.in: New required entry 'yacc'.  Remove old
185         required entry 'bison'.
186         * tests/cond35.test ($required): Require yacc, not bison.
187         * tests/cond36.test: Likewise.
188         * tests/pr204.test: Likewise.
189         * tests/silent-many-gcc.test: Likewise.
190         * tests/silent-many-generic.test: Likewise.
191         * tests/silent-yacc-gcc.test: Likewise.
192         * tests/silent-yacc-generic.test: Likewise.
193         * tests/subpkg.test: Likewise.
194         * tests/suffix10.test: Likewise.
195         * tests/yacc-basic.test: Likewise.
196         * tests/yacc-clean.test: Likewise.
197         * tests/yacc-d-basic.test: Likewise.
198         * tests/yacc-d-vpath.test: Likewise.
199         * tests/yacc-dist-nobuild.test: Likewise.
200         * tests/yacc-nodist.test: Likewise.
201         * tests/yacc4.test: Likewise.
202         * tests/yacc6.test: Likewise.
203         * tests/yacc7.test: Likewise.
204         * tests/yacc8.test: Likewise.
205         * tests/yaccdry.test: Likewise.
206         * tests/yaccvpath.test: Likewise.
207
208 2011-01-10   Stefano Lattarini  <stefano.lattarini@gmail.com>
209
210         yacc: warn about conditional content in *YFLAGS variables
211         This change fixes automake bug#7804.
212         * automake.in (lang_yacc_target_hook): Warn if any of the relevant
213         *YFLAGS variables has conditional contents (not only a conditional
214         definition).  Related refactoring.
215         * NEWS: Updated.
216         * tests/yflags-conditional.test: Updated and extended.
217         * tests/yflags-conditional-force.test: New test.
218         * tests/Makefile.am (TESTS): Updated.
219
220 2011-01-08   Stefano Lattarini  <stefano.lattarini@gmail.com>
221
222         yacc: support variable expansions in *YFLAGS definition.
223         This change fixes automake bug#7800.
224         * automake.in (lang_yacc_target_hook): Use 'value_as_list_recursive'
225         instead of 'variable_value' to get the value of *YFLAGS variables.
226         Related changes.
227         ($DASH_D_PATTERN): Removed.
228         * tests/Makefile.am (XFAIL_TESTS): Remove yflags-var-expand.test.
229         * tests/yacc-clean.test: Remove workaround for now-fixed bug.
230         * NEWS: Update.
231
232 2011-01-08   Stefano Lattarini  <stefano.lattarini@gmail.com>
233
234         yacc: more tests on *YFLAGS support
235         * tests/yflags-var-expand.test: New test, still xfailing.  It
236         exposes automake bug#7800 -- "automake fails to honor `-d' in
237         AM_YFLAGS when variable expansions are involved".
238         * tests/yflags-d-false-positive.test: New test, checking that
239         automake do not spuriously see `-d' in *YFLAGS when that isn't
240         really there.
241         * tests/yflags-force-override.test: New test, checking that
242         automake can cope with definition of the YFLAGS variable in
243         Makefile.am (even if that is an extremely bad practice, as that
244         variable is user-reserved).
245         * tests/yflags-cmdline-override.test: New test, checking that
246         automake can cope with user-redefinition of YFLAGS at configure
247         time and/or at make time.
248         * tests/yflags-conditional.test: New test, checks that automake
249         warns on conditionally-defined *YFLAGS variables.
250         * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
251
252 2011-01-08   Stefano Lattarini  <stefano.lattarini@gmail.com>
253
254         yacc: extend and improve tests
255         * tests/yacc-basic.test: Also check that the intermediate C file
256         is mentioned in the generated Makefile.in, and that it is created
257         by the first make invocation.
258         * tests/yacc3.test: Test removed, superseded by ...
259         * tests/yacc-d-basic.test: ... this new test.
260         * tests/yacc2.test: Add reference to that new test in the heading
261         comments.
262         * tests/yacc-d-vpath.test: New test.
263         * tests/yaccvpath.test: Updated heading comments.  Do not require
264         gcc anymore, as any working C compiler should be enough.  Remove
265         redundant comments.
266         * tests/yacc-nodist.test: New test.
267         * tests/yacc-dist-nobuild.test: New test.
268         * tests/Makefile.am (TESTS): Update.
269
270 2010-12-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
271
272         Extend, fix and improve tests on Lex and Yacc support.
273         * tests/lexcpp.test: New test script, on support for Lex + C++.
274         * tests/lexvpath.test: New test script, test build and rebuild
275         rules for lexers in VPATH setup.
276         * tests/yacc-basic.test: New test script, run simple "semantic"
277         checks on basic Yacc support (similarly to what lex3.test does
278         for Lex support).
279         * tests/lex.test: Don't create useless dummy source file joe.l.
280         Remove extra blank lines.
281         * tests/lex4.test: Add trailing `:' command.  Do not create dummy
282         useless lex source file.
283         * tests/lex2.test: Likewise.  Call automake with the `-a' option,
284         so that it doesn't fail for the absence of `ylwrap' script.  Make
285         grepping of automake stderr stricter.
286         * tests/yacc7.test: Add trailing `:' command.  Enable `errexit'
287         shell flag earlier (just after having sourced ./defs).
288         * tests/yacc4.test: Likewise.  Also ...
289         (configure.in): Use pre-populated skeleton set up by ./defs,
290         instead of writing one from scratch.
291         Other minor cosmetic changes.
292         * tests/yacc5.test: Likewise.
293         * tests/yaccvpath.test: Likewise. Also ...
294         ($distdir): New variable.
295         Use it throughout.
296         * tests/lex5.test: Likewise.
297         * tests/lex3.test: Likewise.  Check the distdir, rather than
298         grepping the distribution tarball.  Extend the test on the
299         created binary, and be sure to avoid hangs.  Add some comments.
300         * tests/yacc.test: Use stricter grepping.  Add trailing `:'.
301         * tests/yacc6.test: Likewise.
302         * tests/yacc3.test: Likewise.  Do not create the unused file
303         `Makefile.sed'.  Remove useless rules from Makefile.am.  Other
304         minor cosmetic changes.
305         * tests/yacc2.test: Make grepping of generated `Makefile.in' and
306         of automake error messages stricter.  Do not redirect output of
307         grep to /dev/null.  Move call to aclocal earlier.  Reduce the
308         number of empty blank lines.  Fix a typo in comments.
309         * tests/yacc8.test: Fixed bugs that reduced the completeness of
310         the tests.  Added trailing `:' command.
311         (configure.in): Use pre-populated skeleton set up by ./defs,
312         instead of writing one from scratch.
313         * tests/yaccpp.test: Test also extensions `.y++', `.ypp', and
314         `.yxx', rather than only `.yy'.
315         * tests/Makefile.am (TESTS): Update.
316
317 2011-01-07   Stefano Lattarini  <stefano.lattarini@gmail.com>
318
319         yacc: "make clean" removes .c and .h files from non-distributed .y
320         Previously, while automake did *not* distribute C source and header
321         files derived from non-distributed Yacc sources, it still caused
322         them to be removed only by "make maintainer-clean" only, and not by
323         simply "make clean" or "make distclean".
324         This caused "make distcheck" to fail, unless the developer put
325         those generated .c and .h files in CLEANFILES or in DISTCLEANFILES
326         by hand.
327         This change fixes this issue, by making non-distributed `.c' and
328         `.h' files generated by non-distributed Yacc sources cleaned by
329         "make clean".
330         * tests/automake.in (lang_yacc_target_hook): Make C source and
331         header files derived from non-distributed Yacc files cleaned by
332         "make clean", not only by "make maintainer-clean".
333         * tests/yacc-clean.test: New test.
334         * tests/Makefile.am (TESTS): Update.
335         * NEWS: Update.
336
337 2011-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
338
339         depcomp: fix bugs in tests and in the depcomp script
340         * lib/depcomp (gcc): Remove duplicated `-e' from sed invocation.
341         * tests/depcomp10.test: Make it executable.  Fix a blunder that
342         has left part of an intended comment not prefixed by `#', thus
343         causing shell syntax errors.  In this same comment, break a
344         too-long reported error message on multiple lines, for clarity.
345         Add reference to the relevant bug report.  Add a comment which
346         explains why the test result 'skipped' if the first "make" call
347         fails.  Add other useful comments.
348         * tests/depcomp9.test: Slightly improve comments.
349
350 2011-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
351
352         Fix hp depmode for VPATH builds with GNU make.
353         * lib/depcomp: Be sure to remove VPATH-prefixed object from
354         dependency output when creating stub rule.
355         * tests/depcomp10.test: New test.
356         * tests/Makefile.am (TESTS): Update.
357         * NEWS: Update.
358         Report by Bruno Haible.
359
360 2011-04-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
361
362         test defs: fix 'javac' requirement for older JDK versions
363         The Java compiler from JDK 1.5 (and presumably earlier versions)
364         cannot handle the `-version' option by itself; and while it does
365         print the version number, it then errors out with an usage error:
366           $ javac -version
367           javac 1.5.0_22
368           javac: no source files
369           Usage: javac <options> <source files>
370           ...
371         Luckily, adding the `-help' option to the `javac' invocation
372         seems to fix this problem.
373         * tests/defs.in (javac): Pass also the `-help' option to the
374         `javac' program.  Add a comment explaining why it is needed.
375         Report from Ralf Wildenhues.
376
377 2011-04-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
378
379         test defs: new requirement for the default java compiler
380         * tests/defs.in (for tool in $required): New requirement 'javac'.
381         * tests/java.test: Use it instead of ad-hoc configure check.
382         * tests/java-check.test: Likewise.
383         * tests/instfail-java.test: Likewise.
384         * tests/instdir-java.test: Likewise.
385
386 2011-04-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
387
388         java: check_JAVA does not cause compilation by "make all" anymore
389         Fixes automake bug#8234.
390         * automake.in (handle_java): Make stamp of class files built from
391         java sources in $(check_JAVA) a dependency of `check' target, not
392         `all' target.
393         * tests/java-check.test: New test.
394         * tests/Makefile.am (TESTS): Update.
395         * NEWS: Update.
396         * THANKS: Update.
397         Report from Petteri Räty.
398
399 2011-04-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
400
401         Clarify regex code in depcomp.
402         * lib/depcomp: Add comment why we don't need regex-escaping here.
403         Suggested by Stefano Lattarini.
404
405 2011-04-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
406
407         Fix makedepend depmode for VPATH builds.
408         * lib/depcomp [makedepend]: Remove any VPATH prefix from the
409         object file name, so a rebuild doesn't attempt to update the
410         .Po files in the source tree.
411         * tests/depcomp9.test: New test.
412         * tests/Makefile.am (TESTS): Update.
413         * NEWS: Update.
414
415 2011-04-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
416
417         tests: fix timestamp-related failures
418         Fixes automake bug#8365.
419         * tests/aclocal6.test: Sleep before modifying m4 files that should
420         trigger remake rules.  Remove incorrect/obsoleted comments.
421         * tests/subdir5.test: Likewise, and extend a bit.
422         * tests/subdir8.test: Likewise.
423         * tests/pr8365-remake-timing.test: New xfailing test.
424         * tests/Makefile.am (TESTS): Update.
425         Report from Sam Steingold.
426
427 2011-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
428
429         Create subdirs for generated sources even when not dep tracking.
430         * automake.in (handle_single_transform): If $object is derived
431         and lands in subdir, be sure to output a dirstamp dependency.
432         * tests/yacc5.test: Avoid falsely matching the dirstamp
433         dependency when grepping for a rule.
434         * tests/lex-subobj-nodep.test: New test.
435         * tests/Makefile.am (TESTS): Update.
436         * THANKS: Update.
437         Report by Ignacy Gawedzki.
438
439         Fix locale issue in check-exported-srcdir.test.
440         * tests/check-exported-srcdir.test: Reformulate glob to not fail
441         in a locale that ignores or interleaves character case.
442
443 2011-04-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
444
445         docs: better visibility for aclocal in the index
446         * doc/automake.texi (@menu): Rename title for entry 'configure'
447         from "Scanning configure.ac or configure.in" to the more precise
448         "Scanning configure.ac, using aclocal".
449         (@detailmenu): Adjust.
450         (@node configure): Adjust, and extend @cindex calls accordingly.
451         * THANKS: Update.
452         From a report by Maynard Johnson.
453
454 2011-03-30  Stefano Lattarini  <stefano.lattarini@gmail.com>
455
456         tests: improve tests on "maintainer-clean" target
457         * tests/aclocal6.test: Move checks related to "maintainer-clean"
458         functionalities into ...
459         * tests/maintclean-vpath.test: ... this new test.
460         * tests/maintclean.test: Update heading comments.  Extend to also
461         test subdirs.  Remove useless disabling of YACC.  Fix m4 quoting
462         in configure.in.  Add a trailing `:' command.  Remove extra blank
463         lines.
464         * tests/Makefile.am (TESTS): Update.
465
466 2011-03-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
467
468         tests: fix unindent to use printf not echo for script.
469         * tests/defs.in: Use printf rather than echo, as the latter may
470         interpret the backslashes in the sed script.  Fixes test
471         failures with dash as /bin/sh.
472
473 2011-03-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
474             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
475
476         maintcheck: look for problematic names of testcases
477         The configure.in stub created by default by `tests/defs' obtains
478         the first argument of AC_INIT from the test name, and this can
479         cause some supported autoconf versions to fail with a spurious
480         error if that test name contains the name of an m4 or m4sugar
481         builtin or macro (e.g., `defn' or `m4_undefine').
482         See for example the bug fixed by commit v1.11-287-g1325a8a.
483         This change add a maintainer check that warns about test names
484         which are possibly problematic in this regard.
485         * Makefile.am (sc_test_names): New maintainer-check target.
486         (syntax_check_rules): Add it.
487         (m4_builtins): New helper variable.
488         (TESTS): Updated according to the following renamings.
489         * tests/include.test: Renamed ...
490         * tests/hdr-vars-defined-once.test: ... to this.
491         * tests/sinclude.test: Renamed ...
492         * tests/m4-inclusion.test: ... to this, and simplified
493         accordingly.
494         * tests/include2.test: Renamed ...
495         * tests/dist-included-parent-dir.test: ... to this, for
496         consistency.
497
498 2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
499
500         tests: fix bug in alloca*.test
501         * tests/alloca.test: Make grepping of automake stderr stricter,
502         add a trailing `:' command; also, add AC_PROG_CC to configure.in,
503         and create a dummy alloca.c file, to ensure that we fail for the
504         proper reason.
505         * tests/alloca2.test: Likewise.  Also, look for LT_INIT, not
506         AC_PROG_LIBTOOL, in the error message (bug introduced with commit
507         v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
508         primary is used").
509         From a report by Patrick Welche.
510
511 2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
512
513         tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
514         * tests/comments-in-var-defn.test: The configure.in stub created
515         by default, which has the AC_INIT first argument obtained by the
516         test name, causes autoconf 2.62 to fail with a spurious error
517         message like: "configure.in:1: error: defn: undefined macro:".
518         Thus, to prevent this, the test is renamed to ...
519         * tests/comments-in-var-def.test: ... this.
520         * tests/Makefile.am (TESTS): Updated.
521
522 2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
523
524         cosmetics: convert encoding from ISO-8859 to UTF-8
525         * ChangeLog.03: Convert encoding to UTF-8.
526         * ChangeLog.96: Likewise.
527         * ChangeLog.98: Likewise.
528         * NEWS: Likewise.
529         * TODO: Likewise.
530
531 2011-03-01  Peter Rosin  <peda@lysator.liu.se>
532
533         test defs: unindent without temporary file
534         * tests/defs.in (commented_sed_unindent_prog): Commented Sed program
535         that strips the "proper" amount of leading whitespace.
536         (unindent): Lazily strip comments from the above program and use it
537         to unindent without using a temporary file.
538
539 2011-02-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
540
541         libtool: suggest LT_INIT if LTLIBRARIES primary is used
542         When the LTLIBRARIES primary was used, but $(LIBTOOL) wasn't
543         defined, automake suggested to add a call to AC_PROG_LIBTOOL
544         in configure.ac.  But that macro is deprecated since Libtool
545         version 1.9b (2004-08-29), in favor of the newer LT_INIT.  So
546         suggest the use of this latter macro instead.
547         * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL'
548         with 'LT_INIT', not with 'AC_PROG_LIBTOOL'.
549         * libtool4.test: Adjust and extend.  Also, add a call to macro
550         AC_PROG_CC in configure.in, to help ensuring that automake does
551         not fail for the wrong reasons.
552         * ltinit.test: New test, ensure that automake's libtool support
553         works with LT_INIT-based interface.
554         Thanks to Jack Kelly for the suggestion.
555
556 2011-02-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
557
558         tests: tempdirs with restrictive permissions are cleaned correctly
559         Before this change, the removal of a temporary test directory
560         containing subdirectories with restrictive permissions (such as
561         'r--r--r--') could fail.
562         * tests/defs: Ensure that all the subdirectories of a temporary
563         test directory have the 'read', 'write' and 'execute' bits set,
564         before trying to remove it with `rm -rf'.
565         * tests/Makefile.am (clean-local-check): Likewise.
566
567 2011-02-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
568             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
569
570         test defs: add subroutine for input unindenting
571         * tests/defs.in (unindent): New subroutine.
572
573 2011-02-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
574
575         python: report the 'PYTHON' influential environment variable
576         * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
577         * doc/automake.texi (Python): Update and extend.
578         * tests/help-python.test: New test.
579         * tests/Makefile.am (TESTS): Update.
580         * THANKS (Jack Kelly): Update e-mail address.
581         Suggestion by Jack Kelly.
582
583 2011-02-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
584
585         tests defs: clear TESTS_ENVIRONMENT variable
586         * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
587         from environment won't interfere with the testcases.
588         Suggestion by Ralf Wildenhues.
589
590 2011-02-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
591
592         tests: tweak few tests on simple and parallel test drivers
593         * tests/check-exported-srcdir.test: Improve heading comments.
594         * tests/check-tests-in-builddir.test: Likewise.  Also, unset the
595         `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
596         environment won't risk to interfere with the test.
597         Suggestions by Ralf Wildenhues.
598
599 2011-02-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
600
601         coverage: more tests on simple and parallel test drivers
602         * tests/parallel-tests-subdir.test: New test.
603         * tests/check-exported-srcdir.test: Likewise.
604         * tests/check-tests-in-builddir.test: Likewise.
605         * tests/check-tests_environment.test: Likewise.
606         * tests/Makefile.am (TESTS): Update.
607
608 2011-01-29  Stefano Lattarini  <stefano.lattarini@gmail.com>
609
610         tests: fix spurious failures in lflags*.test
611         * tests/lflags.test: Remove 'LEX' from the environment, so
612         that it won't be erroneously picked up by `make -e'.
613         * tests/lflags2.test: Likewise.
614
615 2011-01-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
616
617         docs: color-tests issues with parallel make
618         * doc/automake.texi (Simple Tests): Document that automatic
619         recognition of a capable terminal attached to stdout can fail
620         with some make implementation when running in parallel mode,
621         thus causing colored test output not to be automatically
622         activated when it should.
623
624 2011-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
625
626         tests: avoid instspc.test failures due to make's whitespace trimming
627         * tests/instspc.test: Prepend './' when passing the test
628         characters, to avoid leading whitespace characters to be trimmed
629         from macros set from environment variables.  Fixes testsuite
630         failures with HP-UX, IRIX, and Tru64/OSF make.
631
632 2011-01-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
633
634         coverage: test semantics of "dummy" per-target flags
635         * tests/specflg-dummy.test: New test, ensuring that even "dummy"
636         per-target flags triggers the use of renamed objects.
637         * tests/Makefile.am (TESTS): Update.
638         Suggestion by Ralf Wildenhues.
639
640 2011-01-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
641
642         tests defs: sanitize IFS
643         * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
644         ($sp): New variable, holding a single whitespace character.
645         ($tab): New variable, holding a tabulation character.
646         ($nl): New variable, holding a newline character.
647
648 2011-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
649
650         tests: fix VPATH auto-expansion workarounds.
651         * tests/parallel-tests8.test, tests/suffix13.test:
652         Ensure $< is not surrounded by white space, to prevent Solaris
653         make from applying automatic VPATH text expansion.
654
655 2011-01-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
656
657         tests: fix spurious failures in yflags*.test
658         * tests/yflags.test: Remove 'YACC' from the environment, so
659         that it won't be erroneously picked up by `make -e'.
660         * tests/yflags2.test: Likewise.
661
662 2011-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
663
664         tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
665         * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
666         `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
667         up its internal memory when copying this tree.
668
669 2011-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
670             Stefano Lattarini  <stefano.lattarini@gmail.com>
671
672         Add comment to check-TESTS rule working around make 3.80 bug.
673         * lib/am/check.am (check-TESTS): Update comment.
674
675 2011-01-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
676
677         tests: less strict double-colon spy.test again.
678         * tests/spy.test: We know BSD make doesn't invoke more than one
679         double-colon rule, so no need to expose that failure.
680
681 2011-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
682
683         install-sh: avoid Tru64 sh `test' operator precedence issues.
684         * lib/install-sh: Protect file names and directory components
685         that consist of `=', `(', `)', or `!'.  Move protection as early
686         as possible, to avoid errors such as with Tru64 sh `test -z ='.
687         * tests/instsh2.test: Extend test to cover more possibilities.
688         Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
689
690 2011-01-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
691             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
692
693         docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
694         * doc/automake.texi (Simple Tests): Do not claim Automake uses
695         TESTS_ENVIRONMENT for the perl driver.  Instead, point to the
696         parallel-tests driver.
697
698 2011-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
699
700         Allow _AM_DEPENDENCIES to be used later in configure.
701         * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
702         conftest.dir before recreating it.
703         Fixes bug#7864.
704         Report by Eric Blake, from report by Scott McCreary against M4.
705
706 2011-01-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
707
708         tests: avoid failure on w32 file systems.
709         * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
710         be turned unreadable.
711
712 2011-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
713
714         tests: allow double-colon spy.test to work with HP-UX make.
715         * tests/spy.test: Fix comment typos.  Ensure prerequisites we
716         do not want to depend on are strictly older than the target.
717         Also test with a target out of date wrt. more than one rule.
718
719 2011-01-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
720
721         tests: remove useless requirements from cond36.test
722         * tests/cond36.test ($required): Remove.
723         Since we are at it, add a trailing `:' command.
724
725 2011-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
726             Stefano Lattarini  <stefano.lattarini@gmail.com>
727
728         parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
729         * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
730         Test file readability before redirecting input from it, to avoid
731         exiting Tru64/OSF 5.1 sh which treats read as special builtin.
732         * tests/parallel-tests-unreadable-log.test: New test.
733         * tests/Makefile.am (TESTS): Update.
734         * NEWS: Update.
735
736 2011-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
737
738         * NEWS, README: Update copyright years.
739
740         Fix parallel-tests.test failure with HP-UX make.
741         * tests/parallel-tests.test: Sleep inside inner tests, so logs
742         are newer than logs of tests they depend on, for HP-UX make.
743
744 2011-01-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
745
746         docs: ensure example are separated with empty lines in the input
747         * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
748         (API Versioning, Renamed Objects, Multiple Outputs): Add empty
749         lines before `@example' and after `@end example' lines, so info
750         output is rendered correctly, and a following @noindent honored.
751         Report by Stefano Lattarini.
752
753 2011-01-15  Jim Meyering <meyering@redhat.com>
754
755         tests: fix comment typo
756         * tests/substref.test: Fix grammar in a comment.
757
758 2011-01-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
759
760         tests: fix spurious failures in two texinfo tests
761         * tests/txinfo.test ($required): Add 'makeinfo'.
762         * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
763         that make won't try to run makeinfo (which could be unavailable)
764         to build it.
765         Found by NixOS Hydra, reported by Ralf Wildenhues.
766
767 2011-01-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
768
769         Avoid testsuite failures due to Autoconf Fortran change.
770         Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
771         require computing the canonical host name.  Ensure config.guess
772         and config.sub files are present for respective checks.
773         * tests/compile_f_c_cxx.test: Add stub files.
774         * tests/flibs.test: Likewise.
775         * tests/fort4.test: Use $AUTOMAKE -a for installing files.
776
777 2011-01-12   Stefano Lattarini  <stefano.lattarini@gmail.com>
778
779         docs: clustered '-d' not recognized in YFLAGS
780         This change fixes automake bug#7828.
781         * doc/automake.texi (Yacc and Lex): Document that automake
782         recognizes '-d' in AM_YFLAGS only if it's not clustered with
783         other options.
784         From a report by Юрий Пухальский.
785
786 2011-01-10   Stefano Lattarini  <stefano.lattarini@gmail.com>
787
788         tests: add checks on automatically-distributed files
789         Related to automake bug#7819.
790         * tests/autodist.test: New test.
791         * tests/autodist-subdir.test: Likewise.
792         * tests/autodist-acconfig.test: Likewise.
793         * tests/autodist-acconfig-no-subdir.test: Likewise.
794         * tests/autodist-aclocal-m4.test: Likewise.
795         * tests/autodist-config-headers.test: Likewise.
796         * tests/autodist-configure-no-subdir.test: Likewise.
797         * tests/autodist-stamp-vti.test: Likewise.
798         * tests/Makefile.am (TESTS): Update.
799
800 2011-01-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
801
802         tests: work around a texi+cygnus bug causing a spurious XFAIL
803         * tests/txinfo5b.test: New test, like txinfo5.test but calling
804         automake with the `-Wno-override' option to work around a bug
805         in the texinfo + cygnus interaction.
806         * tests/txinfo5.test: Update heading comments.
807         * tests/Makefile.am (TEST): Updated.
808
809 2011-01-09  Dave Hart  <davehart@gmail.com>  (tiny change)
810
811         Fix another typo in Rule.pm comment.
812         * lib/Automake/Rule.pm: Fix typo.
813
814 2011-01-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
815
816         Improve, extend and tweak tests on Texinfo support.
817         * tests/instdir-texi.test: Add a call to `ls -l' after that to
818         `make', for debugging.  When looking for required tools, do not
819         redirect the output of "$tool --help" to /dev/null, and do not
820         uselessly run it in a subshell.
821         * tests/txinfo.test: Rewritten to run autoconf, ./configure and
822         make.  All checks moved into Makefile.am.
823         * tests/txinfo8.test: Likewise, and modernize the generated
824         configure.in.
825         * tests/txinfo2.test: Moved checks into Makefile.am, and other
826         minor improvements.
827         * tests/txinfo5.test: Enable `errexit' shell flag, and related
828         changes.  Add trailing `:' command.
829         * tests/txinfo6.test: Likewise, and make grepping of generated
830         Makefile.in stricter.
831         * tests/txinfo7.test: Enable `errexit' shell flag, and related
832         changes.  Add trailing `:' command.  Do not add unnecessary stuff
833         to Makefile.am.
834         * tests/txinfo9.test: Verify that more targets which are expected
835         to be generated only once really are.  Make grepping less strict,
836         to avoid exposing too much internal details.  More minor changes.
837         * tests/txinfo16.test: Add trailing `:'.  Prefer cat over echo
838         for appending to configure.in.  Updated/fixed heading comments.
839         * tests/txinfo23.test: Likewise, and extended a little by making
840         it check that no info file is created in the $(srcdir).
841         * tests/txinfo24.test: Likewise.
842         * tests/txinfo25.test: Likewise.
843         * tests/txinfo18.test: Add trailing `:'.  Prefer cat over echo
844         for appending to configure.in.  Also, check that index files are
845         cleaned also by "make clean", not only by "make distclean".
846         * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
847         and added trailing `:' command.  This testcase also used to check
848         that automake ignores in-line comments when using variables, but
849         preserves them in the output; these checks (added in commit
850         "Release-1-7f-4-g9177ef8") do not really pertain to this test,
851         so they have been moved ...
852         * tests/comments-in-var-defn.test: ... into this new test.
853         * tests/txinfo4.test: Escape literal dots in grep regexps.  Add
854         trailing `:' command.
855         * tests/txinfo29.test: Likewise.  Relax grepping of generated
856         Makefile.in w.r.t. whitespaces.  Prefer `cat' over `echo' to
857         append to configure.in.
858         * tests/txinfo3.test: Likewise.
859         * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
860         make it stricter, sometimes laxer).  Move `set -e' setting just
861         after the inclusion of ./defs.  De-uglify a sed command.  Other
862         minor cosmetic improvements.
863         * tests/vtexi2.test: Make grepping of Makefile.in stricter.  Add
864         trailing `:' command.
865         * tests/vtexi3.test: New test on version.texi support.
866         * tests/vtexi4.test: Likewise.
867         * tests/Makefile.am (TESTS): Updated.
868
869 2011-01-09  Peter Rosin  <peda@lysator.liu.se>
870
871         Fix another typo in Rule.pm comment.
872         * lib/Automake/Rule.pm: Fix typo.
873
874 2011-01-09   Stefano Lattarini  <stefano.lattarini@gmail.com>
875
876         cosmetics: remove trailing whitespaces
877         * doc/automake.texi: Remove trailing whitespaces.
878         * tests/cond13.test: Likewise.
879         * tests/cond14.test: Likewise.
880         * tests/fort4.test: Likewise.
881         * tests/fort5.test: Likewise.
882         * tests/suffix7.test: Likewise.
883         * tests/vtexi2.test: Likewise.
884
885         automake: minor fixes in comments
886         * automake.in: Some minor fixes and enhancements in comments.
887
888 2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
889
890         Add test coverage for deleted header files.
891         * tests/depcomp6.test, tests/depcomp7.test: Update tests to
892         also check for the deleted header bug.  If no dependency
893         tracking mechanism could be found, SKIP rather than exit
894         successfully.  Use GNU style spacing and ANSI C prototypes.
895
896         Fix typos in Rule.pm comments.
897         * lib/Automake/Rule.pm: Fix typos in comments.
898
899         docs: split 'amhello Explained' node.
900         * doc/automake.texi (amhello Explained): Split node ...
901         (amhello's configure.ac Setup Explained)
902         (amhello's Makefile.am Setup Explained) : ... into these two.
903         (Top, Hello World): Adjust, and add @anchor for stable URL links.
904         Suggestion by Karl Berry in automake bug#7766.
905
906 2011-01-08  Karl Berry  <karl@freefriends.org>
907             Eric Blake  <eblake@redhat.com>
908
909         docs: reference defining directories in amhello node.
910         * doc/automake.texi (amhello Explained): Point to Autoconf
911         manual for how to convert directory values into macros.
912         (Optional): Fix grammar nit.
913
914 2011-01-02   Stefano Lattarini  <stefano.lattarini@gmail.com>
915
916         * NEWS: Fix typo (forgotten word).
917
918 2011-01-02   Stefano Lattarini  <stefano.lattarini@gmail.com>
919              Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
920
921         docs: how to work around checks on invalid primary/directory couples
922         * doc/automake.texi (Uniform): Document the blessed idiom which can
923         be used to work around automake checks on invalid primary/directory
924         couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
925
926 2011-01-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
927
928         Sync auxiliary files from upstream.
929         * lib/config.guess, lib/config.sub, lib/texinfo.tex:
930         Sync from upstream.
931
932         Fix maintainer-check regression.
933         * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
934         environment.
935
936         Bump copyright years.
937         * aclocal.in (write_aclocal, version): Bump copyright years.
938         * automake.in (gen_copyright, version): Likewise.
939         * doc/automake.texi: Likewise.
940
941 2010-12-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
942             Stefano Lattarini  <stefano.lattarini@gmail.com>
943
944         Work around a bug in file-inclusion mechanism of Solaris make.
945         * automake.in (handle_single_transform): In the name of the
946         dependency file: collapse multiple slash characters into a single
947         one.
948         * tests/subobj11a.test: New test.
949         * tests/subobj11b.test: Likewise.
950         * tests/subobj11c.test: Likewise.
951         * tests/depcomp8a.test: Likewise.
952         * tests/depcomp8b.test: Likewise.
953         * tests/Makefile.am (TESTS): Updated.
954         * NEWS: Updated.
955         Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
956         patch and tests by Stefano Lattarini.
957
958 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
959
960         Fix two spurious testsuite failures on IRIX 6.5.
961         * tests/suffix13.test (Makefile.am): Account for VPATH issues on
962         weaker make implementations (e.g. IRIX 6.5).
963         * tests/parallel-tests8.test: Likewise, plus a required related
964         change.
965         Reported by Ralf Wildenhues.  The bugs have been there from the
966         first versions of the affected test scripts.
967
968 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
969
970         docs: cygnus mode doesn't require AM_CYGWIN32 macro.
971         * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
972         the AM_CYGWIN32 macro (and indeed hasn't required it since at
973         least commit Release-1-2-31-g3038064 "merged changes from
974         Cygnus" of 1997-08-25).
975
976 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
977
978         distlinksbrk.test: Work around botched "make -k".
979         * tests/distlinksbrk.test: Run "make" multiple times and grep
980         its output each time for a single error message, rather than
981         running "make -k" one single time and grepping its output for
982         all the expected error messages.  This should work around make
983         implementations with limited (broken?) `-k' support; for more
984         information, see these subthreads on the automake-patches list:
985           - 2010-11-15, "Testsuite failures on HP-UX 11.23",
986             <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
987           - 2010-11-15, "Testsuite failures on IRIX 6.5",
988             <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
989
990 2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
991
992         Fix sed-related buglet in test "subdir5.test"
993         * tests/subdir5.test: Always terminate text passed to the
994         `i' sed command with a newline, to work around limitations
995         in e.g. older OpenBSD sed.
996
997 2010-12-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
998
999         docs: fix blunder in example about python extension modules
1000         * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
1001         not `quaternion_SOURCES', to declare the sources of python
1002         extension module `quaternion.la'.
1003
1004 2010-12-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
1005
1006         docs: list LTLIBRARIES among Automake primaries
1007         * doc/automake.texi (Uniform): List `LTLIBRARIES' among
1008         the Automake primaries.
1009
1010 2010-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
1011
1012         Improve tests on generated portions of configure help screen.
1013         * tests/help-depend.test: Grepping of configure help screen
1014         relaxed to cater for possible line wrapping, and tightened in
1015         other respects.
1016         * tests/help-depend2.test: Likewise.
1017         * tests/help-dmalloc.test: Likewise.
1018         * tests/help-lispdir.test: Likewise.
1019         * tests/help-maintainer.test: Likewise.
1020         * tests/help-multilib.test: Likewise.
1021         * tests/help-silent.test: Likewise.
1022         * tests/help-upc.test: Likewise.
1023         * tests/help-init.test: Grepping of configure help screen
1024         tightened.
1025
1026 2010-12-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1027
1028         Avoid running installed automake from 'libtool --help'.
1029         * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
1030         Together with fixed Libtool, this fixes check-coverage to not
1031         invoke installed automake.
1032
1033 2010-11-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
1034
1035         Fix spurious failures in `silent*.test' for $CC != gcc
1036         In some tests on automake-produced silent rules, we forced the
1037         use of gcc depmode to improve testsuite coverage; but this has
1038         unsurprisingly led to spurious failures when some non-GNU C
1039         compilers were used.  So we are now careful to require GCC in
1040         tests that force gcc depmode.
1041         From reports by Ralf Wildenhues.
1042         * silent5.test: Test removed, its content split into ...
1043         * silent-many-generic.test, silent-many-gcc.test: ... these new
1044         sister tests, the latter of which forces gcc depmode and lists
1045         "gcc" in $required.
1046         * silentlex.test: Test removed, its content split into ...
1047         * silent-lex-generic.test, silent-lex-gcc.test: ... these new
1048         sister tests, the latter of which forces gcc depmode and lists
1049         "gcc" in $required.
1050         * silentyacc.test: Test removed, its content split into ...
1051         * silent-yacc-generic.test, silent-yacc-gcc.test: ... these new
1052         sister tests, the latter of which forces gcc depmode and lists
1053         "gcc" in $required.
1054         * tests/Makefile.am (TESTS): Updated.
1055
1056 2010-11-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1057
1058         Tests: consistently use "|| Exit 1" after ". ./defs".
1059         * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
1060         `. ./defs', for consistency with other tests.
1061         * tests/autohdr2.test: Likewise.
1062         * tests/autohdr3.test: Likewise.
1063         * tests/autohdr4.test: Likewise.
1064         * tests/cond23.test: Likewise.
1065         * tests/cond24.test: Likewise.
1066         * tests/cond25.test: Likewise.
1067         * tests/cond26.test: Likewise.
1068         * tests/cond27.test: Likewise.
1069         * tests/cond28.test: Likewise.
1070         * tests/cond29.test: Likewise.
1071         * tests/cond30.test: Likewise.
1072         * tests/cond31.test: Likewise.
1073         * tests/cond32.test: Likewise.
1074         * tests/cond33.test: Likewise.
1075         * tests/cond34.test: Likewise.
1076         * tests/cond35.test: Likewise.
1077         * tests/cond36.test: Likewise.
1078         * tests/cond37.test: Likewise.
1079         * tests/cond38.test: Likewise.
1080         * tests/cond39.test: Likewise.
1081         * tests/cond40.test: Likewise.
1082         * tests/cond41.test: Likewise.
1083         * tests/cond42.test: Likewise.
1084         * tests/cond43.test: Likewise.
1085         * tests/cond44.test: Likewise.
1086         * tests/cond45.test: Likewise.
1087         * tests/dollarvar.test: Likewise.
1088         * tests/dollarvar2.test: Likewise.
1089         * tests/hfs.test: Likewise.
1090         * tests/libobj14.test: Likewise.
1091         * tests/percent.test: Likewise.
1092         * tests/percent2.test: Likewise.
1093         * tests/phony.test: Likewise.
1094         * tests/silent.test: Likewise.
1095         * tests/silent2.test: Likewise.
1096         * tests/silent3.test: Likewise.
1097         * tests/silent4.test: Likewise.
1098         * tests/silent5.test: Likewise.
1099         * tests/silent6.test: Likewise.
1100         * tests/silent7.test: Likewise.
1101         * tests/silent9.test: Likewise.
1102         * tests/silentcxx.test: Likewise.
1103         * tests/silentf77.test: Likewise.
1104         * tests/silentf90.test: Likewise.
1105         * tests/silentlex.test: Likewise.
1106         * tests/silentyacc.test: Likewise.
1107
1108         Avoid useless cleaning in some `silent*.test' tests.
1109         * tests/silentf77.test: Removed useless calls to "make clean"
1110         and "make maintainer-clean".
1111         * tests/silentf90.test: Likewise.
1112         * tests/silent3.test: Removed useless call to "make distclean".
1113         * tests/silent4.test: Likewise.
1114         * tests/silent9.test: Likewise.
1115
1116 2010-11-19  Ian Lance Taylor  <iant@google.com>
1117
1118         Sync config-ml.in from GCC.
1119         * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
1120         compiler/flag environment variables.
1121
1122 2010-11-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
1123
1124         Automake::Config: remove extra trailing semicolon.
1125         * lib/Automake/Config.in: Remove extra trailing semicolon.
1126
1127         help4.test: fix botched heading comment.
1128         * tests/help4.test: Fixed the heading comment, since it
1129         didn't correctly describe what checks the testcase was
1130         supposed to perform.
1131
1132         help2.test: add checks on aclocal too.
1133         * tests/help2.test: Check that also `aclocal --version' and
1134         `aclocal --help' work with configure.in and acinclude.m4 both
1135         broken.
1136
1137 2010-11-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
1138
1139         Fix spurious failures of silent-rules tests with Sun Fortran.
1140         * tests/silentf77.test: Strip from the make output some verbose
1141         messages possibly printed by the SunStudio fortran compilers, to
1142         avoid spurious failures.  Add a trailing `:' command.
1143         * tests/silentf90.test: Likewise.
1144
1145 2010-11-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
1146
1147         Fix spurious failures of silent5.test with Sun Fortran.
1148         * tests/silent5.test: Strip from the make output some verbose
1149         messages possibly printed by the SunStudio fortran compilers,
1150         to avoid spurious failures.  This bug has been there from the
1151         very first version of this test script.
1152
1153 2010-11-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
1154
1155         Fix regression in colon{5,6}.test (failures on AIX 5.3).
1156         * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
1157         post-processing the generated Makefile.in, to work around a bug
1158         of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
1159         on the commend line.  Calls to `$MAKE' adjusted accordingly.
1160         * tests/colon6.test: Likewise.
1161         Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
1162         improve and/or extend tests `colon*.test", and reported by Ralf
1163         Wildenhues.
1164
1165 2010-11-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
1166
1167         Fix regression in ansi.test (failure on AIX 5.3).
1168         * tests/ansi.test: Remove redundant hackish check done using a
1169         hand-postprocessed Makefile.in.  This check worked by setting
1170         the `$(SHELL)' macro on the command line of make, but this is
1171         not supported by the AIX 5.3 make implementation.
1172         This bug has been lurking for a long time, and was activated by
1173         commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
1174         tests".  Report by Ralf Wildenhues.
1175
1176 2010-11-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1177
1178         tests: avoid '##'-style comments inside recipe commands.
1179         * tests/confh.test, tests/confh8.test: Remove
1180         double-hash comments from makefile rule commands, they
1181         are not part of the Automake API.
1182
1183 2010-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1184
1185         tests: work around dash quoting issue in case statements.
1186         * tests/color.test, tests/color2.test: Quote variable in case
1187         pattern, to avoid skipping tests with dash 0.5.5.1.
1188
1189 2010-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1190
1191         Rebuild menus in the manual.
1192         * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
1193         Thanks to Ian Lance Taylor for the suggestion.
1194
1195         Fix install-strip when $(STRIP) contains several words.
1196         * lib/am/install.am (install-strip): Update comment.  Use
1197         separate sub-make invocations for empty and nonempty $(STRIP),
1198         to fix quoting issues.
1199         * tests/strip2.test, tests/strip3.test: New tests.
1200         * tests/Makefile.am (TESTS): Adjust.
1201
1202 2010-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1203
1204         Fix yaccdry.test failure: require bison.
1205         * tests/yaccdry.test: Require bison.
1206         Found by NixOS Hydra.
1207
1208 2010-11-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
1209
1210         Fix a bug in variable concatenation with `+='.
1211         * lib/Automake/VarDef.pm (append): Since the content of the
1212         "appended-to" variable is going to be unconditionally normalized
1213         later, simply separate the appended value with a single whitespace
1214         character, instead of trying to be uselessly smarter by using
1215         escaped newlines.  This fixes a bug in which extra backslashes
1216         where erroneously inserted in the variable's final value.
1217         * tests/pluseq11.test: New test, exposing the bug.
1218         * tests/Makefile.am (TESTS): Update.
1219         Reported by Andy Wingo.
1220
1221 2010-11-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1222
1223         Fix bug in rules for creating vala vapi/header files.
1224         * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
1225         if control structure in a generated make rules.  Bug introduced
1226         by previous commit `v1.11-221-gd7c1679', and revealed by failure
1227         of test `vala2.test'.
1228
1229 2010-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1230
1231         Fix and document rules to not touch the tree with `make -n'.
1232         * doc/automake.texi (Multiple Outputs): Document the problem of
1233         modifications during dry-run execution, propose solution.
1234         * NEWS: Update.
1235         * automake.in (lang_vala_finish_target): Split recipe so the
1236         stamp file is not removed with GNU `make -n'.
1237         (lang_yacc_target_hook): Separate removal of parser output file
1238         and header remaking.
1239         * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
1240         passed to make, take care not to remove any files in that case.
1241         * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
1242         %STAMP% file from induced remaking of config header.
1243         * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
1244         New tests.
1245         * tests/Makefile.am (TESTS): Update.
1246
1247 2010-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1248
1249         Add FAQ entry for bug reporting instructions.
1250         * doc/automake.texi (Reporting Bugs): New section.
1251         (Introduction): Refer to it.
1252
1253 2010-10-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
1254
1255         Add support for newer python versions.
1256         * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
1257         _AM_PYTHON_INTERPRETER_LIST.  Since we are at it, break a long
1258         line and fix indentation.
1259         * THANKS: Updated.
1260         From a report by Thomas Klausner.
1261
1262         Add test for `AM_WITH_DMALLOC' macro.
1263         * tests/dmalloc.test: New test.
1264         * tests/Makefile.am (TESTS): Update.
1265
1266         Fix nits and bugs in tests `help*.test'.
1267         * tests/help4.test: Fix broken sed commands used to strip `-W...'
1268         flags away from "$AUTOMAKE" and "$ACLOCAL".
1269         * tests/help3.test: Likewise, and fix a botched comment.
1270         * tests/help.test: Likewise.  Also, use "AUTOMAKE_fails ..."
1271         instead of "$AUTOMAKE ... && Exit 1", for consistency and to
1272         please maintainer-check.
1273         * tests/help2.test: Likewise.
1274
1275 2010-10-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
1276             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1277
1278         Improve tests `help*.test' (also fixes maintcheck failures).
1279         * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
1280         flags stripped away rather than hard-coded `automake-$APIVERSION',
1281         to better honour user-overrides.  Similarly for aclocal.
1282         * tests/help2.test: Likewise.
1283         * tests/help3.test: Likewise.
1284         * tests/help4.test: Likewise.
1285
1286 2010-10-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1287
1288         Document and fix expansion of variables before rules.
1289         * doc/automake.texi (General Operation): Document that variables
1290         are expanded before rules.
1291         * lib/am/check.am (am__check_post): Reword a bit so it does not
1292         get matched as a rule.
1293         Suggestion by Ben Pfaff.
1294
1295 2010-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1296
1297         Revert "parallel-tests: avoid command-line length limit issue."
1298         This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
1299         because it re-opened the bug fixed by v1.11-10-g218e678.
1300
1301         2010-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1302
1303         parallel-tests: avoid command-line length limit issue.
1304         * automake.in (handle_tests): New argument $makefile, new
1305         substitution %MAKEFILE%.
1306         (generate_makefile): Adjust.
1307         * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1308         sanitized TEST_LOGS value as makefile snippet on standard
1309         input to $(MAKE), to avoid exceeding the command line limit on
1310         w32 (MSYS).
1311         * NEWS: Update.
1312         Report by Bob Friesenhahn.
1313
1314 2010-09-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
1315
1316         Extend tests on `--help' and `--version' options.
1317         * tests/help.test: Create a new empty directory and chdir into
1318         it, rather than removing already present files.  Run the aclocal
1319         and automake wrapper scripts directly, instead of relying on
1320         $AUTOMAKE and $ACLOCAL.  Be sure to correctly match literal dots
1321         in aclocal's and automake's stderr.  Add a trailing `:' command.
1322         * tests/help2.test: New test, checking that options `--help' and
1323         `--version' works in directories with broken `configure.in'.
1324         * tests/help3.test: New test, checking that options `--help' and
1325         `--version' take precedence on the other options.
1326         * tests/help4.test: New test, checking that the first among the
1327         `--help' and `--version' options to be specified on the command
1328         line wins.
1329         * tests/Makefile.am (TESTS): Updated.
1330
1331 2010-09-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
1332
1333         Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
1334         * tests/compile2.test: Do no uselessly (implicitly) repeat the
1335         computation of PATH_SEPARATOR again.
1336         * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
1337         extending/redefining PATH.
1338         * tests/instmany-python.test: Likewise.
1339         * tests/instmany.test: Likewise.
1340         * tests/man4.test: Likewise.
1341         * tests/mkinst3.test: Likewise.
1342         * tests/mmodely.test: Likewise.
1343         * tests/multlib.test: Likewise.
1344         * tests/txinfo30.test: Likewise.
1345         * tests/README (Section "Writing test cases" subsection "Do"):
1346         Updated.
1347         * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
1348         (syntax_check_rules): Updated.
1349
1350         Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
1351         * tests/defs.in ($APIVERSION):  New AC_SUBST'd variable.
1352         ($ACLOCAL, $AUTOMAKE): Use it.
1353         ($PATH_SEPARATOR):  New AC_SUBST'd variables.
1354         ($PATH): Use it.
1355
1356 2010-09-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
1357
1358         Manual: be more agnostic w.r.t. version control system used.
1359         * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
1360         directories as a type of probably-unwanted files that are copied
1361         regardless when adding directories to EXTRA_DIST.
1362         (The dist Hook): Show a dist-hook example which removes Subversion
1363         `.svn' private directories from distdir, rather than CVS private
1364         directories.
1365         (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
1366         the version control system used.
1367
1368         Manual: index refer to target "git-dist", not "cvs-dist".
1369         * doc/automake.texi (General Operation): Index the non-standard
1370         example about "git-dist" under the "git-dist" label, not under
1371         the "cvs-dist" one.
1372
1373         Perl modules: remove references to "Automake CVS repository".
1374         * lib/Automake/Channels.pm: Update comments to refer to "Automke's
1375         git repository" rather than to "Automake's CVS repository".
1376         * lib/Automake/Configure_ac.pm: Likewise.
1377         * lib/Automake/FileUtils.pm: Likewise.
1378         * lib/Automake/Struct.pm: Likewise.
1379         * lib/Automake/XFile.pm: Likewise.
1380         * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
1381         branches" rather than "CVS branches".
1382
1383         Remove obsolete .cvsignore files.
1384         * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
1385         lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
1386         m4/.cvsignore, tests/.cvsignore: Files deleted.  Even when using
1387         savannah's CVS readonly mirror there's no way to commit back to
1388         the real repository, so this files are not worth maintaining or
1389         keeping around.
1390
1391 2010-09-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1392
1393         * m4/dmalloc.m4: Bump serial number and copyright years.
1394
1395 2010-09-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1396
1397         Fix broken link in `AM_WITH_DMALLOC' help screen.
1398         * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
1399         `http://www.dmalloc.com', not to the dmalloc tarball there (which
1400         seems to have been removed, substituted by multiple release
1401         tarballs now).
1402
1403 2010-09-17  Eric Blake  <eblake@redhat.com>
1404
1405         Avoid triple-space after period.
1406         * automake.in (handle_single_transform): Avoid 3 spaces at
1407         sentence end.
1408         * ChangeLog.03: Likewise.
1409         * lib/Automake/ChannelDefs.pm: Likewise.
1410         * lib/Automake/Channels.pm (_print_message): Likewise.
1411         * lib/Automake/Rule.pm (rule): Likewise.
1412         * lib/Automake/Variable.pm (var): Likewise.
1413         * lib/am/distdir.am: Likewise.
1414         * tests/insthook.test: Likewise.
1415
1416 2010-09-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
1417
1418         Test automake-generated portions of configure help screen.
1419         * tests/help-depend.test: New test.
1420         * tests/help-depend2.test: Likewise.
1421         * tests/help-dmalloc.test: Likewise.
1422         * tests/help-init.test: Likewise.
1423         * tests/help-lispdir.test: Likewise.
1424         * tests/help-maintainer.test: Likewise.
1425         * tests/help-multilib.test: Likewise.
1426         * tests/help-regex.test: Likewise.
1427         * tests/help-silent.test: Likewise.
1428         * tests/help-upc.test: Likewise.
1429         * tests/mmode.test: Remove tests on `configure --help' output,
1430         they are superseded by tests in `help-maintainer.test'.
1431         * tests/Makefile.am (TESTS): Update.
1432
1433 2010-09-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
1434
1435         * tests/README: Don't put GCS mandated tools in $required.
1436
1437 2010-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1438
1439         * HACKING: Hint at old commits with `git describe' output.
1440
1441 2010-09-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
1442
1443         Fix regression in test `colon4.test'.
1444         * tests/colon4.test: Fix botched editing to `configure.in'
1445         that made the test useless.  Since we are at it, improve
1446         comments and make grepping of generated Makefile.in slightly
1447         stricter.
1448         Regression introduced by change "Modernize, improve and/or
1449         extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
1450
1451 2010-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
1452
1453         Do not require "gzip" explicitly in tests.
1454         The gzip utility is simply expected to be present on any decent
1455         target system for Automake.  So it's pointless to put it in
1456         $required.
1457         * tests/install2.test ($required): Do not require "gzip".
1458         * tests/lex3.test: Likewise.
1459         * tests/pr9.test: Likewise.
1460         From a suggestion by Ralf Wildenhues.
1461
1462         Make some `confh*.test' tests more "semantic" (plus tweakings).
1463         * tests/confh.test: Run "autoconf", "configure" and "make check",
1464         instead of munging/grepping the generated `Makefile.in'.
1465         * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
1466         white spaces.  Do not create useless dummy source file `foo.c'
1467         and useless dummy header file `acconfig.h'.
1468         (configure.in): Remove superfluous call to `AC_OUTPUT'.
1469         * tests/confh6.test: Add trailing `:' command.
1470         * tests/confh7.test: In comments, add reference to ...
1471         * tests/confh8.test: ... this new test, "semantic" sister
1472         of `confh7.test'.
1473         * tests/Makefile.am (TESTS): Updated.
1474         Prompted by a report from Ralf Wildenhues.
1475
1476         Remove useless whitespace padding in XFAIL_TESTS definition.
1477         * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
1478
1479 2010-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1480
1481         parallel-tests: avoid command-line length limit issue.
1482         * automake.in (handle_tests): New argument $makefile, new
1483         substitution %MAKEFILE%.
1484         (generate_makefile): Adjust.
1485         * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
1486         sanitized TEST_LOGS value as makefile snippet on standard
1487         input to $(MAKE), to avoid exceeding the command line limit on
1488         w32 (MSYS).
1489         * NEWS: Update.
1490         Report by Bob Friesenhahn.
1491
1492         Posix 2008 requires make to set errexit.
1493         * lib/am/check.am: Update comment.
1494
1495 2010-08-27  Stefano Lattarini  <stefano.lattarini@gmail.com>
1496
1497         Fix bug in test missing6.test.
1498         * tests/missing6.test: Fix the hack used to edit `configure.in',
1499         to avoid producing a configure script that breaks with shells
1500         that do not support $LINENO.  Also throw in a couple of cosmetic
1501         changes.
1502
1503 2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1504
1505         Improve robustness of mdate-sh script.
1506         * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
1507         $ls_command is word-split properly upon invocation.
1508         (error): New function.
1509         (main): Use it.  Improve error checking to avoid endless loop
1510         in case $ls_command gave bogus output.  Fix eval quotation.
1511         * tests/mdate6.test: New test, to expose eval quotation error.
1512         * tests/Makefile.am: Update.
1513
1514 2010-08-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
1515
1516         Fix potential regressions in depcomp{3,5}.test.
1517         * tests/depcomp3.test: Do not uselessly escape the character `$'
1518         in makefile rules, when it's used to expand a make macro.
1519         * tests/depcomp5.test: Likewise.
1520
1521 2010-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
1522             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1523
1524         Docs: clarify how to avoid automatic dependencies tracking.
1525         * doc/automake.texi (Automatic dependency tracking): Mention that
1526         automatic dependencies tracking is enabled by default, but that
1527         the package developer can disable it altogether.  Add a reference
1528         to the proper section for a more in-depth explanation.
1529
1530         Fix typo in manual (`Makefile.in' instead of `Makefile.am').
1531         * doc/automake.texi (Automatic dependency tracking): Fix typo.
1532
1533 2010-08-16  Bruno Haible  <bruno@clisp.org>
1534
1535         Don't hide the table of contents.
1536         * doc/automake.texi: Move the table of contents to the beginning.
1537
1538 2010-08-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
1539
1540         Tweak and/or extend some `acloca*.test' tests.
1541         * tests/aclocal8.test:  Ensure verbose printing of captured
1542         output.
1543         * tests/aclocal.test: Likewise.  Also, add trailing `:'
1544         command.
1545         * tests/acloca19.test: Likewise.
1546         * tests/aclocal5.test: Add trailing `:' command, and prefer
1547         `$me' over hard-coded test name.
1548         * tests/aclocal6.test: Likewise.
1549         * tests/aclocal18.test: Add trailing `:' command, and make
1550         some grepping slightly stricter.
1551         * tests/acloca14.test: Likewise.  Also, prefer `diff' over
1552         `cmp', and add some "cosmetic" blank lines.
1553
1554 2010-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
1555
1556         Tweak and extend tests `pr[!0-9]*.test'.
1557         * tests/primary3.test: Add trailing `:' command.
1558         * tests/primary.test: Make grepping of Automake's stderr stricter.
1559         Also, add trailing `:' command, and cosmetic changes in spacing.
1560         * tests/primary2.test: Likewise.
1561         * tests/prefix.test: Enable `errexit' shell flags, and related
1562         changes.  Add a trailing `:' command.
1563         * tests/proginst.test: Likewise.
1564
1565         Modernize, improve and extend tests for PR (`pr[0-9]*.test').
1566         * tests/pr2.test: Add trailing `:' command.
1567         * tests/pr229.test: Likewise.
1568         * tests/pr401.test: Likewise.
1569         * tests/pr401b.test: Likewise.
1570         * tests/pr401c.test: Likewise.
1571         * tests/pr300-prog.test: Likewise, plus cosmetic changes in
1572         spacing.
1573         * tests/pr300-lib.test: Likewise.
1574         * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
1575         of captured make stdout.
1576         * tests/pr211.test: Add trailing `:' command.  Also, use the
1577         `configure.in' stub created by ./defs, rather than writing it
1578         from scratch.
1579         * tests/pr204.test: Likewise, plus cosmetic spacing changes.
1580         * tests/pr287.test: Likewise, and move setting of `errexit' shell
1581         flag earlier in the script (just after inclusion of ./defs).
1582         * tests/pr220.test: Make grepping of Automake's stderr stricter.
1583         Also, add trailing `:' command, and cosmetic changes in spacing.
1584         * tests/pr224.test: Move setting of `errexit' shell flag earlier
1585         in the script (just after inclusion of ./defs).  Do not export
1586         `CC=gcc' to configure explicitly (it's already exported globally
1587         in ./defs, since we have "gcc" in $required).  Use the stub for
1588         `configure.in' created by ./defs, rather than writing it from
1589         scratch.  Do not create dummy files required by "gnu" mode (e.g.
1590         README, NEWS), since we run automake in foreign mode anyway.
1591         * tests/pr72.test: Enable `errexit' shell flags, and related
1592         changes.  Extend existing checks a bit.
1593         * tests/pr9.test: Likewise.  Also, avoid obsolescent constructs in
1594         the generated `configure.in', and extend existing checks over the
1595         generated tarball a bit.
1596         * tests/pr87.test: Enable `errexit' shell flags, and related
1597         changes.  Add a trailing `:' command.  Also, do not create dummy
1598         files required by "gnu" mode (e.g. README, NEWS), since we run
1599         automake in foreign mode anyway.
1600         * tests/pr243.test: Avoid obsolescent constructs in the generated
1601         `configure.in'.  Enable the `errexit' shell flag, and related
1602         changes.  Cosmetic changes to spacing, add trailing `:' command,
1603         and add a "FIXME" comment.
1604         * tests/pr266.test: Likewise, and add explicit command line switch
1605         `--enable-dependecy-tracking' to the ./configure call.
1606         * tests/pr279.test: Avoid obsolescent constructs in the generated
1607         `configure.in'; also, use the `configure.in' stub created by
1608         ./defs, rather than writing it from scratch.  Enable `errexit'
1609         shell flag, and related changes.  Add trailing `:' command.
1610         * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
1611         stricter.
1612         * tests/pr307.test: Move setting of `errexit' shell flag earlier
1613         in the script (just after inclusion of ./defs).  Escape literal
1614         dots in grep regular expressions.  Also, add a trailing `:'
1615         command, and cosmetic changes to spacing.
1616
1617         Tests for PR: add excerpts from original bug report, for clarity.
1618         * tests/pr2.test: Ditto.
1619         * tests/pr9.test: Likewise.
1620         * tests/pr72.test: Likewise.
1621         * tests/pr87.test: Likewise.
1622         * tests/pr211.test: Likewise.
1623         * tests/pr220.test: Likewise.
1624         * tests/pr224.test: Likewise.
1625         * tests/pr229.test: Likewise.
1626         * tests/pr243.test: Likewise.
1627         * tests/pr266.test: Likewise.
1628         * tests/pr279.test: Likewise, and tell to keep it in sync
1629         with its sister test.
1630         * tests/pr279-2.test: Likewise.
1631
1632 2010-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
1633
1634         Tweak, extend and improve tests `cond[a-z]*.test'.
1635         * tests/condd.test: Add trailing `:' command.  Typofix in
1636         comment.
1637         * tests/condhook.test: Make sure target `install-data-hook' is
1638         not called by `make install', but that data files are installed.
1639         Use proper m4 quoting in configure.in. Add trailing `:' command.
1640         * tests/condhook2.test: New test, sister test of condhook, with
1641         inverted semantic.
1642         * tests/condinc2.test: Use proper m4 quoting in configure.in.
1643         Prefer trailing `:' command over trailing `Exit 0'.
1644         * tests/condman2.test: Enable errexit shell flag, and related
1645         changes.  Add trailing `:' command.
1646         * tests/condman.test: Likewise.  Also, do not create useless
1647         dummy manpages, and use proper m4 quoting in configure.in.
1648         * tests/condman3.test: New test, similar to condman.test, but
1649         it also runs ./configure and "make install", and check the
1650         installed files.
1651         * tests/Makefile.am (TESTS): Updated.
1652
1653         Modernize, improve and/or extend tests `colon*.test.
1654         * tests/colon.test: Rely on the `configure.in' stub created by
1655         `./defs', rather than writing one from scratch.  Do not create
1656         a useless dummy file.  Add trailing `:' command.
1657         * tests/colon4.test: Enable the `errexit' shell flag, and
1658         related changes.  Rely on the `configure.in' stub created by
1659         `./defs', rather than writing one from scratch.
1660         * tests/colon7.test: Enable `errexit' shell flag, and related
1661         changes.  Improve the generated `configure.in' file.  Add
1662         trailing `:' command.
1663         * tests/colon2.test: Likewise.  Also, add some new checks.
1664         * tests/colon5.test: Improve the generated `configure.in' file.
1665         Add new, much deeper checks.  Add trailing `:' command.
1666         * tests/colon6.test: Likewise.
1667         * tests/colon3.test: Add trailing `:' command.  Remove useless
1668         comments and echos.  Improve the generated `configure.in' file.
1669         make some grepping tests stricter.  Add a "FIXME" comments about
1670         planned improvements.
1671
1672         Improve and extend tests `asm*.test'.
1673         * tests/asm.test: Use configure.in stub generated by ./defs,
1674         and avoid obsoleted autoconf constructs.  Make grepping of
1675         Automake stderr stricter.  Do not create useless source file.
1676         Improve verbose messages.  Minor cosmetic changes.  Tell to
1677         keep it in sync with other sister tests asm*.test.
1678         * tests/asm2.test: Likewise.
1679         * tests/asm3.test: Likewise.
1680
1681         Modernize, improve and/or extend test scripts `conf*.test'.
1682         * tests/confh5.test: Cosmetic changes.
1683         * tests/conff.test: Likewise.
1684         * tests/confdeps.test: Likewise.
1685         * tests/conflnk.test: Likewise.
1686         * tests/conflnk2.test: Likewise.
1687         * tests/confsub.test: Likewise.
1688         * tests/confvar.test: Likewise, and make grepping of Makefile.in
1689         stricter.
1690         * tests/confvar2.test: Likewise.
1691         * tests/conflnk3.test: Cosmetic changes.  Re-enable a temporarily
1692         disabled test (which didn't work with autoconf <= 2.59, but now we
1693         are requiring autoconf 2.62, so...)
1694         * tests/conflnk4.test: Cosmetic changes, and extend existing tests
1695         accordingly to "TODO" comments.
1696         * tests/conff2.test: Make grepping of Automake's stderr stricter.
1697         Add some comments explaining why we don't use the `configure.in'
1698         stub preset be ./defs.
1699         * tests/confh.test: Use the `configure.in' stub created by ./defs,
1700         rather than writing one from scratch, and do not call AC_OUTPUT.
1701         Enable `errexit' shell flag, and related changes.  Prefer diff over
1702         cmp to compare text files. Prefer perl over sed to fetch the value
1703         of $(DIST_COMMON) from Makefile.in.  Make grepping of the contents
1704         of $(DIST_COMMON) stricter.
1705         * tests/confh4.test: Use the `configure.in' stub created by ./defs,
1706         rather than writing one from scratch.  Make grepping of Makefile.in
1707         stricter.
1708         * tests/confh5.test: Make grepping of `config.h' stricter.  Add a
1709         comment.
1710         * tests/configure.test: Avoid obsolescent constructs in generated
1711         `configure.ac'.  Do not write `configure.in' two times.  Escape
1712         literal dots in grep regular expressions.
1713         * tests/confincl.test:  Enable `errexit' shell flag, and related
1714         changes.  Prefer fgrep over grep.  Other cosmetic changes.
1715         * tests/config.test: Renamed to ...
1716         * tests/confh6.test: ... this.  Fix m4 quoting in `configure.in',
1717         and make grepping of `config.h' and `config.h.in' stricter.
1718         * tests/conf2.test: Renamed ...
1719         * tests/confh7.test: ... to this.  Use the `configure.in' stub
1720         created by ./defs, rather than writing one from scratch.  Try to
1721         run the checks both with and without AC_PROG_CC and AC_OUTPUT in
1722         `configure.in'.
1723         * tests/Makefile.am (TESTS): Updated.
1724
1725         Minor improvements and fixes in tests `depcomp*.test'.
1726         * tests/depcomp.test: Do not create useless dummy source files.
1727         Add a trailing `:' command.
1728         * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
1729         it's not in in the environment, rather than exporting it with an
1730         empty value.  Do not pass CC=gcc to configure, as that's already
1731         done in ./defs since we have gcc in $required.  Ensure verbose
1732         printing of captured stderr, and normalize its checking.  Add a
1733         trailing `:' command.
1734         * tests/depcomp3.test: Quote literal dots and dollar characters in
1735         grep regexps.  Always use `: >' rather than `touch' to create empty
1736         files.  Explicitly declare phony targets as such in the created
1737         Makefile.am.  Add a trailing `:' command.
1738         * tests/depcomp4.test: Quote literal dots and dollar characters in
1739         grep regexp.  Explicitly declare phony targets as such in the
1740         created Makefile.am.  Ensure verbose printing of captured makes'
1741         stoud/stderr.  Add a trailing `:' command.
1742         * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
1743         in the script (just after inclusion of ./defs).  Quote literal dots
1744         and dollar characters in grep regexps.  Explicitly declare phony
1745         targets as such in the created Makefile.am.  Add a trailing `:'
1746         command.
1747         * tests/depcomp6.test: Consistently use m4 quoting in the generated
1748         configure.in.  Cosmetic fixes to spacing.  Make the "dummy" `if'
1749         statement required by OpenBSD's sh `set -e' more robust, and add
1750         explanatory comments to it.
1751         * tests/depcomp7.test: Likewise, and add  a trailing `:' command.
1752
1753         Separate failing part of test `all.test'.
1754         * tests/all.test: Keep only (x)failing part of the test.  Working
1755         checks moved out to ...
1756         * tests/all2.test: ... this new test.
1757         * tests/Makefile.am (TESTS): Updated.
1758
1759         Modernize, improve and extend tests `subobj*.test'.
1760         * tests/subobjname.test:  Add trailing `:' command.
1761         * tests/subobj.test: Make grepping of `Makefile.in' stricter.
1762         Escape literal dots in grep regexps.
1763         * tests/subobj2.test:  Add trailing `:' command.  Do not use the
1764         unportable fgrep option `-e'.
1765         * tests/subobj3.test: Add trailing `:' command.
1766         (configure.in): Use proper m4 quoting, and avoid obsolescent
1767         constructs.
1768         * tests/subobj8.test: Likewise.  Also, enable `errexit' shell
1769         flag, with related changes
1770         * tests/subobj4.test: Likewise.  Also, make grepping of
1771         `Makefile.in' stricter.
1772         * tests/subobj5.test: Add trailing `:' command.  Move setting of
1773         `errexit' shell flag earlier in the script (just after inclusion
1774         of ./defs).
1775         (configure.in): Use the stub created by `./defs', rather than
1776         writing it from scratch, and avoid obsolescent constructs.
1777         * tests/subobj6.test: Add trailing `:' command.  Move setting of
1778         `errexit' shell flag earlier in the script (just after inclusion
1779         of ./defs).  Do not create useless dummy ac-init file `f'.
1780         * tests/subobj7.test: Do not create useless dummy ac-init file
1781         `f'.
1782         (configure.in): Use the stub created by `./defs', rather than
1783         writing it from scratch, and avoid obsolescent constructs.
1784         * tests/subobj9.test: Move setting of `errexit' shell flag earlier
1785         in the script (just after inclusion of ./defs).  Fail the test if
1786         `make distcheck' fails.  Ensure verbose printing of captured make
1787         stdout.  Avoid useless fork by doing simple grep instead of using
1788         test -n "`COMMAND | grep ...`".
1789         (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1790         (Makefile.am): Explicitly mark target "print" as phony.
1791         * tests/subobj10.test: Removed duplicated call to `set -e'.  Add
1792         trailing `:' command.
1793         (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1794
1795         Remove a couple of obsoleted tests.
1796         * tests/fpinstall.test: Removed.
1797         * tests/fpinst2.test: Likewise.
1798         * tests/Makefile.am (TESTS): Updated.
1799
1800         Bootstrap: updated HACKING entry.
1801         * HACKING ("Working with git"): Explain how to override the
1802         autoconf and autom4te programs used by the bootstrap process.
1803
1804         Bootstrap: fixlet.
1805         * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
1806         since we don't generate it.  Correctly quote arguments of
1807         `eval' builtin.  Fixed a botched error message.  Removed an
1808         extra blank line.
1809
1810         Bootstrap: don't search perl in $PATH.
1811         * bootstrap: Do not explicitly search perl in $PATH anymore.
1812         ($PATH_SEPARATOR): Removed, it's no more needed.
1813
1814         Bootstrap: let the user choose which autoconf to use.
1815         * bootstrap ($AUTOCONF): New variable, from the environment.
1816         ($AUTOM4TE): Likewise, for clarity.
1817         Use "$AUTOCONF" instead of calling "autoconf" directly.
1818
1819         Minor improvements to tests ar*.test.
1820         * tests/ar.test: Add trailing `:' command.
1821         * tests/ar2.test: Likewise, and make grepping of generated
1822         Makefile.in stricter.
1823
1824 2010-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1825
1826         Fix maintainer-check failure.
1827         * tests/cond5.test: Quote sleep argument, this isn't about
1828         time stamp differences.
1829
1830         Sync auxiliary files from upstream.
1831         * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1832         Sync from upstream.
1833
1834 2010-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1835
1836         Work around a nasty bug (segfault) of Solaris make.
1837         * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
1838         from $list, to avoid triggering a nasty bug (potential segfault)
1839         on Solaris make.
1840
1841 2010-08-06  Peter Rosin  <peda@lysator.liu.se>
1842
1843         Make cond5.test more robust on MSYS.
1844         * tests/cond5.test: Add delay before the first kill attempt to
1845         cater for problems with MSYS bash.
1846
1847 2010-07-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1848
1849         Add example git work flow; discuss merge --log in HACKING.
1850         * HACKING: Update.
1851         Suggestion by Stefano Lattarini.
1852
1853         Add more hints for debugging make rules.
1854         * doc/automake.texi (Debugging Make Rules): Show command to find
1855         out expanded values of variables; point to makefile debugger.
1856         * THANKS: Update.
1857         Prompted by suggestion from Ludovic Courtès and Andy Wingo.
1858
1859 2010-07-27  Patrick Welche  <prlw1@cam.ac.uk>  (tiny change)
1860
1861         Fix typo in the manual.
1862         * doc/automake.texi (Scripts): Fix typo.
1863
1864 2010-07-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1865
1866         Document current policy for development with git.
1867         * HACKING (Working with git): Overhaul.
1868         Prompted by suggestion from Stefano Lattarini.
1869
1870         Fix AM_COND_IF for gone-invalid condition shell expression.
1871         * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
1872         variable, rather than re-evaluating the shell expression for
1873         the condition.
1874         * tests/cond40.test: Extend test.
1875         * NEWS: Update.
1876
1877         Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
1878         * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
1879         to avoid shell syntax error if the m4 expansion is empty.
1880         * tests/cond40.test: Enhance test.
1881
1882         Coverage: bogus option to AM_INIT_AUTOMAKE.
1883         * tests/init2.test: New test.
1884         * tests/Makefile.am: Update.
1885
1886 2010-07-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1887
1888         Modernize and improve test scripts `subdir*.test'.
1889         * tests/subdir.test: Enable `errexit' shell flag, and related
1890         changes.  Use the `configure.in' stub created by `./defs',
1891         rather than writing one from scratch.
1892         * tests/subdir2.test: Likewise.
1893         * tests/subdir4.test: Likewise.
1894         * tests/subdir3.test: Enable `errexit' shell flag, and related
1895         changes.  Do not create useless dummy source files.
1896         * tests/subdir5.test: Make grepping of Makefile.in (in topdir
1897         and in subdirs) stricter.  Some minor changes to keep it more
1898         in sync with the related test `subdir8.test'.
1899         * tests/subdir8.test: Likewise (but with the related test being
1900         `subdir5.test' here).
1901         * tests/subdir6.test: Cosmetic change in spacing.
1902         * tests/subdir9.test: Define and use new variable `$distdir'.  Add
1903         trailing `:' command.
1904         * tests/subdir10.test: Cosmetic consistency-related change.
1905         * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
1906         (configure.in): Use stub created by `./defs', rather than writing
1907         it from scratch.  Do not use obsoleted and/or deprecated forms of
1908         autoconf/automake macros.
1909
1910         Modernize and improve test scripts `dist*.test'.
1911         * tests/distcleancheck.test: Do not add useless `-e' option to
1912         a $MAKE call.  Extend test by grepping stderr of make.
1913         * tests/distcom2.test: Do not run the same test script on the
1914         Makefile.in twice, but save its output in an intermediate file
1915         instead.  Make grepping of DIST_COMMON definition stricter.
1916         Display the content of more files, to ease debugging.  Add a
1917         trailing `:' command.  Improved heading comments w.r.t. sister
1918         test(s).
1919         * tests/distcom6.test: Likewise, and avoid to uselessly run
1920         autoconf.
1921         * tests/distcom3.test: Ensure verbose printing of captured stdout
1922         and stderr.  Make grepping of captured stderr stricter.  Also,
1923         add trailing `:' command.
1924         * tests/distcom4.test: Declare the target `test' in the generated
1925         Makefile.am as `.PHONY'.  Display content of more files, to ease
1926         debugging.  Add trailing `:' command.
1927         * tests/distcom5.test: Likewise.  Also, factor out common sed
1928         script in subroutine `extract_distcommon'.
1929         * tests/distcom7.test: Prefer cat + here-doc over echo to write
1930         test Makefile.am files.  Add a trailing `:' command.
1931         * tests/distname.test: Prefer `gzip -d' over `gunzip'.  Move the
1932         call to `set -e' earlier.  Be stricter and more verbose in the
1933         checking of the generated tarball.
1934         (configure.in): Use the stub provided by ./defs, instead of
1935         writing it from scratch.  Avoid obsoleted constructs.  Remove
1936         useless call to `AM_PROG_CC_C_O'.
1937         * tests/distdir.test: Various minor improvements/normalizations.
1938         * tests/distlinks.test: Likewise.
1939
1940 2010-07-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
1941
1942         Improve and extend test cond5.test.
1943         * tests/cond5.test: Do not blindly sleep 60 seconds before polling
1944         the background automake process, but poll it every 10 seconds for
1945         at most 30 times (this makes the test both faster on good machines,
1946         and more resilient to spurious timeout-due failures when in low
1947         priority or on heavily-loaded systems).
1948         Check also that automake writes the expected error messages on the
1949         standard error.
1950         Enable `errexit' flag, and related changes.
1951         Rely on the `configure.in' stub created by `./defs', rather than
1952         writing one from scratch.
1953
1954 2010-06-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1955
1956         Update program --help output to match current GCS.
1957         * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
1958         is not defined, for compatibility to Autoconf < 2.64.
1959         * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
1960         PACKAGE_URL.
1961         (sc_diff_automake_in_automake): Update number of diff lines for
1962         additional substitutions.
1963         * aclocal.in (usage): Use PACKAGE_BUGREPORT.  Point to Automake
1964         home page and GNU general help page.
1965         * automake.in (usage): Likewise.
1966         * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
1967         address.
1968         (Introduction, Creating amhello, amhello Explained, Options):
1969         Use it throughout.
1970         * lib/Automake/Makefile.am (do_subst): Substitute
1971         PACKAGE_BUGREPORT.
1972         * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
1973         * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
1974         messages.
1975
1976         Clean up @var handling in the manual.
1977         * doc/automake.texi: Throughout the manual, lower-case @var
1978         names, replace a few one-character names.
1979
1980 2010-06-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
1981
1982         Fix typo-related bug in test script silent5.test.
1983         * tests/silent5.test: Use $EGREP, not $GREP (which is not even
1984         defined).
1985
1986         Tests: remove useless repetitions of `foreign' automake option.
1987         * tests/multlib.test (configure.in): Remove useless use of
1988         `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
1989         already in $AUTOMAKE by default, so no point in repeating it).
1990         * tests/subobj10.test: Likewise.
1991         * tests/subobj9.test: Likewise.
1992         * tests/lex3.test (Makefile.am): Similarly, remove useless use
1993         of `foreign' option in AUTOMAKE_OPTIONS.
1994         * tests/lex5.test: Likewise.
1995         * tests/pr279.test: Likewise.
1996         * tests/pr279-2.test: Likewise.
1997         * tests/specflg3.test: Likewise.
1998         * tests/target-cflags.test: Likewise.
1999
2000         Drop useless requirement "gzip" in lex5.test.
2001         * tests/lex5.test ($required): Do not list "gzip", as it's
2002         never used.
2003
2004 2010-06-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
2005
2006         Fix bugs in test script silent5.test.
2007         * tests/silent5.test: Fixed a nasty bug (due to the use of grep
2008         instead of egrep) that could have led to false negatives.
2009
2010 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
2011
2012         Add a test checking that distributed broken symlinks cause
2013         `make dist' to fail.
2014         * tests/distlinksbrk.test: New test.
2015         * tests/Makefile.am (TESTS): Updated.
2016
2017 2010-06-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2018
2019         Fix minor testsuite issues, update docs, for Yacc/Lex changes.
2020         * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
2021         and AM_LFLAGS, LFLAGS in the order in which they now appear in
2022         the rules.
2023         * NEWS: Update.
2024         * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
2025         tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
2026         please maintainer-check.  Ensure generated C files contain a
2027         declaration, to please compilers.
2028
2029 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
2030
2031         Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
2032         $(FLAGS) precedence.
2033         * automake.in: Fix registration of languages "Lex", "Lex (C++)",
2034         "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
2035         $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
2036         * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
2037         * NEWS: Updated.
2038
2039         New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
2040         $(AM_FLAGS) and $(FLAGS) precedence.
2041         * tests/lflags.test: New test, check that user $(LFLAGS) takes
2042         precedence over automake (AM_LFLAGS) and (foo_LFLAGS).  Still
2043         xfailing.
2044         * tests/lflags2.test: Likewise.
2045         * tests/yflags.test: New test, check that user $(YFLAGS) takes
2046         precedence over automake (AM_YFLAGS) and (foo_YFLAGS).  Still
2047         xfailing.
2048         * tests/yflags2.test: Likewise.
2049         * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
2050
2051 2010-06-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
2052
2053         Modernize, improve and extend tests `suffix*.test'.
2054         * tests/suffix3.test: Enable `errexit' shell flag, and related
2055         changes.
2056         * tests/suffix4.test: Likewise.
2057         * tests/suffix6.test: Likewise, and do not create a useless dummy
2058         source file.
2059         * tests/suffix7.test: Likewise.
2060         * tests/suffix5.test: Enable `errexit' shell flag, and related
2061         changes.  Make grepping of Makefile.in slightly stricter.
2062         * tests/suffix.test: Enable `errexit' shell flag, and related
2063         changes.  Also, do not redirect grep output to /dev/null, as this
2064         might unmotivatedly hide useful information.
2065         * tests/suffix2.test: Move setting of `errexit' shell flag earlier
2066         in the script (just after inclusion of ./defs).  Use a more
2067         idiomatic way to count text occurrences in Makefile.in with
2068         grep.  Do not create useless dummy source files.
2069         * tests/suffix10.test: Ensure verbose printing of captured make
2070         stdout.  Minor cosmetic changes.
2071         * tests/suffix8.test: Likewise.  Also, drop useless call to the
2072         env(1) utility, and make grepping of make output stricter by using
2073         $FGREP rather than plain grep.
2074         * tests/suffix11.test: Likewise.
2075         * tests/suffix12.test: Likewise.
2076         * tests/suffix9.test: Prefer cat + here-doc over echo to append to
2077         the `configure.in' stub.  Cosmetic changes.
2078         * tests/suffix13.test: Cosmetic spacing change.
2079
2080 2010-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
2081
2082         Add useful comment in test script ext.test.
2083         * tests/ext.test: Add a comment explaining why an apparently
2084         useless `if' statement is indeed required.
2085
2086         Add useful comment in test script obsolete.test.
2087         * tests/obsolete.test: Add a comment explaining why we need
2088         an indirection in adding $AUTOUPDATE to $required.
2089
2090         Normalize whitespaces in 'tests/Makefile.am'.
2091         * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
2092         definition of this variable.
2093
2094 2010-06-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2095
2096         Remove a couple of unneeded conditionals from tests.
2097         * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
2098         for the FOOTEST conditional.
2099
2100 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
2101
2102         Modernize, improve and/or fix various test scripts.
2103         * tests/symlink3.test: Deleted, separated into two new, more
2104         complete tests ...
2105         * tests/forcemiss.test: ... this one ...
2106         * tests/forcemiss2.test: ... and this one.
2107         * tests/symlink2.test: Enable `errexit' shell flag, make test
2108         stricter, and skip it if symlink creation is not supported.
2109         * tests/postproc.test: Enable `errexit' shell flag, related
2110         changes, and a couple of unrelated cosmetic changes.
2111         * tests/recurs.test: Use the `configure.in' stub created by
2112         `./defs', rather than writing one from scratch.  Make grepping
2113         of Automake stderr slightly stricter.
2114         * tests/substtarg.test: Likewise.
2115         * tests/strip.test: Likewise, and move the call to `set -e'
2116         earlier (just after the inclusion of `./defs'). Also, make sure
2117         that the script installed by `make install-script' is equal to
2118         the original one.
2119         * tests/substref.test: Use the `configure.in' stub created by
2120         `./defs', rather than writing one from scratch.  Move the call
2121         to `set -e' earlier (just after the inclusion of `./defs').
2122         Avoid to explicitly export CC for configure (that's already done
2123         in ./defs).  Avoid potential problems with unpredictable make
2124         output.  Finally, make grepping of Makefile.in stricter.
2125         * tests/substre2.test: Ensure verbose printing of the captured
2126         make's output, and make its grepping slightly stricter.
2127         * tests/cygwin32.test: Enable `errexit' shell flag, and related
2128         changes.  Also, do not create useless dummy source/data files.
2129         * tests/scripts.test: Likewise.
2130         * tests/recurs2.test: Likewise.  Also, use the `configure.in'
2131         stub created by `./defs'.
2132         * tests/Makefile.am (TESTS): Updated.
2133
2134         Modernize, improve and/or fix tests `pluseq*.test.
2135         * tests/pluseq5.test: Append to configure.in using cat with an
2136         here-doc, not using echo.
2137         * tests/pluseq10.test: Make sure that the captured output of
2138         `make' command is always displayed. Where possible, use $FGREP
2139         instead of grep (this change makes some checks slightly stricter).
2140         * tests/pluseq8.test: Enable `errexit' shell flag, with related
2141         changes.
2142         * tests/pluseq.test: Likewise.  Also, do not create useless dummy
2143         data files, and use better m4 quoting in generated configure.in.
2144         * tests/pluseq2.test: Likewise.  Also, append to configure.in
2145         using cat with an here-doc, not using echo.
2146         * tests/pluseq3.test: Likewise.
2147         * tests/pluseq4.test: Likewise.
2148         * tests/pluseq6.test: Likewise.
2149         * tests/pluseq7.test: Do not create useless dummy source file.
2150         * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
2151         Automake stderr.  Some unrelated cosmetic changes.
2152
2153         Testsuite: ensure verbose printing of captured stderr.
2154         * tests/acloca18.test: Print captured stderr before either failing
2155         or grepping it.  Be sure to send captured stderr to stderr, not to
2156         stdout.
2157         * tests/ansi3b.test: Likewise.
2158         * tests/cond39.test: Likewise.
2159         * tests/configure.test: Likewise.
2160         * tests/missing3.test: Likewise.
2161         * tests/missing6.test: Likewise.
2162         * tests/output-order.test: Likewise.
2163         * tests/pr300-ltlib.test: Likewise.
2164         * tests/python6.test: Likewise.
2165         * tests/python7.test: Likewise.
2166         * tests/python8.test: Likewise.
2167         * tests/python9.test: Likewise.
2168         * tests/subobj.test: Likewise.
2169         * tests/vars3.test: Likewise.
2170         * tests/missing4.test: Likewise, and fix a call to grep not to use
2171         the `-c' flag.
2172         * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
2173         created by `./defs', rather than writing one from scratch.
2174
2175         Enable `errexit' shell flag in various tests.
2176         * tests/backsl.test: Enable the `errexit' shell flag, and
2177         related changes.
2178         * tests/backsl2.test: Likewise.
2179         * tests/block.test: Likewise.
2180         * tests/canon2.test: Likewise.
2181         * tests/canon4.test: Likewise.
2182         * tests/comment2.test: Likewise.
2183         * tests/condlib.test: Likewise.
2184         * tests/cond15.test: Likewise, and prefer $FGREP over grep.
2185         * tests/canon3.test: Likewise.  Also, avoid to create an useless
2186         dummy source file.
2187         * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
2188         related changes.  Do some cosmetic improvements in the generated
2189         `configure.in' file.
2190         * tests/cond4.test: Likewise.
2191         * tests/cond14.test: Likewise.
2192         * tests/condinc.test: Likewise.
2193         * tests/cond7.test: Likewise.  Also, remove useless setting of
2194         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
2195         * tests/ansi.test: Enable the `errexit' shell flag, and related
2196         changes.  Extended, esp. by running autoconf, ./configure and
2197         make, and by looking into the distdir.
2198
2199 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
2200             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2201
2202         Extend tests/README w.r.t. trailing `:' in test scripts.
2203         * tests/README (section "Writing test cases" subsection "Do"):
2204         Explain why apparently redundant trailing `:' and `Exit 0' in
2205         test scripts can indeed be useful.
2206
2207 2010-06-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
2208
2209         Improve determination of PATH separator in bootstrap script.
2210         * bootstrap: Determine what the PATH separator is the same way
2211         autoconf does.
2212
2213         Minor improvements in bootstrap script.
2214         * bootstrap: Consistently use two-spaces indentation.  Cosmetic
2215         improvement to comments.
2216         ($me): New variable, containing program basename.
2217         Prepend it to all error messages.
2218
2219         Testsuite now works with BSD make in parallel mode.
2220         * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
2221         which are exported by BSD make when run in parallel mode, and
2222         which can confuse make processes spawned by our testsuite.
2223         This change fixes a lot of spurious failure when the testsuite
2224         is run with BSD make in parallel mode.
2225
2226 2010-06-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
2227
2228         Modernize, improve and/or fix various test scripts.
2229         * tests/sanity.test: Rely on the `configure.in' stub created by
2230         `./defs', rather than writing one from scratch.
2231         * tests/depend2.test: Likewise.  Also, call `set -e' just after
2232         the inclusion of `./defs', instead that later in the script.
2233         * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
2234         $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
2235         * tests/exeext4.test: Use $FGREP instead of grep, where possible.
2236         Make auxiliary rules in the generated Makefile more silent.
2237         These changes make some checks slightly stricter.
2238         * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
2239         * tests/gettext2.test: Place final `:' at the end of the script,
2240         rather than in the middle.
2241         * tests/exeext.test: Call `set -e' just after the inclusion of
2242         `./defs', instead that later in the script.
2243         * tests/extra5.test: Likewise.
2244         * tests/confdeps.test: Likewise.  Also, prefer `mv -f' over
2245         plain `mv', just to be sure.
2246         * tests/depcomp.test: Enable `errexit' shell flag, with related
2247         changes.  Also, modernize the generated configure.in.
2248         * tests/cond9.test: Likewise.  Also, rely on the `configure.in'
2249         stub created by `./defs', rather than writing one from scratch.
2250         * tests/cond10.test: Likewise.
2251         * tests/depcomp2.test: Likewise.
2252         * tests/depend3.test: Likewise.
2253         * tests/distcom7.test: Likewise.
2254         * tests/fortdep.test: Likewise.  Also, remove definition of
2255         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
2256         since that flag is already provided by $AUTOMAKE.
2257         * tests/mdate.test: Made stricter, by checking that Automake
2258         actually failed, and by making a stricter grep on the error
2259         message.  Also, set shell `errexit flag'.
2260         * tests/python2.test: Improved verbose messages.
2261
2262         Make test `ammissing.test' stricter.
2263         * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
2264         Enable `errexit' shell flag.
2265
2266 2010-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
2267
2268         Enable `errexit' shell flag in some test scripts.
2269         * tests/subcond.test: Enabled `errexit' shell flag, and related
2270         minor changes.
2271         * tests/subst.test: Likewise.
2272         * tests/vars.test: Likewise.
2273         * tests/version4.test: Likewise.
2274         * tests/vpath.test: Likewise.
2275         * tests/vtexi2.test: Likewise.
2276         * tests/werror.test: Likewise.
2277         * tests/whoami.test: Likewise.
2278         * tests/tags.test: Likewise, and avoid to crate an useless dummy
2279         header file.
2280         * tests/acsilent.test: Likewise, and don't use an easily-avoided
2281         command substitution.
2282         * tests/unused.test: Likewise, and don't use an easily-avoided
2283         command substitution.
2284         * tests/version.test: Likewise, and avoid deprecated constructs
2285         in the generated `configure.in'.
2286         * tests/version2.test: Likewise, and avoid deprecated constructs
2287         in the generated `configure.in'.
2288
2289 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2290
2291         Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
2292         * tests/ldadd.test: Enable errexit.  Use AUTOMAKE_fails so
2293         the verbose log contains all output.
2294         * tests/mdate.test: Likewise.
2295         Prompted by Stefano Lattarini's change to discover.test.
2296
2297 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
2298
2299         Improve tests link*.test (enable `errexit' shell flag).
2300         * tests/link_c_cxx.test: Enable `errexit shell flag, and related
2301         changes.  Also, do not create useless source files.
2302         * tests/link_dist.test: Likewise.
2303         * tests/link_f90_only.test: Likewise.
2304         * tests/link_f_only.test: Likewise.
2305         * tests/link_fc.test: Likewise.
2306         * tests/link_fccxx.test: Likewise.
2307         * tests/link_fcxx.test: Likewise.
2308
2309 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2310
2311         Improve ext.test semantics, avoid OpenBSD sh errexit issue.
2312         * tests/ext.test: Inside shell compound command, use
2313         `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
2314         fix failure with OpenBSD sh introduced with last patch.
2315         Actually ensure that a rule for .EXT.o is created for each
2316         known extension EXT.
2317
2318 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
2319
2320         Enable `errexit' shell flag in some test scripts.
2321         * tests/dash.test: Enable `errexit' shell flag, and related
2322         changes.
2323         * tests/defun.test: Likewise.
2324         * tests/defun2.test: Likewise.
2325         * tests/dejagnu.test: Likewise.
2326         * tests/double.test: Likewise.
2327         * tests/distcom2.test: Likewise.
2328         * tests/empty2.test: Likewise.
2329         * tests/empty3.test: Likewise.
2330         * tests/empty4.test: Likewise.
2331         * tests/exdir.test: Likewise.
2332         * tests/ext.test: Likewise.
2333         * tests/extra.test: Likewise.
2334         * tests/extra2.test: Likewise.
2335         * tests/extra3.test: Likewise.
2336         * tests/extra4.test: Likewise.
2337         * tests/flibs.test: Likewise.
2338         * tests/fnoc.test: Likewise.
2339         * tests/fo.test: Likewise.
2340         * tests/instexec.test: Likewise.
2341         * tests/ltdeps.test: Likewise.
2342         * tests/nodep.test: Likewise.
2343         * tests/nodepcomp.test: Likewise.
2344         * tests/f90only.test: Likewise, and remove botched/obsoleted
2345         comments and unnecessary commands.
2346         * tests/fonly.test: Likewise, and remove botched/obsoleted
2347         comments and unnecessary commands.
2348         * tests/discover.test: Likewise, and made stricter.
2349
2350         Enable `errexit' shell flag in all tests cxx*.test.
2351         * tests/cxx.test: Enabled `errexit' shell flag, and related
2352         minor changes.
2353         * tests/cxxansi.test: Likewise.
2354         * tests/cxxcpp.test: Likewise.
2355         * tests/cxxlibobj.test: Likewise.
2356         * tests/cxxlink.test: Likewise.
2357         * tests/cxxo.test: Likewise.
2358
2359         Enable `errexit' shell flag in various tests.
2360         * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
2361         minor changes.
2362         * tests/acoutpt.test: Likewise.
2363         * tests/acoutqnl.test: Likewise.
2364         * tests/amassign.test: Likewise.
2365         * tests/ansi2.test: Likewise.
2366         * tests/ansi4.test: Likewise.
2367         * tests/badprog.test: Likewise.
2368         * tests/checkall.test: Likewise.
2369         * tests/clean.test: Likewise.
2370         * tests/colneq2.test: Likewise.
2371         * tests/colon.test: Likewise.
2372         * tests/colon5.test: Likewise.
2373         * tests/colon6.test: Likewise.
2374         * tests/comment.test: Likewise.
2375         * tests/compile_f90_c_cxx.test: Likewise.
2376         * tests/compile_f_c_cxx.test: Likewise.
2377         * tests/cond3.test: Likewise.
2378         * tests/cond6.test: Likewise.
2379         * tests/cond13.test: Likewise.
2380         * tests/conf2.test: Likewise.
2381         * tests/confvar.test: Likewise.
2382         * tests/confvar2.test: Likewise.
2383         * tests/cond8.test: Likewise, plus a cosmetic change.
2384         * tests/confh4.test: Likewise.  Also, add in the heading comments
2385         an excerpt from the original bug report which motivated the
2386         creation of this test, to make its purpose clearer.
2387
2388 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2389
2390         Rewrite manual to be gender-neutral.
2391         * doc/automake.texi (GNU Build System)
2392         (Standard Directory Variables, General Operation, CVS)
2393         (Hard-Coded Install Paths, Dependencies As Side Effects):
2394         Rewrite text to not contain gender-specific pronouns when
2395         speaking about developers or users, either by avoiding pronouns
2396         or by addressing them as `you' instead.
2397         * THANKS: Update.
2398         Report by Christina Gratorp.
2399
2400         * AUTHORS: Update.
2401
2402 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
2403
2404         Make tests on user extensibility of silent-rules mode stricter.
2405         * tests/silent6.test: Made stricter w.r.t. the grepping of the
2406         output produced by `make'.
2407         * tests/silent7.test: Likewise.
2408
2409         Tests on silent-mode for C/Libtool made stricter.
2410         * tests/silent.test: Made stricter w.r.t. the grepping of the
2411         output produced by `make'.
2412         * tests/silent2.test: Likewise.
2413         * tests/silent4.test: Likewise.
2414         * tests/silent9.test: Likewise.
2415         * tests/silent3.test: Likewise, and add a final `make distclean'
2416         command to keep it better in sync with tests/silent{4,9}.test.
2417
2418         Improved test silent5.test.
2419         * tests/silent5.test: Remove by hand all generated C files after
2420         non-verbose builds, to ensure the following builds are clean.
2421         Try to clean and rebuild with the same verbosity and without
2422         removing generated sources in between, to check that this does
2423         not trigger a different set of rules.  Make grepping of make's
2424         output stricter.  Improved/added some comments.
2425
2426         New tests for Automake silent-mode with Fortran.
2427         * tests/silentf77.test: New test.
2428         * tests/silentf90.test: Likewise.
2429         * tests/Makefile.am (TESTS): Updated accordingly.
2430
2431         New test `silentcxx.test' (Automake silent-mode with C++).
2432         * tests/silentcxx.test: New test.
2433         * tests/Makefile.am (TESTS): Updated accordingly.
2434
2435         New test `silentyacc.test' (Automake silent-mode with Yacc).
2436         * tests/silentyacc.test: New test.
2437         * tests/Makefile.am (TESTS): Updated accordingly.
2438
2439         New test `silentlex.test' (Automake silent-mode with Lex).
2440         * tests/silentlex.test: New test.
2441         * tests/Makefile.am (TESTS): Updated accordingly.
2442
2443         Relax tests on silent-rules to cater to overly verbose makes.
2444         * tests/silent.test: When testing silent builds, don't fail if
2445         make's output simply contains the `mv' substring, but only if
2446         it contains the `mv ' substring (note the trailing space).
2447         * tests/silent2.test: Likewise.
2448         * tests/silent3.test: Likewise.
2449         * tests/silent4.test: Likewise.
2450         * tests/silent5.test: Likewise.
2451         * tests/silent9.test: Likewise.
2452
2453 2010-01-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2454
2455         Fix silent-rules output for disabled dependency tracking.
2456         * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
2457         expansion code to also work in the case where %AMDEP% expands
2458         to FALSE at config.status time, using new substitution string
2459         %VERBOSE-NODEP%.
2460         * automake.in (verbose_nodep_flag): New function, appending
2461         `@am__nodep@' to the verbose-variable name.
2462         (handle_languages): If dependencies are not disabled, use it to
2463         set %VERBOSE-NODEP%.
2464         * m4/depend.m4: Substitute am__nodep as '_no', so the second
2465         verbose-variable will always expand to an empty string, if
2466         dependencies are enabled.
2467         * tests/silent5.test: Also test --disable-dependency-tracking;
2468         also test per-target flags for non-C language files.
2469         * tests/silent9.test: New test, like silent4.test but disable
2470         dependency tracking.
2471         * tests/Makefile.am: Adjust.
2472         * NEWS, THANKS: Update.
2473         Report by Dmitry V. Levin <ldv@altlinux.org>.
2474
2475 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
2476
2477         Extend test on `nostdinc' automake option.
2478         * tests/nostdinc.test: Enable `errexit' shell flag.  Related and
2479         unrelated minor changes.  Make the grepping of the generated
2480         Makefile.in slightly stricter.  Generate and run configure, so that
2481         the generated Makefile can be grepped too.
2482
2483 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2484
2485         Make gnupload portable to EBCDIC hosts.
2486         * lib/gnupload: Use literal newline as argument for 'tr' rather
2487         than \015, for EBCDIC hosts.  Also, avoid unportable nested
2488         double-quotes and backquotes.
2489         * THANKS: Update.
2490         Report from Eric Blake and Steve Goetze via gnulib.
2491
2492 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
2493
2494         Fix Autoconf version required by Automake's configure.
2495         Automake configure script used to tell that automake required
2496         autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
2497         and if that was not found, it gave an error saying that Automake
2498         required configure 2.61a-341 or later.  This change should
2499         eliminate such inconsistencies.
2500         * configure.ac ($required_autoconf_version): New variable.
2501         Use it throughout.
2502
2503 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2504
2505         Fix unportable sed script in maintainer-check test.
2506         * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
2507         not contain semicolon after 'b' or brace commands, for NetBSD.
2508
2509         Wildcards are not portable to NetBSD make.
2510         * doc/automake.texi (Wildcards): Document portability issue.
2511         * tests/extra10.test, tests/extra11.test, tests/extra12.test:
2512         Require GNU make.
2513
2514 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
2515
2516         Make test for configure.in vs. configure.ac stricter.
2517         * tests/configure.test: Use a configure.in file that provokes
2518         an automake error, to ensure configure.ac is preferred.
2519
2520         Avoid possible false negatives in dejagnu7.test.
2521         * tests/dejagnu7.test: Enable shell `errexit' flag.  Also, avoid
2522         unportable use of fgrep option `-e'.
2523
2524         Fix conflnk3.test to work with Solaris/Heirloom Sh.
2525         * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
2526         instead of respectively `test -e FILE' and `test ! -e FILE',
2527         since Solaris Sh doesn't grok the latter.  Do not SKIP the test
2528         if the shell doesn't support `test -e'.
2529
2530 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2531
2532         Fix typo in manual.
2533         * doc/automake.texi (Simple Tests using parallel-tests): Add
2534         missing closing parenthesis.
2535
2536         Fix leftover call to removed function macros_dump.
2537         * automake.in (read_main_am_file): Call variables_dump, not
2538         macros_dump.  Print actual error before list of variables.
2539
2540 2010-04-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
2541
2542         Minor improvements in comments of test `silent3.test'.
2543         * tests/silent3.test: Tell to keep it in sync with `silent9.test'
2544         too.
2545
2546 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2547
2548         testsuite: ensure verbose printing of captured output.
2549         * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
2550         tests/fort2.test, tests/help.test, tests/missing3.test,
2551         tests/missing6.test: Print captured stdout or stderr before
2552         grepping it.
2553
2554 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
2555
2556         Make test badopt.test stricter (by enabling `set -e').
2557         * tests/badopt.test: Add call to `set -e'.  Due to this change,
2558         an unexpected failure in the call to `$ACLOCAL' (whose outcome
2559         was previously unchecked) would cause the whole test to fail.
2560         Also, bumped the copyright years.
2561
2562         Make test for configure.in vs. configure.ac stricter.
2563         * tests/configure.test: Use a configure.in file that provokes
2564         an automake error, to ensure configure.ac is preferred.
2565
2566         Use `set -e' in confsub.test (avoids possible false negatives).
2567         * tests/confsub.test: Enable shell `errexit' flag, and related
2568         changes (this helps avoiding some possible minor false negatives).
2569         Also, bumped copyright years.
2570
2571 2010-04-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2572
2573         Fix -Werror handling for presence of configure.in and configure.ac.
2574         * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
2575         $configure_ac at the global level, before command-line arguments
2576         have been parsed.
2577         (require_variables): Initialize it here.
2578         * tests/configure.test: New test.
2579         * tests/Makefile.am: Update.
2580         Report by Stefano Lattarini.
2581
2582 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
2583
2584         Avoid possible false negatives in confh5.test.
2585         * tests/confh5.test: Enable shell `errexit' flag, and bumped
2586         copyright years.  Due to this change, any unexpected failure
2587         in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
2588         a failure in grepping expected text in output files should now
2589         cause the whole test to fail.
2590
2591 2010-04-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
2592
2593         Fixed typo in POD documentation of Automake::Channels.
2594         * lib/Automake/Channels.pm: Fixed typo in POD documentation:
2595         @<...> was used instead of C<...>.
2596
2597 2010-04-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
2598
2599         Refactor tests on Automake TESTS color output.
2600         * tests/color.test: Tests using the expect program moved out to...
2601         * tests/color2.test: ... this new file.
2602         * tests/Makefile.am (TESTS): Extended accordingly.
2603
2604 2010-04-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
2605
2606         Fix typos in comments in test confh5.test
2607         * tests/confh5.test: Fix a couple of typos in comments.
2608
2609         Avoid possible false negatives in canon-name.test.
2610         * tests/canon-name.test: Enable shell `errexit' flag.  Improve
2611         test description.
2612
2613 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2614
2615         Fix per-Makefile.am setting of -Werror.
2616         Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
2617         Makefile.am would carry over to other Makefile.am files
2618         treated afterwards by the same thread, causing inconsistent
2619         and unstable exit status values.
2620         * lib/Automake/Channels.pm (dup_channel_setup)
2621         (drop_channel_setup): Save and restore the setting of
2622         $warnings_are_errors.
2623         * tests/werror3.test: New test.
2624         * tests/Makefile.am: Adjust.
2625         * NEWS: Update.
2626
2627 2010-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
2628
2629         Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
2630         * tests/confh5.test: In the generated Makefile.am: do not use
2631         `test ! -e FILE' to check for the non-existence of a file, since
2632         that is not supported by Solaris/Heirloom Sh.
2633
2634         Make test `aclocal3.test' stricter.
2635         * tests/aclocal3.test: Add call to `set -e'.  Fail if $ACLOCAL
2636         succeds unexpectedly.
2637
2638         Add tests checking that symlinks are resolved by `make dist'.
2639         * tests/distlinks.test: New test.
2640         * tests/Makefile.am (TESTS): Updated accordingly.
2641         Suggested by observations from Ralf Wildenhues.
2642
2643 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2644
2645         Use -9 for maximum xz compression with dist-xz.
2646         * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
2647         * NEWS, THANKS: Update.
2648         Report by Pavel Sanda.
2649
2650 2010-03-30  Stefano Lattarini  <stefano.lattarini@gmail.com>
2651
2652         Avoid an unportable use of `$status' shell variable.
2653         * Makefile.am (path-check): Don't use the `$status' shell variable
2654         in the target's rules, as it's special in Zsh (equivalent to `$?',
2655         and readonly).
2656
2657         Avoid another use of `chmod -R'.
2658         * Makefile.am (path-check): To be safe, do not use `chmod -R' on
2659         $(distdir) before removing it (as Solaris `chmod -R' touches
2660         symlink targets).  Instead, use the cleanup strategy used in
2661         distdir.am.
2662
2663 2010-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2664
2665         Remove uses of @acronym and @sc.
2666         * doc/automake.texi (Public Macros, Limitations on File Names):
2667         Remove all usage of @acronym and @sc in the manual.
2668         Suggested by Karl Berry.
2669
2670 2010-03-13  Karl Berry  <karl@freefriends.org>
2671
2672         GNU hello uses fdl.texi, not gpl.texi.
2673         * doc/automake.texi (Texinfo): Adjust example to upstream
2674         change.
2675
2676 2010-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2677
2678         Formatting cleanups in macro comments.
2679         * automake.in, lib/Automake/Channels.pm,
2680         lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
2681         lib/Automake/Variable.pm, lib/Automake/XFile.pm,
2682         m4/options.m4, m4/substnot.m4: Fix macro comment format.
2683
2684 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
2685             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2686
2687         Avoid generation of `tests/defs-p' file.
2688         * tests/defs.in: In the generated `configure.in' snippet: call
2689         `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
2690         variable `parallel_tests' is set to `yes'.
2691         * tests/Makefile.am (defs-p): Target removed.
2692         (check_SCRIPTS): Removed `defs-p'.
2693         (clean-local-check): Do not unlink `defs-p' anymore.
2694         ($(parallel_tests)): Transformation rules for the test scripts
2695         adjusted.
2696         * tests/gen-parallel-tests: Selection rules for the test
2697         scripts adjusted.
2698         * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
2699         then include `./defs' (rather than simply including `./defs-p').
2700         * tests/parallel-tests2.test: Likewise.
2701         * tests/parallel-tests3.test: Likewise.
2702         * tests/parallel-tests4.test: Likewise.
2703         * tests/parallel-tests5.test: Likewise.
2704         * tests/parallel-tests6.test: Likewise.
2705         * tests/parallel-tests7.test: Likewise.
2706         * tests/parallel-tests8.test: Likewise.
2707         * tests/parallel-tests9.test: Likewise.
2708         * tests/parallel-tests10.test: Likewise.
2709         * tests/README (Section "Writing Test Cases" subsection "Do"):
2710         Adjusted the parts referring to tests checking `parallel-tests'
2711         behaviour.  Some other minor related improvements.
2712         * tests/.gitignore (defs-p): Removed.
2713
2714 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
2715
2716         Remove redundant unset of variable TESTS from some test scripts.
2717         * tests/color.test: Do not unset the `TESTS' variable, as it's
2718         already unset in the `defs' file.
2719         * tests/check5.test: Likewise.
2720         * tests/check8.test: Likewise.
2721         * tests/check9.test: Likewise.
2722         * tests/check10.test: Likewise.
2723         * tests/check11.test: Likewise.
2724         * tests/parallel-tests.test: Likewise.
2725         * tests/parallel-tests3.test: Likewise.
2726         * tests/parallel-tests4.test: Likewise.
2727         * tests/parallel-tests5.test: Likewise.
2728         * tests/parallel-tests6.test: Likewise.
2729         * tests/parallel-tests7.test: Likewise.
2730
2731 2010-02-22  Karl Berry  <karl@gnu.org>
2732
2733         Improve help message of mdate-sh.
2734         * mdate-sh: mention actual output format in help message.
2735
2736 2010-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2737
2738         Deprecate dist-lzma in favor of dist-xz.
2739         * doc/automake.texi (The Types of Distributions, Options):
2740         Adjust text to reflect renaming of lzma to xz.
2741         * NEWS: Update.
2742         Missing deprecation noted by Antonio Diaz Diaz.
2743
2744 2010-02-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
2745
2746         Add tests about support of wildcards in EXTRA_DIST.
2747         * tests/extra10.test: New test, check basic support of wildcards
2748         in EXTRA_DIST.
2749         * tests/extra11.test: New test, check more complex usage of
2750         wildcards in EXTRA_DIST.
2751         * tests/extra12.test: New test, check usage of wildcards in
2752         EXTRA_DIST when $builddir != $srcdir.
2753         * tests/Makefile.am (TESTS): Updated accordingly.
2754         Necessity of these new tests suggested by Braden McDaniel
2755         and Ralf Wildenhues.
2756
2757 2010-02-08  Simon Josefsson  <simon@josefsson.org>
2758
2759         Fix copyright statement in gnupload script.
2760         * lib/gnupload: Fix copyright statement.
2761
2762 2010-02-06  Dmitry V. Levin  <ldv@altlinux.org>  (tiny change)
2763             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2764
2765         Fix exit status of signal handlers in shell scripts.
2766         The value of `$?' on entrance to signal handlers in shell scripts
2767         cannot be relied upon, so set the exit code explicitly to
2768         128 + SIG<SIGNAL>.
2769         * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
2770         * lib/elisp-comp: Likewise.
2771         * lib/install-sh: Likewise.
2772         * lib/ylwrap: Likewise.  Also, fix script to trap signal 13, not 3.
2773         * NEWS, THANKS: Update.
2774         Bug report, analysis, and initial patch by Dmitry V. Levin.
2775
2776 2010-02-06  Karl Berry  <karl@gnu.org>
2777
2778         Improve gnupload usage text.
2779         * gnupload (usage): Shorten to make more likely to fit on a tty
2780         line.  Mention CMD in the synopsis.  With ..., plural is implied.
2781
2782 2010-01-28  Christos Kontas  <xakon@yahoo.com>  (tiny change)
2783
2784         Fix some typos in the manual
2785         * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
2786
2787 2010-01-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
2788
2789         Slighty improve tests acoutbs.test and acoutbs2.test.
2790         * tests/acoutbs2.test: Enable `errexit' shell flag.  Check that
2791         autoconf and configure work, that the file `zot' is created by
2792         configure, and that no file containing a backslash in its name is
2793         created.
2794         * tests/acoutbs.test: Likewise, plus updated copyright years.
2795
2796         Fix test acoutbs2.test.
2797         * tests/acoutbs2: In the generated configure.in: add proper calls
2798         to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
2799         PACKAGE and VERSION. Add a call to aclocal before calling automake.
2800         Updated copyright years.
2801         * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
2802
2803         Add forgotten test scripts to $(TESTS).
2804         * tests/Makefile.am (TESTS): Added test scripts present on the
2805         filesystem, which were erroneously left out from $(TESTS):
2806         acoutbs2.test, badopt.test, extra2.test.
2807         (XFAIL_TESTS): Added acoutbs2.test.
2808
2809 2010-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2810
2811         Sync auxiliary files from upstream.
2812         * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
2813         Sync from upstream.
2814
2815         Bump copyright years.
2816         * aclocal.in (write_aclocal, version): Bump copyright years.
2817         * automake.in (gen_copyright, version): Likewise.
2818         * doc/automake.texi: Likewise.
2819
2820         Rotate ChangeLog.
2821         * ChangeLog.09: New file, rotated from ...
2822         * ChangeLog: ... here.
2823         * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
2824
2825 -----
2826
2827 Copyright (C) 2010  Free Software Foundation, Inc.
2828
2829 Copying and distribution of this file, with or without modification, are
2830 permitted provided the copyright notice and this notice are preserved.
2831
2832 ;; Variables:
2833 ;; coding: utf-8
2834 ;; End: