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