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