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