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