1 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 docs: ensure example are separated with empty lines in the input
4 * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
5 (API Versioning, Renamed Objects, Multiple Outputs): Add empty
6 lines before `@example' and after `@end example' lines, so info
7 output is rendered correctly, and a following @noindent honored.
8 Report by Stefano Lattarini.
10 2011-01-15 Jim Meyering <meyering@redhat.com>
12 tests: fix comment typo
13 * tests/substref.test: Fix grammar in a comment.
15 2011-01-13 Stefano Lattarini <stefano.lattarini@gmail.com>
17 tests: fix spurious failures in two texinfo tests
18 * tests/txinfo.test ($required): Add 'makeinfo'.
19 * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
20 that make won't try to run makeinfo (which could be unavailable)
22 Found by NixOS Hydra, reported by Ralf Wildenhues.
24 2011-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
26 Avoid testsuite failures due to Autoconf Fortran change.
27 Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
28 require computing the canonical host name. Ensure config.guess
29 and config.sub files are present for respective checks.
30 * tests/compile_f_c_cxx.test: Add stub files.
31 * tests/flibs.test: Likewise.
32 * tests/fort4.test: Use $AUTOMAKE -a for installing files.
34 2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com>
36 docs: clustered '-d' not recognized in YFLAGS
37 This change fixes automake bug#7828.
38 * doc/automake.texi (Yacc and Lex): Document that automake
39 recognizes '-d' in AM_YFLAGS only if it's not clustered with
41 From a report by Юрий Пухальский.
43 2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com>
45 tests: add checks on automatically-distributed files
46 Related to automake bug#7819.
47 * tests/autodist.test: New test.
48 * tests/autodist-subdir.test: Likewise.
49 * tests/autodist-acconfig.test: Likewise.
50 * tests/autodist-acconfig-no-subdir.test: Likewise.
51 * tests/autodist-aclocal-m4.test: Likewise.
52 * tests/autodist-config-headers.test: Likewise.
53 * tests/autodist-configure-no-subdir.test: Likewise.
54 * tests/autodist-stamp-vti.test: Likewise.
55 * tests/Makefile.am (TESTS): Update.
57 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
59 tests: work around a texi+cygnus bug causing a spurious XFAIL
60 * tests/txinfo5b.test: New test, like txinfo5.test but calling
61 automake with the `-Wno-override' option to work around a bug
62 in the texinfo + cygnus interaction.
63 * tests/txinfo5.test: Update heading comments.
64 * tests/Makefile.am (TEST): Updated.
66 2011-01-09 Dave Hart <davehart@gmail.com> (tiny change)
68 Fix another typo in Rule.pm comment.
69 * lib/Automake/Rule.pm: Fix typo.
71 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
73 Improve, extend and tweak tests on Texinfo support.
74 * tests/instdir-texi.test: Add a call to `ls -l' after that to
75 `make', for debugging. When looking for required tools, do not
76 redirect the output of "$tool --help" to /dev/null, and do not
77 uselessly run it in a subshell.
78 * tests/txinfo.test: Rewritten to run autoconf, ./configure and
79 make. All checks moved into Makefile.am.
80 * tests/txinfo8.test: Likewise, and modernize the generated
82 * tests/txinfo2.test: Moved checks into Makefile.am, and other
84 * tests/txinfo5.test: Enable `errexit' shell flag, and related
85 changes. Add trailing `:' command.
86 * tests/txinfo6.test: Likewise, and make grepping of generated
88 * tests/txinfo7.test: Enable `errexit' shell flag, and related
89 changes. Add trailing `:' command. Do not add unnecessary stuff
91 * tests/txinfo9.test: Verify that more targets which are expected
92 to be generated only once really are. Make grepping less strict,
93 to avoid exposing too much internal details. More minor changes.
94 * tests/txinfo16.test: Add trailing `:'. Prefer cat over echo
95 for appending to configure.in. Updated/fixed heading comments.
96 * tests/txinfo23.test: Likewise, and extended a little by making
97 it check that no info file is created in the $(srcdir).
98 * tests/txinfo24.test: Likewise.
99 * tests/txinfo25.test: Likewise.
100 * tests/txinfo18.test: Add trailing `:'. Prefer cat over echo
101 for appending to configure.in. Also, check that index files are
102 cleaned also by "make clean", not only by "make distclean".
103 * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
104 and added trailing `:' command. This testcase also used to check
105 that automake ignores in-line comments when using variables, but
106 preserves them in the output; these checks (added in commit
107 "Release-1-7f-4-g9177ef8") do not really pertain to this test,
108 so they have been moved ...
109 * tests/comments-in-var-defn.test: ... into this new test.
110 * tests/txinfo4.test: Escape literal dots in grep regexps. Add
111 trailing `:' command.
112 * tests/txinfo29.test: Likewise. Relax grepping of generated
113 Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to
114 append to configure.in.
115 * tests/txinfo3.test: Likewise.
116 * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
117 make it stricter, sometimes laxer). Move `set -e' setting just
118 after the inclusion of ./defs. De-uglify a sed command. Other
119 minor cosmetic improvements.
120 * tests/vtexi2.test: Make grepping of Makefile.in stricter. Add
121 trailing `:' command.
122 * tests/vtexi3.test: New test on version.texi support.
123 * tests/vtexi4.test: Likewise.
124 * tests/Makefile.am (TESTS): Updated.
126 2011-01-09 Peter Rosin <peda@lysator.liu.se>
128 Fix another typo in Rule.pm comment.
129 * lib/Automake/Rule.pm: Fix typo.
131 2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com>
133 cosmetics: remove trailing whitespaces
134 * doc/automake.texi: Remove trailing whitespaces.
135 * tests/cond13.test: Likewise.
136 * tests/cond14.test: Likewise.
137 * tests/fort4.test: Likewise.
138 * tests/fort5.test: Likewise.
139 * tests/suffix7.test: Likewise.
140 * tests/vtexi2.test: Likewise.
142 automake: minor fixes in comments
143 * automake.in: Some minor fixes and enhancements in comments.
145 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
147 Add test coverage for deleted header files.
148 * tests/depcomp6.test, tests/depcomp7.test: Update tests to
149 also check for the deleted header bug. If no dependency
150 tracking mechanism could be found, SKIP rather than exit
151 successfully. Use GNU style spacing and ANSI C prototypes.
153 Fix typos in Rule.pm comments.
154 * lib/Automake/Rule.pm: Fix typos in comments.
156 docs: split 'amhello Explained' node.
157 * doc/automake.texi (amhello Explained): Split node ...
158 (amhello's configure.ac Setup Explained)
159 (amhello's Makefile.am Setup Explained) : ... into these two.
160 (Top, Hello World): Adjust, and add @anchor for stable URL links.
161 Suggestion by Karl Berry in automake bug#7766.
163 2011-01-08 Karl Berry <karl@freefriends.org>
164 Eric Blake <eblake@redhat.com>
166 docs: reference defining directories in amhello node.
167 * doc/automake.texi (amhello Explained): Point to Autoconf
168 manual for how to convert directory values into macros.
169 (Optional): Fix grammar nit.
171 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
173 * NEWS: Fix typo (forgotten word).
175 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
176 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
178 docs: how to work around checks on invalid primary/directory couples
179 * doc/automake.texi (Uniform): Document the blessed idiom which can
180 be used to work around automake checks on invalid primary/directory
181 couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
183 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
185 Sync auxiliary files from upstream.
186 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
189 Fix maintainer-check regression.
190 * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
193 Bump copyright years.
194 * aclocal.in (write_aclocal, version): Bump copyright years.
195 * automake.in (gen_copyright, version): Likewise.
196 * doc/automake.texi: Likewise.
198 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
199 Stefano Lattarini <stefano.lattarini@gmail.com>
201 Work around a bug in file-inclusion mechanism of Solaris make.
202 * automake.in (handle_single_transform): In the name of the
203 dependency file: collapse multiple slash characters into a single
205 * tests/subobj11a.test: New test.
206 * tests/subobj11b.test: Likewise.
207 * tests/subobj11c.test: Likewise.
208 * tests/depcomp8a.test: Likewise.
209 * tests/depcomp8b.test: Likewise.
210 * tests/Makefile.am (TESTS): Updated.
212 Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
213 patch and tests by Stefano Lattarini.
215 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
217 Fix two spurious testsuite failures on IRIX 6.5.
218 * tests/suffix13.test (Makefile.am): Account for VPATH issues on
219 weaker make implementations (e.g. IRIX 6.5).
220 * tests/parallel-tests8.test: Likewise, plus a required related
222 Reported by Ralf Wildenhues. The bugs have been there from the
223 first versions of the affected test scripts.
225 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
227 docs: cygnus mode doesn't require AM_CYGWIN32 macro.
228 * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
229 the AM_CYGWIN32 macro (and indeed hasn't required it since at
230 least commit Release-1-2-31-g3038064 "merged changes from
231 Cygnus" of 1997-08-25).
233 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
235 distlinksbrk.test: Work around botched "make -k".
236 * tests/distlinksbrk.test: Run "make" multiple times and grep
237 its output each time for a single error message, rather than
238 running "make -k" one single time and grepping its output for
239 all the expected error messages. This should work around make
240 implementations with limited (broken?) `-k' support; for more
241 information, see these subthreads on the automake-patches list:
242 - 2010-11-15, "Testsuite failures on HP-UX 11.23",
243 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
244 - 2010-11-15, "Testsuite failures on IRIX 6.5",
245 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
247 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
249 Fix sed-related buglet in test "subdir5.test"
250 * tests/subdir5.test: Always terminate text passed to the
251 `i' sed command with a newline, to work around limitations
252 in e.g. older OpenBSD sed.
254 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
256 docs: fix blunder in example about python extension modules
257 * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
258 not `quaternion_SOURCES', to declare the sources of python
259 extension module `quaternion.la'.
261 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
263 docs: list LTLIBRARIES among Automake primaries
264 * doc/automake.texi (Uniform): List `LTLIBRARIES' among
265 the Automake primaries.
267 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
269 Improve tests on generated portions of configure help screen.
270 * tests/help-depend.test: Grepping of configure help screen
271 relaxed to cater for possible line wrapping, and tightened in
273 * tests/help-depend2.test: Likewise.
274 * tests/help-dmalloc.test: Likewise.
275 * tests/help-lispdir.test: Likewise.
276 * tests/help-maintainer.test: Likewise.
277 * tests/help-multilib.test: Likewise.
278 * tests/help-silent.test: Likewise.
279 * tests/help-upc.test: Likewise.
280 * tests/help-init.test: Grepping of configure help screen
283 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
285 Avoid running installed automake from 'libtool --help'.
286 * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
287 Together with fixed Libtool, this fixes check-coverage to not
288 invoke installed automake.
290 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
292 Fix spurious failures in `silent*.test' for $CC != gcc
293 In some tests on automake-produced silent rules, we forced the
294 use of gcc depmode to improve testsuite coverage; but this has
295 unsurprisingly led to spurious failures when some non-GNU C
296 compilers were used. So we are now careful to require GCC in
297 tests that force gcc depmode.
298 From reports by Ralf Wildenhues.
299 * silent5.test: Test removed, its content split into ...
300 * silent-many-generic.test, silent-many-gcc.test: ... these new
301 sister tests, the latter of which forces gcc depmode and lists
303 * silentlex.test: Test removed, its content split into ...
304 * silent-lex-generic.test, silent-lex-gcc.test: ... these new
305 sister tests, the latter of which forces gcc depmode and lists
307 * silentyacc.test: Test removed, its content split into ...
308 * silent-yacc-generic.test, silent-yacc-gcc.test: ... these new
309 sister tests, the latter of which forces gcc depmode and lists
311 * tests/Makefile.am (TESTS): Updated.
313 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
315 Tests: consistently use "|| Exit 1" after ". ./defs".
316 * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
317 `. ./defs', for consistency with other tests.
318 * tests/autohdr2.test: Likewise.
319 * tests/autohdr3.test: Likewise.
320 * tests/autohdr4.test: Likewise.
321 * tests/cond23.test: Likewise.
322 * tests/cond24.test: Likewise.
323 * tests/cond25.test: Likewise.
324 * tests/cond26.test: Likewise.
325 * tests/cond27.test: Likewise.
326 * tests/cond28.test: Likewise.
327 * tests/cond29.test: Likewise.
328 * tests/cond30.test: Likewise.
329 * tests/cond31.test: Likewise.
330 * tests/cond32.test: Likewise.
331 * tests/cond33.test: Likewise.
332 * tests/cond34.test: Likewise.
333 * tests/cond35.test: Likewise.
334 * tests/cond36.test: Likewise.
335 * tests/cond37.test: Likewise.
336 * tests/cond38.test: Likewise.
337 * tests/cond39.test: Likewise.
338 * tests/cond40.test: Likewise.
339 * tests/cond41.test: Likewise.
340 * tests/cond42.test: Likewise.
341 * tests/cond43.test: Likewise.
342 * tests/cond44.test: Likewise.
343 * tests/cond45.test: Likewise.
344 * tests/dollarvar.test: Likewise.
345 * tests/dollarvar2.test: Likewise.
346 * tests/hfs.test: Likewise.
347 * tests/libobj14.test: Likewise.
348 * tests/percent.test: Likewise.
349 * tests/percent2.test: Likewise.
350 * tests/phony.test: Likewise.
351 * tests/silent.test: Likewise.
352 * tests/silent2.test: Likewise.
353 * tests/silent3.test: Likewise.
354 * tests/silent4.test: Likewise.
355 * tests/silent5.test: Likewise.
356 * tests/silent6.test: Likewise.
357 * tests/silent7.test: Likewise.
358 * tests/silent9.test: Likewise.
359 * tests/silentcxx.test: Likewise.
360 * tests/silentf77.test: Likewise.
361 * tests/silentf90.test: Likewise.
362 * tests/silentlex.test: Likewise.
363 * tests/silentyacc.test: Likewise.
365 Avoid useless cleaning in some `silent*.test' tests.
366 * tests/silentf77.test: Removed useless calls to "make clean"
367 and "make maintainer-clean".
368 * tests/silentf90.test: Likewise.
369 * tests/silent3.test: Removed useless call to "make distclean".
370 * tests/silent4.test: Likewise.
371 * tests/silent9.test: Likewise.
373 2010-11-19 Ian Lance Taylor <iant@google.com>
375 Sync config-ml.in from GCC.
376 * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
377 compiler/flag environment variables.
379 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
381 Automake::Config: remove extra trailing semicolon.
382 * lib/Automake/Config.in: Remove extra trailing semicolon.
384 help4.test: fix botched heading comment.
385 * tests/help4.test: Fixed the heading comment, since it
386 didn't correctly describe what checks the testcase was
389 help2.test: add checks on aclocal too.
390 * tests/help2.test: Check that also `aclocal --version' and
391 `aclocal --help' work with configure.in and acinclude.m4 both
394 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
396 Fix spurious failures of silent-rules tests with Sun Fortran.
397 * tests/silentf77.test: Strip from the make output some verbose
398 messages possibly printed by the SunStudio fortran compilers, to
399 avoid spurious failures. Add a trailing `:' command.
400 * tests/silentf90.test: Likewise.
402 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
404 Fix spurious failures of silent5.test with Sun Fortran.
405 * tests/silent5.test: Strip from the make output some verbose
406 messages possibly printed by the SunStudio fortran compilers,
407 to avoid spurious failures. This bug has been there from the
408 very first version of this test script.
410 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
412 Fix regression in colon{5,6}.test (failures on AIX 5.3).
413 * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
414 post-processing the generated Makefile.in, to work around a bug
415 of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
416 on the commend line. Calls to `$MAKE' adjusted accordingly.
417 * tests/colon6.test: Likewise.
418 Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
419 improve and/or extend tests `colon*.test", and reported by Ralf
422 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
424 Fix regression in ansi.test (failure on AIX 5.3).
425 * tests/ansi.test: Remove redundant hackish check done using a
426 hand-postprocessed Makefile.in. This check worked by setting
427 the `$(SHELL)' macro on the command line of make, but this is
428 not supported by the AIX 5.3 make implementation.
429 This bug has been lurking for a long time, and was activated by
430 commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
431 tests". Report by Ralf Wildenhues.
433 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
435 tests: avoid '##'-style comments inside recipe commands.
436 * tests/confh.test, tests/confh8.test: Remove
437 double-hash comments from makefile rule commands, they
438 are not part of the Automake API.
440 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
442 tests: work around dash quoting issue in case statements.
443 * tests/color.test, tests/color2.test: Quote variable in case
444 pattern, to avoid skipping tests with dash 0.5.5.1.
446 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
448 Rebuild menus in the manual.
449 * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
450 Thanks to Ian Lance Taylor for the suggestion.
452 Fix install-strip when $(STRIP) contains several words.
453 * lib/am/install.am (install-strip): Update comment. Use
454 separate sub-make invocations for empty and nonempty $(STRIP),
455 to fix quoting issues.
456 * tests/strip2.test, tests/strip3.test: New tests.
457 * tests/Makefile.am (TESTS): Adjust.
459 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
461 Fix yaccdry.test failure: require bison.
462 * tests/yaccdry.test: Require bison.
463 Found by NixOS Hydra.
465 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
467 Fix a bug in variable concatenation with `+='.
468 * lib/Automake/VarDef.pm (append): Since the content of the
469 "appended-to" variable is going to be unconditionally normalized
470 later, simply separate the appended value with a single whitespace
471 character, instead of trying to be uselessly smarter by using
472 escaped newlines. This fixes a bug in which extra backslashes
473 where erroneously inserted in the variable's final value.
474 * tests/pluseq11.test: New test, exposing the bug.
475 * tests/Makefile.am (TESTS): Update.
476 Reported by Andy Wingo.
478 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
480 Fix bug in rules for creating vala vapi/header files.
481 * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
482 if control structure in a generated make rules. Bug introduced
483 by previous commit `v1.11-221-gd7c1679', and revealed by failure
484 of test `vala2.test'.
486 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
488 Fix and document rules to not touch the tree with `make -n'.
489 * doc/automake.texi (Multiple Outputs): Document the problem of
490 modifications during dry-run execution, propose solution.
492 * automake.in (lang_vala_finish_target): Split recipe so the
493 stamp file is not removed with GNU `make -n'.
494 (lang_yacc_target_hook): Separate removal of parser output file
496 * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
497 passed to make, take care not to remove any files in that case.
498 * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
499 %STAMP% file from induced remaking of config header.
500 * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
502 * tests/Makefile.am (TESTS): Update.
504 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
506 Add FAQ entry for bug reporting instructions.
507 * doc/automake.texi (Reporting Bugs): New section.
508 (Introduction): Refer to it.
510 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
512 Add support for newer python versions.
513 * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
514 _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
515 line and fix indentation.
517 From a report by Thomas Klausner.
519 Add test for `AM_WITH_DMALLOC' macro.
520 * tests/dmalloc.test: New test.
521 * tests/Makefile.am (TESTS): Update.
523 Fix nits and bugs in tests `help*.test'.
524 * tests/help4.test: Fix broken sed commands used to strip `-W...'
525 flags away from "$AUTOMAKE" and "$ACLOCAL".
526 * tests/help3.test: Likewise, and fix a botched comment.
527 * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
528 instead of "$AUTOMAKE ... && Exit 1", for consistency and to
529 please maintainer-check.
530 * tests/help2.test: Likewise.
532 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
533 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
535 Improve tests `help*.test' (also fixes maintcheck failures).
536 * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
537 flags stripped away rather than hard-coded `automake-$APIVERSION',
538 to better honour user-overrides. Similarly for aclocal.
539 * tests/help2.test: Likewise.
540 * tests/help3.test: Likewise.
541 * tests/help4.test: Likewise.
543 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
545 Document and fix expansion of variables before rules.
546 * doc/automake.texi (General Operation): Document that variables
547 are expanded before rules.
548 * lib/am/check.am (am__check_post): Reword a bit so it does not
549 get matched as a rule.
550 Suggestion by Ben Pfaff.
552 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
554 Revert "parallel-tests: avoid command-line length limit issue."
555 This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
556 because it re-opened the bug fixed by v1.11-10-g218e678.
558 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
560 parallel-tests: avoid command-line length limit issue.
561 * automake.in (handle_tests): New argument $makefile, new
562 substitution %MAKEFILE%.
563 (generate_makefile): Adjust.
564 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
565 sanitized TEST_LOGS value as makefile snippet on standard
566 input to $(MAKE), to avoid exceeding the command line limit on
569 Report by Bob Friesenhahn.
571 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
573 Extend tests on `--help' and `--version' options.
574 * tests/help.test: Create a new empty directory and chdir into
575 it, rather than removing already present files. Run the aclocal
576 and automake wrapper scripts directly, instead of relying on
577 $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
578 in aclocal's and automake's stderr. Add a trailing `:' command.
579 * tests/help2.test: New test, checking that options `--help' and
580 `--version' works in directories with broken `configure.in'.
581 * tests/help3.test: New test, checking that options `--help' and
582 `--version' take precedence on the other options.
583 * tests/help4.test: New test, checking that the first among the
584 `--help' and `--version' options to be specified on the command
586 * tests/Makefile.am (TESTS): Updated.
588 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
590 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
591 * tests/compile2.test: Do no uselessly (implicitly) repeat the
592 computation of PATH_SEPARATOR again.
593 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
594 extending/redefining PATH.
595 * tests/instmany-python.test: Likewise.
596 * tests/instmany.test: Likewise.
597 * tests/man4.test: Likewise.
598 * tests/mkinst3.test: Likewise.
599 * tests/mmodely.test: Likewise.
600 * tests/multlib.test: Likewise.
601 * tests/txinfo30.test: Likewise.
602 * tests/README (Section "Writing test cases" subsection "Do"):
604 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
605 (syntax_check_rules): Updated.
607 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
608 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
609 ($ACLOCAL, $AUTOMAKE): Use it.
610 ($PATH_SEPARATOR): New AC_SUBST'd variables.
613 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
615 Manual: be more agnostic w.r.t. version control system used.
616 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
617 directories as a type of probably-unwanted files that are copied
618 regardless when adding directories to EXTRA_DIST.
619 (The dist Hook): Show a dist-hook example which removes Subversion
620 `.svn' private directories from distdir, rather than CVS private
622 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
623 the version control system used.
625 Manual: index refer to target "git-dist", not "cvs-dist".
626 * doc/automake.texi (General Operation): Index the non-standard
627 example about "git-dist" under the "git-dist" label, not under
630 Perl modules: remove references to "Automake CVS repository".
631 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
632 git repository" rather than to "Automake's CVS repository".
633 * lib/Automake/Configure_ac.pm: Likewise.
634 * lib/Automake/FileUtils.pm: Likewise.
635 * lib/Automake/Struct.pm: Likewise.
636 * lib/Automake/XFile.pm: Likewise.
637 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
638 branches" rather than "CVS branches".
640 Remove obsolete .cvsignore files.
641 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
642 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
643 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
644 savannah's CVS readonly mirror there's no way to commit back to
645 the real repository, so this files are not worth maintaining or
648 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
650 * m4/dmalloc.m4: Bump serial number and copyright years.
652 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
654 Fix broken link in `AM_WITH_DMALLOC' help screen.
655 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
656 `http://www.dmalloc.com', not to the dmalloc tarball there (which
657 seems to have been removed, substituted by multiple release
660 2010-09-17 Eric Blake <eblake@redhat.com>
662 Avoid triple-space after period.
663 * automake.in (handle_single_transform): Avoid 3 spaces at
665 * ChangeLog.03: Likewise.
666 * lib/Automake/ChannelDefs.pm: Likewise.
667 * lib/Automake/Channels.pm (_print_message): Likewise.
668 * lib/Automake/Rule.pm (rule): Likewise.
669 * lib/Automake/Variable.pm (var): Likewise.
670 * lib/am/distdir.am: Likewise.
671 * tests/insthook.test: Likewise.
673 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
675 Test automake-generated portions of configure help screen.
676 * tests/help-depend.test: New test.
677 * tests/help-depend2.test: Likewise.
678 * tests/help-dmalloc.test: Likewise.
679 * tests/help-init.test: Likewise.
680 * tests/help-lispdir.test: Likewise.
681 * tests/help-maintainer.test: Likewise.
682 * tests/help-multilib.test: Likewise.
683 * tests/help-regex.test: Likewise.
684 * tests/help-silent.test: Likewise.
685 * tests/help-upc.test: Likewise.
686 * tests/mmode.test: Remove tests on `configure --help' output,
687 they are superseded by tests in `help-maintainer.test'.
688 * tests/Makefile.am (TESTS): Update.
690 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
692 * tests/README: Don't put GCS mandated tools in $required.
694 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
696 * HACKING: Hint at old commits with `git describe' output.
698 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
700 Fix regression in test `colon4.test'.
701 * tests/colon4.test: Fix botched editing to `configure.in'
702 that made the test useless. Since we are at it, improve
703 comments and make grepping of generated Makefile.in slightly
705 Regression introduced by change "Modernize, improve and/or
706 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
708 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
710 Do not require "gzip" explicitly in tests.
711 The gzip utility is simply expected to be present on any decent
712 target system for Automake. So it's pointless to put it in
714 * tests/install2.test ($required): Do not require "gzip".
715 * tests/lex3.test: Likewise.
716 * tests/pr9.test: Likewise.
717 From a suggestion by Ralf Wildenhues.
719 Make some `confh*.test' tests more "semantic" (plus tweakings).
720 * tests/confh.test: Run "autoconf", "configure" and "make check",
721 instead of munging/grepping the generated `Makefile.in'.
722 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
723 white spaces. Do not create useless dummy source file `foo.c'
724 and useless dummy header file `acconfig.h'.
725 (configure.in): Remove superfluous call to `AC_OUTPUT'.
726 * tests/confh6.test: Add trailing `:' command.
727 * tests/confh7.test: In comments, add reference to ...
728 * tests/confh8.test: ... this new test, "semantic" sister
730 * tests/Makefile.am (TESTS): Updated.
731 Prompted by a report from Ralf Wildenhues.
733 Remove useless whitespace padding in XFAIL_TESTS definition.
734 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
736 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
738 parallel-tests: avoid command-line length limit issue.
739 * automake.in (handle_tests): New argument $makefile, new
740 substitution %MAKEFILE%.
741 (generate_makefile): Adjust.
742 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
743 sanitized TEST_LOGS value as makefile snippet on standard
744 input to $(MAKE), to avoid exceeding the command line limit on
747 Report by Bob Friesenhahn.
749 Posix 2008 requires make to set errexit.
750 * lib/am/check.am: Update comment.
752 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
754 Fix bug in test missing6.test.
755 * tests/missing6.test: Fix the hack used to edit `configure.in',
756 to avoid producing a configure script that breaks with shells
757 that do not support $LINENO. Also throw in a couple of cosmetic
760 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
762 Improve robustness of mdate-sh script.
763 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
764 $ls_command is word-split properly upon invocation.
765 (error): New function.
766 (main): Use it. Improve error checking to avoid endless loop
767 in case $ls_command gave bogus output. Fix eval quotation.
768 * tests/mdate6.test: New test, to expose eval quotation error.
769 * tests/Makefile.am: Update.
771 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
773 Fix potential regressions in depcomp{3,5}.test.
774 * tests/depcomp3.test: Do not uselessly escape the character `$'
775 in makefile rules, when it's used to expand a make macro.
776 * tests/depcomp5.test: Likewise.
778 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
779 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
781 Docs: clarify how to avoid automatic dependencies tracking.
782 * doc/automake.texi (Automatic dependency tracking): Mention that
783 automatic dependencies tracking is enabled by default, but that
784 the package developer can disable it altogether. Add a reference
785 to the proper section for a more in-depth explanation.
787 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
788 * doc/automake.texi (Automatic dependency tracking): Fix typo.
790 2010-08-16 Bruno Haible <bruno@clisp.org>
792 Don't hide the table of contents.
793 * doc/automake.texi: Move the table of contents to the beginning.
795 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
797 Tweak and/or extend some `acloca*.test' tests.
798 * tests/aclocal8.test: Ensure verbose printing of captured
800 * tests/aclocal.test: Likewise. Also, add trailing `:'
802 * tests/acloca19.test: Likewise.
803 * tests/aclocal5.test: Add trailing `:' command, and prefer
804 `$me' over hard-coded test name.
805 * tests/aclocal6.test: Likewise.
806 * tests/aclocal18.test: Add trailing `:' command, and make
807 some grepping slightly stricter.
808 * tests/acloca14.test: Likewise. Also, prefer `diff' over
809 `cmp', and add some "cosmetic" blank lines.
811 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
813 Tweak and extend tests `pr[!0-9]*.test'.
814 * tests/primary3.test: Add trailing `:' command.
815 * tests/primary.test: Make grepping of Automake's stderr stricter.
816 Also, add trailing `:' command, and cosmetic changes in spacing.
817 * tests/primary2.test: Likewise.
818 * tests/prefix.test: Enable `errexit' shell flags, and related
819 changes. Add a trailing `:' command.
820 * tests/proginst.test: Likewise.
822 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
823 * tests/pr2.test: Add trailing `:' command.
824 * tests/pr229.test: Likewise.
825 * tests/pr401.test: Likewise.
826 * tests/pr401b.test: Likewise.
827 * tests/pr401c.test: Likewise.
828 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
830 * tests/pr300-lib.test: Likewise.
831 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
832 of captured make stdout.
833 * tests/pr211.test: Add trailing `:' command. Also, use the
834 `configure.in' stub created by ./defs, rather than writing it
836 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
837 * tests/pr287.test: Likewise, and move setting of `errexit' shell
838 flag earlier in the script (just after inclusion of ./defs).
839 * tests/pr220.test: Make grepping of Automake's stderr stricter.
840 Also, add trailing `:' command, and cosmetic changes in spacing.
841 * tests/pr224.test: Move setting of `errexit' shell flag earlier
842 in the script (just after inclusion of ./defs). Do not export
843 `CC=gcc' to configure explicitly (it's already exported globally
844 in ./defs, since we have "gcc" in $required). Use the stub for
845 `configure.in' created by ./defs, rather than writing it from
846 scratch. Do not create dummy files required by "gnu" mode (e.g.
847 README, NEWS), since we run automake in foreign mode anyway.
848 * tests/pr72.test: Enable `errexit' shell flags, and related
849 changes. Extend existing checks a bit.
850 * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
851 the generated `configure.in', and extend existing checks over the
852 generated tarball a bit.
853 * tests/pr87.test: Enable `errexit' shell flags, and related
854 changes. Add a trailing `:' command. Also, do not create dummy
855 files required by "gnu" mode (e.g. README, NEWS), since we run
856 automake in foreign mode anyway.
857 * tests/pr243.test: Avoid obsolescent constructs in the generated
858 `configure.in'. Enable the `errexit' shell flag, and related
859 changes. Cosmetic changes to spacing, add trailing `:' command,
860 and add a "FIXME" comment.
861 * tests/pr266.test: Likewise, and add explicit command line switch
862 `--enable-dependecy-tracking' to the ./configure call.
863 * tests/pr279.test: Avoid obsolescent constructs in the generated
864 `configure.in'; also, use the `configure.in' stub created by
865 ./defs, rather than writing it from scratch. Enable `errexit'
866 shell flag, and related changes. Add trailing `:' command.
867 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
869 * tests/pr307.test: Move setting of `errexit' shell flag earlier
870 in the script (just after inclusion of ./defs). Escape literal
871 dots in grep regular expressions. Also, add a trailing `:'
872 command, and cosmetic changes to spacing.
874 Tests for PR: add excerpts from original bug report, for clarity.
875 * tests/pr2.test: Ditto.
876 * tests/pr9.test: Likewise.
877 * tests/pr72.test: Likewise.
878 * tests/pr87.test: Likewise.
879 * tests/pr211.test: Likewise.
880 * tests/pr220.test: Likewise.
881 * tests/pr224.test: Likewise.
882 * tests/pr229.test: Likewise.
883 * tests/pr243.test: Likewise.
884 * tests/pr266.test: Likewise.
885 * tests/pr279.test: Likewise, and tell to keep it in sync
886 with its sister test.
887 * tests/pr279-2.test: Likewise.
889 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
891 Tweak, extend and improve tests `cond[a-z]*.test'.
892 * tests/condd.test: Add trailing `:' command. Typofix in
894 * tests/condhook.test: Make sure target `install-data-hook' is
895 not called by `make install', but that data files are installed.
896 Use proper m4 quoting in configure.in. Add trailing `:' command.
897 * tests/condhook2.test: New test, sister test of condhook, with
899 * tests/condinc2.test: Use proper m4 quoting in configure.in.
900 Prefer trailing `:' command over trailing `Exit 0'.
901 * tests/condman2.test: Enable errexit shell flag, and related
902 changes. Add trailing `:' command.
903 * tests/condman.test: Likewise. Also, do not create useless
904 dummy manpages, and use proper m4 quoting in configure.in.
905 * tests/condman3.test: New test, similar to condman.test, but
906 it also runs ./configure and "make install", and check the
908 * tests/Makefile.am (TESTS): Updated.
910 Modernize, improve and/or extend tests `colon*.test.
911 * tests/colon.test: Rely on the `configure.in' stub created by
912 `./defs', rather than writing one from scratch. Do not create
913 a useless dummy file. Add trailing `:' command.
914 * tests/colon4.test: Enable the `errexit' shell flag, and
915 related changes. Rely on the `configure.in' stub created by
916 `./defs', rather than writing one from scratch.
917 * tests/colon7.test: Enable `errexit' shell flag, and related
918 changes. Improve the generated `configure.in' file. Add
919 trailing `:' command.
920 * tests/colon2.test: Likewise. Also, add some new checks.
921 * tests/colon5.test: Improve the generated `configure.in' file.
922 Add new, much deeper checks. Add trailing `:' command.
923 * tests/colon6.test: Likewise.
924 * tests/colon3.test: Add trailing `:' command. Remove useless
925 comments and echos. Improve the generated `configure.in' file.
926 make some grepping tests stricter. Add a "FIXME" comments about
927 planned improvements.
929 Improve and extend tests `asm*.test'.
930 * tests/asm.test: Use configure.in stub generated by ./defs,
931 and avoid obsoleted autoconf constructs. Make grepping of
932 Automake stderr stricter. Do not create useless source file.
933 Improve verbose messages. Minor cosmetic changes. Tell to
934 keep it in sync with other sister tests asm*.test.
935 * tests/asm2.test: Likewise.
936 * tests/asm3.test: Likewise.
938 Modernize, improve and/or extend test scripts `conf*.test'.
939 * tests/confh5.test: Cosmetic changes.
940 * tests/conff.test: Likewise.
941 * tests/confdeps.test: Likewise.
942 * tests/conflnk.test: Likewise.
943 * tests/conflnk2.test: Likewise.
944 * tests/confsub.test: Likewise.
945 * tests/confvar.test: Likewise, and make grepping of Makefile.in
947 * tests/confvar2.test: Likewise.
948 * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
949 disabled test (which didn't work with autoconf <= 2.59, but now we
950 are requiring autoconf 2.62, so...)
951 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
952 accordingly to "TODO" comments.
953 * tests/conff2.test: Make grepping of Automake's stderr stricter.
954 Add some comments explaining why we don't use the `configure.in'
955 stub preset be ./defs.
956 * tests/confh.test: Use the `configure.in' stub created by ./defs,
957 rather than writing one from scratch, and do not call AC_OUTPUT.
958 Enable `errexit' shell flag, and related changes. Prefer diff over
959 cmp to compare text files. Prefer perl over sed to fetch the value
960 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
961 of $(DIST_COMMON) stricter.
962 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
963 rather than writing one from scratch. Make grepping of Makefile.in
965 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
967 * tests/configure.test: Avoid obsolescent constructs in generated
968 `configure.ac'. Do not write `configure.in' two times. Escape
969 literal dots in grep regular expressions.
970 * tests/confincl.test: Enable `errexit' shell flag, and related
971 changes. Prefer fgrep over grep. Other cosmetic changes.
972 * tests/config.test: Renamed to ...
973 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
974 and make grepping of `config.h' and `config.h.in' stricter.
975 * tests/conf2.test: Renamed ...
976 * tests/confh7.test: ... to this. Use the `configure.in' stub
977 created by ./defs, rather than writing one from scratch. Try to
978 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
980 * tests/Makefile.am (TESTS): Updated.
982 Minor improvements and fixes in tests `depcomp*.test'.
983 * tests/depcomp.test: Do not create useless dummy source files.
984 Add a trailing `:' command.
985 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
986 it's not in in the environment, rather than exporting it with an
987 empty value. Do not pass CC=gcc to configure, as that's already
988 done in ./defs since we have gcc in $required. Ensure verbose
989 printing of captured stderr, and normalize its checking. Add a
990 trailing `:' command.
991 * tests/depcomp3.test: Quote literal dots and dollar characters in
992 grep regexps. Always use `: >' rather than `touch' to create empty
993 files. Explicitly declare phony targets as such in the created
994 Makefile.am. Add a trailing `:' command.
995 * tests/depcomp4.test: Quote literal dots and dollar characters in
996 grep regexp. Explicitly declare phony targets as such in the
997 created Makefile.am. Ensure verbose printing of captured makes'
998 stoud/stderr. Add a trailing `:' command.
999 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
1000 in the script (just after inclusion of ./defs). Quote literal dots
1001 and dollar characters in grep regexps. Explicitly declare phony
1002 targets as such in the created Makefile.am. Add a trailing `:'
1004 * tests/depcomp6.test: Consistently use m4 quoting in the generated
1005 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
1006 statement required by OpenBSD's sh `set -e' more robust, and add
1007 explanatory comments to it.
1008 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
1010 Separate failing part of test `all.test'.
1011 * tests/all.test: Keep only (x)failing part of the test. Working
1012 checks moved out to ...
1013 * tests/all2.test: ... this new test.
1014 * tests/Makefile.am (TESTS): Updated.
1016 Modernize, improve and extend tests `subobj*.test'.
1017 * tests/subobjname.test: Add trailing `:' command.
1018 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
1019 Escape literal dots in grep regexps.
1020 * tests/subobj2.test: Add trailing `:' command. Do not use the
1021 unportable fgrep option `-e'.
1022 * tests/subobj3.test: Add trailing `:' command.
1023 (configure.in): Use proper m4 quoting, and avoid obsolescent
1025 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
1026 flag, with related changes
1027 * tests/subobj4.test: Likewise. Also, make grepping of
1028 `Makefile.in' stricter.
1029 * tests/subobj5.test: Add trailing `:' command. Move setting of
1030 `errexit' shell flag earlier in the script (just after inclusion
1032 (configure.in): Use the stub created by `./defs', rather than
1033 writing it from scratch, and avoid obsolescent constructs.
1034 * tests/subobj6.test: Add trailing `:' command. Move setting of
1035 `errexit' shell flag earlier in the script (just after inclusion
1036 of ./defs). Do not create useless dummy ac-init file `f'.
1037 * tests/subobj7.test: Do not create useless dummy ac-init file
1039 (configure.in): Use the stub created by `./defs', rather than
1040 writing it from scratch, and avoid obsolescent constructs.
1041 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
1042 in the script (just after inclusion of ./defs). Fail the test if
1043 `make distcheck' fails. Ensure verbose printing of captured make
1044 stdout. Avoid useless fork by doing simple grep instead of using
1045 test -n "`COMMAND | grep ...`".
1046 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1047 (Makefile.am): Explicitly mark target "print" as phony.
1048 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
1049 trailing `:' command.
1050 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
1052 Remove a couple of obsoleted tests.
1053 * tests/fpinstall.test: Removed.
1054 * tests/fpinst2.test: Likewise.
1055 * tests/Makefile.am (TESTS): Updated.
1057 Bootstrap: updated HACKING entry.
1058 * HACKING ("Working with git"): Explain how to override the
1059 autoconf and autom4te programs used by the bootstrap process.
1062 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
1063 since we don't generate it. Correctly quote arguments of
1064 `eval' builtin. Fixed a botched error message. Removed an
1067 Bootstrap: don't search perl in $PATH.
1068 * bootstrap: Do not explicitly search perl in $PATH anymore.
1069 ($PATH_SEPARATOR): Removed, it's no more needed.
1071 Bootstrap: let the user choose which autoconf to use.
1072 * bootstrap ($AUTOCONF): New variable, from the environment.
1073 ($AUTOM4TE): Likewise, for clarity.
1074 Use "$AUTOCONF" instead of calling "autoconf" directly.
1076 Minor improvements to tests ar*.test.
1077 * tests/ar.test: Add trailing `:' command.
1078 * tests/ar2.test: Likewise, and make grepping of generated
1079 Makefile.in stricter.
1081 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1083 Fix maintainer-check failure.
1084 * tests/cond5.test: Quote sleep argument, this isn't about
1085 time stamp differences.
1087 Sync auxiliary files from upstream.
1088 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
1091 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1093 Work around a nasty bug (segfault) of Solaris make.
1094 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
1095 from $list, to avoid triggering a nasty bug (potential segfault)
1098 2010-08-06 Peter Rosin <peda@lysator.liu.se>
1100 Make cond5.test more robust on MSYS.
1101 * tests/cond5.test: Add delay before the first kill attempt to
1102 cater for problems with MSYS bash.
1104 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1106 Add example git work flow; discuss merge --log in HACKING.
1108 Suggestion by Stefano Lattarini.
1110 Add more hints for debugging make rules.
1111 * doc/automake.texi (Debugging Make Rules): Show command to find
1112 out expanded values of variables; point to makefile debugger.
1114 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
1116 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
1118 Fix typo in the manual.
1119 * doc/automake.texi (Scripts): Fix typo.
1121 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1123 Document current policy for development with git.
1124 * HACKING (Working with git): Overhaul.
1125 Prompted by suggestion from Stefano Lattarini.
1127 Fix AM_COND_IF for gone-invalid condition shell expression.
1128 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
1129 variable, rather than re-evaluating the shell expression for
1131 * tests/cond40.test: Extend test.
1134 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
1135 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
1136 to avoid shell syntax error if the m4 expansion is empty.
1137 * tests/cond40.test: Enhance test.
1139 Coverage: bogus option to AM_INIT_AUTOMAKE.
1140 * tests/init2.test: New test.
1141 * tests/Makefile.am: Update.
1143 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1145 Modernize and improve test scripts `subdir*.test'.
1146 * tests/subdir.test: Enable `errexit' shell flag, and related
1147 changes. Use the `configure.in' stub created by `./defs',
1148 rather than writing one from scratch.
1149 * tests/subdir2.test: Likewise.
1150 * tests/subdir4.test: Likewise.
1151 * tests/subdir3.test: Enable `errexit' shell flag, and related
1152 changes. Do not create useless dummy source files.
1153 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
1154 and in subdirs) stricter. Some minor changes to keep it more
1155 in sync with the related test `subdir8.test'.
1156 * tests/subdir8.test: Likewise (but with the related test being
1157 `subdir5.test' here).
1158 * tests/subdir6.test: Cosmetic change in spacing.
1159 * tests/subdir9.test: Define and use new variable `$distdir'. Add
1160 trailing `:' command.
1161 * tests/subdir10.test: Cosmetic consistency-related change.
1162 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
1163 (configure.in): Use stub created by `./defs', rather than writing
1164 it from scratch. Do not use obsoleted and/or deprecated forms of
1165 autoconf/automake macros.
1167 Modernize and improve test scripts `dist*.test'.
1168 * tests/distcleancheck.test: Do not add useless `-e' option to
1169 a $MAKE call. Extend test by grepping stderr of make.
1170 * tests/distcom2.test: Do not run the same test script on the
1171 Makefile.in twice, but save its output in an intermediate file
1172 instead. Make grepping of DIST_COMMON definition stricter.
1173 Display the content of more files, to ease debugging. Add a
1174 trailing `:' command. Improved heading comments w.r.t. sister
1176 * tests/distcom6.test: Likewise, and avoid to uselessly run
1178 * tests/distcom3.test: Ensure verbose printing of captured stdout
1179 and stderr. Make grepping of captured stderr stricter. Also,
1180 add trailing `:' command.
1181 * tests/distcom4.test: Declare the target `test' in the generated
1182 Makefile.am as `.PHONY'. Display content of more files, to ease
1183 debugging. Add trailing `:' command.
1184 * tests/distcom5.test: Likewise. Also, factor out common sed
1185 script in subroutine `extract_distcommon'.
1186 * tests/distcom7.test: Prefer cat + here-doc over echo to write
1187 test Makefile.am files. Add a trailing `:' command.
1188 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
1189 call to `set -e' earlier. Be stricter and more verbose in the
1190 checking of the generated tarball.
1191 (configure.in): Use the stub provided by ./defs, instead of
1192 writing it from scratch. Avoid obsoleted constructs. Remove
1193 useless call to `AM_PROG_CC_C_O'.
1194 * tests/distdir.test: Various minor improvements/normalizations.
1195 * tests/distlinks.test: Likewise.
1197 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1199 Improve and extend test cond5.test.
1200 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
1201 the background automake process, but poll it every 10 seconds for
1202 at most 30 times (this makes the test both faster on good machines,
1203 and more resilient to spurious timeout-due failures when in low
1204 priority or on heavily-loaded systems).
1205 Check also that automake writes the expected error messages on the
1207 Enable `errexit' flag, and related changes.
1208 Rely on the `configure.in' stub created by `./defs', rather than
1209 writing one from scratch.
1211 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1213 Update program --help output to match current GCS.
1214 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
1215 is not defined, for compatibility to Autoconf < 2.64.
1216 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
1218 (sc_diff_automake_in_automake): Update number of diff lines for
1219 additional substitutions.
1220 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
1221 home page and GNU general help page.
1222 * automake.in (usage): Likewise.
1223 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
1225 (Introduction, Creating amhello, amhello Explained, Options):
1227 * lib/Automake/Makefile.am (do_subst): Substitute
1229 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
1230 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
1233 Clean up @var handling in the manual.
1234 * doc/automake.texi: Throughout the manual, lower-case @var
1235 names, replace a few one-character names.
1237 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1239 Fix typo-related bug in test script silent5.test.
1240 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
1243 Tests: remove useless repetitions of `foreign' automake option.
1244 * tests/multlib.test (configure.in): Remove useless use of
1245 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
1246 already in $AUTOMAKE by default, so no point in repeating it).
1247 * tests/subobj10.test: Likewise.
1248 * tests/subobj9.test: Likewise.
1249 * tests/lex3.test (Makefile.am): Similarly, remove useless use
1250 of `foreign' option in AUTOMAKE_OPTIONS.
1251 * tests/lex5.test: Likewise.
1252 * tests/pr279.test: Likewise.
1253 * tests/pr279-2.test: Likewise.
1254 * tests/specflg3.test: Likewise.
1255 * tests/target-cflags.test: Likewise.
1257 Drop useless requirement "gzip" in lex5.test.
1258 * tests/lex5.test ($required): Do not list "gzip", as it's
1261 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
1263 Fix bugs in test script silent5.test.
1264 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
1265 instead of egrep) that could have led to false negatives.
1267 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1269 Add a test checking that distributed broken symlinks cause
1270 `make dist' to fail.
1271 * tests/distlinksbrk.test: New test.
1272 * tests/Makefile.am (TESTS): Updated.
1274 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1276 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
1277 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
1278 and AM_LFLAGS, LFLAGS in the order in which they now appear in
1281 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
1282 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
1283 please maintainer-check. Ensure generated C files contain a
1284 declaration, to please compilers.
1286 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1288 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
1289 $(FLAGS) precedence.
1290 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
1291 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
1292 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
1293 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
1296 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
1297 $(AM_FLAGS) and $(FLAGS) precedence.
1298 * tests/lflags.test: New test, check that user $(LFLAGS) takes
1299 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
1301 * tests/lflags2.test: Likewise.
1302 * tests/yflags.test: New test, check that user $(YFLAGS) takes
1303 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
1305 * tests/yflags2.test: Likewise.
1306 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
1308 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1310 Modernize, improve and extend tests `suffix*.test'.
1311 * tests/suffix3.test: Enable `errexit' shell flag, and related
1313 * tests/suffix4.test: Likewise.
1314 * tests/suffix6.test: Likewise, and do not create a useless dummy
1316 * tests/suffix7.test: Likewise.
1317 * tests/suffix5.test: Enable `errexit' shell flag, and related
1318 changes. Make grepping of Makefile.in slightly stricter.
1319 * tests/suffix.test: Enable `errexit' shell flag, and related
1320 changes. Also, do not redirect grep output to /dev/null, as this
1321 might unmotivatedly hide useful information.
1322 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
1323 in the script (just after inclusion of ./defs). Use a more
1324 idiomatic way to count text occurrences in Makefile.in with
1325 grep. Do not create useless dummy source files.
1326 * tests/suffix10.test: Ensure verbose printing of captured make
1327 stdout. Minor cosmetic changes.
1328 * tests/suffix8.test: Likewise. Also, drop useless call to the
1329 env(1) utility, and make grepping of make output stricter by using
1330 $FGREP rather than plain grep.
1331 * tests/suffix11.test: Likewise.
1332 * tests/suffix12.test: Likewise.
1333 * tests/suffix9.test: Prefer cat + here-doc over echo to append to
1334 the `configure.in' stub. Cosmetic changes.
1335 * tests/suffix13.test: Cosmetic spacing change.
1337 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
1339 Add useful comment in test script ext.test.
1340 * tests/ext.test: Add a comment explaining why an apparently
1341 useless `if' statement is indeed required.
1343 Add useful comment in test script obsolete.test.
1344 * tests/obsolete.test: Add a comment explaining why we need
1345 an indirection in adding $AUTOUPDATE to $required.
1347 Normalize whitespaces in 'tests/Makefile.am'.
1348 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
1349 definition of this variable.
1351 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1353 Remove a couple of unneeded conditionals from tests.
1354 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
1355 for the FOOTEST conditional.
1357 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1359 Modernize, improve and/or fix various test scripts.
1360 * tests/symlink3.test: Deleted, separated into two new, more
1362 * tests/forcemiss.test: ... this one ...
1363 * tests/forcemiss2.test: ... and this one.
1364 * tests/symlink2.test: Enable `errexit' shell flag, make test
1365 stricter, and skip it if symlink creation is not supported.
1366 * tests/postproc.test: Enable `errexit' shell flag, related
1367 changes, and a couple of unrelated cosmetic changes.
1368 * tests/recurs.test: Use the `configure.in' stub created by
1369 `./defs', rather than writing one from scratch. Make grepping
1370 of Automake stderr slightly stricter.
1371 * tests/substtarg.test: Likewise.
1372 * tests/strip.test: Likewise, and move the call to `set -e'
1373 earlier (just after the inclusion of `./defs'). Also, make sure
1374 that the script installed by `make install-script' is equal to
1376 * tests/substref.test: Use the `configure.in' stub created by
1377 `./defs', rather than writing one from scratch. Move the call
1378 to `set -e' earlier (just after the inclusion of `./defs').
1379 Avoid to explicitly export CC for configure (that's already done
1380 in ./defs). Avoid potential problems with unpredictable make
1381 output. Finally, make grepping of Makefile.in stricter.
1382 * tests/substre2.test: Ensure verbose printing of the captured
1383 make's output, and make its grepping slightly stricter.
1384 * tests/cygwin32.test: Enable `errexit' shell flag, and related
1385 changes. Also, do not create useless dummy source/data files.
1386 * tests/scripts.test: Likewise.
1387 * tests/recurs2.test: Likewise. Also, use the `configure.in'
1388 stub created by `./defs'.
1389 * tests/Makefile.am (TESTS): Updated.
1391 Modernize, improve and/or fix tests `pluseq*.test.
1392 * tests/pluseq5.test: Append to configure.in using cat with an
1393 here-doc, not using echo.
1394 * tests/pluseq10.test: Make sure that the captured output of
1395 `make' command is always displayed. Where possible, use $FGREP
1396 instead of grep (this change makes some checks slightly stricter).
1397 * tests/pluseq8.test: Enable `errexit' shell flag, with related
1399 * tests/pluseq.test: Likewise. Also, do not create useless dummy
1400 data files, and use better m4 quoting in generated configure.in.
1401 * tests/pluseq2.test: Likewise. Also, append to configure.in
1402 using cat with an here-doc, not using echo.
1403 * tests/pluseq3.test: Likewise.
1404 * tests/pluseq4.test: Likewise.
1405 * tests/pluseq6.test: Likewise.
1406 * tests/pluseq7.test: Do not create useless dummy source file.
1407 * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
1408 Automake stderr. Some unrelated cosmetic changes.
1410 Testsuite: ensure verbose printing of captured stderr.
1411 * tests/acloca18.test: Print captured stderr before either failing
1412 or grepping it. Be sure to send captured stderr to stderr, not to
1414 * tests/ansi3b.test: Likewise.
1415 * tests/cond39.test: Likewise.
1416 * tests/configure.test: Likewise.
1417 * tests/missing3.test: Likewise.
1418 * tests/missing6.test: Likewise.
1419 * tests/output-order.test: Likewise.
1420 * tests/pr300-ltlib.test: Likewise.
1421 * tests/python6.test: Likewise.
1422 * tests/python7.test: Likewise.
1423 * tests/python8.test: Likewise.
1424 * tests/python9.test: Likewise.
1425 * tests/subobj.test: Likewise.
1426 * tests/vars3.test: Likewise.
1427 * tests/missing4.test: Likewise, and fix a call to grep not to use
1429 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
1430 created by `./defs', rather than writing one from scratch.
1432 Enable `errexit' shell flag in various tests.
1433 * tests/backsl.test: Enable the `errexit' shell flag, and
1435 * tests/backsl2.test: Likewise.
1436 * tests/block.test: Likewise.
1437 * tests/canon2.test: Likewise.
1438 * tests/canon4.test: Likewise.
1439 * tests/comment2.test: Likewise.
1440 * tests/condlib.test: Likewise.
1441 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
1442 * tests/canon3.test: Likewise. Also, avoid to create an useless
1444 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
1445 related changes. Do some cosmetic improvements in the generated
1446 `configure.in' file.
1447 * tests/cond4.test: Likewise.
1448 * tests/cond14.test: Likewise.
1449 * tests/condinc.test: Likewise.
1450 * tests/cond7.test: Likewise. Also, remove useless setting of
1451 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
1452 * tests/ansi.test: Enable the `errexit' shell flag, and related
1453 changes. Extended, esp. by running autoconf, ./configure and
1454 make, and by looking into the distdir.
1456 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1457 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1459 Extend tests/README w.r.t. trailing `:' in test scripts.
1460 * tests/README (section "Writing test cases" subsection "Do"):
1461 Explain why apparently redundant trailing `:' and `Exit 0' in
1462 test scripts can indeed be useful.
1464 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1466 Improve determination of PATH separator in bootstrap script.
1467 * bootstrap: Determine what the PATH separator is the same way
1470 Minor improvements in bootstrap script.
1471 * bootstrap: Consistently use two-spaces indentation. Cosmetic
1472 improvement to comments.
1473 ($me): New variable, containing program basename.
1474 Prepend it to all error messages.
1476 Testsuite now works with BSD make in parallel mode.
1477 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
1478 which are exported by BSD make when run in parallel mode, and
1479 which can confuse make processes spawned by our testsuite.
1480 This change fixes a lot of spurious failure when the testsuite
1481 is run with BSD make in parallel mode.
1483 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1485 Modernize, improve and/or fix various test scripts.
1486 * tests/sanity.test: Rely on the `configure.in' stub created by
1487 `./defs', rather than writing one from scratch.
1488 * tests/depend2.test: Likewise. Also, call `set -e' just after
1489 the inclusion of `./defs', instead that later in the script.
1490 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
1491 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
1492 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
1493 Make auxiliary rules in the generated Makefile more silent.
1494 These changes make some checks slightly stricter.
1495 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
1496 * tests/gettext2.test: Place final `:' at the end of the script,
1497 rather than in the middle.
1498 * tests/exeext.test: Call `set -e' just after the inclusion of
1499 `./defs', instead that later in the script.
1500 * tests/extra5.test: Likewise.
1501 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
1502 plain `mv', just to be sure.
1503 * tests/depcomp.test: Enable `errexit' shell flag, with related
1504 changes. Also, modernize the generated configure.in.
1505 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
1506 stub created by `./defs', rather than writing one from scratch.
1507 * tests/cond10.test: Likewise.
1508 * tests/depcomp2.test: Likewise.
1509 * tests/depend3.test: Likewise.
1510 * tests/distcom7.test: Likewise.
1511 * tests/fortdep.test: Likewise. Also, remove definition of
1512 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
1513 since that flag is already provided by $AUTOMAKE.
1514 * tests/mdate.test: Made stricter, by checking that Automake
1515 actually failed, and by making a stricter grep on the error
1516 message. Also, set shell `errexit flag'.
1517 * tests/python2.test: Improved verbose messages.
1519 Make test `ammissing.test' stricter.
1520 * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
1521 Enable `errexit' shell flag.
1523 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1525 Enable `errexit' shell flag in some test scripts.
1526 * tests/subcond.test: Enabled `errexit' shell flag, and related
1528 * tests/subst.test: Likewise.
1529 * tests/vars.test: Likewise.
1530 * tests/version4.test: Likewise.
1531 * tests/vpath.test: Likewise.
1532 * tests/vtexi2.test: Likewise.
1533 * tests/werror.test: Likewise.
1534 * tests/whoami.test: Likewise.
1535 * tests/tags.test: Likewise, and avoid to crate an useless dummy
1537 * tests/acsilent.test: Likewise, and don't use an easily-avoided
1538 command substitution.
1539 * tests/unused.test: Likewise, and don't use an easily-avoided
1540 command substitution.
1541 * tests/version.test: Likewise, and avoid deprecated constructs
1542 in the generated `configure.in'.
1543 * tests/version2.test: Likewise, and avoid deprecated constructs
1544 in the generated `configure.in'.
1546 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1548 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
1549 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
1550 the verbose log contains all output.
1551 * tests/mdate.test: Likewise.
1552 Prompted by Stefano Lattarini's change to discover.test.
1554 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1556 Improve tests link*.test (enable `errexit' shell flag).
1557 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
1558 changes. Also, do not create useless source files.
1559 * tests/link_dist.test: Likewise.
1560 * tests/link_f90_only.test: Likewise.
1561 * tests/link_f_only.test: Likewise.
1562 * tests/link_fc.test: Likewise.
1563 * tests/link_fccxx.test: Likewise.
1564 * tests/link_fcxx.test: Likewise.
1566 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1568 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
1569 * tests/ext.test: Inside shell compound command, use
1570 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
1571 fix failure with OpenBSD sh introduced with last patch.
1572 Actually ensure that a rule for .EXT.o is created for each
1573 known extension EXT.
1575 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1577 Enable `errexit' shell flag in some test scripts.
1578 * tests/dash.test: Enable `errexit' shell flag, and related
1580 * tests/defun.test: Likewise.
1581 * tests/defun2.test: Likewise.
1582 * tests/dejagnu.test: Likewise.
1583 * tests/double.test: Likewise.
1584 * tests/distcom2.test: Likewise.
1585 * tests/empty2.test: Likewise.
1586 * tests/empty3.test: Likewise.
1587 * tests/empty4.test: Likewise.
1588 * tests/exdir.test: Likewise.
1589 * tests/ext.test: Likewise.
1590 * tests/extra.test: Likewise.
1591 * tests/extra2.test: Likewise.
1592 * tests/extra3.test: Likewise.
1593 * tests/extra4.test: Likewise.
1594 * tests/flibs.test: Likewise.
1595 * tests/fnoc.test: Likewise.
1596 * tests/fo.test: Likewise.
1597 * tests/instexec.test: Likewise.
1598 * tests/ltdeps.test: Likewise.
1599 * tests/nodep.test: Likewise.
1600 * tests/nodepcomp.test: Likewise.
1601 * tests/f90only.test: Likewise, and remove botched/obsoleted
1602 comments and unnecessary commands.
1603 * tests/fonly.test: Likewise, and remove botched/obsoleted
1604 comments and unnecessary commands.
1605 * tests/discover.test: Likewise, and made stricter.
1607 Enable `errexit' shell flag in all tests cxx*.test.
1608 * tests/cxx.test: Enabled `errexit' shell flag, and related
1610 * tests/cxxansi.test: Likewise.
1611 * tests/cxxcpp.test: Likewise.
1612 * tests/cxxlibobj.test: Likewise.
1613 * tests/cxxlink.test: Likewise.
1614 * tests/cxxo.test: Likewise.
1616 Enable `errexit' shell flag in various tests.
1617 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
1619 * tests/acoutpt.test: Likewise.
1620 * tests/acoutqnl.test: Likewise.
1621 * tests/amassign.test: Likewise.
1622 * tests/ansi2.test: Likewise.
1623 * tests/ansi4.test: Likewise.
1624 * tests/badprog.test: Likewise.
1625 * tests/checkall.test: Likewise.
1626 * tests/clean.test: Likewise.
1627 * tests/colneq2.test: Likewise.
1628 * tests/colon.test: Likewise.
1629 * tests/colon5.test: Likewise.
1630 * tests/colon6.test: Likewise.
1631 * tests/comment.test: Likewise.
1632 * tests/compile_f90_c_cxx.test: Likewise.
1633 * tests/compile_f_c_cxx.test: Likewise.
1634 * tests/cond3.test: Likewise.
1635 * tests/cond6.test: Likewise.
1636 * tests/cond13.test: Likewise.
1637 * tests/conf2.test: Likewise.
1638 * tests/confvar.test: Likewise.
1639 * tests/confvar2.test: Likewise.
1640 * tests/cond8.test: Likewise, plus a cosmetic change.
1641 * tests/confh4.test: Likewise. Also, add in the heading comments
1642 an excerpt from the original bug report which motivated the
1643 creation of this test, to make its purpose clearer.
1645 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1647 Rewrite manual to be gender-neutral.
1648 * doc/automake.texi (GNU Build System)
1649 (Standard Directory Variables, General Operation, CVS)
1650 (Hard-Coded Install Paths, Dependencies As Side Effects):
1651 Rewrite text to not contain gender-specific pronouns when
1652 speaking about developers or users, either by avoiding pronouns
1653 or by addressing them as `you' instead.
1655 Report by Christina Gratorp.
1659 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1661 Make tests on user extensibility of silent-rules mode stricter.
1662 * tests/silent6.test: Made stricter w.r.t. the grepping of the
1663 output produced by `make'.
1664 * tests/silent7.test: Likewise.
1666 Tests on silent-mode for C/Libtool made stricter.
1667 * tests/silent.test: Made stricter w.r.t. the grepping of the
1668 output produced by `make'.
1669 * tests/silent2.test: Likewise.
1670 * tests/silent4.test: Likewise.
1671 * tests/silent9.test: Likewise.
1672 * tests/silent3.test: Likewise, and add a final `make distclean'
1673 command to keep it better in sync with tests/silent{4,9}.test.
1675 Improved test silent5.test.
1676 * tests/silent5.test: Remove by hand all generated C files after
1677 non-verbose builds, to ensure the following builds are clean.
1678 Try to clean and rebuild with the same verbosity and without
1679 removing generated sources in between, to check that this does
1680 not trigger a different set of rules. Make grepping of make's
1681 output stricter. Improved/added some comments.
1683 New tests for Automake silent-mode with Fortran.
1684 * tests/silentf77.test: New test.
1685 * tests/silentf90.test: Likewise.
1686 * tests/Makefile.am (TESTS): Updated accordingly.
1688 New test `silentcxx.test' (Automake silent-mode with C++).
1689 * tests/silentcxx.test: New test.
1690 * tests/Makefile.am (TESTS): Updated accordingly.
1692 New test `silentyacc.test' (Automake silent-mode with Yacc).
1693 * tests/silentyacc.test: New test.
1694 * tests/Makefile.am (TESTS): Updated accordingly.
1696 New test `silentlex.test' (Automake silent-mode with Lex).
1697 * tests/silentlex.test: New test.
1698 * tests/Makefile.am (TESTS): Updated accordingly.
1700 Relax tests on silent-rules to cater to overly verbose makes.
1701 * tests/silent.test: When testing silent builds, don't fail if
1702 make's output simply contains the `mv' substring, but only if
1703 it contains the `mv ' substring (note the trailing space).
1704 * tests/silent2.test: Likewise.
1705 * tests/silent3.test: Likewise.
1706 * tests/silent4.test: Likewise.
1707 * tests/silent5.test: Likewise.
1708 * tests/silent9.test: Likewise.
1710 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1712 Fix silent-rules output for disabled dependency tracking.
1713 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
1714 expansion code to also work in the case where %AMDEP% expands
1715 to FALSE at config.status time, using new substitution string
1717 * automake.in (verbose_nodep_flag): New function, appending
1718 `@am__nodep@' to the verbose-variable name.
1719 (handle_languages): If dependencies are not disabled, use it to
1720 set %VERBOSE-NODEP%.
1721 * m4/depend.m4: Substitute am__nodep as '_no', so the second
1722 verbose-variable will always expand to an empty string, if
1723 dependencies are enabled.
1724 * tests/silent5.test: Also test --disable-dependency-tracking;
1725 also test per-target flags for non-C language files.
1726 * tests/silent9.test: New test, like silent4.test but disable
1727 dependency tracking.
1728 * tests/Makefile.am: Adjust.
1729 * NEWS, THANKS: Update.
1730 Report by Dmitry V. Levin <ldv@altlinux.org>.
1732 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1734 Extend test on `nostdinc' automake option.
1735 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
1736 unrelated minor changes. Make the grepping of the generated
1737 Makefile.in slightly stricter. Generate and run configure, so that
1738 the generated Makefile can be grepped too.
1740 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1742 Make gnupload portable to EBCDIC hosts.
1743 * lib/gnupload: Use literal newline as argument for 'tr' rather
1744 than \015, for EBCDIC hosts. Also, avoid unportable nested
1745 double-quotes and backquotes.
1747 Report from Eric Blake and Steve Goetze via gnulib.
1749 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1751 Fix Autoconf version required by Automake's configure.
1752 Automake configure script used to tell that automake required
1753 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
1754 and if that was not found, it gave an error saying that Automake
1755 required configure 2.61a-341 or later. This change should
1756 eliminate such inconsistencies.
1757 * configure.ac ($required_autoconf_version): New variable.
1760 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1762 Fix unportable sed script in maintainer-check test.
1763 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
1764 not contain semicolon after 'b' or brace commands, for NetBSD.
1766 Wildcards are not portable to NetBSD make.
1767 * doc/automake.texi (Wildcards): Document portability issue.
1768 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
1771 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1773 Make test for configure.in vs. configure.ac stricter.
1774 * tests/configure.test: Use a configure.in file that provokes
1775 an automake error, to ensure configure.ac is preferred.
1777 Avoid possible false negatives in dejagnu7.test.
1778 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
1779 unportable use of fgrep option `-e'.
1781 Fix conflnk3.test to work with Solaris/Heirloom Sh.
1782 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
1783 instead of respectively `test -e FILE' and `test ! -e FILE',
1784 since Solaris Sh doesn't grok the latter. Do not SKIP the test
1785 if the shell doesn't support `test -e'.
1787 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1790 * doc/automake.texi (Simple Tests using parallel-tests): Add
1791 missing closing parenthesis.
1793 Fix leftover call to removed function macros_dump.
1794 * automake.in (read_main_am_file): Call variables_dump, not
1795 macros_dump. Print actual error before list of variables.
1797 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1799 Minor improvements in comments of test `silent3.test'.
1800 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
1803 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1805 testsuite: ensure verbose printing of captured output.
1806 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
1807 tests/fort2.test, tests/help.test, tests/missing3.test,
1808 tests/missing6.test: Print captured stdout or stderr before
1811 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1813 Make test badopt.test stricter (by enabling `set -e').
1814 * tests/badopt.test: Add call to `set -e'. Due to this change,
1815 an unexpected failure in the call to `$ACLOCAL' (whose outcome
1816 was previously unchecked) would cause the whole test to fail.
1817 Also, bumped the copyright years.
1819 Make test for configure.in vs. configure.ac stricter.
1820 * tests/configure.test: Use a configure.in file that provokes
1821 an automake error, to ensure configure.ac is preferred.
1823 Use `set -e' in confsub.test (avoids possible false negatives).
1824 * tests/confsub.test: Enable shell `errexit' flag, and related
1825 changes (this helps avoiding some possible minor false negatives).
1826 Also, bumped copyright years.
1828 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1830 Fix -Werror handling for presence of configure.in and configure.ac.
1831 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
1832 $configure_ac at the global level, before command-line arguments
1834 (require_variables): Initialize it here.
1835 * tests/configure.test: New test.
1836 * tests/Makefile.am: Update.
1837 Report by Stefano Lattarini.
1839 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1841 Avoid possible false negatives in confh5.test.
1842 * tests/confh5.test: Enable shell `errexit' flag, and bumped
1843 copyright years. Due to this change, any unexpected failure
1844 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
1845 a failure in grepping expected text in output files should now
1846 cause the whole test to fail.
1848 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1850 Fixed typo in POD documentation of Automake::Channels.
1851 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
1852 @<...> was used instead of C<...>.
1854 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1856 Refactor tests on Automake TESTS color output.
1857 * tests/color.test: Tests using the expect program moved out to...
1858 * tests/color2.test: ... this new file.
1859 * tests/Makefile.am (TESTS): Extended accordingly.
1861 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1863 Fix typos in comments in test confh5.test
1864 * tests/confh5.test: Fix a couple of typos in comments.
1866 Avoid possible false negatives in canon-name.test.
1867 * tests/canon-name.test: Enable shell `errexit' flag. Improve
1870 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1872 Fix per-Makefile.am setting of -Werror.
1873 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
1874 Makefile.am would carry over to other Makefile.am files
1875 treated afterwards by the same thread, causing inconsistent
1876 and unstable exit status values.
1877 * lib/Automake/Channels.pm (dup_channel_setup)
1878 (drop_channel_setup): Save and restore the setting of
1879 $warnings_are_errors.
1880 * tests/werror3.test: New test.
1881 * tests/Makefile.am: Adjust.
1884 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1886 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
1887 * tests/confh5.test: In the generated Makefile.am: do not use
1888 `test ! -e FILE' to check for the non-existence of a file, since
1889 that is not supported by Solaris/Heirloom Sh.
1891 Make test `aclocal3.test' stricter.
1892 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
1893 succeds unexpectedly.
1895 Add tests checking that symlinks are resolved by `make dist'.
1896 * tests/distlinks.test: New test.
1897 * tests/Makefile.am (TESTS): Updated accordingly.
1898 Suggested by observations from Ralf Wildenhues.
1900 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1902 Use -9 for maximum xz compression with dist-xz.
1903 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
1904 * NEWS, THANKS: Update.
1905 Report by Pavel Sanda.
1907 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
1909 Avoid an unportable use of `$status' shell variable.
1910 * Makefile.am (path-check): Don't use the `$status' shell variable
1911 in the target's rules, as it's special in Zsh (equivalent to `$?',
1914 Avoid another use of `chmod -R'.
1915 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
1916 $(distdir) before removing it (as Solaris `chmod -R' touches
1917 symlink targets). Instead, use the cleanup strategy used in
1920 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1922 Remove uses of @acronym and @sc.
1923 * doc/automake.texi (Public Macros, Limitations on File Names):
1924 Remove all usage of @acronym and @sc in the manual.
1925 Suggested by Karl Berry.
1927 2010-03-13 Karl Berry <karl@freefriends.org>
1929 GNU hello uses fdl.texi, not gpl.texi.
1930 * doc/automake.texi (Texinfo): Adjust example to upstream
1933 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1935 Formatting cleanups in macro comments.
1936 * automake.in, lib/Automake/Channels.pm,
1937 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
1938 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
1939 m4/options.m4, m4/substnot.m4: Fix macro comment format.
1941 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1942 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1944 Avoid generation of `tests/defs-p' file.
1945 * tests/defs.in: In the generated `configure.in' snippet: call
1946 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
1947 variable `parallel_tests' is set to `yes'.
1948 * tests/Makefile.am (defs-p): Target removed.
1949 (check_SCRIPTS): Removed `defs-p'.
1950 (clean-local-check): Do not unlink `defs-p' anymore.
1951 ($(parallel_tests)): Transformation rules for the test scripts
1953 * tests/gen-parallel-tests: Selection rules for the test
1955 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
1956 then include `./defs' (rather than simply including `./defs-p').
1957 * tests/parallel-tests2.test: Likewise.
1958 * tests/parallel-tests3.test: Likewise.
1959 * tests/parallel-tests4.test: Likewise.
1960 * tests/parallel-tests5.test: Likewise.
1961 * tests/parallel-tests6.test: Likewise.
1962 * tests/parallel-tests7.test: Likewise.
1963 * tests/parallel-tests8.test: Likewise.
1964 * tests/parallel-tests9.test: Likewise.
1965 * tests/parallel-tests10.test: Likewise.
1966 * tests/README (Section "Writing Test Cases" subsection "Do"):
1967 Adjusted the parts referring to tests checking `parallel-tests'
1968 behaviour. Some other minor related improvements.
1969 * tests/.gitignore (defs-p): Removed.
1971 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1973 Remove redundant unset of variable TESTS from some test scripts.
1974 * tests/color.test: Do not unset the `TESTS' variable, as it's
1975 already unset in the `defs' file.
1976 * tests/check5.test: Likewise.
1977 * tests/check8.test: Likewise.
1978 * tests/check9.test: Likewise.
1979 * tests/check10.test: Likewise.
1980 * tests/check11.test: Likewise.
1981 * tests/parallel-tests.test: Likewise.
1982 * tests/parallel-tests3.test: Likewise.
1983 * tests/parallel-tests4.test: Likewise.
1984 * tests/parallel-tests5.test: Likewise.
1985 * tests/parallel-tests6.test: Likewise.
1986 * tests/parallel-tests7.test: Likewise.
1988 2010-02-22 Karl Berry <karl@gnu.org>
1990 Improve help message of mdate-sh.
1991 * mdate-sh: mention actual output format in help message.
1993 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1995 Deprecate dist-lzma in favor of dist-xz.
1996 * doc/automake.texi (The Types of Distributions, Options):
1997 Adjust text to reflect renaming of lzma to xz.
1999 Missing deprecation noted by Antonio Diaz Diaz.
2001 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2003 Add tests about support of wildcards in EXTRA_DIST.
2004 * tests/extra10.test: New test, check basic support of wildcards
2006 * tests/extra11.test: New test, check more complex usage of
2007 wildcards in EXTRA_DIST.
2008 * tests/extra12.test: New test, check usage of wildcards in
2009 EXTRA_DIST when $builddir != $srcdir.
2010 * tests/Makefile.am (TESTS): Updated accordingly.
2011 Necessity of these new tests suggested by Braden McDaniel
2012 and Ralf Wildenhues.
2014 2010-02-08 Simon Josefsson <simon@josefsson.org>
2016 Fix copyright statement in gnupload script.
2017 * lib/gnupload: Fix copyright statement.
2019 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
2020 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2022 Fix exit status of signal handlers in shell scripts.
2023 The value of `$?' on entrance to signal handlers in shell scripts
2024 cannot be relied upon, so set the exit code explicitly to
2026 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
2027 * lib/elisp-comp: Likewise.
2028 * lib/install-sh: Likewise.
2029 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
2030 * NEWS, THANKS: Update.
2031 Bug report, analysis, and initial patch by Dmitry V. Levin.
2033 2010-02-06 Karl Berry <karl@gnu.org>
2035 Improve gnupload usage text.
2036 * gnupload (usage): Shorten to make more likely to fit on a tty
2037 line. Mention CMD in the synopsis. With ..., plural is implied.
2039 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
2041 Fix some typos in the manual
2042 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
2044 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2046 Slighty improve tests acoutbs.test and acoutbs2.test.
2047 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
2048 autoconf and configure work, that the file `zot' is created by
2049 configure, and that no file containing a backslash in its name is
2051 * tests/acoutbs.test: Likewise, plus updated copyright years.
2053 Fix test acoutbs2.test.
2054 * tests/acoutbs2: In the generated configure.in: add proper calls
2055 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
2056 PACKAGE and VERSION. Add a call to aclocal before calling automake.
2057 Updated copyright years.
2058 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
2060 Add forgotten test scripts to $(TESTS).
2061 * tests/Makefile.am (TESTS): Added test scripts present on the
2062 filesystem, which were erroneously left out from $(TESTS):
2063 acoutbs2.test, badopt.test, extra2.test.
2064 (XFAIL_TESTS): Added acoutbs2.test.
2066 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2068 Sync auxiliary files from upstream.
2069 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
2072 Bump copyright years.
2073 * aclocal.in (write_aclocal, version): Bump copyright years.
2074 * automake.in (gen_copyright, version): Likewise.
2075 * doc/automake.texi: Likewise.
2078 * ChangeLog.09: New file, rotated from ...
2079 * ChangeLog: ... here.
2080 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
2084 Copyright (C) 2010 Free Software Foundation, Inc.
2086 Copying and distribution of this file, with or without modification, are
2087 permitted provided the copyright notice and this notice are preserved.