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