Fix another typo in Rule.pm comment.
[platform/upstream/automake.git] / ChangeLog
1 2011-01-09  Peter Rosin  <peda@lysator.liu.se>
2
3         Fix another typo in Rule.pm comment.
4         * lib/Automake/Rule.pm: Fix typo.
5
6 2011-01-09   Stefano Lattarini  <stefano.lattarini@gmail.com>
7
8         cosmetics: remove trailing whitespaces
9         * doc/automake.texi: Remove trailing whitespaces.
10         * tests/cond13.test: Likewise.
11         * tests/cond14.test: Likewise.
12         * tests/fort4.test: Likewise.
13         * tests/fort5.test: Likewise.
14         * tests/suffix7.test: Likewise.
15         * tests/vtexi2.test: Likewise.
16
17         automake: minor fixes in comments
18         * automake.in: Some minor fixes and enhancements in comments.
19
20 2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
21
22         Add test coverage for deleted header files.
23         * tests/depcomp6.test, tests/depcomp7.test: Update tests to
24         also check for the deleted header bug.  If no dependency
25         tracking mechanism could be found, SKIP rather than exit
26         successfully.  Use GNU style spacing and ANSI C prototypes.
27
28         Fix typos in Rule.pm comments.
29         * lib/Automake/Rule.pm: Fix typos in comments.
30
31         docs: split 'amhello Explained' node.
32         * doc/automake.texi (amhello Explained): Split node ...
33         (amhello's configure.ac Setup Explained)
34         (amhello's Makefile.am Setup Explained) : ... into these two.
35         (Top, Hello World): Adjust, and add @anchor for stable URL links.
36         Suggestion by Karl Berry in automake bug#7766.
37
38 2011-01-08  Karl Berry  <karl@freefriends.org>
39             Eric Blake  <eblake@redhat.com>
40
41         docs: reference defining directories in amhello node.
42         * doc/automake.texi (amhello Explained): Point to Autoconf
43         manual for how to convert directory values into macros.
44         (Optional): Fix grammar nit.
45
46 2011-01-02   Stefano Lattarini  <stefano.lattarini@gmail.com>
47
48         * NEWS: Fix typo (forgotten word).
49
50 2011-01-02   Stefano Lattarini  <stefano.lattarini@gmail.com>
51              Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
52
53         docs: how to work around checks on invalid primary/directory couples
54         * doc/automake.texi (Uniform): Document the blessed idiom which can
55         be used to work around automake checks on invalid primary/directory
56         couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
57
58 2011-01-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
59
60         Sync auxiliary files from upstream.
61         * lib/config.guess, lib/config.sub, lib/texinfo.tex:
62         Sync from upstream.
63
64         Fix maintainer-check regression.
65         * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
66         environment.
67
68         Bump copyright years.
69         * aclocal.in (write_aclocal, version): Bump copyright years.
70         * automake.in (gen_copyright, version): Likewise.
71         * doc/automake.texi: Likewise.
72
73 2010-12-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
74             Stefano Lattarini  <stefano.lattarini@gmail.com>
75
76         Work around a bug in file-inclusion mechanism of Solaris make.
77         * automake.in (handle_single_transform): In the name of the
78         dependency file: collapse multiple slash characters into a single
79         one.
80         * tests/subobj11a.test: New test.
81         * tests/subobj11b.test: Likewise.
82         * tests/subobj11c.test: Likewise.
83         * tests/depcomp8a.test: Likewise.
84         * tests/depcomp8b.test: Likewise.
85         * tests/Makefile.am (TESTS): Updated.
86         * NEWS: Updated.
87         Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
88         patch and tests by Stefano Lattarini.
89
90 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
91
92         Fix two spurious testsuite failures on IRIX 6.5.
93         * tests/suffix13.test (Makefile.am): Account for VPATH issues on
94         weaker make implementations (e.g. IRIX 6.5).
95         * tests/parallel-tests8.test: Likewise, plus a required related
96         change.
97         Reported by Ralf Wildenhues.  The bugs have been there from the
98         first versions of the affected test scripts.
99
100 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
101
102         docs: cygnus mode doesn't require AM_CYGWIN32 macro.
103         * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
104         the AM_CYGWIN32 macro (and indeed hasn't required it since at
105         least commit Release-1-2-31-g3038064 "merged changes from
106         Cygnus" of 1997-08-25).
107
108 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
109
110         distlinksbrk.test: Work around botched "make -k".
111         * tests/distlinksbrk.test: Run "make" multiple times and grep
112         its output each time for a single error message, rather than
113         running "make -k" one single time and grepping its output for
114         all the expected error messages.  This should work around make
115         implementations with limited (broken?) `-k' support; for more
116         information, see these subthreads on the automake-patches list:
117           - 2010-11-15, "Testsuite failures on HP-UX 11.23",
118             <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
119           - 2010-11-15, "Testsuite failures on IRIX 6.5",
120             <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
121
122 2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
123
124         Fix sed-related buglet in test "subdir5.test"
125         * tests/subdir5.test: Always terminate text passed to the
126         `i' sed command with a newline, to work around limitations
127         in e.g. older OpenBSD sed.
128
129 2010-12-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
130
131         docs: fix blunder in example about python extension modules
132         * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
133         not `quaternion_SOURCES', to declare the sources of python
134         extension module `quaternion.la'.
135
136 2010-12-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
137
138         docs: list LTLIBRARIES among Automake primaries
139         * doc/automake.texi (Uniform): List `LTLIBRARIES' among
140         the Automake primaries.
141
142 2010-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
143
144         Improve tests on generated portions of configure help screen.
145         * tests/help-depend.test: Grepping of configure help screen
146         relaxed to cater for possible line wrapping, and tightened in
147         other respects.
148         * tests/help-depend2.test: Likewise.
149         * tests/help-dmalloc.test: Likewise.
150         * tests/help-lispdir.test: Likewise.
151         * tests/help-maintainer.test: Likewise.
152         * tests/help-multilib.test: Likewise.
153         * tests/help-silent.test: Likewise.
154         * tests/help-upc.test: Likewise.
155         * tests/help-init.test: Grepping of configure help screen
156         tightened.
157
158 2010-12-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
159
160         Avoid running installed automake from 'libtool --help'.
161         * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
162         Together with fixed Libtool, this fixes check-coverage to not
163         invoke installed automake.
164
165 2010-11-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
166
167         Fix spurious failures in `silent*.test' for $CC != gcc
168         In some tests on automake-produced silent rules, we forced the
169         use of gcc depmode to improve testsuite coverage; but this has
170         unsurprisingly led to spurious failures when some non-GNU C
171         compilers were used.  So we are now careful to require GCC in
172         tests that force gcc depmode.
173         From reports by Ralf Wildenhues.
174         * silent5.test: Test removed, its content split into ...
175         * silent-many-generic.test, silent-many-gcc.test: ... these new
176         sister tests, the latter of which forces gcc depmode and lists
177         "gcc" in $required.
178         * silentlex.test: Test removed, its content split into ...
179         * silent-lex-generic.test, silent-lex-gcc.test: ... these new
180         sister tests, the latter of which forces gcc depmode and lists
181         "gcc" in $required.
182         * silentyacc.test: Test removed, its content split into ...
183         * silent-yacc-generic.test, silent-yacc-gcc.test: ... these new
184         sister tests, the latter of which forces gcc depmode and lists
185         "gcc" in $required.
186         * tests/Makefile.am (TESTS): Updated.
187
188 2010-11-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
189
190         Tests: consistently use "|| Exit 1" after ". ./defs".
191         * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
192         `. ./defs', for consistency with other tests.
193         * tests/autohdr2.test: Likewise.
194         * tests/autohdr3.test: Likewise.
195         * tests/autohdr4.test: Likewise.
196         * tests/cond23.test: Likewise.
197         * tests/cond24.test: Likewise.
198         * tests/cond25.test: Likewise.
199         * tests/cond26.test: Likewise.
200         * tests/cond27.test: Likewise.
201         * tests/cond28.test: Likewise.
202         * tests/cond29.test: Likewise.
203         * tests/cond30.test: Likewise.
204         * tests/cond31.test: Likewise.
205         * tests/cond32.test: Likewise.
206         * tests/cond33.test: Likewise.
207         * tests/cond34.test: Likewise.
208         * tests/cond35.test: Likewise.
209         * tests/cond36.test: Likewise.
210         * tests/cond37.test: Likewise.
211         * tests/cond38.test: Likewise.
212         * tests/cond39.test: Likewise.
213         * tests/cond40.test: Likewise.
214         * tests/cond41.test: Likewise.
215         * tests/cond42.test: Likewise.
216         * tests/cond43.test: Likewise.
217         * tests/cond44.test: Likewise.
218         * tests/cond45.test: Likewise.
219         * tests/dollarvar.test: Likewise.
220         * tests/dollarvar2.test: Likewise.
221         * tests/hfs.test: Likewise.
222         * tests/libobj14.test: Likewise.
223         * tests/percent.test: Likewise.
224         * tests/percent2.test: Likewise.
225         * tests/phony.test: Likewise.
226         * tests/silent.test: Likewise.
227         * tests/silent2.test: Likewise.
228         * tests/silent3.test: Likewise.
229         * tests/silent4.test: Likewise.
230         * tests/silent5.test: Likewise.
231         * tests/silent6.test: Likewise.
232         * tests/silent7.test: Likewise.
233         * tests/silent9.test: Likewise.
234         * tests/silentcxx.test: Likewise.
235         * tests/silentf77.test: Likewise.
236         * tests/silentf90.test: Likewise.
237         * tests/silentlex.test: Likewise.
238         * tests/silentyacc.test: Likewise.
239
240         Avoid useless cleaning in some `silent*.test' tests.
241         * tests/silentf77.test: Removed useless calls to "make clean"
242         and "make maintainer-clean".
243         * tests/silentf90.test: Likewise.
244         * tests/silent3.test: Removed useless call to "make distclean".
245         * tests/silent4.test: Likewise.
246         * tests/silent9.test: Likewise.
247
248 2010-11-19  Ian Lance Taylor  <iant@google.com>
249
250         Sync config-ml.in from GCC.
251         * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
252         compiler/flag environment variables.
253
254 2010-11-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
255
256         Automake::Config: remove extra trailing semicolon.
257         * lib/Automake/Config.in: Remove extra trailing semicolon.
258
259         help4.test: fix botched heading comment.
260         * tests/help4.test: Fixed the heading comment, since it
261         didn't correctly describe what checks the testcase was
262         supposed to perform.
263
264         help2.test: add checks on aclocal too.
265         * tests/help2.test: Check that also `aclocal --version' and
266         `aclocal --help' work with configure.in and acinclude.m4 both
267         broken.
268
269 2010-11-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
270
271         Fix spurious failures of silent-rules tests with Sun Fortran.
272         * tests/silentf77.test: Strip from the make output some verbose
273         messages possibly printed by the SunStudio fortran compilers, to
274         avoid spurious failures.  Add a trailing `:' command.
275         * tests/silentf90.test: Likewise.
276
277 2010-11-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
278
279         Fix spurious failures of silent5.test with Sun Fortran.
280         * tests/silent5.test: Strip from the make output some verbose
281         messages possibly printed by the SunStudio fortran compilers,
282         to avoid spurious failures.  This bug has been there from the
283         very first version of this test script.
284
285 2010-11-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
286
287         Fix regression in colon{5,6}.test (failures on AIX 5.3).
288         * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
289         post-processing the generated Makefile.in, to work around a bug
290         of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
291         on the commend line.  Calls to `$MAKE' adjusted accordingly.
292         * tests/colon6.test: Likewise.
293         Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
294         improve and/or extend tests `colon*.test", and reported by Ralf
295         Wildenhues.
296
297 2010-11-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
298
299         Fix regression in ansi.test (failure on AIX 5.3).
300         * tests/ansi.test: Remove redundant hackish check done using a
301         hand-postprocessed Makefile.in.  This check worked by setting
302         the `$(SHELL)' macro on the command line of make, but this is
303         not supported by the AIX 5.3 make implementation.
304         This bug has been lurking for a long time, and was activated by
305         commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
306         tests".  Report by Ralf Wildenhues.
307
308 2010-11-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
309
310         tests: avoid '##'-style comments inside recipe commands.
311         * tests/confh.test, tests/confh8.test: Remove
312         double-hash comments from makefile rule commands, they
313         are not part of the Automake API.
314
315 2010-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
316
317         tests: work around dash quoting issue in case statements.
318         * tests/color.test, tests/color2.test: Quote variable in case
319         pattern, to avoid skipping tests with dash 0.5.5.1.
320
321 2010-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
322
323         Rebuild menus in the manual.
324         * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
325         Thanks to Ian Lance Taylor for the suggestion.
326
327         Fix install-strip when $(STRIP) contains several words.
328         * lib/am/install.am (install-strip): Update comment.  Use
329         separate sub-make invocations for empty and nonempty $(STRIP),
330         to fix quoting issues.
331         * tests/strip2.test, tests/strip3.test: New tests.
332         * tests/Makefile.am (TESTS): Adjust.
333
334 2010-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
335
336         Fix yaccdry.test failure: require bison.
337         * tests/yaccdry.test: Require bison.
338         Found by NixOS Hydra.
339
340 2010-11-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
341
342         Fix a bug in variable concatenation with `+='.
343         * lib/Automake/VarDef.pm (append): Since the content of the
344         "appended-to" variable is going to be unconditionally normalized
345         later, simply separate the appended value with a single whitespace
346         character, instead of trying to be uselessly smarter by using
347         escaped newlines.  This fixes a bug in which extra backslashes
348         where erroneously inserted in the variable's final value.
349         * tests/pluseq11.test: New test, exposing the bug.
350         * tests/Makefile.am (TESTS): Update.
351         Reported by Andy Wingo.
352
353 2010-11-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
354
355         Fix bug in rules for creating vala vapi/header files.
356         * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
357         if control structure in a generated make rules.  Bug introduced
358         by previous commit `v1.11-221-gd7c1679', and revealed by failure
359         of test `vala2.test'.
360
361 2010-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
362
363         Fix and document rules to not touch the tree with `make -n'.
364         * doc/automake.texi (Multiple Outputs): Document the problem of
365         modifications during dry-run execution, propose solution.
366         * NEWS: Update.
367         * automake.in (lang_vala_finish_target): Split recipe so the
368         stamp file is not removed with GNU `make -n'.
369         (lang_yacc_target_hook): Separate removal of parser output file
370         and header remaking.
371         * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
372         passed to make, take care not to remove any files in that case.
373         * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
374         %STAMP% file from induced remaking of config header.
375         * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
376         New tests.
377         * tests/Makefile.am (TESTS): Update.
378
379 2010-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
380
381         Add FAQ entry for bug reporting instructions.
382         * doc/automake.texi (Reporting Bugs): New section.
383         (Introduction): Refer to it.
384
385 2010-10-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
386
387         Add support for newer python versions.
388         * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
389         _AM_PYTHON_INTERPRETER_LIST.  Since we are at it, break a long
390         line and fix indentation.
391         * THANKS: Updated.
392         From a report by Thomas Klausner.
393
394         Add test for `AM_WITH_DMALLOC' macro.
395         * tests/dmalloc.test: New test.
396         * tests/Makefile.am (TESTS): Update.
397
398         Fix nits and bugs in tests `help*.test'.
399         * tests/help4.test: Fix broken sed commands used to strip `-W...'
400         flags away from "$AUTOMAKE" and "$ACLOCAL".
401         * tests/help3.test: Likewise, and fix a botched comment.
402         * tests/help.test: Likewise.  Also, use "AUTOMAKE_fails ..."
403         instead of "$AUTOMAKE ... && Exit 1", for consistency and to
404         please maintainer-check.
405         * tests/help2.test: Likewise.
406
407 2010-10-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
408             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
409
410         Improve tests `help*.test' (also fixes maintcheck failures).
411         * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
412         flags stripped away rather than hard-coded `automake-$APIVERSION',
413         to better honour user-overrides.  Similarly for aclocal.
414         * tests/help2.test: Likewise.
415         * tests/help3.test: Likewise.
416         * tests/help4.test: Likewise.
417
418 2010-10-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
419
420         Document and fix expansion of variables before rules.
421         * doc/automake.texi (General Operation): Document that variables
422         are expanded before rules.
423         * lib/am/check.am (am__check_post): Reword a bit so it does not
424         get matched as a rule.
425         Suggestion by Ben Pfaff.
426
427 2010-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
428
429         Revert "parallel-tests: avoid command-line length limit issue."
430         This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
431         because it re-opened the bug fixed by v1.11-10-g218e678.
432
433         2010-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
434
435         parallel-tests: avoid command-line length limit issue.
436         * automake.in (handle_tests): New argument $makefile, new
437         substitution %MAKEFILE%.
438         (generate_makefile): Adjust.
439         * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
440         sanitized TEST_LOGS value as makefile snippet on standard
441         input to $(MAKE), to avoid exceeding the command line limit on
442         w32 (MSYS).
443         * NEWS: Update.
444         Report by Bob Friesenhahn.
445
446 2010-09-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
447
448         Extend tests on `--help' and `--version' options.
449         * tests/help.test: Create a new empty directory and chdir into
450         it, rather than removing already present files.  Run the aclocal
451         and automake wrapper scripts directly, instead of relying on
452         $AUTOMAKE and $ACLOCAL.  Be sure to correctly match literal dots
453         in aclocal's and automake's stderr.  Add a trailing `:' command.
454         * tests/help2.test: New test, checking that options `--help' and
455         `--version' works in directories with broken `configure.in'.
456         * tests/help3.test: New test, checking that options `--help' and
457         `--version' take precedence on the other options.
458         * tests/help4.test: New test, checking that the first among the
459         `--help' and `--version' options to be specified on the command
460         line wins.
461         * tests/Makefile.am (TESTS): Updated.
462
463 2010-09-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
464
465         Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
466         * tests/compile2.test: Do no uselessly (implicitly) repeat the
467         computation of PATH_SEPARATOR again.
468         * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
469         extending/redefining PATH.
470         * tests/instmany-python.test: Likewise.
471         * tests/instmany.test: Likewise.
472         * tests/man4.test: Likewise.
473         * tests/mkinst3.test: Likewise.
474         * tests/mmodely.test: Likewise.
475         * tests/multlib.test: Likewise.
476         * tests/txinfo30.test: Likewise.
477         * tests/README (Section "Writing test cases" subsection "Do"):
478         Updated.
479         * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
480         (syntax_check_rules): Updated.
481
482         Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
483         * tests/defs.in ($APIVERSION):  New AC_SUBST'd variable.
484         ($ACLOCAL, $AUTOMAKE): Use it.
485         ($PATH_SEPARATOR):  New AC_SUBST'd variables.
486         ($PATH): Use it.
487
488 2010-09-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
489
490         Manual: be more agnostic w.r.t. version control system used.
491         * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
492         directories as a type of probably-unwanted files that are copied
493         regardless when adding directories to EXTRA_DIST.
494         (The dist Hook): Show a dist-hook example which removes Subversion
495         `.svn' private directories from distdir, rather than CVS private
496         directories.
497         (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
498         the version control system used.
499
500         Manual: index refer to target "git-dist", not "cvs-dist".
501         * doc/automake.texi (General Operation): Index the non-standard
502         example about "git-dist" under the "git-dist" label, not under
503         the "cvs-dist" one.
504
505         Perl modules: remove references to "Automake CVS repository".
506         * lib/Automake/Channels.pm: Update comments to refer to "Automke's
507         git repository" rather than to "Automake's CVS repository".
508         * lib/Automake/Configure_ac.pm: Likewise.
509         * lib/Automake/FileUtils.pm: Likewise.
510         * lib/Automake/Struct.pm: Likewise.
511         * lib/Automake/XFile.pm: Likewise.
512         * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
513         branches" rather than "CVS branches".
514
515         Remove obsolete .cvsignore files.
516         * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
517         lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
518         m4/.cvsignore, tests/.cvsignore: Files deleted.  Even when using
519         savannah's CVS readonly mirror there's no way to commit back to
520         the real repository, so this files are not worth maintaining or
521         keeping around.
522
523 2010-09-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
524
525         * m4/dmalloc.m4: Bump serial number and copyright years.
526
527 2010-09-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
528
529         Fix broken link in `AM_WITH_DMALLOC' help screen.
530         * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
531         `http://www.dmalloc.com', not to the dmalloc tarball there (which
532         seems to have been removed, substituted by multiple release
533         tarballs now).
534
535 2010-09-17  Eric Blake  <eblake@redhat.com>
536
537         Avoid triple-space after period.
538         * automake.in (handle_single_transform): Avoid 3 spaces at
539         sentence end.
540         * ChangeLog.03: Likewise.
541         * lib/Automake/ChannelDefs.pm: Likewise.
542         * lib/Automake/Channels.pm (_print_message): Likewise.
543         * lib/Automake/Rule.pm (rule): Likewise.
544         * lib/Automake/Variable.pm (var): Likewise.
545         * lib/am/distdir.am: Likewise.
546         * tests/insthook.test: Likewise.
547
548 2010-09-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
549
550         Test automake-generated portions of configure help screen.
551         * tests/help-depend.test: New test.
552         * tests/help-depend2.test: Likewise.
553         * tests/help-dmalloc.test: Likewise.
554         * tests/help-init.test: Likewise.
555         * tests/help-lispdir.test: Likewise.
556         * tests/help-maintainer.test: Likewise.
557         * tests/help-multilib.test: Likewise.
558         * tests/help-regex.test: Likewise.
559         * tests/help-silent.test: Likewise.
560         * tests/help-upc.test: Likewise.
561         * tests/mmode.test: Remove tests on `configure --help' output,
562         they are superseded by tests in `help-maintainer.test'.
563         * tests/Makefile.am (TESTS): Update.
564
565 2010-09-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
566
567         * tests/README: Don't put GCS mandated tools in $required.
568
569 2010-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
570
571         * HACKING: Hint at old commits with `git describe' output.
572
573 2010-09-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
574
575         Fix regression in test `colon4.test'.
576         * tests/colon4.test: Fix botched editing to `configure.in'
577         that made the test useless.  Since we are at it, improve
578         comments and make grepping of generated Makefile.in slightly
579         stricter.
580         Regression introduced by change "Modernize, improve and/or
581         extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
582
583 2010-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
584
585         Do not require "gzip" explicitly in tests.
586         The gzip utility is simply expected to be present on any decent
587         target system for Automake.  So it's pointless to put it in
588         $required.
589         * tests/install2.test ($required): Do not require "gzip".
590         * tests/lex3.test: Likewise.
591         * tests/pr9.test: Likewise.
592         From a suggestion by Ralf Wildenhues.
593
594         Make some `confh*.test' tests more "semantic" (plus tweakings).
595         * tests/confh.test: Run "autoconf", "configure" and "make check",
596         instead of munging/grepping the generated `Makefile.in'.
597         * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
598         white spaces.  Do not create useless dummy source file `foo.c'
599         and useless dummy header file `acconfig.h'.
600         (configure.in): Remove superfluous call to `AC_OUTPUT'.
601         * tests/confh6.test: Add trailing `:' command.
602         * tests/confh7.test: In comments, add reference to ...
603         * tests/confh8.test: ... this new test, "semantic" sister
604         of `confh7.test'.
605         * tests/Makefile.am (TESTS): Updated.
606         Prompted by a report from Ralf Wildenhues.
607
608         Remove useless whitespace padding in XFAIL_TESTS definition.
609         * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
610
611 2010-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
612
613         parallel-tests: avoid command-line length limit issue.
614         * automake.in (handle_tests): New argument $makefile, new
615         substitution %MAKEFILE%.
616         (generate_makefile): Adjust.
617         * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
618         sanitized TEST_LOGS value as makefile snippet on standard
619         input to $(MAKE), to avoid exceeding the command line limit on
620         w32 (MSYS).
621         * NEWS: Update.
622         Report by Bob Friesenhahn.
623
624         Posix 2008 requires make to set errexit.
625         * lib/am/check.am: Update comment.
626
627 2010-08-27  Stefano Lattarini  <stefano.lattarini@gmail.com>
628
629         Fix bug in test missing6.test.
630         * tests/missing6.test: Fix the hack used to edit `configure.in',
631         to avoid producing a configure script that breaks with shells
632         that do not support $LINENO.  Also throw in a couple of cosmetic
633         changes.
634
635 2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
636
637         Improve robustness of mdate-sh script.
638         * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
639         $ls_command is word-split properly upon invocation.
640         (error): New function.
641         (main): Use it.  Improve error checking to avoid endless loop
642         in case $ls_command gave bogus output.  Fix eval quotation.
643         * tests/mdate6.test: New test, to expose eval quotation error.
644         * tests/Makefile.am: Update.
645
646 2010-08-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
647
648         Fix potential regressions in depcomp{3,5}.test.
649         * tests/depcomp3.test: Do not uselessly escape the character `$'
650         in makefile rules, when it's used to expand a make macro.
651         * tests/depcomp5.test: Likewise.
652
653 2010-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
654             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
655
656         Docs: clarify how to avoid automatic dependencies tracking.
657         * doc/automake.texi (Automatic dependency tracking): Mention that
658         automatic dependencies tracking is enabled by default, but that
659         the package developer can disable it altogether.  Add a reference
660         to the proper section for a more in-depth explanation.
661
662         Fix typo in manual (`Makefile.in' instead of `Makefile.am').
663         * doc/automake.texi (Automatic dependency tracking): Fix typo.
664
665 2010-08-16  Bruno Haible  <bruno@clisp.org>
666
667         Don't hide the table of contents.
668         * doc/automake.texi: Move the table of contents to the beginning.
669
670 2010-08-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
671
672         Tweak and/or extend some `acloca*.test' tests.
673         * tests/aclocal8.test:  Ensure verbose printing of captured
674         output.
675         * tests/aclocal.test: Likewise.  Also, add trailing `:'
676         command.
677         * tests/acloca19.test: Likewise.
678         * tests/aclocal5.test: Add trailing `:' command, and prefer
679         `$me' over hard-coded test name.
680         * tests/aclocal6.test: Likewise.
681         * tests/aclocal18.test: Add trailing `:' command, and make
682         some grepping slightly stricter.
683         * tests/acloca14.test: Likewise.  Also, prefer `diff' over
684         `cmp', and add some "cosmetic" blank lines.
685
686 2010-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
687
688         Tweak and extend tests `pr[!0-9]*.test'.
689         * tests/primary3.test: Add trailing `:' command.
690         * tests/primary.test: Make grepping of Automake's stderr stricter.
691         Also, add trailing `:' command, and cosmetic changes in spacing.
692         * tests/primary2.test: Likewise.
693         * tests/prefix.test: Enable `errexit' shell flags, and related
694         changes.  Add a trailing `:' command.
695         * tests/proginst.test: Likewise.
696
697         Modernize, improve and extend tests for PR (`pr[0-9]*.test').
698         * tests/pr2.test: Add trailing `:' command.
699         * tests/pr229.test: Likewise.
700         * tests/pr401.test: Likewise.
701         * tests/pr401b.test: Likewise.
702         * tests/pr401c.test: Likewise.
703         * tests/pr300-prog.test: Likewise, plus cosmetic changes in
704         spacing.
705         * tests/pr300-lib.test: Likewise.
706         * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
707         of captured make stdout.
708         * tests/pr211.test: Add trailing `:' command.  Also, use the
709         `configure.in' stub created by ./defs, rather than writing it
710         from scratch.
711         * tests/pr204.test: Likewise, plus cosmetic spacing changes.
712         * tests/pr287.test: Likewise, and move setting of `errexit' shell
713         flag earlier in the script (just after inclusion of ./defs).
714         * tests/pr220.test: Make grepping of Automake's stderr stricter.
715         Also, add trailing `:' command, and cosmetic changes in spacing.
716         * tests/pr224.test: Move setting of `errexit' shell flag earlier
717         in the script (just after inclusion of ./defs).  Do not export
718         `CC=gcc' to configure explicitly (it's already exported globally
719         in ./defs, since we have "gcc" in $required).  Use the stub for
720         `configure.in' created by ./defs, rather than writing it from
721         scratch.  Do not create dummy files required by "gnu" mode (e.g.
722         README, NEWS), since we run automake in foreign mode anyway.
723         * tests/pr72.test: Enable `errexit' shell flags, and related
724         changes.  Extend existing checks a bit.
725         * tests/pr9.test: Likewise.  Also, avoid obsolescent constructs in
726         the generated `configure.in', and extend existing checks over the
727         generated tarball a bit.
728         * tests/pr87.test: Enable `errexit' shell flags, and related
729         changes.  Add a trailing `:' command.  Also, do not create dummy
730         files required by "gnu" mode (e.g. README, NEWS), since we run
731         automake in foreign mode anyway.
732         * tests/pr243.test: Avoid obsolescent constructs in the generated
733         `configure.in'.  Enable the `errexit' shell flag, and related
734         changes.  Cosmetic changes to spacing, add trailing `:' command,
735         and add a "FIXME" comment.
736         * tests/pr266.test: Likewise, and add explicit command line switch
737         `--enable-dependecy-tracking' to the ./configure call.
738         * tests/pr279.test: Avoid obsolescent constructs in the generated
739         `configure.in'; also, use the `configure.in' stub created by
740         ./defs, rather than writing it from scratch.  Enable `errexit'
741         shell flag, and related changes.  Add trailing `:' command.
742         * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
743         stricter.
744         * tests/pr307.test: Move setting of `errexit' shell flag earlier
745         in the script (just after inclusion of ./defs).  Escape literal
746         dots in grep regular expressions.  Also, add a trailing `:'
747         command, and cosmetic changes to spacing.
748
749         Tests for PR: add excerpts from original bug report, for clarity.
750         * tests/pr2.test: Ditto.
751         * tests/pr9.test: Likewise.
752         * tests/pr72.test: Likewise.
753         * tests/pr87.test: Likewise.
754         * tests/pr211.test: Likewise.
755         * tests/pr220.test: Likewise.
756         * tests/pr224.test: Likewise.
757         * tests/pr229.test: Likewise.
758         * tests/pr243.test: Likewise.
759         * tests/pr266.test: Likewise.
760         * tests/pr279.test: Likewise, and tell to keep it in sync
761         with its sister test.
762         * tests/pr279-2.test: Likewise.
763
764 2010-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
765
766         Tweak, extend and improve tests `cond[a-z]*.test'.
767         * tests/condd.test: Add trailing `:' command.  Typofix in
768         comment.
769         * tests/condhook.test: Make sure target `install-data-hook' is
770         not called by `make install', but that data files are installed.
771         Use proper m4 quoting in configure.in. Add trailing `:' command.
772         * tests/condhook2.test: New test, sister test of condhook, with
773         inverted semantic.
774         * tests/condinc2.test: Use proper m4 quoting in configure.in.
775         Prefer trailing `:' command over trailing `Exit 0'.
776         * tests/condman2.test: Enable errexit shell flag, and related
777         changes.  Add trailing `:' command.
778         * tests/condman.test: Likewise.  Also, do not create useless
779         dummy manpages, and use proper m4 quoting in configure.in.
780         * tests/condman3.test: New test, similar to condman.test, but
781         it also runs ./configure and "make install", and check the
782         installed files.
783         * tests/Makefile.am (TESTS): Updated.
784
785         Modernize, improve and/or extend tests `colon*.test.
786         * tests/colon.test: Rely on the `configure.in' stub created by
787         `./defs', rather than writing one from scratch.  Do not create
788         a useless dummy file.  Add trailing `:' command.
789         * tests/colon4.test: Enable the `errexit' shell flag, and
790         related changes.  Rely on the `configure.in' stub created by
791         `./defs', rather than writing one from scratch.
792         * tests/colon7.test: Enable `errexit' shell flag, and related
793         changes.  Improve the generated `configure.in' file.  Add
794         trailing `:' command.
795         * tests/colon2.test: Likewise.  Also, add some new checks.
796         * tests/colon5.test: Improve the generated `configure.in' file.
797         Add new, much deeper checks.  Add trailing `:' command.
798         * tests/colon6.test: Likewise.
799         * tests/colon3.test: Add trailing `:' command.  Remove useless
800         comments and echos.  Improve the generated `configure.in' file.
801         make some grepping tests stricter.  Add a "FIXME" comments about
802         planned improvements.
803
804         Improve and extend tests `asm*.test'.
805         * tests/asm.test: Use configure.in stub generated by ./defs,
806         and avoid obsoleted autoconf constructs.  Make grepping of
807         Automake stderr stricter.  Do not create useless source file.
808         Improve verbose messages.  Minor cosmetic changes.  Tell to
809         keep it in sync with other sister tests asm*.test.
810         * tests/asm2.test: Likewise.
811         * tests/asm3.test: Likewise.
812
813         Modernize, improve and/or extend test scripts `conf*.test'.
814         * tests/confh5.test: Cosmetic changes.
815         * tests/conff.test: Likewise.
816         * tests/confdeps.test: Likewise.
817         * tests/conflnk.test: Likewise.
818         * tests/conflnk2.test: Likewise.
819         * tests/confsub.test: Likewise.
820         * tests/confvar.test: Likewise, and make grepping of Makefile.in
821         stricter.
822         * tests/confvar2.test: Likewise.
823         * tests/conflnk3.test: Cosmetic changes.  Re-enable a temporarily
824         disabled test (which didn't work with autoconf <= 2.59, but now we
825         are requiring autoconf 2.62, so...)
826         * tests/conflnk4.test: Cosmetic changes, and extend existing tests
827         accordingly to "TODO" comments.
828         * tests/conff2.test: Make grepping of Automake's stderr stricter.
829         Add some comments explaining why we don't use the `configure.in'
830         stub preset be ./defs.
831         * tests/confh.test: Use the `configure.in' stub created by ./defs,
832         rather than writing one from scratch, and do not call AC_OUTPUT.
833         Enable `errexit' shell flag, and related changes.  Prefer diff over
834         cmp to compare text files. Prefer perl over sed to fetch the value
835         of $(DIST_COMMON) from Makefile.in.  Make grepping of the contents
836         of $(DIST_COMMON) stricter.
837         * tests/confh4.test: Use the `configure.in' stub created by ./defs,
838         rather than writing one from scratch.  Make grepping of Makefile.in
839         stricter.
840         * tests/confh5.test: Make grepping of `config.h' stricter.  Add a
841         comment.
842         * tests/configure.test: Avoid obsolescent constructs in generated
843         `configure.ac'.  Do not write `configure.in' two times.  Escape
844         literal dots in grep regular expressions.
845         * tests/confincl.test:  Enable `errexit' shell flag, and related
846         changes.  Prefer fgrep over grep.  Other cosmetic changes.
847         * tests/config.test: Renamed to ...
848         * tests/confh6.test: ... this.  Fix m4 quoting in `configure.in',
849         and make grepping of `config.h' and `config.h.in' stricter.
850         * tests/conf2.test: Renamed ...
851         * tests/confh7.test: ... to this.  Use the `configure.in' stub
852         created by ./defs, rather than writing one from scratch.  Try to
853         run the checks both with and without AC_PROG_CC and AC_OUTPUT in
854         `configure.in'.
855         * tests/Makefile.am (TESTS): Updated.
856
857         Minor improvements and fixes in tests `depcomp*.test'.
858         * tests/depcomp.test: Do not create useless dummy source files.
859         Add a trailing `:' command.
860         * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
861         it's not in in the environment, rather than exporting it with an
862         empty value.  Do not pass CC=gcc to configure, as that's already
863         done in ./defs since we have gcc in $required.  Ensure verbose
864         printing of captured stderr, and normalize its checking.  Add a
865         trailing `:' command.
866         * tests/depcomp3.test: Quote literal dots and dollar characters in
867         grep regexps.  Always use `: >' rather than `touch' to create empty
868         files.  Explicitly declare phony targets as such in the created
869         Makefile.am.  Add a trailing `:' command.
870         * tests/depcomp4.test: Quote literal dots and dollar characters in
871         grep regexp.  Explicitly declare phony targets as such in the
872         created Makefile.am.  Ensure verbose printing of captured makes'
873         stoud/stderr.  Add a trailing `:' command.
874         * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
875         in the script (just after inclusion of ./defs).  Quote literal dots
876         and dollar characters in grep regexps.  Explicitly declare phony
877         targets as such in the created Makefile.am.  Add a trailing `:'
878         command.
879         * tests/depcomp6.test: Consistently use m4 quoting in the generated
880         configure.in.  Cosmetic fixes to spacing.  Make the "dummy" `if'
881         statement required by OpenBSD's sh `set -e' more robust, and add
882         explanatory comments to it.
883         * tests/depcomp7.test: Likewise, and add  a trailing `:' command.
884
885         Separate failing part of test `all.test'.
886         * tests/all.test: Keep only (x)failing part of the test.  Working
887         checks moved out to ...
888         * tests/all2.test: ... this new test.
889         * tests/Makefile.am (TESTS): Updated.
890
891         Modernize, improve and extend tests `subobj*.test'.
892         * tests/subobjname.test:  Add trailing `:' command.
893         * tests/subobj.test: Make grepping of `Makefile.in' stricter.
894         Escape literal dots in grep regexps.
895         * tests/subobj2.test:  Add trailing `:' command.  Do not use the
896         unportable fgrep option `-e'.
897         * tests/subobj3.test: Add trailing `:' command.
898         (configure.in): Use proper m4 quoting, and avoid obsolescent
899         constructs.
900         * tests/subobj8.test: Likewise.  Also, enable `errexit' shell
901         flag, with related changes
902         * tests/subobj4.test: Likewise.  Also, make grepping of
903         `Makefile.in' stricter.
904         * tests/subobj5.test: Add trailing `:' command.  Move setting of
905         `errexit' shell flag earlier in the script (just after inclusion
906         of ./defs).
907         (configure.in): Use the stub created by `./defs', rather than
908         writing it from scratch, and avoid obsolescent constructs.
909         * tests/subobj6.test: Add trailing `:' command.  Move setting of
910         `errexit' shell flag earlier in the script (just after inclusion
911         of ./defs).  Do not create useless dummy ac-init file `f'.
912         * tests/subobj7.test: Do not create useless dummy ac-init file
913         `f'.
914         (configure.in): Use the stub created by `./defs', rather than
915         writing it from scratch, and avoid obsolescent constructs.
916         * tests/subobj9.test: Move setting of `errexit' shell flag earlier
917         in the script (just after inclusion of ./defs).  Fail the test if
918         `make distcheck' fails.  Ensure verbose printing of captured make
919         stdout.  Avoid useless fork by doing simple grep instead of using
920         test -n "`COMMAND | grep ...`".
921         (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
922         (Makefile.am): Explicitly mark target "print" as phony.
923         * tests/subobj10.test: Removed duplicated call to `set -e'.  Add
924         trailing `:' command.
925         (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
926
927         Remove a couple of obsoleted tests.
928         * tests/fpinstall.test: Removed.
929         * tests/fpinst2.test: Likewise.
930         * tests/Makefile.am (TESTS): Updated.
931
932         Bootstrap: updated HACKING entry.
933         * HACKING ("Working with git"): Explain how to override the
934         autoconf and autom4te programs used by the bootstrap process.
935
936         Bootstrap: fixlet.
937         * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
938         since we don't generate it.  Correctly quote arguments of
939         `eval' builtin.  Fixed a botched error message.  Removed an
940         extra blank line.
941
942         Bootstrap: don't search perl in $PATH.
943         * bootstrap: Do not explicitly search perl in $PATH anymore.
944         ($PATH_SEPARATOR): Removed, it's no more needed.
945
946         Bootstrap: let the user choose which autoconf to use.
947         * bootstrap ($AUTOCONF): New variable, from the environment.
948         ($AUTOM4TE): Likewise, for clarity.
949         Use "$AUTOCONF" instead of calling "autoconf" directly.
950
951         Minor improvements to tests ar*.test.
952         * tests/ar.test: Add trailing `:' command.
953         * tests/ar2.test: Likewise, and make grepping of generated
954         Makefile.in stricter.
955
956 2010-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
957
958         Fix maintainer-check failure.
959         * tests/cond5.test: Quote sleep argument, this isn't about
960         time stamp differences.
961
962         Sync auxiliary files from upstream.
963         * lib/config.guess, lib/config.sub, lib/texinfo.tex:
964         Sync from upstream.
965
966 2010-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
967
968         Work around a nasty bug (segfault) of Solaris make.
969         * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
970         from $list, to avoid triggering a nasty bug (potential segfault)
971         on Solaris make.
972
973 2010-08-06  Peter Rosin  <peda@lysator.liu.se>
974
975         Make cond5.test more robust on MSYS.
976         * tests/cond5.test: Add delay before the first kill attempt to
977         cater for problems with MSYS bash.
978
979 2010-07-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
980
981         Add example git work flow; discuss merge --log in HACKING.
982         * HACKING: Update.
983         Suggestion by Stefano Lattarini.
984
985         Add more hints for debugging make rules.
986         * doc/automake.texi (Debugging Make Rules): Show command to find
987         out expanded values of variables; point to makefile debugger.
988         * THANKS: Update.
989         Prompted by suggestion from Ludovic Courtès and Andy Wingo.
990
991 2010-07-27  Patrick Welche  <prlw1@cam.ac.uk>  (tiny change)
992
993         Fix typo in the manual.
994         * doc/automake.texi (Scripts): Fix typo.
995
996 2010-07-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
997
998         Document current policy for development with git.
999         * HACKING (Working with git): Overhaul.
1000         Prompted by suggestion from Stefano Lattarini.
1001
1002         Fix AM_COND_IF for gone-invalid condition shell expression.
1003         * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
1004         variable, rather than re-evaluating the shell expression for
1005         the condition.
1006         * tests/cond40.test: Extend test.
1007         * NEWS: Update.
1008
1009         Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
1010         * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
1011         to avoid shell syntax error if the m4 expansion is empty.
1012         * tests/cond40.test: Enhance test.
1013
1014         Coverage: bogus option to AM_INIT_AUTOMAKE.
1015         * tests/init2.test: New test.
1016         * tests/Makefile.am: Update.
1017
1018 2010-07-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1019
1020         Modernize and improve test scripts `subdir*.test'.
1021         * tests/subdir.test: Enable `errexit' shell flag, and related
1022         changes.  Use the `configure.in' stub created by `./defs',
1023         rather than writing one from scratch.
1024         * tests/subdir2.test: Likewise.
1025         * tests/subdir4.test: Likewise.
1026         * tests/subdir3.test: Enable `errexit' shell flag, and related
1027         changes.  Do not create useless dummy source files.
1028         * tests/subdir5.test: Make grepping of Makefile.in (in topdir
1029         and in subdirs) stricter.  Some minor changes to keep it more
1030         in sync with the related test `subdir8.test'.
1031         * tests/subdir8.test: Likewise (but with the related test being
1032         `subdir5.test' here).
1033         * tests/subdir6.test: Cosmetic change in spacing.
1034         * tests/subdir9.test: Define and use new variable `$distdir'.  Add
1035         trailing `:' command.
1036         * tests/subdir10.test: Cosmetic consistency-related change.
1037         * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
1038         (configure.in): Use stub created by `./defs', rather than writing
1039         it from scratch.  Do not use obsoleted and/or deprecated forms of
1040         autoconf/automake macros.
1041
1042         Modernize and improve test scripts `dist*.test'.
1043         * tests/distcleancheck.test: Do not add useless `-e' option to
1044         a $MAKE call.  Extend test by grepping stderr of make.
1045         * tests/distcom2.test: Do not run the same test script on the
1046         Makefile.in twice, but save its output in an intermediate file
1047         instead.  Make grepping of DIST_COMMON definition stricter.
1048         Display the content of more files, to ease debugging.  Add a
1049         trailing `:' command.  Improved heading comments w.r.t. sister
1050         test(s).
1051         * tests/distcom6.test: Likewise, and avoid to uselessly run
1052         autoconf.
1053         * tests/distcom3.test: Ensure verbose printing of captured stdout
1054         and stderr.  Make grepping of captured stderr stricter.  Also,
1055         add trailing `:' command.
1056         * tests/distcom4.test: Declare the target `test' in the generated
1057         Makefile.am as `.PHONY'.  Display content of more files, to ease
1058         debugging.  Add trailing `:' command.
1059         * tests/distcom5.test: Likewise.  Also, factor out common sed
1060         script in subroutine `extract_distcommon'.
1061         * tests/distcom7.test: Prefer cat + here-doc over echo to write
1062         test Makefile.am files.  Add a trailing `:' command.
1063         * tests/distname.test: Prefer `gzip -d' over `gunzip'.  Move the
1064         call to `set -e' earlier.  Be stricter and more verbose in the
1065         checking of the generated tarball.
1066         (configure.in): Use the stub provided by ./defs, instead of
1067         writing it from scratch.  Avoid obsoleted constructs.  Remove
1068         useless call to `AM_PROG_CC_C_O'.
1069         * tests/distdir.test: Various minor improvements/normalizations.
1070         * tests/distlinks.test: Likewise.
1071
1072 2010-07-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
1073
1074         Improve and extend test cond5.test.
1075         * tests/cond5.test: Do not blindly sleep 60 seconds before polling
1076         the background automake process, but poll it every 10 seconds for
1077         at most 30 times (this makes the test both faster on good machines,
1078         and more resilient to spurious timeout-due failures when in low
1079         priority or on heavily-loaded systems).
1080         Check also that automake writes the expected error messages on the
1081         standard error.
1082         Enable `errexit' flag, and related changes.
1083         Rely on the `configure.in' stub created by `./defs', rather than
1084         writing one from scratch.
1085
1086 2010-06-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1087
1088         Update program --help output to match current GCS.
1089         * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
1090         is not defined, for compatibility to Autoconf < 2.64.
1091         * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
1092         PACKAGE_URL.
1093         (sc_diff_automake_in_automake): Update number of diff lines for
1094         additional substitutions.
1095         * aclocal.in (usage): Use PACKAGE_BUGREPORT.  Point to Automake
1096         home page and GNU general help page.
1097         * automake.in (usage): Likewise.
1098         * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
1099         address.
1100         (Introduction, Creating amhello, amhello Explained, Options):
1101         Use it throughout.
1102         * lib/Automake/Makefile.am (do_subst): Substitute
1103         PACKAGE_BUGREPORT.
1104         * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
1105         * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
1106         messages.
1107
1108         Clean up @var handling in the manual.
1109         * doc/automake.texi: Throughout the manual, lower-case @var
1110         names, replace a few one-character names.
1111
1112 2010-06-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
1113
1114         Fix typo-related bug in test script silent5.test.
1115         * tests/silent5.test: Use $EGREP, not $GREP (which is not even
1116         defined).
1117
1118         Tests: remove useless repetitions of `foreign' automake option.
1119         * tests/multlib.test (configure.in): Remove useless use of
1120         `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
1121         already in $AUTOMAKE by default, so no point in repeating it).
1122         * tests/subobj10.test: Likewise.
1123         * tests/subobj9.test: Likewise.
1124         * tests/lex3.test (Makefile.am): Similarly, remove useless use
1125         of `foreign' option in AUTOMAKE_OPTIONS.
1126         * tests/lex5.test: Likewise.
1127         * tests/pr279.test: Likewise.
1128         * tests/pr279-2.test: Likewise.
1129         * tests/specflg3.test: Likewise.
1130         * tests/target-cflags.test: Likewise.
1131
1132         Drop useless requirement "gzip" in lex5.test.
1133         * tests/lex5.test ($required): Do not list "gzip", as it's
1134         never used.
1135
1136 2010-06-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
1137
1138         Fix bugs in test script silent5.test.
1139         * tests/silent5.test: Fixed a nasty bug (due to the use of grep
1140         instead of egrep) that could have led to false negatives.
1141
1142 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1143
1144         Add a test checking that distributed broken symlinks cause
1145         `make dist' to fail.
1146         * tests/distlinksbrk.test: New test.
1147         * tests/Makefile.am (TESTS): Updated.
1148
1149 2010-06-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1150
1151         Fix minor testsuite issues, update docs, for Yacc/Lex changes.
1152         * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
1153         and AM_LFLAGS, LFLAGS in the order in which they now appear in
1154         the rules.
1155         * NEWS: Update.
1156         * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
1157         tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
1158         please maintainer-check.  Ensure generated C files contain a
1159         declaration, to please compilers.
1160
1161 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1162
1163         Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
1164         $(FLAGS) precedence.
1165         * automake.in: Fix registration of languages "Lex", "Lex (C++)",
1166         "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
1167         $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
1168         * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
1169         * NEWS: Updated.
1170
1171         New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
1172         $(AM_FLAGS) and $(FLAGS) precedence.
1173         * tests/lflags.test: New test, check that user $(LFLAGS) takes
1174         precedence over automake (AM_LFLAGS) and (foo_LFLAGS).  Still
1175         xfailing.
1176         * tests/lflags2.test: Likewise.
1177         * tests/yflags.test: New test, check that user $(YFLAGS) takes
1178         precedence over automake (AM_YFLAGS) and (foo_YFLAGS).  Still
1179         xfailing.
1180         * tests/yflags2.test: Likewise.
1181         * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
1182
1183 2010-06-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1184
1185         Modernize, improve and extend tests `suffix*.test'.
1186         * tests/suffix3.test: Enable `errexit' shell flag, and related
1187         changes.
1188         * tests/suffix4.test: Likewise.
1189         * tests/suffix6.test: Likewise, and do not create a useless dummy
1190         source file.
1191         * tests/suffix7.test: Likewise.
1192         * tests/suffix5.test: Enable `errexit' shell flag, and related
1193         changes.  Make grepping of Makefile.in slightly stricter.
1194         * tests/suffix.test: Enable `errexit' shell flag, and related
1195         changes.  Also, do not redirect grep output to /dev/null, as this
1196         might unmotivatedly hide useful information.
1197         * tests/suffix2.test: Move setting of `errexit' shell flag earlier
1198         in the script (just after inclusion of ./defs).  Use a more
1199         idiomatic way to count text occurrences in Makefile.in with
1200         grep.  Do not create useless dummy source files.
1201         * tests/suffix10.test: Ensure verbose printing of captured make
1202         stdout.  Minor cosmetic changes.
1203         * tests/suffix8.test: Likewise.  Also, drop useless call to the
1204         env(1) utility, and make grepping of make output stricter by using
1205         $FGREP rather than plain grep.
1206         * tests/suffix11.test: Likewise.
1207         * tests/suffix12.test: Likewise.
1208         * tests/suffix9.test: Prefer cat + here-doc over echo to append to
1209         the `configure.in' stub.  Cosmetic changes.
1210         * tests/suffix13.test: Cosmetic spacing change.
1211
1212 2010-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
1213
1214         Add useful comment in test script ext.test.
1215         * tests/ext.test: Add a comment explaining why an apparently
1216         useless `if' statement is indeed required.
1217
1218         Add useful comment in test script obsolete.test.
1219         * tests/obsolete.test: Add a comment explaining why we need
1220         an indirection in adding $AUTOUPDATE to $required.
1221
1222         Normalize whitespaces in 'tests/Makefile.am'.
1223         * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
1224         definition of this variable.
1225
1226 2010-06-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1227
1228         Remove a couple of unneeded conditionals from tests.
1229         * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
1230         for the FOOTEST conditional.
1231
1232 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
1233
1234         Modernize, improve and/or fix various test scripts.
1235         * tests/symlink3.test: Deleted, separated into two new, more
1236         complete tests ...
1237         * tests/forcemiss.test: ... this one ...
1238         * tests/forcemiss2.test: ... and this one.
1239         * tests/symlink2.test: Enable `errexit' shell flag, make test
1240         stricter, and skip it if symlink creation is not supported.
1241         * tests/postproc.test: Enable `errexit' shell flag, related
1242         changes, and a couple of unrelated cosmetic changes.
1243         * tests/recurs.test: Use the `configure.in' stub created by
1244         `./defs', rather than writing one from scratch.  Make grepping
1245         of Automake stderr slightly stricter.
1246         * tests/substtarg.test: Likewise.
1247         * tests/strip.test: Likewise, and move the call to `set -e'
1248         earlier (just after the inclusion of `./defs'). Also, make sure
1249         that the script installed by `make install-script' is equal to
1250         the original one.
1251         * tests/substref.test: Use the `configure.in' stub created by
1252         `./defs', rather than writing one from scratch.  Move the call
1253         to `set -e' earlier (just after the inclusion of `./defs').
1254         Avoid to explicitly export CC for configure (that's already done
1255         in ./defs).  Avoid potential problems with unpredictable make
1256         output.  Finally, make grepping of Makefile.in stricter.
1257         * tests/substre2.test: Ensure verbose printing of the captured
1258         make's output, and make its grepping slightly stricter.
1259         * tests/cygwin32.test: Enable `errexit' shell flag, and related
1260         changes.  Also, do not create useless dummy source/data files.
1261         * tests/scripts.test: Likewise.
1262         * tests/recurs2.test: Likewise.  Also, use the `configure.in'
1263         stub created by `./defs'.
1264         * tests/Makefile.am (TESTS): Updated.
1265
1266         Modernize, improve and/or fix tests `pluseq*.test.
1267         * tests/pluseq5.test: Append to configure.in using cat with an
1268         here-doc, not using echo.
1269         * tests/pluseq10.test: Make sure that the captured output of
1270         `make' command is always displayed. Where possible, use $FGREP
1271         instead of grep (this change makes some checks slightly stricter).
1272         * tests/pluseq8.test: Enable `errexit' shell flag, with related
1273         changes.
1274         * tests/pluseq.test: Likewise.  Also, do not create useless dummy
1275         data files, and use better m4 quoting in generated configure.in.
1276         * tests/pluseq2.test: Likewise.  Also, append to configure.in
1277         using cat with an here-doc, not using echo.
1278         * tests/pluseq3.test: Likewise.
1279         * tests/pluseq4.test: Likewise.
1280         * tests/pluseq6.test: Likewise.
1281         * tests/pluseq7.test: Do not create useless dummy source file.
1282         * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
1283         Automake stderr.  Some unrelated cosmetic changes.
1284
1285         Testsuite: ensure verbose printing of captured stderr.
1286         * tests/acloca18.test: Print captured stderr before either failing
1287         or grepping it.  Be sure to send captured stderr to stderr, not to
1288         stdout.
1289         * tests/ansi3b.test: Likewise.
1290         * tests/cond39.test: Likewise.
1291         * tests/configure.test: Likewise.
1292         * tests/missing3.test: Likewise.
1293         * tests/missing6.test: Likewise.
1294         * tests/output-order.test: Likewise.
1295         * tests/pr300-ltlib.test: Likewise.
1296         * tests/python6.test: Likewise.
1297         * tests/python7.test: Likewise.
1298         * tests/python8.test: Likewise.
1299         * tests/python9.test: Likewise.
1300         * tests/subobj.test: Likewise.
1301         * tests/vars3.test: Likewise.
1302         * tests/missing4.test: Likewise, and fix a call to grep not to use
1303         the `-c' flag.
1304         * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
1305         created by `./defs', rather than writing one from scratch.
1306
1307         Enable `errexit' shell flag in various tests.
1308         * tests/backsl.test: Enable the `errexit' shell flag, and
1309         related changes.
1310         * tests/backsl2.test: Likewise.
1311         * tests/block.test: Likewise.
1312         * tests/canon2.test: Likewise.
1313         * tests/canon4.test: Likewise.
1314         * tests/comment2.test: Likewise.
1315         * tests/condlib.test: Likewise.
1316         * tests/cond15.test: Likewise, and prefer $FGREP over grep.
1317         * tests/canon3.test: Likewise.  Also, avoid to create an useless
1318         dummy source file.
1319         * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
1320         related changes.  Do some cosmetic improvements in the generated
1321         `configure.in' file.
1322         * tests/cond4.test: Likewise.
1323         * tests/cond14.test: Likewise.
1324         * tests/condinc.test: Likewise.
1325         * tests/cond7.test: Likewise.  Also, remove useless setting of
1326         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
1327         * tests/ansi.test: Enable the `errexit' shell flag, and related
1328         changes.  Extended, esp. by running autoconf, ./configure and
1329         make, and by looking into the distdir.
1330
1331 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
1332             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1333
1334         Extend tests/README w.r.t. trailing `:' in test scripts.
1335         * tests/README (section "Writing test cases" subsection "Do"):
1336         Explain why apparently redundant trailing `:' and `Exit 0' in
1337         test scripts can indeed be useful.
1338
1339 2010-06-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
1340
1341         Improve determination of PATH separator in bootstrap script.
1342         * bootstrap: Determine what the PATH separator is the same way
1343         autoconf does.
1344
1345         Minor improvements in bootstrap script.
1346         * bootstrap: Consistently use two-spaces indentation.  Cosmetic
1347         improvement to comments.
1348         ($me): New variable, containing program basename.
1349         Prepend it to all error messages.
1350
1351         Testsuite now works with BSD make in parallel mode.
1352         * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
1353         which are exported by BSD make when run in parallel mode, and
1354         which can confuse make processes spawned by our testsuite.
1355         This change fixes a lot of spurious failure when the testsuite
1356         is run with BSD make in parallel mode.
1357
1358 2010-06-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
1359
1360         Modernize, improve and/or fix various test scripts.
1361         * tests/sanity.test: Rely on the `configure.in' stub created by
1362         `./defs', rather than writing one from scratch.
1363         * tests/depend2.test: Likewise.  Also, call `set -e' just after
1364         the inclusion of `./defs', instead that later in the script.
1365         * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
1366         $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
1367         * tests/exeext4.test: Use $FGREP instead of grep, where possible.
1368         Make auxiliary rules in the generated Makefile more silent.
1369         These changes make some checks slightly stricter.
1370         * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
1371         * tests/gettext2.test: Place final `:' at the end of the script,
1372         rather than in the middle.
1373         * tests/exeext.test: Call `set -e' just after the inclusion of
1374         `./defs', instead that later in the script.
1375         * tests/extra5.test: Likewise.
1376         * tests/confdeps.test: Likewise.  Also, prefer `mv -f' over
1377         plain `mv', just to be sure.
1378         * tests/depcomp.test: Enable `errexit' shell flag, with related
1379         changes.  Also, modernize the generated configure.in.
1380         * tests/cond9.test: Likewise.  Also, rely on the `configure.in'
1381         stub created by `./defs', rather than writing one from scratch.
1382         * tests/cond10.test: Likewise.
1383         * tests/depcomp2.test: Likewise.
1384         * tests/depend3.test: Likewise.
1385         * tests/distcom7.test: Likewise.
1386         * tests/fortdep.test: Likewise.  Also, remove definition of
1387         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
1388         since that flag is already provided by $AUTOMAKE.
1389         * tests/mdate.test: Made stricter, by checking that Automake
1390         actually failed, and by making a stricter grep on the error
1391         message.  Also, set shell `errexit flag'.
1392         * tests/python2.test: Improved verbose messages.
1393
1394         Make test `ammissing.test' stricter.
1395         * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
1396         Enable `errexit' shell flag.
1397
1398 2010-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
1399
1400         Enable `errexit' shell flag in some test scripts.
1401         * tests/subcond.test: Enabled `errexit' shell flag, and related
1402         minor changes.
1403         * tests/subst.test: Likewise.
1404         * tests/vars.test: Likewise.
1405         * tests/version4.test: Likewise.
1406         * tests/vpath.test: Likewise.
1407         * tests/vtexi2.test: Likewise.
1408         * tests/werror.test: Likewise.
1409         * tests/whoami.test: Likewise.
1410         * tests/tags.test: Likewise, and avoid to crate an useless dummy
1411         header file.
1412         * tests/acsilent.test: Likewise, and don't use an easily-avoided
1413         command substitution.
1414         * tests/unused.test: Likewise, and don't use an easily-avoided
1415         command substitution.
1416         * tests/version.test: Likewise, and avoid deprecated constructs
1417         in the generated `configure.in'.
1418         * tests/version2.test: Likewise, and avoid deprecated constructs
1419         in the generated `configure.in'.
1420
1421 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1422
1423         Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
1424         * tests/ldadd.test: Enable errexit.  Use AUTOMAKE_fails so
1425         the verbose log contains all output.
1426         * tests/mdate.test: Likewise.
1427         Prompted by Stefano Lattarini's change to discover.test.
1428
1429 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1430
1431         Improve tests link*.test (enable `errexit' shell flag).
1432         * tests/link_c_cxx.test: Enable `errexit shell flag, and related
1433         changes.  Also, do not create useless source files.
1434         * tests/link_dist.test: Likewise.
1435         * tests/link_f90_only.test: Likewise.
1436         * tests/link_f_only.test: Likewise.
1437         * tests/link_fc.test: Likewise.
1438         * tests/link_fccxx.test: Likewise.
1439         * tests/link_fcxx.test: Likewise.
1440
1441 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1442
1443         Improve ext.test semantics, avoid OpenBSD sh errexit issue.
1444         * tests/ext.test: Inside shell compound command, use
1445         `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
1446         fix failure with OpenBSD sh introduced with last patch.
1447         Actually ensure that a rule for .EXT.o is created for each
1448         known extension EXT.
1449
1450 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1451
1452         Enable `errexit' shell flag in some test scripts.
1453         * tests/dash.test: Enable `errexit' shell flag, and related
1454         changes.
1455         * tests/defun.test: Likewise.
1456         * tests/defun2.test: Likewise.
1457         * tests/dejagnu.test: Likewise.
1458         * tests/double.test: Likewise.
1459         * tests/distcom2.test: Likewise.
1460         * tests/empty2.test: Likewise.
1461         * tests/empty3.test: Likewise.
1462         * tests/empty4.test: Likewise.
1463         * tests/exdir.test: Likewise.
1464         * tests/ext.test: Likewise.
1465         * tests/extra.test: Likewise.
1466         * tests/extra2.test: Likewise.
1467         * tests/extra3.test: Likewise.
1468         * tests/extra4.test: Likewise.
1469         * tests/flibs.test: Likewise.
1470         * tests/fnoc.test: Likewise.
1471         * tests/fo.test: Likewise.
1472         * tests/instexec.test: Likewise.
1473         * tests/ltdeps.test: Likewise.
1474         * tests/nodep.test: Likewise.
1475         * tests/nodepcomp.test: Likewise.
1476         * tests/f90only.test: Likewise, and remove botched/obsoleted
1477         comments and unnecessary commands.
1478         * tests/fonly.test: Likewise, and remove botched/obsoleted
1479         comments and unnecessary commands.
1480         * tests/discover.test: Likewise, and made stricter.
1481
1482         Enable `errexit' shell flag in all tests cxx*.test.
1483         * tests/cxx.test: Enabled `errexit' shell flag, and related
1484         minor changes.
1485         * tests/cxxansi.test: Likewise.
1486         * tests/cxxcpp.test: Likewise.
1487         * tests/cxxlibobj.test: Likewise.
1488         * tests/cxxlink.test: Likewise.
1489         * tests/cxxo.test: Likewise.
1490
1491         Enable `errexit' shell flag in various tests.
1492         * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
1493         minor changes.
1494         * tests/acoutpt.test: Likewise.
1495         * tests/acoutqnl.test: Likewise.
1496         * tests/amassign.test: Likewise.
1497         * tests/ansi2.test: Likewise.
1498         * tests/ansi4.test: Likewise.
1499         * tests/badprog.test: Likewise.
1500         * tests/checkall.test: Likewise.
1501         * tests/clean.test: Likewise.
1502         * tests/colneq2.test: Likewise.
1503         * tests/colon.test: Likewise.
1504         * tests/colon5.test: Likewise.
1505         * tests/colon6.test: Likewise.
1506         * tests/comment.test: Likewise.
1507         * tests/compile_f90_c_cxx.test: Likewise.
1508         * tests/compile_f_c_cxx.test: Likewise.
1509         * tests/cond3.test: Likewise.
1510         * tests/cond6.test: Likewise.
1511         * tests/cond13.test: Likewise.
1512         * tests/conf2.test: Likewise.
1513         * tests/confvar.test: Likewise.
1514         * tests/confvar2.test: Likewise.
1515         * tests/cond8.test: Likewise, plus a cosmetic change.
1516         * tests/confh4.test: Likewise.  Also, add in the heading comments
1517         an excerpt from the original bug report which motivated the
1518         creation of this test, to make its purpose clearer.
1519
1520 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1521
1522         Rewrite manual to be gender-neutral.
1523         * doc/automake.texi (GNU Build System)
1524         (Standard Directory Variables, General Operation, CVS)
1525         (Hard-Coded Install Paths, Dependencies As Side Effects):
1526         Rewrite text to not contain gender-specific pronouns when
1527         speaking about developers or users, either by avoiding pronouns
1528         or by addressing them as `you' instead.
1529         * THANKS: Update.
1530         Report by Christina Gratorp.
1531
1532         * AUTHORS: Update.
1533
1534 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1535
1536         Make tests on user extensibility of silent-rules mode stricter.
1537         * tests/silent6.test: Made stricter w.r.t. the grepping of the
1538         output produced by `make'.
1539         * tests/silent7.test: Likewise.
1540
1541         Tests on silent-mode for C/Libtool made stricter.
1542         * tests/silent.test: Made stricter w.r.t. the grepping of the
1543         output produced by `make'.
1544         * tests/silent2.test: Likewise.
1545         * tests/silent4.test: Likewise.
1546         * tests/silent9.test: Likewise.
1547         * tests/silent3.test: Likewise, and add a final `make distclean'
1548         command to keep it better in sync with tests/silent{4,9}.test.
1549
1550         Improved test silent5.test.
1551         * tests/silent5.test: Remove by hand all generated C files after
1552         non-verbose builds, to ensure the following builds are clean.
1553         Try to clean and rebuild with the same verbosity and without
1554         removing generated sources in between, to check that this does
1555         not trigger a different set of rules.  Make grepping of make's
1556         output stricter.  Improved/added some comments.
1557
1558         New tests for Automake silent-mode with Fortran.
1559         * tests/silentf77.test: New test.
1560         * tests/silentf90.test: Likewise.
1561         * tests/Makefile.am (TESTS): Updated accordingly.
1562
1563         New test `silentcxx.test' (Automake silent-mode with C++).
1564         * tests/silentcxx.test: New test.
1565         * tests/Makefile.am (TESTS): Updated accordingly.
1566
1567         New test `silentyacc.test' (Automake silent-mode with Yacc).
1568         * tests/silentyacc.test: New test.
1569         * tests/Makefile.am (TESTS): Updated accordingly.
1570
1571         New test `silentlex.test' (Automake silent-mode with Lex).
1572         * tests/silentlex.test: New test.
1573         * tests/Makefile.am (TESTS): Updated accordingly.
1574
1575         Relax tests on silent-rules to cater to overly verbose makes.
1576         * tests/silent.test: When testing silent builds, don't fail if
1577         make's output simply contains the `mv' substring, but only if
1578         it contains the `mv ' substring (note the trailing space).
1579         * tests/silent2.test: Likewise.
1580         * tests/silent3.test: Likewise.
1581         * tests/silent4.test: Likewise.
1582         * tests/silent5.test: Likewise.
1583         * tests/silent9.test: Likewise.
1584
1585 2010-01-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1586
1587         Fix silent-rules output for disabled dependency tracking.
1588         * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
1589         expansion code to also work in the case where %AMDEP% expands
1590         to FALSE at config.status time, using new substitution string
1591         %VERBOSE-NODEP%.
1592         * automake.in (verbose_nodep_flag): New function, appending
1593         `@am__nodep@' to the verbose-variable name.
1594         (handle_languages): If dependencies are not disabled, use it to
1595         set %VERBOSE-NODEP%.
1596         * m4/depend.m4: Substitute am__nodep as '_no', so the second
1597         verbose-variable will always expand to an empty string, if
1598         dependencies are enabled.
1599         * tests/silent5.test: Also test --disable-dependency-tracking;
1600         also test per-target flags for non-C language files.
1601         * tests/silent9.test: New test, like silent4.test but disable
1602         dependency tracking.
1603         * tests/Makefile.am: Adjust.
1604         * NEWS, THANKS: Update.
1605         Report by Dmitry V. Levin <ldv@altlinux.org>.
1606
1607 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1608
1609         Extend test on `nostdinc' automake option.
1610         * tests/nostdinc.test: Enable `errexit' shell flag.  Related and
1611         unrelated minor changes.  Make the grepping of the generated
1612         Makefile.in slightly stricter.  Generate and run configure, so that
1613         the generated Makefile can be grepped too.
1614
1615 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1616
1617         Make gnupload portable to EBCDIC hosts.
1618         * lib/gnupload: Use literal newline as argument for 'tr' rather
1619         than \015, for EBCDIC hosts.  Also, avoid unportable nested
1620         double-quotes and backquotes.
1621         * THANKS: Update.
1622         Report from Eric Blake and Steve Goetze via gnulib.
1623
1624 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1625
1626         Fix Autoconf version required by Automake's configure.
1627         Automake configure script used to tell that automake required
1628         autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
1629         and if that was not found, it gave an error saying that Automake
1630         required configure 2.61a-341 or later.  This change should
1631         eliminate such inconsistencies.
1632         * configure.ac ($required_autoconf_version): New variable.
1633         Use it throughout.
1634
1635 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1636
1637         Fix unportable sed script in maintainer-check test.
1638         * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
1639         not contain semicolon after 'b' or brace commands, for NetBSD.
1640
1641         Wildcards are not portable to NetBSD make.
1642         * doc/automake.texi (Wildcards): Document portability issue.
1643         * tests/extra10.test, tests/extra11.test, tests/extra12.test:
1644         Require GNU make.
1645
1646 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1647
1648         Make test for configure.in vs. configure.ac stricter.
1649         * tests/configure.test: Use a configure.in file that provokes
1650         an automake error, to ensure configure.ac is preferred.
1651
1652         Avoid possible false negatives in dejagnu7.test.
1653         * tests/dejagnu7.test: Enable shell `errexit' flag.  Also, avoid
1654         unportable use of fgrep option `-e'.
1655
1656         Fix conflnk3.test to work with Solaris/Heirloom Sh.
1657         * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
1658         instead of respectively `test -e FILE' and `test ! -e FILE',
1659         since Solaris Sh doesn't grok the latter.  Do not SKIP the test
1660         if the shell doesn't support `test -e'.
1661
1662 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1663
1664         Fix typo in manual.
1665         * doc/automake.texi (Simple Tests using parallel-tests): Add
1666         missing closing parenthesis.
1667
1668         Fix leftover call to removed function macros_dump.
1669         * automake.in (read_main_am_file): Call variables_dump, not
1670         macros_dump.  Print actual error before list of variables.
1671
1672 2010-04-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
1673
1674         Minor improvements in comments of test `silent3.test'.
1675         * tests/silent3.test: Tell to keep it in sync with `silent9.test'
1676         too.
1677
1678 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1679
1680         testsuite: ensure verbose printing of captured output.
1681         * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
1682         tests/fort2.test, tests/help.test, tests/missing3.test,
1683         tests/missing6.test: Print captured stdout or stderr before
1684         grepping it.
1685
1686 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1687
1688         Make test badopt.test stricter (by enabling `set -e').
1689         * tests/badopt.test: Add call to `set -e'.  Due to this change,
1690         an unexpected failure in the call to `$ACLOCAL' (whose outcome
1691         was previously unchecked) would cause the whole test to fail.
1692         Also, bumped the copyright years.
1693
1694         Make test for configure.in vs. configure.ac stricter.
1695         * tests/configure.test: Use a configure.in file that provokes
1696         an automake error, to ensure configure.ac is preferred.
1697
1698         Use `set -e' in confsub.test (avoids possible false negatives).
1699         * tests/confsub.test: Enable shell `errexit' flag, and related
1700         changes (this helps avoiding some possible minor false negatives).
1701         Also, bumped copyright years.
1702
1703 2010-04-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1704
1705         Fix -Werror handling for presence of configure.in and configure.ac.
1706         * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
1707         $configure_ac at the global level, before command-line arguments
1708         have been parsed.
1709         (require_variables): Initialize it here.
1710         * tests/configure.test: New test.
1711         * tests/Makefile.am: Update.
1712         Report by Stefano Lattarini.
1713
1714 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1715
1716         Avoid possible false negatives in confh5.test.
1717         * tests/confh5.test: Enable shell `errexit' flag, and bumped
1718         copyright years.  Due to this change, any unexpected failure
1719         in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
1720         a failure in grepping expected text in output files should now
1721         cause the whole test to fail.
1722
1723 2010-04-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
1724
1725         Fixed typo in POD documentation of Automake::Channels.
1726         * lib/Automake/Channels.pm: Fixed typo in POD documentation:
1727         @<...> was used instead of C<...>.
1728
1729 2010-04-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
1730
1731         Refactor tests on Automake TESTS color output.
1732         * tests/color.test: Tests using the expect program moved out to...
1733         * tests/color2.test: ... this new file.
1734         * tests/Makefile.am (TESTS): Extended accordingly.
1735
1736 2010-04-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
1737
1738         Fix typos in comments in test confh5.test
1739         * tests/confh5.test: Fix a couple of typos in comments.
1740
1741         Avoid possible false negatives in canon-name.test.
1742         * tests/canon-name.test: Enable shell `errexit' flag.  Improve
1743         test description.
1744
1745 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1746
1747         Fix per-Makefile.am setting of -Werror.
1748         Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
1749         Makefile.am would carry over to other Makefile.am files
1750         treated afterwards by the same thread, causing inconsistent
1751         and unstable exit status values.
1752         * lib/Automake/Channels.pm (dup_channel_setup)
1753         (drop_channel_setup): Save and restore the setting of
1754         $warnings_are_errors.
1755         * tests/werror3.test: New test.
1756         * tests/Makefile.am: Adjust.
1757         * NEWS: Update.
1758
1759 2010-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
1760
1761         Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
1762         * tests/confh5.test: In the generated Makefile.am: do not use
1763         `test ! -e FILE' to check for the non-existence of a file, since
1764         that is not supported by Solaris/Heirloom Sh.
1765
1766         Make test `aclocal3.test' stricter.
1767         * tests/aclocal3.test: Add call to `set -e'.  Fail if $ACLOCAL
1768         succeds unexpectedly.
1769
1770         Add tests checking that symlinks are resolved by `make dist'.
1771         * tests/distlinks.test: New test.
1772         * tests/Makefile.am (TESTS): Updated accordingly.
1773         Suggested by observations from Ralf Wildenhues.
1774
1775 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1776
1777         Use -9 for maximum xz compression with dist-xz.
1778         * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
1779         * NEWS, THANKS: Update.
1780         Report by Pavel Sanda.
1781
1782 2010-03-30  Stefano Lattarini  <stefano.lattarini@gmail.com>
1783
1784         Avoid an unportable use of `$status' shell variable.
1785         * Makefile.am (path-check): Don't use the `$status' shell variable
1786         in the target's rules, as it's special in Zsh (equivalent to `$?',
1787         and readonly).
1788
1789         Avoid another use of `chmod -R'.
1790         * Makefile.am (path-check): To be safe, do not use `chmod -R' on
1791         $(distdir) before removing it (as Solaris `chmod -R' touches
1792         symlink targets).  Instead, use the cleanup strategy used in
1793         distdir.am.
1794
1795 2010-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1796
1797         Remove uses of @acronym and @sc.
1798         * doc/automake.texi (Public Macros, Limitations on File Names):
1799         Remove all usage of @acronym and @sc in the manual.
1800         Suggested by Karl Berry.
1801
1802 2010-03-13  Karl Berry  <karl@freefriends.org>
1803
1804         GNU hello uses fdl.texi, not gpl.texi.
1805         * doc/automake.texi (Texinfo): Adjust example to upstream
1806         change.
1807
1808 2010-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1809
1810         Formatting cleanups in macro comments.
1811         * automake.in, lib/Automake/Channels.pm,
1812         lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
1813         lib/Automake/Variable.pm, lib/Automake/XFile.pm,
1814         m4/options.m4, m4/substnot.m4: Fix macro comment format.
1815
1816 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
1817             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1818
1819         Avoid generation of `tests/defs-p' file.
1820         * tests/defs.in: In the generated `configure.in' snippet: call
1821         `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
1822         variable `parallel_tests' is set to `yes'.
1823         * tests/Makefile.am (defs-p): Target removed.
1824         (check_SCRIPTS): Removed `defs-p'.
1825         (clean-local-check): Do not unlink `defs-p' anymore.
1826         ($(parallel_tests)): Transformation rules for the test scripts
1827         adjusted.
1828         * tests/gen-parallel-tests: Selection rules for the test
1829         scripts adjusted.
1830         * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
1831         then include `./defs' (rather than simply including `./defs-p').
1832         * tests/parallel-tests2.test: Likewise.
1833         * tests/parallel-tests3.test: Likewise.
1834         * tests/parallel-tests4.test: Likewise.
1835         * tests/parallel-tests5.test: Likewise.
1836         * tests/parallel-tests6.test: Likewise.
1837         * tests/parallel-tests7.test: Likewise.
1838         * tests/parallel-tests8.test: Likewise.
1839         * tests/parallel-tests9.test: Likewise.
1840         * tests/parallel-tests10.test: Likewise.
1841         * tests/README (Section "Writing Test Cases" subsection "Do"):
1842         Adjusted the parts referring to tests checking `parallel-tests'
1843         behaviour.  Some other minor related improvements.
1844         * tests/.gitignore (defs-p): Removed.
1845
1846 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
1847
1848         Remove redundant unset of variable TESTS from some test scripts.
1849         * tests/color.test: Do not unset the `TESTS' variable, as it's
1850         already unset in the `defs' file.
1851         * tests/check5.test: Likewise.
1852         * tests/check8.test: Likewise.
1853         * tests/check9.test: Likewise.
1854         * tests/check10.test: Likewise.
1855         * tests/check11.test: Likewise.
1856         * tests/parallel-tests.test: Likewise.
1857         * tests/parallel-tests3.test: Likewise.
1858         * tests/parallel-tests4.test: Likewise.
1859         * tests/parallel-tests5.test: Likewise.
1860         * tests/parallel-tests6.test: Likewise.
1861         * tests/parallel-tests7.test: Likewise.
1862
1863 2010-02-22  Karl Berry  <karl@gnu.org>
1864
1865         Improve help message of mdate-sh.
1866         * mdate-sh: mention actual output format in help message.
1867
1868 2010-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1869
1870         Deprecate dist-lzma in favor of dist-xz.
1871         * doc/automake.texi (The Types of Distributions, Options):
1872         Adjust text to reflect renaming of lzma to xz.
1873         * NEWS: Update.
1874         Missing deprecation noted by Antonio Diaz Diaz.
1875
1876 2010-02-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1877
1878         Add tests about support of wildcards in EXTRA_DIST.
1879         * tests/extra10.test: New test, check basic support of wildcards
1880         in EXTRA_DIST.
1881         * tests/extra11.test: New test, check more complex usage of
1882         wildcards in EXTRA_DIST.
1883         * tests/extra12.test: New test, check usage of wildcards in
1884         EXTRA_DIST when $builddir != $srcdir.
1885         * tests/Makefile.am (TESTS): Updated accordingly.
1886         Necessity of these new tests suggested by Braden McDaniel
1887         and Ralf Wildenhues.
1888
1889 2010-02-08  Simon Josefsson  <simon@josefsson.org>
1890
1891         Fix copyright statement in gnupload script.
1892         * lib/gnupload: Fix copyright statement.
1893
1894 2010-02-06  Dmitry V. Levin  <ldv@altlinux.org>  (tiny change)
1895             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1896
1897         Fix exit status of signal handlers in shell scripts.
1898         The value of `$?' on entrance to signal handlers in shell scripts
1899         cannot be relied upon, so set the exit code explicitly to
1900         128 + SIG<SIGNAL>.
1901         * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
1902         * lib/elisp-comp: Likewise.
1903         * lib/install-sh: Likewise.
1904         * lib/ylwrap: Likewise.  Also, fix script to trap signal 13, not 3.
1905         * NEWS, THANKS: Update.
1906         Bug report, analysis, and initial patch by Dmitry V. Levin.
1907
1908 2010-02-06  Karl Berry  <karl@gnu.org>
1909
1910         Improve gnupload usage text.
1911         * gnupload (usage): Shorten to make more likely to fit on a tty
1912         line.  Mention CMD in the synopsis.  With ..., plural is implied.
1913
1914 2010-01-28  Christos Kontas  <xakon@yahoo.com>  (tiny change)
1915
1916         Fix some typos in the manual
1917         * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
1918
1919 2010-01-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
1920
1921         Slighty improve tests acoutbs.test and acoutbs2.test.
1922         * tests/acoutbs2.test: Enable `errexit' shell flag.  Check that
1923         autoconf and configure work, that the file `zot' is created by
1924         configure, and that no file containing a backslash in its name is
1925         created.
1926         * tests/acoutbs.test: Likewise, plus updated copyright years.
1927
1928         Fix test acoutbs2.test.
1929         * tests/acoutbs2: In the generated configure.in: add proper calls
1930         to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
1931         PACKAGE and VERSION. Add a call to aclocal before calling automake.
1932         Updated copyright years.
1933         * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
1934
1935         Add forgotten test scripts to $(TESTS).
1936         * tests/Makefile.am (TESTS): Added test scripts present on the
1937         filesystem, which were erroneously left out from $(TESTS):
1938         acoutbs2.test, badopt.test, extra2.test.
1939         (XFAIL_TESTS): Added acoutbs2.test.
1940
1941 2010-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1942
1943         Sync auxiliary files from upstream.
1944         * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
1945         Sync from upstream.
1946
1947         Bump copyright years.
1948         * aclocal.in (write_aclocal, version): Bump copyright years.
1949         * automake.in (gen_copyright, version): Likewise.
1950         * doc/automake.texi: Likewise.
1951
1952         Rotate ChangeLog.
1953         * ChangeLog.09: New file, rotated from ...
1954         * ChangeLog: ... here.
1955         * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
1956
1957 -----
1958
1959 Copyright (C) 2010  Free Software Foundation, Inc.
1960
1961 Copying and distribution of this file, with or without modification, are
1962 permitted provided the copyright notice and this notice are preserved.
1963
1964 ;; Variables:
1965 ;; coding: utf-8
1966 ;; End: