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