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