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