Merge branch 'maint'
[platform/upstream/automake.git] / ChangeLog
1 2011-04-16  Jim Meyering  <meyering@redhat.com>
2
3         depcomp: correct invalid sed invocation
4         * lib/depcomp: Insert missing -e before '/:$/d'.
5         Otherwise, that use of sed would treat '/:$/d' as a file name.
6
7 2011-04-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
8
9         maintainer check: quote literal `$' in Makefile rule
10         * Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$'
11         character in double-quoted string.  Fix a bug in which the rule
12         emitted an erroneously empty substring in its error message.
13
14 2011-04-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
15
16         tests: fix typo in python5b.test
17         * tests/python5b.test: Remove extra `:' from $PATH redefinition.
18
19 2011-04-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
20
21         tests: remove redundant settings of `errexit' shell flag
22         * tests/autodist-acconfig.test: Do not set the `errexit'
23         shell flag, as it is already set by `tests/defs'.
24         * tests/autodist-acconfig-no-subdir.test: Likewise.
25         * tests/autodist-aclocal-m4.test: Likewise.
26         * tests/autodist-config-headers.test: Likewise.
27         * tests/autodist-configure-no-subdir.test: Likewise.
28         * tests/autodist-stamp-vti.test: Likewise.
29         * tests/autodist-subdir.test: Likewise.
30         * tests/autodist.test: Likewise.
31         * tests/check-exported-srcdir.test: Likewise.
32         * tests/check-tests-in-builddir.test: Likewise.
33         * tests/check-tests_environment.test: Likewise.
34         * tests/help-python.test: Likewise.
35         * tests/java-check.test: Likewise.
36         * tests/java-extra.test: Likewise.
37         * tests/java-noinst.test: Likewise.
38         * tests/lex-subobj-nodep.test: Likewise.
39         * tests/ltinit.test: Likewise.
40         * tests/m4-inclusion.test: Likewise.
41         * tests/maintclean-vpath.test: Likewise.
42         * tests/parallel-tests-subdir.test: Likewise.
43         * tests/pr8365-remake-timing.test: Likewise.
44         * tests/python-dist.test: Likewise.
45         * tests/python-vars.test: Likewise.
46         * tests/python-virtualenv.test: Likewise.
47         * tests/python5b.test: Likewise.
48         * tests/specflg-dummy.test: Likewise.
49         * tests/yacc-dist-nobuild-subdir.test: Likewise.
50         
51 2011-04-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
52
53         coverage: test for automake bug#8485 (known regression)
54         * tests/yacc-dist-nobuild-subdir.test: New test.
55         * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
56
57 2011-04-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
58
59         test defs: define default $distdir (help reducing duplication)
60         * tests/defs ($distdir): New variable, might be used in
61         testcases checking distribution-related features.
62         * tests/pr9.test: Use it.
63         * tests/subdir9.test: Likewise.
64         * tests/lex3.test: Likewise.
65         * tests/lexvpath.test: Likewise.
66         * tests/remake-moved-m4-file.test: Likewise.
67         * tests/remake-renamed-m4-file.test: Likewise.
68         * tests/remake-renamed-m4-macro-and-file.test: Likewise.
69         * tests/yacc-basic.test: Likewise.
70         * tests/yacc-d-basic.test: Likewise.
71         * tests/yacc-d-vpath.test: Likewise.
72         * tests/yacc-dist-nobuild.test: Likewise.
73         * tests/vtexi3.test: Add comment explaining why we redefine
74         $distdir in this test.
75
76 2011-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
77
78         depcomp: fix bugs in tests and in the depcomp script
79         * lib/depcomp (gcc): Remove duplicated `-e' from sed invocation.
80         * tests/depcomp10.test: Make it executable.  Fix a blunder that
81         has left part of an intended comment not prefixed by `#', thus
82         causing shell syntax errors.  In this same comment, break a
83         too-long reported error message on multiple lines, for clarity.
84         Add reference to the relevant bug report.  Add a comment which
85         explains why the test result 'skipped' if the first "make" call
86         fails.  Add other useful comments.
87         * tests/depcomp9.test: Slightly improve comments.
88
89 2011-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
90
91         Fix hp depmode for VPATH builds with GNU make.
92         * lib/depcomp: Be sure to remove VPATH-prefixed object from
93         dependency output when creating stub rule.
94         * tests/depcomp10.test: New test.
95         * tests/Makefile.am (TESTS): Update.
96         * NEWS: Update.
97         Report by Bruno Haible.
98
99 2011-04-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
100
101         test defs: fix 'javac' requirement for older JDK versions
102         The Java compiler from JDK 1.5 (and presumably earlier versions)
103         cannot handle the `-version' option by itself; and while it does
104         print the version number, it then errors out with an usage error:
105           $ javac -version
106           javac 1.5.0_22
107           javac: no source files
108           Usage: javac <options> <source files>
109           ...
110         Luckily, adding the `-help' option to the `javac' invocation
111         seems to fix this problem.
112         * tests/defs.in (javac): Pass also the `-help' option to the
113         `javac' program.  Add a comment explaining why it is needed.
114         Report from Ralf Wildenhues.
115
116 2011-04-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
117
118         test defs: new requirement for the default java compiler
119         * tests/defs.in (for tool in $required): New requirement 'javac'.
120         * tests/java.test: Use it instead of ad-hoc configure check.
121         * tests/java-check.test: Likewise.
122         * tests/java-extra.test: Likewise.
123         * tests/java-noinst.test: Likewise.
124         * tests/instfail-java.test: Likewise.
125         * tests/instdir-java.test: Likewise.
126
127 2011-04-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
128
129         java: check_JAVA does not cause compilation by "make all" anymore
130         Fixes automake bug#8234.
131         * automake.in (handle_java): Make stamp of class files built from
132         java sources in $(check_JAVA) a dependency of `check' target, not
133         `all' target.
134         * tests/java-check.test: New test.
135         * tests/Makefile.am (TESTS): Update.
136         * NEWS: Update.
137         * THANKS: Update.
138         Report from Petteri Räty.
139
140 2011-04-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
141             Bruno Haible  <bruno@clisp.org>
142
143         coverage: add tests on remake rules in more complex situations
144         * tests/defs (using_gmake): New function.
145         (for tool in $required): Use it when $tool is 'GNUmake'.
146         * tests/remake-moved-m4-file.test: New test.
147         * tests/remake-deleted-m4-file.test: Likewise.
148         * tests/remake-renamed-m4-file.test: Likewise.
149         * tests/remake-renamed-m4-macro-and-file.test: Likewise.
150         * tests/remake-renamed-m4-macro.test: Likewise.
151         * tests/remake-add-acsubst-gnulib.test: Likewise.
152         * tests/remake-add-header-gnulib.test: Likewise.
153         * tests/remake-remove-header-gnulib.test: Likewise.
154         * tests/Makefile.am (TESTS): Update.
155
156 2011-04-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
157
158         typofix in 'tests/defs'
159         * tests/defs: Fix typo (`itslef' instead of `itself') in
160         comments.
161
162 2011-04-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
163
164         coverage: more on java support EXTRA_ and noinst_ prefixes
165         * tests/java-extra.test: New test, checking support for the
166         prefix `EXTRA_' with the JAVA primary.
167         * tests/java-noinst.test: New test, checking support for the
168         prefix `noinst_' with the JAVA primary.
169         * tests/Makefile.am (TESTS): Update.
170
171 2011-04-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
172
173         Clarify regex code in depcomp.
174         * lib/depcomp: Add comment why we don't need regex-escaping here.
175         Suggested by Stefano Lattarini.
176
177 2011-04-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
178
179         Fix makedepend depmode for VPATH builds.
180         * lib/depcomp [makedepend]: Remove any VPATH prefix from the
181         object file name, so a rebuild doesn't attempt to update the
182         .Po files in the source tree.
183         * tests/depcomp9.test: New test.
184         * tests/Makefile.am (TESTS): Update.
185         * NEWS: Update.
186
187 2011-04-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
188
189         tests: fix timestamp-related failures
190         Fixes automake bug#8365.
191         * tests/aclocal6.test: Sleep before modifying m4 files that should
192         trigger remake rules.  Remove incorrect/obsoleted comments.
193         * tests/subdir5.test: Likewise, and extend a bit.
194         * tests/subdir8.test: Likewise.
195         * tests/pr8365-remake-timing.test: New xfailing test.
196         * tests/Makefile.am (TESTS): Update.
197         Report from Sam Steingold.
198
199 2011-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
200
201         Create subdirs for generated sources even when not dep tracking.
202         * automake.in (handle_single_transform): If $object is derived
203         and lands in subdir, be sure to output a dirstamp dependency.
204         * tests/yacc5.test: Avoid falsely matching the dirstamp
205         dependency when grepping for a rule.
206         * tests/lex-subobj-nodep.test: New test.
207         * tests/Makefile.am (TESTS): Update.
208         * THANKS: Update.
209         Report by Ignacy Gawedzki.
210
211         Fix locale issue in check-exported-srcdir.test.
212         * tests/check-exported-srcdir.test: Reformulate glob to not fail
213         in a locale that ignores or interleaves character case.
214
215 2011-04-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
216
217         docs: better visibility for aclocal in the index
218         * doc/automake.texi (@menu): Rename title for entry 'configure'
219         from "Scanning configure.ac or configure.in" to the more precise
220         "Scanning configure.ac, using aclocal".
221         (@detailmenu): Adjust.
222         (@node configure): Adjust, and extend @cindex calls accordingly.
223         * THANKS: Update.
224         From a report by Maynard Johnson.
225
226 2011-03-30  Stefano Lattarini  <stefano.lattarini@gmail.com>
227
228         tests: improve tests on "maintainer-clean" target
229         * tests/aclocal6.test: Move checks related to "maintainer-clean"
230         functionalities into ...
231         * tests/maintclean-vpath.test: ... this new test.
232         * tests/maintclean.test: Update heading comments.  Extend to also
233         test subdirs.  Remove useless disabling of YACC.  Fix m4 quoting
234         in configure.in.  Add a trailing `:' command.  Remove extra blank
235         lines.
236         * tests/Makefile.am (TESTS): Update.
237
238 2011-03-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
239
240         tests: fix unindent to use printf not echo for script.
241         * tests/defs.in: Use printf rather than echo, as the latter may
242         interpret the backslashes in the sed script.  Fixes test
243         failures with dash as /bin/sh.
244
245 2011-03-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
246             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
247
248         maintcheck: look for problematic names of testcases
249         The configure.in stub created by default by `tests/defs' obtains
250         the first argument of AC_INIT from the test name, and this can
251         cause some supported autoconf versions to fail with a spurious
252         error if that test name contains the name of an m4 or m4sugar
253         builtin or macro (e.g., `defn' or `m4_undefine').
254         See for example the bug fixed by commit v1.11-287-g1325a8a.
255         This change add a maintainer check that warns about test names
256         which are possibly problematic in this regard.
257         * Makefile.am (sc_test_names): New maintainer-check target.
258         (syntax_check_rules): Add it.
259         (m4_builtins): New helper variable.
260         (TESTS): Updated according to the following renamings.
261         * tests/include.test: Renamed ...
262         * tests/hdr-vars-defined-once.test: ... to this.
263         * tests/sinclude.test: Renamed ...
264         * tests/m4-inclusion.test: ... to this, and simplified
265         accordingly.
266         * tests/include2.test: Renamed ...
267         * tests/dist-included-parent-dir.test: ... to this, for
268         consistency.
269
270 2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
271
272         tests: fix bug in alloca*.test
273         * tests/alloca.test: Make grepping of automake stderr stricter,
274         add a trailing `:' command; also, add AC_PROG_CC to configure.in,
275         and create a dummy alloca.c file, to ensure that we fail for the
276         proper reason.
277         * tests/alloca2.test: Likewise.  Also, look for LT_INIT, not
278         AC_PROG_LIBTOOL, in the error message (bug introduced with commit
279         v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
280         primary is used").
281         From a report by Patrick Welche.
282
283 2011-03-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
284
285         cosmetics: better use of m4 quoting and m4sugar macros
286         * m4/dmalloc.m4: Better use of m4 quoting.  Bump serial number.
287         * m4/gcj.m4: Likewise.
288         * m4/init.m4: Likewise.
289         * m4/install-sh.m4: Likewise.
290         * m4/lex.m4: Likewise.
291         * m4/multi.m4: Likewise.
292         * m4/option.m4: Likewise.
293         * m4/python.m4: Likewise.
294         * m4/sanity.m4: Likewise.
295         * m4/cond.m4: Likewise.  Also, prefer the m4sugar macro 'm4_if'
296         over the plain m4 macro 'ifelse'.
297         * m4/depend.m4: Likewise.
298
299 2011-03-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
300
301         tests: add test about deprecated use of AC_INIT
302         * tests/deprecated-acinit.test: New test, check that automake
303         and autoconf complain about an old-style AC_INIT call used with
304         a new-style AM_AUTOMAKE_INIT call.
305         * tests/Makefile.am (TESTS): Update.
306
307 2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
308
309         tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
310         * tests/comments-in-var-defn.test: The configure.in stub created
311         by default, which has the AC_INIT first argument obtained by the
312         test name, causes autoconf 2.62 to fail with a spurious error
313         message like: "configure.in:1: error: defn: undefined macro:".
314         Thus, to prevent this, the test is renamed to ...
315         * tests/comments-in-var-def.test: ... this.
316         * tests/Makefile.am (TESTS): Updated.
317
318 2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
319
320         cosmetics: convert encoding from ISO-8859 to UTF-8
321         * ChangeLog.03: Convert encoding to UTF-8.
322         * ChangeLog.96: Likewise.
323         * ChangeLog.98: Likewise.
324         * NEWS: Likewise.
325         * TODO: Likewise.
326
327 2011-03-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
328
329         tests: extend checks on the 'unindent' shell function
330         * tests/self-check-unindent.test: Also check that multiple
331         instances of 'unindent' can run in parallel (this was not
332         the case when that function used temporary files).
333
334 2011-03-01  Peter Rosin  <peda@lysator.liu.se>
335
336         test defs: unindent without temporary file
337         * tests/defs.in (commented_sed_unindent_prog): Commented Sed program
338         that strips the "proper" amount of leading whitespace.
339         (unindent): Lazily strip comments from the above program and use it
340         to unindent without using a temporary file.
341
342 2011-02-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
343
344         libtool: suggest LT_INIT if LTLIBRARIES primary is used
345         When the LTLIBRARIES primary was used, but $(LIBTOOL) wasn't
346         defined, automake suggested to add a call to AC_PROG_LIBTOOL
347         in configure.ac.  But that macro is deprecated since Libtool
348         version 1.9b (2004-08-29), in favor of the newer LT_INIT.  So
349         suggest the use of this latter macro instead.
350         * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL'
351         with 'LT_INIT', not with 'AC_PROG_LIBTOOL'.
352         * libtool4.test: Adjust and extend.  Also, add a call to macro
353         AC_PROG_CC in configure.in, to help ensuring that automake does
354         not fail for the wrong reasons.
355         * ltinit.test: New test, ensure that automake's libtool support
356         works with LT_INIT-based interface.
357         Thanks to Jack Kelly for the suggestion.
358
359 2011-02-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
360
361         tests: add testcases sanity-checking the testsuite
362         Helper subroutines, variables and other pieces of code defined
363         in the `tests/defs' and used by many testcases are non-obvious,
364         and tricky to get to work portably; but until now, they weren't
365         tested at all in a clear and self-contained way.
366         This change should remedy to the situation.
367         * tests/self-check-cleanup.test: New test, check removal of
368         temporary test working directory by `./defs'.
369         * tests/self-check-dir.test: New test, check that tests using
370         `./defs' create a proper temporary directory, and run in it.
371         * tests/self-check-exit.test: New test, check that, in case of
372         failing commands, the correct exit status is passed to the exit
373         trap installed by the `./defs' script.
374         * tests/self-check-is_newest.test: New test, checking the
375         `is_newest' subroutine.
376         * tests/self-check-me.test: New test, checking that $me gets
377         defined automatically by `tests/defs' if not set, and that it
378         can be overridden from either the shell or the environment.
379         * tests/self-check-sanity.test: New test, check that the sanity
380         checks performed by the `tests/defs' script works correctly.
381         * tests/self-check-unindent.test: New test, checking the
382         `unindent' subroutine.
383         * tests/Makefile.am (TESTS): Update.
384
385 2011-02-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
386
387         tests: tempdirs with restrictive permissions are cleaned correctly
388         Before this change, the removal of a temporary test directory
389         containing subdirectories with restrictive permissions (such as
390         'r--r--r--') could fail.
391         * tests/defs: Ensure that all the subdirectories of a temporary
392         test directory have the 'read', 'write' and 'execute' bits set,
393         before trying to remove it with `rm -rf'.
394         * tests/Makefile.am (clean-local-check): Likewise.
395
396 2011-02-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
397             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
398
399         test defs: add subroutine for input unindenting
400         * tests/defs.in (unindent): New subroutine.
401         * tests/instspc-tests.sh: Use it.
402
403 2011-02-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
404
405         python: report the 'PYTHON' influential environment variable
406         * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
407         * doc/automake.texi (Python): Update and extend.
408         * tests/help-python.test: New test.
409         * tests/Makefile.am (TESTS): Update.
410         * THANKS (Jack Kelly): Update e-mail address.
411         Suggestion by Jack Kelly.
412
413 2011-02-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
414
415         tests defs: clear TESTS_ENVIRONMENT variable
416         * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
417         from environment won't interfere with the testcases.
418         Suggestion by Ralf Wildenhues.
419
420 2011-02-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
421
422         tests: `instspc-*.test': do not create useless source file
423         * tests/instspc-tests.sh (create_input_data): Do not create
424         unused source file `source2.c'.
425
426 2011-02-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
427
428         tests: optimize `instspc-*.test' for speed
429         After the split of `instspc.test' into various generated tests,
430         the running time of the testsuite has noticeably increased, since
431         all these new generated tests must run aclocal, autoconf and
432         automake, whereas previously they were run only once (at the
433         beginning of `instspc.test').  But luckily, since the new tests
434         share the same input files for the autotools, this situation can
435         be easily worked around (at the expenses of a slight increase of
436         complexity for the testsuite scaffolding).
437         * tests/instspc-data.test: New helper test, properly calling
438         the `instspc-tests.sh' script to generate input data for the
439         others `instspc-*.test' tests.
440         * tests/Makefile.am (TESTS): Add `instspc-data.test'.
441         ($(instspc_tests:.test=.log)): Depend on its log file.
442         (instspc-data.log): Depend on `instspc-tests.sh'.
443         * tests/instspc-tests.sh: Recognize new action `generate-data',
444         and use it to create hand-written and autotools-generated static
445         files shared by all the `instspc-*.test' tests.
446         When sourced by the `instspc-*.test' tests, use those previously
447         created files instead of recreating them from scratch.
448         (unindent, create_input_data): New subroutines.
449         Some other related changes and refactorings.
450         From a suggestion by Ralf Wildenhues.
451
452 2011-02-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
453
454         python: fix spurious failure in tests
455         * tests/python-vars.test: Ignore cached values from config.site
456         by exporting CONFIG_SITE=/dev/null.  Be laxer in matching the
457         expected values of output variables `pythondir' and `pyexecdir',
458         since they can change quite unpredictably among different python
459         installations.  Also, avoid "hyping" debugging output, thus
460         offering smaller trace output and more informative diff.
461         Report and suggestions by Ralf Wildenhues.
462         * tests/python-virtualenv.test: Require python, since we call it
463         even after the virtualenv has been deactivated.  Ignore cached
464         values from config.site by exporting CONFIG_SITE=/dev/null.
465
466 2011-02-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
467
468         tests: tweak few tests on simple and parallel test drivers
469         * tests/check-exported-srcdir.test: Improve heading comments.
470         * tests/check-tests-in-builddir.test: Likewise.  Also, unset the
471         `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
472         environment won't risk to interfere with the test.
473         Suggestions by Ralf Wildenhues.
474
475 2011-02-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
476
477         python: extend and improve tests, fix minor glitches
478         * m4/python.m4 (AM_PATH_PYTHON): Ensure the "checking ..." messages
479         from configure are always complete, even in case of failure.  Tiny
480         cosmetic improvement in info/error messages.
481         * tests/python.test: Also check that automake complains if the
482         PYTHON primary is used but the `py-compile' script is not present.
483         Make grepping of generated Makefile.in laxer w.r.t. whitespace.
484         Add trailing `:' command.
485         * tests/python2.test: Remove repeated calls aclocal: they are
486         useless because configure.in is never modified.  Make grepping
487         of automake stderr more comprehensive.  Remove the pre-existing
488         `py-compile' file before trying to install it with `--add-missing'.
489         Add trailing `:' command.
490         * tests/python3.test: Add trailing `:' command.
491         * tests/python11.test: Likewise.
492         * tests/python4.test: Likewise.  Also, try to pass PYTHON config
493         variable to configure from the environment, rather than only from
494         the command line.
495         * tests/python5.test: Ensure that the "checking ..." messages from
496         configure are always complete.  Use proper m4 quoting.  Add a
497         trailing `:' command.
498         * tests/python6.test: Simplify test logic, by checking for files
499         created by configure rather then grepping its output.
500         * tests/python7.test: Likewise.
501         * tests/python8.test: Also check that `$PYTHON' is meaningfully
502         set in the ACTION-IF-TRUE argument of AM_PATH_PYTHON.
503         * tests/python9.test: Likewise.
504         * tests/python10.test: Add trailing `:' command.
505         (Makefile.am): Declare `disttest' target as `.PHONY', and add
506         an `ls -l' to its recipe, for debugging.
507         * tests/nobase-python.test: In testing "make uninstall" and
508         "make install" results, prefer idioms that make verbose logs
509         more helpful.  Remove a couple of lines of dead code.  Add a
510         trailing `:' command.
511         * tests/python5b.test: New test, checking that configure performs
512         the check on the python version even when the choice of the python
513         interpreter is forced by the user.
514         * tests/python-dist.test: New test, checking the distribution of
515         *_PYTHON files.
516         * tests/python-vars.test: New test, checking that AM_PATH_PYTHON
517         correctly set all the output variables advertised in the manual.
518         * tests/python-virtualenv.test: New test, checking that python
519         support offered by automake works well with "virtual python
520         environments" created by the `virtualenv' program.
521         * tests/instdir-prog.test: Also check `$(pyexecdir)'.  Existing
522         checks made slightly stricter.
523         * tests/instdir-prog.test: Also check `$(pyexecdir)'.  Existing
524         * tests/instdir-ltlib.test: Likewise.
525         * tests/Makefile.am (TESTS): Update.
526
527 2011-02-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
528
529         coverage: more tests on simple and parallel test drivers
530         * tests/parallel-tests-subdir.test: New test.
531         * tests/check-exported-srcdir.test: Likewise.
532         * tests/check-tests-in-builddir.test: Likewise.
533         * tests/check-tests_environment.test: Likewise.
534         * tests/Makefile.am (TESTS): Update.
535
536 2011-01-29  Stefano Lattarini  <stefano.lattarini@gmail.com>
537
538         tests: fix spurious failures in lflags*.test
539         * tests/lflags.test: Remove 'LEX' from the environment, so
540         that it won't be erroneously picked up by `make -e'.
541         * tests/lflags2.test: Likewise.
542
543 2011-01-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
544
545         docs: color-tests issues with parallel make
546         * doc/automake.texi (Simple Tests): Document that automatic
547         recognition of a capable terminal attached to stdout can fail
548         with some make implementation when running in parallel mode,
549         thus causing colored test output not to be automatically
550         activated when it should.
551
552 2011-01-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
553
554         coverage: test semantics of "dummy" per-target flags
555         * tests/specflg-dummy.test: New test, ensuring that even "dummy"
556         per-target flags triggers the use of renamed objects.
557         * tests/Makefile.am (TESTS): Update.
558         Suggestion by Ralf Wildenhues.
559
560 2011-01-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
561
562         tests defs: sanitize IFS
563         * tests/defs ($IFS): Define to <space>, <tab>, <newline>.
564         ($sp): New variable, holding a single whitespace character.
565         ($tab): New variable, holding a tabulation character.
566         ($nl): New variable, holding a newline character.
567
568 2011-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
569
570         tests: avoid instspc* failures due to make's whitespace trimming
571         * tests/instspc-tests.sh: Prepend './' when passing the test
572         characters, to avoid leading whitespace characters to be trimmed
573         from macros set from environment variables.  Fixes testsuite
574         failures with HP-UX and Tru64/OSF make.
575
576 2011-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
577
578         tests: fix VPATH auto-expansion workarounds.
579         * tests/suffix10.test, tests/suffix11.test, tests/suffix12.test,
580         tests/suffix3.test, tests/suffix5.test, tests/suffix8.test:
581         Ensure $< is not surrounded by white space, to prevent Solaris
582         make from applying automatic VPATH text expansion.
583
584         tests: fix VPATH auto-expansion workarounds.
585         * tests/parallel-tests8.test, tests/suffix13.test:
586         Ensure $< is not surrounded by white space, to prevent Solaris
587         make from applying automatic VPATH text expansion.
588
589 2011-01-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
590
591         tests: fix spurious failures in yflags*.test
592         * tests/yflags.test: Remove 'YACC' from the environment, so
593         that it won't be erroneously picked up by `make -e'.
594         * tests/yflags2.test: Likewise.
595
596 2011-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
597
598         tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
599         * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
600         `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
601         up its internal memory when copying this tree.
602
603 2011-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
604             Stefano Lattarini  <stefano.lattarini@gmail.com>
605
606         Add comment to check-TESTS rule working around make 3.80 bug.
607         * lib/am/check.am (check-TESTS): Update comment.
608
609 2011-01-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
610
611         tests: less strict double-colon spy.test again.
612         * tests/spy.test: We know BSD make doesn't invoke more than one
613         double-colon rule, so no need to expose that failure.
614
615 2011-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
616
617         install-sh: avoid Tru64 sh `test' operator precedence issues.
618         * lib/install-sh: Protect file names and directory components
619         that consist of `=', `(', `)', or `!'.  Move protection as early
620         as possible, to avoid errors such as with Tru64 sh `test -z ='.
621         * tests/instsh2.test: Extend test to cover more possibilities.
622         Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
623
624 2011-01-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
625             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
626
627         docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
628         * doc/automake.texi (Simple Tests): Do not claim Automake uses
629         TESTS_ENVIRONMENT for the perl driver.  Instead, point to the
630         parallel-tests driver.
631
632 2011-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
633
634         tests: check for presence of cscope with redirected input.
635         * tests/defs: Add required test for cscope.
636         Fixes cscope3.test hang with Sun C 5.9 cscope.
637
638         tests: avoid false failure in cygnus-dependency-tracking.test.
639         * tests/cygnus-dependency-tracking.test: Be less restrictive
640         when grepping the compiler error message, GCC 3.4.6 on FreeBSD
641         does not mention an undefined symbol.
642
643 2011-01-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
644
645         tests: revert not turning off errexit in instspc-test.sh
646         * tests/instspc-tests.sh: Turn off errexit while sourcing defs,
647         the scripts might still not be clean.
648
649 2011-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
650
651         tests: work around Tru64 sh -e issues for instspc*.test.
652         Apparently, Tru64 sh does not like turning off errexit mode,
653         and gets confused.
654         * tests/defs: Document 'errexit' cleanliness requirement.
655         * tests/defs-static.in: Likewise.  Avoid error from command
656         substitution to abort instspc*.test with Tru64/OSF 5.1 sh.
657         * tests/instspc-tests.sh: Drop now-unneeded temporary errexit
658         dropping.  Add strategic '|| Exit' to let tests work on Tru64.
659
660 2011-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
661
662         Allow _AM_DEPENDENCIES to be used later in configure.
663         * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
664         conftest.dir before recreating it.
665         Fixes bug#7864.
666         Report by Eric Blake, from report by Scott McCreary against M4.
667
668 2011-01-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
669
670         tests: avoid failure on w32 file systems.
671         * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
672         be turned unreadable.
673
674 2011-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
675
676         tests: allow double-colon spy.test to work with HP-UX make.
677         * tests/spy.test: Fix comment typos.  Ensure prerequisites we
678         do not want to depend on are strictly older than the target.
679         Also test with a target out of date wrt. more than one rule.
680
681 2011-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
682
683         Avoid local $_ perl variable, for Perl before 5.9.1.
684         * lib/Automake/Options.pm (_process_option_list): Do not
685         lexically localize $_.  Fixes bootstrap on AIX 5.1.
686         Bug introduced in commit `v1.11-622-gf90a06c'.
687
688 2011-01-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
689
690         tests: remove useless requirements from cond36.test
691         * tests/cond36.test ($required): Remove.
692         Since we are at it, add a trailing `:' command.
693
694 2011-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
695
696         tests: avoid failing command substitution in errexit mode.
697         * tests/vartypo2.test, tests/vartypos.test: Rewrite to not use
698         a command substitution with a nonzero exit status, that causes
699         IRIX and Tru64/OSF sh to fail the whole test.
700
701 2011-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
702             Stefano Lattarini  <stefano.lattarini@gmail.com>
703
704         parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
705         * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
706         Test file readability before redirecting input from it, to avoid
707         exiting Tru64/OSF 5.1 sh which treats read as special builtin.
708         * tests/parallel-tests-unreadable-log.test: New test.
709         * tests/Makefile.am (TESTS): Update.
710         * NEWS: Update.
711
712 2011-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
713
714         * NEWS, README: Update copyright years.
715
716 2011-01-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
717
718         tests: hard error in case of internal failures or signal caught
719         * tests/defs: Exit with status 99 (hard error) rather than
720         1 (failure) on unexpected/internal errors, or when a signal
721         is caught by the client script.
722
723         Tests defs: don't let useless variables leak in test scripts.
724         * tests/defs ($priv_check_temp, $overwrite_status, $ro_dir_temp,
725         $create_status, $r2h, $libtool_found, $gettext_found, $aclocaldir,
726         $extra_includes): Unset once they've served their purpose.
727
728 2011-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
729
730         Fix parallel-tests.test failure with HP-UX make.
731         * tests/parallel-tests.test: Sleep inside inner tests, so logs
732         are newer than logs of tests they depend on, for HP-UX make.
733
734 2011-01-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
735
736         docs: ensure example are separated with empty lines in the input
737         * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
738         (API Versioning, Renamed Objects, Multiple Outputs): Add empty
739         lines before `@example' and after `@end example' lines, so info
740         output is rendered correctly, and a following @noindent honored.
741         Report by Stefano Lattarini.
742
743 2011-01-15  Jim Meyering <meyering@redhat.com>
744
745         tests: fix comment typo
746         * tests/substref.test: Fix grammar in a comment.
747
748 2011-01-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
749
750         tests: fix spurious failures in two texinfo tests
751         * tests/txinfo.test ($required): Add 'makeinfo'.
752         * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
753         that make won't try to run makeinfo (which could be unavailable)
754         to build it.
755         Found by NixOS Hydra, reported by Ralf Wildenhues.
756
757 2011-01-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
758
759         Update docs w.r.t. warning and strictness options.
760         * doc/automake.texi (Strictness): Document that some warnings are
761         turned off by default in `foreign' strictness.
762         (Options): Divide into new sections "Options generalities" and
763         "List of Automake options".  Fix typo (colon instead of full
764         stop).  Document option precedence (AUTOMAKE_OPTIONS wins over
765         AM_INIT_AUTOMAKE which wins over command line).  Also document
766         interactions between options specifying strictness and those
767         specifying warnings.
768
769         More tests on warnings/strictness precedence.
770         * tests/warning-groups-win-over-strictness.test: New test, similar
771         to `warnings-win-over-strictness.test', but checking the explicit
772         catch-all warning flags (like `-Wall' and `-Wnone').
773         * tests/Makefile.am (TESTS): Update.
774
775         Update NEWS about the warnings-over-strictness precedence.
776         * NEWS: Automake explicit warning levels always take precedence
777         over the implicit warning levels implied by Automake strictness.
778
779         For PR automake/547:
780         Warnings win over strictness in AUTOMAKE_OPTIONS.
781         Ensure that, for what concerns the options specified in
782         AUTOMAKE_OPTIONS, explicitly-defined warnings always take
783         precedence over implicit strictness-implied warnings.
784         This finally fixes Automake bug#7669 a.k.a. PR/547.
785         * automake.in (handle_options): Call 'process_option_list'
786         only once per set of options.
787         * lib/Automake/Options.pm (process_global_option_list,
788         process_option_list): Add sanity checks.
789         ($_options_processed, $_global_options_processed): New
790         internal variables, used by the sanity checks above.
791         * tests/warnings-win-over-strictness.test: Extend.
792
793         For PR automake/547:
794         Change signature of 'Automake::Options::_process_option_list()'.
795         This only modifies internal details in the automake implementation,
796         bearing no externally visible effect, but preparing the way for the
797         final fix of Automake bug#7669 a.k.a. PR/547.
798         * lib/Automake/Options.pm (_process_option_list): Accept as
799         arguments a list of hash references with keys 'option' and 'where',
800         where 'option' is an option as might occur in AUTOMAKE_OPTIONS or
801         AM_INIT_AUTOMAKE, and 'where' is the location where it occurred.
802         (process_option_list, process_global_option_list): Updated.
803         * automake.in (handle_options, scan_autoconf_traces): Update.
804
805         Add more tests about AUTOMAKE_OPTIONS.
806         In view of soon-to-follow refactorings (still in the pursuit of a
807         fix for Automake bug#7669 a.k.a. PR/547), add some more tests on
808         AUTOMAKE_OPTIONS support, to prevent obvious regressions.
809         * tests/amopts-variable-expansion.test: New test.
810         * tests/amopts-location.test: Likewise.
811         * tests/Makefile.am (TESTS): Update.
812
813         For PR automake/547:
814         Warnings win over strictness in AM_INIT_AUTOMAKE.
815         This change ensures that, for what concerns the options specified
816         in AM_INIT_AUTOMAKE,  explicitly-defined warnings always take
817         precedence over implicit strictness-implied warnings.  Related to
818         Automake bug#7669 a.k.a. PR/547.
819         * lib/Automake/Options.pm (_process_option_list): Parse explicit
820         warnings only after the strictness level has been set.  Fix POD
821         documentation.
822         * tests/warnings-win-over-strictness.test: Extend.
823
824         For PR automake/547:
825         Warnings win over strictness on command line.
826         Ensure that, on the command line at least, explicitly defined
827         warnings always take precedence over implicit strictness-implied
828         warnings.  Related to Automake bug#7669 a.k.a. PR/547.
829         * automake.in (parse_arguments): Parse warnings only after the
830         strictness level has been processed.
831         * tests/gnuwarn.test: Update, plus miscellaneous improvements.
832         * tests/warnings-win-over-strictness.test: New test.
833         * tests/Makefile.am (TESTS): Update.
834
835         More tests on warnings and strictness.
836         * tests/warnings-strictness-interactions.test: New test.
837         * tests/warnings-unknown.test: Likewise.
838         * tests/Makefile.am (TESTS): Update.
839
840         New test on silent-rules mode and portability warnings.
841         * tests/silent-nowarn.test: New test.
842         * tests/Makefile.am (TESTS): Update.
843
844         Add new tests on strictness and warnings precedence and overriding.
845         * tests/strictness-override.test: New test.
846         * tests/strictness-precedence.test: New test.
847         * tests/warnings-override.test: New test.
848         * tests/warnings-precedence.test: New test.
849         * tests/Makefile.am (TESTS): Update.
850
851 2011-01-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
852
853         Fix remake rule-induced test failures with HP-UX make.
854         * tests/remake1a.test: Require GNU make.
855
856 2011-01-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
857
858         Fix remake rule-induced test failures with HP-UX make.
859         * tests/colon6.test: Update timestamp of subdir Makefile, so we
860         do not spuriously invoke the nonexistent toplevel am--refresh
861         rule.
862
863         tests: fix typos in colon6.test
864         * tests/colon6.test: Fix typos.
865
866 2011-01-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
867             Stefano Lattarini  <stefano.lattarini@gmail.com>
868
869         tests: explain MSYS setup failure issue, improve test.
870         * tests/defs: Add comment and failure message, improve fail
871         logic.
872
873 2011-01-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
874
875         Fix libobj2.test failure with non-GNU make: define $(AR).
876         * tests/libobj2.test: Ensure $(AR) is suitably defined.
877
878 2011-01-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
879
880         tests: avoid spurious failures due to fork failure in test setup
881         * tests/defs: Ensure $me is always nonempty, to avoid spurious
882         failures on MinGW/MSYS in case the preceding sed command could
883         not be spawned.
884
885         Avoid configure warnings from wait about reused PIDs.
886         * m4/sanity.m4 (AM_SANITY_CHECK): Hide wait stderr output.
887         Fixes spurious failure of depcomp2.test.
888
889 2011-01-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
890
891         Avoid testsuite failures due to Autoconf Fortran change.
892         Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
893         require computing the canonical host name.  Ensure config.guess
894         and config.sub files are present for respective checks.
895         * tests/compile_f_c_cxx.test: Add stub files.
896         * tests/flibs.test: Likewise.
897         * tests/fort4.test: Use $AUTOMAKE -a for installing files.
898
899 2011-01-12   Stefano Lattarini  <stefano.lattarini@gmail.com>
900
901         docs: clustered '-d' not recognized in YFLAGS
902         This change fixes automake bug#7828.
903         * doc/automake.texi (Yacc and Lex): Document that automake
904         recognizes '-d' in AM_YFLAGS only if it's not clustered with
905         other options.
906         From a report by Юрий Пухальский.
907
908 2011-01-10   Stefano Lattarini  <stefano.lattarini@gmail.com>
909
910         tests: add checks on automatically-distributed files
911         Related to automake bug#7819.
912         * tests/autodist.test: New test.
913         * tests/autodist-subdir.test: Likewise.
914         * tests/autodist-acconfig.test: Likewise.
915         * tests/autodist-acconfig-no-subdir.test: Likewise.
916         * tests/autodist-aclocal-m4.test: Likewise.
917         * tests/autodist-config-headers.test: Likewise.
918         * tests/autodist-configure-no-subdir.test: Likewise.
919         * tests/autodist-stamp-vti.test: Likewise.
920         * tests/Makefile.am (TESTS): Update.
921
922 2011-01-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
923
924         tests: do not force yacc-requiring tests to use bison
925         * tests/defs.in: New required entry 'yacc'.  Remove old
926         required entry 'bison'.
927         * tests/cond35.test ($required): Require yacc, not bison.
928         * tests/cond36.test: Likewise.
929         * tests/pr204.test: Likewise.
930         * tests/silent-many-gcc.test: Likewise.
931         * tests/silent-many-generic.test: Likewise.
932         * tests/silent-yacc-gcc.test: Likewise.
933         * tests/silent-yacc-generic.test: Likewise.
934         * tests/subpkg.test: Likewise.
935         * tests/suffix10.test: Likewise.
936         * tests/yacc-basic.test: Likewise.
937         * tests/yacc-clean.test: Likewise.
938         * tests/yacc-d-basic.test: Likewise.
939         * tests/yacc-d-vpath.test: Likewise.
940         * tests/yacc-dist-nobuild.test: Likewise.
941         * tests/yacc-nodist.test: Likewise.
942         * tests/yacc4.test: Likewise.
943         * tests/yacc6.test: Likewise.
944         * tests/yacc7.test: Likewise.
945         * tests/yacc8.test: Likewise.
946         * tests/yaccdry.test: Likewise.
947         * tests/yaccvpath.test: Likewise.
948
949 2011-01-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
950
951         tests: more consistent checks about invalid options
952         * tests/aclocal.test: Grepping of automake stderr for messages
953         reporting invalid options made stricter.
954         * tests/no-outdir-option.test: Likewise.  Also, create a dummy
955         `Makefile.am', to ensure that the automake failures are really
956         caused only by unrecognized options.
957         * tests/automake.test: Added trailing `:' command.  Removed
958         redundant checks on `--help' and `--version' option (already
959         performed in the test `help*.test').
960
961 2011-01-11   Stefano Lattarini  <stefano.lattarini@gmail.com>
962
963         tests: enable 'errexit' shell flag by default.
964         * tests/defs: Enable `errexit' shell flag (near the end).
965         Removed redundant comment about the enabling of shell traces.
966         * tests/README (Writing test cases): Update, and use nicer
967         formatting in a couple of places.
968         * All tests: Adjusted by removing now-redundant calls to
969         'set -e'.
970
971 2011-01-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
972
973         tests: work around a texi+cygnus bug causing a spurious XFAIL
974         * tests/txinfo5b.test: New test, like txinfo5.test but calling
975         automake with the `-Wno-override' option to work around a bug
976         in the texinfo + cygnus interaction.
977         * tests/txinfo5.test: Update heading comments.
978         * tests/Makefile.am (TEST): Updated.
979
980 2011-01-09  Dave Hart  <davehart@gmail.com>  (tiny change)
981
982         Fix another typo in Rule.pm comment.
983         * lib/Automake/Rule.pm: Fix typo.
984
985 2011-01-09  Peter Rosin  <peda@lysator.liu.se>
986
987         Fix another typo in Rule.pm comment.
988         * lib/Automake/Rule.pm: Fix typo.
989
990 2011-01-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
991
992         tests: texinfo unrecognized extensions
993         * tests/txinfo-unrecognized-extension.test: New test.
994         * tests/Makefile.am (TESTS): Update.
995
996         Improve, extend and tweak tests on Texinfo support.
997         * tests/instdir-texi.test: Add a call to `ls -l' after that to
998         `make', for debugging.  When looking for required tools, do not
999         redirect the output of "$tool --help" to /dev/null, and do not
1000         uselessly run it in a subshell.
1001         * tests/txinfo.test: Rewritten to run autoconf, ./configure and
1002         make.  All checks moved into Makefile.am.
1003         * tests/txinfo8.test: Likewise, and modernize the generated
1004         configure.in.
1005         * tests/txinfo2.test: Moved checks into Makefile.am, and other
1006         minor improvements.
1007         * tests/txinfo5.test: Enable `errexit' shell flag, and related
1008         changes.  Add trailing `:' command.
1009         * tests/txinfo6.test: Likewise, and make grepping of generated
1010         Makefile.in stricter.
1011         * tests/txinfo7.test: Enable `errexit' shell flag, and related
1012         changes.  Add trailing `:' command.  Do not add unnecessary stuff
1013         to Makefile.am.
1014         * tests/txinfo9.test: Verify that more targets which are expected
1015         to be generated only once really are.  Make grepping less strict,
1016         to avoid exposing too much internal details.  More minor changes.
1017         * tests/txinfo16.test: Add trailing `:'.  Prefer cat over echo
1018         for appending to configure.in.  Updated/fixed heading comments.
1019         * tests/txinfo23.test: Likewise, and extended a little by making
1020         it check that no info file is created in the $(srcdir).
1021         * tests/txinfo24.test: Likewise.
1022         * tests/txinfo25.test: Likewise.
1023         * tests/txinfo18.test: Add trailing `:'.  Prefer cat over echo
1024         for appending to configure.in.  Also, check that index files are
1025         cleaned also by "make clean", not only by "make distclean".
1026         * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
1027         and added trailing `:' command.  This testcase also used to check
1028         that automake ignores in-line comments when using variables, but
1029         preserves them in the output; these checks (added in commit
1030         "Release-1-7f-4-g9177ef8") do not really pertain to this test,
1031         so they have been moved ...
1032         * tests/comments-in-var-defn.test: ... into this new test.
1033         * tests/txinfo4.test: Escape literal dots in grep regexps.  Add
1034         trailing `:' command.
1035         * tests/txinfo29.test: Likewise.  Relax grepping of generated
1036         Makefile.in w.r.t. whitespaces.  Prefer `cat' over `echo' to
1037         append to configure.in.
1038         * tests/txinfo3.test: Likewise.
1039         * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
1040         make it stricter, sometimes laxer).  Move `set -e' setting just
1041         after the inclusion of ./defs.  De-uglify a sed command.  Other
1042         minor cosmetic improvements.
1043         * tests/vtexi2.test: Make grepping of Makefile.in stricter.  Add
1044         trailing `:' command.
1045         * tests/vtexi3.test: New test on version.texi support.
1046         * tests/vtexi4.test: Likewise.
1047         * tests/Makefile.am (TESTS): Updated.
1048
1049 2011-01-11   Stefano Lattarini  <stefano.lattarini@gmail.com>
1050
1051         tests: fix spurious failure in 'tests/yflags-conditional.test'
1052         * tests/yflags-conditional.test: Filter out message "warnings are
1053         treated as errors" from automake stderr, to avoid a false positive
1054         when grepping for extraneous warning messages.
1055
1056 2011-01-10   Stefano Lattarini  <stefano.lattarini@gmail.com>
1057
1058         yacc: warn about conditional content in *YFLAGS variables
1059         This change fixes automake bug#7804.
1060         * automake.in (lang_yacc_target_hook): Warn if any of the relevant
1061         *YFLAGS variables has conditional contents (not only a conditional
1062         definition).  Related refactoring.
1063         * NEWS: Updated.
1064         * tests/yflags-conditional.test: Updated and extended.
1065         * tests/yflags-conditional-force.test: New test.
1066         * tests/Makefile.am (TESTS): Updated.
1067
1068 2011-01-08   Stefano Lattarini  <stefano.lattarini@gmail.com>
1069
1070         yacc: support variable expansions in *YFLAGS definition.
1071         This change fixes automake bug#7800.
1072         * automake.in (lang_yacc_target_hook): Use 'value_as_list_recursive'
1073         instead of 'variable_value' to get the value of *YFLAGS variables.
1074         Related changes.
1075         ($DASH_D_PATTERN): Removed.
1076         * tests/Makefile.am (XFAIL_TESTS): Remove yflags-var-expand.test.
1077         * tests/yacc-clean.test: Remove workaround for now-fixed bug.
1078         * NEWS: Update.
1079
1080 2011-01-08   Stefano Lattarini  <stefano.lattarini@gmail.com>
1081
1082         yacc: more tests on *YFLAGS support
1083         * tests/yflags-var-expand.test: New test, still xfailing.  It
1084         exposes automake bug#7800 -- "automake fails to honor `-d' in
1085         AM_YFLAGS when variable expansions are involved".
1086         * tests/yflags-d-false-positive.test: New test, checking that
1087         automake do not spuriously see `-d' in *YFLAGS when that isn't
1088         really there.
1089         * tests/yflags-force-override.test: New test, checking that
1090         automake can cope with definition of the YFLAGS variable in
1091         Makefile.am (even if that is an extremely bad practice, as that
1092         variable is user-reserved).
1093         * tests/yflags-cmdline-override.test: New test, checking that
1094         automake can cope with user-redefinition of YFLAGS at configure
1095         time and/or at make time.
1096         * tests/yflags-conditional.test: New test, checks that automake
1097         warns on conditionally-defined *YFLAGS variables.
1098         * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
1099
1100 2011-01-08   Stefano Lattarini  <stefano.lattarini@gmail.com>
1101
1102         yacc: extend and improve tests
1103         * tests/yacc-basic.test: Also check that the intermediate C file
1104         is mentioned in the generated Makefile.in, and that it is created
1105         by the first make invocation.
1106         * tests/yacc3.test: Test removed, superseded by ...
1107         * tests/yacc-d-basic.test: ... this new test.
1108         * tests/yacc2.test: Add reference to that new test in the heading
1109         comments.
1110         * tests/yacc-d-vpath.test: New test.
1111         * tests/yaccvpath.test: Updated heading comments.  Do not require
1112         gcc anymore, as any working C compiler should be enough.  Remove
1113         redundant comments.
1114         * tests/yacc-nodist.test: New test.
1115         * tests/yacc-dist-nobuild.test: New test.
1116         * tests/Makefile.am (TESTS): Update.
1117
1118 2010-12-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
1119
1120         Extend, fix and improve tests on Lex and Yacc support.
1121         * tests/lexcpp.test: New test script, on support for Lex + C++.
1122         * tests/lexvpath.test: New test script, test build and rebuild
1123         rules for lexers in VPATH setup.
1124         * tests/yacc-basic.test: New test script, run simple "semantic"
1125         checks on basic Yacc support (similarly to what lex3.test does
1126         for Lex support).
1127         * tests/lex.test: Don't create useless dummy source file joe.l.
1128         Remove extra blank lines.
1129         * tests/lex4.test: Add trailing `:' command.  Do not create dummy
1130         useless lex source file.
1131         * tests/lex2.test: Likewise.  Call automake with the `-a' option,
1132         so that it doesn't fail for the absence of `ylwrap' script.  Make
1133         grepping of automake stderr stricter.
1134         * tests/yacc7.test: Add trailing `:' command.  Enable `errexit'
1135         shell flag earlier (just after having sourced ./defs).
1136         * tests/yacc4.test: Likewise.  Also ...
1137         (configure.in): Use pre-populated skeleton set up by ./defs,
1138         instead of writing one from scratch.
1139         Other minor cosmetic changes.
1140         * tests/yacc5.test: Likewise.
1141         * tests/yaccvpath.test: Likewise. Also ...
1142         ($distdir): New variable.
1143         Use it throughout.
1144         * tests/lex5.test: Likewise.
1145         * tests/lex3.test: Likewise.  Check the distdir, rather than
1146         grepping the distribution tarball.  Extend the test on the
1147         created binary, and be sure to avoid hangs.  Add some comments.
1148         * tests/yacc.test: Use stricter grepping.  Add trailing `:'.
1149         * tests/yacc6.test: Likewise.
1150         * tests/yacc3.test: Likewise.  Do not create the unused file
1151         `Makefile.sed'.  Remove useless rules from Makefile.am.  Other
1152         minor cosmetic changes.
1153         * tests/yacc2.test: Make grepping of generated `Makefile.in' and
1154         of automake error messages stricter.  Do not redirect output of
1155         grep to /dev/null.  Move call to aclocal earlier.  Reduce the
1156         number of empty blank lines.  Fix a typo in comments.
1157         * tests/yacc8.test: Fixed bugs that reduced the completeness of
1158         the tests.  Added trailing `:' command.
1159         (configure.in): Use pre-populated skeleton set up by ./defs,
1160         instead of writing one from scratch.
1161         * tests/yaccpp.test: Test also extensions `.y++', `.ypp', and
1162         `.yxx', rather than only `.yy'.
1163         * tests/Makefile.am (TESTS): Update.
1164
1165 2011-01-09   Stefano Lattarini  <stefano.lattarini@gmail.com>
1166
1167         cosmetics: remove trailing whitespaces
1168         * doc/automake.texi: Remove trailing whitespaces.
1169         * tests/cond13.test: Likewise.
1170         * tests/cond14.test: Likewise.
1171         * tests/fort4.test: Likewise.
1172         * tests/fort5.test: Likewise.
1173         * tests/libobj17.test: Likewise.
1174         * tests/suffix7.test: Likewise.
1175         * tests/vtexi2.test: Likewise.
1176
1177         automake: minor fixes in comments
1178         * automake.in: Some minor fixes and enhancements in comments.
1179
1180 2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1181
1182         Add test coverage for deleted header files.
1183         * tests/depcomp6.test, tests/depcomp7.test: Update tests to
1184         also check for the deleted header bug.  If no dependency
1185         tracking mechanism could be found, SKIP rather than exit
1186         successfully.  Use GNU style spacing and ANSI C prototypes.
1187
1188         Fix typos in Rule.pm comments.
1189         * lib/Automake/Rule.pm: Fix typos in comments.
1190
1191         docs: split 'amhello Explained' node.
1192         * doc/automake.texi (amhello Explained): Split node ...
1193         (amhello's configure.ac Setup Explained)
1194         (amhello's Makefile.am Setup Explained) : ... into these two.
1195         (Top, Hello World): Adjust, and add @anchor for stable URL links.
1196         Suggestion by Karl Berry in automake bug#7766.
1197
1198 2011-01-08  Karl Berry  <karl@freefriends.org>
1199             Eric Blake  <eblake@redhat.com>
1200
1201         docs: reference defining directories in amhello node.
1202         * doc/automake.texi (amhello Explained): Point to Autoconf
1203         manual for how to convert directory values into macros.
1204         (Optional): Fix grammar nit.
1205
1206 2011-01-07   Stefano Lattarini  <stefano.lattarini@gmail.com>
1207
1208         yacc: "make clean" removes .c and .h files from non-distributed .y
1209         Previously, while automake did *not* distribute C source and header
1210         files derived from non-distributed Yacc sources, it still caused
1211         them to be removed only by "make maintainer-clean" only, and not by
1212         simply "make clean" or "make distclean".
1213         This caused "make distcheck" to fail, unless the developer put
1214         those generated .c and .h files in CLEANFILES or in DISTCLEANFILES
1215         by hand.
1216         This change fixes this issue, by making non-distributed `.c' and
1217         `.h' files generated by non-distributed Yacc sources cleaned by
1218         "make clean".
1219         * tests/automake.in (lang_yacc_target_hook): Make C source and
1220         header files derived from non-distributed Yacc files cleaned by
1221         "make clean", not only by "make maintainer-clean".
1222         * tests/yacc-clean.test: New test.
1223         * tests/Makefile.am (TESTS): Update.
1224         * NEWS: Update.
1225
1226 2011-01-02   Stefano Lattarini  <stefano.lattarini@gmail.com>
1227
1228         * NEWS: Fix typo (forgotten word).
1229
1230 2011-01-02   Stefano Lattarini  <stefano.lattarini@gmail.com>
1231              Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1232
1233         docs: how to work around checks on invalid primary/directory couples
1234         * doc/automake.texi (Uniform): Document the blessed idiom which can
1235         be used to work around automake checks on invalid primary/directory
1236         couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
1237
1238 2010-01-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
1239
1240         Tests: normalize use of the 'errexit' shell flag.
1241         * tests/maken3.test (check_targets): Remove redundant call to
1242         'set -e'.
1243         * tests/maken4.test: Likewise.
1244         * tests/ansi5.test: Call 'set -e' just after './defs' has been
1245         sourced.
1246         * tests/ansi6.test: Likewise.
1247         * tests/ansi7.test: Likewise.
1248         * tests/cond16.test: Likewise.
1249         * tests/cond17.test: Likewise.
1250         * tests/cond18.test: Likewise.
1251         * tests/cond19.test: Likewise.
1252         * tests/cond20.test: Likewise.
1253         * tests/cond21.test: Likewise.
1254         * tests/instdat2.test: Likewise.
1255         * tests/instdir-texi.test: Likewise.
1256         * tests/parallel-tests3.test: Likewise.
1257         * tests/remake1a.test: Likewise.
1258         * tests/ccnoco.test: Likewise, and add trailing `:' command.
1259         * tests/comment4.test: Likewise.
1260         * tests/gcj4.test: Likewise.
1261         * tests/nodist2.test: Likewise.
1262         * tests/nodist3.test: Enable 'errexit' shell flag (this should
1263         have been done in commit v1.11-248-g317e17b, but the relevant
1264         hunk has been forgotten somehow).
1265         * tests/output.test: Likewise.
1266         * tests/gnits2.test: Likewise, and display captured stderr to
1267         script's stderr, not to script's stdout.
1268         * tests/gnits3.test: Likewise.  Also, prefer 'cat' over 'echo'
1269         to append to Makefile.am, and really check that the exit status
1270         of "make installcheck" indicates failure.
1271
1272 2011-01-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1273
1274         Sync auxiliary files from upstream.
1275         * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1276         Sync from upstream.
1277
1278         Avoid caching bug in cygnus mode test.
1279         * tests/cygnus-requires-maintainer-mode.test: Remove
1280         autom4te.cache directory before rerunning aclocal, to
1281         remove trace caches.
1282
1283         Fix maintainer-check regression.
1284         * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
1285         environment.
1286
1287         Bump copyright years.
1288         * aclocal.in (write_aclocal, version): Bump copyright years.
1289         * automake.in (gen_copyright, version): Likewise.
1290         * doc/automake.texi: Likewise.
1291
1292 2010-12-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1293
1294         * NEWS: Add missing blank line between two entries.
1295
1296 2010-12-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1297
1298         Improve and extend tests `suffix*.test'.
1299         * tests/suffix.test: Check that suffix rules for C compilation are
1300         only included once.  Try also with a static library.
1301         * tests/suffix2.test: Add a new grep to help potential debugging.
1302         Do not run automake with the `--add-missing' options, since we
1303         already create all the needed auxiliary files.  Try also *without*
1304         the `no-dependencies' automake option.
1305         * tests/suffix4.test: Make grepping of Makefile.in stricter.
1306         * tests/suffix3.test: Rewritten to run also autoconf, ./configure
1307         and make.
1308         * tests/suffix5.test: Likewise.
1309         * tests/suffix6.test: Fix botched recipe indentation (eight spaces
1310         were used instead of a tabulation character).  Extend to check
1311         that `.obj' is handled like `.$(OBJEXT)' (as is done for `.o').
1312         Improved parsing & grepping of generated Makefile.in.  Other minor
1313         fixes and improvements.
1314         * tests/suffix10.test: Move some checks in Makefile.am.  Also run
1315         "make all".
1316         * tests/suffix12.test: Likewise, and account for VPATH issues in
1317         weaker make implementations.
1318         * tests/suffix11.test: Likewise.  Also, run "make distcheck", for
1319         completeness, and related changes.
1320         * tests/suffix8.test: Likewise.  Also, do not put `gcc' anymore
1321         in $required.
1322         * tests/suffix13.test: Do not use the `--force-missing' automake
1323         option unnecessarily.
1324         * tests/suffix6b.test: New test, semantic sister of `suffix6.test'.
1325         * tests/suffix6c.test: Likewise.
1326         * tests/Makefile.am (TESTS): Updated.
1327
1328 2010-12-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1329             Stefano Lattarini  <stefano.lattarini@gmail.com>
1330
1331         Work around a bug in file-inclusion mechanism of Solaris make.
1332         * automake.in (handle_single_transform): In the name of the
1333         dependency file: collapse multiple slash characters into a single
1334         one.
1335         * tests/subobj11a.test: New test.
1336         * tests/subobj11b.test: Likewise.
1337         * tests/subobj11c.test: Likewise.
1338         * tests/depcomp8a.test: Likewise.
1339         * tests/depcomp8b.test: Likewise.
1340         * tests/Makefile.am (TESTS): Updated.
1341         * NEWS: Updated.
1342         Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
1343         patch and tests by Stefano Lattarini.
1344
1345 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
1346
1347         Fix two spurious testsuite failures on IRIX 6.5.
1348         * tests/suffix13.test (Makefile.am): Account for VPATH issues on
1349         weaker make implementations (e.g. IRIX 6.5).
1350         * tests/parallel-tests8.test: Likewise, plus a required related
1351         change.
1352         Reported by Ralf Wildenhues.  The bugs have been there from the
1353         first versions of the affected test scripts.
1354
1355 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
1356
1357         docs: cygnus mode doesn't require AM_CYGWIN32 macro.
1358         * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
1359         the AM_CYGWIN32 macro (and indeed hasn't required it since at
1360         least commit Release-1-2-31-g3038064 "merged changes from
1361         Cygnus" of 1997-08-25).
1362
1363 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
1364
1365         Add some tests on 'cygnus' mode.
1366         * tests/clean2.test: Extend.
1367         * tests/cygnus-check-without-all.test: New test.
1368         * tests/cygnus-dependency-tracking.test: Likewise.
1369         * tests/cygnus-distclean.test: Likewise.
1370         * tests/cygnus-imply-foreign.test: Likewise.
1371         * tests/cygnus-no-dist.test: Likewise.
1372         * tests/cygnus-no-installinfo.test: Likewise.
1373         * tests/cygnus-requires-maintainer-mode.test: Likewise.
1374         * tests/Makefile.am (TESTS): Update.
1375
1376 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
1377
1378         Fix parallel testsuite run with Zsh.
1379         This change deals with a Zsh incompatibility in the handling
1380         of the special shell variable `$0' in sourced files; this
1381         incompatibility used to cause utter breakage when the
1382         Automake testsuite was run in parallel mode with Zsh as
1383         the $(TEST_LOG_COMPILER).
1384         For more information, please refer to the thread "Fix parallel
1385         testsuite run with zsh" on automake-patches, dated 2010-12-22:
1386          <http://lists.gnu.org/archive/html/automake-patches/2010-12/msg00135.html>
1387         This change works around the problems described above for Zsh 4.3
1388         or later, and offers better error messages (instead of random
1389         failures) for earlier Zsh version.
1390         * tests/README (Supported shells): When describing the manual
1391         workaround about the Zsh incompatibility in the handling of `$0',
1392         tell that it is now needed only with Zsh versions preceding 4.3.
1393         Done also some minor rewordings.
1394         * tests/defs-static.in ($argv0): New variable, offers a workaround
1395         for the Zsh incompatibility in the handling of `$0'.
1396         Abort if that variable cannot be correctly set (can happen only
1397         in older Zsh version).
1398         * tests/defs ($me): Define using `$argv0', not `$0'.
1399
1400 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
1401
1402         Tests defs: keep track of original $AUTOMAKE and $ACLOCAL values.
1403         This is especially useful for tests which might want to run
1404         automake and aclocal without additional flags and warnings.
1405         * tests/defs-static.in ($original_ACLOCAL): New variable.
1406         ($original_AUTOMAKE): Likewise.
1407         * tests/help.test: Use them.
1408         * tests/help2.test: Likewise.
1409         * tests/help3.test: Likewise.
1410         * tests/help4.test: Likewise.
1411         From a suggestion by Ralf Wildenhues.
1412
1413 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
1414
1415         distlinksbrk.test: Work around botched "make -k".
1416         * tests/distlinksbrk.test: Run "make" multiple times and grep
1417         its output each time for a single error message, rather than
1418         running "make -k" one single time and grepping its output for
1419         all the expected error messages.  This should work around make
1420         implementations with limited (broken?) `-k' support; for more
1421         information, see these subthreads on the automake-patches list:
1422           - 2010-11-15, "Testsuite failures on HP-UX 11.23",
1423             <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
1424           - 2010-11-15, "Testsuite failures on IRIX 6.5",
1425             <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
1426
1427 2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1428
1429         Minor improvements to test 'amopts.test'.
1430         * tests/amopts.test: Remove botched comment.  Make grepping of
1431         automake stderr slighty stricter.  Add trailing `:' command.
1432
1433 2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1434
1435         backcompat6.test: avoid comments inside recipe commands.
1436         * tests/backcompat6.test: Remove shell comments from makefile rule
1437         commands, as they are not portable to (at least) Tru64 make.
1438
1439 2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1440
1441         man8.test: avoid comments inside recipe commands.
1442         * tests/man8.test: Remove shell comments from makefile rule
1443         commands, as they are not portable to (at least) Tru64 make.
1444
1445 2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1446
1447         Fix sed-related buglet in test "subdir5.test"
1448         * tests/subdir5.test: Always terminate text passed to the
1449         `i' sed command with a newline, to work around limitations
1450         in e.g. older OpenBSD sed.
1451
1452 2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1453
1454         Fix spurious failures in tests on AC_CONFIG_AUX_DIR.
1455         * tests/auxdir7.test: Do not try to needlessly overwrite the files
1456         `install-sh' and `missing'.  This avoid spurious failures in "make
1457         distcheck", when those files might be copied as read-only from the
1458         `lib' directory.
1459         * tests/auxdir8.test: Likewise.
1460
1461 2010-12-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
1462
1463         Make test 'posixsubst-script' portable to MinGW/MSYS.
1464         * tests/posixsubst-script.test: Ensure that the generated dummy
1465         scripts really start with a shebang line, to work around a
1466         limitation of 'test -x' on MinGW/MSYS.
1467         Reported by Ralf Wildenhues.
1468
1469         Improve comments in tests `posixsubst*.test'.
1470         * tests/posixsubst-data.test: Improve comment explaining why we
1471         try also empty match suffix.
1472         * tests/posixsubst-extradist.test: Likewise.
1473         * tests/posixsubst-ldadd.test: Likewise.
1474         * tests/posixsubst-libraries.test: Likewise.
1475         * tests/posixsubst-ltlibraries.test: Likewise.
1476         * tests/posixsubst-programs.test: Likewise.
1477         * tests/posixsubst-scripts.test: Likewise.
1478         * tests/posixsubst-sources.test: Likewise.
1479         * tests/posixsubst-tests.test: Likewise.
1480         Suggested by Ralf Wildenhues.
1481
1482 2010-12-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
1483
1484         docs: fix blunder in example about python extension modules
1485         * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
1486         not `quaternion_SOURCES', to declare the sources of python
1487         extension module `quaternion.la'.
1488
1489 2010-12-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
1490
1491         docs: list LTLIBRARIES among Automake primaries
1492         * doc/automake.texi (Uniform): List `LTLIBRARIES' among
1493         the Automake primaries.
1494
1495 2010-12-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
1496             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1497
1498         Tests defs: requirement 'xsi-shell' must be synced with libtool.
1499         * tests/defs (xsi-shell): Add comment telling to keep the
1500         XSI-conformance checks in sync with libtool.
1501
1502 2010-12-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
1503
1504         Minor cleanups in canon7.test.
1505         * tests/canon7.test (_foo_bar_SOURCES): Remove libs.c.
1506         (configure.in): Remove AC_PROG_CXX.
1507
1508 2010-12-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1509
1510         Avoid false positive in sc_tests_plain_make maintainer-check.
1511         * Makefile.am (sc_tests_plain_make): Ensure to only match full
1512         `make' words.  Avoid false positive with remake11.test.
1513
1514 2010-12-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1515
1516         Fix canon7.test failure.
1517         * tests/canon7.test (_foo_bar_SOURCES): Add foobar.c.
1518         (lib.h, libd.c, libs.c): Use const for constant strings.
1519
1520 2010-12-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1521
1522         Fix typos in test comments.
1523         * tests/posixsubst-data.test, tests/posixsubst-extradist.test,
1524         tests/posixsubst-ldadd.test, tests/posixsubst-libraries.test,
1525         tests/posixsubst-ltlibraries.test, tests/posixsubst-programs.test,
1526         tests/posixsubst-scripts.test, tests/posixsubst-sources.test,
1527         tests/posixsubst-tests.test: Fix typos.
1528
1529 2010-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
1530
1531         More uses of AS_HELP_STRING in automake macros.
1532         * m4/depend.m4 (AM_DEP_TRACK): Use `AS_HELP_STRING' to format
1533         the help message added to the generated configure.
1534         * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise.
1535         * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
1536         * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
1537         * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise.
1538         Also, bumped all serial numbers of the modified m4 files.
1539
1540 2010-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
1541
1542         Improve tests on generated portions of configure help screen.
1543         * tests/help-depend.test: Grepping of configure help screen
1544         relaxed to cater for possible line wrapping, and tightened in
1545         other respects.
1546         * tests/help-depend2.test: Likewise.
1547         * tests/help-dmalloc.test: Likewise.
1548         * tests/help-lispdir.test: Likewise.
1549         * tests/help-maintainer.test: Likewise.
1550         * tests/help-multilib.test: Likewise.
1551         * tests/help-silent.test: Likewise.
1552         * tests/help-upc.test: Likewise.
1553         * tests/help-init.test: Grepping of configure help screen
1554         tightened.
1555
1556 2010-12-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
1557
1558         Extended tests on AC_CONFIG_AUX_DIR.
1559         * tests/auxdir.test: Enable `errexit' shell flag.  Prefer `$me'
1560         over hard-coded test name.  Use proper m4 quoting.  Add trailing
1561         `:' command.
1562         * tests/auxdir2.test: Likewise.  Try to call automake also with
1563         the `-a' option, so that it will not fail for spurious reasons.
1564         * tests/auxdir3.test: Add an explanatory comment and a trailing
1565         `:' command.
1566         * tests/auxdir4.test: Prefer `$me' over hard-coded test name.
1567         Make grepping of automake stderr slightly stricter.  Also, now
1568         this test just checks about Automake's reaction to unportable
1569         auxiliary directory names (and it has been extended in this
1570         respect).  Moved the checks about non-existent auxiliary
1571         directories to ...
1572         * tests/auxdir5.test: ... this new test.
1573         * tests/auxdir6.test: New test.
1574         * tests/auxdir7.test: Likewise.
1575         * tests/auxdir8.test: Likewise.
1576         * tests/auxdir9.test: Likewise.
1577         * tests/Makefile.am (TESTS): Updated.
1578
1579 2010-12-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1580
1581         Tests: extend checks on remake rules.
1582         This adds proper semantical tests (i.e. run make to check the
1583         rebuild rules are correctly triggered) in addition to tentative
1584         grepping of the generated Makefile.in(s).
1585         * tests/remake.test: Enable `errexit' shell flag, and related
1586         changes.  Modernize `configure.in'.  Add trailing `:' command.
1587         Improve heading comments, and add a reference to new sister test
1588         remake1a.test.
1589         * tests/remake3.test: Likewise (but with sister test being
1590         remake3a.test).
1591         * tests/remake2.test: Improve heading comments.  Enable `errexit'
1592         shell flag, and related changes.  Modernize `configure.in'.  Make
1593         grepping of `Makefile.in' slightly stricter.  Add trailing `:'
1594         command.
1595         * tests/remake5.test: Also run the `distcheck' target.  Add
1596         trailing `:' command.  Use proper m4 quoting in configure.in.
1597         * tests/remake4.test: Prefer `$me' over hard-coded test name.
1598         * tests/remake7.test: Use the `configure.in' stub created by
1599         ./defs, rather than writing it from scratch.
1600         * tests/remake6.test: Likewise.  Also, add trailing `:' command,
1601         and ensure verbose printing of captured make output.
1602         * tests/remake1a.test: New test, sister of remake.test.
1603         * tests/remake3a.test: New test, sister of remake3.test.
1604         * tests/remake8a.test: New test.
1605         * tests/remake8b.test: Likewise.
1606         * tests/remake9a.test: Likewise.
1607         * tests/remake9b.test: Likewise.
1608         * tests/remake9c.test: Likewise.
1609         * tests/remake9d.test: Likewise.
1610         * tests/remake10a.test: Likewise.
1611         * tests/remake10b.test: Likewise.
1612         * tests/remake10c.test: Likewise.
1613         * tests/remake11.test: Likewise.
1614         * tests/remake12.test: Likewise.
1615         * tests/Makefile.am (TESTS): Updated.
1616
1617 2010-12-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
1618
1619         Improve and extend tests on canonicalization.
1620         * tests/canon-name.test: Add trailing `:' command.  When writing
1621         configure.in, prefer to use $me instead of hard-coding the test
1622         name.
1623         * tests/canon3.test: Prefer trailing `:' over trailing `Exit 0'.
1624         * tests/canon4.test: Likewise.  Make grepping of Makefile.in
1625         stricter.  Improve heading comment, and add reference to ...
1626         * tests/canon6.test: ... this new test (sister test of the
1627         previous one).
1628         * tests/canon.test: Prefer cat + here-doc over echo to append
1629         text to configure.in.  Extend grepping of Automake stderr.  Add
1630         trailing `:' command.
1631         * tests/canon5.test: Likewise.
1632         * tests/canon7.test: New file, stress test on canonicalization.
1633         * tests/canon8.test: New test, for better coverage (check that
1634         the `@' character is not transliterated in canonicalizations).
1635         * tests/Makefile.am: Updated.
1636
1637 2010-12-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
1638
1639         Libobj tests: refer to automake bug tracker for limitations.
1640         * tests/libobj15b.test (configure.in): In the comment explaining
1641         why an apparently redundant AC_OUTPUT is indeed needed, refer
1642         to the relevant entry in the Automake bug tracker rather than
1643         describing the bug in detail with a FIXME-style comment.
1644         * tests/libobj15c.test: Likewise.
1645         * tests/libobj20b.test: Likewise.
1646
1647         Libobj tests: do not use `##' automake comments in-line.
1648         * tests/libobj19.test (Makefile.am): Do not use inline `##'
1649         comments in the definition of AUTOMAKE_OPTIONS.
1650         * tests/libobj20c.test: Likewise.
1651         Report by Ralf Wildenhues.
1652
1653 2010-12-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1654
1655         Fix testsuite failure of check12.test without DejaGNU.
1656         * tests/check12.test: Require runtest.
1657
1658 2010-12-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
1659
1660         Tests defs: more uses of $top_testsrcdir.
1661         * tests/compile6.test: Use `$top_testsrcdir' instead of
1662         `$testsrcdir/..'.
1663
1664 2010-11-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
1665
1666         Tests required tools: also try `-v' option for GNU compilers.
1667         * tests/defs.in: In the loop on "$required" tools, for gcc
1668         and g++, also run "gcc -v" (resp. "g++ -v"), to get more
1669         information, and for consistency with gcj.
1670
1671 2010-11-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
1672             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1673
1674         Tests defs: avoid some useless subshells.
1675         * tests/defs: In the loop on "$required" tools: avoid subshells
1676         where not needed.
1677
1678 2010-12-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
1679
1680         Extend tests on AC_LIBOBJ and friends.
1681         * tests/aclibobj.test: Removed, superseded by ...
1682         * tests/libobj-basic.test: ... this new test, which runs autoconf,
1683         ./configure and make, to ensure everything really works.
1684         * tests/libobj3.test: Add trailing `:' command.  Escape literal
1685         dot in grep regexp.
1686         * tests/libobj4.test: Enable `errexit' shell flag, and related
1687         changes.  Add trailing `:' command.  Use proper m4 quoting.
1688         * tests/ltlibobjs.test: Likewise.
1689         * tests/libobj5.test: Enable `errexit' shell flag, and related
1690         changes.  Add trailing `:' command.  Make more robust by using
1691         longer filenames to be grepped.
1692         * tests/libobj8.test: Enable `errexit' shell flag, and related
1693         changes.  Add trailing `:' command.  Use the configure.in
1694         stub provided by ./defs, rather than writing it from scratch.
1695         * tests/libobj2.test: Likewise.  Also, add calls to autoconf,
1696         ./configure and make, to ensure everything really works.
1697         * tests/libobj7.test: Likewise, and ensure that at least one
1698         function listed in AC_REPLACE_FUNCTIONS is truly replaced.
1699         * tests/libobj13.test: Make grepping of Automake stderr slightly
1700         stricter.  Add trailing `:' command.
1701         * tests/libobj12.test: Likewise.  Also, prefer "cat + here-doc"
1702         over "echo" to append to Makefile.am, and some cosmetic changes
1703         in spacing.
1704         * tests/libobj14.test: Call `Exit 1' if sourcing of ./defs fails.
1705         Slighty improve m4 quoting.  Add trailing `:' command.
1706         * tests/libobj10.test: Add calls to autoconf, ./configure and
1707         make, to ensure everything really works.  Also, remove tests that
1708         nonexistent source for AC_LIBOBJ cause an Automake failure: this
1709         is already checked by ...
1710         * tests/libobj15a.test: ... this new test.
1711         * tests/libobj15b.test: New test, sister test of libobj15a.test,
1712         checks AC_LIBSOURCE instead of AC_LIBOBJ.
1713         * tests/libobj15c.test: New test, sister test of libobj15a.test,
1714         checks AC_LIBSOURCES instead of AC_LIBOBJ.
1715         * tests/libobj11.test: Removed, superseded by ...
1716         * tests/libobj16a.test: ... this new test.
1717         * tests/libobj16b.test: New test, sister test of libobj16a.test,
1718         but using oldish/deprecated idioms.
1719         * tests/libobj17.test: New test.
1720         * tests/libobj18.test: Likewise.
1721         * tests/libobj19.test: Likewise.
1722         * tests/libobj20a.test: Likewise.
1723         * tests/libobj20b.test: Likewise.
1724         * tests/libobj20c.test: Likewise.
1725         * tests/Makefile.am (TESTS): Updated.
1726
1727 2010-12-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
1728
1729         Test `$(var:suf=rpl)' expansion in special automake variables.
1730         * tests/posixsubst-data.test: New test.
1731         * tests/posixsubst-extradist.test: Likewise.
1732         * tests/posixsubst-ldadd.test: Likewise.
1733         * tests/posixsubst-libraries.test: Likewise.
1734         * tests/posixsubst-ltlibraries.test: Likewise.
1735         * tests/posixsubst-programs.test: Likewise.
1736         * tests/posixsubst-scripts.test: Likewise.
1737         * tests/posixsubst-sources.test: Likewise.
1738         * tests/posixsubst-tests.test: Likewise.
1739         * tests/Makefile.am (TESTS): Update.
1740
1741 2010-12-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
1742
1743         Make tests `colon*.test' more "semantic".
1744         Prefer running configure and make over grepping the generated
1745         files; this is both more correct and less fragile.
1746         * tests/colon.test: Made more "semantic", as described above.
1747         * tests/colon5.test: Likewise.
1748         * tests/colon6.test: Likewise.
1749         * tests/colon7.test: Likewise.
1750         * tests/colon2.test: Likewise, and improve syncing with sister
1751         test `colon3.test'.
1752         * tests/colon3.test: Likewise (but with the sister test being
1753         `colon2.test' here).
1754
1755 2010-12-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
1756
1757         Extend and improve tests on DejaGnu support.
1758         * tests/dejagnu.test: Do not create useless dummy test script.
1759         Add trailing `:' command.  In heading comments, add reference
1760         to ...
1761         * tests/check12.test: ... this new "semantic" test, covering
1762         concurrent use of dejagnu tests, simple tests and `check-local'
1763         target.
1764         * tests/dejagnu2.test: Make test more reliable, by avoid weak
1765         grepping of make output.  Prefer `cat' over `echo' to append
1766         to configure.in.  Quote literal dots in grep regexps.  Prefer
1767         `grep -c ...' over `grep ... | wc -l'.  Make grepping of
1768         automake stderr slightly stricter.  Add trailing `:' command.
1769         * tests/dejagnu3.test: Prefer `cat' over `echo' to append to
1770         configure.in.  Check stderr of expected-to-fail "make" call.
1771         Remove extra blank lines from Makefile.am.
1772         * tests/dejagnu4.test: Prefer `cat' over `echo' to append to
1773         configure.in.  Prefer `mv -f' over plain `mv' when the target
1774         file already exists.  Avoid extra mkdir calls by creating more
1775         directories at once.  Better use of blank lines.  Check that
1776         the `*.log' and `*.sum' files are created by runtest also when
1777         "make check" fails.
1778         * tests/dejagnu7.test: Prefer `cat' over `echo' to append to
1779         configure.in.  Better use of blank lines.  Add a trailing `:'
1780         command.
1781         * tests/dejagnu6.test: Likewise, and give the dejagnu test a
1782         more descriptive name.
1783         * tests/dejagnu5.test: Likewise.  Also, simply define package
1784         name to `$me' rather than using a non-obvious sed script to
1785         extract it from `AC_INIT', and write the Makefile.am with only
1786         one command.
1787         * tests/Makefile.am (TESTS): Updated.
1788
1789 2010-12-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1790
1791         Avoid running installed automake from 'libtool --help'.
1792         * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
1793         Together with fixed Libtool, this fixes check-coverage to not
1794         invoke installed automake.
1795
1796 2010-12-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1797
1798         Separate checks on target overriding into multiple test scripts.
1799         * tests/overrid.test: Deleted, its contents separated into ...
1800         * tests/override-suggest-local.test: ... this new test ...
1801         * tests/override-html.test: ... and this new test ...
1802         * tests/override-conditional-1.test: ... and this new test ...
1803         * tests/override-conditional-2.test: ... and this new test (still
1804         xfailing).
1805         * tests/Makefile.am (TESTS, XFAIL_TESTS): Updated.
1806
1807         Enable `set -e' in more tests (plus some tweakings).
1808         * tests/implicit.test: Enable `errexit' shell flag, and related
1809         changes.  Add trailing `:' command.
1810         * tests/insh2.test: Likewise.
1811         * tests/instman2.test: Likewise.
1812         * tests/interp.test: Likewise.
1813         * tests/interp2.test: Likewise.
1814         * tests/library.test: Likewise.
1815         * tests/mclean.test: Likewise.
1816         * tests/info.test: Enable `errexit' shell flag, and related
1817         changes.  Add trailing `:' command.  Remove useless chaff from
1818         generated Makefile.am.  Add a "FIXME" comment.
1819         * tests/include.test: Enable `errexit' shell flag, and related
1820         changes.  Add trailing `:' command.  Prefer cat + here-doc over
1821         echo to append to configure.in.  Make tests more robust by using
1822         longer and less common names to grep.  Remove an useless call to
1823         echo.  Remove an useless subshell.
1824         * tests/header.test: Enable `errexit' shell flag, and related
1825         changes.  Use proper m4 quoting.  Add excerpts from the original
1826         report of the bug tested for by this script.
1827         * tests/gcj.test: Enable `errexit' shell flag, and related
1828         changes.  Use proper m4 quoting.  Add trailing `:' command.
1829         * tests/gcj3.test: Likewise.
1830         * tests/ldflags.test: Likewise.
1831         * tests/libtool.test: Likewise.
1832         * tests/listval.test: Likewise.
1833         * tests/javaprim.test: Likewise, and prefer cat + here-doc over
1834         echo to append to configure.in.
1835         * tests/javasubst.test: Likewise.
1836         * tests/discorver.test: Enable `errexit' shell flag.  Prefer
1837         trailing `:' over trailing `Exit 0'.
1838         * tests/instdat.test: Enable `errexit' shell flag, and related
1839         changes.  Use proper m4 quoting.  Avoid usless subshell.  Prefer
1840         cat + here-doc over echo to append to configure.in.
1841         * tests/libtool2.test: Enable `errexit' shell flag, and related
1842         changes.  Add trailing `:' command.  Use the configure.in
1843         stub provided by ./defs, rather than writing it from scratch.
1844
1845         Modernize, improve and/or tweak some test scripts.
1846         * tests/maintclean.test: Use proper m4 quoting.  Add trailing `:'
1847         command.
1848         * tests/sinclude.test: Likewise, and add a couple of blank lines,
1849         for clarity.
1850         * tests/make.test: Move setting of `errexit' shell flag earlier in
1851         the script (just after inclusion of ./defs).  Use the configure.in
1852         stub created by ./defs, rather than writing it from scratch.  Some
1853         cosmetic changes in spacing.  Ensure we wait enough time before
1854         touching configure.in to trigger the rebuild rules.
1855         * tests/makej.test: Use `$me' instead of hard-coding the test
1856         name.  Add trailing `:' command.
1857         * tests/version7.test: Likewise.
1858         * tests/space.test: Enable `errexit' shell flag, and related
1859         changes.
1860         * tests/makevars.test: Likewise.  Also, prefer trailing `:' over
1861         trailing `Exit 0', and be more tolerant of white spaces when
1862         grepping Makefile.in.
1863
1864 2010-12-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
1865
1866         * tests/silent8.test: Use "|| Exit 1" after ". ./defs".
1867
1868         Enable `set -e' in more tests (plus some tweakings).
1869         * tests/mkinstall.test: Enable `errexit' shell flag, and related
1870         changes.  Add a trailing `:' command, if needed.
1871         * tests/mdate2.test: Likewise.
1872         * tests/objc.test: Likewise.
1873         * tests/noinst.test: Likewise.
1874         * tests/outdir.test: Likewise.
1875         * tests/number.test: Likewise.
1876         * tests/pluseq.test: Likewise.
1877         * tests/req.test: Likewise.
1878         * tests/rulepat.test: Likewise.
1879         * tests/specflg6.test: Likewise.
1880         * tests/spell3.test: Likewise.
1881         * tests/parse.test: Likewise, and ...
1882         (configure.in): Use the stub created by ./defs, rather than
1883         writing it from scratch.  Remove useless calls to AC_PROG_RANLIB
1884         and AC_OUTPUT.
1885         * tests/mdate4.test: Likewise.
1886         * tests/mkinstall.test: Likewise, and ...
1887         (configure.in): ... drop useless call to `AC_OUTPUT'.
1888         * tests/output.test: Enable `errexit' shell flag, and related
1889         changes.  Add a trailing `:' command.
1890         (configure.in): Modernize.
1891         * tests/output2.test: Likewise.
1892         * tests/output3.test: Likewise.
1893         * tests/output4.test: Likewise.
1894         * tests/mdate3.test: Enable `errexit' shell flag, and related
1895         changes.  Prefer `$me' over hard-coded test name.  Do not move
1896         non-existent or useless files in the build auxiliary directory.
1897         * tests/nodistdir.test: Enable `errexit' shell flag, and related
1898         changes.  Prefer trailing `:' over trailing `Exit 0'.
1899         * tests/nodist.test: Likewise.  Also, prefer cat + here-doc over
1900         echo to create input test files, and do not create useless dummy
1901         C source files.
1902         * tests/nodist2.test: Likewise.
1903         * tests/ppf77.test: Enable `errexit' shell flag, with related
1904         changes.  Add a trailing `:' command.  Do not create useless
1905         dummy source files.
1906         * tests/spelling.test: Enable `errexit' shell flag, with related
1907         changes.  Add a trailing `:' command.  Also, grep Automake error
1908         message.
1909         * tests/specflg3.test: Enable `errexit' shell flag, with related
1910         changes.  Avoid unportable use of `-e' option of fgrep.  Prefer
1911         trailing `:' over trailing `Exit 0'.  Remove extra empty lines,
1912         and cosmetic changes to whitespaces.
1913         * tests/obsolete.test: Enable `errexit' shell flag, with related
1914         changes.  Improve verbosity.  Other miscellanous changes.
1915
1916 2010-11-30  Stefano Lattarini  <stefano.lattarini@gmail.com>
1917
1918         Improve and extend tests on `:=' variable assignments.
1919         * tests/colneq.test: Avoid redundant use of variable assignments
1920         in Makefile.am.  Use command-line automake options instead of
1921         editing AUTOMAKE_OPTIONS in Makefile.am.  Make grepping of the
1922         generated Makefile.in slightly stricter.  Add a trailing `:'
1923         command.
1924         * tests/colneq2.test: Do not create unneeded dummy files.  Run
1925         also autoconf, ./configure and make.  Add trailing `:' command.
1926         * tests/colneq3.test: New test, similar to colneq.test, but
1927         running also autoconf, ./configure and make.
1928         * tests/Makefile.am (TESTS): Update.
1929
1930 2010-11-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
1931
1932         Remove long-deprecated options --Werror and --Wno-error.
1933         These options has been deprecated at least since commit
1934         "Release-1-6-1b-35-gc037f20", dated 2002-07-06.
1935         * automake.in (parse_arguments): Do not recognize anymore options
1936         `--Werror' and `--Wno-error' as synonyms of respectively `-Werror'
1937         and `-Wno-error'.
1938         * tests/werror.test: Update: use `-Werror' instead of `--Werror'.
1939         * NEWS: Update.
1940
1941 2010-11-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
1942
1943         Fix spurious failures in `silent*.test' for $CC != gcc
1944         In some tests on automake-produced silent rules, we forced the
1945         use of gcc depmode to improve testsuite coverage; but this has
1946         unsurprisingly led to spurious failures when some non-GNU C
1947         compilers were used.  So we are now careful to require GCC in
1948         tests that force gcc depmode.
1949         From reports by Ralf Wildenhues.
1950         * silent5.test: Test removed, its content split into ...
1951         * silent-many-generic.test, silent-many-gcc.test: ... these new
1952         sister tests, the latter of which forces gcc depmode and lists
1953         "gcc" in $required.
1954         * silentlex.test: Test removed, its content split into ...
1955         * silent-lex-generic.test, silent-lex-gcc.test: ... these new
1956         sister tests, the latter of which forces gcc depmode and lists
1957         "gcc" in $required.
1958         * silentyacc.test: Test removed, its content split into ...
1959         * silent-yacc-generic.test, silent-yacc-gcc.test: ... these new
1960         sister tests, the latter of which forces gcc depmode and lists
1961         "gcc" in $required.
1962         * tests/Makefile.am (TESTS): Updated.
1963
1964 2010-11-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1965
1966         Tests: consistently use "|| Exit 1" after ". ./defs".
1967         * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
1968         `. ./defs', for consistency with other tests.
1969         * tests/autohdr2.test: Likewise.
1970         * tests/autohdr3.test: Likewise.
1971         * tests/autohdr4.test: Likewise.
1972         * tests/cond23.test: Likewise.
1973         * tests/cond24.test: Likewise.
1974         * tests/cond25.test: Likewise.
1975         * tests/cond26.test: Likewise.
1976         * tests/cond27.test: Likewise.
1977         * tests/cond28.test: Likewise.
1978         * tests/cond29.test: Likewise.
1979         * tests/cond30.test: Likewise.
1980         * tests/cond31.test: Likewise.
1981         * tests/cond32.test: Likewise.
1982         * tests/cond33.test: Likewise.
1983         * tests/cond34.test: Likewise.
1984         * tests/cond35.test: Likewise.
1985         * tests/cond36.test: Likewise.
1986         * tests/cond37.test: Likewise.
1987         * tests/cond38.test: Likewise.
1988         * tests/cond39.test: Likewise.
1989         * tests/cond40.test: Likewise.
1990         * tests/cond41.test: Likewise.
1991         * tests/cond42.test: Likewise.
1992         * tests/cond43.test: Likewise.
1993         * tests/cond44.test: Likewise.
1994         * tests/cond45.test: Likewise.
1995         * tests/dollarvar.test: Likewise.
1996         * tests/dollarvar2.test: Likewise.
1997         * tests/hfs.test: Likewise.
1998         * tests/libobj14.test: Likewise.
1999         * tests/percent.test: Likewise.
2000         * tests/percent2.test: Likewise.
2001         * tests/phony.test: Likewise.
2002         * tests/silent.test: Likewise.
2003         * tests/silent2.test: Likewise.
2004         * tests/silent3.test: Likewise.
2005         * tests/silent4.test: Likewise.
2006         * tests/silent5.test: Likewise.
2007         * tests/silent6.test: Likewise.
2008         * tests/silent7.test: Likewise.
2009         * tests/silent9.test: Likewise.
2010         * tests/silentcxx.test: Likewise.
2011         * tests/silentf77.test: Likewise.
2012         * tests/silentf90.test: Likewise.
2013         * tests/silentlex.test: Likewise.
2014         * tests/silentyacc.test: Likewise.
2015
2016         Avoid useless cleaning in some `silent*.test' tests.
2017         * tests/silentf77.test: Removed useless calls to "make clean"
2018         and "make maintainer-clean".
2019         * tests/silentf90.test: Likewise.
2020         * tests/silent3.test: Removed useless call to "make distclean".
2021         * tests/silent4.test: Likewise.
2022         * tests/silent9.test: Likewise.
2023
2024 2010-11-19  Ian Lance Taylor  <iant@google.com>
2025
2026         Sync config-ml.in from GCC.
2027         * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
2028         compiler/flag environment variables.
2029
2030 2010-11-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
2031
2032         release-stats: account for more generated tests.
2033         * Makefile.am (release-stats): Be sure to take into account all
2034         the generated tests, by grepping the test scripts to decide which
2035         ones of them are automatically generated.
2036
2037 2010-11-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
2038
2039         Code cleanup after removal of option `--output-directory'.
2040         * automake.in ($output_directory): Remove, it's unconditionally
2041         defined to `.' and used only ...
2042         (generate_makefile): ... in this subroutine, which now has been
2043         edited and simplified accordingly.
2044
2045         Remove obsolete automake option `--output-directory'.
2046         This option has been deprecated since version 1.7 (2002/2003).
2047         * automake.in ($output_directory): Define to `.' unconditionally.
2048         (parse_arguments): Remove handling of equivalent options `-o' and
2049         `--output-directory'.
2050         * tests/outdir.test: Removed.
2051         * tests/no-outdir-option.test: New test.
2052         * tests/Makefile.am (TESTS): Updated.
2053         * NEWS: Updated.
2054
2055 2010-11-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
2056
2057         Automake::Config: remove extra trailing semicolon.
2058         * lib/Automake/Config.in: Remove extra trailing semicolon.
2059
2060         help4.test: fix botched heading comment.
2061         * tests/help4.test: Fixed the heading comment, since it
2062         didn't correctly describe what checks the testcase was
2063         supposed to perform.
2064
2065         help2.test: add checks on aclocal too.
2066         * tests/help2.test: Check that also `aclocal --version' and
2067         `aclocal --help' work with configure.in and acinclude.m4 both
2068         broken.
2069
2070 2010-11-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
2071
2072         New test on repeated automake options.
2073         * tests/repeated-options.test: New test, check that automake
2074         does not complain on repeated options, nor generate broken or
2075         incorrect makefiles.
2076         * tests/Makefile.am (TESTS): Updated.
2077
2078 2010-11-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
2079
2080         Fix spurious failures of silent-rules tests with Sun Fortran.
2081         * tests/silentf77.test: Strip from the make output some verbose
2082         messages possibly printed by the SunStudio fortran compilers, to
2083         avoid spurious failures.  Add a trailing `:' command.
2084         * tests/silentf90.test: Likewise.
2085
2086 2010-11-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
2087
2088         Fix spurious failures of silent5.test with Sun Fortran.
2089         * tests/silent5.test: Strip from the make output some verbose
2090         messages possibly printed by the SunStudio fortran compilers,
2091         to avoid spurious failures.  This bug has been there from the
2092         very first version of this test script.
2093
2094 2010-11-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
2095
2096         Fix regression in colon{5,6}.test (failures on AIX 5.3).
2097         * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
2098         post-processing the generated Makefile.in, to work around a bug
2099         of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
2100         on the commend line.  Calls to `$MAKE' adjusted accordingly.
2101         * tests/colon6.test: Likewise.
2102         Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
2103         improve and/or extend tests `colon*.test", and reported by Ralf
2104         Wildenhues.
2105
2106 2010-11-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
2107
2108         Fix regression in ansi.test (failure on AIX 5.3).
2109         * tests/ansi.test: Remove redundant hackish check done using a
2110         hand-postprocessed Makefile.in.  This check worked by setting
2111         the `$(SHELL)' macro on the command line of make, but this is
2112         not supported by the AIX 5.3 make implementation.
2113         This bug has been lurking for a long time, and was activated by
2114         commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
2115         tests".  Report by Ralf Wildenhues.
2116
2117 2010-11-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2118
2119         backcompat5.test: avoid '##'-style comments inside recipe commands.
2120         * tests/backcompat5.test: Remove double-hash comments
2121         from makefile rule commands, they are not part of the
2122         Automake API.  Fixes testsuite failure with Tru64 make.
2123
2124         tests: avoid '##'-style comments inside recipe commands.
2125         * tests/confh.test, tests/confh8.test: Remove
2126         double-hash comments from makefile rule commands, they
2127         are not part of the Automake API.
2128
2129 2010-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2130
2131         tests: work around dash quoting issue in case statements.
2132         * tests/color.test, tests/color2.test: Quote variable in case
2133         pattern, to avoid skipping tests with dash 0.5.5.1.
2134
2135 2010-11-16  Peter Rosin  <peda@lysator.liu.se>
2136
2137         Skip MSVC oriented tests if the shell is not capable.
2138         * tests/defs: New required entry 'xsi-shell'.
2139         * tests/ar-lib.test, tests/compile3.test, tests/compile6.test:
2140         Require a XSI capable shell.
2141         Reported by Ralf Wildenhues.
2142
2143 2010-11-15  Peter Rosin  <peda@lysator.liu.se>
2144
2145         compile: clear the `eat' variable earlier.
2146         * lib/compile: Clear the `eat' variable earlier.
2147         ($scriptversion): Update.
2148         * tests/compile3.test: Prevent regressions.
2149
2150 2010-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2151
2152         More stable configure output from sanity check.
2153         * m4/sanity.m4 (AM_SANITY_CHECK): Always print check line
2154         about ensuring newer files, even if we don't actually need
2155         to wait any more.
2156
2157 2010-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2158
2159         Rebuild menus in the manual.
2160         * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
2161         Thanks to Ian Lance Taylor for the suggestion.
2162
2163         Fix install-strip when $(STRIP) contains several words.
2164         * lib/am/install.am (install-strip): Update comment.  Use
2165         separate sub-make invocations for empty and nonempty $(STRIP),
2166         to fix quoting issues.
2167         * tests/strip2.test, tests/strip3.test: New tests.
2168         * tests/Makefile.am (TESTS): Adjust.
2169
2170 2010-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2171
2172         Fix yaccdry.test failure: require bison.
2173         * tests/yaccdry.test: Require bison.
2174         Found by NixOS Hydra.
2175
2176 2010-11-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
2177
2178         Fix bug in test `backcompat6.test' (MSYS portability).
2179         * tests/backcompat6.test (Makefile.am): Grep the output from the
2180         test program, rather than diffing it, to avoid spurious failures
2181         on MinGW/MSYS due to LF vs. CRLF line endings.
2182         Reported by Ralf Wildenhues.
2183
2184 2010-11-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
2185
2186         Deprecate obsolete macro AM_WITH_REGEX.
2187         * m4/regex.m4: Document the `AM_WITH_REGEX' macro as obsolete,
2188         and state that it should be removed two years from now.
2189         (AM_WITH_REGEX): Raise an m4-time warning of the "obsolete"
2190         category when this macro is used.
2191         * doc/automake.texi (Public Macros): Move description of
2192         `AM_WITH_REGEX' from here ...
2193         (Obsolete Macros): ... to here, and declare it as obsolete
2194         and "to be removed in a future version".
2195         * tests/regex-obsolete.test: New test.
2196         * tests/Makefile.am (TESTS): Update.
2197
2198 2010-11-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
2199
2200         Improve and extend tests on man pages support.
2201         * tests/man.test: Enable `errexit' shell flag, and related changes.
2202         Make grepping of generated Makefile.in slightly stricter.
2203         * tests/man3.test:  Add trailing `:' command.
2204         * tests/man5.test: Prefer cat + here-doc over echo to append to
2205         configure.in.
2206         * tests/man2.test: Likewise, and add trailing `:' command.
2207         * tests/man4.test: More thorough and consistent checking of make
2208         error messages.  Place fake `help2man' program in a new `bin'
2209         directory rather than in `.'.  Move the checks using the real
2210         `help2man' program to ...
2211         * tests/man6.test: ... this new test, and extend them.  This test
2212         passes with GNU make and Solaris make, still fails with BSD make.
2213         * tests/man7.test: New test, extracted from old man4.test, which
2214         checks for a bug in maintainer-clean w.r.t. generated manpages.
2215         * tests/man8.test: New test, extracted from old man4.test, which
2216         checks for a bug in distcheck w.r.t. generated manpages.  Passes
2217         with GNU make and Solaris make, still fails with BSD make.
2218
2219 2010-11-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
2220
2221         Minor improvements and extensions to various tests.
2222         * tests/defun.test: Also run autoconf and grep the generated
2223         configure to make sure that aclocal truly picks up all the
2224         required macros.
2225         * tests/compile_f_c_cxx.test: Prefer trailing `:' over trailing
2226         `Exit 0'.  Do not create useless dummy source files.  Do not set
2227         useless `$(foo_LDADD)' variable in `Makefile.am'.  Do not call
2228         useless macro `AC_F77_LIBRARY_LDFLAGS' in `configure.in'.
2229         * tests/compile_f90_c_cxx.test: Likewise.
2230         * tests/suffix10.test: Slightly stricter grepping of make output.
2231         * tests/compile.test: Add trailing `:' command.
2232         * tests/defun2.test: Likewise.
2233         * tests/vars3.test: Likewise.
2234         * tests/vartar.test: Likewise.
2235         * tests/vars.test: Likewise.  Also, extend test by checking
2236         that the definition of `MY_FLAGS*' variables is preserved in
2237         the generated `Makefile.in'.
2238         * tests/stamph2.test: Prefer trailing `:' over trailing `Exit 0'.
2239         Use proper m4 quoting in `configure.in'.
2240
2241 2010-11-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
2242
2243         Tests defs: improve messages for skipped tests.
2244         * tests/defs: Give meaningful messages about the reasons of a
2245         test skip; this is especially useful as this file is run without
2246         verbose xtraces on.  Related reorderings in the code and new
2247         comments.
2248
2249 2010-11-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
2250
2251         Tests defs: move static definitions in a new file `defs-static'.
2252         The new file is meant to be idempotent w.r.t. multiple inclusions.
2253         * tests/defs.in: Removed, its contents split among ...
2254         * tests/defs-static.in: ... this new file ...
2255         * tests/defs: ... and this new file, including the former.
2256         * configure.ac (AC_CONFIG_FILES): Remove `tests/defs', add
2257         `tests/defs-static'.
2258         (AC_CONFIG_LINKS): Add `tests/defs'.
2259         * tests/Makefile.am ($(parallel_tests)): Update.
2260         ($(instspc_tests)): Likewise.
2261         * tests/.gitignore: Update.
2262
2263         Tests defs: $testsbuilddir is now AC_SUBST'ed.
2264         * tests/defs.in ($testsbuilddir): Substitute from @abs_builddir@.
2265         Add sanity check on $testsbuilddir, similar to those on
2266         $testsrcdir and $top_testsrcdir.
2267
2268         Tests defs: do not print message "Running test $0" anymore.
2269         * tests/defs.in: Printing the message "=== Running test $0" at
2270         the beginning of each tests made sense when Automake used the old
2271         test-driver, which sent all the output directly to stdout/stderr.
2272         Now that the parallel test-driver is used, which saves output of
2273         each test in its corresponding log file, that old message is just
2274         useless noise.
2275
2276         Tests defs: rename $curdir -> $testbuilddir
2277         * tests/defs.in: Rename $curdir to $testbuildir, for clarity and
2278         consistency with $testsrcdir and $top_testsrcdir.
2279
2280         Tests defs: prefer "$curdir" over "`pwd`".
2281         * tests/defs.in: We already save the value of `pwd` in $curdir
2282         early in the file, so there no need to recalculate it later, when
2283         the current working directory is not changed.
2284
2285         Tests defs: use `$me' in more error messages.
2286         * tests/defs.in: Also use `$me' in error messages referring to
2287         missing `defs' or `defs.in', since that variable is now defined
2288         before those checks.
2289
2290         Tests defs: do not use `Exit' where plain `exit' suffices.
2291         * tests/defs.in: Use "exit 77" rather than "Exit 77" to skip the
2292         test when required libtool/gettext macros are not found, since
2293         such skips would take place before the exit trap is installed.
2294
2295         Tests defs: improve and extends comments.
2296         * tests/defs.in: Improve and extends some comments, especially in
2297         relation with the changes introduced by the previous reordering.
2298
2299         Tests defs: various reorderings.
2300         * tests/defs.in: Reordered various snippets of code in a
2301         clearer way.
2302
2303 2010-11-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
2304
2305         Fix bug in test `backcompat4.test' (stale autom4te cache).
2306         * tests/backcompat4.test: Remove stale autom4te cache directory
2307         before re-running aclocal and automake.  Also, since we are at
2308         it, be more verbose in displaying contents of generated files,
2309         to ease debuggability.
2310         Reported by Ralf Wildenhues.
2311
2312 2010-11-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
2313
2314         Fix a bug in variable concatenation with `+='.
2315         * lib/Automake/VarDef.pm (append): Since the content of the
2316         "appended-to" variable is going to be unconditionally normalized
2317         later, simply separate the appended value with a single whitespace
2318         character, instead of trying to be uselessly smarter by using
2319         escaped newlines.  This fixes a bug in which extra backslashes
2320         where erroneously inserted in the variable's final value.
2321         * tests/pluseq11.test: New test, exposing the bug.
2322         * tests/Makefile.am (TESTS): Update.
2323         Reported by Andy Wingo.
2324
2325 2010-11-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
2326
2327         Modernize, improve and/or tweak various test scripts.
2328         * tests/stamph2.test: Improve m4 quoting in `configure.in', and
2329         prefer trailing `:' over trailing `Exit 0'.
2330         * tests/syntax.test: Escape literal dots in grep regexps.
2331         * tests/copy.test: Enable `errexit' shell flag.  Extend test by
2332         checking with `test' utility that the script `install-sh' is
2333         copied, but not symlinked.
2334         * tests/depdist.test: Move setting of `errexit' shell flag earlier
2335         in the script (just after inclusion of ./defs).  Avoid obsoleted
2336         constructs in generated `configure.in'.  Prefer to do our checks
2337         by running configure and make over grepping Makefile.in.
2338         * tests/target-cflags: Move setting of `errexit' shell flag
2339         earlier in the script (just after inclusion of ./defs). Use the
2340         `configure.in' stub created by `./defs', rather than writing it
2341         from scratch.
2342         * tests/target-clash: Do not uselessly run autoconf.
2343         * tests/ctarget1.test: Renamed ...
2344         * tests/cond-basic.test: ... to this.  Use the `configure.in' stub
2345         created by `./defs', rather than writing it from scratch.
2346         Move setting of `errexit' shell flag earlier in the script (just
2347         after inclusion of ./defs).  Other minor cosmetic changes.
2348         * tests/Makefile.am (TESTS): Updated.
2349
2350 2010-11-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
2351
2352         New tests on obsoleted usages of automake/autoconf macros (such
2353         as AC_INIT, AM_INIT_AUTOMAKE and AC_OUTPUT).
2354         * tests/backcompat.test: New test script.
2355         * tests/backcompat2.test: Likewise.
2356         * tests/backcompat3.test: Likewise.
2357         * tests/backcompat4.test: Likewise.
2358         * tests/backcompat5.test: Likewise.
2359         * tests/backcompat6.test: Likewise.
2360         * tests/init.test: Extended and improved, esp. by trying more
2361         combinations of calls to AC_INIT and AM_INIT_AUTOMAKE with few
2362         arguments.
2363         * tests/Makefile.am (TESTS): Updated.
2364
2365 2010-11-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
2366
2367         Fix bug in rules for creating vala vapi/header files.
2368         * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
2369         if control structure in a generated make rules.  Bug introduced
2370         by previous commit `v1.11-221-gd7c1679', and revealed by failure
2371         of test `vala2.test'.
2372
2373 2010-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2374
2375         Fix and document rules to not touch the tree with `make -n'.
2376         * doc/automake.texi (Multiple Outputs): Document the problem of
2377         modifications during dry-run execution, propose solution.
2378         * NEWS: Update.
2379         * automake.in (lang_vala_finish_target): Split recipe so the
2380         stamp file is not removed with GNU `make -n'.
2381         (lang_yacc_target_hook): Separate removal of parser output file
2382         and header remaking.
2383         * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
2384         passed to make, take care not to remove any files in that case.
2385         * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
2386         %STAMP% file from induced remaking of config header.
2387         * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
2388         New tests.
2389         * tests/Makefile.am (TESTS): Update.
2390
2391 2010-11-05  Stefano Lattarini  <stefano.lattarini@gmail.com>
2392
2393         Fix potential bug in generated tests `instpc-*.test'.
2394         This bug is due to the changes introduced by the recently-merged
2395         "tests-init" branch.  In that branch, `tests/defs' didn't define
2396         anymore `$srcdir', instead defining directly `$testsrcdir'; but
2397         the generated tests were using `$srcdir', hence the bug.
2398         Luckily, since the Automake parallel test driver automatically
2399         exports `srcdir' to a proper value, that prevented the bug from
2400         manifesting itself.
2401         * tests/Makefile.am ($(instspc_tests)): In the generated test
2402         scripts, use `$testsrcdir', not `$srcdir'.
2403
2404 2010-11-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
2405
2406         Overhauled and modularized tests in `instspc.test'.
2407         The test `instspc.test' was way too big and fragile.  Its running
2408         time was very long.  It also produced a log that was nearly
2409         unreadable due to its length, making it very difficult to find
2410         out the reason for failures.
2411         Also, it was too much monolithic, with a single (maybe spurious)
2412         failure in a corner case causing the whole test to fail (even if
2413         everything worked as expected in the other 99% of cases).
2414         The present change should solve these problems, by separating
2415         `instspc.test' into many smaller, self-contained, auto-generated
2416         tests.
2417         * tests/instspc.test: Removed.
2418         * tests/instspc-tests.sh: New script, fulfilling a double role:
2419         1. it generates a Makefile.am snippet `tests/instspc-tests.am',
2420         containing the definition of a list of new tests which will take
2421         over the older `instspc.test', and
2422         2. it is sourced by said generated tests with proper parameters
2423         pre-set, to run the "meat" of the checks.
2424         This apparent abuse is indeed required because the test generation
2425         code and test execution code are inevitably intertwined.
2426         * tests/Makefile.am ($(srcdir)/instspc-tests.am): Include this
2427         snippet, which (among the other things) defines ...
2428         (instspc_tests): ... this new macro, containing the list of the
2429         newly generated `instspc*.test' tests, and ...
2430         (instspc_xfail_tests): ... this new macro, containing the list
2431         of the `instspc*.test' tests expected to fail.
2432         ($(instspc_tests)): New rule, generates the `instspc*.test' tests.
2433         ($(instspc_tests:.test=.log)): New rule, registers the dependency
2434         of all `instspc*.test' tests on the `instspc-tests.sh' script.
2435         (TESTS): Add `$(instspc_tests)', remove `instspc.test'.
2436         (XFAIL_TESTS): Add `$(xfail_instspc_tests)'.
2437         (EXTRA_DIST): Distribute instspc-tests.sh.
2438         (MAINTAINERCLEANFILES): Added $(instspc_tests).
2439         Other minor cosmetic changes.
2440         * bootstrap: Generate instspc-tests.am.
2441         * tests/.gitignore: Updated.
2442
2443 2010-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2444
2445         Add FAQ entry for bug reporting instructions.
2446         * doc/automake.texi (Reporting Bugs): New section.
2447         (Introduction): Refer to it.
2448
2449 2010-10-07  Peter Rosin  <peda@lysator.liu.se>
2450
2451         depcomp: add new one-pass depmode for MSVC 7 and later.
2452         * lib/depcomp: Add new depmodes 'msvc7' and 'msvc7msys' which
2453         make use of the -showIncludes option added in MSVC 7.
2454         * m4/depend.m4 (_AM_DEPENDENCIES): Handle the new depmodes
2455         similarly to 'msvisualcpp' and 'msvcmsys' as MSVC does not
2456         support the -o option.
2457
2458 2010-10-05  Jim Meyering  <meyering@redhat.com>
2459
2460         dist-xz, dist-bzip2: don't hard-code -9: honor envvar settings
2461         * lib/am/distdir.am (dist-xz): Do not hard-code xz's -9: that
2462         made it impossible to override.  Instead, use its XZ_OPT envvar,
2463         defaulting to -9 if not defined.  Thus no change in behavior
2464         when XZ_OPT is not set, and now, this rule honors the setting
2465         of that envvar when it is set.  Suggested by Lasse Collin.
2466         (dist-bzip2): Likewise for it's corresponding envvar: BZIP2.
2467         * NEWS (Miscellaneous changes): Mention it.
2468         * doc/automake.texi (The Types of Distributions): Describe the
2469         newly enabled environment variables.
2470
2471 2010-10-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
2472
2473         Add support for newer python versions.
2474         * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
2475         _AM_PYTHON_INTERPRETER_LIST.  Since we are at it, break a long
2476         line and fix indentation.
2477         * THANKS: Updated.
2478         From a report by Thomas Klausner.
2479
2480         Add test for `AM_WITH_DMALLOC' macro.
2481         * tests/dmalloc.test: New test.
2482         * tests/Makefile.am (TESTS): Update.
2483
2484         Fix nits and bugs in tests `help*.test'.
2485         * tests/help4.test: Fix broken sed commands used to strip `-W...'
2486         flags away from "$AUTOMAKE" and "$ACLOCAL".
2487         * tests/help3.test: Likewise, and fix a botched comment.
2488         * tests/help.test: Likewise.  Also, use "AUTOMAKE_fails ..."
2489         instead of "$AUTOMAKE ... && Exit 1", for consistency and to
2490         please maintainer-check.
2491         * tests/help2.test: Likewise.
2492
2493 2010-10-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
2494             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2495
2496         Improve tests `help*.test' (also fixes maintcheck failures).
2497         * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
2498         flags stripped away rather than hard-coded `automake-$APIVERSION',
2499         to better honour user-overrides.  Similarly for aclocal.
2500         * tests/help2.test: Likewise.
2501         * tests/help3.test: Likewise.
2502         * tests/help4.test: Likewise.
2503
2504 2010-10-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2505
2506         tests: fix ar-lib.test for echo that interprets backslashes.
2507         * tests/ar-lib.test: Use printf instead of echo.  Avoid test -a.
2508         More robust quoting.
2509
2510 2010-10-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2511
2512         maintainer-check coverage for variables before rules.
2513         * Makefile.am (sc_ensure_testsuite_has_run): Suggest keeping
2514         around the test directories.
2515         (sc_tests_makefile_variable_order): New rule with a heuristic to
2516         catch ordering violations.
2517
2518         Document and fix expansion of variables before rules.
2519         * doc/automake.texi (General Operation): Document that variables
2520         are expanded before rules.
2521         * lib/am/check.am (am__check_post): Reword a bit so it does not
2522         get matched as a rule.
2523         Suggestion by Ben Pfaff.
2524
2525 2010-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2526
2527         Coverage and minor fixes for variable typo detection.
2528         * automake.in (check_typos): Remove `EXTRA_' prefix when
2529         computing canonical name.
2530         * tests/vartypo2.test, tests/vartypos.test: New tests.
2531         * tests/Makefile.am (TESTS): Update.
2532
2533         Implement EXTRA_maude_DEPENDENCIES for programs and libraries.
2534         * automake.in (handle_programs, handle_libraries)
2535         (handle_ltlibraries): Mark EXTRA_*_DEPENDENCIES as recognized.
2536         * doc/automake.texi (Linking, Program and Library Variables)
2537         (LIBOBJS): Document EXTRA_*_DEPENDENCIES.
2538         * lib/am/library.am (%LIBRARY%): Also depend on
2539         $(EXTRA_%XLIBRARY%_DEPENDENCIES).
2540         * lib/am/ltlibrary.am (%LTLIBRARY%): Also depend on
2541         (%XLTLIBRARY%_DEPENDENCIES).
2542         * lib/am/program.am (%PROGRAM%%EXEEXT%): Also depend on
2543         $(EXTRA_%XPROGRAM%_DEPENDENCIES).
2544         * tests/extradep.test, tests/extradep2.test: New tests.
2545         * tests/Makefile.am (TESTS): Update.
2546         * NEWS: Update.
2547         Suggested by Eric Blake.
2548
2549         tests: avoid running into timing issues due to sanity change.
2550         * tests/acloca10.test, tests/acloca18.test, tests/aclocal9.test:
2551         Insert strategic sleep before aclocal reruns, to ensure files
2552         are newer.
2553         * tests/python11.test: Use --force for repeated autotools runs.
2554         Reports from the NixOS Hydra build daemon via Ludovic Courtès.
2555
2556         Fix timestamp issues by ensuring configure takes at least a second.
2557         * m4/sanity.m4 (AM_SANITY_CHECK): If we didn't sleep here,
2558         start a sleep in the background and wait for it to finish
2559         before creating config.status, hopefully fixing all spurious
2560         testsuite failures involving botched time stamps.
2561         * NEWS: Update.
2562         Reports by Ludovic Courtès, Peter Breitenlohner, and others.
2563
2564 2010-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2565
2566         Revert "parallel-tests: avoid command-line length limit issue."
2567         This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
2568         because it re-opened the bug fixed by v1.11-10-g218e678.
2569
2570         2010-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2571
2572         parallel-tests: avoid command-line length limit issue.
2573         * automake.in (handle_tests): New argument $makefile, new
2574         substitution %MAKEFILE%.
2575         (generate_makefile): Adjust.
2576         * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
2577         sanitized TEST_LOGS value as makefile snippet on standard
2578         input to $(MAKE), to avoid exceeding the command line limit on
2579         w32 (MSYS).
2580         * NEWS: Update.
2581         Report by Bob Friesenhahn.
2582
2583 2010-09-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
2584
2585         Extend tests on `--help' and `--version' options.
2586         * tests/help.test: Create a new empty directory and chdir into
2587         it, rather than removing already present files.  Run the aclocal
2588         and automake wrapper scripts directly, instead of relying on
2589         $AUTOMAKE and $ACLOCAL.  Be sure to correctly match literal dots
2590         in aclocal's and automake's stderr.  Add a trailing `:' command.
2591         * tests/help2.test: New test, checking that options `--help' and
2592         `--version' works in directories with broken `configure.in'.
2593         * tests/help3.test: New test, checking that options `--help' and
2594         `--version' take precedence on the other options.
2595         * tests/help4.test: New test, checking that the first among the
2596         `--help' and `--version' options to be specified on the command
2597         line wins.
2598         * tests/Makefile.am (TESTS): Updated.
2599
2600 2010-09-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
2601
2602         Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
2603         * tests/compile2.test: Do no uselessly (implicitly) repeat the
2604         computation of PATH_SEPARATOR again.
2605         * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
2606         extending/redefining PATH.
2607         * tests/instmany-python.test: Likewise.
2608         * tests/instmany.test: Likewise.
2609         * tests/man4.test: Likewise.
2610         * tests/mkinst3.test: Likewise.
2611         * tests/mmodely.test: Likewise.
2612         * tests/multlib.test: Likewise.
2613         * tests/txinfo30.test: Likewise.
2614         * tests/README (Section "Writing test cases" subsection "Do"):
2615         Updated.
2616         * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
2617         (syntax_check_rules): Updated.
2618
2619         Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
2620         * tests/defs.in ($APIVERSION):  New AC_SUBST'd variable.
2621         ($ACLOCAL, $AUTOMAKE): Use it.
2622         ($PATH_SEPARATOR):  New AC_SUBST'd variables.
2623         ($PATH): Use it.
2624
2625 2010-09-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
2626
2627         Manual: be more agnostic w.r.t. version control system used.
2628         * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
2629         directories as a type of probably-unwanted files that are copied
2630         regardless when adding directories to EXTRA_DIST.
2631         (The dist Hook): Show a dist-hook example which removes Subversion
2632         `.svn' private directories from distdir, rather than CVS private
2633         directories.
2634         (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
2635         the version control system used.
2636
2637         Manual: index refer to target "git-dist", not "cvs-dist".
2638         * doc/automake.texi (General Operation): Index the non-standard
2639         example about "git-dist" under the "git-dist" label, not under
2640         the "cvs-dist" one.
2641
2642         Perl modules: remove references to "Automake CVS repository".
2643         * lib/Automake/Channels.pm: Update comments to refer to "Automke's
2644         git repository" rather than to "Automake's CVS repository".
2645         * lib/Automake/Configure_ac.pm: Likewise.
2646         * lib/Automake/FileUtils.pm: Likewise.
2647         * lib/Automake/Struct.pm: Likewise.
2648         * lib/Automake/XFile.pm: Likewise.
2649         * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
2650         branches" rather than "CVS branches".
2651
2652         Remove obsolete .cvsignore files.
2653         * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
2654         lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
2655         m4/.cvsignore, tests/.cvsignore: Files deleted.  Even when using
2656         savannah's CVS readonly mirror there's no way to commit back to
2657         the real repository, so this files are not worth maintaining or
2658         keeping around.
2659
2660 2010-09-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
2661
2662         * m4/dmalloc.m4: Bump serial number and copyright years.
2663
2664 2010-09-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
2665
2666         Fix broken link in `AM_WITH_DMALLOC' help screen.
2667         * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
2668         `http://www.dmalloc.com', not to the dmalloc tarball there (which
2669         seems to have been removed, substituted by multiple release
2670         tarballs now).
2671
2672 2010-09-21  Peter Rosin  <peda@lysator.liu.se>
2673
2674         compile: implement library search to support MSVC static linking
2675         * lib/compile (func_cl_wrapper): Implement library search and
2676         -static option so that the user can select whether to prefer
2677         dll import libraries or static libraries.  This enables MSVC to
2678         link against dlls generated by libtool without requiring libtool
2679         or workarounds such as -lfoo.dll etc.  Makes the tests/static.at
2680         test case in libtool pass.
2681         * tests/compile3.test: Don't trip up if there happens to exist
2682         a "foo" library in the library search path.
2683         * tests/compile6.test: New test, verifying the library search.
2684         * tests/Makefile.am (TESTS): Update.
2685
2686 2010-09-17  Eric Blake  <eblake@redhat.com>
2687
2688         Avoid triple-space after period.
2689         * automake.in (handle_single_transform): Avoid 3 spaces at
2690         sentence end.
2691         * ChangeLog.03: Likewise.
2692         * lib/Automake/ChannelDefs.pm: Likewise.
2693         * lib/Automake/Channels.pm (_print_message): Likewise.
2694         * lib/Automake/Rule.pm (rule): Likewise.
2695         * lib/Automake/Variable.pm (var): Likewise.
2696         * lib/am/distdir.am: Likewise.
2697         * tests/insthook.test: Likewise.
2698
2699 2010-09-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
2700
2701         Test automake-generated portions of configure help screen.
2702         * tests/help-depend.test: New test.
2703         * tests/help-depend2.test: Likewise.
2704         * tests/help-dmalloc.test: Likewise.
2705         * tests/help-init.test: Likewise.
2706         * tests/help-lispdir.test: Likewise.
2707         * tests/help-maintainer.test: Likewise.
2708         * tests/help-multilib.test: Likewise.
2709         * tests/help-regex.test: Likewise.
2710         * tests/help-silent.test: Likewise.
2711         * tests/help-upc.test: Likewise.
2712         * tests/mmode.test: Remove tests on `configure --help' output,
2713         they are superseded by tests in `help-maintainer.test'.
2714         * tests/Makefile.am (TESTS): Update.
2715
2716 2010-09-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
2717
2718         * tests/README: Don't put GCS mandated tools in $required.
2719
2720 2010-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2721
2722         * HACKING: Hint at old commits with `git describe' output.
2723
2724 2010-09-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
2725
2726         Prefer `$(am__cd)' to plain `cd' in our Makefiles.
2727         * Makefile.am (recheck, dist-hook, git-dist, path-check, fetch)
2728         (release-stats): Use `$(am__cd)' rather than plain `cd'.
2729         * tests/Makefile.am ($(srcdir)/parallel-tests.am): Likewise.
2730
2731 2010-09-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
2732
2733         Fix regression in test `colon4.test'.
2734         * tests/colon4.test: Fix botched editing to `configure.in'
2735         that made the test useless.  Since we are at it, improve
2736         comments and make grepping of generated Makefile.in slightly
2737         stricter.
2738         Regression introduced by change "Modernize, improve and/or
2739         extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
2740
2741 2010-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
2742
2743         Do not require "gzip" explicitly in tests.
2744         The gzip utility is simply expected to be present on any decent
2745         target system for Automake.  So it's pointless to put it in
2746         $required.
2747         * tests/install2.test ($required): Do not require "gzip".
2748         * tests/lex3.test: Likewise.
2749         * tests/pr9.test: Likewise.
2750         From a suggestion by Ralf Wildenhues.
2751
2752 2010-09-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
2753
2754         Use AS_HELP_STRING in AM_SILENT_RULES.
2755         * m4/silent.m4 (AM_SILENT_RULES): Use `AS_HELP_STRING' to format
2756         help message regarding configure options `--enable-silent-rules'
2757         and `--disable-silent-rules'.  Also throw in a couple of cosmetic
2758         changes in the related `case' statement (indentation, balancing
2759         of parentheses).
2760         * THANKS: Update.
2761         From a report by Jeff A. Daily.
2762
2763 2010-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
2764
2765         Make some `confh*.test' tests more "semantic" (plus tweakings).
2766         * tests/confh.test: Run "autoconf", "configure" and "make check",
2767         instead of munging/grepping the generated `Makefile.in'.
2768         * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
2769         white spaces.  Do not create useless dummy source file `foo.c'
2770         and useless dummy header file `acconfig.h'.
2771         (configure.in): Remove superfluous call to `AC_OUTPUT'.
2772         * tests/confh6.test: Add trailing `:' command.
2773         * tests/confh7.test: In comments, add reference to ...
2774         * tests/confh8.test: ... this new test, "semantic" sister
2775         of `confh7.test'.
2776         * tests/Makefile.am (TESTS): Updated.
2777         Prompted by a report from Ralf Wildenhues.
2778
2779 2010-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
2780
2781         Remove useless whitespace padding in XFAIL_TESTS definition.
2782         * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
2783
2784 2010-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2785
2786         parallel-tests: avoid command-line length limit issue.
2787         * automake.in (handle_tests): New argument $makefile, new
2788         substitution %MAKEFILE%.
2789         (generate_makefile): Adjust.
2790         * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
2791         sanitized TEST_LOGS value as makefile snippet on standard
2792         input to $(MAKE), to avoid exceeding the command line limit on
2793         w32 (MSYS).
2794         * NEWS: Update.
2795         Report by Bob Friesenhahn.
2796
2797         Posix 2008 requires make to set errexit.
2798         * lib/am/check.am: Update comment.
2799
2800 2010-09-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
2801
2802         Tests defs: remove variable $testaclocaldir.
2803         * tests/defs.in ($testaclocaldir): Removed.
2804         * tests/aclocal.test: Use `$top_testsrcdir/m4' directly, not
2805         `$testaclocaldir'.
2806
2807         Tests defs: $srcdir and $top_srcdir renaming.
2808         * tests/defs.in ($srcdir): Remove, define $testsrcdir directly.
2809         * tests/Makefile.am ($(parallel_tests)): Generation of derived
2810         tests updated.
2811
2812         Tests defs: new variable $top_testsrcdir.
2813         * tests/defs.in ($top_testsrcdir): Define unconditionally
2814         to @abs_top_srcdir@.  Use it throughout.
2815         * tests/ar-lib.test: Use `$top_testsrcdir' instead of
2816         `$testsrcdir/..'.
2817         * tests/auxdir.test: Likewise.
2818         * tests/compile.test: Likewise.
2819         * tests/compile2.test: Likewise.
2820         * tests/compile3.test: Likewise.
2821         * tests/compile5.test: Likewise.
2822         * tests/mdate6.test: Likewise.
2823         * tests/mkinst3.test: Likewise.
2824         * tests/multlib.test: Likewise.
2825         * tests/txinfo22.test: Likewise.
2826
2827         Tests defs: $srcdir is unconditionally substituted.
2828         * tests/defs.in ($srcdir): Define unconditionally to @abs_srcdir@.
2829         Remove code for $srcdir normalization, which is now useless.
2830
2831 2010-09-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
2832
2833         Tests defs: make spacing more consistent.
2834         * tests/defs.in: Make spacing more consistent in indentation.
2835         Especially, indent using only spaces, not tabs.  Also, move
2836         a comment to a better position.
2837
2838         Improve code for requiring libtool and gettext in tests.
2839         * tests/defs.in: Stricter (and more correct) detection of wheter
2840         libtool, libtoolize and/or gettext are in $required.
2841
2842
2843 2010-08-27  Stefano Lattarini  <stefano.lattarini@gmail.com>
2844
2845         Fix bug in test missing6.test.
2846         * tests/missing6.test: Fix the hack used to edit `configure.in',
2847         to avoid producing a configure script that breaks with shells
2848         that do not support $LINENO.  Also throw in a couple of cosmetic
2849         changes.
2850
2851 2010-09-02  Peter Rosin  <peda@lysator.liu.se>
2852
2853         Make ar-lib support backslashed files in archives.
2854         * lib/ar-lib: If an archive member contains a backslash, make sure
2855         it is escaped when the archive member is extracted.
2856         * tests/ar-lib.test: Test the above.
2857
2858 2010-08-31  Peter Rosin  <peda@lysator.liu.se>
2859
2860         Do file name conversion for object files in the compile wrapper.
2861         * lib/compile (func_cl_wrapper): Do file name conversion for object
2862         files (i.e. extensions .obj, .OBJ, .o and .O) if needed.
2863         * tests/compile4.test: Test the above.
2864
2865 2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2866
2867         Speed up removal of auxiliary linker output files for ltlibraries.
2868         * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Rewrite using just
2869         one `rm' invocation.
2870         Report by Bob Friesenhahn.
2871
2872         Improve robustness of mdate-sh script.
2873         * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
2874         $ls_command is word-split properly upon invocation.
2875         (error): New function.
2876         (main): Use it.  Improve error checking to avoid endless loop
2877         in case $ls_command gave bogus output.  Fix eval quotation.
2878         * tests/mdate6.test: New test, to expose eval quotation error.
2879         * tests/Makefile.am: Update.
2880
2881 2010-08-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
2882
2883         Fix potential regressions in depcomp{3,5}.test.
2884         * tests/depcomp3.test: Do not uselessly escape the character `$'
2885         in makefile rules, when it's used to expand a make macro.
2886         * tests/depcomp5.test: Likewise.
2887
2888 2010-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
2889             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2890
2891         Docs: clarify how to avoid automatic dependencies tracking.
2892         * doc/automake.texi (Automatic dependency tracking): Mention that
2893         automatic dependencies tracking is enabled by default, but that
2894         the package developer can disable it altogether.  Add a reference
2895         to the proper section for a more in-depth explanation.
2896
2897         Fix typo in manual (`Makefile.in' instead of `Makefile.am').
2898         * doc/automake.texi (Automatic dependency tracking): Fix typo.
2899
2900 2010-08-16  Bruno Haible  <bruno@clisp.org>
2901
2902         Don't hide the table of contents.
2903         * doc/automake.texi: Move the table of contents to the beginning.
2904
2905 2010-08-16  Peter Rosin  <peda@lysator.liu.se>
2906
2907         Optimize compile script on MSYS.
2908         * lib/compile (func_file_conv): Add new argument 'lazy' which
2909         takes an optional list of conversion types where the requested
2910         conversion isn't needed.
2911         (func_cl_wrapper): Take advantage of the above for cases where
2912         MSYS is doing the conversion for us.
2913         Suggested by Ralf Wildenhues.
2914
2915 2010-08-16  Peter Rosin  <peda@lysator.liu.se>
2916
2917         Support more C++ file extensions for MSVC in the compile script.
2918         * lib/compile (func_cl_wrapper): MSVC only recognizes the .cpp
2919         file extension as C++, unless it's given a hint. So hint about
2920         .cc, .CC, .cxx, .CXX, c++ and C++. Also do path conversion on
2921         .c, .cpp, .CPP, .lib, .LIB and .Lib files.
2922         * tests/compile3.test: Test the C++ hinting.
2923
2924 2010-08-12  Peter Rosin  <peda@lysator.liu.se>
2925
2926         Enable the use of "link -lib" as the wrapped archiver.
2927         * lib/ar-lib: Enable the use of "link -lib" as the wrapped
2928         archiver, as well as allowing some other options to be passed
2929         through to the wrapped archiver.
2930         * tests/ar-lib.test: Test the above.
2931
2932 2010-08-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
2933
2934         Tweak and/or extend some `acloca*.test' tests.
2935         * tests/aclocal8.test:  Ensure verbose printing of captured
2936         output.
2937         * tests/aclocal.test: Likewise.  Also, add trailing `:'
2938         command.
2939         * tests/acloca19.test: Likewise.
2940         * tests/aclocal5.test: Add trailing `:' command, and prefer
2941         `$me' over hard-coded test name.
2942         * tests/aclocal6.test: Likewise.
2943         * tests/aclocal18.test: Add trailing `:' command, and make
2944         some grepping slightly stricter.
2945         * tests/acloca14.test: Likewise.  Also, prefer `diff' over
2946         `cmp', and add some "cosmetic" blank lines.
2947
2948 2010-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
2949
2950         Tweak and extend tests `pr[!0-9]*.test'.
2951         * tests/primary3.test: Add trailing `:' command.
2952         * tests/primary.test: Make grepping of Automake's stderr stricter.
2953         Also, add trailing `:' command, and cosmetic changes in spacing.
2954         * tests/primary2.test: Likewise.
2955         * tests/prefix.test: Enable `errexit' shell flags, and related
2956         changes.  Add a trailing `:' command.
2957         * tests/proginst.test: Likewise.
2958
2959         Modernize, improve and extend tests for PR (`pr[0-9]*.test').
2960         * tests/pr2.test: Add trailing `:' command.
2961         * tests/pr229.test: Likewise.
2962         * tests/pr401.test: Likewise.
2963         * tests/pr401b.test: Likewise.
2964         * tests/pr401c.test: Likewise.
2965         * tests/pr300-prog.test: Likewise, plus cosmetic changes in
2966         spacing.
2967         * tests/pr300-lib.test: Likewise.
2968         * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
2969         of captured make stdout.
2970         * tests/pr211.test: Add trailing `:' command.  Also, use the
2971         `configure.in' stub created by ./defs, rather than writing it
2972         from scratch.
2973         * tests/pr204.test: Likewise, plus cosmetic spacing changes.
2974         * tests/pr287.test: Likewise, and move setting of `errexit' shell
2975         flag earlier in the script (just after inclusion of ./defs).
2976         * tests/pr220.test: Make grepping of Automake's stderr stricter.
2977         Also, add trailing `:' command, and cosmetic changes in spacing.
2978         * tests/pr224.test: Move setting of `errexit' shell flag earlier
2979         in the script (just after inclusion of ./defs).  Do not export
2980         `CC=gcc' to configure explicitly (it's already exported globally
2981         in ./defs, since we have "gcc" in $required).  Use the stub for
2982         `configure.in' created by ./defs, rather than writing it from
2983         scratch.  Do not create dummy files required by "gnu" mode (e.g.
2984         README, NEWS), since we run automake in foreign mode anyway.
2985         * tests/pr72.test: Enable `errexit' shell flags, and related
2986         changes.  Extend existing checks a bit.
2987         * tests/pr9.test: Likewise.  Also, avoid obsolescent constructs in
2988         the generated `configure.in', and extend existing checks over the
2989         generated tarball a bit.
2990         * tests/pr87.test: Enable `errexit' shell flags, and related
2991         changes.  Add a trailing `:' command.  Also, do not create dummy
2992         files required by "gnu" mode (e.g. README, NEWS), since we run
2993         automake in foreign mode anyway.
2994         * tests/pr243.test: Avoid obsolescent constructs in the generated
2995         `configure.in'.  Enable the `errexit' shell flag, and related
2996         changes.  Cosmetic changes to spacing, add trailing `:' command,
2997         and add a "FIXME" comment.
2998         * tests/pr266.test: Likewise, and add explicit command line switch
2999         `--enable-dependecy-tracking' to the ./configure call.
3000         * tests/pr279.test: Avoid obsolescent constructs in the generated
3001         `configure.in'; also, use the `configure.in' stub created by
3002         ./defs, rather than writing it from scratch.  Enable `errexit'
3003         shell flag, and related changes.  Add trailing `:' command.
3004         * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
3005         stricter.
3006         * tests/pr307.test: Move setting of `errexit' shell flag earlier
3007         in the script (just after inclusion of ./defs).  Escape literal
3008         dots in grep regular expressions.  Also, add a trailing `:'
3009         command, and cosmetic changes to spacing.
3010
3011         Tests for PR: add excerpts from original bug report, for clarity.
3012         * tests/pr2.test: Ditto.
3013         * tests/pr9.test: Likewise.
3014         * tests/pr72.test: Likewise.
3015         * tests/pr87.test: Likewise.
3016         * tests/pr211.test: Likewise.
3017         * tests/pr220.test: Likewise.
3018         * tests/pr224.test: Likewise.
3019         * tests/pr229.test: Likewise.
3020         * tests/pr243.test: Likewise.
3021         * tests/pr266.test: Likewise.
3022         * tests/pr279.test: Likewise, and tell to keep it in sync
3023         with its sister test.
3024         * tests/pr279-2.test: Likewise.
3025
3026 2010-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
3027
3028         Tweak, extend and improve tests `cond[a-z]*.test'.
3029         * tests/condd.test: Add trailing `:' command.  Typofix in
3030         comment.
3031         * tests/condhook.test: Make sure target `install-data-hook' is
3032         not called by `make install', but that data files are installed.
3033         Use proper m4 quoting in configure.in. Add trailing `:' command.
3034         * tests/condhook2.test: New test, sister test of condhook, with
3035         inverted semantic.
3036         * tests/condinc2.test: Use proper m4 quoting in configure.in.
3037         Prefer trailing `:' command over trailing `Exit 0'.
3038         * tests/condman2.test: Enable errexit shell flag, and related
3039         changes.  Add trailing `:' command.
3040         * tests/condman.test: Likewise.  Also, do not create useless
3041         dummy manpages, and use proper m4 quoting in configure.in.
3042         * tests/condman3.test: New test, similar to condman.test, but
3043         it also runs ./configure and "make install", and check the
3044         installed files.
3045         * tests/Makefile.am (TESTS): Updated.
3046
3047         Modernize, improve and/or extend tests `colon*.test.
3048         * tests/colon.test: Rely on the `configure.in' stub created by
3049         `./defs', rather than writing one from scratch.  Do not create
3050         a useless dummy file.  Add trailing `:' command.
3051         * tests/colon4.test: Enable the `errexit' shell flag, and
3052         related changes.  Rely on the `configure.in' stub created by
3053         `./defs', rather than writing one from scratch.
3054         * tests/colon7.test: Enable `errexit' shell flag, and related
3055         changes.  Improve the generated `configure.in' file.  Add
3056         trailing `:' command.
3057         * tests/colon2.test: Likewise.  Also, add some new checks.
3058         * tests/colon5.test: Improve the generated `configure.in' file.
3059         Add new, much deeper checks.  Add trailing `:' command.
3060         * tests/colon6.test: Likewise.
3061         * tests/colon3.test: Add trailing `:' command.  Remove useless
3062         comments and echos.  Improve the generated `configure.in' file.
3063         make some grepping tests stricter.  Add a "FIXME" comments about
3064         planned improvements.
3065
3066         Improve and extend tests `asm*.test'.
3067         * tests/asm.test: Use configure.in stub generated by ./defs,
3068         and avoid obsoleted autoconf constructs.  Make grepping of
3069         Automake stderr stricter.  Do not create useless source file.
3070         Improve verbose messages.  Minor cosmetic changes.  Tell to
3071         keep it in sync with other sister tests asm*.test.
3072         * tests/asm2.test: Likewise.
3073         * tests/asm3.test: Likewise.
3074
3075         Modernize, improve and/or extend test scripts `conf*.test'.
3076         * tests/confh5.test: Cosmetic changes.
3077         * tests/conff.test: Likewise.
3078         * tests/confdeps.test: Likewise.
3079         * tests/conflnk.test: Likewise.
3080         * tests/conflnk2.test: Likewise.
3081         * tests/confsub.test: Likewise.
3082         * tests/confvar.test: Likewise, and make grepping of Makefile.in
3083         stricter.
3084         * tests/confvar2.test: Likewise.
3085         * tests/conflnk3.test: Cosmetic changes.  Re-enable a temporarily
3086         disabled test (which didn't work with autoconf <= 2.59, but now we
3087         are requiring autoconf 2.62, so...)
3088         * tests/conflnk4.test: Cosmetic changes, and extend existing tests
3089         accordingly to "TODO" comments.
3090         * tests/conff2.test: Make grepping of Automake's stderr stricter.
3091         Add some comments explaining why we don't use the `configure.in'
3092         stub preset be ./defs.
3093         * tests/confh.test: Use the `configure.in' stub created by ./defs,
3094         rather than writing one from scratch, and do not call AC_OUTPUT.
3095         Enable `errexit' shell flag, and related changes.  Prefer diff over
3096         cmp to compare text files. Prefer perl over sed to fetch the value
3097         of $(DIST_COMMON) from Makefile.in.  Make grepping of the contents
3098         of $(DIST_COMMON) stricter.
3099         * tests/confh4.test: Use the `configure.in' stub created by ./defs,
3100         rather than writing one from scratch.  Make grepping of Makefile.in
3101         stricter.
3102         * tests/confh5.test: Make grepping of `config.h' stricter.  Add a
3103         comment.
3104         * tests/configure.test: Avoid obsolescent constructs in generated
3105         `configure.ac'.  Do not write `configure.in' two times.  Escape
3106         literal dots in grep regular expressions.
3107         * tests/confincl.test:  Enable `errexit' shell flag, and related
3108         changes.  Prefer fgrep over grep.  Other cosmetic changes.
3109         * tests/config.test: Renamed to ...
3110         * tests/confh6.test: ... this.  Fix m4 quoting in `configure.in',
3111         and make grepping of `config.h' and `config.h.in' stricter.
3112         * tests/conf2.test: Renamed ...
3113         * tests/confh7.test: ... to this.  Use the `configure.in' stub
3114         created by ./defs, rather than writing one from scratch.  Try to
3115         run the checks both with and without AC_PROG_CC and AC_OUTPUT in
3116         `configure.in'.
3117         * tests/Makefile.am (TESTS): Updated.
3118
3119         Minor improvements and fixes in tests `depcomp*.test'.
3120         * tests/depcomp.test: Do not create useless dummy source files.
3121         Add a trailing `:' command.
3122         * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
3123         it's not in in the environment, rather than exporting it with an
3124         empty value.  Do not pass CC=gcc to configure, as that's already
3125         done in ./defs since we have gcc in $required.  Ensure verbose
3126         printing of captured stderr, and normalize its checking.  Add a
3127         trailing `:' command.
3128         * tests/depcomp3.test: Quote literal dots and dollar characters in
3129         grep regexps.  Always use `: >' rather than `touch' to create empty
3130         files.  Explicitly declare phony targets as such in the created
3131         Makefile.am.  Add a trailing `:' command.
3132         * tests/depcomp4.test: Quote literal dots and dollar characters in
3133         grep regexp.  Explicitly declare phony targets as such in the
3134         created Makefile.am.  Ensure verbose printing of captured makes'
3135         stoud/stderr.  Add a trailing `:' command.
3136         * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
3137         in the script (just after inclusion of ./defs).  Quote literal dots
3138         and dollar characters in grep regexps.  Explicitly declare phony
3139         targets as such in the created Makefile.am.  Add a trailing `:'
3140         command.
3141         * tests/depcomp6.test: Consistently use m4 quoting in the generated
3142         configure.in.  Cosmetic fixes to spacing.  Make the "dummy" `if'
3143         statement required by OpenBSD's sh `set -e' more robust, and add
3144         explanatory comments to it.
3145         * tests/depcomp7.test: Likewise, and add  a trailing `:' command.
3146
3147         Separate failing part of test `all.test'.
3148         * tests/all.test: Keep only (x)failing part of the test.  Working
3149         checks moved out to ...
3150         * tests/all2.test: ... this new test.
3151         * tests/Makefile.am (TESTS): Updated.
3152
3153         Modernize, improve and extend tests `subobj*.test'.
3154         * tests/subobjname.test:  Add trailing `:' command.
3155         * tests/subobj.test: Make grepping of `Makefile.in' stricter.
3156         Escape literal dots in grep regexps.
3157         * tests/subobj2.test:  Add trailing `:' command.  Do not use the
3158         unportable fgrep option `-e'.
3159         * tests/subobj3.test: Add trailing `:' command.
3160         (configure.in): Use proper m4 quoting, and avoid obsolescent
3161         constructs.
3162         * tests/subobj8.test: Likewise.  Also, enable `errexit' shell
3163         flag, with related changes
3164         * tests/subobj4.test: Likewise.  Also, make grepping of
3165         `Makefile.in' stricter.
3166         * tests/subobj5.test: Add trailing `:' command.  Move setting of
3167         `errexit' shell flag earlier in the script (just after inclusion
3168         of ./defs).
3169         (configure.in): Use the stub created by `./defs', rather than
3170         writing it from scratch, and avoid obsolescent constructs.
3171         * tests/subobj6.test: Add trailing `:' command.  Move setting of
3172         `errexit' shell flag earlier in the script (just after inclusion
3173         of ./defs).  Do not create useless dummy ac-init file `f'.
3174         * tests/subobj7.test: Do not create useless dummy ac-init file
3175         `f'.
3176         (configure.in): Use the stub created by `./defs', rather than
3177         writing it from scratch, and avoid obsolescent constructs.
3178         * tests/subobj9.test: Move setting of `errexit' shell flag earlier
3179         in the script (just after inclusion of ./defs).  Fail the test if
3180         `make distcheck' fails.  Ensure verbose printing of captured make
3181         stdout.  Avoid useless fork by doing simple grep instead of using
3182         test -n "`COMMAND | grep ...`".
3183         (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
3184         (Makefile.am): Explicitly mark target "print" as phony.
3185         * tests/subobj10.test: Removed duplicated call to `set -e'.  Add
3186         trailing `:' command.
3187         (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
3188
3189         Remove a couple of obsoleted tests.
3190         * tests/fpinstall.test: Removed.
3191         * tests/fpinst2.test: Likewise.
3192         * tests/Makefile.am (TESTS): Updated.
3193
3194         Bootstrap: updated HACKING entry.
3195         * HACKING ("Working with git"): Explain how to override the
3196         autoconf and autom4te programs used by the bootstrap process.
3197
3198         Bootstrap: fixlet.
3199         * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
3200         since we don't generate it.  Correctly quote arguments of
3201         `eval' builtin.  Fixed a botched error message.  Removed an
3202         extra blank line.
3203
3204         Bootstrap: don't search perl in $PATH.
3205         * bootstrap: Do not explicitly search perl in $PATH anymore.
3206         ($PATH_SEPARATOR): Removed, it's no more needed.
3207
3208         Bootstrap: let the user choose which autoconf to use.
3209         * bootstrap ($AUTOCONF): New variable, from the environment.
3210         ($AUTOM4TE): Likewise, for clarity.
3211         Use "$AUTOCONF" instead of calling "autoconf" directly.
3212
3213         Minor improvements to tests ar*.test.
3214         * tests/ar.test: Add trailing `:' command.
3215         * tests/ar2.test: Likewise, and make grepping of generated
3216         Makefile.in stricter.
3217
3218 2010-08-06  Peter Rosin  <peda@lysator.liu.se>
3219
3220         Add new auxiliary 'ar-lib' script, wrapping Microsoft lib.
3221         * lib/ar-lib: New auxiliary script.
3222         * lib/Makefile.am: Add above.
3223         * tests/ar-lib.test: New test.
3224         * tests/Makefile.am: Add above.
3225         * automake.in (@common_files): Distribute the 'ar-lib' script.
3226         * doc/automake.texi (Auxiliary Programs): Mention the new
3227         'ar-lib' script.
3228         (Optional): Mention 'ar-lib' in AC_CONFIG_AUX_DIR.
3229         * NEWS: Update.
3230
3231 2010-08-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3232
3233         Fix shell pattern negation in compile script.
3234         * lib/compile (func_file_conv): Use `!' not `^' for pattern
3235         negation.
3236
3237 2010-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3238
3239         Fix maintainer-check failure.
3240         * tests/cond5.test: Quote sleep argument, this isn't about
3241         time stamp differences.
3242
3243         Sync auxiliary files from upstream.
3244         * lib/config.guess, lib/config.sub, lib/texinfo.tex:
3245         Sync from upstream.
3246
3247 2010-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
3248
3249         Work around a nasty bug (segfault) of Solaris make.
3250         * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
3251         from $list, to avoid triggering a nasty bug (potential segfault)
3252         on Solaris make.
3253
3254 2010-08-06  Peter Rosin  <peda@lysator.liu.se>
3255
3256         Make cond5.test more robust on MSYS.
3257         * tests/cond5.test: Add delay before the first kill attempt to
3258         cater for problems with MSYS bash.
3259
3260 2010-08-01  Peter Rosin  <peda@lysator.liu.se>
3261
3262         Wrap some MSVC options in the compile script.
3263         * lib/compile: MSVC supports naming the output file, the option
3264         is just not called -o, so transform -o into the appropriate form
3265         for MSVC. Also wrap some other options while at it (-L, -l, -Wl,
3266         -Xlinker and -I) and convert file names to windows form where
3267         needed for those options to make MSVC more usable in an
3268         autotooled environment.
3269         * doc/automake.texi (Auxiliary Programs): Document the above
3270         extension of the compile script.
3271         * NEWS: Updated.
3272         * tests/defs.in: New required entry 'cl'.
3273         * tests/compile3.test: New test.
3274         * tests/compile4.test: New test.
3275         * tests/compile5.test: New test.
3276         * tests/Makefile.am: Update.
3277
3278 2010-07-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3279
3280         Add example git work flow; discuss merge --log in HACKING.
3281         * HACKING: Update.
3282         Suggestion by Stefano Lattarini.
3283
3284         Add more hints for debugging make rules.
3285         * doc/automake.texi (Debugging Make Rules): Show command to find
3286         out expanded values of variables; point to makefile debugger.
3287         * THANKS: Update.
3288         Prompted by suggestion from Ludovic Courtès and Andy Wingo.
3289
3290 2010-07-27  Patrick Welche  <prlw1@cam.ac.uk>  (tiny change)
3291
3292         Fix typo in the manual.
3293         * doc/automake.texi (Scripts): Fix typo.
3294
3295 2010-07-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3296
3297         Document current policy for development with git.
3298         * HACKING (Working with git): Overhaul.
3299         Prompted by suggestion from Stefano Lattarini.
3300
3301         Fix AM_COND_IF for gone-invalid condition shell expression.
3302         * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
3303         variable, rather than re-evaluating the shell expression for
3304         the condition.
3305         * tests/cond40.test: Extend test.
3306         * NEWS: Update.
3307
3308         Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
3309         * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
3310         to avoid shell syntax error if the m4 expansion is empty.
3311         * tests/cond40.test: Enhance test.
3312
3313         Coverage: bogus option to AM_INIT_AUTOMAKE.
3314         * tests/init2.test: New test.
3315         * tests/Makefile.am: Update.
3316
3317 2010-07-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
3318
3319         Modernize and improve test scripts `subdir*.test'.
3320         * tests/subdir.test: Enable `errexit' shell flag, and related
3321         changes.  Use the `configure.in' stub created by `./defs',
3322         rather than writing one from scratch.
3323         * tests/subdir2.test: Likewise.
3324         * tests/subdir4.test: Likewise.
3325         * tests/subdir3.test: Enable `errexit' shell flag, and related
3326         changes.  Do not create useless dummy source files.
3327         * tests/subdir5.test: Make grepping of Makefile.in (in topdir
3328         and in subdirs) stricter.  Some minor changes to keep it more
3329         in sync with the related test `subdir8.test'.
3330         * tests/subdir8.test: Likewise (but with the related test being
3331         `subdir5.test' here).
3332         * tests/subdir6.test: Cosmetic change in spacing.
3333         * tests/subdir9.test: Define and use new variable `$distdir'.  Add
3334         trailing `:' command.
3335         * tests/subdir10.test: Cosmetic consistency-related change.
3336         * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
3337         (configure.in): Use stub created by `./defs', rather than writing
3338         it from scratch.  Do not use obsoleted and/or deprecated forms of
3339         autoconf/automake macros.
3340
3341         Modernize and improve test scripts `dist*.test'.
3342         * tests/distcleancheck.test: Do not add useless `-e' option to
3343         a $MAKE call.  Extend test by grepping stderr of make.
3344         * tests/distcom2.test: Do not run the same test script on the
3345         Makefile.in twice, but save its output in an intermediate file
3346         instead.  Make grepping of DIST_COMMON definition stricter.
3347         Display the content of more files, to ease debugging.  Add a
3348         trailing `:' command.  Improved heading comments w.r.t. sister
3349         test(s).
3350         * tests/distcom6.test: Likewise, and avoid to uselessly run
3351         autoconf.
3352         * tests/distcom3.test: Ensure verbose printing of captured stdout
3353         and stderr.  Make grepping of captured stderr stricter.  Also,
3354         add trailing `:' command.
3355         * tests/distcom4.test: Declare the target `test' in the generated
3356         Makefile.am as `.PHONY'.  Display content of more files, to ease
3357         debugging.  Add trailing `:' command.
3358         * tests/distcom5.test: Likewise.  Also, factor out common sed
3359         script in subroutine `extract_distcommon'.
3360         * tests/distcom7.test: Prefer cat + here-doc over echo to write
3361         test Makefile.am files.  Add a trailing `:' command.
3362         * tests/distname.test: Prefer `gzip -d' over `gunzip'.  Move the
3363         call to `set -e' earlier.  Be stricter and more verbose in the
3364         checking of the generated tarball.
3365         (configure.in): Use the stub provided by ./defs, instead of
3366         writing it from scratch.  Avoid obsoleted constructs.  Remove
3367         useless call to `AM_PROG_CC_C_O'.
3368         * tests/distdir.test: Various minor improvements/normalizations.
3369         * tests/distlinks.test: Likewise.
3370
3371 2010-07-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
3372
3373         Improve and extend test cond5.test.
3374         * tests/cond5.test: Do not blindly sleep 60 seconds before polling
3375         the background automake process, but poll it every 10 seconds for
3376         at most 30 times (this makes the test both faster on good machines,
3377         and more resilient to spurious timeout-due failures when in low
3378         priority or on heavily-loaded systems).
3379         Check also that automake writes the expected error messages on the
3380         standard error.
3381         Enable `errexit' flag, and related changes.
3382         Rely on the `configure.in' stub created by `./defs', rather than
3383         writing one from scratch.
3384
3385 2010-06-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3386
3387         Update program --help output to match current GCS.
3388         * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
3389         is not defined, for compatibility to Autoconf < 2.64.
3390         * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
3391         PACKAGE_URL.
3392         (sc_diff_automake_in_automake): Update number of diff lines for
3393         additional substitutions.
3394         * aclocal.in (usage): Use PACKAGE_BUGREPORT.  Point to Automake
3395         home page and GNU general help page.
3396         * automake.in (usage): Likewise.
3397         * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
3398         address.
3399         (Introduction, Creating amhello, amhello Explained, Options):
3400         Use it throughout.
3401         * lib/Automake/Makefile.am (do_subst): Substitute
3402         PACKAGE_BUGREPORT.
3403         * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
3404         * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
3405         messages.
3406
3407         Clean up @var handling in the manual.
3408         * doc/automake.texi: Throughout the manual, lower-case @var
3409         names, replace a few one-character names.
3410
3411 2010-06-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
3412
3413         Fix typo-related bug in test script silent5.test.
3414         * tests/silent5.test: Use $EGREP, not $GREP (which is not even
3415         defined).
3416
3417         Tests: remove useless repetitions of `foreign' automake option.
3418         * tests/multlib.test (configure.in): Remove useless use of
3419         `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
3420         already in $AUTOMAKE by default, so no point in repeating it).
3421         * tests/subobj10.test: Likewise.
3422         * tests/subobj9.test: Likewise.
3423         * tests/lex3.test (Makefile.am): Similarly, remove useless use
3424         of `foreign' option in AUTOMAKE_OPTIONS.
3425         * tests/lex5.test: Likewise.
3426         * tests/pr279.test: Likewise.
3427         * tests/pr279-2.test: Likewise.
3428         * tests/specflg3.test: Likewise.
3429         * tests/target-cflags.test: Likewise.
3430
3431         Drop useless requirement "gzip" in lex5.test.
3432         * tests/lex5.test ($required): Do not list "gzip", as it's
3433         never used.
3434
3435 2010-06-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
3436
3437         Fix bugs in test script silent5.test.
3438         * tests/silent5.test: Fixed a nasty bug (due to the use of grep
3439         instead of egrep) that could have led to false negatives.
3440
3441 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
3442
3443         Add a test checking that distributed broken symlinks cause
3444         `make dist' to fail.
3445         * tests/distlinksbrk.test: New test.
3446         * tests/Makefile.am (TESTS): Updated.
3447
3448 2010-06-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3449
3450         Fix minor testsuite issues, update docs, for Yacc/Lex changes.
3451         * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
3452         and AM_LFLAGS, LFLAGS in the order in which they now appear in
3453         the rules.
3454         * NEWS: Update.
3455         * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
3456         tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
3457         please maintainer-check.  Ensure generated C files contain a
3458         declaration, to please compilers.
3459
3460 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
3461
3462         Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
3463         $(FLAGS) precedence.
3464         * automake.in: Fix registration of languages "Lex", "Lex (C++)",
3465         "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
3466         $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
3467         * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
3468         * NEWS: Updated.
3469
3470         New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
3471         $(AM_FLAGS) and $(FLAGS) precedence.
3472         * tests/lflags.test: New test, check that user $(LFLAGS) takes
3473         precedence over automake (AM_LFLAGS) and (foo_LFLAGS).  Still
3474         xfailing.
3475         * tests/lflags2.test: Likewise.
3476         * tests/yflags.test: New test, check that user $(YFLAGS) takes
3477         precedence over automake (AM_YFLAGS) and (foo_YFLAGS).  Still
3478         xfailing.
3479         * tests/yflags2.test: Likewise.
3480         * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
3481
3482 2010-06-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
3483
3484         Modernize, improve and extend tests `suffix*.test'.
3485         * tests/suffix3.test: Enable `errexit' shell flag, and related
3486         changes.
3487         * tests/suffix4.test: Likewise.
3488         * tests/suffix6.test: Likewise, and do not create a useless dummy
3489         source file.
3490         * tests/suffix7.test: Likewise.
3491         * tests/suffix5.test: Enable `errexit' shell flag, and related
3492         changes.  Make grepping of Makefile.in slightly stricter.
3493         * tests/suffix.test: Enable `errexit' shell flag, and related
3494         changes.  Also, do not redirect grep output to /dev/null, as this
3495         might unmotivatedly hide useful information.
3496         * tests/suffix2.test: Move setting of `errexit' shell flag earlier
3497         in the script (just after inclusion of ./defs).  Use a more
3498         idiomatic way to count text occurrences in Makefile.in with
3499         grep.  Do not create useless dummy source files.
3500         * tests/suffix10.test: Ensure verbose printing of captured make
3501         stdout.  Minor cosmetic changes.
3502         * tests/suffix8.test: Likewise.  Also, drop useless call to the
3503         env(1) utility, and make grepping of make output stricter by using
3504         $FGREP rather than plain grep.
3505         * tests/suffix11.test: Likewise.
3506         * tests/suffix12.test: Likewise.
3507         * tests/suffix9.test: Prefer cat + here-doc over echo to append to
3508         the `configure.in' stub.  Cosmetic changes.
3509         * tests/suffix13.test: Cosmetic spacing change.
3510
3511 2010-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
3512
3513         Add useful comment in test script ext.test.
3514         * tests/ext.test: Add a comment explaining why an apparently
3515         useless `if' statement is indeed required.
3516
3517 2010-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
3518
3519         Add useful comment in test script obsolete.test.
3520         * tests/obsolete.test: Add a comment explaining why we need
3521         an indirection in adding $AUTOUPDATE to $required.
3522
3523         Normalize whitespaces in 'tests/Makefile.am'.
3524         * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
3525         definition of this variable.
3526
3527         Parallel tests generation: improve comments (tiny change).
3528         * tests/Makefile.am ($(parallel_tests)): Added useful comment to
3529         generated tests.
3530
3531         Tests defs: truly get rid of `$am_defs_included' (unused variable)
3532          * tests/defs.in ($am_defs_included): Remove, its now unused.  It
3533         should have been removed in a previous changeset, but the removal
3534         was done only partially (oversight).
3535
3536 2010-06-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3537
3538         Remove a couple of unneeded conditionals from tests.
3539         * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
3540         for the FOOTEST conditional.
3541
3542 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
3543
3544         Modernize, improve and/or fix various test scripts.
3545         * tests/symlink3.test: Deleted, separated into two new, more
3546         complete tests ...
3547         * tests/forcemiss.test: ... this one ...
3548         * tests/forcemiss2.test: ... and this one.
3549         * tests/symlink2.test: Enable `errexit' shell flag, make test
3550         stricter, and skip it if symlink creation is not supported.
3551         * tests/postproc.test: Enable `errexit' shell flag, related
3552         changes, and a couple of unrelated cosmetic changes.
3553         * tests/recurs.test: Use the `configure.in' stub created by
3554         `./defs', rather than writing one from scratch.  Make grepping
3555         of Automake stderr slightly stricter.
3556         * tests/substtarg.test: Likewise.
3557         * tests/strip.test: Likewise, and move the call to `set -e'
3558         earlier (just after the inclusion of `./defs'). Also, make sure
3559         that the script installed by `make install-script' is equal to
3560         the original one.
3561         * tests/substref.test: Use the `configure.in' stub created by
3562         `./defs', rather than writing one from scratch.  Move the call
3563         to `set -e' earlier (just after the inclusion of `./defs').
3564         Avoid to explicitly export CC for configure (that's already done
3565         in ./defs).  Avoid potential problems with unpredictable make
3566         output.  Finally, make grepping of Makefile.in stricter.
3567         * tests/substre2.test: Ensure verbose printing of the captured
3568         make's output, and make its grepping slightly stricter.
3569         * tests/cygwin32.test: Enable `errexit' shell flag, and related
3570         changes.  Also, do not create useless dummy source/data files.
3571         * tests/scripts.test: Likewise.
3572         * tests/recurs2.test: Likewise.  Also, use the `configure.in'
3573         stub created by `./defs'.
3574         * tests/Makefile.am (TESTS): Updated.
3575
3576         Modernize, improve and/or fix tests `pluseq*.test.
3577         * tests/pluseq5.test: Append to configure.in using cat with an
3578         here-doc, not using echo.
3579         * tests/pluseq10.test: Make sure that the captured output of
3580         `make' command is always displayed. Where possible, use $FGREP
3581         instead of grep (this change makes some checks slightly stricter).
3582         * tests/pluseq8.test: Enable `errexit' shell flag, with related
3583         changes.
3584         * tests/pluseq.test: Likewise.  Also, do not create useless dummy
3585         data files, and use better m4 quoting in generated configure.in.
3586         * tests/pluseq2.test: Likewise.  Also, append to configure.in
3587         using cat with an here-doc, not using echo.
3588         * tests/pluseq3.test: Likewise.
3589         * tests/pluseq4.test: Likewise.
3590         * tests/pluseq6.test: Likewise.
3591         * tests/pluseq7.test: Do not create useless dummy source file.
3592         * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
3593         Automake stderr.  Some unrelated cosmetic changes.
3594
3595 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
3596
3597         cscope.test: ensure verbose printing of captured stderr.
3598         * tests/cscope.test: Print captured stderr before failing.
3599
3600 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
3601
3602         Testsuite: ensure verbose printing of captured stderr.
3603         * tests/acloca18.test: Print captured stderr before either failing
3604         or grepping it.  Be sure to send captured stderr to stderr, not to
3605         stdout.
3606         * tests/ansi3b.test: Likewise.
3607         * tests/cond39.test: Likewise.
3608         * tests/configure.test: Likewise.
3609         * tests/missing3.test: Likewise.
3610         * tests/missing6.test: Likewise.
3611         * tests/output-order.test: Likewise.
3612         * tests/pr300-ltlib.test: Likewise.
3613         * tests/python6.test: Likewise.
3614         * tests/python7.test: Likewise.
3615         * tests/python8.test: Likewise.
3616         * tests/python9.test: Likewise.
3617         * tests/subobj.test: Likewise.
3618         * tests/vars3.test: Likewise.
3619         * tests/missing4.test: Likewise, and fix a call to grep not to use
3620         the `-c' flag.
3621         * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
3622         created by `./defs', rather than writing one from scratch.
3623
3624         Enable `errexit' shell flag in various tests.
3625         * tests/backsl.test: Enable the `errexit' shell flag, and
3626         related changes.
3627         * tests/backsl2.test: Likewise.
3628         * tests/block.test: Likewise.
3629         * tests/canon2.test: Likewise.
3630         * tests/canon4.test: Likewise.
3631         * tests/comment2.test: Likewise.
3632         * tests/condlib.test: Likewise.
3633         * tests/cond15.test: Likewise, and prefer $FGREP over grep.
3634         * tests/canon3.test: Likewise.  Also, avoid to create an useless
3635         dummy source file.
3636         * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
3637         related changes.  Do some cosmetic improvements in the generated
3638         `configure.in' file.
3639         * tests/cond4.test: Likewise.
3640         * tests/cond14.test: Likewise.
3641         * tests/condinc.test: Likewise.
3642         * tests/cond7.test: Likewise.  Also, remove useless setting of
3643         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
3644         * tests/ansi.test: Enable the `errexit' shell flag, and related
3645         changes.  Extended, esp. by running autoconf, ./configure and
3646         make, and by looking into the distdir.
3647
3648 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
3649             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3650
3651         Extend tests/README w.r.t. trailing `:' in test scripts.
3652         * tests/README (section "Writing test cases" subsection "Do"):
3653         Explain why apparently redundant trailing `:' and `Exit 0' in
3654         test scripts can indeed be useful.
3655
3656 2010-06-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
3657
3658         Improve determination of PATH separator in bootstrap script.
3659         * bootstrap: Determine what the PATH separator is the same way
3660         autoconf does.
3661
3662         Minor improvements in bootstrap script.
3663         * bootstrap: Consistently use two-spaces indentation.  Cosmetic
3664         improvement to comments.
3665         ($me): New variable, containing program basename.
3666         Prepend it to all error messages.
3667
3668         Testsuite now works with BSD make in parallel mode.
3669         * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
3670         which are exported by BSD make when run in parallel mode, and
3671         which can confuse make processes spawned by our testsuite.
3672         This change fixes a lot of spurious failure when the testsuite
3673         is run with BSD make in parallel mode.
3674
3675 2010-06-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
3676
3677         Modernize, improve and/or fix various test scripts.
3678         * tests/sanity.test: Rely on the `configure.in' stub created by
3679         `./defs', rather than writing one from scratch.
3680         * tests/depend2.test: Likewise.  Also, call `set -e' just after
3681         the inclusion of `./defs', instead that later in the script.
3682         * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
3683         $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
3684         * tests/exeext4.test: Use $FGREP instead of grep, where possible.
3685         Make auxiliary rules in the generated Makefile more silent.
3686         These changes make some checks slightly stricter.
3687         * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
3688         * tests/gettext2.test: Place final `:' at the end of the script,
3689         rather than in the middle.
3690         * tests/exeext.test: Call `set -e' just after the inclusion of
3691         `./defs', instead that later in the script.
3692         * tests/extra5.test: Likewise.
3693         * tests/confdeps.test: Likewise.  Also, prefer `mv -f' over
3694         plain `mv', just to be sure.
3695         * tests/depcomp.test: Enable `errexit' shell flag, with related
3696         changes.  Also, modernize the generated configure.in.
3697         * tests/cond9.test: Likewise.  Also, rely on the `configure.in'
3698         stub created by `./defs', rather than writing one from scratch.
3699         * tests/cond10.test: Likewise.
3700         * tests/depcomp2.test: Likewise.
3701         * tests/depend3.test: Likewise.
3702         * tests/distcom7.test: Likewise.
3703         * tests/fortdep.test: Likewise.  Also, remove definition of
3704         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
3705         since that flag is already provided by $AUTOMAKE.
3706         * tests/mdate.test: Made stricter, by checking that Automake
3707         actually failed, and by making a stricter grep on the error
3708         message.  Also, set shell `errexit flag'.
3709         * tests/python2.test: Improved verbose messages.
3710
3711         Make test `ammissing.test' stricter.
3712         * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
3713         Enable `errexit' shell flag.
3714
3715 2010-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
3716             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3717
3718         Fix error in generation of parallel tests.
3719         * tests/defs.in ($am_skip_defs): New variable, to be used when
3720         ./defs must be sourced multiple times.  If set, unset it and
3721         only define $srcdir; otherwise, also go through the rest of
3722         the script.
3723         ($am_defs_included): Remove, no more needed.
3724         * tests/Makefile.am ($(parallel_tests)): Update accordingly,
3725         using only $srcdir from defs.
3726         Fixes potential test failures of tests that use $required.
3727
3728 2010-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
3729
3730         Enable `errexit' shell flag in some test scripts.
3731         * tests/subcond.test: Enabled `errexit' shell flag, and related
3732         minor changes.
3733         * tests/subst.test: Likewise.
3734         * tests/vars.test: Likewise.
3735         * tests/version4.test: Likewise.
3736         * tests/vpath.test: Likewise.
3737         * tests/vtexi2.test: Likewise.
3738         * tests/werror.test: Likewise.
3739         * tests/whoami.test: Likewise.
3740         * tests/tags.test: Likewise, and avoid to crate an useless dummy
3741         header file.
3742         * tests/acsilent.test: Likewise, and don't use an easily-avoided
3743         command substitution.
3744         * tests/unused.test: Likewise, and don't use an easily-avoided
3745         command substitution.
3746         * tests/version.test: Likewise, and avoid deprecated constructs
3747         in the generated `configure.in'.
3748         * tests/version2.test: Likewise, and avoid deprecated constructs
3749         in the generated `configure.in'.
3750
3751 2010-06-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
3752             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3753
3754         Improve declaration of dependencies in the testsuite.
3755         * tests/Makefile.am (check_SCRIPTS): Remove.  Instead, let ...
3756         ($(TEST_LOGS)): ... all test logs depend on the scripts.
3757         * test/gen-parallel-tests: For each parallel test foo-p.test,
3758         let `foo-p.log' also depend on `foo.test', since it is sourced.
3759
3760 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3761
3762         Coverage for TAGS_DEPENDENCIES warning.
3763         * tests/tags2.test: New test.
3764         * tests/Makefile.am: Update.
3765
3766         Coverage for use of anachronistic variables.
3767         * tests/oldvars.test: New test.
3768         * tests/Makefile.am: Update.
3769
3770         Testsuite coverage for bogus macro file serial numbers.
3771         * tests/acloca18.test: Also test ill-formed serial numbers
3772         and serial numbers after macro definitions.
3773
3774         Coverage for aclocal diagnosing underquoted macros.
3775         * tests/acloca23.test: New test.
3776         * tests/Makefile.am: Update.
3777
3778 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3779
3780         Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
3781         * tests/ldadd.test: Enable errexit.  Use AUTOMAKE_fails so
3782         the verbose log contains all output.
3783         * tests/mdate.test: Likewise.
3784         Prompted by Stefano Lattarini's change to discover.test.
3785
3786 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3787
3788         More minor message fixes.
3789         * aclocal.in (scan_file): Fix recommended info command line.
3790         * automake.in (handle_lib_objects): No need to prepend function
3791         name to prog_error message.
3792         (handle_tags): Add missing word and missing space in error
3793         message.
3794         (handle_dist): Add missing closing single quote in message.
3795         Line-wrap one long message for readability.
3796
3797 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
3798             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3799
3800         Fix distcheck failure with distributed generated parallel tests.
3801         * tests/Makefile.am ($(parallel_tests)): Cope with $(srcdir)
3802         being different from the value at developer `make dist' time.
3803         * tests/defs.in: Protect against mutiple inclusion, by using ...
3804         ($am_defs_included): ... this new variable.
3805         ($srcdir): Do not compute, but simply define to `@abs_srcdir@'
3806         as substituted by configure.
3807         Report, suggestions and first fix by Ralf Wildenhues, final
3808         patch by Stefano Lattarini.
3809
3810 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
3811
3812         Improve tests link*.test (enable `errexit' shell flag).
3813         * tests/link_c_cxx.test: Enable `errexit shell flag, and related
3814         changes.  Also, do not create useless source files.
3815         * tests/link_dist.test: Likewise.
3816         * tests/link_f90_only.test: Likewise.
3817         * tests/link_f_only.test: Likewise.
3818         * tests/link_fc.test: Likewise.
3819         * tests/link_fccxx.test: Likewise.
3820         * tests/link_fcxx.test: Likewise.
3821
3822 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3823
3824         Improve ext.test semantics, avoid OpenBSD sh errexit issue.
3825         * tests/ext.test: Inside shell compound command, use
3826         `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
3827         fix failure with OpenBSD sh introduced with last patch.
3828         Actually ensure that a rule for .EXT.o is created for each
3829         known extension EXT.
3830
3831 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
3832
3833         Enable `errexit' shell flag in some test scripts.
3834         * tests/dash.test: Enable `errexit' shell flag, and related
3835         changes.
3836         * tests/defun.test: Likewise.
3837         * tests/defun2.test: Likewise.
3838         * tests/dejagnu.test: Likewise.
3839         * tests/double.test: Likewise.
3840         * tests/distcom2.test: Likewise.
3841         * tests/empty2.test: Likewise.
3842         * tests/empty3.test: Likewise.
3843         * tests/empty4.test: Likewise.
3844         * tests/exdir.test: Likewise.
3845         * tests/ext.test: Likewise.
3846         * tests/extra.test: Likewise.
3847         * tests/extra2.test: Likewise.
3848         * tests/extra3.test: Likewise.
3849         * tests/extra4.test: Likewise.
3850         * tests/flibs.test: Likewise.
3851         * tests/fnoc.test: Likewise.
3852         * tests/fo.test: Likewise.
3853         * tests/instexec.test: Likewise.
3854         * tests/ltdeps.test: Likewise.
3855         * tests/nodep.test: Likewise.
3856         * tests/nodepcomp.test: Likewise.
3857         * tests/f90only.test: Likewise, and remove botched/obsoleted
3858         comments and unnecessary commands.
3859         * tests/fonly.test: Likewise, and remove botched/obsoleted
3860         comments and unnecessary commands.
3861         * tests/discover.test: Likewise, and made stricter.
3862
3863         Enable `errexit' shell flag in all tests cxx*.test.
3864         * tests/cxx.test: Enabled `errexit' shell flag, and related
3865         minor changes.
3866         * tests/cxxansi.test: Likewise.
3867         * tests/cxxcpp.test: Likewise.
3868         * tests/cxxlibobj.test: Likewise.
3869         * tests/cxxlink.test: Likewise.
3870         * tests/cxxo.test: Likewise.
3871
3872         Enable `errexit' shell flag in various tests.
3873         * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
3874         minor changes.
3875         * tests/acoutpt.test: Likewise.
3876         * tests/acoutqnl.test: Likewise.
3877         * tests/amassign.test: Likewise.
3878         * tests/ansi2.test: Likewise.
3879         * tests/ansi4.test: Likewise.
3880         * tests/badprog.test: Likewise.
3881         * tests/checkall.test: Likewise.
3882         * tests/clean.test: Likewise.
3883         * tests/colneq2.test: Likewise.
3884         * tests/colon.test: Likewise.
3885         * tests/colon5.test: Likewise.
3886         * tests/colon6.test: Likewise.
3887         * tests/comment.test: Likewise.
3888         * tests/compile_f90_c_cxx.test: Likewise.
3889         * tests/compile_f_c_cxx.test: Likewise.
3890         * tests/cond3.test: Likewise.
3891         * tests/cond6.test: Likewise.
3892         * tests/cond13.test: Likewise.
3893         * tests/conf2.test: Likewise.
3894         * tests/confvar.test: Likewise.
3895         * tests/confvar2.test: Likewise.
3896         * tests/cond8.test: Likewise, plus a cosmetic change.
3897         * tests/confh4.test: Likewise.  Also, add in the heading comments
3898         an excerpt from the original bug report which motivated the
3899         creation of this test, to make its purpose clearer.
3900
3901 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3902
3903         Rewrite manual to be gender-neutral.
3904         * doc/automake.texi (GNU Build System)
3905         (Standard Directory Variables, General Operation, CVS)
3906         (Hard-Coded Install Paths, Dependencies As Side Effects):
3907         Rewrite text to not contain gender-specific pronouns when
3908         speaking about developers or users, either by avoiding pronouns
3909         or by addressing them as `you' instead.
3910         * THANKS: Update.
3911         Report by Christina Gratorp.
3912
3913         * AUTHORS: Update.
3914
3915 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
3916
3917         Tiny fix in silent8.test (display output of `make' command).
3918         * tests/silent8.test: Make sure that the captured output of `make'
3919         command is always displayed.
3920
3921         Make tests on user extensibility of silent-rules mode stricter.
3922         * tests/silent6.test: Made stricter w.r.t. the grepping of the
3923         output produced by `make'.
3924         * tests/silent7.test: Likewise.
3925
3926         Tests on silent-mode for C/Libtool made stricter.
3927         * tests/silent.test: Made stricter w.r.t. the grepping of the
3928         output produced by `make'.
3929         * tests/silent2.test: Likewise.
3930         * tests/silent4.test: Likewise.
3931         * tests/silent9.test: Likewise.
3932         * tests/silent3.test: Likewise, and add a final `make distclean'
3933         command to keep it better in sync with tests/silent{4,9}.test.
3934
3935         Improved test silent5.test.
3936         * tests/silent5.test: Remove by hand all generated C files after
3937         non-verbose builds, to ensure the following builds are clean.
3938         Try to clean and rebuild with the same verbosity and without
3939         removing generated sources in between, to check that this does
3940         not trigger a different set of rules.  Make grepping of make's
3941         output stricter.  Improved/added some comments.
3942
3943         New tests for Automake silent-mode with Fortran.
3944         * tests/silentf77.test: New test.
3945         * tests/silentf90.test: Likewise.
3946         * tests/Makefile.am (TESTS): Updated accordingly.
3947
3948         New test `silentcxx.test' (Automake silent-mode with C++).
3949         * tests/silentcxx.test: New test.
3950         * tests/Makefile.am (TESTS): Updated accordingly.
3951
3952         New test `silentyacc.test' (Automake silent-mode with Yacc).
3953         * tests/silentyacc.test: New test.
3954         * tests/Makefile.am (TESTS): Updated accordingly.
3955
3956         New test `silentlex.test' (Automake silent-mode with Lex).
3957         * tests/silentlex.test: New test.
3958         * tests/Makefile.am (TESTS): Updated accordingly.
3959
3960         Relax tests on silent-rules to cater to overly verbose makes.
3961         * tests/silent.test: When testing silent builds, don't fail if
3962         make's output simply contains the `mv' substring, but only if
3963         it contains the `mv ' substring (note the trailing space).
3964         * tests/silent2.test: Likewise.
3965         * tests/silent3.test: Likewise.
3966         * tests/silent4.test: Likewise.
3967         * tests/silent5.test: Likewise.
3968         * tests/silent9.test: Likewise.
3969
3970 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
3971
3972         Extend test on `nostdinc' automake option.
3973         * tests/nostdinc.test: Enable `errexit' shell flag.  Related and
3974         unrelated minor changes.  Make the grepping of the generated
3975         Makefile.in slightly stricter.  Generate and run configure, so that
3976         the generated Makefile can be grepped too.
3977
3978 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3979
3980         Make gnupload portable to EBCDIC hosts.
3981         * lib/gnupload: Use literal newline as argument for 'tr' rather
3982         than \015, for EBCDIC hosts.  Also, avoid unportable nested
3983         double-quotes and backquotes.
3984         * THANKS: Update.
3985         Report from Eric Blake and Steve Goetze via gnulib.
3986
3987 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
3988
3989         Fix Autoconf version required by Automake's configure.
3990         Automake configure script used to tell that automake required
3991         autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
3992         and if that was not found, it gave an error saying that Automake
3993         required configure 2.61a-341 or later.  This change should
3994         eliminate such inconsistencies.
3995         * configure.ac ($required_autoconf_version): New variable.
3996         Use it throughout.
3997
3998 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3999
4000         Fix truncated comment in Makefile.am.
4001         * Makefile.am (sc_tests_logs_duplicate_prefixes): Fix unfinished
4002         sentence in comment.
4003         Report by Stefano Lattarini.
4004
4005         Relax silent8.test for NetBSD make.
4006         * tests/silent8.test: Accept ./foo.info in output as well.
4007
4008         Fix unportable sed script in maintainer-check test.
4009         * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
4010         not contain semicolon after 'b' or brace commands, for NetBSD.
4011
4012         Wildcards are not portable to NetBSD make.
4013         * doc/automake.texi (Wildcards): Document portability issue.
4014         * tests/extra10.test, tests/extra11.test, tests/extra12.test:
4015         Require GNU make.
4016
4017 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
4018
4019         Make test for configure.in vs. configure.ac stricter.
4020         * tests/configure.test: Use a configure.in file that provokes
4021         an automake error, to ensure configure.ac is preferred.
4022
4023         Avoid possible false negatives in dejagnu7.test.
4024         * tests/dejagnu7.test: Enable shell `errexit' flag.  Also, avoid
4025         unportable use of fgrep option `-e'.
4026
4027         Fix conflnk3.test to work with Solaris/Heirloom Sh.
4028         * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
4029         instead of respectively `test -e FILE' and `test ! -e FILE',
4030         since Solaris Sh doesn't grok the latter.  Do not SKIP the test
4031         if the shell doesn't support `test -e'.
4032
4033 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4034
4035         Warning and error message formatting cleanups.
4036         * aclocal.in (parse_arguments, main): Remove trailing period or
4037         newline in error or warning messages, avoid capitalization of
4038         the first word of a message.
4039         * automake.in (check_user_variables, handle_languages)
4040         (handle_ltlibraries, scan_aclocal_m4, scan_autoconf_config_files)
4041         (scan_autoconf_files, cond_stack_if, require_file_internal)
4042         (usage, generate_makefile, parse_arguments): Likewise.
4043         * lib/Automake/ChannelDefs.pm (set_strictness): Likewise.
4044         * lib/Automake/Configure_ac.pm (find_configure_ac): Likewise.
4045         * lib/Automake/Options.pm (set_strictness): Likewise.
4046         * lib/Automake/Rule.pm (define): Likewise.
4047         * lib/Automake/Variable.pm (define, variables_dump): Likewise.
4048         * tests/ltinstloc.test, tests/suffix11.test: Adjust expected
4049         error message.
4050         * lib/Automake/Channels.pm (setup_channel): Reword error message
4051         to be the same as in msg.
4052
4053         Fix placing of ellipses in English text and synopses.
4054         * Makefile.am: Be sure to add a space before `...' in natural
4055         language text.
4056         * automake.in (scan_autoconf_traces): Likewise.
4057         * lib/Automake/Rule.pm (define): Likewise.
4058         * lib/Automake/Variable.pm (define): Likewise.
4059         * lib/am/dejagnu.am: Likewise.
4060         * lib/am/progs.am: Likewise.
4061         * lib/gnupload (dprint, upload): Likewise.
4062         * tests/confdeps.test: Likewise.
4063         * tests/location.test: Adjust expected output.
4064         * automake.in (usage): In synopsis, use singular for OPTION,
4065         * remove space before ellipsis.
4066         * aclocal.in (usage): Likewise.  Also, fix indentation.
4067
4068         Fix more duplicate message prefixes.
4069         * lib/Automake/XFile.pm (seek): Do not prepend $me.
4070         ($me): Remove now-unused package-global.
4071         * aclocal.in (check_acinclude): Remove duplicate 'warning: '
4072         prefix.
4073
4074         Fix typo in manual.
4075         * doc/automake.texi (Simple Tests using parallel-tests): Add
4076         missing closing parenthesis.
4077
4078         Fix leftover call to removed function macros_dump.
4079         * automake.in (read_main_am_file): Call variables_dump, not
4080         macros_dump.  Print actual error before list of variables.
4081
4082 2010-04-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
4083
4084         Minor improvements in comments of test `silent3.test'.
4085         * tests/silent3.test: Tell to keep it in sync with `silent9.test'
4086         too.
4087
4088 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4089
4090         testsuite: ensure verbose printing of captured output.
4091         * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
4092         tests/fort2.test, tests/help.test, tests/missing3.test,
4093         tests/missing6.test: Print captured stdout or stderr before
4094         grepping it.
4095
4096 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
4097
4098         Make test badopt.test stricter (by enabling `set -e').
4099         * tests/badopt.test: Add call to `set -e'.  Due to this change,
4100         an unexpected failure in the call to `$ACLOCAL' (whose outcome
4101         was previously unchecked) would cause the whole test to fail.
4102         Also, bumped the copyright years.
4103
4104         Make test for configure.in vs. configure.ac stricter.
4105         * tests/configure.test: Use a configure.in file that provokes
4106         an automake error, to ensure configure.ac is preferred.
4107
4108         Use `set -e' in confsub.test (avoids possible false negatives).
4109         * tests/confsub.test: Enable shell `errexit' flag, and related
4110         changes (this helps avoiding some possible minor false negatives).
4111         Also, bumped copyright years.
4112
4113 2010-04-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4114
4115         Fix -Werror handling for presence of configure.in and configure.ac.
4116         * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
4117         $configure_ac at the global level, before command-line arguments
4118         have been parsed.
4119         (require_variables): Initialize it here.
4120         * tests/configure.test: New test.
4121         * tests/Makefile.am: Update.
4122         Report by Stefano Lattarini.
4123
4124 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
4125
4126         Avoid possible false negatives in confh5.test.
4127         * tests/confh5.test: Enable shell `errexit' flag, and bumped
4128         copyright years.  Due to this change, any unexpected failure
4129         in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
4130         a failure in grepping expected text in output files should now
4131         cause the whole test to fail.
4132
4133 2010-04-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
4134
4135         Fixed typo in POD documentation of Automake::Channels.
4136         * lib/Automake/Channels.pm: Fixed typo in POD documentation:
4137         @<...> was used instead of C<...>.
4138
4139 2010-04-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
4140
4141         Refactor tests on Automake TESTS color output.
4142         * tests/color.test: Tests using the expect program moved out to...
4143         * tests/color2.test: ... this new file.
4144         * tests/Makefile.am (TESTS): Extended accordingly.
4145
4146 2010-04-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
4147
4148         Fix typos in comments in test confh5.test
4149         * tests/confh5.test: Fix a couple of typos in comments.
4150
4151         Avoid possible false negatives in canon-name.test.
4152         * tests/canon-name.test: Enable shell `errexit' flag.  Improve
4153         test description.
4154
4155 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4156
4157         Print 'warnings are treated as errors' note if needed.
4158         * lib/Automake/Channels.pm: Fix typo in comment.
4159         (_print_message): If -Werror is enabled, print a 'warnings are
4160         treated as errors' note before the first such warning.
4161         * tests/warnopts.test: Adjust comment to mention expected warning.
4162         Adjust code to ignore 'warnings are treated as errors' note.
4163         * tests/location.test: Adjust expected output with -Werror.
4164         * tests/werror4.test: New test.
4165         * tests/Makefile.am: Update.
4166         * NEWS: Update.
4167
4168         Ensure we don't print 'warning:' or 'error:' twice.
4169         * Makefile.am (sc_ensure_testsuite_has_run): New helper rule.
4170         (sc_tests_logs_duplicate_prefixes): New rule, to check for
4171         wrong-looking warning and error messages in the test suite logs.
4172         * aclocal.in (scan_configure_dep, scan_file): Remove duplicate
4173         `warning: ' prefix.
4174         * tests/vars3.test: Rename variable to avoid false positive.
4175
4176         Prepend type to warning, error, and fatal messages.
4177         For the first part of messages of types `error' or `fatal',
4178         prepend `error: ' to the message.  Prepend `warning: ' to
4179         warning messages, whatever the setting of -Werror.
4180         * lib/Automake/Channels.pm (partial): Move up definition.
4181         (_format_message): Emit `header' and `footer' strings only with
4182         the first resp. last part of a set of partial messages.
4183         * lib/Automake/ChannelDefs.pm: Add missing '1;' statement at the
4184         end of the module.
4185         (Automake::ChannelDefs): Setup warning channels with header
4186         `warning: ', error and fatal messages with header `error: '.
4187         * tests/condinc2.test, tests/ltinstloc.test: Adjust expected
4188         error messages.
4189         * tests/comment5.test: Likewise.  Also, include stack notes
4190         should not start with `error:'.
4191         * tests/location.test: Likewise.  Also, try both -Werror and
4192         -Wno-error.
4193         * NEWS: Update.
4194         Report by Bruno Haible.
4195
4196         Fix capitalization of error messages, reword one message.
4197         * lib/Automake/Variable.pm (define): Do not capitalize the first
4198         word in the error message.
4199         * automake.in (require_file_internal): Likewise.  Also, reword
4200         and line-wrap for better readability.
4201         * tests/distcom7.test, tests/pluseq5.test, tests/pluseq9.test:
4202         Adjust tests.
4203
4204         Fix connected warnings about obsolete exeext override.
4205         * lib/Automake/Rule.pm (define): Merge two warnings that belong
4206         together, by setting the 'partial' flag for the first one.
4207
4208         Fix per-Makefile.am setting of -Werror.
4209         Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
4210         Makefile.am would carry over to other Makefile.am files
4211         treated afterwards by the same thread, causing inconsistent
4212         and unstable exit status values.
4213         * lib/Automake/Channels.pm (dup_channel_setup)
4214         (drop_channel_setup): Save and restore the setting of
4215         $warnings_are_errors.
4216         * tests/werror3.test: New test.
4217         * tests/Makefile.am: Adjust.
4218         * NEWS: Update.
4219
4220 2010-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
4221
4222         Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
4223         * tests/confh5.test: In the generated Makefile.am: do not use
4224         `test ! -e FILE' to check for the non-existence of a file, since
4225         that is not supported by Solaris/Heirloom Sh.
4226
4227         Make test `aclocal3.test' stricter.
4228         * tests/aclocal3.test: Add call to `set -e'.  Fail if $ACLOCAL
4229         succeds unexpectedly.
4230
4231         Add tests checking that symlinks are resolved by `make dist'.
4232         * tests/distlinks.test: New test.
4233         * tests/Makefile.am (TESTS): Updated accordingly.
4234         Suggested by observations from Ralf Wildenhues.
4235
4236 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4237
4238         Use -9 for maximum xz compression with dist-xz.
4239         * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
4240         * NEWS, THANKS: Update.
4241         Report by Pavel Sanda.
4242
4243 2010-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
4244
4245         Avoid possible false negatives in cond46.test.
4246         * tests/cond46.test: Enable shell `errexit' flag (and bumped
4247         copyright years).  Due to this change, the testcase should now
4248         fail on unexpected failures in calls to $ACLOCAL/$AUTOMAKE (whose
4249         outcomes were previously unchecked), and on failures in grepping
4250         the expected diagnostic in Automake stderr.
4251
4252 2010-04-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
4253
4254         Generated tests are now just a thin layer around other tests.
4255         * tests/Makefile.am: Rewrite the rule to generate the `*-p.test'
4256         test scripts so that any of them simply includes the corresponding
4257         `*.test' script (after setting `$parallel_tests' to `yes').
4258         * tests/.gitignore: Add wildcard for temporary files used in the
4259         generation of `*-p.test' tests.
4260
4261 2010-03-30  Stefano Lattarini  <stefano.lattarini@gmail.com>
4262
4263         Avoid an unportable use of `$status' shell variable.
4264         * Makefile.am (path-check): Don't use the `$status' shell variable
4265         in the target's rules, as it's special in Zsh (equivalent to `$?',
4266         and readonly).
4267
4268         Avoid another use of `chmod -R'.
4269         * Makefile.am (path-check): To be safe, do not use `chmod -R' on
4270         $(distdir) before removing it (as Solaris `chmod -R' touches
4271         symlink targets).  Instead, use the cleanup strategy used in
4272         distdir.am.
4273
4274 2010-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4275
4276         Remove uses of @acronym and @sc.
4277         * doc/automake.texi (Public Macros, Limitations on File Names):
4278         Remove all usage of @acronym and @sc in the manual.
4279         Suggested by Karl Berry.
4280
4281 2010-03-13  Karl Berry  <karl@freefriends.org>
4282
4283         GNU hello uses fdl.texi, not gpl.texi.
4284         * doc/automake.texi (Texinfo): Adjust example to upstream
4285         change.
4286
4287 2010-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4288
4289         Formatting cleanups in macro comments.
4290         * automake.in, lib/Automake/Channels.pm,
4291         lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
4292         lib/Automake/Variable.pm, lib/Automake/XFile.pm,
4293         m4/options.m4, m4/substnot.m4: Fix macro comment format.
4294
4295 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
4296             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4297
4298         Avoid generation of `tests/defs-p' file.
4299         * tests/defs.in: In the generated `configure.in' snippet: call
4300         `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
4301         variable `parallel_tests' is set to `yes'.
4302         * tests/Makefile.am (defs-p): Target removed.
4303         (check_SCRIPTS): Removed `defs-p'.
4304         (clean-local-check): Do not unlink `defs-p' anymore.
4305         ($(parallel_tests)): Transformation rules for the test scripts
4306         adjusted.
4307         * tests/gen-parallel-tests: Selection rules for the test
4308         scripts adjusted.
4309         * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
4310         then include `./defs' (rather than simply including `./defs-p').
4311         * tests/parallel-tests2.test: Likewise.
4312         * tests/parallel-tests3.test: Likewise.
4313         * tests/parallel-tests4.test: Likewise.
4314         * tests/parallel-tests5.test: Likewise.
4315         * tests/parallel-tests6.test: Likewise.
4316         * tests/parallel-tests7.test: Likewise.
4317         * tests/parallel-tests8.test: Likewise.
4318         * tests/parallel-tests9.test: Likewise.
4319         * tests/parallel-tests10.test: Likewise.
4320         * tests/README (Section "Writing Test Cases" subsection "Do"):
4321         Adjusted the parts referring to tests checking `parallel-tests'
4322         behaviour.  Some other minor related improvements.
4323         * tests/.gitignore (defs-p): Removed.
4324
4325 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
4326
4327         Remove redundant unset of variable TESTS from some test scripts.
4328         * tests/color.test: Do not unset the `TESTS' variable, as it's
4329         already unset in the `defs' file.
4330         * tests/check5.test: Likewise.
4331         * tests/check8.test: Likewise.
4332         * tests/check9.test: Likewise.
4333         * tests/check10.test: Likewise.
4334         * tests/check11.test: Likewise.
4335         * tests/parallel-tests.test: Likewise.
4336         * tests/parallel-tests3.test: Likewise.
4337         * tests/parallel-tests4.test: Likewise.
4338         * tests/parallel-tests5.test: Likewise.
4339         * tests/parallel-tests6.test: Likewise.
4340         * tests/parallel-tests7.test: Likewise.
4341
4342 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4343
4344         Fix cscope test on systems without working Fortran compiler.
4345         * tests/cscope.test: Skip remainder of test if `$MAKE all' fails.
4346         * THANKS: Update.
4347         Report by Peter Johansson.
4348
4349 2010-02-24  Antonio Diaz Diaz  <ant_diaz@teleline.es>  (tiny change)
4350             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4351
4352         Add lzip compression support.
4353         * automake.in (handle_dist): Recognize dist-lzip.
4354         (make_paragraphs): Map LZIP to dist-lzip.
4355         * doc/automake.texi (Dist): Add dist-lzip.
4356         (Options): Likewise.
4357         * lib/Automake/Options.pm (_process_option_list): Add dist-lzip.
4358         * lib/am/distdir.am
4359         (dist dist-all): Add command to create an lzip-compressed tarball.
4360         (distcheck): Handle lzip-compressed tarballs just like the others.
4361         * tests/defs.in: Test for lzip, too.
4362         * tests/lzip.test: New file, based on nogzip.test.
4363         * tests/Makefile.am (TESTS): Add lzip.test.
4364         * NEWS: Update.
4365
4366 2010-02-22  Karl Berry  <karl@gnu.org>
4367
4368         Improve help message of mdate-sh.
4369         * mdate-sh: mention actual output format in help message.
4370
4371 2010-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4372
4373         Deprecate dist-lzma in favor of dist-xz.
4374         * doc/automake.texi (The Types of Distributions, Options):
4375         Adjust text to reflect renaming of lzma to xz.
4376         * NEWS: Update.
4377         Missing deprecation noted by Antonio Diaz Diaz.
4378
4379 2010-02-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
4380
4381         Add tests about support of wildcards in EXTRA_DIST.
4382         * tests/extra10.test: New test, check basic support of wildcards
4383         in EXTRA_DIST.
4384         * tests/extra11.test: New test, check more complex usage of
4385         wildcards in EXTRA_DIST.
4386         * tests/extra12.test: New test, check usage of wildcards in
4387         EXTRA_DIST when $builddir != $srcdir.
4388         * tests/Makefile.am (TESTS): Updated accordingly.
4389         Necessity of these new tests suggested by Braden McDaniel
4390         and Ralf Wildenhues.
4391
4392 2010-02-08  Simon Josefsson  <simon@josefsson.org>
4393
4394         Fix copyright statement in gnupload script.
4395         * lib/gnupload: Fix copyright statement.
4396
4397 2010-02-06  Dmitry V. Levin  <ldv@altlinux.org>  (tiny change)
4398             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4399
4400         Fix exit status of signal handlers in shell scripts.
4401         The value of `$?' on entrance to signal handlers in shell scripts
4402         cannot be relied upon, so set the exit code explicitly to
4403         128 + SIG<SIGNAL>.
4404         * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
4405         * lib/elisp-comp: Likewise.
4406         * lib/install-sh: Likewise.
4407         * lib/ylwrap: Likewise.  Also, fix script to trap signal 13, not 3.
4408         * NEWS, THANKS: Update.
4409         Bug report, analysis, and initial patch by Dmitry V. Levin.
4410
4411 2010-02-06  Karl Berry  <karl@gnu.org>
4412
4413         Improve gnupload usage text.
4414         * gnupload (usage): Shorten to make more likely to fit on a tty
4415         line.  Mention CMD in the synopsis.  With ..., plural is implied.
4416
4417 2010-01-28  Christos Kontas  <xakon@yahoo.com>  (tiny change)
4418
4419         Fix some typos in the manual
4420         * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
4421
4422 2010-01-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4423
4424         Fix silent-rules output for disabled dependency tracking.
4425         * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
4426         expansion code to also work in the case where %AMDEP% expands
4427         to FALSE at config.status time, using new substitution string
4428         %VERBOSE-NODEP%.
4429         * automake.in (verbose_nodep_flag): New function, appending
4430         `@am__nodep@' to the verbose-variable name.
4431         (handle_languages): If dependencies are not disabled, use it to
4432         set %VERBOSE-NODEP%.
4433         * m4/depend.m4: Substitute am__nodep as '_no', so the second
4434         verbose-variable will always expand to an empty string, if
4435         dependencies are enabled.
4436         * tests/silent5.test: Also test --disable-dependency-tracking;
4437         also test per-target flags for non-C language files.
4438         * tests/silent9.test: New test, like silent4.test but disable
4439         dependency tracking.
4440         * tests/Makefile.am: Adjust.
4441         * NEWS, THANKS: Update.
4442         Report by Dmitry V. Levin <ldv@altlinux.org>.
4443
4444 2010-01-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
4445
4446         Slighty improve tests acoutbs.test and acoutbs2.test.
4447         * tests/acoutbs2.test: Enable `errexit' shell flag.  Check that
4448         autoconf and configure work, that the file `zot' is created by
4449         configure, and that no file containing a backslash in its name is
4450         created.
4451         * tests/acoutbs.test: Likewise, plus updated copyright years.
4452
4453         Fix test acoutbs2.test.
4454         * tests/acoutbs2: In the generated configure.in: add proper calls
4455         to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
4456         PACKAGE and VERSION. Add a call to aclocal before calling automake.
4457         Updated copyright years.
4458         * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
4459
4460         Add forgotten test scripts to $(TESTS).
4461         * tests/Makefile.am (TESTS): Added test scripts present on the
4462         filesystem, which were erroneously left out from $(TESTS):
4463         acoutbs2.test, badopt.test, extra2.test.
4464         (XFAIL_TESTS): Added acoutbs2.test.
4465
4466 2010-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4467
4468         Sync auxiliary files from upstream.
4469         * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
4470         Sync from upstream.
4471
4472         Bump copyright years.
4473         * aclocal.in (write_aclocal, version): Bump copyright years.
4474         * automake.in (gen_copyright, version): Likewise.
4475         * doc/automake.texi: Likewise.
4476
4477         Rotate ChangeLog.
4478         * ChangeLog.09: New file, rotated from ...
4479         * ChangeLog: ... here.
4480         * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
4481
4482 -----
4483
4484 Copyright (C) 2010, 2011  Free Software Foundation, Inc.
4485
4486 Copying and distribution of this file, with or without modification, are
4487 permitted provided the copyright notice and this notice are preserved.
4488
4489 ;; Variables:
4490 ;; coding: utf-8
4491 ;; End: