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