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