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