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