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