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