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