Fix broken link in `AM_WITH_DMALLOC' help screen.
[platform/upstream/automake.git] / ChangeLog
1 2010-09-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
2
3         Fix broken link in `AM_WITH_DMALLOC' help screen.
4         * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
5         `http://www.dmalloc.com', not to the dmalloc tarball there (which
6         seems to have been removed, substituted by multiple release
7         tarballs now).
8
9 2010-09-17  Eric Blake  <eblake@redhat.com>
10
11         Avoid triple-space after period.
12         * automake.in (handle_single_transform): Avoid 3 spaces at
13         sentence end.
14         * ChangeLog.03: Likewise.
15         * lib/Automake/ChannelDefs.pm: Likewise.
16         * lib/Automake/Channels.pm (_print_message): Likewise.
17         * lib/Automake/Rule.pm (rule): Likewise.
18         * lib/Automake/Variable.pm (var): Likewise.
19         * lib/am/distdir.am: Likewise.
20         * tests/insthook.test: Likewise.
21
22 2010-09-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
23
24         Test automake-generated portions of configure help screen.
25         * tests/help-depend.test: New test.
26         * tests/help-depend2.test: Likewise.
27         * tests/help-dmalloc.test: Likewise.
28         * tests/help-init.test: Likewise.
29         * tests/help-lispdir.test: Likewise.
30         * tests/help-maintainer.test: Likewise.
31         * tests/help-multilib.test: Likewise.
32         * tests/help-regex.test: Likewise.
33         * tests/help-silent.test: Likewise.
34         * tests/help-upc.test: Likewise.
35         * tests/mmode.test: Remove tests on `configure --help' output,
36         they are supersed by tests in `help-maintainer.test'.
37         * tests/Makefile.am (TESTS): Update.
38
39 2010-09-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
40
41         * tests/README: Don't put GCS mandated tools in $required.
42
43 2010-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
44
45         * HACKING: Hint at old commits with `git describe' output.
46
47 2010-09-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
48
49         Fix regression in test `colon4.test'.
50         * tests/colon4.test: Fix botched editing to `configure.in'
51         that made the test useless.  Since we are at it, improve
52         comments and make grepping of generated Makefile.in slighty
53         stricter.
54         Regression introduced by change "Modernize, improve and/or
55         extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
56
57 2010-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
58
59         Do not require "gzip" explicitly in tests.
60         The gzip utility is simply expected to be present on any decent
61         target system for Automake.  So it's pointless to put it in
62         $required.
63         * tests/install2.test ($required): Do not require "gzip".
64         * tests/lex3.test: Likewise.
65         * tests/pr9.test: Likewise.
66         From a suggestion by Ralf Wildenhues.
67
68         Make some `confh*.test' tests more "semantic" (plus tweakings).
69         * tests/confh.test: Run "autoconf", "configure" and "make check",
70         instead of munging/grepping the generated `Makefile.in'.
71         * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
72         white spaces.  Do not create usless dummy source file `foo.c'
73         and useless dummy header file `acconfig.h'.
74         (configure.in): Remove superfluous call to `AC_OUTPUT'.
75         * tests/confh6.test: Add trailing `:' command.
76         * tests/confh7.test: In comments, add reference to ...
77         * tests/confh8.test: ... this new test, "semantic" sister
78         of `confh7.test'.
79         * tests/Makefile.am (TESTS): Updated.
80         Prompted by a report from Ralf Wildenhues.
81
82         Remove useless whitespace padding in XFAIL_TESTS definition.
83         * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
84
85 2010-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
86
87         parallel-tests: avoid command-line length limit issue.
88         * automake.in (handle_tests): New argument $makefile, new
89         substitution %MAKEFILE%.
90         (generate_makefile): Adjust.
91         * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
92         sanitized TEST_LOGS value as makefile snippet on standard
93         input to $(MAKE), to avoid exceeding the command line limit on
94         w32 (MSYS).
95         * NEWS: Update.
96         Report by Bob Friesenhahn.
97
98         Posix 2008 requires make to set errexit.
99         * lib/am/check.am: Update comment.
100
101 2010-08-27  Stefano Lattarini  <stefano.lattarini@gmail.com>
102
103         Fix bug in test missing6.test.
104         * tests/missing6.test: Fix the hack used to edit `configure.in',
105         to avoid producing a configure script that breaks with shells
106         that do not support $LINENO.  Also throw in a couple of cosmetic
107         changes.
108
109 2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
110
111         Improve robustness of mdate-sh script.
112         * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
113         $ls_command is word-split properly upon invocation.
114         (error): New function.
115         (main): Use it.  Improve error checking to avoid endless loop
116         in case $ls_command gave bogus output.  Fix eval quotation.
117         * tests/mdate6.test: New test, to expose eval quotation error.
118         * tests/Makefile.am: Update.
119
120 2010-08-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
121
122         Fix potential regressions in depcomp{3,5}.test.
123         * tests/depcomp3.test: Do not uselessly escape the character `$'
124         in makefile rules, when it's used to expand a make macro.
125         * tests/depcomp5.test: Likewise.
126
127 2010-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
128             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
129
130         Docs: clarify how to avoid automatic dependencies tracking.
131         * doc/automake.texi (Automatic dependency tracking): Mention that
132         automatic dependencies tracking is enabled by default, but that
133         the package developer can disable it altogether.  Add a reference
134         to the proper section for a more in-depth explanation.
135
136         Fix typo in manual (`Makefile.in' instead of `Makefile.am').
137         * doc/automake.texi (Automatic dependency tracking): Fix typo.
138
139 2010-08-16  Bruno Haible  <bruno@clisp.org>
140
141         Don't hide the table of contents.
142         * doc/automake.texi: Move the table of contents to the beginning.
143
144 2010-08-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
145
146         Tweak and/or extend some `acloca*.test' tests.
147         * tests/aclocal8.test:  Ensure verbose printing of captured
148         output.
149         * tests/aclocal.test: Likewise.  Also, add trailing `:'
150         command.
151         * tests/acloca19.test: Likewise.
152         * tests/aclocal5.test: Add trailing `:' command, and prefer
153         `$me' over hard-coded test name.
154         * tests/aclocal6.test: Likewise.
155         * tests/aclocal18.test: Add trailing `:' command, and make
156         some grepping slighty stricter.
157         * tests/acloca14.test: Likewise.  Also, prefer `diff' over
158         `cmp', and add some "cosmetic" blank lines.
159
160 2010-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
161
162         Tweak and extend tests `pr[!0-9]*.test'.
163         * tests/primary3.test: Add trailing `:' command.
164         * tests/primary.test: Make grepping of Automake's stderr stricter.
165         Also, add trailing `:' command, and cosmetic changes in spacing.
166         * tests/primary2.test: Likewise.
167         * tests/prefix.test: Enable `errexit' shell flags, and related
168         changes.  Add a trailing `:' command.
169         * tests/proginst.test: Likewise.
170
171         Modernize, improve and extend tests for PR (`pr[0-9]*.test').
172         * tests/pr2.test: Add trailing `:' command.
173         * tests/pr229.test: Likewise.
174         * tests/pr401.test: Likewise.
175         * tests/pr401b.test: Likewise.
176         * tests/pr401c.test: Likewise.
177         * tests/pr300-prog.test: Likewise, plus cosmetic changes in
178         spacing.
179         * tests/pr300-lib.test: Likewise.
180         * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
181         of captured make stdout.
182         * tests/pr211.test: Add trailing `:' command.  Also, use the
183         `configure.in' stub created by ./defs, rather than writing it
184         from scratch.
185         * tests/pr204.test: Likewise, plus cosmetic spacing changes.
186         * tests/pr287.test: Likewise, and move setting of `errexit' shell
187         flag earlier in the script (just after inclusion of ./defs).
188         * tests/pr220.test: Make grepping of Automake's stderr stricter.
189         Also, add trailing `:' command, and cosmetic changes in spacing.
190         * tests/pr224.test: Move setting of `errexit' shell flag earlier
191         in the script (just after inclusion of ./defs).  Do not export
192         `CC=gcc' to configure explicitly (it's already exported globally
193         in ./defs, since we have "gcc" in $required).  Use the stub for
194         `configure.in' created by ./defs, rather than writing it from
195         scratch.  Do not create dummy files required by "gnu" mode (e.g.
196         README, NEWS), since we run automake in foreign mode anyway.
197         * tests/pr72.test: Enable `errexit' shell flags, and related
198         changes.  Extend existing checks a bit.
199         * tests/pr9.test: Likewise.  Also, avoid obolescent constructs in
200         the generated `configure.in', and extend existing checks over the
201         generated tarball a bit.
202         * tests/pr87.test: Enable `errexit' shell flags, and related
203         changes.  Add a trailing `:' command.  Also, do not create dummy
204         files required by "gnu" mode (e.g. README, NEWS), since we run
205         automake in foreign mode anyway.
206         * tests/pr243.test: Avoid obolescent constructs in the generated
207         `configure.in'.  Enable the `errexit' shell flag, and related
208         changes.  Cosmetic changes to spacing, add trailing `:' command,
209         and add a "FIXME" comment.
210         * tests/pr266.test: Likewise, and add explicit command line switch
211         `--enable-dependecy-tracking' to the ./configure call.
212         * tests/pr279.test: Avoid obolescent constructs in the generated
213         `configure.in'; also, use the `configure.in' stub created by
214         ./defs, rather than writing it from scratch.  Enable `errexit'
215         shell flag, and related changes.  Add trailing `:' command.
216         * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
217         stricter.
218         * tests/pr307.test: Move setting of `errexit' shell flag earlier
219         in the script (just after inclusion of ./defs).  Escape literal
220         dots in grep regular expressions.  Also, add a trailing `:'
221         command, and cosmetic changes to spacing.
222
223         Tests for PR: add excerpts from original bug report, for clarity.
224         * tests/pr2.test: Ditto.
225         * tests/pr9.test: Likewise.
226         * tests/pr72.test: Likewise.
227         * tests/pr87.test: Likewise.
228         * tests/pr211.test: Likewise.
229         * tests/pr220.test: Likewise.
230         * tests/pr224.test: Likewise.
231         * tests/pr229.test: Likewise.
232         * tests/pr243.test: Likewise.
233         * tests/pr266.test: Likewise.
234         * tests/pr279.test: Likewise, and tell to keep it in sync
235         with its sister test.
236         * tests/pr279-2.test: Likewise.
237
238 2010-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
239
240         Tweak, extend and improve tests `cond[a-z]*.test'.
241         * tests/condd.test: Add trailing `:' command.  Typofix in
242         comment.
243         * tests/condhook.test: Make sure target `install-data-hook' is
244         not called by `make install', but that data files are installed.
245         Use proper m4 quoting in configure.in. Add trailing `:' command.
246         * tests/condhook2.test: New test, sister test of condhook, with
247         inverted semantic.
248         * tests/condinc2.test: Use proper m4 quoting in configure.in.
249         Prefer trailing `:' command over trailing `Exit 0'.
250         * tests/condman2.test: Enable errexit shell flag, and related
251         changes.  Add trailing `:' command.
252         * tests/condman.test: Likewise.  Also, do not create useless
253         dummy manpages, and use proper m4 quoting in configure.in.
254         * tests/condman3.test: New test, similar to condman.test, but
255         it also runs ./configure and "make install", and check the
256         installed files.
257         * tests/Makefile.am (TESTS): Updated.
258
259         Modernize, improve and/or extend tests `colon*.test.
260         * tests/colon.test: Rely on the `configure.in' stub created by
261         `./defs', rather than writing one from scratch.  Do not create
262         a useless dummy file.  Add trailing `:' command.
263         * tests/colon4.test: Enable the `errexit' shell flag, and
264         related changes.  Rely on the `configure.in' stub created by
265         `./defs', rather than writing one from scratch.
266         * tests/colon7.test: Enable `errexit' shell flag, and related
267         changes.  Improve the generated `configure.in' file.  Add
268         trailing `:' command.
269         * tests/colon2.test: Likewise.  Also, add some new checks.
270         * tests/colon5.test: Improve the generated `configure.in' file.
271         Add new, much deeper checks.  Add trailing `:' command.
272         * tests/colon6.test: Likewise.
273         * tests/colon3.test: Add trailing `:' command.  Remove useless
274         comments and echos.  Improve the generated `configure.in' file.
275         make some grepping tests stricter.  Add a "FIXME" comments about
276         planned improvements.
277
278         Improve and extend tests `asm*.test'.
279         * tests/asm.test: Use configure.in stub generated by ./defs,
280         and avoid obsoleted autoconf constructs.  Make grepping of
281         Automake stderr stricter.  Do not create useless source file.
282         Improve verbose messages.  Minor cosmetic changes.  Tell to
283         keep it in sync with other sister tests asm*.test.
284         * tests/asm2.test: Likewise.
285         * tests/asm3.test: Likewise.
286
287         Modernize, improve and/or extend test scripts `conf*.test'.
288         * tests/confh5.test: Cosmetic changes.
289         * tests/conff.test: Likewise.
290         * tests/confdeps.test: Likewise.
291         * tests/conflnk.test: Likewise.
292         * tests/conflnk2.test: Likewise.
293         * tests/confsub.test: Likewise.
294         * tests/confvar.test: Likewise, and make grepping of Makefile.in
295         stricter.
296         * tests/confvar2.test: Likewise.
297         * tests/conflnk3.test: Cosmetic changes, and re-enable a temporarly
298         disabled test (which didn't work with autoconf <= 2.59, but now we
299         are requiring autoconf 2.62, so...)
300         * tests/conflnk4.test: Cosmetic changes, and extend existing tests
301         accordingly to "TODO" comments.
302         * tests/conff2.test: Make grepping of Automake's stderr stricter.
303         Add some comments explaining why we don't use the `configure.in'
304         stub preset be ./defs.
305         * tests/confh.test: Use the `configure.in' stub created by ./defs,
306         rather than writing one from scratch, and do not call AC_OUTPUT.
307         Enable `errexit' shell flag, and related changes.  Prefer diff over
308         cmp to compare text files. Prefer perl over sed to fetch the value
309         of $(DIST_COMMON) from Makefile.in.  Make grepping of the contents
310         of $(DIST_COMMON) stricter.
311         * tests/confh4.test: Use the `configure.in' stub created by ./defs,
312         rather than writing one from scratch.  Make grepping of Makefile.in
313         stricter.
314         * tests/confh5.test: Make grepping of `config.h' stricter.  Add a
315         comment.
316         * tests/configure.test: Avoid obsolescent constructs in generated
317         `configure.ac'.  Do not write `configure.in' two times.  Escape
318         literal dots in grep regular expressions.
319         * tests/confincl.test:  Enable `errexit' shell flag, and related
320         changes.  Prefer fgrep over grep.  Other cosmetic changes.
321         * tests/config.test: Renamed to ...
322         * tests/confh6.test: ... this.  Fix m4 quoting in `configure.in',
323         and make grepping of `config.h' and `config.h.in' stricter.
324         * tests/conf2.test: Renamed ...
325         * tests/confh7.test: ... to this.  Use the `configure.in' stub
326         created by ./defs, rather than writing one from scratch.  Try to
327         run the checks both with and without AC_PROG_CC and AC_OUTPUT in
328         `configure.in'.
329         * tests/Makefile.am (TESTS): Updated.
330
331         Minor improvements and fixes in tests `depcomp*.test'.
332         * tests/depcomp.test: Do not create useless dummy source files.
333         Add a trailing `:' command.
334         * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
335         it's not in in the environment, rather tthan exporting it with an
336         empty value.  Do not pass CC=gcc to configure, as that's already
337         done in ./defs since we have gcc in $required.  Ensure verbose
338         printing of captured stderr, and normalize its checking.  Add a
339         trailing `:' command.
340         * tests/depcomp3.test: Quote literal dots and dollar characters in
341         grep regexps.  Always use `: >' rather than `touch' to create empty
342         files.  Explicitly declare phony targets as such in the created
343         Makefile.am.  Add a trailing `:' command.
344         * tests/depcomp4.test: Quote literal dots and dollar characters in
345         grep regexp.  Explicitly declare phony targets as such in the
346         created Makefile.am.  Ensure verbose printing of captured makes'
347         stoud/stderr.  Add a trailing `:' command.
348         * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
349         in the script (just after inclusion of ./defs).  Quote literal dots
350         and dollar characters in grep regexps.  Explicitly declare phony
351         targets as such in the created Makefile.am.  Add a trailing `:'
352         command.
353         * tests/depcomp6.test: Consistenty use m4 quoting in the generated
354         configure.in.  Cosmetic fixes to spacing.  Make the "dummy" `if'
355         statement required by OpenBSD's sh `set -e' more robust, and add
356         explanatory comments to it.
357         * tests/depcomp7.test: Likewise, and add  a trailing `:' command.
358
359         Separate failing part of test `all.test'.
360         * tests/all.test: Keep only (x)failing part of the test.  Working
361         checks moved out to ...
362         * tests/all2.test: ... this new test.
363         * tests/Makefile.am (TESTS): Updated.
364
365         Modernize, improve and extend tests `subobj*.test'.
366         * tests/subobjname.test:  Add trailing `:' command.
367         * tests/subobj.test: Make grepping of `Makefile.in' stricter.
368         Escape literal dots in grep regexps.
369         * tests/subobj2.test:  Add trailing `:' command.  Do not use the
370         unportable fgrep option `-e'.
371         * tests/subobj3.test: Add trailing `:' command.
372         (configure.in): Use proper m4 quoting, and avoid obsolescent
373         constructs.
374         * tests/subobj8.test: Likewise.  Also, enable `errexit' shell
375         flag, with related changes
376         * tests/subobj4.test: Likewise.  Also, make grepping of
377         `Makefile.in' stricter.
378         * tests/subobj5.test: Add trailing `:' command.  Move setting of
379         `errexit' shell flag earlier in the script (just after inclusion
380         of ./defs).
381         (configure.in): Use the stub created by `./defs', rather than
382         writing it from scratch, and avoid obsolescent constructs.
383         * tests/subobj6.test: Add trailing `:' command.  Move setting of
384         `errexit' shell flag earlier in the script (just after inclusion
385         of ./defs).  Do not create useless dummy ac-init file `f'.
386         * tests/subobj7.test: Do not create useless dummy ac-init file
387         `f'.
388         (configure.in): Use the stub created by `./defs', rather than
389         writing it from scratch, and avoid obsolescent constructs.
390         * tests/subobj9.test: Move setting of `errexit' shell flag earlier
391         in the script (just after inclusion of ./defs).  Fail the test if
392         `make distcheck' fails.  Ensure verbose printing of captured make
393         stdout.  Avoid uselsss fork by doing simple grep instead of using
394         test -n "`COMMAND | grep ...`".
395         (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
396         (Makefile.am): Explicitly mark target "print" as phony.
397         * tests/subobj10.test: Removed duplicated call to `set -e'.  Add
398         trailing `:' command.
399         (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
400
401         Remove a couple of obsoleted tests.
402         * tests/fpinstall.test: Removed.
403         * tests/fpinst2.test: Likewise.
404         * tests/Makefile.am (TESTS): Updated.
405
406         Bootstrap: updated HACKING entry.
407         * HACKING ("Working with git"): Explain how to override the
408         autoconf and autom4te programs used by the bootstrap process.
409
410         Bootstrap: fixlet.
411         * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
412         since we don't generate it.  Correctly quote arguments of
413         `eval' builtin.  Fixed a botched error message.  Removed an
414         extra blank line.
415
416         Bootstrap: don't search perl in $PATH.
417         * bootstrap: Do not explicitly search perl in $PATH anymore.
418         ($PATH_SEPARATOR): Removed, it's no more needed.
419
420         Bootstrap: let the user choose which autoconf to use.
421         * bootstrap ($AUTOCONF): New variable, from the environment.
422         ($AUTOM4TE): Likewise, for clarity.
423         Use "$AUTOCONF" instead of calling "autoconf" directly.
424
425         Minor improvements to tests ar*.test.
426         * tests/ar.test: Add trailing `:' command.
427         * tests/ar2.test: Likewise, and make grepping of generated
428         Makefile.in stricter.
429
430 2010-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
431
432         Fix maintainer-check failure.
433         * tests/cond5.test: Quote sleep argument, this isn't about
434         time stamp differences.
435
436         Sync auxiliary files from upstream.
437         * lib/config.guess, lib/config.sub, lib/texinfo.tex:
438         Sync from upstream.
439
440 2010-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
441
442         Work around a nasty bug (segfault) of Solaris make.
443         * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
444         from $list, to avoid triggering a nasty bug (potential segfault)
445         on Solaris make.
446
447 2010-08-06  Peter Rosin  <peda@lysator.liu.se>
448
449         Make cond5.test more robust on MSYS.
450         * tests/cond5.test: Add delay before the first kill attempt to
451         cater for problems with MSYS bash.
452
453 2010-07-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
454
455         Add example git work flow; discuss merge --log in HACKING.
456         * HACKING: Update.
457         Suggestion by Stefano Lattarini.
458
459         Add more hints for debugging make rules.
460         * doc/automake.texi (Debugging Make Rules): Show command to find
461         out expanded values of variables; point to makefile debugger.
462         * THANKS: Update.
463         Prompted by suggestion from Ludovic Courtès and Andy Wingo.
464
465 2010-07-27  Patrick Welche  <prlw1@cam.ac.uk>  (tiny change)
466
467         Fix typo in the manual.
468         * doc/automake.texi (Scripts): Fix typo.
469
470 2010-07-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
471
472         Document current policy for development with git.
473         * HACKING (Working with git): Overhaul.
474         Prompted by suggestion from Stefano Lattarini.
475
476         Fix AM_COND_IF for gone-invalid condition shell expression.
477         * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
478         variable, rather than re-evaluating the shell expression for
479         the condition.
480         * tests/cond40.test: Extend test.
481         * NEWS: Update.
482
483         Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
484         * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
485         to avoid shell syntax error if the m4 expansion is empty.
486         * tests/cond40.test: Enhance test.
487
488         Coverage: bogus option to AM_INIT_AUTOMAKE.
489         * tests/init2.test: New test.
490         * tests/Makefile.am: Update.
491
492 2010-07-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
493
494         Modernize and improve test scripts `subdir*.test'.
495         * tests/subdir.test: Enable `errexit' shell flag, and related
496         changes.  Use the `configure.in' stub created by `./defs',
497         rather than writing one from scratch.
498         * tests/subdir2.test: Likewise.
499         * tests/subdir4.test: Likewise.
500         * tests/subdir3.test: Enable `errexit' shell flag, and related
501         changes.  Do not create useless dummy source files.
502         * tests/subdir5.test: Make grepping of Makefile.in (in topdir
503         and in subdirs) stricter.  Some minor changes to keep it more
504         in sync with the related test `subdir8.test'.
505         * tests/subdir8.test: Likewise (but with the related test being
506         `subdir5.test' here).
507         * tests/subdir6.test: Cosmetic change in spacing.
508         * tests/subdir9.test: Define and use new variable `$distdir'.  Add
509         trailing `:' command.
510         * tests/subdir10.test: Cosmetic consistency-related change.
511         * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
512         (configure.in): Use stub created by `./defs', rather than writing
513         it from scratch.  Do not use obsoleted and/or deprecated forms of
514         autoconf/automake macros.
515
516         Modernize and improve test scripts `dist*.test'.
517         * tests/distcleancheck.test: Do not add useless `-e' option to
518         a $MAKE call.  Extend test by grepping stderr of make.
519         * tests/distcom2.test: Do not run the same test script on the
520         Makefile.in twice, but save its output in an intermediate file
521         instead.  Make grepping of DIST_COMMON definition stricter.
522         Display the content of more files, to ease debugging.  Add a
523         trailing `:' command.  Improved heading comments w.r.t. sister
524         test(s).
525         * tests/distcom6.test: Likewise, and avoid to uselessly run
526         autoconf.
527         * tests/distcom3.test: Ensure verbose printing of captured stdout
528         and stderr.  Make grepping of captured stderr stricter.  Also,
529         add trailing `:' command.
530         * tests/distcom4.test: Declare the target `test' in the generated
531         Makefile.am as `.PHONY'.  Display content of more files, to ease
532         debugging.  Add trailing `:' command.
533         * tests/distcom5.test: Likewise.  Also, factor out common sed
534         script in subroutine `extract_distcommon'.
535         * tests/distcom7.test: Prefer cat + here-doc over echo to write
536         test Makefile.am files.  Add a trailing `:' command.
537         * tests/distname.test: Prefer `gzip -d' over `gunzip'.  Move the
538         call to `set -e' earlier.  Be stricter and more verbose in the
539         checking of the generated tarball.
540         (configure.in): Use the stub provided by ./defs, instead of
541         writing it from scratch.  Avoid obsoleted constructs.  Remove
542         useless call to `AM_PROG_CC_C_O'.
543         * tests/distdir.test: Various minor improvements/normalizations.
544         * tests/distlinks.test: Likewise.
545
546 2010-07-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
547
548         Improve and extend test cond5.test.
549         * tests/cond5.test: Do not blindly sleep 60 seconds before polling
550         the background automake process, but poll it every 10 seconds for
551         at most 30 times (this makes the test both faster on good machines,
552         and more resilient to spurious timeout-due failures when in low
553         priority or on heavily-loaded systems).
554         Check also that automake writes the expected error messages on the
555         standard error.
556         Enable `errexit' flag, and related changes.
557         Rely on the `configure.in' stub created by `./defs', rather than
558         writing one from scratch.
559
560 2010-06-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
561
562         Update program --help output to match current GCS.
563         * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
564         is not defined, for compatibility to Autoconf < 2.64.
565         * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
566         PACKAGE_URL.
567         (sc_diff_automake_in_automake): Update number of diff lines for
568         additional substitutions.
569         * aclocal.in (usage): Use PACKAGE_BUGREPORT.  Point to Automake
570         home page and GNU general help page.
571         * automake.in (usage): Likewise.
572         * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
573         address.
574         (Introduction, Creating amhello, amhello Explained, Options):
575         Use it throughout.
576         * lib/Automake/Makefile.am (do_subst): Substitute
577         PACKAGE_BUGREPORT.
578         * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
579         * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
580         messages.
581
582         Clean up @var handling in the manual.
583         * doc/automake.texi: Throughout the manual, lower-case @var
584         names, replace a few one-character names.
585
586 2010-06-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
587
588         Fix typo-related bug in test script silent5.test.
589         * tests/silent5.test: Use $EGREP, not $GREP (which is not even
590         defined).
591
592         Tests: remove useless repetitions of `foreign' automake option.
593         * tests/multlib.test (configure.in): Remove useless use of
594         `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
595         already in $AUTOMAKE by default, so no point in repeating it).
596         * tests/subobj10.test: Likewise.
597         * tests/subobj9.test: Likewise.
598         * tests/lex3.test (Makefile.am): Similarly, remove useless use
599         of `foreign' option in AUTOMAKE_OPTIONS.
600         * tests/lex5.test: Likewise.
601         * tests/pr279.test: Likewise.
602         * tests/pr279-2.test: Likewise.
603         * tests/specflg3.test: Likewise.
604         * tests/target-cflags.test: Likewise.
605
606         Drop useless requirement "gzip" in lex5.test.
607         * tests/lex5.test ($required): Do not list "gzip", as it's
608         never used.
609
610 2010-06-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
611
612         Fix bugs in test script silent5.test.
613         * tests/silent5.test: Fixed a nasty bug (due to the use of grep
614         instead of egrep) that could have led to false negatives.
615
616 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
617
618         Add a test checking that distributed broken symlinks cause
619         `make dist' to fail.
620         * tests/distlinksbrk.test: New test.
621         * tests/Makefile.am (TESTS): Updated.
622
623 2010-06-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
624
625         Fix minor testsuite issues, update docs, for Yacc/Lex changes.
626         * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
627         and AM_LFLAGS, LFLAGS in the order in which they now appear in
628         the rules.
629         * NEWS: Update.
630         * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
631         tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
632         please maintainer-check.  Ensure generated C files contain a
633         declaration, to please compilers.
634
635 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
636
637         Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
638         $(FLAGS) precedence.
639         * automake.in: Fix registration of languages "Lex", "Lex (C++)",
640         "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
641         $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
642         * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
643         * NEWS: Updated.
644
645         New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
646         $(AM_FLAGS) and $(FLAGS) precedence.
647         * tests/lflags.test: New test, check that user $(LFLAGS) takes
648         precedence over automake (AM_LFLAGS) and (foo_LFLAGS).  Still
649         xfailing.
650         * tests/lflags2.test: Likewise.
651         * tests/yflags.test: New test, check that user $(YFLAGS) takes
652         precedence over automake (AM_YFLAGS) and (foo_YFLAGS).  Still
653         xfailing.
654         * tests/yflags2.test: Likewise.
655         * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
656
657 2010-06-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
658
659         Modernize, improve and extend tests `suffix*.test'.
660         * tests/suffix3.test: Enable `errexit' shell flag, and related
661         changes.
662         * tests/suffix4.test: Likewise.
663         * tests/suffix6.test: Likewise, and do not create a useless dummy
664         source file.
665         * tests/suffix7.test: Likewise.
666         * tests/suffix5.test: Enable `errexit' shell flag, and related
667         changes.  Make grepping of Makefile.in slighty stricter.
668         * tests/suffix.test: Enable `errexit' shell flag, and related
669         changes.  Also, do not redirect grep output to /dev/null, as this
670         might unmotivatedly hide useful information.
671         * tests/suffix2.test: Move setting of `errexit' shell flag earlier
672         in the script (just after inclusion of ./defs).  Use a more
673         idiomatic way to count text occurrences in Makefile.in with
674         grep.  Do not create useless dummy source files.
675         * tests/suffix10.test: Ensure verbose printing of captured make
676         stdout.  Minor cosmetic changes.
677         * tests/suffix8.test: Likewise.  Also, drop useless call to the
678         env(1) utility, and make grepping of make output stricter by using
679         $FGREP rather than plain grep.
680         * tests/suffix11.test: Likewise.
681         * tests/suffix12.test: Likewise.
682         * tests/suffix9.test: Prefet cat + here-doc over echo to append to
683         the `configure.in' stub.  Cosmetic changes.
684         * tests/suffix13.test: Cosmetic spacing change.
685
686 2010-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
687
688         Add useful comment in test script ext.test.
689         * tests/ext.test: Add a comment explaining why an apparently
690         useless `if' statement is indeed required.
691
692         Add useful comment in test script obsolete.test.
693         * tests/obsolte.test: Add a comment explaining why we need
694         an indirection in adding $AUTOUPDATE to $required.
695
696         Normalize whitespaces in 'tests/Makefile.am'.
697         * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
698         definition of this variable.
699
700 2010-06-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
701
702         Remove a couple of unneeded conditionals from tests.
703         * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
704         for the FOOTEST conditional.
705
706 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
707
708         Modernize, improve and/or fix various test scripts.
709         * tests/symlink3.test: Deleted, separated into two new, more
710         complete tests ...
711         * tests/forcemiss.test: ... this one ...
712         * tests/forcemiss2.test: ... and this one.
713         * tests/symlink2.test: Enable `errexit' shell flag, make test
714         stricter, and skip it if symlink creation is not supported.
715         * tests/postproc.test: Enable `errexit' shell flag, related
716         changes, and a couple of unrelated cosmetic changes.
717         * tests/recurs.test: Use the `configure.in' stub created by
718         `./defs', rather than writing one from scratch.  Make grepping
719         of Automake stderr slighty stricter.
720         * tests/substtarg.test: Likewise.
721         * tests/strip.test: Likewise, and move the call to `set -e'
722         earlier (just after the inclusion of `./defs'). Also, make sure
723         that the script installed by `make install-script' is equal to
724         the original one.
725         * tests/substref.test: Use the `configure.in' stub created by
726         `./defs', rather than writing one from scratch.  Move the call
727         to `set -e' earlier (just after the inclusion of `./defs').
728         Avoid to explicitly export CC for configure (that's already done
729         in ./defs).  Avoid potential problems with unpredictable make
730         output.  Finally, make grepping of Makefile.in stricter.
731         * tests/substre2.test: Ensure verbose printing of the captured
732         make's output, and make its grepping slighty stricter.
733         * tests/cygwin32.test: Enable `errexit' shell flag, and related
734         changes.  Also, do not create useless dummy source/data files.
735         * tests/scripts.test: Likewise.
736         * tests/recurs2.test: Likewise.  Also, use the `configure.in'
737         stub created by `./defs'.
738         * tests/Makefile.am (TESTS): Updated.
739
740         Modernize, improve and/or fix tests `pluseq*.test.
741         * tests/pluseq5.test: Append to configure.in using cat with an
742         here-doc, not using echo.
743         * tests/pluseq10.test: Make sure that the captured output of
744         `make' command is always displayed. Where possible, use $FGREP
745         instead of grep (this change makes some checks slighty stricter).
746         * tests/pluseq8.test: Enable `errexit' shell flag, with related
747         changes.
748         * tests/pluseq.test: Likewise.  Also, do not create useless dummy
749         data files, and use better m4 quoting in generated configure.in.
750         * tests/pluseq2.test: Likewise.  Also, append to configure.in
751         using cat with an here-doc, not using echo.
752         * tests/pluseq3.test: Likewise.
753         * tests/pluseq4.test: Likewise.
754         * tests/pluseq6.test: Likewise.
755         * tests/pluseq7.test: Do not create useless dummy source file.
756         * tests/pluseq9.test: Slighty extended w.r.t. the grepping of
757         Automake stderr.  Some unrelated cosmetic changes.
758
759         Testsuite: ensure verbose printing of captured stderr.
760         * tests/acloca18.test: Print captured stderr before either failing
761         or grepping it.  Be sure to send captured stderr to stderr, not to
762         stdout.
763         * tests/ansi3b.test: Likewise.
764         * tests/cond39.test: Likewise.
765         * tests/configure.test: Likewise.
766         * tests/missing3.test: Likewise.
767         * tests/missing6.test: Likewise.
768         * tests/output-order.test: Likewise.
769         * tests/pr300-ltlib.test: Likewise.
770         * tests/python6.test: Likewise.
771         * tests/python7.test: Likewise.
772         * tests/python8.test: Likewise.
773         * tests/python9.test: Likewise.
774         * tests/subobj.test: Likewise.
775         * tests/vars3.test: Likewise.
776         * tests/missing4.test: Likewise, and fix a call to grep not to use
777         the `-c' flag.
778         * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
779         created by `./defs', rather than writing one from scratch.
780
781         Enable `errexit' shell flag in various tests.
782         * tests/backsl.test: Enable the `errexit' shell flag, and
783         related changes.
784         * tests/backsl2.test: Likewise.
785         * tests/block.test: Likewise.
786         * tests/canon2.test: Likewise.
787         * tests/canon4.test: Likewise.
788         * tests/comment2.test: Likewise.
789         * tests/condlib.test: Likewise.
790         * tests/cond15.test: Likewise, and prefer $FGREP over grep.
791         * tests/canon3.test: Likewise.  Also, avoid to create an useless
792         dummy source file.
793         * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
794         related changes.  Do some cosmetic improvements in the generated
795         `configure.in' file.
796         * tests/cond4.test: Likewise.
797         * tests/cond14.test: Likewise.
798         * tests/condinc.test: Likewise.
799         * tests/cond7.test: Likewise.  Also, remove useless setting of
800         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
801         * tests/ansi.test: Enable the `errexit' shell flag, and related
802         changes.  Extended, esp. by running autoconf, ./configure and
803         make, and by looking into the distdir.
804
805 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
806             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
807
808         Extend tests/README w.r.t. trailing `:' in test scripts.
809         * tests/README (section "Writing test cases" subsection "Do"):
810         Explain why apparently redundant trailing `:' and `Exit 0' in
811         test scripts can indeed be useful.
812
813 2010-06-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
814
815         Improve determination of PATH separator in bootstrap script.
816         * bootstrap: Detemine what the PATH separator is the same way
817         autoconf does.
818
819         Minor improvements in bootstrap script.
820         * bootstrap: Consistently use two-spaces indentation.  Cosmetic
821         improvement to comments.
822         ($me): New variable, containing program basename.
823         Prepend it to all error messages.
824
825         Testsuite now works with BSD make in parallel mode.
826         * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
827         which are exported by BSD make when run in parallel mode, and
828         which can confuse make processes spawned by our testsuite.
829         This change fixes a lot of spurious failure when the testsuite
830         is run with BSD make in parallel mode.
831
832 2010-06-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
833
834         Modernize, improve and/or fix various test scripts.
835         * tests/sanity.test: Rely on the `configure.in' stub created by
836         `./defs', rather than writing one from scratch.
837         * tests/depend2.test: Likewise.  Also, call `set -e' just after
838         the inclusion of `./defs', instead that later in the script.
839         * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
840         $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
841         * tests/exeext4.test: Use $FGREP instead of grep, where possible.
842         Make auxiliary rules in the generated Makefile more silent.
843         These changes make some checks slighty stricter.
844         * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
845         * tests/gettext2.test: Place final `:' at the end of the script,
846         rather than in the middle.
847         * tests/exeext.test: Call `set -e' just after the inclusion of
848         `./defs', instead that later in the script.
849         * tests/extra5.test: Likewise.
850         * tests/confdeps.test: Likewise.  Also, prefer `mv -f' over
851         plain `mv', just to be sure.
852         * tests/depcomp.test: Enable `errexit' shell flag, with related
853         changes.  Also, modernize the generated configure.in.
854         * tests/cond9.test: Likewise.  Also, rely on the `configure.in'
855         stub created by `./defs', rather than writing one from scratch.
856         * tests/cond10.test: Likewise.
857         * tests/depcomp2.test: Likewise.
858         * tests/depend3.test: Likewise.
859         * tests/distcom7.test: Likewise.
860         * tests/fortdep.test: Likewise.  Also, remove definition of
861         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
862         since that flag is already provided by $AUTOMAKE.
863         * tests/mdate.test: Made stricter, by checking that Automake
864         actually failed, and by making a stricter grep on the error
865         message.  Also, set shell `errexit flag'.
866         * tests/python2.test: Improved verbose messages.
867
868         Make test `ammissing.test' stricter.
869         * tests/ammissing.test: Fail if $ACLOCAL succeds unexpectedly.
870         Enable `errexit' shell flag.
871
872 2010-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
873
874         Enable `errexit' shell flag in some test scripts.
875         * tests/subcond.test: Enabled `errexit' shell flag, and related
876         minor changes.
877         * tests/subst.test: Likewise.
878         * tests/vars.test: Likewise.
879         * tests/version4.test: Likewise.
880         * tests/vpath.test: Likewise.
881         * tests/vtexi2.test: Likewise.
882         * tests/werror.test: Likewise.
883         * tests/whoami.test: Likewise.
884         * tests/tags.test: Likewise, and avoid to crate an useless dummy
885         header file.
886         * tests/acsilent.test: Likewise, and don't use an easily-avoided
887         command substitution.
888         * tests/unused.test: Likewise, and don't use an easily-avoided
889         command substitution.
890         * tests/version.test: Likewise, and avoid deprecated constructs
891         in the generated `configure.in'.
892         * tests/version2.test: Likewise, and avoid deprecated constructs
893         in the generated `configure.in'.
894
895 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
896
897         Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
898         * tests/ldadd.test: Enable errexit.  Use AUTOMAKE_fails so
899         the verbose log contains all output.
900         * tests/mdate.test: Likewise.
901         Prompted by Stefano Lattarini's change to discover.test.
902
903 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
904
905         Improve tests link*.test (enable `errexit' shell flag).
906         * tests/link_c_cxx.test: Enable `errexit shell flag, and related
907         changes.  Also, do not create useless source files.
908         * tests/link_dist.test: Likewise.
909         * tests/link_f90_only.test: Likewise.
910         * tests/link_f_only.test: Likewise.
911         * tests/link_fc.test: Likewise.
912         * tests/link_fccxx.test: Likewise.
913         * tests/link_fcxx.test: Likewise.
914
915 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
916
917         Improve ext.test semantics, avoid OpenBSD sh errexit issue.
918         * tests/ext.test: Inside shell compound command, use
919         `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
920         fix failure with OpenBSD sh introduced with last patch.
921         Actually ensure that a rule for .EXT.o is created for each
922         known extension EXT.
923
924 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
925
926         Enable `errexit' shell flag in some test scripts.
927         * tests/dash.test: Enable `errexit' shell flag, and related
928         changes.
929         * tests/defun.test: Likewise.
930         * tests/defun2.test: Likewise.
931         * tests/dejagnu.test: Likewise.
932         * tests/double.test: Likewise.
933         * tests/distcom2.test: Likewise.
934         * tests/empty2.test: Likewise.
935         * tests/empty3.test: Likewise.
936         * tests/empty4.test: Likewise.
937         * tests/exdir.test: Likewise.
938         * tests/ext.test: Likewise.
939         * tests/extra.test: Likewise.
940         * tests/extra2.test: Likewise.
941         * tests/extra3.test: Likewise.
942         * tests/extra4.test: Likewise.
943         * tests/flibs.test: Likewise.
944         * tests/fnoc.test: Likewise.
945         * tests/fo.test: Likewise.
946         * tests/instexec.test: Likewise.
947         * tests/ltdeps.test: Likewise.
948         * tests/nodep.test: Likewise.
949         * tests/nodepcomp.test: Likewise.
950         * tests/f90only.test: Likewise, and remove botched/obsoleted
951         comments and unecessary commands.
952         * tests/fonly.test: Likewise, and remove botched/obsoleted
953         comments and unecessary commands.
954         * tests/discover.test: Likewise, and made stricter.
955
956         Enable `errexit' shell flag in all tests cxx*.test.
957         * tests/cxx.test: Enabled `errexit' shell flag, and related
958         minor changes.
959         * tests/cxxansi.test: Likewise.
960         * tests/cxxcpp.test: Likewise.
961         * tests/cxxlibobj.test: Likewise.
962         * tests/cxxlink.test: Likewise.
963         * tests/cxxo.test: Likewise.
964
965         Enable `errexit' shell flag in various tests.
966         * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
967         minor changes.
968         * tests/acoutpt.test: Likewise.
969         * tests/acoutqnl.test: Likewise.
970         * tests/amassign.test: Likewise.
971         * tests/ansi2.test: Likewise.
972         * tests/ansi4.test: Likewise.
973         * tests/badprog.test: Likewise.
974         * tests/checkall.test: Likewise.
975         * tests/clean.test: Likewise.
976         * tests/colneq2.test: Likewise.
977         * tests/colon.test: Likewise.
978         * tests/colon5.test: Likewise.
979         * tests/colon6.test: Likewise.
980         * tests/comment.test: Likewise.
981         * tests/compile_f90_c_cxx.test: Likewise.
982         * tests/compile_f_c_cxx.test: Likewise.
983         * tests/cond3.test: Likewise.
984         * tests/cond6.test: Likewise.
985         * tests/cond13.test: Likewise.
986         * tests/conf2.test: Likewise.
987         * tests/confvar.test: Likewise.
988         * tests/confvar2.test: Likewise.
989         * tests/cond8.test: Likewise, plus a cosmetic change.
990         * tests/confh4.test: Likewise.  Also, add in the heading comments
991         an excerpt from the original bug report which motivated the
992         creation of this test, to make its purpose clearer.
993
994 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
995
996         Rewrite manual to be gender-neutral.
997         * doc/automake.texi (GNU Build System)
998         (Standard Directory Variables, General Operation, CVS)
999         (Hard-Coded Install Paths, Dependencies As Side Effects):
1000         Rewrite text to not contain gender-specific pronouns when
1001         speaking about developers or users, either by avoiding pronouns
1002         or by addressing them as `you' instead.
1003         * THANKS: Update.
1004         Report by Christina Gratorp.
1005
1006         * AUTHORS: Update.
1007
1008 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1009
1010         Make tests on user extensibility of silent-rules mode stricter.
1011         * tests/silent6.test: Made stricter w.r.t. the grepping of the
1012         output produced by `make'.
1013         * tests/silent7.test: Likewise.
1014
1015         Tests on silent-mode for C/Libtool made stricter.
1016         * tests/silent.test: Made stricter w.r.t. the grepping of the
1017         output produced by `make'.
1018         * tests/silent2.test: Likewise.
1019         * tests/silent4.test: Likewise.
1020         * tests/silent9.test: Likewise.
1021         * tests/silent3.test: Likewise, and add a final `make distclean'
1022         command to keep it better in sync with tests/silent{4,9}.test.
1023
1024         Improved test silent5.test.
1025         * tests/silent5.test: Remove by hand all generated C files after
1026         non-verbose builds, to ensure the following builds are clean.
1027         Try to clean and rebuild with the same verbosity and without
1028         removing generated sources in between, to check that this does
1029         not trigger a different set of rules.  Make grepping of make's
1030         output stricter.  Improved/added some comments.
1031
1032         New tests for Automake silent-mode with Fortran.
1033         * tests/silentf77.test: New test.
1034         * tests/silentf90.test: Likewise.
1035         * tests/Makefile.am (TESTS): Updated accordingly.
1036
1037         New test `silentcxx.test' (Automake silent-mode with C++).
1038         * tests/silentcxx.test: New test.
1039         * tests/Makefile.am (TESTS): Updated accordingly.
1040
1041         New test `silentyacc.test' (Automake silent-mode with Yacc).
1042         * tests/silentyacc.test: New test.
1043         * tests/Makefile.am (TESTS): Updated accordingly.
1044
1045         New test `silentlex.test' (Automake silent-mode with Lex).
1046         * tests/silentlex.test: New test.
1047         * tests/Makefile.am (TESTS): Updated accordingly.
1048
1049         Relax tests on silent-rules to cater to overly verbose makes.
1050         * tests/silent.test: When testing silent builds, don't fail if
1051         make's output simply contains the `mv' substring, but only if
1052         it contains the `mv ' substring (note the trailing space).
1053         * tests/silent2.test: Likewise.
1054         * tests/silent3.test: Likewise.
1055         * tests/silent4.test: Likewise.
1056         * tests/silent5.test: Likewise.
1057         * tests/silent9.test: Likewise.
1058
1059 2010-01-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1060
1061         Fix silent-rules output for disabled dependency tracking.
1062         * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
1063         expansion code to also work in the case where %AMDEP% expands
1064         to FALSE at config.status time, using new substitution string
1065         %VERBOSE-NODEP%.
1066         * automake.in (verbose_nodep_flag): New function, appending
1067         `@am__nodep@' to the verbose-variable name.
1068         (handle_languages): If dependencies are not disabled, use it to
1069         set %VERBOSE-NODEP%.
1070         * m4/depend.m4: Substitute am__nodep as '_no', so the second
1071         verbose-variable will always expand to an empty string, if
1072         dependencies are enabled.
1073         * tests/silent5.test: Also test --disable-dependency-tracking;
1074         also test per-target flags for non-C language files.
1075         * tests/silent9.test: New test, like silent4.test but disable
1076         dependency tracking.
1077         * tests/Makefile.am: Adjust.
1078         * NEWS, THANKS: Update.
1079         Report by Dmitry V. Levin <ldv@altlinux.org>.
1080
1081 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1082
1083         Extend test on `nostdinc' automake option.
1084         * tests/nostdinc.test: Enable `errexit' shell flag.  Related and
1085         unrelated minor changes.  Make the grepping of the generated
1086         Makefile.in slighty stricter.  Generate and run configure, so that
1087         the generated Makefile can be grepped too.
1088
1089 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1090
1091         Make gnupload portable to EBCDIC hosts.
1092         * lib/gnupload: Use literal newline as argument for 'tr' rather
1093         than \015, for EBCDIC hosts.  Also, avoid unportable nested
1094         double-quotes and backquotes.
1095         * THANKS: Update.
1096         Report from Eric Blake and Steve Goetze via gnulib.
1097
1098 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1099
1100         Fix Autoconf version required by Automake's configure.
1101         Automake configure script used to tell that automake required
1102         autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
1103         and if that was not found, it gave an error saying that Automake
1104         required configure 2.61a-341 or later.  This change should
1105         eliminate such inconsistencies.
1106         * configure.ac ($required_autoconf_version): New variable.
1107         Use it throughout.
1108
1109 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1110
1111         Fix unportable sed script in maintainer-check test.
1112         * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
1113         not contain semicolon after 'b' or brace commands, for NetBSD.
1114
1115         Wildcards are not portable to NetBSD make.
1116         * doc/automake.texi (Wildcards): Document portability issue.
1117         * tests/extra10.test, tests/extra11.test, tests/extra12.test:
1118         Require GNU make.
1119
1120 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1121
1122         Make test for configure.in vs. configure.ac stricter.
1123         * tests/configure.test: Use a configure.in file that provokes
1124         an automake error, to ensure configure.ac is preferred.
1125
1126         Avoid possible false negatives in dejagnu7.test.
1127         * tests/dejagnu7.test: Enable shell `errexit' flag.  Also, avoid
1128         unportable use of fgrep option `-e'.
1129
1130         Fix conflnk3.test to work with Solaris/Heirloom Sh.
1131         * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
1132         instead of respectively `test -e FILE' and `test ! -e FILE',
1133         since Solaris Sh doesn't grok the latter.  Do not SKIP the test
1134         if the shell doesn't support `test -e'.
1135
1136 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1137
1138         Fix typo in manual.
1139         * doc/automake.texi (Simple Tests using parallel-tests): Add
1140         missing closing parenthesis.
1141
1142         Fix leftover call to removed function macros_dump.
1143         * automake.in (read_main_am_file): Call variables_dump, not
1144         macros_dump.  Print actual error before list of variables.
1145
1146 2010-04-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
1147
1148         Minor improvements in comments of test `silent3.test'.
1149         * tests/silent3.test: Tell to keep it in sync with `silent9.test'
1150         too.
1151
1152 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1153
1154         testsuite: ensure verbose printing of captured output.
1155         * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
1156         tests/fort2.test, tests/help.test, tests/missing3.test,
1157         tests/missing6.test: Print captured stdout or stderr before
1158         grepping it.
1159
1160 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1161
1162         Make test badopt.test stricter (by enabling `set -e').
1163         * tests/badopt.test: Add call to `set -e'.  Due to this change,
1164         an unexpected failure in the call to `$ACLOCAL' (whose outcome
1165         was previously unchecked) would cause the whole test to fail.
1166         Also, bumped the copyright years.
1167
1168         Make test for configure.in vs. configure.ac stricter.
1169         * tests/configure.test: Use a configure.in file that provokes
1170         an automake error, to ensure configure.ac is preferred.
1171
1172         Use `set -e' in confsub.test (avoids possible false negatives).
1173         * tests/confsub.test: Enable shell `errexit' flag, and related
1174         changes (this helps avoiding some possible minor false negatives).
1175         Also, bumped copyright years.
1176
1177 2010-04-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1178
1179         Fix -Werror handling for presence of configure.in and configure.ac.
1180         * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
1181         $configure_ac at the global level, before command-line arguments
1182         have been parsed.
1183         (require_variables): Initialize it here.
1184         * tests/configure.test: New test.
1185         * tests/Makefile.am: Update.
1186         Report by Stefano Lattarini.
1187
1188 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1189
1190         Avoid possible false negatives in confh5.test.
1191         * tests/confh5.test: Enable shell `errexit' flag, and bumped
1192         copyright years.  Due to this change, any unexpected failure
1193         in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
1194         a failure in grepping expected text in output files should now
1195         cause the whole test to fail.
1196
1197 2010-04-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
1198
1199         Fixed typo in POD documentation of Automake::Channels.
1200         * lib/Automake/Channels.pm: Fixed typo in POD documentation:
1201         @<...> was used instead of C<...>.
1202
1203 2010-04-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
1204
1205         Refactor tests on Automake TESTS color output.
1206         * tests/color.test: Tests using the expect program moved out to...
1207         * tests/color2.test: ... this new file.
1208         * tests/Makefile.am (TESTS): Extended accordingly.
1209
1210 2010-04-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
1211
1212         Fix typos in comments in test confh5.test
1213         * tests/confh5.test: Fix a couple of typos in comments.
1214
1215         Avoid possible false negatives in canon-name.test.
1216         * tests/canon-name.test: Enable shell `errexit' flag.  Improve
1217         test description.
1218
1219 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1220
1221         Fix per-Makefile.am setting of -Werror.
1222         Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
1223         Makefile.am would carry over to other Makefile.am files
1224         treated afterwards by the same thread, causing inconsistent
1225         and unstable exit status values.
1226         * lib/Automake/Channels.pm (dup_channel_setup)
1227         (drop_channel_setup): Save and restore the setting of
1228         $warnings_are_errors.
1229         * tests/werror3.test: New test.
1230         * tests/Makefile.am: Adjust.
1231         * NEWS: Update.
1232
1233 2010-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
1234
1235         Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
1236         * tests/confh5.test: In the generated Makefile.am: do not use
1237         `test ! -e FILE' to check for the non-existence of a file, since
1238         that is not supported by Solaris/Heirloom Sh.
1239
1240         Make test `aclocal3.test' stricter.
1241         * tests/aclocal3.test: Add call to `set -e'.  Fail if $ACLOCAL
1242         succeds unexpectedly.
1243
1244         Add tests checking that symlinks are resolved by `make dist'.
1245         * tests/distlinks.test: New test.
1246         * tests/Makefile.am (TESTS): Updated accordingly.
1247         Suggested by observations from Ralf Wildenhues.
1248
1249 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1250
1251         Use -9 for maximum xz compression with dist-xz.
1252         * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
1253         * NEWS, THANKS: Update.
1254         Report by Pavel Sanda.
1255
1256 2010-03-30  Stefano Lattarini  <stefano.lattarini@gmail.com>
1257
1258         Avoid an unportable use of `$status' shell variable.
1259         * Makefile.am (path-check): Don't use the `$status' shell variable
1260         in the target's rules, as it's special in Zsh (equivalent to `$?',
1261         and readonly).
1262
1263         Avoid another use of `chmod -R'.
1264         * Makefile.am (path-check): To be safe, do not use `chmod -R' on
1265         $(distdir) before removing it (as Solaris `chmod -R' touches
1266         symlink targets).  Instead, use the cleanup strategy used in
1267         distdir.am.
1268
1269 2010-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1270
1271         Remove uses of @acronym and @sc.
1272         * doc/automake.texi (Public Macros, Limitations on File Names):
1273         Remove all usage of @acronym and @sc in the manual.
1274         Suggested by Karl Berry.
1275
1276 2010-03-13  Karl Berry  <karl@freefriends.org>
1277
1278         GNU hello uses fdl.texi, not gpl.texi.
1279         * doc/automake.texi (Texinfo): Adjust example to upstream
1280         change.
1281
1282 2010-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1283
1284         Formatting cleanups in macro comments.
1285         * automake.in, lib/Automake/Channels.pm,
1286         lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
1287         lib/Automake/Variable.pm, lib/Automake/XFile.pm,
1288         m4/options.m4, m4/substnot.m4: Fix macro comment format.
1289
1290 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
1291             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1292
1293         Avoid generation of `tests/defs-p' file.
1294         * tests/defs.in: In the generated `configure.in' snippet: call
1295         `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
1296         variable `parallel_tests' is set to `yes'.
1297         * tests/Makefile.am (defs-p): Target removed.
1298         (check_SCRIPTS): Removed `defs-p'.
1299         (clean-local-check): Do not unlink `defs-p' anymore.
1300         ($(parallel_tests)): Transformation rules for the test scripts
1301         adjusted.
1302         * tests/gen-parallel-tests: Selection rules for the test
1303         scripts adjusted.
1304         * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
1305         then include `./defs' (rather than simply including `./defs-p').
1306         * tests/parallel-tests2.test: Likewise.
1307         * tests/parallel-tests3.test: Likewise.
1308         * tests/parallel-tests4.test: Likewise.
1309         * tests/parallel-tests5.test: Likewise.
1310         * tests/parallel-tests6.test: Likewise.
1311         * tests/parallel-tests7.test: Likewise.
1312         * tests/parallel-tests8.test: Likewise.
1313         * tests/parallel-tests9.test: Likewise.
1314         * tests/parallel-tests10.test: Likewise.
1315         * tests/README (Section "Writing Test Cases" subsection "Do"):
1316         Adjusted the parts referring to tests checking `parallel-tests'
1317         behaviour.  Some other minor related improvements.
1318         * tests/.gitignore (defs-p): Removed.
1319
1320 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
1321
1322         Remove redundant unset of variable TESTS from some test scripts.
1323         * tests/color.test: Do not unset the `TESTS' variable, as it's
1324         already unset in the `defs' file.
1325         * tests/check5.test: Likewise.
1326         * tests/check8.test: Likewise.
1327         * tests/check9.test: Likewise.
1328         * tests/check10.test: Likewise.
1329         * tests/check11.test: Likewise.
1330         * tests/parallel-tests.test: Likewise.
1331         * tests/parallel-tests3.test: Likewise.
1332         * tests/parallel-tests4.test: Likewise.
1333         * tests/parallel-tests5.test: Likewise.
1334         * tests/parallel-tests6.test: Likewise.
1335         * tests/parallel-tests7.test: Likewise.
1336
1337 2010-02-22  Karl Berry  <karl@gnu.org>
1338
1339         Improve help message of mdate-sh.
1340         * mdate-sh: mention actual output format in help message.
1341
1342 2010-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1343
1344         Deprecate dist-lzma in favor of dist-xz.
1345         * doc/automake.texi (The Types of Distributions, Options):
1346         Adjust text to reflect renaming of lzma to xz.
1347         * NEWS: Update.
1348         Missing deprecation noted by Antonio Diaz Diaz.
1349
1350 2010-02-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1351
1352         Add tests about support of wildcards in EXTRA_DIST.
1353         * tests/extra10.test: New test, check basic support of wildcards
1354         in EXTRA_DIST.
1355         * tests/extra11.test: New test, check more complex usage of
1356         wildcards in EXTRA_DIST.
1357         * tests/extra12.test: New test, check usage of wildcards in
1358         EXTRA_DIST when $builddir != $srcdir.
1359         * tests/Makefile.am (TESTS): Updated accordingly.
1360         Necessity of these new tests suggested by Braden McDaniel
1361         and Ralf Wildenhues.
1362
1363 2010-02-08  Simon Josefsson  <simon@josefsson.org>
1364
1365         Fix copyright statement in gnupload script.
1366         * lib/gnupload: Fix copyright statement.
1367
1368 2010-02-06  Dmitry V. Levin  <ldv@altlinux.org>  (tiny change)
1369             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1370
1371         Fix exit status of signal handlers in shell scripts.
1372         The value of `$?' on entrance to signal handlers in shell scripts
1373         cannot be relied upon, so set the exit code explicitly to
1374         128 + SIG<SIGNAL>.
1375         * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
1376         * lib/elisp-comp: Likewise.
1377         * lib/install-sh: Likewise.
1378         * lib/ylwrap: Likewise.  Also, fix script to trap signal 13, not 3.
1379         * NEWS, THANKS: Update.
1380         Bug report, analysis, and initial patch by Dmitry V. Levin.
1381
1382 2010-02-06  Karl Berry  <karl@gnu.org>
1383
1384         Improve gnupload usage text.
1385         * gnupload (usage): Shorten to make more likely to fit on a tty
1386         line.  Mention CMD in the synopsis.  With ..., plural is implied.
1387
1388 2010-01-28  Christos Kontas  <xakon@yahoo.com>  (tiny change)
1389
1390         Fix some typos in the manual
1391         * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
1392
1393 2010-01-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
1394
1395         Slighty improve tests acoutbs.test and acoutbs2.test.
1396         * tests/acoutbs2.test: Enable `errexit' shell flag.  Check that
1397         autoconf and configure work, that the file `zot' is created by
1398         configure, and that no file containing a backslash in its name is
1399         created.
1400         * tests/acoutbs.test: Likewise, plus updated copyright years.
1401
1402         Fix test acoutbs2.test.
1403         * tests/acoutbs2: In the generated configure.in: add proper calls
1404         to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
1405         PACKAGE and VERSION. Add a call to aclocal before calling automake.
1406         Updated copyright years.
1407         * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
1408
1409         Add forgotten test scripts to $(TESTS).
1410         * tests/Makefile.am (TESTS): Added test scripts present on the
1411         filesystem, which were erroneously left out from $(TESTS):
1412         acoutbs2.test, badopt.test, extra2.test.
1413         (XFAIL_TESTS): Added acoutbs2.test.
1414
1415 2010-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1416
1417         Sync auxiliary files from upstream.
1418         * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
1419         Sync from upstream.
1420
1421         Bump copyright years.
1422         * aclocal.in (write_aclocal, version): Bump copyright years.
1423         * automake.in (gen_copyright, version): Likewise.
1424         * doc/automake.texi: Likewise.
1425
1426         Rotate ChangeLog.
1427         * ChangeLog.09: New file, rotated from ...
1428         * ChangeLog: ... here.
1429         * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
1430
1431 -----
1432
1433 Copyright (C) 2010  Free Software Foundation, Inc.
1434
1435 Copying and distribution of this file, with or without modification, are
1436 permitted provided the copyright notice and this notice are preserved.
1437
1438 ;; Variables:
1439 ;; coding: utf-8
1440 ;; End: