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