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