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