1 2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com>
3 cosmetics: remove trailing whitespaces
4 * doc/automake.texi: Remove trailing whitespaces.
5 * tests/cond13.test: Likewise.
6 * tests/cond14.test: Likewise.
7 * tests/fort4.test: Likewise.
8 * tests/fort5.test: Likewise.
9 * tests/suffix7.test: Likewise.
10 * tests/vtexi2.test: Likewise.
12 automake: minor fixes in comments
13 * automake.in: Some minor fixes and enhancements in comments.
15 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 Add test coverage for deleted header files.
18 * tests/depcomp6.test, tests/depcomp7.test: Update tests to
19 also check for the deleted header bug. If no dependency
20 tracking mechanism could be found, SKIP rather than exit
21 successfully. Use GNU style spacing and ANSI C prototypes.
23 Fix typos in Rule.pm comments.
24 * lib/Automake/Rule.pm: Fix typos in comments.
26 docs: split 'amhello Explained' node.
27 * doc/automake.texi (amhello Explained): Split node ...
28 (amhello's configure.ac Setup Explained)
29 (amhello's Makefile.am Setup Explained) : ... into these two.
30 (Top, Hello World): Adjust, and add @anchor for stable URL links.
31 Suggestion by Karl Berry in automake bug#7766.
33 2011-01-08 Karl Berry <karl@freefriends.org>
34 Eric Blake <eblake@redhat.com>
36 docs: reference defining directories in amhello node.
37 * doc/automake.texi (amhello Explained): Point to Autoconf
38 manual for how to convert directory values into macros.
39 (Optional): Fix grammar nit.
41 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
43 * NEWS: Fix typo (forgotten word).
45 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
46 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
48 docs: how to work around checks on invalid primary/directory couples
49 * doc/automake.texi (Uniform): Document the blessed idiom which can
50 be used to work around automake checks on invalid primary/directory
51 couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
53 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
55 Sync auxiliary files from upstream.
56 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
59 Fix maintainer-check regression.
60 * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
64 * aclocal.in (write_aclocal, version): Bump copyright years.
65 * automake.in (gen_copyright, version): Likewise.
66 * doc/automake.texi: Likewise.
68 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
69 Stefano Lattarini <stefano.lattarini@gmail.com>
71 Work around a bug in file-inclusion mechanism of Solaris make.
72 * automake.in (handle_single_transform): In the name of the
73 dependency file: collapse multiple slash characters into a single
75 * tests/subobj11a.test: New test.
76 * tests/subobj11b.test: Likewise.
77 * tests/subobj11c.test: Likewise.
78 * tests/depcomp8a.test: Likewise.
79 * tests/depcomp8b.test: Likewise.
80 * tests/Makefile.am (TESTS): Updated.
82 Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
83 patch and tests by Stefano Lattarini.
85 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
87 Fix two spurious testsuite failures on IRIX 6.5.
88 * tests/suffix13.test (Makefile.am): Account for VPATH issues on
89 weaker make implementations (e.g. IRIX 6.5).
90 * tests/parallel-tests8.test: Likewise, plus a required related
92 Reported by Ralf Wildenhues. The bugs have been there from the
93 first versions of the affected test scripts.
95 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
97 docs: cygnus mode doesn't require AM_CYGWIN32 macro.
98 * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
99 the AM_CYGWIN32 macro (and indeed hasn't required it since at
100 least commit Release-1-2-31-g3038064 "merged changes from
101 Cygnus" of 1997-08-25).
103 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
105 distlinksbrk.test: Work around botched "make -k".
106 * tests/distlinksbrk.test: Run "make" multiple times and grep
107 its output each time for a single error message, rather than
108 running "make -k" one single time and grepping its output for
109 all the expected error messages. This should work around make
110 implementations with limited (broken?) `-k' support; for more
111 information, see these subthreads on the automake-patches list:
112 - 2010-11-15, "Testsuite failures on HP-UX 11.23",
113 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
114 - 2010-11-15, "Testsuite failures on IRIX 6.5",
115 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
117 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
119 Fix sed-related buglet in test "subdir5.test"
120 * tests/subdir5.test: Always terminate text passed to the
121 `i' sed command with a newline, to work around limitations
122 in e.g. older OpenBSD sed.
124 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
126 docs: fix blunder in example about python extension modules
127 * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
128 not `quaternion_SOURCES', to declare the sources of python
129 extension module `quaternion.la'.
131 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
133 docs: list LTLIBRARIES among Automake primaries
134 * doc/automake.texi (Uniform): List `LTLIBRARIES' among
135 the Automake primaries.
137 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
139 Improve tests on generated portions of configure help screen.
140 * tests/help-depend.test: Grepping of configure help screen
141 relaxed to cater for possible line wrapping, and tightened in
143 * tests/help-depend2.test: Likewise.
144 * tests/help-dmalloc.test: Likewise.
145 * tests/help-lispdir.test: Likewise.
146 * tests/help-maintainer.test: Likewise.
147 * tests/help-multilib.test: Likewise.
148 * tests/help-silent.test: Likewise.
149 * tests/help-upc.test: Likewise.
150 * tests/help-init.test: Grepping of configure help screen
153 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
155 Avoid running installed automake from 'libtool --help'.
156 * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
157 Together with fixed Libtool, this fixes check-coverage to not
158 invoke installed automake.
160 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
162 Fix spurious failures in `silent*.test' for $CC != gcc
163 In some tests on automake-produced silent rules, we forced the
164 use of gcc depmode to improve testsuite coverage; but this has
165 unsurprisingly led to spurious failures when some non-GNU C
166 compilers were used. So we are now careful to require GCC in
167 tests that force gcc depmode.
168 From reports by Ralf Wildenhues.
169 * silent5.test: Test removed, its content split into ...
170 * silent-many-generic.test, silent-many-gcc.test: ... these new
171 sister tests, the latter of which forces gcc depmode and lists
173 * silentlex.test: Test removed, its content split into ...
174 * silent-lex-generic.test, silent-lex-gcc.test: ... these new
175 sister tests, the latter of which forces gcc depmode and lists
177 * silentyacc.test: Test removed, its content split into ...
178 * silent-yacc-generic.test, silent-yacc-gcc.test: ... these new
179 sister tests, the latter of which forces gcc depmode and lists
181 * tests/Makefile.am (TESTS): Updated.
183 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
185 Tests: consistently use "|| Exit 1" after ". ./defs".
186 * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
187 `. ./defs', for consistency with other tests.
188 * tests/autohdr2.test: Likewise.
189 * tests/autohdr3.test: Likewise.
190 * tests/autohdr4.test: Likewise.
191 * tests/cond23.test: Likewise.
192 * tests/cond24.test: Likewise.
193 * tests/cond25.test: Likewise.
194 * tests/cond26.test: Likewise.
195 * tests/cond27.test: Likewise.
196 * tests/cond28.test: Likewise.
197 * tests/cond29.test: Likewise.
198 * tests/cond30.test: Likewise.
199 * tests/cond31.test: Likewise.
200 * tests/cond32.test: Likewise.
201 * tests/cond33.test: Likewise.
202 * tests/cond34.test: Likewise.
203 * tests/cond35.test: Likewise.
204 * tests/cond36.test: Likewise.
205 * tests/cond37.test: Likewise.
206 * tests/cond38.test: Likewise.
207 * tests/cond39.test: Likewise.
208 * tests/cond40.test: Likewise.
209 * tests/cond41.test: Likewise.
210 * tests/cond42.test: Likewise.
211 * tests/cond43.test: Likewise.
212 * tests/cond44.test: Likewise.
213 * tests/cond45.test: Likewise.
214 * tests/dollarvar.test: Likewise.
215 * tests/dollarvar2.test: Likewise.
216 * tests/hfs.test: Likewise.
217 * tests/libobj14.test: Likewise.
218 * tests/percent.test: Likewise.
219 * tests/percent2.test: Likewise.
220 * tests/phony.test: Likewise.
221 * tests/silent.test: Likewise.
222 * tests/silent2.test: Likewise.
223 * tests/silent3.test: Likewise.
224 * tests/silent4.test: Likewise.
225 * tests/silent5.test: Likewise.
226 * tests/silent6.test: Likewise.
227 * tests/silent7.test: Likewise.
228 * tests/silent9.test: Likewise.
229 * tests/silentcxx.test: Likewise.
230 * tests/silentf77.test: Likewise.
231 * tests/silentf90.test: Likewise.
232 * tests/silentlex.test: Likewise.
233 * tests/silentyacc.test: Likewise.
235 Avoid useless cleaning in some `silent*.test' tests.
236 * tests/silentf77.test: Removed useless calls to "make clean"
237 and "make maintainer-clean".
238 * tests/silentf90.test: Likewise.
239 * tests/silent3.test: Removed useless call to "make distclean".
240 * tests/silent4.test: Likewise.
241 * tests/silent9.test: Likewise.
243 2010-11-19 Ian Lance Taylor <iant@google.com>
245 Sync config-ml.in from GCC.
246 * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
247 compiler/flag environment variables.
249 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
251 Automake::Config: remove extra trailing semicolon.
252 * lib/Automake/Config.in: Remove extra trailing semicolon.
254 help4.test: fix botched heading comment.
255 * tests/help4.test: Fixed the heading comment, since it
256 didn't correctly describe what checks the testcase was
259 help2.test: add checks on aclocal too.
260 * tests/help2.test: Check that also `aclocal --version' and
261 `aclocal --help' work with configure.in and acinclude.m4 both
264 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
266 Fix spurious failures of silent-rules tests with Sun Fortran.
267 * tests/silentf77.test: Strip from the make output some verbose
268 messages possibly printed by the SunStudio fortran compilers, to
269 avoid spurious failures. Add a trailing `:' command.
270 * tests/silentf90.test: Likewise.
272 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
274 Fix spurious failures of silent5.test with Sun Fortran.
275 * tests/silent5.test: Strip from the make output some verbose
276 messages possibly printed by the SunStudio fortran compilers,
277 to avoid spurious failures. This bug has been there from the
278 very first version of this test script.
280 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
282 Fix regression in colon{5,6}.test (failures on AIX 5.3).
283 * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
284 post-processing the generated Makefile.in, to work around a bug
285 of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
286 on the commend line. Calls to `$MAKE' adjusted accordingly.
287 * tests/colon6.test: Likewise.
288 Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
289 improve and/or extend tests `colon*.test", and reported by Ralf
292 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
294 Fix regression in ansi.test (failure on AIX 5.3).
295 * tests/ansi.test: Remove redundant hackish check done using a
296 hand-postprocessed Makefile.in. This check worked by setting
297 the `$(SHELL)' macro on the command line of make, but this is
298 not supported by the AIX 5.3 make implementation.
299 This bug has been lurking for a long time, and was activated by
300 commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
301 tests". Report by Ralf Wildenhues.
303 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
305 tests: avoid '##'-style comments inside recipe commands.
306 * tests/confh.test, tests/confh8.test: Remove
307 double-hash comments from makefile rule commands, they
308 are not part of the Automake API.
310 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
312 tests: work around dash quoting issue in case statements.
313 * tests/color.test, tests/color2.test: Quote variable in case
314 pattern, to avoid skipping tests with dash 0.5.5.1.
316 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
318 Rebuild menus in the manual.
319 * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
320 Thanks to Ian Lance Taylor for the suggestion.
322 Fix install-strip when $(STRIP) contains several words.
323 * lib/am/install.am (install-strip): Update comment. Use
324 separate sub-make invocations for empty and nonempty $(STRIP),
325 to fix quoting issues.
326 * tests/strip2.test, tests/strip3.test: New tests.
327 * tests/Makefile.am (TESTS): Adjust.
329 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
331 Fix yaccdry.test failure: require bison.
332 * tests/yaccdry.test: Require bison.
333 Found by NixOS Hydra.
335 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
337 Fix a bug in variable concatenation with `+='.
338 * lib/Automake/VarDef.pm (append): Since the content of the
339 "appended-to" variable is going to be unconditionally normalized
340 later, simply separate the appended value with a single whitespace
341 character, instead of trying to be uselessly smarter by using
342 escaped newlines. This fixes a bug in which extra backslashes
343 where erroneously inserted in the variable's final value.
344 * tests/pluseq11.test: New test, exposing the bug.
345 * tests/Makefile.am (TESTS): Update.
346 Reported by Andy Wingo.
348 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
350 Fix bug in rules for creating vala vapi/header files.
351 * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
352 if control structure in a generated make rules. Bug introduced
353 by previous commit `v1.11-221-gd7c1679', and revealed by failure
354 of test `vala2.test'.
356 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
358 Fix and document rules to not touch the tree with `make -n'.
359 * doc/automake.texi (Multiple Outputs): Document the problem of
360 modifications during dry-run execution, propose solution.
362 * automake.in (lang_vala_finish_target): Split recipe so the
363 stamp file is not removed with GNU `make -n'.
364 (lang_yacc_target_hook): Separate removal of parser output file
366 * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
367 passed to make, take care not to remove any files in that case.
368 * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
369 %STAMP% file from induced remaking of config header.
370 * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
372 * tests/Makefile.am (TESTS): Update.
374 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
376 Add FAQ entry for bug reporting instructions.
377 * doc/automake.texi (Reporting Bugs): New section.
378 (Introduction): Refer to it.
380 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
382 Add support for newer python versions.
383 * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
384 _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
385 line and fix indentation.
387 From a report by Thomas Klausner.
389 Add test for `AM_WITH_DMALLOC' macro.
390 * tests/dmalloc.test: New test.
391 * tests/Makefile.am (TESTS): Update.
393 Fix nits and bugs in tests `help*.test'.
394 * tests/help4.test: Fix broken sed commands used to strip `-W...'
395 flags away from "$AUTOMAKE" and "$ACLOCAL".
396 * tests/help3.test: Likewise, and fix a botched comment.
397 * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
398 instead of "$AUTOMAKE ... && Exit 1", for consistency and to
399 please maintainer-check.
400 * tests/help2.test: Likewise.
402 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
403 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
405 Improve tests `help*.test' (also fixes maintcheck failures).
406 * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
407 flags stripped away rather than hard-coded `automake-$APIVERSION',
408 to better honour user-overrides. Similarly for aclocal.
409 * tests/help2.test: Likewise.
410 * tests/help3.test: Likewise.
411 * tests/help4.test: Likewise.
413 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
415 Document and fix expansion of variables before rules.
416 * doc/automake.texi (General Operation): Document that variables
417 are expanded before rules.
418 * lib/am/check.am (am__check_post): Reword a bit so it does not
419 get matched as a rule.
420 Suggestion by Ben Pfaff.
422 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
424 Revert "parallel-tests: avoid command-line length limit issue."
425 This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
426 because it re-opened the bug fixed by v1.11-10-g218e678.
428 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
430 parallel-tests: avoid command-line length limit issue.
431 * automake.in (handle_tests): New argument $makefile, new
432 substitution %MAKEFILE%.
433 (generate_makefile): Adjust.
434 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
435 sanitized TEST_LOGS value as makefile snippet on standard
436 input to $(MAKE), to avoid exceeding the command line limit on
439 Report by Bob Friesenhahn.
441 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
443 Extend tests on `--help' and `--version' options.
444 * tests/help.test: Create a new empty directory and chdir into
445 it, rather than removing already present files. Run the aclocal
446 and automake wrapper scripts directly, instead of relying on
447 $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
448 in aclocal's and automake's stderr. Add a trailing `:' command.
449 * tests/help2.test: New test, checking that options `--help' and
450 `--version' works in directories with broken `configure.in'.
451 * tests/help3.test: New test, checking that options `--help' and
452 `--version' take precedence on the other options.
453 * tests/help4.test: New test, checking that the first among the
454 `--help' and `--version' options to be specified on the command
456 * tests/Makefile.am (TESTS): Updated.
458 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
460 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
461 * tests/compile2.test: Do no uselessly (implicitly) repeat the
462 computation of PATH_SEPARATOR again.
463 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
464 extending/redefining PATH.
465 * tests/instmany-python.test: Likewise.
466 * tests/instmany.test: Likewise.
467 * tests/man4.test: Likewise.
468 * tests/mkinst3.test: Likewise.
469 * tests/mmodely.test: Likewise.
470 * tests/multlib.test: Likewise.
471 * tests/txinfo30.test: Likewise.
472 * tests/README (Section "Writing test cases" subsection "Do"):
474 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
475 (syntax_check_rules): Updated.
477 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
478 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
479 ($ACLOCAL, $AUTOMAKE): Use it.
480 ($PATH_SEPARATOR): New AC_SUBST'd variables.
483 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
485 Manual: be more agnostic w.r.t. version control system used.
486 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
487 directories as a type of probably-unwanted files that are copied
488 regardless when adding directories to EXTRA_DIST.
489 (The dist Hook): Show a dist-hook example which removes Subversion
490 `.svn' private directories from distdir, rather than CVS private
492 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
493 the version control system used.
495 Manual: index refer to target "git-dist", not "cvs-dist".
496 * doc/automake.texi (General Operation): Index the non-standard
497 example about "git-dist" under the "git-dist" label, not under
500 Perl modules: remove references to "Automake CVS repository".
501 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
502 git repository" rather than to "Automake's CVS repository".
503 * lib/Automake/Configure_ac.pm: Likewise.
504 * lib/Automake/FileUtils.pm: Likewise.
505 * lib/Automake/Struct.pm: Likewise.
506 * lib/Automake/XFile.pm: Likewise.
507 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
508 branches" rather than "CVS branches".
510 Remove obsolete .cvsignore files.
511 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
512 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
513 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
514 savannah's CVS readonly mirror there's no way to commit back to
515 the real repository, so this files are not worth maintaining or
518 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
520 * m4/dmalloc.m4: Bump serial number and copyright years.
522 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
524 Fix broken link in `AM_WITH_DMALLOC' help screen.
525 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
526 `http://www.dmalloc.com', not to the dmalloc tarball there (which
527 seems to have been removed, substituted by multiple release
530 2010-09-17 Eric Blake <eblake@redhat.com>
532 Avoid triple-space after period.
533 * automake.in (handle_single_transform): Avoid 3 spaces at
535 * ChangeLog.03: Likewise.
536 * lib/Automake/ChannelDefs.pm: Likewise.
537 * lib/Automake/Channels.pm (_print_message): Likewise.
538 * lib/Automake/Rule.pm (rule): Likewise.
539 * lib/Automake/Variable.pm (var): Likewise.
540 * lib/am/distdir.am: Likewise.
541 * tests/insthook.test: Likewise.
543 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
545 Test automake-generated portions of configure help screen.
546 * tests/help-depend.test: New test.
547 * tests/help-depend2.test: Likewise.
548 * tests/help-dmalloc.test: Likewise.
549 * tests/help-init.test: Likewise.
550 * tests/help-lispdir.test: Likewise.
551 * tests/help-maintainer.test: Likewise.
552 * tests/help-multilib.test: Likewise.
553 * tests/help-regex.test: Likewise.
554 * tests/help-silent.test: Likewise.
555 * tests/help-upc.test: Likewise.
556 * tests/mmode.test: Remove tests on `configure --help' output,
557 they are superseded by tests in `help-maintainer.test'.
558 * tests/Makefile.am (TESTS): Update.
560 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
562 * tests/README: Don't put GCS mandated tools in $required.
564 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
566 * HACKING: Hint at old commits with `git describe' output.
568 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
570 Fix regression in test `colon4.test'.
571 * tests/colon4.test: Fix botched editing to `configure.in'
572 that made the test useless. Since we are at it, improve
573 comments and make grepping of generated Makefile.in slightly
575 Regression introduced by change "Modernize, improve and/or
576 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
578 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
580 Do not require "gzip" explicitly in tests.
581 The gzip utility is simply expected to be present on any decent
582 target system for Automake. So it's pointless to put it in
584 * tests/install2.test ($required): Do not require "gzip".
585 * tests/lex3.test: Likewise.
586 * tests/pr9.test: Likewise.
587 From a suggestion by Ralf Wildenhues.
589 Make some `confh*.test' tests more "semantic" (plus tweakings).
590 * tests/confh.test: Run "autoconf", "configure" and "make check",
591 instead of munging/grepping the generated `Makefile.in'.
592 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
593 white spaces. Do not create useless dummy source file `foo.c'
594 and useless dummy header file `acconfig.h'.
595 (configure.in): Remove superfluous call to `AC_OUTPUT'.
596 * tests/confh6.test: Add trailing `:' command.
597 * tests/confh7.test: In comments, add reference to ...
598 * tests/confh8.test: ... this new test, "semantic" sister
600 * tests/Makefile.am (TESTS): Updated.
601 Prompted by a report from Ralf Wildenhues.
603 Remove useless whitespace padding in XFAIL_TESTS definition.
604 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
606 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
608 parallel-tests: avoid command-line length limit issue.
609 * automake.in (handle_tests): New argument $makefile, new
610 substitution %MAKEFILE%.
611 (generate_makefile): Adjust.
612 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
613 sanitized TEST_LOGS value as makefile snippet on standard
614 input to $(MAKE), to avoid exceeding the command line limit on
617 Report by Bob Friesenhahn.
619 Posix 2008 requires make to set errexit.
620 * lib/am/check.am: Update comment.
622 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
624 Fix bug in test missing6.test.
625 * tests/missing6.test: Fix the hack used to edit `configure.in',
626 to avoid producing a configure script that breaks with shells
627 that do not support $LINENO. Also throw in a couple of cosmetic
630 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
632 Improve robustness of mdate-sh script.
633 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
634 $ls_command is word-split properly upon invocation.
635 (error): New function.
636 (main): Use it. Improve error checking to avoid endless loop
637 in case $ls_command gave bogus output. Fix eval quotation.
638 * tests/mdate6.test: New test, to expose eval quotation error.
639 * tests/Makefile.am: Update.
641 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
643 Fix potential regressions in depcomp{3,5}.test.
644 * tests/depcomp3.test: Do not uselessly escape the character `$'
645 in makefile rules, when it's used to expand a make macro.
646 * tests/depcomp5.test: Likewise.
648 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
649 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
651 Docs: clarify how to avoid automatic dependencies tracking.
652 * doc/automake.texi (Automatic dependency tracking): Mention that
653 automatic dependencies tracking is enabled by default, but that
654 the package developer can disable it altogether. Add a reference
655 to the proper section for a more in-depth explanation.
657 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
658 * doc/automake.texi (Automatic dependency tracking): Fix typo.
660 2010-08-16 Bruno Haible <bruno@clisp.org>
662 Don't hide the table of contents.
663 * doc/automake.texi: Move the table of contents to the beginning.
665 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
667 Tweak and/or extend some `acloca*.test' tests.
668 * tests/aclocal8.test: Ensure verbose printing of captured
670 * tests/aclocal.test: Likewise. Also, add trailing `:'
672 * tests/acloca19.test: Likewise.
673 * tests/aclocal5.test: Add trailing `:' command, and prefer
674 `$me' over hard-coded test name.
675 * tests/aclocal6.test: Likewise.
676 * tests/aclocal18.test: Add trailing `:' command, and make
677 some grepping slightly stricter.
678 * tests/acloca14.test: Likewise. Also, prefer `diff' over
679 `cmp', and add some "cosmetic" blank lines.
681 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
683 Tweak and extend tests `pr[!0-9]*.test'.
684 * tests/primary3.test: Add trailing `:' command.
685 * tests/primary.test: Make grepping of Automake's stderr stricter.
686 Also, add trailing `:' command, and cosmetic changes in spacing.
687 * tests/primary2.test: Likewise.
688 * tests/prefix.test: Enable `errexit' shell flags, and related
689 changes. Add a trailing `:' command.
690 * tests/proginst.test: Likewise.
692 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
693 * tests/pr2.test: Add trailing `:' command.
694 * tests/pr229.test: Likewise.
695 * tests/pr401.test: Likewise.
696 * tests/pr401b.test: Likewise.
697 * tests/pr401c.test: Likewise.
698 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
700 * tests/pr300-lib.test: Likewise.
701 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
702 of captured make stdout.
703 * tests/pr211.test: Add trailing `:' command. Also, use the
704 `configure.in' stub created by ./defs, rather than writing it
706 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
707 * tests/pr287.test: Likewise, and move setting of `errexit' shell
708 flag earlier in the script (just after inclusion of ./defs).
709 * tests/pr220.test: Make grepping of Automake's stderr stricter.
710 Also, add trailing `:' command, and cosmetic changes in spacing.
711 * tests/pr224.test: Move setting of `errexit' shell flag earlier
712 in the script (just after inclusion of ./defs). Do not export
713 `CC=gcc' to configure explicitly (it's already exported globally
714 in ./defs, since we have "gcc" in $required). Use the stub for
715 `configure.in' created by ./defs, rather than writing it from
716 scratch. Do not create dummy files required by "gnu" mode (e.g.
717 README, NEWS), since we run automake in foreign mode anyway.
718 * tests/pr72.test: Enable `errexit' shell flags, and related
719 changes. Extend existing checks a bit.
720 * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
721 the generated `configure.in', and extend existing checks over the
722 generated tarball a bit.
723 * tests/pr87.test: Enable `errexit' shell flags, and related
724 changes. Add a trailing `:' command. Also, do not create dummy
725 files required by "gnu" mode (e.g. README, NEWS), since we run
726 automake in foreign mode anyway.
727 * tests/pr243.test: Avoid obsolescent constructs in the generated
728 `configure.in'. Enable the `errexit' shell flag, and related
729 changes. Cosmetic changes to spacing, add trailing `:' command,
730 and add a "FIXME" comment.
731 * tests/pr266.test: Likewise, and add explicit command line switch
732 `--enable-dependecy-tracking' to the ./configure call.
733 * tests/pr279.test: Avoid obsolescent constructs in the generated
734 `configure.in'; also, use the `configure.in' stub created by
735 ./defs, rather than writing it from scratch. Enable `errexit'
736 shell flag, and related changes. Add trailing `:' command.
737 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
739 * tests/pr307.test: Move setting of `errexit' shell flag earlier
740 in the script (just after inclusion of ./defs). Escape literal
741 dots in grep regular expressions. Also, add a trailing `:'
742 command, and cosmetic changes to spacing.
744 Tests for PR: add excerpts from original bug report, for clarity.
745 * tests/pr2.test: Ditto.
746 * tests/pr9.test: Likewise.
747 * tests/pr72.test: Likewise.
748 * tests/pr87.test: Likewise.
749 * tests/pr211.test: Likewise.
750 * tests/pr220.test: Likewise.
751 * tests/pr224.test: Likewise.
752 * tests/pr229.test: Likewise.
753 * tests/pr243.test: Likewise.
754 * tests/pr266.test: Likewise.
755 * tests/pr279.test: Likewise, and tell to keep it in sync
756 with its sister test.
757 * tests/pr279-2.test: Likewise.
759 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
761 Tweak, extend and improve tests `cond[a-z]*.test'.
762 * tests/condd.test: Add trailing `:' command. Typofix in
764 * tests/condhook.test: Make sure target `install-data-hook' is
765 not called by `make install', but that data files are installed.
766 Use proper m4 quoting in configure.in. Add trailing `:' command.
767 * tests/condhook2.test: New test, sister test of condhook, with
769 * tests/condinc2.test: Use proper m4 quoting in configure.in.
770 Prefer trailing `:' command over trailing `Exit 0'.
771 * tests/condman2.test: Enable errexit shell flag, and related
772 changes. Add trailing `:' command.
773 * tests/condman.test: Likewise. Also, do not create useless
774 dummy manpages, and use proper m4 quoting in configure.in.
775 * tests/condman3.test: New test, similar to condman.test, but
776 it also runs ./configure and "make install", and check the
778 * tests/Makefile.am (TESTS): Updated.
780 Modernize, improve and/or extend tests `colon*.test.
781 * tests/colon.test: Rely on the `configure.in' stub created by
782 `./defs', rather than writing one from scratch. Do not create
783 a useless dummy file. Add trailing `:' command.
784 * tests/colon4.test: Enable the `errexit' shell flag, and
785 related changes. Rely on the `configure.in' stub created by
786 `./defs', rather than writing one from scratch.
787 * tests/colon7.test: Enable `errexit' shell flag, and related
788 changes. Improve the generated `configure.in' file. Add
789 trailing `:' command.
790 * tests/colon2.test: Likewise. Also, add some new checks.
791 * tests/colon5.test: Improve the generated `configure.in' file.
792 Add new, much deeper checks. Add trailing `:' command.
793 * tests/colon6.test: Likewise.
794 * tests/colon3.test: Add trailing `:' command. Remove useless
795 comments and echos. Improve the generated `configure.in' file.
796 make some grepping tests stricter. Add a "FIXME" comments about
797 planned improvements.
799 Improve and extend tests `asm*.test'.
800 * tests/asm.test: Use configure.in stub generated by ./defs,
801 and avoid obsoleted autoconf constructs. Make grepping of
802 Automake stderr stricter. Do not create useless source file.
803 Improve verbose messages. Minor cosmetic changes. Tell to
804 keep it in sync with other sister tests asm*.test.
805 * tests/asm2.test: Likewise.
806 * tests/asm3.test: Likewise.
808 Modernize, improve and/or extend test scripts `conf*.test'.
809 * tests/confh5.test: Cosmetic changes.
810 * tests/conff.test: Likewise.
811 * tests/confdeps.test: Likewise.
812 * tests/conflnk.test: Likewise.
813 * tests/conflnk2.test: Likewise.
814 * tests/confsub.test: Likewise.
815 * tests/confvar.test: Likewise, and make grepping of Makefile.in
817 * tests/confvar2.test: Likewise.
818 * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
819 disabled test (which didn't work with autoconf <= 2.59, but now we
820 are requiring autoconf 2.62, so...)
821 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
822 accordingly to "TODO" comments.
823 * tests/conff2.test: Make grepping of Automake's stderr stricter.
824 Add some comments explaining why we don't use the `configure.in'
825 stub preset be ./defs.
826 * tests/confh.test: Use the `configure.in' stub created by ./defs,
827 rather than writing one from scratch, and do not call AC_OUTPUT.
828 Enable `errexit' shell flag, and related changes. Prefer diff over
829 cmp to compare text files. Prefer perl over sed to fetch the value
830 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
831 of $(DIST_COMMON) stricter.
832 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
833 rather than writing one from scratch. Make grepping of Makefile.in
835 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
837 * tests/configure.test: Avoid obsolescent constructs in generated
838 `configure.ac'. Do not write `configure.in' two times. Escape
839 literal dots in grep regular expressions.
840 * tests/confincl.test: Enable `errexit' shell flag, and related
841 changes. Prefer fgrep over grep. Other cosmetic changes.
842 * tests/config.test: Renamed to ...
843 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
844 and make grepping of `config.h' and `config.h.in' stricter.
845 * tests/conf2.test: Renamed ...
846 * tests/confh7.test: ... to this. Use the `configure.in' stub
847 created by ./defs, rather than writing one from scratch. Try to
848 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
850 * tests/Makefile.am (TESTS): Updated.
852 Minor improvements and fixes in tests `depcomp*.test'.
853 * tests/depcomp.test: Do not create useless dummy source files.
854 Add a trailing `:' command.
855 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
856 it's not in in the environment, rather than exporting it with an
857 empty value. Do not pass CC=gcc to configure, as that's already
858 done in ./defs since we have gcc in $required. Ensure verbose
859 printing of captured stderr, and normalize its checking. Add a
860 trailing `:' command.
861 * tests/depcomp3.test: Quote literal dots and dollar characters in
862 grep regexps. Always use `: >' rather than `touch' to create empty
863 files. Explicitly declare phony targets as such in the created
864 Makefile.am. Add a trailing `:' command.
865 * tests/depcomp4.test: Quote literal dots and dollar characters in
866 grep regexp. Explicitly declare phony targets as such in the
867 created Makefile.am. Ensure verbose printing of captured makes'
868 stoud/stderr. Add a trailing `:' command.
869 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
870 in the script (just after inclusion of ./defs). Quote literal dots
871 and dollar characters in grep regexps. Explicitly declare phony
872 targets as such in the created Makefile.am. Add a trailing `:'
874 * tests/depcomp6.test: Consistently use m4 quoting in the generated
875 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
876 statement required by OpenBSD's sh `set -e' more robust, and add
877 explanatory comments to it.
878 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
880 Separate failing part of test `all.test'.
881 * tests/all.test: Keep only (x)failing part of the test. Working
882 checks moved out to ...
883 * tests/all2.test: ... this new test.
884 * tests/Makefile.am (TESTS): Updated.
886 Modernize, improve and extend tests `subobj*.test'.
887 * tests/subobjname.test: Add trailing `:' command.
888 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
889 Escape literal dots in grep regexps.
890 * tests/subobj2.test: Add trailing `:' command. Do not use the
891 unportable fgrep option `-e'.
892 * tests/subobj3.test: Add trailing `:' command.
893 (configure.in): Use proper m4 quoting, and avoid obsolescent
895 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
896 flag, with related changes
897 * tests/subobj4.test: Likewise. Also, make grepping of
898 `Makefile.in' stricter.
899 * tests/subobj5.test: Add trailing `:' command. Move setting of
900 `errexit' shell flag earlier in the script (just after inclusion
902 (configure.in): Use the stub created by `./defs', rather than
903 writing it from scratch, and avoid obsolescent constructs.
904 * tests/subobj6.test: Add trailing `:' command. Move setting of
905 `errexit' shell flag earlier in the script (just after inclusion
906 of ./defs). Do not create useless dummy ac-init file `f'.
907 * tests/subobj7.test: Do not create useless dummy ac-init file
909 (configure.in): Use the stub created by `./defs', rather than
910 writing it from scratch, and avoid obsolescent constructs.
911 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
912 in the script (just after inclusion of ./defs). Fail the test if
913 `make distcheck' fails. Ensure verbose printing of captured make
914 stdout. Avoid useless fork by doing simple grep instead of using
915 test -n "`COMMAND | grep ...`".
916 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
917 (Makefile.am): Explicitly mark target "print" as phony.
918 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
919 trailing `:' command.
920 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
922 Remove a couple of obsoleted tests.
923 * tests/fpinstall.test: Removed.
924 * tests/fpinst2.test: Likewise.
925 * tests/Makefile.am (TESTS): Updated.
927 Bootstrap: updated HACKING entry.
928 * HACKING ("Working with git"): Explain how to override the
929 autoconf and autom4te programs used by the bootstrap process.
932 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
933 since we don't generate it. Correctly quote arguments of
934 `eval' builtin. Fixed a botched error message. Removed an
937 Bootstrap: don't search perl in $PATH.
938 * bootstrap: Do not explicitly search perl in $PATH anymore.
939 ($PATH_SEPARATOR): Removed, it's no more needed.
941 Bootstrap: let the user choose which autoconf to use.
942 * bootstrap ($AUTOCONF): New variable, from the environment.
943 ($AUTOM4TE): Likewise, for clarity.
944 Use "$AUTOCONF" instead of calling "autoconf" directly.
946 Minor improvements to tests ar*.test.
947 * tests/ar.test: Add trailing `:' command.
948 * tests/ar2.test: Likewise, and make grepping of generated
949 Makefile.in stricter.
951 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
953 Fix maintainer-check failure.
954 * tests/cond5.test: Quote sleep argument, this isn't about
955 time stamp differences.
957 Sync auxiliary files from upstream.
958 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
961 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
963 Work around a nasty bug (segfault) of Solaris make.
964 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
965 from $list, to avoid triggering a nasty bug (potential segfault)
968 2010-08-06 Peter Rosin <peda@lysator.liu.se>
970 Make cond5.test more robust on MSYS.
971 * tests/cond5.test: Add delay before the first kill attempt to
972 cater for problems with MSYS bash.
974 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
976 Add example git work flow; discuss merge --log in HACKING.
978 Suggestion by Stefano Lattarini.
980 Add more hints for debugging make rules.
981 * doc/automake.texi (Debugging Make Rules): Show command to find
982 out expanded values of variables; point to makefile debugger.
984 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
986 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
988 Fix typo in the manual.
989 * doc/automake.texi (Scripts): Fix typo.
991 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
993 Document current policy for development with git.
994 * HACKING (Working with git): Overhaul.
995 Prompted by suggestion from Stefano Lattarini.
997 Fix AM_COND_IF for gone-invalid condition shell expression.
998 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
999 variable, rather than re-evaluating the shell expression for
1001 * tests/cond40.test: Extend test.
1004 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
1005 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
1006 to avoid shell syntax error if the m4 expansion is empty.
1007 * tests/cond40.test: Enhance test.
1009 Coverage: bogus option to AM_INIT_AUTOMAKE.
1010 * tests/init2.test: New test.
1011 * tests/Makefile.am: Update.
1013 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1015 Modernize and improve test scripts `subdir*.test'.
1016 * tests/subdir.test: Enable `errexit' shell flag, and related
1017 changes. Use the `configure.in' stub created by `./defs',
1018 rather than writing one from scratch.
1019 * tests/subdir2.test: Likewise.
1020 * tests/subdir4.test: Likewise.
1021 * tests/subdir3.test: Enable `errexit' shell flag, and related
1022 changes. Do not create useless dummy source files.
1023 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
1024 and in subdirs) stricter. Some minor changes to keep it more
1025 in sync with the related test `subdir8.test'.
1026 * tests/subdir8.test: Likewise (but with the related test being
1027 `subdir5.test' here).
1028 * tests/subdir6.test: Cosmetic change in spacing.
1029 * tests/subdir9.test: Define and use new variable `$distdir'. Add
1030 trailing `:' command.
1031 * tests/subdir10.test: Cosmetic consistency-related change.
1032 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
1033 (configure.in): Use stub created by `./defs', rather than writing
1034 it from scratch. Do not use obsoleted and/or deprecated forms of
1035 autoconf/automake macros.
1037 Modernize and improve test scripts `dist*.test'.
1038 * tests/distcleancheck.test: Do not add useless `-e' option to
1039 a $MAKE call. Extend test by grepping stderr of make.
1040 * tests/distcom2.test: Do not run the same test script on the
1041 Makefile.in twice, but save its output in an intermediate file
1042 instead. Make grepping of DIST_COMMON definition stricter.
1043 Display the content of more files, to ease debugging. Add a
1044 trailing `:' command. Improved heading comments w.r.t. sister
1046 * tests/distcom6.test: Likewise, and avoid to uselessly run
1048 * tests/distcom3.test: Ensure verbose printing of captured stdout
1049 and stderr. Make grepping of captured stderr stricter. Also,
1050 add trailing `:' command.
1051 * tests/distcom4.test: Declare the target `test' in the generated
1052 Makefile.am as `.PHONY'. Display content of more files, to ease
1053 debugging. Add trailing `:' command.
1054 * tests/distcom5.test: Likewise. Also, factor out common sed
1055 script in subroutine `extract_distcommon'.
1056 * tests/distcom7.test: Prefer cat + here-doc over echo to write
1057 test Makefile.am files. Add a trailing `:' command.
1058 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
1059 call to `set -e' earlier. Be stricter and more verbose in the
1060 checking of the generated tarball.
1061 (configure.in): Use the stub provided by ./defs, instead of
1062 writing it from scratch. Avoid obsoleted constructs. Remove
1063 useless call to `AM_PROG_CC_C_O'.
1064 * tests/distdir.test: Various minor improvements/normalizations.
1065 * tests/distlinks.test: Likewise.
1067 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1069 Improve and extend test cond5.test.
1070 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
1071 the background automake process, but poll it every 10 seconds for
1072 at most 30 times (this makes the test both faster on good machines,
1073 and more resilient to spurious timeout-due failures when in low
1074 priority or on heavily-loaded systems).
1075 Check also that automake writes the expected error messages on the
1077 Enable `errexit' flag, and related changes.
1078 Rely on the `configure.in' stub created by `./defs', rather than
1079 writing one from scratch.
1081 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1083 Update program --help output to match current GCS.
1084 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
1085 is not defined, for compatibility to Autoconf < 2.64.
1086 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
1088 (sc_diff_automake_in_automake): Update number of diff lines for
1089 additional substitutions.
1090 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
1091 home page and GNU general help page.
1092 * automake.in (usage): Likewise.
1093 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
1095 (Introduction, Creating amhello, amhello Explained, Options):
1097 * lib/Automake/Makefile.am (do_subst): Substitute
1099 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
1100 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
1103 Clean up @var handling in the manual.
1104 * doc/automake.texi: Throughout the manual, lower-case @var
1105 names, replace a few one-character names.
1107 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1109 Fix typo-related bug in test script silent5.test.
1110 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
1113 Tests: remove useless repetitions of `foreign' automake option.
1114 * tests/multlib.test (configure.in): Remove useless use of
1115 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
1116 already in $AUTOMAKE by default, so no point in repeating it).
1117 * tests/subobj10.test: Likewise.
1118 * tests/subobj9.test: Likewise.
1119 * tests/lex3.test (Makefile.am): Similarly, remove useless use
1120 of `foreign' option in AUTOMAKE_OPTIONS.
1121 * tests/lex5.test: Likewise.
1122 * tests/pr279.test: Likewise.
1123 * tests/pr279-2.test: Likewise.
1124 * tests/specflg3.test: Likewise.
1125 * tests/target-cflags.test: Likewise.
1127 Drop useless requirement "gzip" in lex5.test.
1128 * tests/lex5.test ($required): Do not list "gzip", as it's
1131 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
1133 Fix bugs in test script silent5.test.
1134 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
1135 instead of egrep) that could have led to false negatives.
1137 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1139 Add a test checking that distributed broken symlinks cause
1140 `make dist' to fail.
1141 * tests/distlinksbrk.test: New test.
1142 * tests/Makefile.am (TESTS): Updated.
1144 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1146 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
1147 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
1148 and AM_LFLAGS, LFLAGS in the order in which they now appear in
1151 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
1152 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
1153 please maintainer-check. Ensure generated C files contain a
1154 declaration, to please compilers.
1156 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1158 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
1159 $(FLAGS) precedence.
1160 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
1161 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
1162 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
1163 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
1166 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
1167 $(AM_FLAGS) and $(FLAGS) precedence.
1168 * tests/lflags.test: New test, check that user $(LFLAGS) takes
1169 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
1171 * tests/lflags2.test: Likewise.
1172 * tests/yflags.test: New test, check that user $(YFLAGS) takes
1173 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
1175 * tests/yflags2.test: Likewise.
1176 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
1178 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1180 Modernize, improve and extend tests `suffix*.test'.
1181 * tests/suffix3.test: Enable `errexit' shell flag, and related
1183 * tests/suffix4.test: Likewise.
1184 * tests/suffix6.test: Likewise, and do not create a useless dummy
1186 * tests/suffix7.test: Likewise.
1187 * tests/suffix5.test: Enable `errexit' shell flag, and related
1188 changes. Make grepping of Makefile.in slightly stricter.
1189 * tests/suffix.test: Enable `errexit' shell flag, and related
1190 changes. Also, do not redirect grep output to /dev/null, as this
1191 might unmotivatedly hide useful information.
1192 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
1193 in the script (just after inclusion of ./defs). Use a more
1194 idiomatic way to count text occurrences in Makefile.in with
1195 grep. Do not create useless dummy source files.
1196 * tests/suffix10.test: Ensure verbose printing of captured make
1197 stdout. Minor cosmetic changes.
1198 * tests/suffix8.test: Likewise. Also, drop useless call to the
1199 env(1) utility, and make grepping of make output stricter by using
1200 $FGREP rather than plain grep.
1201 * tests/suffix11.test: Likewise.
1202 * tests/suffix12.test: Likewise.
1203 * tests/suffix9.test: Prefer cat + here-doc over echo to append to
1204 the `configure.in' stub. Cosmetic changes.
1205 * tests/suffix13.test: Cosmetic spacing change.
1207 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
1209 Add useful comment in test script ext.test.
1210 * tests/ext.test: Add a comment explaining why an apparently
1211 useless `if' statement is indeed required.
1213 Add useful comment in test script obsolete.test.
1214 * tests/obsolete.test: Add a comment explaining why we need
1215 an indirection in adding $AUTOUPDATE to $required.
1217 Normalize whitespaces in 'tests/Makefile.am'.
1218 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
1219 definition of this variable.
1221 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1223 Remove a couple of unneeded conditionals from tests.
1224 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
1225 for the FOOTEST conditional.
1227 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1229 Modernize, improve and/or fix various test scripts.
1230 * tests/symlink3.test: Deleted, separated into two new, more
1232 * tests/forcemiss.test: ... this one ...
1233 * tests/forcemiss2.test: ... and this one.
1234 * tests/symlink2.test: Enable `errexit' shell flag, make test
1235 stricter, and skip it if symlink creation is not supported.
1236 * tests/postproc.test: Enable `errexit' shell flag, related
1237 changes, and a couple of unrelated cosmetic changes.
1238 * tests/recurs.test: Use the `configure.in' stub created by
1239 `./defs', rather than writing one from scratch. Make grepping
1240 of Automake stderr slightly stricter.
1241 * tests/substtarg.test: Likewise.
1242 * tests/strip.test: Likewise, and move the call to `set -e'
1243 earlier (just after the inclusion of `./defs'). Also, make sure
1244 that the script installed by `make install-script' is equal to
1246 * tests/substref.test: Use the `configure.in' stub created by
1247 `./defs', rather than writing one from scratch. Move the call
1248 to `set -e' earlier (just after the inclusion of `./defs').
1249 Avoid to explicitly export CC for configure (that's already done
1250 in ./defs). Avoid potential problems with unpredictable make
1251 output. Finally, make grepping of Makefile.in stricter.
1252 * tests/substre2.test: Ensure verbose printing of the captured
1253 make's output, and make its grepping slightly stricter.
1254 * tests/cygwin32.test: Enable `errexit' shell flag, and related
1255 changes. Also, do not create useless dummy source/data files.
1256 * tests/scripts.test: Likewise.
1257 * tests/recurs2.test: Likewise. Also, use the `configure.in'
1258 stub created by `./defs'.
1259 * tests/Makefile.am (TESTS): Updated.
1261 Modernize, improve and/or fix tests `pluseq*.test.
1262 * tests/pluseq5.test: Append to configure.in using cat with an
1263 here-doc, not using echo.
1264 * tests/pluseq10.test: Make sure that the captured output of
1265 `make' command is always displayed. Where possible, use $FGREP
1266 instead of grep (this change makes some checks slightly stricter).
1267 * tests/pluseq8.test: Enable `errexit' shell flag, with related
1269 * tests/pluseq.test: Likewise. Also, do not create useless dummy
1270 data files, and use better m4 quoting in generated configure.in.
1271 * tests/pluseq2.test: Likewise. Also, append to configure.in
1272 using cat with an here-doc, not using echo.
1273 * tests/pluseq3.test: Likewise.
1274 * tests/pluseq4.test: Likewise.
1275 * tests/pluseq6.test: Likewise.
1276 * tests/pluseq7.test: Do not create useless dummy source file.
1277 * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
1278 Automake stderr. Some unrelated cosmetic changes.
1280 Testsuite: ensure verbose printing of captured stderr.
1281 * tests/acloca18.test: Print captured stderr before either failing
1282 or grepping it. Be sure to send captured stderr to stderr, not to
1284 * tests/ansi3b.test: Likewise.
1285 * tests/cond39.test: Likewise.
1286 * tests/configure.test: Likewise.
1287 * tests/missing3.test: Likewise.
1288 * tests/missing6.test: Likewise.
1289 * tests/output-order.test: Likewise.
1290 * tests/pr300-ltlib.test: Likewise.
1291 * tests/python6.test: Likewise.
1292 * tests/python7.test: Likewise.
1293 * tests/python8.test: Likewise.
1294 * tests/python9.test: Likewise.
1295 * tests/subobj.test: Likewise.
1296 * tests/vars3.test: Likewise.
1297 * tests/missing4.test: Likewise, and fix a call to grep not to use
1299 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
1300 created by `./defs', rather than writing one from scratch.
1302 Enable `errexit' shell flag in various tests.
1303 * tests/backsl.test: Enable the `errexit' shell flag, and
1305 * tests/backsl2.test: Likewise.
1306 * tests/block.test: Likewise.
1307 * tests/canon2.test: Likewise.
1308 * tests/canon4.test: Likewise.
1309 * tests/comment2.test: Likewise.
1310 * tests/condlib.test: Likewise.
1311 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
1312 * tests/canon3.test: Likewise. Also, avoid to create an useless
1314 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
1315 related changes. Do some cosmetic improvements in the generated
1316 `configure.in' file.
1317 * tests/cond4.test: Likewise.
1318 * tests/cond14.test: Likewise.
1319 * tests/condinc.test: Likewise.
1320 * tests/cond7.test: Likewise. Also, remove useless setting of
1321 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
1322 * tests/ansi.test: Enable the `errexit' shell flag, and related
1323 changes. Extended, esp. by running autoconf, ./configure and
1324 make, and by looking into the distdir.
1326 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1327 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1329 Extend tests/README w.r.t. trailing `:' in test scripts.
1330 * tests/README (section "Writing test cases" subsection "Do"):
1331 Explain why apparently redundant trailing `:' and `Exit 0' in
1332 test scripts can indeed be useful.
1334 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1336 Improve determination of PATH separator in bootstrap script.
1337 * bootstrap: Determine what the PATH separator is the same way
1340 Minor improvements in bootstrap script.
1341 * bootstrap: Consistently use two-spaces indentation. Cosmetic
1342 improvement to comments.
1343 ($me): New variable, containing program basename.
1344 Prepend it to all error messages.
1346 Testsuite now works with BSD make in parallel mode.
1347 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
1348 which are exported by BSD make when run in parallel mode, and
1349 which can confuse make processes spawned by our testsuite.
1350 This change fixes a lot of spurious failure when the testsuite
1351 is run with BSD make in parallel mode.
1353 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1355 Modernize, improve and/or fix various test scripts.
1356 * tests/sanity.test: Rely on the `configure.in' stub created by
1357 `./defs', rather than writing one from scratch.
1358 * tests/depend2.test: Likewise. Also, call `set -e' just after
1359 the inclusion of `./defs', instead that later in the script.
1360 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
1361 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
1362 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
1363 Make auxiliary rules in the generated Makefile more silent.
1364 These changes make some checks slightly stricter.
1365 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
1366 * tests/gettext2.test: Place final `:' at the end of the script,
1367 rather than in the middle.
1368 * tests/exeext.test: Call `set -e' just after the inclusion of
1369 `./defs', instead that later in the script.
1370 * tests/extra5.test: Likewise.
1371 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
1372 plain `mv', just to be sure.
1373 * tests/depcomp.test: Enable `errexit' shell flag, with related
1374 changes. Also, modernize the generated configure.in.
1375 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
1376 stub created by `./defs', rather than writing one from scratch.
1377 * tests/cond10.test: Likewise.
1378 * tests/depcomp2.test: Likewise.
1379 * tests/depend3.test: Likewise.
1380 * tests/distcom7.test: Likewise.
1381 * tests/fortdep.test: Likewise. Also, remove definition of
1382 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
1383 since that flag is already provided by $AUTOMAKE.
1384 * tests/mdate.test: Made stricter, by checking that Automake
1385 actually failed, and by making a stricter grep on the error
1386 message. Also, set shell `errexit flag'.
1387 * tests/python2.test: Improved verbose messages.
1389 Make test `ammissing.test' stricter.
1390 * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
1391 Enable `errexit' shell flag.
1393 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1395 Enable `errexit' shell flag in some test scripts.
1396 * tests/subcond.test: Enabled `errexit' shell flag, and related
1398 * tests/subst.test: Likewise.
1399 * tests/vars.test: Likewise.
1400 * tests/version4.test: Likewise.
1401 * tests/vpath.test: Likewise.
1402 * tests/vtexi2.test: Likewise.
1403 * tests/werror.test: Likewise.
1404 * tests/whoami.test: Likewise.
1405 * tests/tags.test: Likewise, and avoid to crate an useless dummy
1407 * tests/acsilent.test: Likewise, and don't use an easily-avoided
1408 command substitution.
1409 * tests/unused.test: Likewise, and don't use an easily-avoided
1410 command substitution.
1411 * tests/version.test: Likewise, and avoid deprecated constructs
1412 in the generated `configure.in'.
1413 * tests/version2.test: Likewise, and avoid deprecated constructs
1414 in the generated `configure.in'.
1416 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1418 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
1419 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
1420 the verbose log contains all output.
1421 * tests/mdate.test: Likewise.
1422 Prompted by Stefano Lattarini's change to discover.test.
1424 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1426 Improve tests link*.test (enable `errexit' shell flag).
1427 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
1428 changes. Also, do not create useless source files.
1429 * tests/link_dist.test: Likewise.
1430 * tests/link_f90_only.test: Likewise.
1431 * tests/link_f_only.test: Likewise.
1432 * tests/link_fc.test: Likewise.
1433 * tests/link_fccxx.test: Likewise.
1434 * tests/link_fcxx.test: Likewise.
1436 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1438 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
1439 * tests/ext.test: Inside shell compound command, use
1440 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
1441 fix failure with OpenBSD sh introduced with last patch.
1442 Actually ensure that a rule for .EXT.o is created for each
1443 known extension EXT.
1445 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1447 Enable `errexit' shell flag in some test scripts.
1448 * tests/dash.test: Enable `errexit' shell flag, and related
1450 * tests/defun.test: Likewise.
1451 * tests/defun2.test: Likewise.
1452 * tests/dejagnu.test: Likewise.
1453 * tests/double.test: Likewise.
1454 * tests/distcom2.test: Likewise.
1455 * tests/empty2.test: Likewise.
1456 * tests/empty3.test: Likewise.
1457 * tests/empty4.test: Likewise.
1458 * tests/exdir.test: Likewise.
1459 * tests/ext.test: Likewise.
1460 * tests/extra.test: Likewise.
1461 * tests/extra2.test: Likewise.
1462 * tests/extra3.test: Likewise.
1463 * tests/extra4.test: Likewise.
1464 * tests/flibs.test: Likewise.
1465 * tests/fnoc.test: Likewise.
1466 * tests/fo.test: Likewise.
1467 * tests/instexec.test: Likewise.
1468 * tests/ltdeps.test: Likewise.
1469 * tests/nodep.test: Likewise.
1470 * tests/nodepcomp.test: Likewise.
1471 * tests/f90only.test: Likewise, and remove botched/obsoleted
1472 comments and unnecessary commands.
1473 * tests/fonly.test: Likewise, and remove botched/obsoleted
1474 comments and unnecessary commands.
1475 * tests/discover.test: Likewise, and made stricter.
1477 Enable `errexit' shell flag in all tests cxx*.test.
1478 * tests/cxx.test: Enabled `errexit' shell flag, and related
1480 * tests/cxxansi.test: Likewise.
1481 * tests/cxxcpp.test: Likewise.
1482 * tests/cxxlibobj.test: Likewise.
1483 * tests/cxxlink.test: Likewise.
1484 * tests/cxxo.test: Likewise.
1486 Enable `errexit' shell flag in various tests.
1487 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
1489 * tests/acoutpt.test: Likewise.
1490 * tests/acoutqnl.test: Likewise.
1491 * tests/amassign.test: Likewise.
1492 * tests/ansi2.test: Likewise.
1493 * tests/ansi4.test: Likewise.
1494 * tests/badprog.test: Likewise.
1495 * tests/checkall.test: Likewise.
1496 * tests/clean.test: Likewise.
1497 * tests/colneq2.test: Likewise.
1498 * tests/colon.test: Likewise.
1499 * tests/colon5.test: Likewise.
1500 * tests/colon6.test: Likewise.
1501 * tests/comment.test: Likewise.
1502 * tests/compile_f90_c_cxx.test: Likewise.
1503 * tests/compile_f_c_cxx.test: Likewise.
1504 * tests/cond3.test: Likewise.
1505 * tests/cond6.test: Likewise.
1506 * tests/cond13.test: Likewise.
1507 * tests/conf2.test: Likewise.
1508 * tests/confvar.test: Likewise.
1509 * tests/confvar2.test: Likewise.
1510 * tests/cond8.test: Likewise, plus a cosmetic change.
1511 * tests/confh4.test: Likewise. Also, add in the heading comments
1512 an excerpt from the original bug report which motivated the
1513 creation of this test, to make its purpose clearer.
1515 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1517 Rewrite manual to be gender-neutral.
1518 * doc/automake.texi (GNU Build System)
1519 (Standard Directory Variables, General Operation, CVS)
1520 (Hard-Coded Install Paths, Dependencies As Side Effects):
1521 Rewrite text to not contain gender-specific pronouns when
1522 speaking about developers or users, either by avoiding pronouns
1523 or by addressing them as `you' instead.
1525 Report by Christina Gratorp.
1529 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1531 Make tests on user extensibility of silent-rules mode stricter.
1532 * tests/silent6.test: Made stricter w.r.t. the grepping of the
1533 output produced by `make'.
1534 * tests/silent7.test: Likewise.
1536 Tests on silent-mode for C/Libtool made stricter.
1537 * tests/silent.test: Made stricter w.r.t. the grepping of the
1538 output produced by `make'.
1539 * tests/silent2.test: Likewise.
1540 * tests/silent4.test: Likewise.
1541 * tests/silent9.test: Likewise.
1542 * tests/silent3.test: Likewise, and add a final `make distclean'
1543 command to keep it better in sync with tests/silent{4,9}.test.
1545 Improved test silent5.test.
1546 * tests/silent5.test: Remove by hand all generated C files after
1547 non-verbose builds, to ensure the following builds are clean.
1548 Try to clean and rebuild with the same verbosity and without
1549 removing generated sources in between, to check that this does
1550 not trigger a different set of rules. Make grepping of make's
1551 output stricter. Improved/added some comments.
1553 New tests for Automake silent-mode with Fortran.
1554 * tests/silentf77.test: New test.
1555 * tests/silentf90.test: Likewise.
1556 * tests/Makefile.am (TESTS): Updated accordingly.
1558 New test `silentcxx.test' (Automake silent-mode with C++).
1559 * tests/silentcxx.test: New test.
1560 * tests/Makefile.am (TESTS): Updated accordingly.
1562 New test `silentyacc.test' (Automake silent-mode with Yacc).
1563 * tests/silentyacc.test: New test.
1564 * tests/Makefile.am (TESTS): Updated accordingly.
1566 New test `silentlex.test' (Automake silent-mode with Lex).
1567 * tests/silentlex.test: New test.
1568 * tests/Makefile.am (TESTS): Updated accordingly.
1570 Relax tests on silent-rules to cater to overly verbose makes.
1571 * tests/silent.test: When testing silent builds, don't fail if
1572 make's output simply contains the `mv' substring, but only if
1573 it contains the `mv ' substring (note the trailing space).
1574 * tests/silent2.test: Likewise.
1575 * tests/silent3.test: Likewise.
1576 * tests/silent4.test: Likewise.
1577 * tests/silent5.test: Likewise.
1578 * tests/silent9.test: Likewise.
1580 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1582 Fix silent-rules output for disabled dependency tracking.
1583 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
1584 expansion code to also work in the case where %AMDEP% expands
1585 to FALSE at config.status time, using new substitution string
1587 * automake.in (verbose_nodep_flag): New function, appending
1588 `@am__nodep@' to the verbose-variable name.
1589 (handle_languages): If dependencies are not disabled, use it to
1590 set %VERBOSE-NODEP%.
1591 * m4/depend.m4: Substitute am__nodep as '_no', so the second
1592 verbose-variable will always expand to an empty string, if
1593 dependencies are enabled.
1594 * tests/silent5.test: Also test --disable-dependency-tracking;
1595 also test per-target flags for non-C language files.
1596 * tests/silent9.test: New test, like silent4.test but disable
1597 dependency tracking.
1598 * tests/Makefile.am: Adjust.
1599 * NEWS, THANKS: Update.
1600 Report by Dmitry V. Levin <ldv@altlinux.org>.
1602 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1604 Extend test on `nostdinc' automake option.
1605 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
1606 unrelated minor changes. Make the grepping of the generated
1607 Makefile.in slightly stricter. Generate and run configure, so that
1608 the generated Makefile can be grepped too.
1610 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1612 Make gnupload portable to EBCDIC hosts.
1613 * lib/gnupload: Use literal newline as argument for 'tr' rather
1614 than \015, for EBCDIC hosts. Also, avoid unportable nested
1615 double-quotes and backquotes.
1617 Report from Eric Blake and Steve Goetze via gnulib.
1619 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1621 Fix Autoconf version required by Automake's configure.
1622 Automake configure script used to tell that automake required
1623 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
1624 and if that was not found, it gave an error saying that Automake
1625 required configure 2.61a-341 or later. This change should
1626 eliminate such inconsistencies.
1627 * configure.ac ($required_autoconf_version): New variable.
1630 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1632 Fix unportable sed script in maintainer-check test.
1633 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
1634 not contain semicolon after 'b' or brace commands, for NetBSD.
1636 Wildcards are not portable to NetBSD make.
1637 * doc/automake.texi (Wildcards): Document portability issue.
1638 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
1641 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1643 Make test for configure.in vs. configure.ac stricter.
1644 * tests/configure.test: Use a configure.in file that provokes
1645 an automake error, to ensure configure.ac is preferred.
1647 Avoid possible false negatives in dejagnu7.test.
1648 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
1649 unportable use of fgrep option `-e'.
1651 Fix conflnk3.test to work with Solaris/Heirloom Sh.
1652 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
1653 instead of respectively `test -e FILE' and `test ! -e FILE',
1654 since Solaris Sh doesn't grok the latter. Do not SKIP the test
1655 if the shell doesn't support `test -e'.
1657 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1660 * doc/automake.texi (Simple Tests using parallel-tests): Add
1661 missing closing parenthesis.
1663 Fix leftover call to removed function macros_dump.
1664 * automake.in (read_main_am_file): Call variables_dump, not
1665 macros_dump. Print actual error before list of variables.
1667 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1669 Minor improvements in comments of test `silent3.test'.
1670 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
1673 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1675 testsuite: ensure verbose printing of captured output.
1676 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
1677 tests/fort2.test, tests/help.test, tests/missing3.test,
1678 tests/missing6.test: Print captured stdout or stderr before
1681 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1683 Make test badopt.test stricter (by enabling `set -e').
1684 * tests/badopt.test: Add call to `set -e'. Due to this change,
1685 an unexpected failure in the call to `$ACLOCAL' (whose outcome
1686 was previously unchecked) would cause the whole test to fail.
1687 Also, bumped the copyright years.
1689 Make test for configure.in vs. configure.ac stricter.
1690 * tests/configure.test: Use a configure.in file that provokes
1691 an automake error, to ensure configure.ac is preferred.
1693 Use `set -e' in confsub.test (avoids possible false negatives).
1694 * tests/confsub.test: Enable shell `errexit' flag, and related
1695 changes (this helps avoiding some possible minor false negatives).
1696 Also, bumped copyright years.
1698 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1700 Fix -Werror handling for presence of configure.in and configure.ac.
1701 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
1702 $configure_ac at the global level, before command-line arguments
1704 (require_variables): Initialize it here.
1705 * tests/configure.test: New test.
1706 * tests/Makefile.am: Update.
1707 Report by Stefano Lattarini.
1709 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1711 Avoid possible false negatives in confh5.test.
1712 * tests/confh5.test: Enable shell `errexit' flag, and bumped
1713 copyright years. Due to this change, any unexpected failure
1714 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
1715 a failure in grepping expected text in output files should now
1716 cause the whole test to fail.
1718 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1720 Fixed typo in POD documentation of Automake::Channels.
1721 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
1722 @<...> was used instead of C<...>.
1724 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1726 Refactor tests on Automake TESTS color output.
1727 * tests/color.test: Tests using the expect program moved out to...
1728 * tests/color2.test: ... this new file.
1729 * tests/Makefile.am (TESTS): Extended accordingly.
1731 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1733 Fix typos in comments in test confh5.test
1734 * tests/confh5.test: Fix a couple of typos in comments.
1736 Avoid possible false negatives in canon-name.test.
1737 * tests/canon-name.test: Enable shell `errexit' flag. Improve
1740 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1742 Fix per-Makefile.am setting of -Werror.
1743 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
1744 Makefile.am would carry over to other Makefile.am files
1745 treated afterwards by the same thread, causing inconsistent
1746 and unstable exit status values.
1747 * lib/Automake/Channels.pm (dup_channel_setup)
1748 (drop_channel_setup): Save and restore the setting of
1749 $warnings_are_errors.
1750 * tests/werror3.test: New test.
1751 * tests/Makefile.am: Adjust.
1754 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1756 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
1757 * tests/confh5.test: In the generated Makefile.am: do not use
1758 `test ! -e FILE' to check for the non-existence of a file, since
1759 that is not supported by Solaris/Heirloom Sh.
1761 Make test `aclocal3.test' stricter.
1762 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
1763 succeds unexpectedly.
1765 Add tests checking that symlinks are resolved by `make dist'.
1766 * tests/distlinks.test: New test.
1767 * tests/Makefile.am (TESTS): Updated accordingly.
1768 Suggested by observations from Ralf Wildenhues.
1770 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1772 Use -9 for maximum xz compression with dist-xz.
1773 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
1774 * NEWS, THANKS: Update.
1775 Report by Pavel Sanda.
1777 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
1779 Avoid an unportable use of `$status' shell variable.
1780 * Makefile.am (path-check): Don't use the `$status' shell variable
1781 in the target's rules, as it's special in Zsh (equivalent to `$?',
1784 Avoid another use of `chmod -R'.
1785 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
1786 $(distdir) before removing it (as Solaris `chmod -R' touches
1787 symlink targets). Instead, use the cleanup strategy used in
1790 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1792 Remove uses of @acronym and @sc.
1793 * doc/automake.texi (Public Macros, Limitations on File Names):
1794 Remove all usage of @acronym and @sc in the manual.
1795 Suggested by Karl Berry.
1797 2010-03-13 Karl Berry <karl@freefriends.org>
1799 GNU hello uses fdl.texi, not gpl.texi.
1800 * doc/automake.texi (Texinfo): Adjust example to upstream
1803 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1805 Formatting cleanups in macro comments.
1806 * automake.in, lib/Automake/Channels.pm,
1807 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
1808 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
1809 m4/options.m4, m4/substnot.m4: Fix macro comment format.
1811 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1812 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1814 Avoid generation of `tests/defs-p' file.
1815 * tests/defs.in: In the generated `configure.in' snippet: call
1816 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
1817 variable `parallel_tests' is set to `yes'.
1818 * tests/Makefile.am (defs-p): Target removed.
1819 (check_SCRIPTS): Removed `defs-p'.
1820 (clean-local-check): Do not unlink `defs-p' anymore.
1821 ($(parallel_tests)): Transformation rules for the test scripts
1823 * tests/gen-parallel-tests: Selection rules for the test
1825 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
1826 then include `./defs' (rather than simply including `./defs-p').
1827 * tests/parallel-tests2.test: Likewise.
1828 * tests/parallel-tests3.test: Likewise.
1829 * tests/parallel-tests4.test: Likewise.
1830 * tests/parallel-tests5.test: Likewise.
1831 * tests/parallel-tests6.test: Likewise.
1832 * tests/parallel-tests7.test: Likewise.
1833 * tests/parallel-tests8.test: Likewise.
1834 * tests/parallel-tests9.test: Likewise.
1835 * tests/parallel-tests10.test: Likewise.
1836 * tests/README (Section "Writing Test Cases" subsection "Do"):
1837 Adjusted the parts referring to tests checking `parallel-tests'
1838 behaviour. Some other minor related improvements.
1839 * tests/.gitignore (defs-p): Removed.
1841 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1843 Remove redundant unset of variable TESTS from some test scripts.
1844 * tests/color.test: Do not unset the `TESTS' variable, as it's
1845 already unset in the `defs' file.
1846 * tests/check5.test: Likewise.
1847 * tests/check8.test: Likewise.
1848 * tests/check9.test: Likewise.
1849 * tests/check10.test: Likewise.
1850 * tests/check11.test: Likewise.
1851 * tests/parallel-tests.test: Likewise.
1852 * tests/parallel-tests3.test: Likewise.
1853 * tests/parallel-tests4.test: Likewise.
1854 * tests/parallel-tests5.test: Likewise.
1855 * tests/parallel-tests6.test: Likewise.
1856 * tests/parallel-tests7.test: Likewise.
1858 2010-02-22 Karl Berry <karl@gnu.org>
1860 Improve help message of mdate-sh.
1861 * mdate-sh: mention actual output format in help message.
1863 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1865 Deprecate dist-lzma in favor of dist-xz.
1866 * doc/automake.texi (The Types of Distributions, Options):
1867 Adjust text to reflect renaming of lzma to xz.
1869 Missing deprecation noted by Antonio Diaz Diaz.
1871 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1873 Add tests about support of wildcards in EXTRA_DIST.
1874 * tests/extra10.test: New test, check basic support of wildcards
1876 * tests/extra11.test: New test, check more complex usage of
1877 wildcards in EXTRA_DIST.
1878 * tests/extra12.test: New test, check usage of wildcards in
1879 EXTRA_DIST when $builddir != $srcdir.
1880 * tests/Makefile.am (TESTS): Updated accordingly.
1881 Necessity of these new tests suggested by Braden McDaniel
1882 and Ralf Wildenhues.
1884 2010-02-08 Simon Josefsson <simon@josefsson.org>
1886 Fix copyright statement in gnupload script.
1887 * lib/gnupload: Fix copyright statement.
1889 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
1890 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1892 Fix exit status of signal handlers in shell scripts.
1893 The value of `$?' on entrance to signal handlers in shell scripts
1894 cannot be relied upon, so set the exit code explicitly to
1896 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
1897 * lib/elisp-comp: Likewise.
1898 * lib/install-sh: Likewise.
1899 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
1900 * NEWS, THANKS: Update.
1901 Bug report, analysis, and initial patch by Dmitry V. Levin.
1903 2010-02-06 Karl Berry <karl@gnu.org>
1905 Improve gnupload usage text.
1906 * gnupload (usage): Shorten to make more likely to fit on a tty
1907 line. Mention CMD in the synopsis. With ..., plural is implied.
1909 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
1911 Fix some typos in the manual
1912 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
1914 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1916 Slighty improve tests acoutbs.test and acoutbs2.test.
1917 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
1918 autoconf and configure work, that the file `zot' is created by
1919 configure, and that no file containing a backslash in its name is
1921 * tests/acoutbs.test: Likewise, plus updated copyright years.
1923 Fix test acoutbs2.test.
1924 * tests/acoutbs2: In the generated configure.in: add proper calls
1925 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
1926 PACKAGE and VERSION. Add a call to aclocal before calling automake.
1927 Updated copyright years.
1928 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
1930 Add forgotten test scripts to $(TESTS).
1931 * tests/Makefile.am (TESTS): Added test scripts present on the
1932 filesystem, which were erroneously left out from $(TESTS):
1933 acoutbs2.test, badopt.test, extra2.test.
1934 (XFAIL_TESTS): Added acoutbs2.test.
1936 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1938 Sync auxiliary files from upstream.
1939 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
1942 Bump copyright years.
1943 * aclocal.in (write_aclocal, version): Bump copyright years.
1944 * automake.in (gen_copyright, version): Likewise.
1945 * doc/automake.texi: Likewise.
1948 * ChangeLog.09: New file, rotated from ...
1949 * ChangeLog: ... here.
1950 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
1954 Copyright (C) 2010 Free Software Foundation, Inc.
1956 Copying and distribution of this file, with or without modification, are
1957 permitted provided the copyright notice and this notice are preserved.