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