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