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