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