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