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