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