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