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