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