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