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