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