Merge branch 'msvc'
[platform/upstream/automake.git] / ChangeLog
1 2010-08-06  Peter Rosin  <peda@lysator.liu.se>
2
3         Add new auxiliary 'ar-lib' script, wrapping Microsoft lib.
4         * lib/ar-lib: New auxiliary script.
5         * lib/Makefile.am: Add above.
6         * tests/ar-lib.test: New test.
7         * tests/Makefile.am: Add above.
8         * automake.in (@common_files): Distribute the 'ar-lib' script.
9         * doc/automake.texi (Auxiliary Programs): Mention the new
10         'ar-lib' script.
11         (Optional): Mention 'ar-lib' in AC_CONFIG_AUX_DIR.
12         * NEWS: Update.
13
14 2010-08-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
15
16         Fix shell pattern negation in compile script.
17         * lib/compile (func_file_conv): Use `!' not `^' for pattern
18         negation.
19
20 2010-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
21
22         Fix maintainer-check failure.
23         * tests/cond5.test: Quote sleep argument, this isn't about
24         time stamp differences.
25
26         Sync auxiliary files from upstream.
27         * lib/config.guess, lib/config.sub, lib/texinfo.tex:
28         Sync from upstream.
29
30 2010-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
31
32         Work around a nasty bug (segfault) of Solaris make.
33         * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
34         from $list, to avoid triggering a nasty bug (potential segfault)
35         on Solaris make.
36
37 2010-08-06  Peter Rosin  <peda@lysator.liu.se>
38
39         Make cond5.test more robust on MSYS.
40         * tests/cond5.test: Add delay before the first kill attempt to
41         cater for problems with MSYS bash.
42
43 2010-08-01  Peter Rosin  <peda@lysator.liu.se>
44
45         Wrap some MSVC options in the compile script.
46         * lib/compile: MSVC supports naming the output file, the option
47         is just not called -o, so transform -o into the appropriate form
48         for MSVC. Also wrap some other options while at it (-L, -l, -Wl,
49         -Xlinker and -I) and convert file names to windows form where
50         needed for those options to make MSVC more usable in an
51         autotooled environment.
52         * doc/automake.texi (Auxiliary Programs): Document the above
53         extension of the compile script.
54         * NEWS: Updated.
55         * tests/defs.in: New required entry 'cl'.
56         * tests/compile3.test: New test.
57         * tests/compile4.test: New test.
58         * tests/compile5.test: New test.
59         * tests/Makefile.am: Update.
60
61 2010-07-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
62
63         Add example git work flow; discuss merge --log in HACKING.
64         * HACKING: Update.
65         Suggestion by Stefano Lattarini.
66
67         Add more hints for debugging make rules.
68         * doc/automake.texi (Debugging Make Rules): Show command to find
69         out expanded values of variables; point to makefile debugger.
70         * THANKS: Update.
71         Prompted by suggestion from Ludovic Courtès and Andy Wingo.
72
73 2010-07-27  Patrick Welche  <prlw1@cam.ac.uk>  (tiny change)
74
75         Fix typo in the manual.
76         * doc/automake.texi (Scripts): Fix typo.
77
78 2010-07-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
79
80         Document current policy for development with git.
81         * HACKING (Working with git): Overhaul.
82         Prompted by suggestion from Stefano Lattarini.
83
84         Fix AM_COND_IF for gone-invalid condition shell expression.
85         * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
86         variable, rather than re-evaluating the shell expression for
87         the condition.
88         * tests/cond40.test: Extend test.
89         * NEWS: Update.
90
91         Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
92         * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
93         to avoid shell syntax error if the m4 expansion is empty.
94         * tests/cond40.test: Enhance test.
95
96         Coverage: bogus option to AM_INIT_AUTOMAKE.
97         * tests/init2.test: New test.
98         * tests/Makefile.am: Update.
99
100 2010-07-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
101
102         Modernize and improve test scripts `subdir*.test'.
103         * tests/subdir.test: Enable `errexit' shell flag, and related
104         changes.  Use the `configure.in' stub created by `./defs',
105         rather than writing one from scratch.
106         * tests/subdir2.test: Likewise.
107         * tests/subdir4.test: Likewise.
108         * tests/subdir3.test: Enable `errexit' shell flag, and related
109         changes.  Do not create useless dummy source files.
110         * tests/subdir5.test: Make grepping of Makefile.in (in topdir
111         and in subdirs) stricter.  Some minor changes to keep it more
112         in sync with the related test `subdir8.test'.
113         * tests/subdir8.test: Likewise (but with the related test being
114         `subdir5.test' here).
115         * tests/subdir6.test: Cosmetic change in spacing.
116         * tests/subdir9.test: Define and use new variable `$distdir'.  Add
117         trailing `:' command.
118         * tests/subdir10.test: Cosmetic consistency-related change.
119         * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
120         (configure.in): Use stub created by `./defs', rather than writing
121         it from scratch.  Do not use obsoleted and/or deprecated forms of
122         autoconf/automake macros.
123
124         Modernize and improve test scripts `dist*.test'.
125         * tests/distcleancheck.test: Do not add useless `-e' option to
126         a $MAKE call.  Extend test by grepping stderr of make.
127         * tests/distcom2.test: Do not run the same test script on the
128         Makefile.in twice, but save its output in an intermediate file
129         instead.  Make grepping of DIST_COMMON definition stricter.
130         Display the content of more files, to ease debugging.  Add a
131         trailing `:' command.  Improved heading comments w.r.t. sister
132         test(s).
133         * tests/distcom6.test: Likewise, and avoid to uselessly run
134         autoconf.
135         * tests/distcom3.test: Ensure verbose printing of captured stdout
136         and stderr.  Make grepping of captured stderr stricter.  Also,
137         add trailing `:' command.
138         * tests/distcom4.test: Declare the target `test' in the generated
139         Makefile.am as `.PHONY'.  Display content of more files, to ease
140         debugging.  Add trailing `:' command.
141         * tests/distcom5.test: Likewise.  Also, factor out common sed
142         script in subroutine `extract_distcommon'.
143         * tests/distcom7.test: Prefer cat + here-doc over echo to write
144         test Makefile.am files.  Add a trailing `:' command.
145         * tests/distname.test: Prefer `gzip -d' over `gunzip'.  Move the
146         call to `set -e' earlier.  Be stricter and more verbose in the
147         checking of the generated tarball.
148         (configure.in): Use the stub provided by ./defs, instead of
149         writing it from scratch.  Avoid obsoleted constructs.  Remove
150         useless call to `AM_PROG_CC_C_O'.
151         * tests/distdir.test: Various minor improvements/normalizations.
152         * tests/distlinks.test: Likewise.
153
154 2010-07-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
155
156         Improve and extend test cond5.test.
157         * tests/cond5.test: Do not blindly sleep 60 seconds before polling
158         the background automake process, but poll it every 10 seconds for
159         at most 30 times (this makes the test both faster on good machines,
160         and more resilient to spurious timeout-due failures when in low
161         priority or on heavily-loaded systems).
162         Check also that automake writes the expected error messages on the
163         standard error.
164         Enable `errexit' flag, and related changes.
165         Rely on the `configure.in' stub created by `./defs', rather than
166         writing one from scratch.
167
168 2010-06-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
169
170         Update program --help output to match current GCS.
171         * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
172         is not defined, for compatibility to Autoconf < 2.64.
173         * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
174         PACKAGE_URL.
175         (sc_diff_automake_in_automake): Update number of diff lines for
176         additional substitutions.
177         * aclocal.in (usage): Use PACKAGE_BUGREPORT.  Point to Automake
178         home page and GNU general help page.
179         * automake.in (usage): Likewise.
180         * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
181         address.
182         (Introduction, Creating amhello, amhello Explained, Options):
183         Use it throughout.
184         * lib/Automake/Makefile.am (do_subst): Substitute
185         PACKAGE_BUGREPORT.
186         * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
187         * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
188         messages.
189
190         Clean up @var handling in the manual.
191         * doc/automake.texi: Throughout the manual, lower-case @var
192         names, replace a few one-character names.
193
194 2010-06-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
195
196         Fix typo-related bug in test script silent5.test.
197         * tests/silent5.test: Use $EGREP, not $GREP (which is not even
198         defined).
199
200         Tests: remove useless repetitions of `foreign' automake option.
201         * tests/multlib.test (configure.in): Remove useless use of
202         `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
203         already in $AUTOMAKE by default, so no point in repeating it).
204         * tests/subobj10.test: Likewise.
205         * tests/subobj9.test: Likewise.
206         * tests/lex3.test (Makefile.am): Similarly, remove useless use
207         of `foreign' option in AUTOMAKE_OPTIONS.
208         * tests/lex5.test: Likewise.
209         * tests/pr279.test: Likewise.
210         * tests/pr279-2.test: Likewise.
211         * tests/specflg3.test: Likewise.
212         * tests/target-cflags.test: Likewise.
213
214         Drop useless requirement "gzip" in lex5.test.
215         * tests/lex5.test ($required): Do not list "gzip", as it's
216         never used.
217
218 2010-06-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
219
220         Fix bugs in test script silent5.test.
221         * tests/silent5.test: Fixed a nasty bug (due to the use of grep
222         instead of egrep) that could have led to false negatives.
223
224 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
225
226         Add a test checking that distributed broken symlinks cause
227         `make dist' to fail.
228         * tests/distlinksbrk.test: New test.
229         * tests/Makefile.am (TESTS): Updated.
230
231 2010-06-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
232
233         Fix minor testsuite issues, update docs, for Yacc/Lex changes.
234         * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
235         and AM_LFLAGS, LFLAGS in the order in which they now appear in
236         the rules.
237         * NEWS: Update.
238         * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
239         tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
240         please maintainer-check.  Ensure generated C files contain a
241         declaration, to please compilers.
242
243 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
244
245         Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
246         $(FLAGS) precedence.
247         * automake.in: Fix registration of languages "Lex", "Lex (C++)",
248         "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
249         $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
250         * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
251         * NEWS: Updated.
252
253         New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
254         $(AM_FLAGS) and $(FLAGS) precedence.
255         * tests/lflags.test: New test, check that user $(LFLAGS) takes
256         precedence over automake (AM_LFLAGS) and (foo_LFLAGS).  Still
257         xfailing.
258         * tests/lflags2.test: Likewise.
259         * tests/yflags.test: New test, check that user $(YFLAGS) takes
260         precedence over automake (AM_YFLAGS) and (foo_YFLAGS).  Still
261         xfailing.
262         * tests/yflags2.test: Likewise.
263         * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
264
265 2010-06-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
266
267         Modernize, improve and extend tests `suffix*.test'.
268         * tests/suffix3.test: Enable `errexit' shell flag, and related
269         changes.
270         * tests/suffix4.test: Likewise.
271         * tests/suffix6.test: Likewise, and do not create a useless dummy
272         source file.
273         * tests/suffix7.test: Likewise.
274         * tests/suffix5.test: Enable `errexit' shell flag, and related
275         changes.  Make grepping of Makefile.in slighty stricter.
276         * tests/suffix.test: Enable `errexit' shell flag, and related
277         changes.  Also, do not redirect grep output to /dev/null, as this
278         might unmotivatedly hide useful information.
279         * tests/suffix2.test: Move setting of `errexit' shell flag earlier
280         in the script (just after inclusion of ./defs).  Use a more
281         idiomatic way to count text occurrences in Makefile.in with
282         grep.  Do not create useless dummy source files.
283         * tests/suffix10.test: Ensure verbose printing of captured make
284         stdout.  Minor cosmetic changes.
285         * tests/suffix8.test: Likewise.  Also, drop useless call to the
286         env(1) utility, and make grepping of make output stricter by using
287         $FGREP rather than plain grep.
288         * tests/suffix11.test: Likewise.
289         * tests/suffix12.test: Likewise.
290         * tests/suffix9.test: Prefet cat + here-doc over echo to append to
291         the `configure.in' stub.  Cosmetic changes.
292         * tests/suffix13.test: Cosmetic spacing change.
293
294 2010-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
295
296         Add useful comment in test script ext.test.
297         * tests/ext.test: Add a comment explaining why an apparently
298         useless `if' statement is indeed required.
299
300 2010-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
301
302         Add useful comment in test script obsolete.test.
303         * tests/obsolte.test: Add a comment explaining why we need
304         an indirection in adding $AUTOUPDATE to $required.
305
306         Normalize whitespaces in 'tests/Makefile.am'.
307         * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
308         definition of this variable.
309
310         Parallel tests generation: improve comments (tiny change).
311         * tests/Makefile.am ($(parallel_tests)): Added useful comment to
312         generated tests.
313
314         Tests defs: truly get rid of `$am_defs_included' (unused variable)
315          * tests/defs.in ($am_defs_included): Remove, its now unused.  It
316         should have been removed in a previous changeset, but the removal
317         was done only partially (oversight).
318
319 2010-06-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
320
321         Remove a couple of unneeded conditionals from tests.
322         * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
323         for the FOOTEST conditional.
324
325 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
326
327         Modernize, improve and/or fix various test scripts.
328         * tests/symlink3.test: Deleted, separated into two new, more
329         complete tests ...
330         * tests/forcemiss.test: ... this one ...
331         * tests/forcemiss2.test: ... and this one.
332         * tests/symlink2.test: Enable `errexit' shell flag, make test
333         stricter, and skip it if symlink creation is not supported.
334         * tests/postproc.test: Enable `errexit' shell flag, related
335         changes, and a couple of unrelated cosmetic changes.
336         * tests/recurs.test: Use the `configure.in' stub created by
337         `./defs', rather than writing one from scratch.  Make grepping
338         of Automake stderr slighty stricter.
339         * tests/substtarg.test: Likewise.
340         * tests/strip.test: Likewise, and move the call to `set -e'
341         earlier (just after the inclusion of `./defs'). Also, make sure
342         that the script installed by `make install-script' is equal to
343         the original one.
344         * tests/substref.test: Use the `configure.in' stub created by
345         `./defs', rather than writing one from scratch.  Move the call
346         to `set -e' earlier (just after the inclusion of `./defs').
347         Avoid to explicitly export CC for configure (that's already done
348         in ./defs).  Avoid potential problems with unpredictable make
349         output.  Finally, make grepping of Makefile.in stricter.
350         * tests/substre2.test: Ensure verbose printing of the captured
351         make's output, and make its grepping slighty stricter.
352         * tests/cygwin32.test: Enable `errexit' shell flag, and related
353         changes.  Also, do not create useless dummy source/data files.
354         * tests/scripts.test: Likewise.
355         * tests/recurs2.test: Likewise.  Also, use the `configure.in'
356         stub created by `./defs'.
357         * tests/Makefile.am (TESTS): Updated.
358
359         Modernize, improve and/or fix tests `pluseq*.test.
360         * tests/pluseq5.test: Append to configure.in using cat with an
361         here-doc, not using echo.
362         * tests/pluseq10.test: Make sure that the captured output of
363         `make' command is always displayed. Where possible, use $FGREP
364         instead of grep (this change makes some checks slighty stricter).
365         * tests/pluseq8.test: Enable `errexit' shell flag, with related
366         changes.
367         * tests/pluseq.test: Likewise.  Also, do not create useless dummy
368         data files, and use better m4 quoting in generated configure.in.
369         * tests/pluseq2.test: Likewise.  Also, append to configure.in
370         using cat with an here-doc, not using echo.
371         * tests/pluseq3.test: Likewise.
372         * tests/pluseq4.test: Likewise.
373         * tests/pluseq6.test: Likewise.
374         * tests/pluseq7.test: Do not create useless dummy source file.
375         * tests/pluseq9.test: Slighty extended w.r.t. the grepping of
376         Automake stderr.  Some unrelated cosmetic changes.
377
378 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
379
380         cscope.test: ensure verbose printing of captured stderr.
381         * tests/cscope.test: Print captured stderr before failing.
382
383 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
384
385         Testsuite: ensure verbose printing of captured stderr.
386         * tests/acloca18.test: Print captured stderr before either failing
387         or grepping it.  Be sure to send captured stderr to stderr, not to
388         stdout.
389         * tests/ansi3b.test: Likewise.
390         * tests/cond39.test: Likewise.
391         * tests/configure.test: Likewise.
392         * tests/missing3.test: Likewise.
393         * tests/missing6.test: Likewise.
394         * tests/output-order.test: Likewise.
395         * tests/pr300-ltlib.test: Likewise.
396         * tests/python6.test: Likewise.
397         * tests/python7.test: Likewise.
398         * tests/python8.test: Likewise.
399         * tests/python9.test: Likewise.
400         * tests/subobj.test: Likewise.
401         * tests/vars3.test: Likewise.
402         * tests/missing4.test: Likewise, and fix a call to grep not to use
403         the `-c' flag.
404         * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
405         created by `./defs', rather than writing one from scratch.
406
407         Enable `errexit' shell flag in various tests.
408         * tests/backsl.test: Enable the `errexit' shell flag, and
409         related changes.
410         * tests/backsl2.test: Likewise.
411         * tests/block.test: Likewise.
412         * tests/canon2.test: Likewise.
413         * tests/canon4.test: Likewise.
414         * tests/comment2.test: Likewise.
415         * tests/condlib.test: Likewise.
416         * tests/cond15.test: Likewise, and prefer $FGREP over grep.
417         * tests/canon3.test: Likewise.  Also, avoid to create an useless
418         dummy source file.
419         * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
420         related changes.  Do some cosmetic improvements in the generated
421         `configure.in' file.
422         * tests/cond4.test: Likewise.
423         * tests/cond14.test: Likewise.
424         * tests/condinc.test: Likewise.
425         * tests/cond7.test: Likewise.  Also, remove useless setting of
426         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
427         * tests/ansi.test: Enable the `errexit' shell flag, and related
428         changes.  Extended, esp. by running autoconf, ./configure and
429         make, and by looking into the distdir.
430
431 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
432             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
433
434         Extend tests/README w.r.t. trailing `:' in test scripts.
435         * tests/README (section "Writing test cases" subsection "Do"):
436         Explain why apparently redundant trailing `:' and `Exit 0' in
437         test scripts can indeed be useful.
438
439 2010-06-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
440
441         Improve determination of PATH separator in bootstrap script.
442         * bootstrap: Detemine what the PATH separator is the same way
443         autoconf does.
444
445         Minor improvements in bootstrap script.
446         * bootstrap: Consistently use two-spaces indentation.  Cosmetic
447         improvement to comments.
448         ($me): New variable, containing program basename.
449         Prepend it to all error messages.
450
451         Testsuite now works with BSD make in parallel mode.
452         * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
453         which are exported by BSD make when run in parallel mode, and
454         which can confuse make processes spawned by our testsuite.
455         This change fixes a lot of spurious failure when the testsuite
456         is run with BSD make in parallel mode.
457
458 2010-06-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
459
460         Modernize, improve and/or fix various test scripts.
461         * tests/sanity.test: Rely on the `configure.in' stub created by
462         `./defs', rather than writing one from scratch.
463         * tests/depend2.test: Likewise.  Also, call `set -e' just after
464         the inclusion of `./defs', instead that later in the script.
465         * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
466         $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
467         * tests/exeext4.test: Use $FGREP instead of grep, where possible.
468         Make auxiliary rules in the generated Makefile more silent.
469         These changes make some checks slighty stricter.
470         * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
471         * tests/gettext2.test: Place final `:' at the end of the script,
472         rather than in the middle.
473         * tests/exeext.test: Call `set -e' just after the inclusion of
474         `./defs', instead that later in the script.
475         * tests/extra5.test: Likewise.
476         * tests/confdeps.test: Likewise.  Also, prefer `mv -f' over
477         plain `mv', just to be sure.
478         * tests/depcomp.test: Enable `errexit' shell flag, with related
479         changes.  Also, modernize the generated configure.in.
480         * tests/cond9.test: Likewise.  Also, rely on the `configure.in'
481         stub created by `./defs', rather than writing one from scratch.
482         * tests/cond10.test: Likewise.
483         * tests/depcomp2.test: Likewise.
484         * tests/depend3.test: Likewise.
485         * tests/distcom7.test: Likewise.
486         * tests/fortdep.test: Likewise.  Also, remove definition of
487         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
488         since that flag is already provided by $AUTOMAKE.
489         * tests/mdate.test: Made stricter, by checking that Automake
490         actually failed, and by making a stricter grep on the error
491         message.  Also, set shell `errexit flag'.
492         * tests/python2.test: Improved verbose messages.
493
494         Make test `ammissing.test' stricter.
495         * tests/ammissing.test: Fail if $ACLOCAL succeds unexpectedly.
496         Enable `errexit' shell flag.
497
498 2010-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
499             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
500
501         Fix error in generation of parallel tests.
502         * tests/defs.in ($am_skip_defs): New variable, to be used when
503         ./defs must be sourced multiple times.  If set, unset it and
504         only define $srcdir; otherwise, also go through the rest of
505         the script.
506         ($am_defs_included): Remove, no more needed.
507         * tests/Makefile.am ($(parallel_tests)): Update accordingly,
508         using only $srcdir from defs.
509         Fixes potential test failures of tests that use $required.
510
511 2010-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
512
513         Enable `errexit' shell flag in some test scripts.
514         * tests/subcond.test: Enabled `errexit' shell flag, and related
515         minor changes.
516         * tests/subst.test: Likewise.
517         * tests/vars.test: Likewise.
518         * tests/version4.test: Likewise.
519         * tests/vpath.test: Likewise.
520         * tests/vtexi2.test: Likewise.
521         * tests/werror.test: Likewise.
522         * tests/whoami.test: Likewise.
523         * tests/tags.test: Likewise, and avoid to crate an useless dummy
524         header file.
525         * tests/acsilent.test: Likewise, and don't use an easily-avoided
526         command substitution.
527         * tests/unused.test: Likewise, and don't use an easily-avoided
528         command substitution.
529         * tests/version.test: Likewise, and avoid deprecated constructs
530         in the generated `configure.in'.
531         * tests/version2.test: Likewise, and avoid deprecated constructs
532         in the generated `configure.in'.
533
534 2010-06-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
535             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
536
537         Improve declaration of dependencies in the testsuite.
538         * tests/Makefile.am (check_SCRIPTS): Remove.  Instead, let ...
539         ($(TEST_LOGS)): ... all test logs depend on the scripts.
540         * test/gen-parallel-tests: For each parallel test foo-p.test,
541         let `foo-p.log' also depend on `foo.test', since it is sourced.
542
543 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
544
545         Coverage for TAGS_DEPENDENCIES warning.
546         * tests/tags2.test: New test.
547         * tests/Makefile.am: Update.
548
549         Coverage for use of anachronistic variables.
550         * tests/oldvars.test: New test.
551         * tests/Makefile.am: Update.
552
553         Testsuite coverage for bogus macro file serial numbers.
554         * tests/acloca18.test: Also test ill-formed serial numbers
555         and serial numbers after macro definitions.
556
557         Coverage for aclocal diagnosing underquoted macros.
558         * tests/acloca23.test: New test.
559         * tests/Makefile.am: Update.
560
561 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
562
563         Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
564         * tests/ldadd.test: Enable errexit.  Use AUTOMAKE_fails so
565         the verbose log contains all output.
566         * tests/mdate.test: Likewise.
567         Prompted by Stefano Lattarini's change to discover.test.
568
569 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
570
571         More minor message fixes.
572         * aclocal.in (scan_file): Fix recommended info command line.
573         * automake.in (handle_lib_objects): No need to prepend function
574         name to prog_error message.
575         (handle_tags): Add missing word and missing space in error
576         message.
577         (handle_dist): Add missing closing single quote in message.
578         Line-wrap one long message for readability.
579
580 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
581             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
582
583         Fix distcheck failure with distributed generated parallel tests.
584         * tests/Makefile.am ($(parallel_tests)): Cope with $(srcdir)
585         being different from the value at developer `make dist' time.
586         * tests/defs.in: Protect against mutiple inclusion, by using ...
587         ($am_defs_included): ... this new variable.
588         ($srcdir): Do not compute, but simply define to `@abs_srcdir@'
589         as substituted by configure.
590         Report, suggestions and first fix by Ralf Wildenhues, final
591         patch by Stefano Lattarini.
592
593 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
594
595         Improve tests link*.test (enable `errexit' shell flag).
596         * tests/link_c_cxx.test: Enable `errexit shell flag, and related
597         changes.  Also, do not create useless source files.
598         * tests/link_dist.test: Likewise.
599         * tests/link_f90_only.test: Likewise.
600         * tests/link_f_only.test: Likewise.
601         * tests/link_fc.test: Likewise.
602         * tests/link_fccxx.test: Likewise.
603         * tests/link_fcxx.test: Likewise.
604
605 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
606
607         Improve ext.test semantics, avoid OpenBSD sh errexit issue.
608         * tests/ext.test: Inside shell compound command, use
609         `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
610         fix failure with OpenBSD sh introduced with last patch.
611         Actually ensure that a rule for .EXT.o is created for each
612         known extension EXT.
613
614 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
615
616         Enable `errexit' shell flag in some test scripts.
617         * tests/dash.test: Enable `errexit' shell flag, and related
618         changes.
619         * tests/defun.test: Likewise.
620         * tests/defun2.test: Likewise.
621         * tests/dejagnu.test: Likewise.
622         * tests/double.test: Likewise.
623         * tests/distcom2.test: Likewise.
624         * tests/empty2.test: Likewise.
625         * tests/empty3.test: Likewise.
626         * tests/empty4.test: Likewise.
627         * tests/exdir.test: Likewise.
628         * tests/ext.test: Likewise.
629         * tests/extra.test: Likewise.
630         * tests/extra2.test: Likewise.
631         * tests/extra3.test: Likewise.
632         * tests/extra4.test: Likewise.
633         * tests/flibs.test: Likewise.
634         * tests/fnoc.test: Likewise.
635         * tests/fo.test: Likewise.
636         * tests/instexec.test: Likewise.
637         * tests/ltdeps.test: Likewise.
638         * tests/nodep.test: Likewise.
639         * tests/nodepcomp.test: Likewise.
640         * tests/f90only.test: Likewise, and remove botched/obsoleted
641         comments and unecessary commands.
642         * tests/fonly.test: Likewise, and remove botched/obsoleted
643         comments and unecessary commands.
644         * tests/discover.test: Likewise, and made stricter.
645
646         Enable `errexit' shell flag in all tests cxx*.test.
647         * tests/cxx.test: Enabled `errexit' shell flag, and related
648         minor changes.
649         * tests/cxxansi.test: Likewise.
650         * tests/cxxcpp.test: Likewise.
651         * tests/cxxlibobj.test: Likewise.
652         * tests/cxxlink.test: Likewise.
653         * tests/cxxo.test: Likewise.
654
655         Enable `errexit' shell flag in various tests.
656         * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
657         minor changes.
658         * tests/acoutpt.test: Likewise.
659         * tests/acoutqnl.test: Likewise.
660         * tests/amassign.test: Likewise.
661         * tests/ansi2.test: Likewise.
662         * tests/ansi4.test: Likewise.
663         * tests/badprog.test: Likewise.
664         * tests/checkall.test: Likewise.
665         * tests/clean.test: Likewise.
666         * tests/colneq2.test: Likewise.
667         * tests/colon.test: Likewise.
668         * tests/colon5.test: Likewise.
669         * tests/colon6.test: Likewise.
670         * tests/comment.test: Likewise.
671         * tests/compile_f90_c_cxx.test: Likewise.
672         * tests/compile_f_c_cxx.test: Likewise.
673         * tests/cond3.test: Likewise.
674         * tests/cond6.test: Likewise.
675         * tests/cond13.test: Likewise.
676         * tests/conf2.test: Likewise.
677         * tests/confvar.test: Likewise.
678         * tests/confvar2.test: Likewise.
679         * tests/cond8.test: Likewise, plus a cosmetic change.
680         * tests/confh4.test: Likewise.  Also, add in the heading comments
681         an excerpt from the original bug report which motivated the
682         creation of this test, to make its purpose clearer.
683
684 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
685
686         Rewrite manual to be gender-neutral.
687         * doc/automake.texi (GNU Build System)
688         (Standard Directory Variables, General Operation, CVS)
689         (Hard-Coded Install Paths, Dependencies As Side Effects):
690         Rewrite text to not contain gender-specific pronouns when
691         speaking about developers or users, either by avoiding pronouns
692         or by addressing them as `you' instead.
693         * THANKS: Update.
694         Report by Christina Gratorp.
695
696         * AUTHORS: Update.
697
698 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
699
700         Tiny fix in silent8.test (display output of `make' command).
701         * tests/silent8.test: Make sure that the captured output of `make'
702         command is always displayed.
703
704         Make tests on user extensibility of silent-rules mode stricter.
705         * tests/silent6.test: Made stricter w.r.t. the grepping of the
706         output produced by `make'.
707         * tests/silent7.test: Likewise.
708
709         Tests on silent-mode for C/Libtool made stricter.
710         * tests/silent.test: Made stricter w.r.t. the grepping of the
711         output produced by `make'.
712         * tests/silent2.test: Likewise.
713         * tests/silent4.test: Likewise.
714         * tests/silent9.test: Likewise.
715         * tests/silent3.test: Likewise, and add a final `make distclean'
716         command to keep it better in sync with tests/silent{4,9}.test.
717
718         Improved test silent5.test.
719         * tests/silent5.test: Remove by hand all generated C files after
720         non-verbose builds, to ensure the following builds are clean.
721         Try to clean and rebuild with the same verbosity and without
722         removing generated sources in between, to check that this does
723         not trigger a different set of rules.  Make grepping of make's
724         output stricter.  Improved/added some comments.
725
726         New tests for Automake silent-mode with Fortran.
727         * tests/silentf77.test: New test.
728         * tests/silentf90.test: Likewise.
729         * tests/Makefile.am (TESTS): Updated accordingly.
730
731         New test `silentcxx.test' (Automake silent-mode with C++).
732         * tests/silentcxx.test: New test.
733         * tests/Makefile.am (TESTS): Updated accordingly.
734
735         New test `silentyacc.test' (Automake silent-mode with Yacc).
736         * tests/silentyacc.test: New test.
737         * tests/Makefile.am (TESTS): Updated accordingly.
738
739         New test `silentlex.test' (Automake silent-mode with Lex).
740         * tests/silentlex.test: New test.
741         * tests/Makefile.am (TESTS): Updated accordingly.
742
743         Relax tests on silent-rules to cater to overly verbose makes.
744         * tests/silent.test: When testing silent builds, don't fail if
745         make's output simply contains the `mv' substring, but only if
746         it contains the `mv ' substring (note the trailing space).
747         * tests/silent2.test: Likewise.
748         * tests/silent3.test: Likewise.
749         * tests/silent4.test: Likewise.
750         * tests/silent5.test: Likewise.
751         * tests/silent9.test: Likewise.
752
753 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
754
755         Extend test on `nostdinc' automake option.
756         * tests/nostdinc.test: Enable `errexit' shell flag.  Related and
757         unrelated minor changes.  Make the grepping of the generated
758         Makefile.in slighty stricter.  Generate and run configure, so that
759         the generated Makefile can be grepped too.
760
761 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
762
763         Make gnupload portable to EBCDIC hosts.
764         * lib/gnupload: Use literal newline as argument for 'tr' rather
765         than \015, for EBCDIC hosts.  Also, avoid unportable nested
766         double-quotes and backquotes.
767         * THANKS: Update.
768         Report from Eric Blake and Steve Goetze via gnulib.
769
770 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
771
772         Fix Autoconf version required by Automake's configure.
773         Automake configure script used to tell that automake required
774         autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
775         and if that was not found, it gave an error saying that Automake
776         required configure 2.61a-341 or later.  This change should
777         eliminate such inconsistencies.
778         * configure.ac ($required_autoconf_version): New variable.
779         Use it throughout.
780
781 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
782
783         Fix truncated comment in Makefile.am.
784         * Makefile.am (sc_tests_logs_duplicate_prefixes): Fix unfinished
785         sentence in comment.
786         Report by Stefano Lattarini.
787
788         Relax silent8.test for NetBSD make.
789         * tests/silent8.test: Accept ./foo.info in output as well.
790
791         Fix unportable sed script in maintainer-check test.
792         * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
793         not contain semicolon after 'b' or brace commands, for NetBSD.
794
795         Wildcards are not portable to NetBSD make.
796         * doc/automake.texi (Wildcards): Document portability issue.
797         * tests/extra10.test, tests/extra11.test, tests/extra12.test:
798         Require GNU make.
799
800 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
801
802         Make test for configure.in vs. configure.ac stricter.
803         * tests/configure.test: Use a configure.in file that provokes
804         an automake error, to ensure configure.ac is preferred.
805
806         Avoid possible false negatives in dejagnu7.test.
807         * tests/dejagnu7.test: Enable shell `errexit' flag.  Also, avoid
808         unportable use of fgrep option `-e'.
809
810         Fix conflnk3.test to work with Solaris/Heirloom Sh.
811         * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
812         instead of respectively `test -e FILE' and `test ! -e FILE',
813         since Solaris Sh doesn't grok the latter.  Do not SKIP the test
814         if the shell doesn't support `test -e'.
815
816 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
817
818         Warning and error message formatting cleanups.
819         * aclocal.in (parse_arguments, main): Remove trailing period or
820         newline in error or warning messages, avoid capitalization of
821         the first word of a message.
822         * automake.in (check_user_variables, handle_languages)
823         (handle_ltlibraries, scan_aclocal_m4, scan_autoconf_config_files)
824         (scan_autoconf_files, cond_stack_if, require_file_internal)
825         (usage, generate_makefile, parse_arguments): Likewise.
826         * lib/Automake/ChannelDefs.pm (set_strictness): Likewise.
827         * lib/Automake/Configure_ac.pm (find_configure_ac): Likewise.
828         * lib/Automake/Options.pm (set_strictness): Likewise.
829         * lib/Automake/Rule.pm (define): Likewise.
830         * lib/Automake/Variable.pm (define, variables_dump): Likewise.
831         * tests/ltinstloc.test, tests/suffix11.test: Adjust expected
832         error message.
833         * lib/Automake/Channels.pm (setup_channel): Reword error message
834         to be the same as in msg.
835
836         Fix placing of ellipses in English text and synopses.
837         * Makefile.am: Be sure to add a space before `...' in natural
838         language text.
839         * automake.in (scan_autoconf_traces): Likewise.
840         * lib/Automake/Rule.pm (define): Likewise.
841         * lib/Automake/Variable.pm (define): Likewise.
842         * lib/am/dejagnu.am: Likewise.
843         * lib/am/progs.am: Likewise.
844         * lib/gnupload (dprint, upload): Likewise.
845         * tests/confdeps.test: Likewise.
846         * tests/location.test: Adjust expected output.
847         * automake.in (usage): In synopsis, use singular for OPTION,
848         * remove space before ellipsis.
849         * aclocal.in (usage): Likewise.  Also, fix indentation.
850
851         Fix more duplicate message prefixes.
852         * lib/Automake/XFile.pm (seek): Do not prepend $me.
853         ($me): Remove now-unused package-global.
854         * aclocal.in (check_acinclude): Remove duplicate 'warning: '
855         prefix.
856
857         Fix typo in manual.
858         * doc/automake.texi (Simple Tests using parallel-tests): Add
859         missing closing parenthesis.
860
861         Fix leftover call to removed function macros_dump.
862         * automake.in (read_main_am_file): Call variables_dump, not
863         macros_dump.  Print actual error before list of variables.
864
865 2010-04-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
866
867         Minor improvements in comments of test `silent3.test'.
868         * tests/silent3.test: Tell to keep it in sync with `silent9.test'
869         too.
870
871 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
872
873         testsuite: ensure verbose printing of captured output.
874         * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
875         tests/fort2.test, tests/help.test, tests/missing3.test,
876         tests/missing6.test: Print captured stdout or stderr before
877         grepping it.
878
879 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
880
881         Make test badopt.test stricter (by enabling `set -e').
882         * tests/badopt.test: Add call to `set -e'.  Due to this change,
883         an unexpected failure in the call to `$ACLOCAL' (whose outcome
884         was previously unchecked) would cause the whole test to fail.
885         Also, bumped the copyright years.
886
887         Make test for configure.in vs. configure.ac stricter.
888         * tests/configure.test: Use a configure.in file that provokes
889         an automake error, to ensure configure.ac is preferred.
890
891         Use `set -e' in confsub.test (avoids possible false negatives).
892         * tests/confsub.test: Enable shell `errexit' flag, and related
893         changes (this helps avoiding some possible minor false negatives).
894         Also, bumped copyright years.
895
896 2010-04-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
897
898         Fix -Werror handling for presence of configure.in and configure.ac.
899         * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
900         $configure_ac at the global level, before command-line arguments
901         have been parsed.
902         (require_variables): Initialize it here.
903         * tests/configure.test: New test.
904         * tests/Makefile.am: Update.
905         Report by Stefano Lattarini.
906
907 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
908
909         Avoid possible false negatives in confh5.test.
910         * tests/confh5.test: Enable shell `errexit' flag, and bumped
911         copyright years.  Due to this change, any unexpected failure
912         in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
913         a failure in grepping expected text in output files should now
914         cause the whole test to fail.
915
916 2010-04-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
917
918         Fixed typo in POD documentation of Automake::Channels.
919         * lib/Automake/Channels.pm: Fixed typo in POD documentation:
920         @<...> was used instead of C<...>.
921
922 2010-04-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
923
924         Refactor tests on Automake TESTS color output.
925         * tests/color.test: Tests using the expect program moved out to...
926         * tests/color2.test: ... this new file.
927         * tests/Makefile.am (TESTS): Extended accordingly.
928
929 2010-04-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
930
931         Fix typos in comments in test confh5.test
932         * tests/confh5.test: Fix a couple of typos in comments.
933
934         Avoid possible false negatives in canon-name.test.
935         * tests/canon-name.test: Enable shell `errexit' flag.  Improve
936         test description.
937
938 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
939
940         Print 'warnings are treated as errors' note if needed.
941         * lib/Automake/Channels.pm: Fix typo in comment.
942         (_print_message): If -Werror is enabled, print a 'warnings are
943         treated as errors' note before the first such warning.
944         * tests/warnopts.test: Adjust comment to mention expected warning.
945         Adjust code to ignore 'warnings are treated as errors' note.
946         * tests/location.test: Adjust expected output with -Werror.
947         * tests/werror4.test: New test.
948         * tests/Makefile.am: Update.
949         * NEWS: Update.
950
951         Ensure we don't print 'warning:' or 'error:' twice.
952         * Makefile.am (sc_ensure_testsuite_has_run): New helper rule.
953         (sc_tests_logs_duplicate_prefixes): New rule, to check for
954         wrong-looking warning and error messages in the test suite logs.
955         * aclocal.in (scan_configure_dep, scan_file): Remove duplicate
956         `warning: ' prefix.
957         * tests/vars3.test: Rename variable to avoid false positive.
958
959         Prepend type to warning, error, and fatal messages.
960         For the first part of messages of types `error' or `fatal',
961         prepend `error: ' to the message.  Prepend `warning: ' to
962         warning messages, whatever the setting of -Werror.
963         * lib/Automake/Channels.pm (partial): Move up definition.
964         (_format_message): Emit `header' and `footer' strings only with
965         the first resp. last part of a set of partial messages.
966         * lib/Automake/ChannelDefs.pm: Add missing '1;' statement at the
967         end of the module.
968         (Automake::ChannelDefs): Setup warning channels with header
969         `warning: ', error and fatal messages with header `error: '.
970         * tests/condinc2.test, tests/ltinstloc.test: Adjust expected
971         error messages.
972         * tests/comment5.test: Likewise.  Also, include stack notes
973         should not start with `error:'.
974         * tests/location.test: Likewise.  Also, try both -Werror and
975         -Wno-error.
976         * NEWS: Update.
977         Report by Bruno Haible.
978
979         Fix capitalization of error messages, reword one message.
980         * lib/Automake/Variable.pm (define): Do not capitalize the first
981         word in the error message.
982         * automake.in (require_file_internal): Likewise.  Also, reword
983         and line-wrap for better readability.
984         * tests/distcom7.test, tests/pluseq5.test, tests/pluseq9.test:
985         Adjust tests.
986
987         Fix connected warnings about obsolete exeext override.
988         * lib/Automake/Rule.pm (define): Merge two warnings that belong
989         together, by setting the 'partial' flag for the first one.
990
991         Fix per-Makefile.am setting of -Werror.
992         Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
993         Makefile.am would carry over to other Makefile.am files
994         treated afterwards by the same thread, causing inconsistent
995         and unstable exit status values.
996         * lib/Automake/Channels.pm (dup_channel_setup)
997         (drop_channel_setup): Save and restore the setting of
998         $warnings_are_errors.
999         * tests/werror3.test: New test.
1000         * tests/Makefile.am: Adjust.
1001         * NEWS: Update.
1002
1003 2010-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
1004
1005         Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
1006         * tests/confh5.test: In the generated Makefile.am: do not use
1007         `test ! -e FILE' to check for the non-existence of a file, since
1008         that is not supported by Solaris/Heirloom Sh.
1009
1010         Make test `aclocal3.test' stricter.
1011         * tests/aclocal3.test: Add call to `set -e'.  Fail if $ACLOCAL
1012         succeds unexpectedly.
1013
1014         Add tests checking that symlinks are resolved by `make dist'.
1015         * tests/distlinks.test: New test.
1016         * tests/Makefile.am (TESTS): Updated accordingly.
1017         Suggested by observations from Ralf Wildenhues.
1018
1019 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1020
1021         Use -9 for maximum xz compression with dist-xz.
1022         * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
1023         * NEWS, THANKS: Update.
1024         Report by Pavel Sanda.
1025
1026 2010-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
1027
1028         Avoid possible false negatives in cond46.test.
1029         * tests/cond46.test: Enable shell `errexit' flag (and bumped
1030         copyright years).  Due to this change, the testcase should now
1031         fail on unexpected failures in calls to $ACLOCAL/$AUTOMAKE (whose
1032         outcomes were previously unchecked), and on failures in grepping
1033         the expected diagnostic in Automake stderr.
1034
1035 2010-04-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
1036
1037         Generated tests are now just a thin layer around other tests.
1038         * tests/Makefile.am: Rewrite the rule to generate the `*-p.test'
1039         test scripts so that any of them simply includes the corresponding
1040         `*.test' script (after setting `$parallel_tests' to `yes').
1041         * tests/.gitignore: Add wildcard for temporary files used in the
1042         generation of `*-p.test' tests.
1043
1044 2010-03-30  Stefano Lattarini  <stefano.lattarini@gmail.com>
1045
1046         Avoid an unportable use of `$status' shell variable.
1047         * Makefile.am (path-check): Don't use the `$status' shell variable
1048         in the target's rules, as it's special in Zsh (equivalent to `$?',
1049         and readonly).
1050
1051         Avoid another use of `chmod -R'.
1052         * Makefile.am (path-check): To be safe, do not use `chmod -R' on
1053         $(distdir) before removing it (as Solaris `chmod -R' touches
1054         symlink targets).  Instead, use the cleanup strategy used in
1055         distdir.am.
1056
1057 2010-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1058
1059         Remove uses of @acronym and @sc.
1060         * doc/automake.texi (Public Macros, Limitations on File Names):
1061         Remove all usage of @acronym and @sc in the manual.
1062         Suggested by Karl Berry.
1063
1064 2010-03-13  Karl Berry  <karl@freefriends.org>
1065
1066         GNU hello uses fdl.texi, not gpl.texi.
1067         * doc/automake.texi (Texinfo): Adjust example to upstream
1068         change.
1069
1070 2010-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1071
1072         Formatting cleanups in macro comments.
1073         * automake.in, lib/Automake/Channels.pm,
1074         lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
1075         lib/Automake/Variable.pm, lib/Automake/XFile.pm,
1076         m4/options.m4, m4/substnot.m4: Fix macro comment format.
1077
1078 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
1079             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1080
1081         Avoid generation of `tests/defs-p' file.
1082         * tests/defs.in: In the generated `configure.in' snippet: call
1083         `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
1084         variable `parallel_tests' is set to `yes'.
1085         * tests/Makefile.am (defs-p): Target removed.
1086         (check_SCRIPTS): Removed `defs-p'.
1087         (clean-local-check): Do not unlink `defs-p' anymore.
1088         ($(parallel_tests)): Transformation rules for the test scripts
1089         adjusted.
1090         * tests/gen-parallel-tests: Selection rules for the test
1091         scripts adjusted.
1092         * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
1093         then include `./defs' (rather than simply including `./defs-p').
1094         * tests/parallel-tests2.test: Likewise.
1095         * tests/parallel-tests3.test: Likewise.
1096         * tests/parallel-tests4.test: Likewise.
1097         * tests/parallel-tests5.test: Likewise.
1098         * tests/parallel-tests6.test: Likewise.
1099         * tests/parallel-tests7.test: Likewise.
1100         * tests/parallel-tests8.test: Likewise.
1101         * tests/parallel-tests9.test: Likewise.
1102         * tests/parallel-tests10.test: Likewise.
1103         * tests/README (Section "Writing Test Cases" subsection "Do"):
1104         Adjusted the parts referring to tests checking `parallel-tests'
1105         behaviour.  Some other minor related improvements.
1106         * tests/.gitignore (defs-p): Removed.
1107
1108 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
1109
1110         Remove redundant unset of variable TESTS from some test scripts.
1111         * tests/color.test: Do not unset the `TESTS' variable, as it's
1112         already unset in the `defs' file.
1113         * tests/check5.test: Likewise.
1114         * tests/check8.test: Likewise.
1115         * tests/check9.test: Likewise.
1116         * tests/check10.test: Likewise.
1117         * tests/check11.test: Likewise.
1118         * tests/parallel-tests.test: Likewise.
1119         * tests/parallel-tests3.test: Likewise.
1120         * tests/parallel-tests4.test: Likewise.
1121         * tests/parallel-tests5.test: Likewise.
1122         * tests/parallel-tests6.test: Likewise.
1123         * tests/parallel-tests7.test: Likewise.
1124
1125 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1126
1127         Fix cscope test on systems without working Fortran compiler.
1128         * tests/cscope.test: Skip remainder of test if `$MAKE all' fails.
1129         * THANKS: Update.
1130         Report by Peter Johansson.
1131
1132 2010-02-24  Antonio Diaz Diaz  <ant_diaz@teleline.es>  (tiny change)
1133             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1134
1135         Add lzip compression support.
1136         * automake.in (handle_dist): Recognize dist-lzip.
1137         (make_paragraphs): Map LZIP to dist-lzip.
1138         * doc/automake.texi (Dist): Add dist-lzip.
1139         (Options): Likewise.
1140         * lib/Automake/Options.pm (_process_option_list): Add dist-lzip.
1141         * lib/am/distdir.am
1142         (dist dist-all): Add command to create an lzip-compressed tarball.
1143         (distcheck): Handle lzip-compressed tarballs just like the others.
1144         * tests/defs.in: Test for lzip, too.
1145         * tests/lzip.test: New file, based on nogzip.test.
1146         * tests/Makefile.am (TESTS): Add lzip.test.
1147         * NEWS: Update.
1148
1149 2010-02-22  Karl Berry  <karl@gnu.org>
1150
1151         Improve help message of mdate-sh.
1152         * mdate-sh: mention actual output format in help message.
1153
1154 2010-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1155
1156         Deprecate dist-lzma in favor of dist-xz.
1157         * doc/automake.texi (The Types of Distributions, Options):
1158         Adjust text to reflect renaming of lzma to xz.
1159         * NEWS: Update.
1160         Missing deprecation noted by Antonio Diaz Diaz.
1161
1162 2010-02-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1163
1164         Add tests about support of wildcards in EXTRA_DIST.
1165         * tests/extra10.test: New test, check basic support of wildcards
1166         in EXTRA_DIST.
1167         * tests/extra11.test: New test, check more complex usage of
1168         wildcards in EXTRA_DIST.
1169         * tests/extra12.test: New test, check usage of wildcards in
1170         EXTRA_DIST when $builddir != $srcdir.
1171         * tests/Makefile.am (TESTS): Updated accordingly.
1172         Necessity of these new tests suggested by Braden McDaniel
1173         and Ralf Wildenhues.
1174
1175 2010-02-08  Simon Josefsson  <simon@josefsson.org>
1176
1177         Fix copyright statement in gnupload script.
1178         * lib/gnupload: Fix copyright statement.
1179
1180 2010-02-06  Dmitry V. Levin  <ldv@altlinux.org>  (tiny change)
1181             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1182
1183         Fix exit status of signal handlers in shell scripts.
1184         The value of `$?' on entrance to signal handlers in shell scripts
1185         cannot be relied upon, so set the exit code explicitly to
1186         128 + SIG<SIGNAL>.
1187         * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
1188         * lib/elisp-comp: Likewise.
1189         * lib/install-sh: Likewise.
1190         * lib/ylwrap: Likewise.  Also, fix script to trap signal 13, not 3.
1191         * NEWS, THANKS: Update.
1192         Bug report, analysis, and initial patch by Dmitry V. Levin.
1193
1194 2010-02-06  Karl Berry  <karl@gnu.org>
1195
1196         Improve gnupload usage text.
1197         * gnupload (usage): Shorten to make more likely to fit on a tty
1198         line.  Mention CMD in the synopsis.  With ..., plural is implied.
1199
1200 2010-01-28  Christos Kontas  <xakon@yahoo.com>  (tiny change)
1201
1202         Fix some typos in the manual
1203         * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
1204
1205 2010-01-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1206
1207         Fix silent-rules output for disabled dependency tracking.
1208         * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
1209         expansion code to also work in the case where %AMDEP% expands
1210         to FALSE at config.status time, using new substitution string
1211         %VERBOSE-NODEP%.
1212         * automake.in (verbose_nodep_flag): New function, appending
1213         `@am__nodep@' to the verbose-variable name.
1214         (handle_languages): If dependencies are not disabled, use it to
1215         set %VERBOSE-NODEP%.
1216         * m4/depend.m4: Substitute am__nodep as '_no', so the second
1217         verbose-variable will always expand to an empty string, if
1218         dependencies are enabled.
1219         * tests/silent5.test: Also test --disable-dependency-tracking;
1220         also test per-target flags for non-C language files.
1221         * tests/silent9.test: New test, like silent4.test but disable
1222         dependency tracking.
1223         * tests/Makefile.am: Adjust.
1224         * NEWS, THANKS: Update.
1225         Report by Dmitry V. Levin <ldv@altlinux.org>.
1226
1227 2010-01-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
1228
1229         Slighty improve tests acoutbs.test and acoutbs2.test.
1230         * tests/acoutbs2.test: Enable `errexit' shell flag.  Check that
1231         autoconf and configure work, that the file `zot' is created by
1232         configure, and that no file containing a backslash in its name is
1233         created.
1234         * tests/acoutbs.test: Likewise, plus updated copyright years.
1235
1236         Fix test acoutbs2.test.
1237         * tests/acoutbs2: In the generated configure.in: add proper calls
1238         to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
1239         PACKAGE and VERSION. Add a call to aclocal before calling automake.
1240         Updated copyright years.
1241         * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
1242
1243         Add forgotten test scripts to $(TESTS).
1244         * tests/Makefile.am (TESTS): Added test scripts present on the
1245         filesystem, which were erroneously left out from $(TESTS):
1246         acoutbs2.test, badopt.test, extra2.test.
1247         (XFAIL_TESTS): Added acoutbs2.test.
1248
1249 2010-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1250
1251         Sync auxiliary files from upstream.
1252         * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
1253         Sync from upstream.
1254
1255         Bump copyright years.
1256         * aclocal.in (write_aclocal, version): Bump copyright years.
1257         * automake.in (gen_copyright, version): Likewise.
1258         * doc/automake.texi: Likewise.
1259
1260         Rotate ChangeLog.
1261         * ChangeLog.09: New file, rotated from ...
1262         * ChangeLog: ... here.
1263         * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
1264
1265 -----
1266
1267 Copyright (C) 2010  Free Software Foundation, Inc.
1268
1269 Copying and distribution of this file, with or without modification, are
1270 permitted provided the copyright notice and this notice are preserved.
1271
1272 ;; Variables:
1273 ;; coding: utf-8
1274 ;; End: