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