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