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