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