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