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