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