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