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