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