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