1 2010-08-16 Peter Rosin <peda@lysator.liu.se>
3 Support more C++ file extensions for MSVC in the compile script.
4 * lib/compile (func_cl_wrapper): MSVC only recognizes the .cpp
5 file extension as C++, unless it's given a hint. So hint about
6 .cc, .CC, .cxx, .CXX, c++ and C++. Also do path conversion on
7 .c, .cpp, .CPP, .lib, .LIB and .Lib files.
8 * lib/compile3.test: Test the C++ hinting.
10 2010-08-12 Peter Rosin <peda@lysator.liu.se>
12 Enable the use of "link -lib" as the wrapped archiver.
13 * lib/ar-lib: Enable the use of "link -lib" as the wrapped
14 archiver, as well as allowing some other options to be passed
15 through to the wrapped archiver.
16 * tests/ar-lib.test: Test the above.
18 2010-08-06 Peter Rosin <peda@lysator.liu.se>
20 Add new auxiliary 'ar-lib' script, wrapping Microsoft lib.
21 * lib/ar-lib: New auxiliary script.
22 * lib/Makefile.am: Add above.
23 * tests/ar-lib.test: New test.
24 * tests/Makefile.am: Add above.
25 * automake.in (@common_files): Distribute the 'ar-lib' script.
26 * doc/automake.texi (Auxiliary Programs): Mention the new
28 (Optional): Mention 'ar-lib' in AC_CONFIG_AUX_DIR.
31 2010-08-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
33 Fix shell pattern negation in compile script.
34 * lib/compile (func_file_conv): Use `!' not `^' for pattern
37 2010-08-01 Peter Rosin <peda@lysator.liu.se>
39 Wrap some MSVC options in the compile script.
40 * lib/compile: MSVC supports naming the output file, the option
41 is just not called -o, so transform -o into the appropriate form
42 for MSVC. Also wrap some other options while at it (-L, -l, -Wl,
43 -Xlinker and -I) and convert file names to windows form where
44 needed for those options to make MSVC more usable in an
45 autotooled environment.
46 * doc/automake.texi (Auxiliary Programs): Document the above
47 extension of the compile script.
49 * tests/defs.in: New required entry 'cl'.
50 * tests/compile3.test: New test.
51 * tests/compile4.test: New test.
52 * tests/compile5.test: New test.
53 * tests/Makefile.am: Update.
55 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
57 Add example git work flow; discuss merge --log in HACKING.
59 Suggestion by Stefano Lattarini.
61 Add more hints for debugging make rules.
62 * doc/automake.texi (Debugging Make Rules): Show command to find
63 out expanded values of variables; point to makefile debugger.
65 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
67 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
69 Fix typo in the manual.
70 * doc/automake.texi (Scripts): Fix typo.
72 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
74 Document current policy for development with git.
75 * HACKING (Working with git): Overhaul.
76 Prompted by suggestion from Stefano Lattarini.
78 Fix AM_COND_IF for gone-invalid condition shell expression.
79 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
80 variable, rather than re-evaluating the shell expression for
82 * tests/cond40.test: Extend test.
85 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
86 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
87 to avoid shell syntax error if the m4 expansion is empty.
88 * tests/cond40.test: Enhance test.
90 Coverage: bogus option to AM_INIT_AUTOMAKE.
91 * tests/init2.test: New test.
92 * tests/Makefile.am: Update.
94 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
96 Modernize and improve test scripts `subdir*.test'.
97 * tests/subdir.test: Enable `errexit' shell flag, and related
98 changes. Use the `configure.in' stub created by `./defs',
99 rather than writing one from scratch.
100 * tests/subdir2.test: Likewise.
101 * tests/subdir4.test: Likewise.
102 * tests/subdir3.test: Enable `errexit' shell flag, and related
103 changes. Do not create useless dummy source files.
104 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
105 and in subdirs) stricter. Some minor changes to keep it more
106 in sync with the related test `subdir8.test'.
107 * tests/subdir8.test: Likewise (but with the related test being
108 `subdir5.test' here).
109 * tests/subdir6.test: Cosmetic change in spacing.
110 * tests/subdir9.test: Define and use new variable `$distdir'. Add
111 trailing `:' command.
112 * tests/subdir10.test: Cosmetic consistency-related change.
113 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
114 (configure.in): Use stub created by `./defs', rather than writing
115 it from scratch. Do not use obsoleted and/or deprecated forms of
116 autoconf/automake macros.
118 Modernize and improve test scripts `dist*.test'.
119 * tests/distcleancheck.test: Do not add useless `-e' option to
120 a $MAKE call. Extend test by grepping stderr of make.
121 * tests/distcom2.test: Do not run the same test script on the
122 Makefile.in twice, but save its output in an intermediate file
123 instead. Make grepping of DIST_COMMON definition stricter.
124 Display the content of more files, to ease debugging. Add a
125 trailing `:' command. Improved heading comments w.r.t. sister
127 * tests/distcom6.test: Likewise, and avoid to uselessly run
129 * tests/distcom3.test: Ensure verbose printing of captured stdout
130 and stderr. Make grepping of captured stderr stricter. Also,
131 add trailing `:' command.
132 * tests/distcom4.test: Declare the target `test' in the generated
133 Makefile.am as `.PHONY'. Display content of more files, to ease
134 debugging. Add trailing `:' command.
135 * tests/distcom5.test: Likewise. Also, factor out common sed
136 script in subroutine `extract_distcommon'.
137 * tests/distcom7.test: Prefer cat + here-doc over echo to write
138 test Makefile.am files. Add a trailing `:' command.
139 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
140 call to `set -e' earlier. Be stricter and more verbose in the
141 checking of the generated tarball.
142 (configure.in): Use the stub provided by ./defs, instead of
143 writing it from scratch. Avoid obsoleted constructs. Remove
144 useless call to `AM_PROG_CC_C_O'.
145 * tests/distdir.test: Various minor improvements/normalizations.
146 * tests/distlinks.test: Likewise.
148 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
150 Improve and extend test cond5.test.
151 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
152 the background automake process, but poll it every 10 seconds for
153 at most 30 times (this makes the test both faster on good machines,
154 and more resilient to spurious timeout-due failures when in low
155 priority or on havily-loaded systems).
156 Check also that automake writes the expected error messages on the
158 Enable `errexit' flag, and related changes.
159 Rely on the `configure.in' stub created by `./defs', rather than
160 writing one from scratch.
162 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
164 Update program --help output to match current GCS.
165 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
166 is not defined, for compatibility to Autoconf < 2.64.
167 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
169 (sc_diff_automake_in_automake): Update number of diff lines for
170 additional substitutions.
171 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
172 home page and GNU general help page.
173 * automake.in (usage): Likewise.
174 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
176 (Introduction, Creating amhello, amhello Explained, Options):
178 * lib/Automake/Makefile.am (do_subst): Substitute
180 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
181 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
184 Clean up @var handling in the manual.
185 * doc/automake.texi: Throughout the manual, lower-case @var
186 names, replace a few one-character names.
188 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
190 Fix typo-related bug in test script silent5.test.
191 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
194 Tests: remove useless repetitions of `foreign' automake option.
195 * tests/multlib.test (configure.in): Remove useless use of
196 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
197 already in $AUTOMAKE by default, so no point in repeating it).
198 * tests/subobj10.test: Likewise.
199 * tests/subobj9.test: Likewise.
200 * tests/lex3.test (Makefile.am): Similarly, remove useless use
201 of `foreign' option in AUTOMAKE_OPTIONS.
202 * tests/lex5.test: Likewise.
203 * tests/pr279.test: Likewise.
204 * tests/pr279-2.test: Likewise.
205 * tests/specflg3.test: Likewise.
206 * tests/target-cflags.test: Likewise.
208 Drop useless requirement "gzip" in lex5.test.
209 * tests/lex5.test ($required): Do not list "gzip", as it's
212 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
214 Fix bugs in test script silent5.test.
215 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
216 instead of egrep) that could have led to false negatives.
218 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
220 Add a test checking that distributed broken symlinks cause
222 * tests/distlinksbrk.test: New test.
223 * tests/Makefile.am (TESTS): Updated.
225 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
227 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
228 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
229 and AM_LFLAGS, LFLAGS in the order in which they now appear in
232 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
233 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
234 please maintainer-check. Ensure generated C files contain a
235 declaration, to please compilers.
237 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
239 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
241 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
242 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
243 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
244 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
247 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
248 $(AM_FLAGS) and $(FLAGS) precedence.
249 * tests/lflags.test: New test, check that user $(LFLAGS) takes
250 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
252 * tests/lflags2.test: Likewise.
253 * tests/yflags.test: New test, check that user $(YFLAGS) takes
254 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
256 * tests/yflags2.test: Likewise.
257 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
259 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
261 Modernize, improve and extend tests `suffix*.test'.
262 * tests/suffix3.test: Enable `errexit' shell flag, and related
264 * tests/suffix4.test: Likewise.
265 * tests/suffix6.test: Likewise, and do not create a useless dummy
267 * tests/suffix7.test: Likewise.
268 * tests/suffix5.test: Enable `errexit' shell flag, and related
269 changes. Make grepping of Makefile.in slighty stricter.
270 * tests/suffix.test: Enable `errexit' shell flag, and related
271 changes. Also, do not redirect grep output to /dev/null, as this
272 might unmotivatedly hide useful information.
273 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
274 in the script (just after inclusion of ./defs). Use a more
275 idiomatic way to count text occurrences in Makefile.in with
276 grep. Do not create useless dummy source files.
277 * tests/suffix10.test: Ensure verbose printing of captured make
278 stdout. Minor cosmetic changes.
279 * tests/suffix8.test: Likewise. Also, drop useless call to the
280 env(1) utility, and make grepping of make output stricter by using
281 $FGREP rather than plain grep.
282 * tests/suffix11.test: Likewise.
283 * tests/suffix12.test: Likewise.
284 * tests/suffix9.test: Prefet cat + here-doc over echo to append to
285 the `configure.in' stub. Cosmetic changes.
286 * tests/suffix13.test: Cosmetic spacing change.
288 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
290 Add useful comment in test script ext.test.
291 * tests/ext.test: Add a comment explaining why an apparently
292 useless `if' statement is indeed required.
294 Add useful comment in test script obsolete.test.
295 * tests/obsolte.test: Add a comment explaining why we need
296 an indirection in adding $AUTOUPDATE to $required.
298 Normalize whitespaces in 'tests/Makefile.am'.
299 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
300 definition of this variable.
302 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
304 Remove a couple of unneeded conditionals from tests.
305 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
306 for the FOOTEST conditional.
308 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
310 Modernize, improve and/or fix various test scripts.
311 * tests/symlink3.test: Deleted, separated into two new, more
313 * tests/forcemiss.test: ... this one ...
314 * tests/forcemiss2.test: ... and this one.
315 * tests/symlink2.test: Enable `errexit' shell flag, make test
316 stricter, and skip it if symlink creation is not supported.
317 * tests/postproc.test: Enable `errexit' shell flag, related
318 changes, and a couple of unrelated cosmetic changes.
319 * tests/recurs.test: Use the `configure.in' stub created by
320 `./defs', rather than writing one from scratch. Make grepping
321 of Automake stderr slighty stricter.
322 * tests/substtarg.test: Likewise.
323 * tests/strip.test: Likewise, and move the call to `set -e'
324 earlier (just after the inclusion of `./defs'). Also, make sure
325 that the script installed by `make install-script' is equal to
327 * tests/substref.test: Use the `configure.in' stub created by
328 `./defs', rather than writing one from scratch. Move the call
329 to `set -e' earlier (just after the inclusion of `./defs').
330 Avoid to explicitly export CC for configure (that's already done
331 in ./defs). Avoid potential problems with unpredictable make
332 output. Finally, make grepping of Makefile.in stricter.
333 * tests/substre2.test: Ensure verbose printing of the captured
334 make's output, and make its grepping slighty stricter.
335 * tests/cygwin32.test: Enable `errexit' shell flag, and related
336 changes. Also, do not create useless dummy source/data files.
337 * tests/scripts.test: Likewise.
338 * tests/recurs2.test: Likewise. Also, use the `configure.in'
339 stub created by `./defs'.
340 * tests/Makefile.am (TESTS): Updated.
342 Modernize, improve and/or fix tests `pluseq*.test.
343 * tests/pluseq5.test: Append to configure.in using cat with an
344 here-doc, not using echo.
345 * tests/pluseq10.test: Make sure that the captured output of
346 `make' command is always displayed. Where possible, use $FGREP
347 instead of grep (this change makes some checks slighty stricter).
348 * tests/pluseq8.test: Enable `errexit' shell flag, with related
350 * tests/pluseq.test: Likewise. Also, do not create useless dummy
351 data files, and use better m4 quoting in generated configure.in.
352 * tests/pluseq2.test: Likewise. Also, append to configure.in
353 using cat with an here-doc, not using echo.
354 * tests/pluseq3.test: Likewise.
355 * tests/pluseq4.test: Likewise.
356 * tests/pluseq6.test: Likewise.
357 * tests/pluseq7.test: Do not create useless dummy source file.
358 * tests/pluseq9.test: Slighty extended w.r.t. the grepping of
359 Automake stderr. Some unrelated cosmetic changes.
361 Testsuite: ensure verbose printing of captured stderr.
362 * tests/acloca18.test: Print captured stderr before either failing
363 or grepping it. Be sure to send captured stderr to stderr, not to
365 * tests/ansi3b.test: Likewise.
366 * tests/cond39.test: Likewise.
367 * tests/configure.test: Likewise.
368 * tests/missing3.test: Likewise.
369 * tests/missing6.test: Likewise.
370 * tests/output-order.test: Likewise.
371 * tests/pr300-ltlib.test: Likewise.
372 * tests/python6.test: Likewise.
373 * tests/python7.test: Likewise.
374 * tests/python8.test: Likewise.
375 * tests/python9.test: Likewise.
376 * tests/subobj.test: Likewise.
377 * tests/vars3.test: Likewise.
378 * tests/missing4.test: Likewise, and fix a call to grep not to use
380 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
381 created by `./defs', rather than writing one from scratch.
383 Enable `errexit' shell flag in various tests.
384 * tests/backsl.test: Enable the `errexit' shell flag, and
386 * tests/backsl2.test: Likewise.
387 * tests/block.test: Likewise.
388 * tests/canon2.test: Likewise.
389 * tests/canon4.test: Likewise.
390 * tests/comment2.test: Likewise.
391 * tests/condlib.test: Likewise.
392 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
393 * tests/canon3.test: Likewise. Also, avoid to create an useless
395 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
396 related changes. Do some cosmetic improvements in the generated
398 * tests/cond4.test: Likewise.
399 * tests/cond14.test: Likewise.
400 * tests/condinc.test: Likewise.
401 * tests/cond7.test: Likewise. Also, remove useless setting of
402 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
403 * tests/ansi.test: Enable the `errexit' shell flag, and related
404 changes. Extended, esp. by running autoconf, ./configure and
405 make, and by looking into the distdir.
407 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
408 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
410 Extend tests/README w.r.t. trailing `:' in test scripts.
411 * tests/README (section "Writing test cases" subsection "Do"):
412 Explain why apparently redundant trailing `:' and `Exit 0' in
413 test scripts can indeed be useful.
415 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
417 Improve determination of PATH separator in bootstrap script.
418 * bootstrap: Detemine what the PATH separator is the same way
421 Minor improvements in bootstrap script.
422 * bootstrap: Consistently use two-spaces indentation. Cosmetic
423 improvement to comments.
424 ($me): New variable, containing program basename.
425 Prepend it to all error messages.
427 Testsuite now works with BSD make in parallel mode.
428 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
429 which are exported by BSD make when run in parallel mode, and
430 which can confuse make processes spawned by our testsuite.
431 This change fixes a lot of spurious failure when the testsuite
432 is run with BSD make in parallel mode.
434 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
436 Modernize, improve and/or fix various test scripts.
437 * tests/sanity.test: Rely on the `configure.in' stub created by
438 `./defs', rather than writing one from scratch.
439 * tests/depend2.test: Likewise. Also, call `set -e' just after
440 the inclusion of `./defs', instead that later in the script.
441 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
442 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
443 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
444 Make auxiliary rules in the generated Makefile more silent.
445 These changes make some checks slighty stricter.
446 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
447 * tests/gettext2.test: Place final `:' at the end of the script,
448 rather than in the middle.
449 * tests/exeext.test: Call `set -e' just after the inclusion of
450 `./defs', instead that later in the script.
451 * tests/extra5.test: Likewise.
452 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
453 plain `mv', just to be sure.
454 * tests/depcomp.test: Enable `errexit' shell flag, with related
455 changes. Also, modernize the generated configure.in.
456 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
457 stub created by `./defs', rather than writing one from scratch.
458 * tests/cond10.test: Likewise.
459 * tests/depcomp2.test: Likewise.
460 * tests/depend3.test: Likewise.
461 * tests/distcom7.test: Likewise.
462 * tests/fortdep.test: Likewise. Also, remove definition of
463 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
464 since that flag is already provided by $AUTOMAKE.
465 * tests/mdate.test: Made stricter, by checking that Automake
466 actually failed, and by making a stricter grep on the error
467 message. Also, set shell `errexit flag'.
468 * tests/python2.test: Improved verbose messages.
470 Make test `ammissing.test' stricter.
471 * tests/ammissing.test: Fail if $ACLOCAL succeds unexpectedly.
472 Enable `errexit' shell flag.
474 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
476 Enable `errexit' shell flag in some test scripts.
477 * tests/subcond.test: Enabled `errexit' shell flag, and related
479 * tests/subst.test: Likewise.
480 * tests/vars.test: Likewise.
481 * tests/version4.test: Likewise.
482 * tests/vpath.test: Likewise.
483 * tests/vtexi2.test: Likewise.
484 * tests/werror.test: Likewise.
485 * tests/whoami.test: Likewise.
486 * tests/tags.test: Likewise, and avoid to crate an useless dummy
488 * tests/acsilent.test: Likewise, and don't use an easily-avoided
489 command substitution.
490 * tests/unused.test: Likewise, and don't use an easily-avoided
491 command substitution.
492 * tests/version.test: Likewise, and avoid deprecated constructs
493 in the generated `configure.in'.
494 * tests/version2.test: Likewise, and avoid deprecated constructs
495 in the generated `configure.in'.
497 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
499 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
500 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
501 the verbose log contains all output.
502 * tests/mdate.test: Likewise.
503 Prompted by Stefano Lattarini's change to discover.test.
505 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
507 Improve tests link*.test (enable `errexit' shell flag).
508 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
509 changes. Also, do not create useless source files.
510 * tests/link_dist.test: Likewise.
511 * tests/link_f90_only.test: Likewise.
512 * tests/link_f_only.test: Likewise.
513 * tests/link_fc.test: Likewise.
514 * tests/link_fccxx.test: Likewise.
515 * tests/link_fcxx.test: Likewise.
517 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
519 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
520 * tests/ext.test: Inside shell compound command, use
521 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
522 fix failure with OpenBSD sh introduced with last patch.
523 Actually ensure that a rule for .EXT.o is created for each
526 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
528 Enable `errexit' shell flag in some test scripts.
529 * tests/dash.test: Enable `errexit' shell flag, and related
531 * tests/defun.test: Likewise.
532 * tests/defun2.test: Likewise.
533 * tests/dejagnu.test: Likewise.
534 * tests/double.test: Likewise.
535 * tests/distcom2.test: Likewise.
536 * tests/empty2.test: Likewise.
537 * tests/empty3.test: Likewise.
538 * tests/empty4.test: Likewise.
539 * tests/exdir.test: Likewise.
540 * tests/ext.test: Likewise.
541 * tests/extra.test: Likewise.
542 * tests/extra2.test: Likewise.
543 * tests/extra3.test: Likewise.
544 * tests/extra4.test: Likewise.
545 * tests/flibs.test: Likewise.
546 * tests/fnoc.test: Likewise.
547 * tests/fo.test: Likewise.
548 * tests/instexec.test: Likewise.
549 * tests/ltdeps.test: Likewise.
550 * tests/nodep.test: Likewise.
551 * tests/nodepcomp.test: Likewise.
552 * tests/f90only.test: Likewise, and remove botched/obsoleted
553 comments and unecessary commands.
554 * tests/fonly.test: Likewise, and remove botched/obsoleted
555 comments and unecessary commands.
556 * tests/discover.test: Likewise, and made stricter.
558 Enable `errexit' shell flag in all tests cxx*.test.
559 * tests/cxx.test: Enabled `errexit' shell flag, and related
561 * tests/cxxansi.test: Likewise.
562 * tests/cxxcpp.test: Likewise.
563 * tests/cxxlibobj.test: Likewise.
564 * tests/cxxlink.test: Likewise.
565 * tests/cxxo.test: Likewise.
567 Enable `errexit' shell flag in various tests.
568 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
570 * tests/acoutpt.test: Likewise.
571 * tests/acoutqnl.test: Likewise.
572 * tests/amassign.test: Likewise.
573 * tests/ansi2.test: Likewise.
574 * tests/ansi4.test: Likewise.
575 * tests/badprog.test: Likewise.
576 * tests/checkall.test: Likewise.
577 * tests/clean.test: Likewise.
578 * tests/colneq2.test: Likewise.
579 * tests/colon.test: Likewise.
580 * tests/colon5.test: Likewise.
581 * tests/colon6.test: Likewise.
582 * tests/comment.test: Likewise.
583 * tests/compile_f90_c_cxx.test: Likewise.
584 * tests/compile_f_c_cxx.test: Likewise.
585 * tests/cond3.test: Likewise.
586 * tests/cond6.test: Likewise.
587 * tests/cond13.test: Likewise.
588 * tests/conf2.test: Likewise.
589 * tests/confvar.test: Likewise.
590 * tests/confvar2.test: Likewise.
591 * tests/cond8.test: Likewise, plus a cosmetic change.
592 * tests/confh4.test: Likewise. Also, add in the heading comments
593 an excerpt from the original bug report which motivated the
594 creation of this test, to make its purpose clearer.
596 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
598 Rewrite manual to be gender-neutral.
599 * doc/automake.texi (GNU Build System)
600 (Standard Directory Variables, General Operation, CVS)
601 (Hard-Coded Install Paths, Dependencies As Side Effects):
602 Rewrite text to not contain gender-specific pronouns when
603 speaking about developers or users, either by avoiding pronouns
604 or by addressing them as `you' instead.
606 Report by Christina Gratorp.
610 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
612 Make tests on user extensibility of silent-rules mode stricter.
613 * tests/silent6.test: Made stricter w.r.t. the grepping of the
614 output produced by `make'.
615 * tests/silent7.test: Likewise.
617 Tests on silent-mode for C/Libtool made stricter.
618 * tests/silent.test: Made stricter w.r.t. the grepping of the
619 output produced by `make'.
620 * tests/silent2.test: Likewise.
621 * tests/silent4.test: Likewise.
622 * tests/silent9.test: Likewise.
623 * tests/silent3.test: Likewise, and add a final `make distclean'
624 command to keep it better in sync with tests/silent{4,9}.test.
626 Improved test silent5.test.
627 * tests/silent5.test: Remove by hand all generated C files after
628 non-verbose builds, to ensure the following builds are clean.
629 Try to clean and rebuild with the same verbosity and without
630 removing generated sources in between, to check that this does
631 not trigger a different set of rules. Make grepping of make's
632 output stricter. Improved/added some comments.
634 New tests for Automake silent-mode with Fortran.
635 * tests/silentf77.test: New test.
636 * tests/silentf90.test: Likewise.
637 * tests/Makefile.am (TESTS): Updated accordingly.
639 New test `silentcxx.test' (Automake silent-mode with C++).
640 * tests/silentcxx.test: New test.
641 * tests/Makefile.am (TESTS): Updated accordingly.
643 New test `silentyacc.test' (Automake silent-mode with Yacc).
644 * tests/silentyacc.test: New test.
645 * tests/Makefile.am (TESTS): Updated accordingly.
647 New test `silentlex.test' (Automake silent-mode with Lex).
648 * tests/silentlex.test: New test.
649 * tests/Makefile.am (TESTS): Updated accordingly.
651 Relax tests on silent-rules to cater to overly verbose makes.
652 * tests/silent.test: When testing silent builds, don't fail if
653 make's output simply contains the `mv' substring, but only if
654 it contains the `mv ' substring (note the trailing space).
655 * tests/silent2.test: Likewise.
656 * tests/silent3.test: Likewise.
657 * tests/silent4.test: Likewise.
658 * tests/silent5.test: Likewise.
659 * tests/silent9.test: Likewise.
661 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
663 Fix silent-rules output for disabled dependency tracking.
664 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
665 expansion code to also work in the case where %AMDEP% expands
666 to FALSE at config.status time, using new substitution string
668 * automake.in (verbose_nodep_flag): New function, appending
669 `@am__nodep@' to the verbose-variable name.
670 (handle_languages): If dependencies are not disabled, use it to
672 * m4/depend.m4: Substitute am__nodep as '_no', so the second
673 verbose-variable will always expand to an empty string, if
674 dependencies are enabled.
675 * tests/silent5.test: Also test --disable-dependency-tracking;
676 also test per-target flags for non-C language files.
677 * tests/silent9.test: New test, like silent4.test but disable
679 * tests/Makefile.am: Adjust.
680 * NEWS, THANKS: Update.
681 Report by Dmitry V. Levin <ldv@altlinux.org>.
683 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
685 Extend test on `nostdinc' automake option.
686 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
687 unrelated minor changes. Make the grepping of the generated
688 Makefile.in slighty stricter. Generate and run configure, so that
689 the generated Makefile can be grepped too.
691 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
693 Make gnupload portable to EBCDIC hosts.
694 * lib/gnupload: Use literal newline as argument for 'tr' rather
695 than \015, for EBCDIC hosts. Also, avoid unportable nested
696 double-quotes and backquotes.
698 Report from Eric Blake and Steve Goetze via gnulib.
700 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
702 Fix Autoconf version required by Automake's configure.
703 Automake configure script used to tell that automake required
704 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
705 and if that was not found, it gave an error saying that Automake
706 required configure 2.61a-341 or later. This change should
707 eliminate such inconsistencies.
708 * configure.ac ($required_autoconf_version): New variable.
711 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
713 Fix unportable sed script in maintainer-check test.
714 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
715 not contain semicolon after 'b' or brace commands, for NetBSD.
717 Wildcards are not portable to NetBSD make.
718 * doc/automake.texi (Wildcards): Document portability issue.
719 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
722 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
724 Make test for configure.in vs. configure.ac stricter.
725 * tests/configure.test: Use a configure.in file that provokes
726 an automake error, to ensure configure.ac is preferred.
728 Avoid possible false negatives in dejagnu7.test.
729 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
730 unportable use of fgrep option `-e'.
732 Fix conflnk3.test to work with Solaris/Heirloom Sh.
733 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
734 instead of respectively `test -e FILE' and `test ! -e FILE',
735 since Solaris Sh doesn't grok the latter. Do not SKIP the test
736 if the shell doesn't support `test -e'.
738 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
741 * doc/automake.texi (Simple Tests using parallel-tests): Add
742 missing closing parenthesis.
744 Fix leftover call to removed function macros_dump.
745 * automake.in (read_main_am_file): Call variables_dump, not
746 macros_dump. Print actual error before list of variables.
748 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
750 Minor improvements in comments of test `silent3.test'.
751 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
754 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
756 testsuite: ensure verbose printing of captured output.
757 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
758 tests/fort2.test, tests/help.test, tests/missing3.test,
759 tests/missing6.test: Print captured stdout or stderr before
762 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
764 Make test badopt.test stricter (by enabling `set -e').
765 * tests/badopt.test: Add call to `set -e'. Due to this change,
766 an unexpected failure in the call to `$ACLOCAL' (whose outcome
767 was previously unchecked) would cause the whole test to fail.
768 Also, bumped the copyright years.
770 Make test for configure.in vs. configure.ac stricter.
771 * tests/configure.test: Use a configure.in file that provokes
772 an automake error, to ensure configure.ac is preferred.
774 Use `set -e' in confsub.test (avoids possible false negatives).
775 * tests/confsub.test: Enable shell `errexit' flag, and related
776 changes (this helps avoiding some possible minor false negatives).
777 Also, bumped copyright years.
779 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
781 Fix -Werror handling for presence of configure.in and configure.ac.
782 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
783 $configure_ac at the global level, before command-line arguments
785 (require_variables): Initialize it here.
786 * tests/configure.test: New test.
787 * tests/Makefile.am: Update.
788 Report by Stefano Lattarini.
790 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
792 Avoid possible false negatives in confh5.test.
793 * tests/confh5.test: Enable shell `errexit' flag, and bumped
794 copyright years. Due to this change, any unexpected failure
795 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
796 a failure in grepping expected text in output files should now
797 cause the whole test to fail.
799 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
801 Fixed typo in POD documentation of Automake::Channels.
802 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
803 @<...> was used instead of C<...>.
805 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
807 Refactor tests on Automake TESTS color output.
808 * tests/color.test: Tests using the expect program moved out to...
809 * tests/color2.test: ... this new file.
810 * tests/Makefile.am (TESTS): Extended accordingly.
812 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
814 Fix typos in comments in test confh5.test
815 * tests/confh5.test: Fix a couple of typos in comments.
817 Avoid possible false negatives in canon-name.test.
818 * tests/canon-name.test: Enable shell `errexit' flag. Improve
821 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
823 Fix per-Makefile.am setting of -Werror.
824 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
825 Makefile.am would carry over to other Makefile.am files
826 treated afterwards by the same thread, causing inconsistent
827 and unstable exit status values.
828 * lib/Automake/Channels.pm (dup_channel_setup)
829 (drop_channel_setup): Save and restore the setting of
830 $warnings_are_errors.
831 * tests/werror3.test: New test.
832 * tests/Makefile.am: Adjust.
835 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
837 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
838 * tests/confh5.test: In the generated Makefile.am: do not use
839 `test ! -e FILE' to check for the non-existence of a file, since
840 that is not supported by Solaris/Heirloom Sh.
842 Make test `aclocal3.test' stricter.
843 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
844 succeds unexpectedly.
846 Add tests checking that symlinks are resolved by `make dist'.
847 * tests/distlinks.test: New test.
848 * tests/Makefile.am (TESTS): Updated accordingly.
849 Suggested by observations from Ralf Wildenhues.
851 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
853 Use -9 for maximum xz compression with dist-xz.
854 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
855 * NEWS, THANKS: Update.
856 Report by Pavel Sanda.
858 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
860 Avoid an unportable use of `$status' shell variable.
861 * Makefile.am (path-check): Don't use the `$status' shell variable
862 in the target's rules, as it's special in Zsh (equivalent to `$?',
865 Avoid another use of `chmod -R'.
866 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
867 $(distdir) before removing it (as Solaris `chmod -R' touches
868 symlink targets). Instead, use the cleanup strategy used in
871 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
873 Remove uses of @acronym and @sc.
874 * doc/automake.texi (Public Macros, Limitations on File Names):
875 Remove all usage of @acronym and @sc in the manual.
876 Suggested by Karl Berry.
878 2010-03-13 Karl Berry <karl@freefriends.org>
880 GNU hello uses fdl.texi, not gpl.texi.
881 * doc/automake.texi (Texinfo): Adjust example to upstream
884 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
886 Formatting cleanups in macro comments.
887 * automake.in, lib/Automake/Channels.pm,
888 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
889 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
890 m4/options.m4, m4/substnot.m4: Fix macro comment format.
892 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
893 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
895 Avoid generation of `tests/defs-p' file.
896 * tests/defs.in: In the generated `configure.in' snippet: call
897 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
898 variable `parallel_tests' is set to `yes'.
899 * tests/Makefile.am (defs-p): Target removed.
900 (check_SCRIPTS): Removed `defs-p'.
901 (clean-local-check): Do not unlink `defs-p' anymore.
902 ($(parallel_tests)): Transformation rules for the test scripts
904 * tests/gen-parallel-tests: Selection rules for the test
906 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
907 then include `./defs' (rather than simply including `./defs-p').
908 * tests/parallel-tests2.test: Likewise.
909 * tests/parallel-tests3.test: Likewise.
910 * tests/parallel-tests4.test: Likewise.
911 * tests/parallel-tests5.test: Likewise.
912 * tests/parallel-tests6.test: Likewise.
913 * tests/parallel-tests7.test: Likewise.
914 * tests/parallel-tests8.test: Likewise.
915 * tests/parallel-tests9.test: Likewise.
916 * tests/parallel-tests10.test: Likewise.
917 * tests/README (Section "Writing Test Cases" subsection "Do"):
918 Adjusted the parts referring to tests checking `parallel-tests'
919 behaviour. Some other minor related improvements.
920 * tests/.gitignore (defs-p): Removed.
922 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
924 Remove redundant unset of variable TESTS from some test scripts.
925 * tests/color.test: Do not unset the `TESTS' variable, as it's
926 already unset in the `defs' file.
927 * tests/check5.test: Likewise.
928 * tests/check8.test: Likewise.
929 * tests/check9.test: Likewise.
930 * tests/check10.test: Likewise.
931 * tests/check11.test: Likewise.
932 * tests/parallel-tests.test: Likewise.
933 * tests/parallel-tests3.test: Likewise.
934 * tests/parallel-tests4.test: Likewise.
935 * tests/parallel-tests5.test: Likewise.
936 * tests/parallel-tests6.test: Likewise.
937 * tests/parallel-tests7.test: Likewise.
939 2010-02-22 Karl Berry <karl@gnu.org>
941 Improve help message of mdate-sh.
942 * mdate-sh: mention actual output format in help message.
944 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
946 Deprecate dist-lzma in favor of dist-xz.
947 * doc/automake.texi (The Types of Distributions, Options):
948 Adjust text to reflect renaming of lzma to xz.
950 Missing deprecation noted by Antonio Diaz Diaz.
952 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
954 Add tests about support of wildcards in EXTRA_DIST.
955 * tests/extra10.test: New test, check basic support of wildcards
957 * tests/extra11.test: New test, check more complex usage of
958 wildcards in EXTRA_DIST.
959 * tests/extra12.test: New test, check usage of wildcards in
960 EXTRA_DIST when $builddir != $srcdir.
961 * tests/Makefile.am (TESTS): Updated accordingly.
962 Necessity of these new tests suggested by Braden McDaniel
965 2010-02-08 Simon Josefsson <simon@josefsson.org>
967 Fix copyright statement in gnupload script.
968 * lib/gnupload: Fix copyright statement.
970 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
971 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
973 Fix exit status of signal handlers in shell scripts.
974 The value of `$?' on entrance to signal handlers in shell scripts
975 cannot be relied upon, so set the exit code explicitly to
977 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
978 * lib/elisp-comp: Likewise.
979 * lib/install-sh: Likewise.
980 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
981 * NEWS, THANKS: Update.
982 Bug report, analysis, and initial patch by Dmitry V. Levin.
984 2010-02-06 Karl Berry <karl@gnu.org>
986 Improve gnupload usage text.
987 * gnupload (usage): Shorten to make more likely to fit on a tty
988 line. Mention CMD in the synopsis. With ..., plural is implied.
990 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
992 Fix some typos in the manual
993 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
995 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
997 Slighty improve tests acoutbs.test and acoutbs2.test.
998 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
999 autoconf and configure work, that the file `zot' is created by
1000 configure, and that no file containing a backslash in its name is
1002 * tests/acoutbs.test: Likewise, plus updated copyright years.
1004 Fix test acoutbs2.test.
1005 * tests/acoutbs2: In the generated configure.in: add proper calls
1006 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
1007 PACKAGE and VERSION. Add a call to aclocal before calling automake.
1008 Updated copyright years.
1009 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
1011 Add forgotten test scripts to $(TESTS).
1012 * tests/Makefile.am (TESTS): Added test scripts present on the
1013 filesystem, which were erroneously left out from $(TESTS):
1014 acoutbs2.test, badopt.test, extra2.test.
1015 (XFAIL_TESTS): Added acoutbs2.test.
1017 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1019 Sync auxiliary files from upstream.
1020 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
1023 Bump copyright years.
1024 * aclocal.in (write_aclocal, version): Bump copyright years.
1025 * automake.in (gen_copyright, version): Likewise.
1026 * doc/automake.texi: Likewise.
1029 * ChangeLog.09: New file, rotated from ...
1030 * ChangeLog: ... here.
1031 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
1035 Copyright (C) 2010 Free Software Foundation, Inc.
1037 Copying and distribution of this file, with or without modification, are
1038 permitted provided the copyright notice and this notice are preserved.