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