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