1 2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com>
3 tests: drop unnecessary requirement in 'subpkg.test'
4 * tests/subpkg.test ($required): Drop "bison", it is not required
5 anymore since commit `v1.11-502-g7e5ae80'.
7 2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com>
9 gitlog-to-changelog: new auxiliary script, synced from gnulib
11 We have plans to stop maintaining a version-controlled ChangeLog
12 file in the Automake repository, and instead begin to generate it
13 automatically from the git log messages. To do so, we will use
14 the `gitlog-to-changelog' script from gnulib.
16 * lib/gitlog-to-changelog: New, synced from gnulib.
17 * Makefile.am (fetch): Fetch and sync it.
18 * lib/Makefile.am (EXTRA_DIST): Distribute it.
20 2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com>
22 docs: "aclocal --install -I /abs/dir" actually copies files
24 This change is for automake bug#8407.
26 In the past, there had been some debate and confusion about
27 whether "aclocal --install" should copy third-party .m4 files
28 in the first directory passed to the `-I' option even when
29 such directory was given as an absolute path, or whether it
30 was better to do so only for directories specified with a
33 The rationale for this latter behaviour was that, before the
34 existence of the `ACLOCAL_PATH' variable, the only way (a poor
35 way, I might add) for a common user to extend the search path
36 of a system-wide installation of aclocal was to export something
37 like ACLOCAL="aclocal -I /my/extra/macros" in the environment.
38 Today, the correct way to proceed is undoubtedly through the
39 use of ACLOCAL_PATH, so we can settle the question once and for
40 all, and start verifying the correct behaviour of `-I' with a
43 * tests/aclocal-install-absdir.test: New test.
44 * tests/Makefile.am (TESTS): Add it.
45 * doc/automake.texi (aclocal Options): Be more explicit about
46 this part of `--install' semantics.
48 2011-12-26 Stefano Lattarini <stefano.lattarini@gmail.com>
50 docs: fix node names for automake and aclocal invocations
52 With the older node names, an "info automake" command issued
53 from the command line would have opened the node about the
54 invocation of the automake program, rather than the Top node
55 of the automake documentation. To invoke the Top node, one
56 had to issue the command "info Automake" instead (note the
57 different capitalization). This was suboptimal, and certainly
60 With this change, "info automake" will open the Top node of the
61 automake documentation; to access the nodes about the invocation
62 of the automake and aclocal program, one has now to issue "info
63 automake-invocation" and "info aclocal-invocation" respectively.
65 This change fixes automake bug#8071.
67 See also commits `v2.61a-22-ge9215d1' and `v2.61a-72-g8c07b48' in
68 the autoconf git repository, which tackled a similar issue.
70 * doc/automake.texi (@direntry): Rename nodes `aclocal' and
71 `automake' to `aclocal-invocation' and `automake-invocation'
75 2011-12-26 Stefano Lattarini <stefano.lattarini@gmail.com>
77 tests: tweak tests on silent-rules for makes without nested vars
78 * tests/silent-nested-vars.test: Define $MAKE to `./mymake' in
79 the environment, so that it will be automatically picked up by
80 configure. Related tweaks and simplifications.
81 Remove the checks verifying that silent rules are respected also
82 when the 'subdir-objects' option is set, the checks testing the
83 old syntax for user-defined silent rules, and the tests using
84 the default $MAKE programs: they are redundant w.r.t. other test
85 cases. Related simplifications.
86 Remove the temporary files used in a sanity check as soon as they
87 are not needed anymore.
88 Do not capture also the standard error of configure: we only want
89 to grep its standard output.
90 Consistently use `stdout' for the name of files where to save the
91 standard output captured from make and configure, for consistency
93 Make grepping of configure output and of the generated Makefile
95 Improve and tweak the `mymake' script a little.
96 * tests/silent6.test: Make grepping of make stdout slightly
97 stricter. After having configured with silent rules disabled,
98 try to force the use silent rules with `make V=1'.
100 2011-12-25 Paul Eggert <eggert@cs.ucla.edu>
102 silent-rules: fallback for makes without nested vars
104 This fixes two problems reported for Automake (Bug#9928, Bug#10237)
105 and is in response to a bug report for building coreutils on HP
106 NonStop OS (Bug#10234). The problem is that HP NonStop 'make'
107 treats a line like "AM_V_CC = $(am__v_CC_$(V))" as one that
108 expands a macro with the funny name am__v_CC_$(V instead of the
109 desired name am__v_CC_1 or am__v_CC_0, and since the funny macro
110 is not defined the line is equivalent to "AM_V_CC = )"; this
111 inserts a stray ")" when $(AM_V_CC) is used, which eventually
112 causes 'make' to fail.
114 The basic idea is that instead of generating Makefile.in lines like
115 "AM_V_CC = $(am__v_CC_$(V))", we generate
116 "AM_V_CC = $(am__v_CC_@AM_V@)". We then AC_SUBST $(V) for @AM_V@
117 in the usual case where `make' supports nested variables,
118 and substitute 1 (or 0) otherwise. Similarly for usages like
119 $(am__v_CC_$(AM_DEFAULT_VERBOSITY)).
121 With this change, make implementations that doesn't grasp nested
122 variable expansions will still be able to run Makefiles generated
123 using the silent-rules option. They won't allow the user to
124 override the make verbosity at runtime through redefinition of
125 $(V) (as in "make V=0"); but this is still an improvement over not
126 being able to work at all.
128 * NEWS: Document this.
129 * automake.in (define_verbose_var): When defining the variables,
130 use @AM_V@ rather than $(V), and use @AM_DEFAULT_V@ rather than
131 $(AM_DEFAULT_VERBOSITY).
132 * doc/automake.texi (Automake silent-rules Option): Explain new system.
133 * m4/silent.m4 (AM_SILENT_RULES): Check whether `make' supports
134 nested variables, and substitute AM_V and AM_DEFAULT_V accordingly.
135 * tests/silent-nested-vars.test: New test.
136 * tests/Makefile.am (TESTS): Add it.
138 2011-12-24 Stefano Lattarini <stefano.lattarini@gmail.com>
140 gitignore: use only one .gitignore file, in the top-level directory
141 * doc/.gitignore, doc/amhello/.gitignore, lib/Automake/.gitignore,
142 lib/Automake/tests/.gitignore, tests/.gitignore: Deleted, their
143 contents merged into ...
144 * .gitignore: ... this top-level file. Since we are at it, improve
145 it by anchoring files where it makes sense.
147 2011-12-24 Stefano Lattarini <stefano.lattarini@gmail.com>
149 tests: one more fixlet for gettext macros requirement
150 * tests/gettext-macros.test (configure.in): Add calls to
151 AC_INIT and AC_PROG_CC, to avoid a spurious failure in the
152 later aclocal invocation.
153 Luckily, this wart wasn't causing any spurious SKIP or FAIL,
154 but only the redundant addition to the `-Wno-syntax' option
155 to some aclocal invocations in the gettext tests.
157 2011-12-24 Stefano Lattarini <stefano.lattarini@gmail.com>
159 tests: fix handling of gettext macros requirement
161 The code introduced in the earlier change `v1.11-581-gb7d67d5'
162 and aimed at automatically fetching all the .m4 files provided by
163 gettext has proven inadequate, since it hasn't managed to truly
164 and always get *all* the required .m4 files. For example, it has
165 failed to fetch the file `intldir.m4' (present in gettext 0.18.1,
166 and where the macro `AM_GNU_GETTEXT_INTL_SUBDIR' is defined),
167 which in turn has caused spurious SKIPs of at least the test
170 The reason for this debacle is that autopoint looks at the version
171 specified in AM_GNU_GETTEXT_VERSION to decide which version of the
172 gettext infrastructure to bring in; since we were unconditionally
173 specifying the older 0.10.35 version, the newer `.m4' files weren't
176 * tests/gettext-macros.test: In AM_GNU_GETTEXT_VERSION, instead
177 of unconditionally specifying the older 0.10.35 version, specify
178 the version of the available `gettextize' or `autopoint' program,
179 dynamically extracted with the help of ...
180 (extract_program_version):... this new function, and saved ...
181 ($autopoint_version): ... in this new variable.
183 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
185 tests: fix failure due to debugging code forgotten into a test
186 * tests/missing-tar.test: Don't ever call the `missing' script
187 with `sh -x'; this was used for debugging, but an instance of
188 it slipped into the committed test case. Bug revealed by a
189 failure on a Solaris 10 system with GNU tar installed as `gtar'.
191 2011-12-23 Stefano Lattarini <stefano.lattarini@gmail.com>
193 tests: avoid spurious failure of libtool and gettext tests
195 On Solaris 10 (and presumably earlier), /bin/sh trips up on
196 here-documents that contains a command substitution *and* are
197 fed to a shell function:
207 # An apparently innocuous function ...
209 # ... but hilarity ensues!
213 /tmp/sh137723: cannot open
217 We need to work around this misbehaviour in a couple of our
218 tests (whose failures where causing cascading failures in a
221 * tests/gettext-macros.test: Avoid the use of command substitution
222 in a here-document passed to the `indent' function, by using the
223 `echo' builtin instead.
224 * tests/libtool-macros.test: Likewise.
227 <http://lists.gnu.org/archive/html/bug-autoconf/2011-12/msg00001.html>
229 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
231 hacking: distribute it, and mention it in the ChangeLog
232 Not distributing the HACKING file might make it more difficult,
233 for some random curious user, to get informed about or interested
234 in the Automake development process, or to send us patches.
235 * Makefile.am (EXTRA_DIST): Add HACKING.
236 * HACKING: It's OK to distribute this file, and to mention it in
239 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
241 regex: deprecate the obsolete macro AM_WITH_REGEX
242 This is a backport of commit v1.11-433-g37b0aee.
243 Today, practically nobody uses the GNU rx library, which, according
244 to its own website <http://www.gnu.org/software/rx/rx.html>, has
245 been "decommissioned". Consequently, the automake-provided macro
246 AM_WITH_REGEX is not used nor required anymore. Deprecate it, so
247 that it will be possible to safely remove it in the next major
249 * m4/regex.m4 (AM_WITH_REGEX): Give a warning of the class
250 `obsolete' when this macro is used.
251 * doc/automake.texi (Public Macros): Move description of
252 `AM_WITH_REGEX' from here ...
253 (Obsolete Macros): ... to here, and declare it as obsolete
254 and "to be removed in a future version".
255 * tests/regex-obsolete.test: New test.
256 * tests/Makefile.am (TESTS): Add it.
259 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00131.html>
261 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
263 maint: distribute .xz tarballs, not .bz2 ones
264 Many GNU packages are moving towards xz-compressed tarballs, so
265 let's follow suit, by dropping the creation and distribution of
266 a bzip2-compressed tarball and switching to xz instead.
267 For compatibility and safeness, we will continue to create and
268 distribute a gzip-compressed tarball as well.
269 * configure.ac (AM_INIT_AUTOMAKE): Drop `dist-bzip2', add
272 Suggested by Jim Meyering.
274 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
276 include: avoid "deleted .am file" problem
277 * automake.in (handle_configure): When processing `configure.am',
278 also expand `HAVE-MAKEFILE-IN-DEPS' to a boolean telling whether
279 `MAKEFILE-IN-DEPS' is empty or not.
280 * lib/am/configure.am [?HAVE-MAKEFILE-IN-DEPS?]
281 (%MAKEFILE-IN-DEPS%): New target without dependencies, to
282 avoid the "deleted .am file" problem. Emit this only when
283 `?HAVE-MAKEFILE-IN-DEPS?' is true, to avoid generating an
284 "empty" dependency declaration.
285 * tests/deleted-am.test: Make grepping of error message stricter.
286 * tests/dist-missing-am.test: Likewise.
287 * tests/remake-deleted-am.test: New test.
288 * tests/remake-deleted-am-2.test: Likewise.
289 * tests/remake-deleted-am-subdir.test: Likewise.
290 * tests/remake-renamed-am.test: Likewise.
291 * tests/makefile-deps.test: Likewise.
292 * tests/Makefile.am (TESTS): Add the new tests.
294 Fixes automake bug#9768.
295 Report by Peter Johansson.
296 See also commit `Release-1-10-40-gd0ebf71', which fixed a similar
297 problem for .m4 files included by configure.ac.
299 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
301 maint: better use of autoconf 2.68 features
302 * configure.ac: Now that Automake requires autoconf 2.68 for its
303 own bootstrapping and build system, we can assume that PACKAGE_URL
304 gets automatically AC_SUBT'd.
306 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
308 cosmetics: use proper m4 quoting in configure.ac
309 * configure.ac (AC_CONFIG_SRCDIR): Use proper m4 quoting
311 (AC_CONFIG_AUX_DIR): Likewise.
312 (AC_PROG_PATH): Likewise.
314 2011-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
316 tests: better handling of gettext and libtool requirements
318 This change fixes automake bug#9807.
320 Before this change, the automake testsuite only looked for the
321 `.m4' files containing libtool and gettext macros definitions in
322 the directory `${prefix}/share/aclocal' (and in the directories
323 specified by the `dirlist' file in there, if any), where ${prefix}
324 was the configure-time automake installation prefix (defaulting
327 This approach had various shortcomings and disadvantages. Let's
328 briefly describe the three major ones.
330 First, on most GNU/Linux systems, a libtool or gettext installed
331 from distro-provided packages (e.g., by dpkg on Debian/Ubuntu, or
332 by rmp on RedHat/Fedora) would have `/usr', not `/usr/local', as
333 its ${prefix}; so, trying to run the automake testsuite with a
334 simple "./configure && make && make check" would have failed to
335 execute the libtool and gettext tests on most GNU/Linux distros.
336 It's true that it was quite easy to work around this issue, by
337 creating a proper `/usr/local/share/aclocal/dirlist' file with
338 an entry pointing to `/usr/share/aclocal' (a workaround in fact
339 used by most automake developers); but the typical user wasn't
340 aware of the necessity of this trick, so the libtool and gettext
341 tests was usually skipped on testsuite runs "in the wild", thus
342 needlessly reducing coverage.
344 Second, the older testsuite behaviour made more difficult for
345 the developers to run the testsuite with non-default libtool or
346 gettext. For example, assume the developer is working on a system
347 that has a default libtool version 1.5 installed in the /usr/local
348 hierarchy; to improve coverage, the developer installs also a more
349 modern libtool version, say 2.4, in its home directory, let's say
350 in ~/libtool-2.4; he then tries to run the automake testsuite with
351 this more modern libtool by doing an (apparently) simple:
352 $ PATH=$HOME/libtool-2.4:$PATH make check
353 But the automake testsuite would still look for libtool macros in
354 /usr/local/share/aclocal, not in ~/libtool-2.4/share/aclocal, so
355 the wrong version of the macros would be picked up, and the tests
356 would either fail spuriously or (which would be worse) pass without
357 truly covering the libtool version the developers was thinking to
359 Worse again, the automake testsuite would *unconditionally* look
360 for libtool macros in /usr/local/share/aclocal, so even something
362 $ export ACLOCAL_PATH=$HOME/libtool-2.4/share/aclocal
363 $ PATH=$HOME/libtool-2.4:$PATH make check
366 Third and last, during a "make distcheck", automake is configured
367 with a ${prefix} pointing to a proper subdirectory of the build
368 directory (usually `pwd`/_inst), which gets created on-the-fly;
369 in this case, with the old approach, the automake testsuite never
370 found the libtool and gettext macro files, ans so the libtool and
371 gettext tests was *always* skipped in a "make distcheck".
373 * tests/libtool-macros.test: New helper test, looking (with the
374 help of the `libtoolize' script) for libtool macro files required
375 by most libtool tests, and making them easily accessible.
376 * tests/gettext-macros.test: New helper test, looking (with the
377 help of the `libtoolize' script) for libtool macro files required
378 by most libtool tests, and making them easily accessible.
379 * tests/defs.in: Update to make it rely on the results and setups
380 of `libtool-macros.test' and `gettext-macros.test'.
381 * tests/Makefile.am: Declare dependency of all the logs of libtool
382 tests from `libtool-macros.log', and all the logs of gettext tests
383 from `gettext-macros.log'.
384 (TESTS): Add the new tests.
386 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
388 fix: typos and grammaros in comments of the new test
389 * tests/get-sysconf.test: Fix few typos, grammaros and botched
390 wording. Reported by Eric Blake.
392 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
394 tests: report useful system information in 'test-suite.log'
395 It has already happened various times that a user has run the
396 automake testsuite, experienced a failure, read the messages
397 telling him "See tests/test-suite.log" and "Please report to
398 bug-automake@gnu.org", and done exactly that -- sending us only
399 the contents of `tests/test-suite.log', which are usually not
400 enough to start debugging the reported failure. So we have to
401 ask him for more details, and usually also for the `config.log'
402 file generated by configure. It's time to fix this recurring
403 feedback inefficiency. We do so by creating a dummy test case
404 that takes care of copying the contents of `config.log', plus
405 other useful system information, in the final `test-suite.log'.
406 * tests/get-sysconf.test: New test, gathering system information
407 and then always terminating with a SKIP, so that its output gets
408 copied in `test-suite.log'.
409 * tests/Makefile.am (TESTS): Add it.
411 2011-12-07 Reuben Thomas <rrt@sc3d.org> (tiny change)
413 python: remove relics for Python 1.5 support
414 * m4/python.m4: The comments in here claim to support only
415 Python >= 2.0, yet this file still has specific support for
416 Python 1.5. Just remove it, python 1.5 is 12 years old now,
417 and practically defunct.
419 See also commit `Release-1-10-205-gd5bec12', "Support for
420 Python 3.0, drop support for pre-2.0."
422 2011-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
424 configure: remove extraneous 'eval's from AM_RUN_LOG invocations
425 * configure.ac: Remove extra 'eval's from AM_RUN_LOG invocations;
426 for example, instead of "AM_RUN_LOG([eval $PERL --version])",
427 simply use "AM_RUN_LOG([$PERL --version])"
429 2011-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
431 configure: report TeX version in config.log
432 * configure.ac: If possible, report the version of the selected
433 TeX program; this should render the logs more informative.
435 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
437 maint: snapshots from `maint' are still development snapshots
438 The maintenance-oriented development line in the `maint' branch,
439 while being usually pretty stable and 99% backward-compatible,
440 is not always right off production-quality; but until now, the
441 Automake package version declared in configure.ac hid this fact,
442 since it appeared to be the version of a stable release (e.g.,
444 * configure.ac (AC_INIT): Bump version to "1.11.0a".
446 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
448 configure: print proper message for test releases
449 * configure.ac: If the current release is detected to be a test
450 release or a development snapshot, print a proper warning for
452 * README-alpha: Delete, it's obsolete now (and in fact this file
453 hasn't been touched in eleven years, since release 1.4b or so).
454 * HACKING (Release procedure): Don't say to update README-alpha.
456 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
458 devel: help in comparing Makefile.in from different commits
459 Now that the generated Makefile.in, configure and aclocal.m4 files
460 are no longer committed in Automake's git repository, a simple
461 "git diff" or "git log" no longer shows if and how a change in
462 Automake results in changes to the Makefile.in files and/or
463 configure script of its own build system. Still, the ability to
464 peek so easily at such differences has proved itself quite useful
465 in the past, often revealing inconsistencies and blunders, and
466 sometimes even bugs; so it would be a pity to lose that altogether.
467 With this change, we add a new maintainer recipe that re-introduces
468 much of that capability, by generating and comparing on the fly the
469 Makefile.in, configure and aclocal.m4 derived from two arbitrary
470 commits of the Automake repository.
471 * Makefile.am (autodiffs, compare-autodiffs): New phony targets.
473 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
475 repo: don't commit generated files in the git repository anymore
476 It has been quite some time since autoconf and libtool have stopped
477 committing the generated autotools files in their git repositories,
478 with no significant ill effects we're aware of. It's true that the
479 autoconf bootstrap process has now the minor annoyance that a
480 pre-installed autoconf is required to complete it; but luckily
481 automake will not have a similar annoyance, since our bootstrap
482 script take care, through some hoops, to use the very automake and
483 aclocal versions from the current git checkout to generate the
484 required aclocal.m4 and Makefile.in files. In fact, this has been
485 a necessity also in the past, because automake has been known to
486 use in its own build system new development features that hadn't
487 been present in any previously released automake distribution.
488 * .gitignore: Ignore configure, aclocal.m4, and all the
490 * configure.ac (AC_PREREQ): New macro call, to require the
491 latest autoconf (2.68 for the moment).
493 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
495 missing: don't try to re-run tar with a munged command line
496 * lib/missing: If the default `tar' program fails with the given
497 arguments, and GNU tar is not available, don't try to re-run the
498 default `tar' with a munged command line (e.g., ditching possibly
499 unportable options), as that could be subtly alter the intended
500 semantics (and maybe even create a somewhat corrupted tarball).
501 Also, it's worth noting that the main purpose of the `missing'
502 script is to allow a non-developer to build the package in the
503 face of slightly-skewed timestamps, not to provide wrappers for
504 all the maintainer tools -- so we don't have to try too hard
505 when `missing' is just called to wrap `tar'.
506 * tests/missing-tar.test: New test.
507 * tests/Makefile.am (TESTS): Add it.
509 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
511 missing: inform the user if GNU tar is called
512 * lib/missing: If the code trying to run GNU tar is reached, it
513 means that the previous attempt to run the default tar program
514 has failed, very likely producing some error message. At this
515 point, just running GNU tar without further comments might be
518 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
520 missing: if GNU tar exists but fails when called, give up
521 * lib/missing: If the code trying to run GNU tar is reached,
522 don't continue if the invoked GNU tar program fails, as there
523 is little point in doing so (and can even be confusing and
526 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
528 missing: miscellaneous fixlets
529 * lib/missing: Some shells, such as Solaris or FreeBSD /bin/sh,
530 warn about missing programs before performing redirections.
531 Therefore, where we have to silently check whether a program
532 exists, perform redirections on a subshell.
533 Remove redundant uses of double-quotes in variable definitions.
534 Delete an extra blank line.
536 2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
538 maint: remove executable bit from automake.in
539 * automake.in: This file is not meant to be executed, only to
540 be preprocessed to create the `automake' script; so don't leave
543 2011-12-20 Peter Rosin <peda@lysator.liu.se>
545 tests: fix spurious failure on systems lacking unistd.h
546 This is for automake bug#10324.
547 * tests/silent-lex-generic.test (foo.l): Add a dummy #define of
548 YY_NO_UNISTD_H, so that the generated foo.c file won't require
549 unistd.h to be present (it is not present when compiling with,
552 2011-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
554 test defs: hack to support autoconf-wrapper programs
555 * tests/defs.in ($AUTOCONF): Add a dummy `-B' option to the
556 autoconf invocation, so that, when the Debian autoconf wrapper
557 is involved, it will correctly dispatch an autoconf >= 2.50
558 instead of defaulting to autoconf 2.13.
559 ($AUTOHEADER, $AUTORECONF): Likewise, but for autoheader and
560 autoreconf respectively.
561 Reported by Bruno Haible:
562 <http://lists.gnu.org/archive/html/automake/2011-12/msg00039.html>
564 2011-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
566 tests: fix a minor spurious failure with FreeBSD make
567 * tests/remake-am-pr10111.test: Avoid using `#' comments in
568 makefile recipes, as these have been confusing FreeBSD make.
569 The failure was masked by the fact that this test is currently
571 Suggested by a report from Bruno Haible.
573 2011-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
575 tests: make two test scripts executable
576 * tests/remake-am-pr10111.test: Make executable.
577 * tests/remake-m4-pr10111.test: Likewise.
579 2011-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
581 readme: reference webpages for automake mailing lists
582 * README: Rationalize and reorganize the (brief) description of
583 the automake mailing lists. In particular, instead of suggesting
584 the reader to write to the `-request' addresses to subscribe to
585 mailing lists, point him to the relevant webpages, where he can
586 also subscribe via a web form.
588 2011-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
590 readme: update advice about testsuite execution
591 * README: Now that the automake testsuite uses the parallel-tests
592 driver, there is no need for the user to capture the stdout of
593 "make check" to determine which tests have failed: a detailed log
594 is automatically saved into the `tests/test-suite.log' file.
595 Since we are at it, improve the wording by dropping an extra
598 2011-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
600 readme: don't reference the old homepage at sources.redhat.com
601 * README: Don't reference the old homepage at sources.redhat.com,
602 which is no longer active; reference the homepage on www.gnu.org
603 instead. See also automake bug#10157 and bug#10248.
604 * tests/README: Likewise, and remove related extra-pedantic advice
605 about copyright papers for test cases (we'll ask for those papers
606 explicitly when we think they are warranted).
608 2011-12-12 Stefano Lattarini <stefano.lattarini@gmail.com>
610 hacking: some more fixlets
611 * HACKING (Release Procedure): Place the list of pre-release
612 bootstrap-and-test commands on a line of its own, so it's easy to
613 select and then paste it into a terminal window.
614 Fix the explanation of "make git-release", as, since the previous
615 change, "make git-release" would simply run "make dist" rather
616 than "make distcheck".
617 Suggestion from Jim Meyering.
619 2011-12-12 Peter Rosin <peda@lysator.liu.se>
621 * NEWS: Fix typo in 'make dist-bzip2' description.
623 2011-12-10 Stefano Lattarini <stefano.lattarini@gmail.com>
625 release: don't run "make distcheck" automatically
626 * Makefile.am (git-dist): The developers should test extensively
627 before finally creating the release tarball; so don't run "make
628 distcheck" on their behalf here; instead ...
629 * HACKING (Release procedure): ... state here that "make check"
630 and "make distcheck" should be run before calling "make git-dist".
632 2011-12-09 Jim Meyering <meyering@redhat.com>
633 Stefano Lattarini <stefano.lattarini@gmail.com>
635 dist-xz, dist-bzip2: don't hard-code -9, honor envvar settings
636 Before the present change, automake-generated `dist-xz' rule used
637 a hard-coded `xz -9'. That was a problem because on this front,
638 xz differs from gzip and bzip2. While the latter two don't incur
639 any run-time decompression penalty for using a higher compression
640 level, specifying -9 with xz imposes a potentially fatal virtual
641 memory requirement on any client that wants to decompress your
643 People have complained that a tarball compressed with -9 cannot
644 be uncompressed in a low-memory environment (wrt-based embedded).
645 Hence, instead of defaulting to -9, which is useful only for very
646 large tarballs, it defaults to -e (equivalent to -6e). This
647 limits the default memory requirements imposed on decompressors,
648 yet still gives very good compression ratios.
649 * lib/am/distdir.am (dist-xz): Do not hard-code xz's -9: that made
650 it impossible to override. Actually don't default to -9, either,
651 since that induced inordinately large virtual memory usage when
652 merely decompressing. Instead, use its XZ_OPT envvar, defaulting
653 to -e if not defined. Suggested by Lasse Collin.
654 (dist, dist-all) [?XZ?]: Likewise
655 (dist-bzip2): Similarly, do not hard-code -9, but do continue to
656 use -9 by default. Honor the BZIP2 envvar.
657 (dist, dist-all) [?BZIP2?]: Likewise
659 * doc/automake.texi (The Types of Distributions): Describe the
660 newly enabled environment variables.
662 2011-12-09 Stefano Lattarini <stefano.lattarini@gmail.com>
664 * NEWS: Fix typos, grammaros and suboptimal wording.
665 Reported by Jim Meyering.
667 2011-12-07 Stefano Lattarini <stefano.lattarini@gmail.com>
669 maint: sync auxiliary files from upstream
670 * lib/texinfo.tex: Synced from upstream, by "make fetch".
671 * lib/config.guess: Likewise.
672 * lib/config.sub: Likewise.
674 2011-12-04 Stefano Lattarini <stefano.lattarini@gmail.com>
676 tests: fix spurious failures due to missing 'yywrap()' function
678 The AC_PROG_LEX Autoconf macro does not diagnose a failure to find
679 the "lex library" expected to provide a `yywrap' function (function
680 which is required to link most lex-generated programs). On the
681 contrary, when all the link attempts (i.e., with `-ll' and `-lfl')
682 fail, configure declares that no lex library is needed, and simply
683 proceeds with the configuration process -- only for the build to
684 possibly fail later, at make time.
686 This behaviour is intended; the Autoconf manual reads:
687 ``You are encouraged to use Flex in your sources, since it is
688 both more pleasant to use than plain Lex and the C source it
689 produces is portable. In order to ensure portability, however,
690 you must either provide a function `yywrap' or, if you don't use
691 it (e.g., your scanner has no `#include'-like feature), simply
692 include a `%noyywrap' statement in the scanner's source.''
694 This AC_PROG_LEX behaviour is causing some spurious failures of
695 the Automake testsuite in environments which lack a proper library
696 providing `yywrap' (this happens for example on Fedora-based
697 systems). The proper workaround is to simply provide a fall-back
698 implementation of `yywrap' in our lexers.
700 See also partially-overlapping commit `v1.11-871-geb147a1' (from
701 the 'testsuite-work' branch), which was motivated by similar
702 spurious failures experienced when cross-compiling.
704 From a report by Jim Meyering:
705 <http://lists.gnu.org/archive/html/automake-patches/2011-10/msg00092.html>
707 * tests/cond35.test: Provide a dummy `yywrap' function.
708 * tests/lex3.test: Likewise.
709 * tests/silent-lex-generic.test: Likewise.
710 * tests/silent-lex-gcc.test: Likewise.
711 * tests/silent-many-generic.test: Likewise.
712 * tests/silent-many-gcc.test: Likewise.
714 2011-12-04 Paul Eggert <eggert@cs.ucla.edu>
716 depcomp: spelling fix
717 * lib/depcomp (-h): Fix misspelling in usage diagnostic.
719 2011-11-28 Peter Rosin <peda@lysator.liu.se>
721 tests: fix 'distcheck-override-infodir.test' on Cygwin
722 * tests/distcheck-override-infodir.test (Makefile.am): Do not add
723 any `/' between $(DESTDIR) and the following paths. Otherwise,
724 when $(DESTDIR) is empty, the recipes will try to access files
725 with a leading double slash, which have an implementation-defined
726 interpretation (e.g., for Cygwin, they mean UNC paths).
728 2011-11-24 Stefano Lattarini <stefano.lattarini@gmail.com>
730 cosmetics: typofix in comments
731 * tests/remake-am-pr10111.test (Makefile.am): Fix typo in comments.
733 Reported by Krzysztof Żelechowski.
735 2011-11-22 Stefano Lattarini <stefano.lattarini@gmail.com>
737 coverage: undistributed '.am' and '.m4' files are diagnosed
738 The stub rules emitted to work around the "deleted header problem"
739 for `.m4' files (included by autoconf in e.g., configure.ac) and
740 for `.am' files (included by automake in e.g., Makefile.am) should
741 not prevent "make" from correctly complaining when such a required
742 file is missing from a distribution tarball.
743 * tests/dist-missing-am.test: New test.
744 * tests/dist-missing-m4.test: Likewise.
745 * tests/dist-missing-included-m4.test: Likewise.
746 * tests/Makefile.am (TESTS): Add them.
747 Suggestion by Ralf Wildenhues.
749 2011-11-22 Stefano Lattarini <stefano.lattarini@gmail.com>
751 coverage: required but missing '.am' and '.m4' files are diagnosed
752 The stub rules emitted to work around the "deleted header problem"
753 for `.m4' files (included by autoconf in e.g., configure.ac) and
754 for `.am' files (included by automake in e.g., Makefile.am) should
755 not prevent the remake rules from correctly erroring out when a
756 still-required file is missing.
757 * tests/deleted-am.test: New test.
758 * tests/deleted-m4.test: Likewise.
759 * tests/Makefile.am (TESTS): Add them.
761 2011-11-22 Stefano Lattarini <stefano.lattarini@gmail.com>
763 coverage: expose automake bug#10111 in the testsuite
764 * tests/remake-am-pr10111.test: New test, xfailing.
765 * tests/remake-m4-pr10111.test: Likewise.
766 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add them.
768 2011-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
770 texinfo: work around Solaris 10 xpg4 shell bug in install rules
771 * lib/am/texinfos.am (install-html-am): Use an extra variable
772 indirection to work around a bug in Solaris 10 /usr/xpg4/bin/sh.
773 Bug revealed by a failure of `txinfo21.test'. See also:
774 <http://lists.gnu.org/archive/html/bug-autoconf/2011-11/msg00005.html>
775 <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10026#23>
777 2011-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
779 configure: report perl version in config.log
780 * configure.ac: Report the version of the selected perl interpreter
781 in config.log; this should render the logs more informative.
783 2011-11-13 Stefano Lattarini <stefano.lattarini@gmail.com>
785 tests: fix spurious failure with older install-info
786 * tests/install-info-dir.test (foo.texi): Also add proper
787 `@settitle', `@dircategory' and `@direntry' directive, otherwise
788 older versions of `install-info' (e.g., 4.8) will fail to create
789 the `dir' index file in ${infodir}.
790 Problem revealed by a failure on NetBSD 5.1.
792 2011-11-12 Stefano Lattarini <stefano.lattarini@gmail.com>
794 maintcheck: fix spurious failure in 'color2.test'
795 * tests/color2.test: Avoid creative quoting to avoid a spurious
796 failure of the `sc_tests_Exit_not_exit' maintainer check.
798 2011-11-12 Stefano Lattarini <stefano.lattarini@gmail.com>
800 tests: fix spurious error in 'uninstall-fail.test' on Solaris
801 * tests/uninstall-fail.test: Solaris 10 /usr/xpg4/bin/sh can add
802 a line number before the `:' in the error messages issued by shell
803 builtins. Account for that in our grepping of make output.
805 2011-11-12 Stefano Lattarini <stefano.lattarini@gmail.com>
807 tests: fix typo in 'uninstall-fail.test'
808 * tests/uninstall-fail.test: Always use `$rm_f_is_silent_on_error'
809 instead of the bogus `$rm_f_is_silent_on_failure'.
811 2011-11-10 Stefano Lattarini <stefano.lattarini@gmail.com>
813 tests: avoid a spurious failure of 'ltinit.test' MinGW
814 * tests/ltinit.test: Be laxer in grepping configure output, to
815 avoid spurious failures on systems which lack POSIX dynamic
816 linking (e.g., MinGW), or when cross-compiling for such systems.
817 See also commit `v1.11-855-ge9e5d4a'.
818 Report and suggestion from Peter Rosin.
820 2011-11-08 Stefano Lattarini <stefano.lattarini@gmail.com>
822 tests: testsuite is now safe to run with dmake in parallel mode
823 * tests/defs.in: Unset variables DMAKE_CHILD, DMAKE_DEF_PRINTED
824 and DMAKE_MAX_JOBS, which are exported by Solaris dmake when run
825 in parallel mode, and which might confuse make processes spawned
828 2011-11-08 Stefano Lattarini <stefano.lattarini@gmail.com>
830 tests: fix spurious failures w.r.t. parallel make and colorization
831 * tests/color2.test: Skip the test if the $MAKE program fails to
832 consider the standard output as a tty when spawned by `expect'.
833 This is required for make implementations, like FreeBSD make and
834 Solaris dmake, that redirect the output of recipes to temporary
835 files or pipes when run in parallel mode. Since we are at it,
836 simplify the detection of a working `expect' program, and throw
837 in other minor simplifications.
839 2011-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
841 tests: fix spurious failure in 'distcheck-override-infodir.test'
842 * tests/distcheck-override-infodir.test ($required): Add
845 2011-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
847 tests: avoid another failure of 'uninstall-fail.test' on Solaris
848 * tests/uninstall-fail.test: On Solaris 10, if `/bin/rm' is run
849 with the `-f' option, it doesn't print any error message when
850 failing to remove a file (due to e.g., "Permission denied").
851 Yikes. Cater to this incompatibility, by relaxing the test when
852 a faulty `rm' is detected.
854 2011-11-03 Zack Weinberg <zackw@panix.com> (tiny change)
855 Stefano Lattarini <stefano.lattarini@gmail.com>
857 maint-mode: fix botched configure messages
858 This change fixes automake bug#9890.
859 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Fix the "checking ..."
860 configure message related to the enabling/disabling of maintainer
862 * tests/help-maintainer.test: Renamed ...
863 * tests/maintmode-configure-msg.test: ... to this, and extended
864 to cover the fixed bug. Also, since we are at it, make grepping
865 of configure help screens stricter, and throw in some few other
866 changes to reduce code duplication and enhance readability.
867 * tests/Makefile.am (TESTS): Update.
868 * THANKS: Update with Zack's new e-mail address.
869 Report and initial patch by Zack Weinberg, test cases added by
872 2011-10-23 Stefano Lattarini <stefano.lattarini@gmail.com>
874 info: allow user to inhibit creation/update of '${infodir}/dir'
875 With this change, we allow the user to request the install-info
876 rules not to update the `${infodir}/dir' file, by setting the
877 environment variable `AM_UPDATE_INFO_DIR' to the value "no".
878 This is especially useful to distro packagers, and is a definite
879 improvement over our previous hack of looking whether the
880 `install-info' program was the Debian or GNU version -- hack
881 which had been silently broken with recent versions of debian
882 install-info BTW (probably since dpkg 1.15.4, 2009-09-06).
883 This change fixes automake bug#9773. See also Debian Bug#543992.
884 * lib/am/texinfos.am: Don't look anymore at the output of
885 `install-info --version' to decide whether to use it to update
886 the `${infodir}/dir' or not; instead, honour the environment
887 variable `AM_UPDATE_INFO_DIR'.
888 * tests/install-info-dir.test: New test.
889 * tests/Makefile.am (TESTS): Add it.
890 * tests/defs: Also unset `AM_UPDATE_INFO_DIR', to avoid unwanted
891 interferences from the environment.
892 * doc/automake.texi (Texinfo): Update.
895 Report by Jonathan Nieder.
897 2011-10-20 Stefano Lattarini <stefano.lattarini@gmail.com>
899 deps: partially revert commit `v1.11-512-geeee551'
900 This change partly reverts commit "Create subdirs for generated
901 sources even when not dep tracking", of 2011-04-02.
902 That commit had caused the bugs #8485 and #8526. Since we are
903 nearing the bug-fixing automake release 1.11.2, the safest policy
904 at the moment is to just revert the problematic hunks: an older,
905 known bug is better than a regression.
906 * automake.in (handle_single_transform): Don't add a dirstamp
907 dependency, even when $object is derived and lands in a subdir.
908 * tests/Makefile.am (XFAIL_TESTS): Add lex-subobj-nodep.test,
909 remove yacc-dist-nobuild-subdir.test.
911 2011-10-19 Stefano Lattarini <stefano.lattarini@gmail.com>
913 dejagnu: allow the package developer to extend site.exp
914 Fixes automake bug#7873.
915 * lib/am/dejagnu.am (site.exp): Depend from the files listed in
916 $(EXTRA_DEJAGNU_SITE_CONFIG), if any. Append their contents to
917 the generated site.exp (still preserving user edits).
918 * doc/automake.texi (Dejagnu Tests): Update.
919 * tests/dejagnu-siteexp-append.test: New test.
920 * tests/dejagnu-siteexp-extend.test: Likewise.
921 * tests/dejagnu-siteexp-useredit.test: Likewise.
922 * tests/Makefile.am (TESTS): Update.
924 Suggestion by Rainer Orth.
926 2011-10-19 Stefano Lattarini <stefano.lattarini@gmail.com>
928 dejagnu: ensure 'srcdir' is defined as a relative directory
929 This change fixes automake bug#7833.
930 * lib/am/dejagnu.am (check-DEJAGNU): Prefer using plain $(srcdir)
931 over calculating and using the absolute path of $(srcdir).
932 * tests/dejagnu-relative-srcdir.test: New test.
933 * tests/dejagnu-absolute-builddir.test: Likewise.
934 * tests/Makefile.am (TESTS): Update.
935 Report by Ian Lance Taylor. Suggestions by Ralf Wildenhues.
937 2010-12-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
939 Fix testsuite failure of check12.test without DejaGNU.
940 * tests/check12.test: Require runtest.
942 2010-12-10 Stefano Lattarini <stefano.lattarini@gmail.com>
944 Extend and improve tests on DejaGnu support.
945 * tests/dejagnu.test: Do not create useless dummy test script.
946 Add trailing `:' command. In heading comments, add reference
948 * tests/check12.test: ... this new "semantic" test, covering
949 concurrent use of dejagnu tests, simple tests and `check-local'
951 * tests/dejagnu2.test: Make test more reliable, by avoid weak
952 grepping of make output. Prefer `cat' over `echo' to append
953 to configure.in. Quote literal dots in grep regexps. Prefer
954 `grep -c ...' over `grep ... | wc -l'. Make grepping of
955 automake stderr slightly stricter. Add trailing `:' command.
956 * tests/dejagnu3.test: Prefer `cat' over `echo' to append to
957 configure.in. Check stderr of expected-to-fail "make" call.
958 Remove extra blank lines from Makefile.am.
959 * tests/dejagnu4.test: Prefer `cat' over `echo' to append to
960 configure.in. Prefer `mv -f' over plain `mv' when the target
961 file already exists. Avoid extra mkdir calls by creating more
962 directories at once. Better use of blank lines. Check that
963 the `*.log' and `*.sum' files are created by runtest also when
965 * tests/dejagnu7.test: Prefer `cat' over `echo' to append to
966 configure.in. Better use of blank lines. Add a trailing `:'
968 * tests/dejagnu6.test: Likewise, and give the dejagnu test a
969 more descriptive name.
970 * tests/dejagnu5.test: Likewise. Also, simply define package
971 name to `$me' rather than using a non-obvious sed script to
972 extract it from `AC_INIT', and write the Makefile.am with only
974 * tests/Makefile.am (TESTS): Updated.
976 2011-10-21 Peter Rosin <peda@lysator.liu.se>
978 * THANKS: Fix whitespace issue.
980 2011-10-18 Stefano Lattarini <stefano.lattarini@gmail.com>
982 tests: fix spurious failure with FreeBSD make and Yacc in VPATH
983 * tests/subpkg.test: Some cosmetic adjustments. Move the tests
984 checking that $(YLWRAP) is defined and installed properly when
985 ylwrap is in a default auxdir found in a parent package ...
986 * tests/subpkg-yacc.test: ... into this new test, which carefully
987 avoids to trigger the known bug#7884 (combo FreeBSD make plus Yacc
989 * tests/Makefile.am (TESTS): Update.
991 2011-10-18 Stefano Lattarini <stefano.lattarini@gmail.com>
993 tests: avoid spurious failure in 'parallel-tests3.test'
994 This fixes automake bug#8788.
995 * tests/parallel-tests3.test: To ensure that the serial run of
996 the dummy testsuite is still ongoing when the parallel run has
997 terminated, use `kill -0', not a bare `kill'. This will prevent
998 a testsuite crash on NetBSD 5.1, and a testsuite hang on FreeBSD
999 8.2. Also, since we are at it, try harder to avoid possible
1000 hangs of the script in other unusual situations.
1002 2011-10-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1004 tests: fix spurious failures with "chatty" make implementations
1005 * tests/distcheck-missing-m4.test: On failure, some make
1006 implementations (such as Solaris make) print the whole failed
1007 recipe on standard output. This was causing a spurious failure
1008 in the checks grepping the output from make. Work around this.
1009 * tests/distcheck-outdated-m4.test: Likewise.
1011 2011-10-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1013 tests: fix spurious failure on fast machines
1014 * tests/aclocal-path-precedence.test: Also remove the `configure'
1015 script between different test runs, to ensure it is always remade
1016 by autoconf. Add proper explicative comments.
1018 2011-10-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1020 tests: avoid spurious failure of 'uninstall-fail.test' on Solaris
1021 * tests/uninstall-fail.test: All the Solaris 10 shells (/bin/sh,
1022 /bin/ksh, and /usr/xpg4/bin/sh), upon failing to chdir to a
1023 directory with the `cd' builtin, print a message like:
1024 "sh: /root: permission denied"
1025 which doesn't report the `cd' builtin anywhere. Relax the grepping
1026 of the error message accordingly.
1028 2011-10-19 Stefano Lattarini <stefano.lattarini@gmail.com>
1030 tests: avoid spurious failure of 'uninstall-fail.test' on Cygwin
1031 * tests/uninstall-fail.test: Be sure to really skip this test
1032 on systems that allows files to be removed from unwritable
1033 directories. Motivated by a spurious failure on Cygwin 1.5.
1035 2011-10-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1037 tests: fix spurious failure with autoconf 2.62
1038 * tests/aclocal-path-precedence.test: Rewrite configure.in,
1039 rather than appending to it, to avoid spurious failures (at
1040 least with autoconf 2.62) due to repeated calls to AC_INIT.
1041 Also, add package name and version arguments to AC_INIT, to
1042 avoid spurious errors from automake.
1044 2011-10-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1046 docs: avoid using colon character inside arguments of @pxref
1047 Fixes automake bug#9753
1048 * doc/automake.texi (VPATH Builds): Avoid using colon character
1049 `:' inside arguments of @pxref, as this can cause problems in
1050 the generated `.info' files, and such an usage will be explicitly
1051 forbidden by future texinfo documentation.
1053 Reported by Дилян Палаузов.
1055 2011-10-07 Stefano Lattarini <stefano.lattarini@gmail.com>
1057 parallel-tests: warn on conditional TEST_EXTENSIONS definition
1058 Before this change, automake would have still bailed out, but
1059 with a confusing error message (about an invalid redefinition
1060 of TEST_EXTENSIONS).
1061 * automake.in (handle_tests): Warn explicitly if TEST_EXTENSIONS
1062 has conditional contents.
1063 * tests/test-extensions-con.test: New test.
1064 * tests/Makefile.am (TESTS): Add it.
1067 2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1069 parallel-tests: don't allow @substitutions@ in TEST_EXTENSIONS
1070 Even after the last commit `v1.11-476-g90bea64', the checks
1071 performed by automake on entries in $(TEST_EXTENSIONS) tried to
1072 allow for @substitited@ stuff. This however ends up allowing
1073 quite brittle setups, which, most importantly, are of no real
1074 practical usefulness anyway. So it's better to just disallow
1075 @substitutions@ in TEST_EXTENSIONS altogether, offering a clear
1076 error message, instead of risking weird bugs and unexpected
1077 behaviors in the generated Makefile.in.
1078 * automake.in ($TEST_EXTENSION_PATTERN): Turned from a regular
1080 (is_valid_test_extension): ... into this subroutine. Don't allow
1081 generic @substitutions@ anymore (possibly making an exception for
1082 `@EXEEXT@' under the proper circumstances).
1083 * tests/test-extensions.test: Adjust and extend.
1085 2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1087 tests: fix spurious failure in 'insthook.test'
1088 * tests/insthook.test (Makefile.am): Add a proper `uninstall-hook'
1089 target to remove the symlink created by the `install-exec-hook'
1090 target; this prevents "make distcheck" from failing spuriously.
1091 Since we are at it, delete an extra blank line, and add a trailing
1094 2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1096 maintcheck: fix spurious failure
1097 * lib/am/distdir.am: Use `$(infodir)', not `${infodir}', to avoid
1098 complaints from the `sc_no_brace_variable_expansions' maintainer
1101 2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1103 fix: make a test script executable
1104 * tests/nobase-nodist.test: Make executable.
1106 2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1108 coverage: expose automake bug#9651
1109 * tests/dist-auxfile.test: New test, xfailing.
1110 * tests/dist-auxfile-2.test: Likewise.
1111 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add them.
1113 2011-10-01 Stefano Lattarini <stefano.lattarini@gmail.com>
1115 parallel-tests: automake error our on invalid TEST_EXTENSIONS
1116 This change fixes automake bug#9400.
1117 * automake.in (handle_tests): Bail out if a suffix specified in
1118 TEST_EXTENSIONS would produce an invalid `xxx_LOG_COMPILER'
1119 variable or an invalid suffix rule. Before this change, automake
1120 would have issued a confusing error messages (about invalid or
1121 non-POSIX variables being defined), and in some situations would
1122 have even produced a broken `Makefile.in' file.
1123 ($TEST_EXTENSION_PATTERN): New helper variable.
1124 * doc/automake.texi (Simple Tests using parallel-tests): Document
1125 the limitations on TEST_EXTENSIONS explicitly.
1127 * tests/test-extensions.test: New test.
1128 * tests/Makefile.am (TESTS): Update.
1130 2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com>
1132 docs: don't suggest installing `.m4' files in hard-coded location
1133 This change fixes automake bug#7988.
1134 * doc/automake.texi (aclocal Options): State that the use of
1135 the `--print-ac-dir' option to determine the directory where
1136 third-party packages can install their `.m4' files is discouraged
1138 (Extending aclocal): Suggest telling the user about ACLOCAL_PATH.
1140 Report by Peter Johansson.
1142 2011-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
1144 distuninstallcheck: fail also when only one file is left installed
1145 This change fixes automake bug#9579.
1146 * lib/am/distdir.am (distuninstallcheck): Be stricter in ignoring
1147 a potential `dir' file created by install-info and left installed.
1148 Also, be more careful about "this can't happen" kind of errors.
1149 (am__distuninstallcheck_listfiles): New internal helper macro.
1150 * tests/distcheck-pr9579.test: New test.
1151 * tests/distcheck-override-infodir.test: Likewise.
1152 * tests/Makefile.am (TESTS): Add them.
1153 * NEWS, THANKS: Update.
1154 Report by Nick Bowler.
1156 2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com>
1158 maintcheck: fix usage of `cd' instead of `$(am__cd)'
1159 * lib/am/inst-vars.am (am__uninstall_files_from_dir): Use
1160 `$(am__cd)', not plain `cd'.
1162 2011-09-24 Stefano Lattarini <stefano.lattarini@gmail.com>
1164 uninstall: "make uninstall" before "make install" works
1165 This change fixes automake bug#9578.
1166 * lib/am/inst-vars.am (am__uninstall_files_from_dir): New internal
1167 macro, that defines a shell code fragment to uninstall files from
1169 * lib/am/data.am (uninstall-%DIR%%PRIMARY%): Use it, to reduce code
1170 duplication and improve consistency and correctness.
1171 * lib/am/libs.am (uninstall-%DIR%LIBRARIES): Likewise.
1172 * lib/am/lisp.am (uninstall-%DIR%LISP): Likewise.
1173 * lib/am/mans.am (uninstall-man%SECTION%): Likewise.
1174 * lib/am/python.am (uninstall-%DIR%LIBRARIES): Likewise.
1175 * lib/am/scripts.am (uninstall-%DIR%SCRIPTS): Likewise.
1176 * tests/uninstall-pr9578.test: New test.
1177 * tests/uninstall-fail.test: New test.
1178 * tests/Makefile.am (TESTS): Add them.
1179 * NEWS, THANKS: Update.
1180 Report by Nick Bowler.
1182 2011-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1184 tests: fix tests on aclocal search path precedences
1185 * tests/aclocal-path-precedence.test: Call `$ACLOCAL' with the
1186 proper overridden system acdir.
1188 2011-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1192 2011-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1194 docs: document planned precedence changes in aclocal search path
1195 * doc/automake.texi (Macro Search Path): Explicitly state that the
1196 lookup order for extra directories of `.m4' files will be changed
1197 in the next major release.
1200 2011-09-19 Paolo Bonzini <bonzini@gnu.org>
1201 Stefano Lattarini <stefano.lattarini@gmail.com>
1203 aclocal: handle ACLOCAL_PATH environment variable
1204 * aclocal.in (parse_ACLOCAL_PATH): New function, parse ACLOCAL_PATH
1205 as a colon-separated list of directories to be included in the
1207 * doc/automake.texi (Macro Search Path): Document new behavior and
1208 the precedence rules for various elements of the search path.
1209 * tests/aclocal-path.test: New test.
1210 * tests/aclocal-path-install.test: Likewise.
1211 * tests/aclocal-path-install-serial.test: Likewise.
1212 * tests/aclocal-path-precedence.test: Likewise.
1213 * tests/aclocal-path-nonexistent.test: Likewise.
1214 * tests/Makefile.am (TESTS): Add them.
1216 * tests/distcheck-missing-m4.test: Extend by also checking
1217 interactions with ACLOCAL_PATH.
1218 * tests/distcheck-outdated-m4.test: Likewise, and fix a couple
1219 of botched comments since we are at it.
1221 2011-09-19 Stefano Lattarini <stefano.lattarini@gmail.com>
1223 tests: fix spurious failure in 'primary-prefix-valid-couples.test'
1224 * tests/primary-prefix-valid-couples.test: After commit
1225 v1.11-464-gc9dfc36, `java_JAVA' is not a valid prefix/primary
1226 combination by default anymore: one has to explicitly define
1227 $(javadir) to make it so. So just drop `java_JAVA' from our
1228 Makefile.am Also, since we are at it, ...
1229 (configure.in): ... remove AM_PROG_GCJ from here, as it's not
1232 2011-09-19 Stefano Lattarini <stefano.lattarini@gmail.com>
1234 docs: deprecate JAVA primary
1235 * doc/automake.texi (Java): Deprecate the JAVA primary, stating
1236 that it will become obsolete in automake 1.12 and probably removed
1237 altogether in automake 1.13. Reflect this in the section title,
1238 by appending the string "(deprecated feature)".
1239 (@menu, @detailmenu): Update.
1240 (Java Support with gcj): The cross-referenced support for bytecode
1241 compilation with the JAVA primary is rudimentary and deprecated.
1242 State that explicitly.
1244 2011-09-19 Stefano Lattarini <stefano.lattarini@gmail.com>
1246 docs: clearer distinction between `.java' with javac and with gcj
1247 * doc/automake.texi (Java support): Rename this node ...
1248 (Java support with gcj): ... to this, and change its title from
1249 "Compiling Java sources" to "Compiling Java sources using gcj".
1250 (@detailmenu, @menu, @cindex): Update and make more precise.
1251 (Java): Change the title of this node from simply "Java" to
1252 "Java bytecode compilation".
1253 (@detailmenu, @menu, @cindex): Update and make more precise.
1255 2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1257 java: complain if java_JAVA is used but $(javadir) is undefined
1258 Fixes automake bug#8461.
1259 * automake.in (handle_java): Remove inappropriate "java" argument
1260 from the calls to `&am_install_var' and `&am_primary_prefixes'.
1261 * tests/instdir-java.test (Makefile.am): Define `$(javadir)'.
1262 * tests/javadir-undefined.test: New test.
1263 * tests/Makefile.am (TESTS): Add it.
1266 2011-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
1268 cosmetics: fix various typos and grammaros
1270 * tests/py-compile-basic.test: Likewise.
1271 * tests/py-compile-basedir.test: Fix botched wording in comments.
1272 * tests/py-compile-option-terminate.test: Fix typo and incomplete
1274 Suggestions by Peter Rosin.
1276 2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1278 coverage: test interactions of `nobase_' and `nodist_'
1279 * tests/nobase-nodist.test: New test.
1280 * tests/Makefile.am (TESTS): Add it.
1282 2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1284 java: fix various blunders in test 'java-mix.test'
1285 * tests/java-mix.test: Add missing call to `set -e'. Fix inverted
1286 semantics (`.java' files are expected *not* to be distributed by
1287 default, not the other way round). Fix various typos in the name
1288 of the `.java' files. Correct other minor blunders. Improve some
1291 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1293 java: allow both JAVA and nobase_JAVA in the same Makefile.am
1294 * automake.in (handle_java): Also strip `nobase_' from the given
1295 prefix, when needed.
1296 * tests/java-clean.test: Update and extend.
1297 * tests/java-compile-install.test: Likewise.
1298 * tests/java-no-duplicate.test: Likewise.
1299 * tests/java-sources.test: Likewise.
1300 * tests/java-noinst.test: Likewise.
1301 * tests/java-mix-dist-nodist.test: Renamed to ...
1302 * tests/java-mix.test: ... this, and extended.
1303 * tests/java-nobase.test: New test, still xfailing due to
1305 * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
1307 2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1309 java: allow both dist_JAVA and nodist_JAVA in the same Makefile.am
1310 Fixes automake bug#8434.
1311 * automake.in (handle_java): Strip `dist_' and `nodist_' from
1312 the given prefix. Define a new internal Makefile variable
1313 `am__java_sources'. Related adjustments.
1314 * lib/am/java.am (JAVAC, JAVAROOT, CLASSPATH_ENV): Define only the
1315 first time this am file is processed.
1316 (class%DIR%.stamp): Stamp file renamed ...
1317 (class%NDIR%.stamp): ... to this, so that the `dist_' and `nodist_'
1318 prefixes are stripped from the name of the stampfile. Adjust
1319 declaration of dependencies by using the new automake-generated
1320 internal variable `$(am__java_sources)'. In the rule, use `$@'
1321 as the name of the target, rather than hard-coding it.
1322 * tests/java.test: Update and extend.
1323 * tests/java-no-duplicate.test: New test.
1324 * tests/java-mix-dist-nodist.test: Likewise.
1325 * tests/java-compile-and-install.test: Likewise.
1326 * tests/java-clean.test: Likewise.
1327 * tests/java-sources.test: Likewise.
1328 * tests/Makefile.am (TESTS): Update.
1330 2011-09-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1332 tests: fix spurious failure on fast machines
1333 * tests/aclocal-acdir.test: Avoid spurious failures due to caching
1334 issues, by cleaning the autom4te cache between all the aclocal
1335 invocations, and by always calling autoconf with the `--force'
1338 2011-09-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1340 aclocal: better URL reference in error message
1341 * aclocal.in (scan_file): In the error message about underquoted
1342 definitions, reference the automake page at `www.gnu.org', not
1343 at `sources.redhat.com'.
1345 2011-09-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1347 coverage: distcheck-hook to catch missing/outdated *.m4 files
1348 Related to automake bug#9037.
1349 * tests/distcheck-missing-m4.test: New test.
1350 * tests/distcheck-outdated-m4.test: Likewise.
1351 * tests/distcheck-hook-m4.am: New data file, used by the new
1353 * tests/Makefile.am (distcheck-m4-missing.log,
1354 distcheck-m4-outdated.log): Depend on it.
1355 (EXTRA_DIST): Distribute it.
1356 (TESTS): Add the new tests.
1358 2011-09-06 Stefano Lattarini <stefano.lattarini@gmail.com>
1360 aclocal: more granularity in acdir overriding
1361 Before this change, using the `--acdir' option caused aclocal to
1362 redefine both the directory of automake-provided m4 macros and the
1363 directory of third-party system-wide m4 macros. With this change,
1364 we deprecate the `--acdir' aclocal option, and introduce two new
1365 options `--automake-acdir' and `--system-acdir', to allow for more
1367 * aclocal.in (@automake_includes, @system_includes,
1368 @user_includes): Fix and extend comments.
1370 (handle_acdir_option): New function.
1371 (parse_arguments): Recognize new options `--system-acdir' and
1372 `automake-acdir', and handle `--acdir' using the new function
1373 above. Simplify logic by assuming that the directory of
1374 third-party system-wide m4 files always exists.
1375 * tests/aclocal.in: Update to use the new options, instead of
1376 the deprecated. `--acdir'.
1377 * m4/dirlist: Move ...
1378 * m4/acdir/dirlist: ... here.
1379 * m4/Makefile.am (EXTRA_DIST): Update.
1380 (m4datadir): Rename ...
1381 (automake_acdir): ... to this. Accordingly, ...
1382 (dist_m4data_DATA): ... rename this ...
1383 (dist_automake_ac_DATA): ... to this.
1384 (system_acdir): New, directory.
1385 (dist_system_ac_DATA): New, defined to an empty value; this will
1386 ensure that the $(system_acdir) directory will be created by
1388 * tests/aclocal.test: Remove check about the `--print-ac-dir'
1389 option of aclocal, it has been moved into ...
1390 * tests/aclocal-print-acdir.test: ... this new test, and quite
1392 * tests/aclocal-acdir.test: New test.
1393 * tests/Makefile.am (TESTS): Add the new tests.
1394 * NEWS, bootstrap: Update.
1395 * doc/automake.texi (aclocal Options, Macro Search Path): Update.
1397 2011-09-05 Peter Rosin <peda@lysator.liu.se>
1399 * tests/amhello-binpkg.test: Add missing $EXEEXT usage.
1401 2011-09-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1403 fix: list test 'vala-vpath.test' in XFAIL_TESTS
1404 * tests/Makefile.am (XFAIL_TESTS): Update.
1406 2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com>
1408 tests: simplify wrapper for aclocal
1409 * tests/aclocal.in: Remove use of $ACLOCAL_TESTSUITE_FLAGS and
1410 extra `-I' flags; they are not really required, since the file
1411 `m4/amversion.m4' is generated in the srcdir anyway.
1412 * tests/acloca10.test: Remove use of $ACLOCAL_TESTSUITE_FLAGS.
1413 * tests/acloca18.test: Likewise.
1414 * tests/defs.in: Don't nullify $ACLOCAL_TESTSUITE_FLAGS, and do
1417 2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com>
1419 coverage: vala support failing for VPATH from-scratch builds
1420 * tests/vala-vpath.test: New test, xfailing.
1421 * tests/Makefile.am (TESTS): Update.
1423 From a report by Zbigniew Jędrzejewski-Szmek.
1424 Related to automake bug#8753.
1426 2011-09-01 Stefano Lattarini <stefano.lattarini@gmail.com>
1428 docs: report few more automake parsing limitations
1429 Partly motivated by automake bug#8360.
1430 * doc/automake.texi (General Operation): Report few more automake
1431 limitations w.r.t. parsing of unusual makefile constructs. Related
1433 * tests/doc-parsing-buglets-colneq-subst.test: New test.
1434 * tests/doc-parsing-buglets-tabs.test: Likewise.
1435 * tests/Makefile.am (TESTS): Update.
1437 2011-08-25 Stefano Lattarini <stefano.lattarini@gmail.com>
1439 tests: list "forgotten" test script in TESTS
1440 * tests/Makefile.am (TESTS): Also list ...
1441 * tests/java-empty-classpath.test: ... this test. Since we are
1442 at it, remove trailing whitespace from a couple of lines.
1444 2011-08-25 Eric Blake <eblake@redhat.com>
1446 ylwrap: fix unusual indentation whitespace
1447 * lib/ylwrap: Convert tabs to spaces.
1448 Reported by Karl Berry.
1450 2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
1452 * THANKS (Daniel Richard G.): Update e-mail address.
1454 2011-08-16 Daniel Richard G. <skunk@iskunk.org> (tiny change)
1455 Stefano Lattarini <stefano.lattarini@gmail.com>
1457 java: avoid compilation errors when CLASSPATH is empty
1458 * lib/am/java.am (CLASSPATH_ENV): When redefining `$CLASSPATH',
1459 do not append an empty component in case the previous value of
1460 CLASSPATH is empty or unset.
1461 * tests/java-empty-classpath.test: New test.
1462 * tests/Makefile.am (TESTS): Update.
1463 Fixes automake bug#9306.
1465 2011-08-16 Stefano Lattarini <stefano.lattarini@gmail.com>
1467 parallel-tests: no more spurious successes for FreeBSD make
1468 Work around a bug of FreeBSD make bug that was causing the
1469 automake-generated "check" target to complete with success
1470 even if some tests failed; this happened only when FreeBSD
1471 make was run in concurrent mode (as in, e.g., "make -j2
1472 check"). The bug is not present in NetBSD make.
1473 This change fixes automake bug#9245:
1474 <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9245>
1475 See also FreeBSD PR bin/159730:
1476 <http://www.freebsd.org/cgi/query-pr.cgi?pr=159730>
1477 * lib/am/check.am [%?PARALLEL_TESTS%] $(TEST_SUITE_LOG): Use a
1478 more "safe" (and apparently redundant) idiom to exit with error,
1479 so that the non-zero exit status is picked up also by FreeBSD
1480 make when it's running in concurrent mode.
1482 * tests/check-concurrency-bug9245.test: New test.
1483 * tests/Makefile.am (TESTS): Update.
1485 2011-08-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1487 hacking: we now require autoconf 2.68
1488 * HACKING ("Working in git"): Use autoconf and autom4te 2.68,
1489 not 2.67, in the examples.
1491 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1493 test defs: more environment cleanup
1494 * tests/defs.in: Also unset variables AM_COLOR_TESTS and
1495 AM_TESTS_ENVIRONMENT.
1497 2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1499 tests: fix spurious failure with Solaris make
1500 * tests/distcheck-configure-flags-am.test: Avoid using `+=' too
1501 liberally with AM_DISTCHECK_CONFIGURE_FLAGS, since the line breaks
1502 so introduced, in conjunction with single quotes, might confuse
1505 2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com>
1507 maintcheck: fix maintainer-check failures, both real and spurious
1508 * tests/amhello-binpkg.test: Use "$MAKE", not bare "make".
1509 * Makefile.am (sc_perl_local): Also allow perl special variable
1510 `$~' to be localized. And be slightly laxer in the regexp, to
1511 allow for usages like "local $_ = $foo;".
1512 (sc_tests_overriding_macros_on_cmdline): Also allow for command
1513 line overriding of the `DISABLE_HARD_ERRORS' make variable. Try
1514 to avoid false positives for usages like "$MAKE || st=$?".
1516 2011-08-03 Bruno Haible <bruno@clisp.org>
1518 docs: how to use '-I' option in AM_CPPFLAGS for best VPATH support
1519 * doc/automake.texi (Program Variables): Recommend -I options to
1520 both the build directory and the source directory when needed.
1522 2011-07-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1524 tests: relax a test on amhello examples to cater to Solaris tar
1525 * tests/amhello-binpkg.test: When the tar implementation in use
1526 is not GNU tar, relax the tests on tar output, to avoid spurious
1527 failures. For example, "tar cvf ..." with GNU tar can output
1528 lines like "./usr/bin/hello" on the standard output, while with
1529 Solaris tar it can output lines like "a ./usr/bin/hello 8K" on
1530 standard output, and with Heirloom tar it can output lines like
1531 "a ./usr/bin/hello 15 tape blocks" on standard error.
1533 2011-07-15 Benoit Sigoure <tsunanet@gmail.com>
1535 docs: add references between the 2 sections on java support
1536 * doc/automake.texi (Java Support, Java): Add cross-references.
1538 2011-07-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1540 Sync auxiliary files from upstream.
1541 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
1542 lib/texinfo.tex: Sync from upstream.
1544 2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1546 tests: fix weakness in 'tests-environment-backcompat.test'
1547 * tests/tests-environment-backcompat.test: Do not override the
1548 content of xfailing test `baz.test' with a "weaker" version that
1549 fails unconditionally: the test must fail only when the 'strict'
1550 pragma is in use, in order not to reduce coverage.
1552 2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1554 docs, tests: synchronize examples on silent-rules from config.site
1555 * doc/automake.texi (Automake silent-rules Option): Reference test
1556 'silent-configsite.test' in comments.
1558 2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1560 tests: portability fixes in tests on amhello examples
1561 * tests/amhello-binpkg.test: Don't use "tar xzf too.tag.gz" to
1562 extract a gzip-compressed tarball, that's unportable to some
1563 tar implementations; use the "gzip -dc fo.tar.gz | tar xf -"
1565 * tests/amhello-cflags.test: Likewise.
1566 * tests/amhello-cross-compile.test: Likewise.
1567 Suggestion from Ralf Wildenhues.
1569 2011-07-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1571 remake: add test ensuring that slower remakes don't hang
1572 * tests/remake-subdir-long-time.test: New test.
1573 * tests/Makefile.am (TESTS): Update.
1574 Suggestion by Ralf Wildenhues.
1576 2011-07-04 Stefano Lattarini <stefano.lattarini@gmail.com>
1578 remake: fix outdated comment in configure.am
1579 * lib/am/configure.am: Fix comment falsified by changes in
1580 commit `v1.11-366-gbee9871'.
1581 Suggestion by Ralf Wildenhues.
1583 2011-07-01 Stefano Lattarini <stefano.lattarini@gmail.com>
1585 docs, tests: synchronize examples from docs to tests
1586 * tests/README (Writing test cases): Give suggestions on how to
1587 keep test cases and examples in the documentation synchronized.
1588 * doc/automake.texi: Improve or fix existing testcase-referencing
1589 comments, and add many new ones.
1590 * HACKING (Administrivia): Suggest to test complex examples and
1591 idioms from the manual.
1592 * tests/specflg8.test: Improve synchronization with the example
1594 * tests/output11.test:Likewise.
1595 * tests/txinfo21.test:Likewise.
1596 * tests/interp.test: Likewise. Since we are at it, and enable
1597 the `errexit' shell flag, do related changes, and add trailing
1599 * tests/amhello-cflags.test: New test.
1600 * tests/amhello-cross-compile.test: Likewise.
1601 * tests/amhello-binpkg.test: Likewise.
1602 * tests/tests-environment-backcompat.test: Likewise.
1603 * tests/parallel-tests-log-compiler-example.test: Likewise.
1604 * tests/Makefile.am (TESTS): Update.
1606 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1608 docs: avoid a footnote, some related rewordings and improvements
1609 * doc/automake.texi (Dist): Reword the part about automatically
1610 distributed files to avoid a footnote. Since we are at it, extend
1611 a bit, and add an example and a reference to a relevant test case.
1613 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1615 docs: minor cosmetic fixes
1616 * doc/automake.texi: Break few overly long lines, throughout the
1618 ("Simple Tests"): Move @vindex for XFAIL_TESTS to the correct
1619 position, i.e., before and not after the paragraph where it is
1621 ("Options" @item ansi2knr): Use @pxref instead of @xref. This
1622 fixes a texinfo warning.
1623 ("Other things Automake recognizes" @item AM_C_PROTOTYPES): Use
1624 @pxref instead of @ref.
1626 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1628 help: improve text about automatically-distributed files
1629 This change fixes automake bug#7819.
1630 * automake.in (usage): Distinguish between files that are always
1631 automatically distributed when found, and those which are only
1632 "under certain conditions".
1633 * doc/automake.texi (Basics of Distribution): Update accordingly.
1634 * tests/autodist-subdir.test: Update.
1635 * tests/autodist-no-duplicate.test: Likewise.
1636 * tests/autodist.test: Likewise.
1637 (configure.in): Remove useless call to AM_MAINTAINER_MODE.
1639 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1641 refactor: split 'usage' subroutine in automake
1642 This change is related to automake bug#7819.
1643 * automake.in (print_autodist_files): New subroutine,
1645 (usage): ... this, which now uses it.
1646 * tests/autodist-no-duplicate.test: New test.
1647 * tests/Makefile.am (TESTS): Update.
1649 2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com>
1651 tests: fix bug in 'autodist.test'
1652 * tests/autodist.test: Avoid spurious failure due to no
1653 `defs-static' file being found in the parent directory.
1655 2011-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
1657 maintcheck: extend 'sc_tests_plain_*' checks
1658 * Makefile.am (sc_tests_plain_autom4te): New check.
1659 (sc_tests_plain_autoreconf): Likewise.
1660 (sc_tests_plain_autoheader): Likewise.
1661 (syntax_check_rules): Update.
1663 2011-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
1665 maintcheck: avoid few spurious failures
1666 * Makefile.am (sc_tests_plain_aclocal, sc_tests_plain_perl,
1667 sc_tests_plain_autoconf, sc_tests_plain_automake,
1668 sc_tests_plain_autoupate): Be stricter in matching an erroneous
1669 literal command, i.e., `aclocal', `automake', `perl', etc.
1671 2011-06-20 Bert Wesarg <bert.wesarg@googlemail.com> (tiny change)
1673 check: don't use multi-line coloring for the report
1674 "less -R" can't handle multi-line coloring as it is done for the
1675 check reports of the serial and parallel testsuite, because of
1676 performance reasons. Thus, color each line of the check report
1678 * lib/am/check.am (am__text_box): Accept colors for lines, and
1679 color each line by its own.
1680 [%?PARALLEL_TESTS%] $(TEST_SUITE_LOG): Let am__text_box handle
1682 [!%?PARALLEL_TESTS%] $(check-TESTS): Color each report line by
1686 2011-06-18 Stefano Lattarini <stefano.lattarini@gmail.com>
1688 docs: AM_DISTCHECK_CONFIGURE_FLAGS is for corner cases
1689 * doc/automake.texi (Checking the Distribution): Explain that the
1690 developers should take care of making their code buildable without
1691 requiring any special configure options, so that in general
1692 AM_DISTCHECK_CONFIGURE_FLAGS shouldn't be used. Give an example
1693 of where its use is legitimate.
1694 Suggestions from Ralf Wildenhues and Eric Blake.
1696 2011-06-14 Stefano Lattarini <stefano.lattarini@gmail.com>
1698 ansi2knr: deprecate, it will go away in the next major release
1699 * doc/automake.texi: Loudly and repeatedly state that the old
1700 de-ANSI-fication features are now deprecated and will be removed
1701 in the next major Automake release. Other related adjustments.
1702 * lib/Automake/Options.pm (_process_option_list ): Give a warning
1703 in the `obsolete' category when the `ansi2knr' option is used.
1704 * m4/protos.m4 (AM_C_PROTOTYPES): Deprecate this macro: a warning
1705 in the `obsolete' category will be emitted it if is used.
1706 * tests/ansi2knr-deprecation.test: New test.
1707 * tests/Makefile.am (TESTS): Update.
1708 * tests/ansi.test: Adjust, by calling autoconf and/or automake
1709 with the `-Wno-obsolete' flag.
1710 * tests/ansi10.test: Likewise.
1711 * tests/ansi2.test: Likewise.
1712 * tests/ansi3.test: Likewise.
1713 * tests/ansi3b.test: Likewise.
1714 * tests/ansi4.test: Likewise.
1715 * tests/ansi5.test: Likewise.
1716 * tests/ansi6.test: Likewise.
1717 * tests/ansi7.test: Likewise.
1718 * tests/ansi8.test: Likewise.
1719 * tests/ansi9.test: Likewise.
1720 * tests/cxxansi.test: Likewise.
1721 * tests/libobj8.test: Likewise.
1722 * NEWS: Update about the future planned backward-incompatibility
1723 due to the removal of de-ANSI-fication feature.
1725 2011-06-19 Stefano Lattarini <stefano.lattarini@gmail.com>
1727 docs: primary/prefix combination "pkglib_PROGRAMS" is now invalid
1728 * doc/automake.texi (Program Sources): pkglib_PROGRAMS is not a
1729 valid combination anymore, so don't document it. Inconsistency
1730 introduced in commit `v1.11-373-g9ca6326'.
1732 2011-06-19 Jim Meyering <meyering@redhat.com>
1734 docs: replace obsolete @vindex entry with a useful one
1735 * doc/automake.texi (Program Sources): Do not index obsolete
1736 pkglib_PROGRAMS here. Do index pkglibexec_PROGRAMS.
1738 2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
1740 tests: optimize tests on primary/prefix mismatch for speed
1741 * tests/primary-prefix-invalid-couples.test: Partial rewrite, in
1742 order to use just a single automake invocation rather than one
1743 invocation for each invalid primary/prefix couple. This improves
1744 the test script execution time by an order of magnitude.
1745 Since we are at it, throw in some other improvements to avoid
1746 unrelated automake warnings and failures that could potentially
1747 cause false positives w.r.t. the automake exit status.
1749 2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
1751 news: update w.r.t. introduction of AM_DISTCHECK_CONFIGURE_FLAGS
1752 * NEWS (Miscellaneous changes): Update.
1754 2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com>
1756 maintcheck: DISTCHECK_CONFIGURE_FLAGS can be defined on make cmdline
1757 * Makefile.am (sc_tests_overriding_macros_on_cmdline): It's now
1758 acceptable that the test scripts override DISTCHECK_CONFIGURE_FLAGS
1759 on the make command line. Update comments accordingly. Since we
1760 are at it, make the relevant grepping rules slightly tighter.
1762 2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com>
1764 distcheck: add support for AM_DISTCHECK_CONFIGURE_FLAGS
1765 * doc/automake.texi (Checking the Distribution): Suggest to use
1766 AM_DISTCHECK_CONFIGURE_FLAGS, not DISTCHECK_CONFIGURE_FLAGS, to
1767 define (in the top-level Makefile.am) extra flags to be passed
1768 to configure at "make distcheck" time; DISTCHECK_CONFIGURE_FLAGS
1769 should be reserved for the user. Add proper `@vindex' directive.
1770 Document that AM_DISTCHECK_CONFIGURE_FLAGS is not honoured in a
1771 subpackage Makefile.am, but the flags in it are passed down to
1772 the configure script of the subpackage.
1773 * lib/am/distdir.am (distcheck): Also pass the flags in
1774 $(AM_DISTCHECK_CONFIGURE_FLAGS) to the configure invocation.
1776 * tests/defs.in.test (AM_DISTCHECK_CONFIGURE_FLAGS,
1777 DISTCHECK_CONFIGURE_FLAGS): Unset in case they are exported in
1778 the environment, they might improperly influence our testsuite.
1779 * tests/distcheck-configure-flags.test: New test.
1780 * tests/distcheck-configure-flags-am.test: Likewise.
1781 * tests/distcheck-configure-flags-subpkg.test: Likewise.
1782 * distcheck-hook.test: Likewise.
1783 * distcheck-hook2.test: Likewise.
1784 * tests/Makefile.am (TESTS): Update.
1785 Closes automake bug#8784.
1787 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
1789 docs: better documentation for silent make rules
1790 * doc/automake.texi (Options): Detailed description of the
1791 automake option `silent-rules' moved from here ...
1792 (Silent Make): ... into this new chapter, expanded, improved,
1793 and subdivided into ...
1794 (Make verbosity, Tricks For Silencing Make,
1795 Automake silent-rules Option): ... these new sections.
1796 (@menu, @detailmenu): Update.
1797 * tests/silent-configsite.test: New test, checking that the
1798 user can control default mode of silent-rules from config.site,
1799 as is documented in the manual.
1800 * tests/Makefile.am (TESTS): Updated.
1802 2011-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
1804 Warnings about primary/prefix mismatch fixed and extended.
1805 * automake.in (%standard_prefix): Add `doc' and `locale'.
1806 Rename `pkgdatadir' to `pkgdata'. Similarly for`pkglibdir',
1807 `pkgincludedir' and `pkglibexecdir'.
1808 (handle_programs): List `pkglibexec', not `pkglib', among the
1809 prefixes valid for the `PROGRAMS' primary.
1810 (handle_data): List also `doc' among the prefixes valid for
1811 the `DATA' primary. This is required by automake's own build
1813 * tests/dirforbid.test: Test removed, superseded by ...
1814 * tests/primary-prefix-invalid-couples.test: ... this new test.
1815 * tests/primary-prefix-valid-couples.test: New test.
1816 * tests/primary-prefix-couples-documented-valid.test: Likewise.
1817 * tests/primary-prefix-couples-force-valid.test: Likewise.
1818 * tests/java3.test: Adjusted, and extended a bit.
1819 * tests/Makefile.am (TESTS): Updated.
1821 From a report by Eric Blake.
1823 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1825 test defs: new function 'fatal_', for hard errors
1826 Before this patch, the only way offered by tests/defs to
1827 properly signal a hard error was the `framework_failure_'
1828 function. But the error message issued by that function,
1829 as its name would suggest, refers to a set-up failure in the
1830 testsuite, while hard errors can obviously also be due to
1831 other reasons. The best way to fix this inconsistency is to
1832 introduce a new function with a more general error message.
1833 Inspired by a recent similar change to Gnulib's tests/init.sh.
1834 * tests/defs.in (fatal_): New function.
1835 * tests/README (Section "Writing test cases" subsection "Do"):
1836 Suggest the use of `fatal_', not of `framework_failure_', for
1837 generic hard errors. The latter should be reserved for "real"
1840 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1842 py-compile: '--' and non-option arguments terminate the option list
1843 * lib/py-compile: Any non-option argument, or the special `--'
1844 argument, now explicitly terminates the list of options.
1845 * tests/py-compile-option-terminate.test: New test.
1846 * tests/Makefile.am (TESTS): Update.
1849 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1851 py-compile: complain on unrecognized options
1852 * lib/py-compile: Complain on unrecognized options. Don't be too
1853 lax in matching `--help' and `--version' options.
1854 * tests/py-compile-usage.test: Extend accordingly.
1857 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1859 py-compile: normalize error and help messages
1860 * lib/py-compile: Now error messages do not begin with a capital
1861 letter, nor end with a period, as per GNU standards. Prepend the
1862 error messages with the name of the script, not with its path.
1863 When an invalid usage is recognized, always display the customary
1864 message "Try `py-compile --help' ..." on a line of its own.
1865 ($me): New variable, containing the name of the
1866 program, i.e., `py-compile'. Use it throughout.
1867 (usage_error): New function, used to display error messages about
1869 * tests/py-compile-usage.test: Extend and tighten accordingly.
1871 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1873 python tests: add "unit tests" on py-compile
1874 * tests/py-compile-basic.test: New test.
1875 * tests/py-compile-basic2.test: New test.
1876 * tests/py-compile-basedir.test: Likewise.
1877 * tests/py-compile-destdir.test: Likewise.
1878 * tests/py-compile-env.test: Likewise.
1879 * tests/py-compile-usage.test: Likewise.
1880 * tests/Makefile.am (TESTS): Update.
1881 Tested with python 2.0.1, 2.4.6, 2.6.6, 2.7.1, and 3.1.3.
1883 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1885 py-compile: the '--destdir' option now accepts a blank argument
1886 * lib/py-compile (Option parsing): Do not count an empty argument
1887 to `--destdir' or `--basedir' as a missing argument.
1888 * lib/python.am: Simplify accordingly, passing the `--destdir'
1889 option to py-compile unconditionally, even if `$(DESTDIR)' is
1893 2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
1895 python: run the 'py-compile' script with $(SHELL)
1896 * lib/python.am (install-%DIR%PYTHON): Run each instance of
1897 py-compile using $(SHELL). Since we are at it, break overly
1899 (am__py_compile): New variable, to reduce code duplication.
1901 2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com>
1903 maintcheck: fix some failures, extend some checks
1904 * Makefile.am (sc_diff_automake_in_automake): Update, as we
1905 now expect 9 lines, not 8, to be changed from `automake.in'
1907 (sc_diff_aclocal_in_aclocal): New maintainer check, similar to
1908 the above, and checking that only 10 lines are changed from
1909 `aclocal.in' to `aclocal'.
1910 (syntax_check_rules): Update.
1911 (sc_tests_Exit_not_exit): Exempt self tests `self-check-*.test'
1912 from this check, as they can legitimately use the bare `exit'
1913 builtin in various places.
1914 * doc/automake.texi (Python): Remove stray `@' from the end of
1915 a line. Typo introduced in commit `v1.11-312-g5bf7af6'.
1916 * tests/depcomp8a.test: Pass DISTCHECK_CONFIGURE_FLAGS to make
1917 from the environment rather than from the command line, to
1918 pacify the `sc_tests_overriding_macros_on_cmdline' maintainer
1920 * tests/depcomp8b.test: Likewise.
1922 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
1924 remake: behave better with non-GNU make in subdirectories
1925 Currently, with every decent make program, it is possible to
1926 rebuild out-of-date autotools-generated files with a simple
1927 "make Makefile" -- but for this to work reliably with non-GNU
1928 make implementations, the command must be issued from the
1929 top-level directory. This patch removes such limitation.
1930 * lib/am/configure.am (am--refresh): Depend on `%MAKEFILE%'.
1931 * tests/defs.in (using_gmake): New function, backported from the
1932 `master' branch (and simplified).
1933 * tests/remake-subdir.test: New test.
1934 * tests/remake-subdir2.test: Likewise.
1935 * tests/remake-subdir-gnu.test: Likewise.
1936 * tests/remake-subdir-from-subdir.test: Likewise.
1937 * tests/Makefile.am (TESTS): Update.
1939 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
1941 automake, aclocal: honour configure-time AUTOCONF and AUTOM4TE
1942 Currently, the Automake's own configure script allow definition
1943 of AUTOCONF and AUTOM4TE, expected to point respectively to an
1944 autoconf and autom4te programs. But while these definitions are
1945 honoured in the Automake's build systems and test suite, they
1946 were *not* honoured in the generated `automake' and `aclocal'
1947 scripts. This behaviour, apart from being wrong in that it does
1948 not allow the user enough freedom in choosing his tools, also
1949 caused inconsistencies in the test suite, brining to spurious
1951 Problem reported by Graham Reitz on the automake list; see thread:
1952 <http://lists.gnu.org/archive/html/automake/2011-05/msg00022.html>
1953 * automake.in ($traces): Use `@am_AUTOCONF', not simply `autoconf'.
1954 * aclocal.in ($traces): Use `@am_AUTOM4TE', not simply `autom4te'.
1955 * Makefile.am (do_subst): Substitute also `@am_AUTOCONF' and
1960 2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com>
1962 build: the user can override AUTOM4TE, AUTORECONF and AUTOUPDATE too
1963 Our build system allows the user to override AUTOCONF and AUTOHEADER
1964 at configure time, and honours these overrides in our testsuite.
1965 But it didn't do the same with AUTOM4TE, AUTORECONF and AUTOUPDATE.
1966 This change fixes that inconsistency.
1967 * configure.ac (am_AUTOM4TE, am_AUTOUPDATE, am_AUTORECONF): New
1968 AC_SUBSTitutions. Update comments.
1969 * tests/defs.in ($AUTOUPDATE): Default to `@am_AUTOUPDATE@' now.
1970 ($AUTOM4TE): New variable, defaulting to `@am_AUTOM4TE@'.
1971 ($AUTORECONF): New variable, defaulting to `@am_AUTORECONF@'.
1972 * doc/Makefile.am ($(srcdir)/amhello-1.0.tar.gz): Update.
1974 2011-05-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1975 Stefano Lattarini <stefano.lattarini@gmail.com>
1977 tests/README: fix example about `make -e' usage
1978 * tests/README (Section "Writing test cases" subsection "Do"): When
1979 some variable is never initialized in the Makefile, `-e' is not
1980 necessary in order to override it. DESTDIR is such a variable: we
1981 ensure that we do not ever initialize it. And as such, it is quite
1983 $ make DESTDIR=/foo/bar install
1984 and in fact, quite widely used.
1985 So our example about when `make -e' is required, which references
1986 the `DESTDIR' variable, is poorly chosen, if not downright wrong.
1987 Rewrite it to use `prefix' as the overridden variable instead.
1989 2011-05-22 Stefano Lattarini <stefano.lattarini@gmail.com>
1991 parallel-tests: stricter checks on DISABLE_HARD_ERRORS support
1992 * tests/parallel-tests-harderror.test: New test, doing more
1993 in-depth checks on DISABLE_HARD_ERRORS.
1994 * tests/parallel-tests.test: Remove tests on DISABLE_HARD_ERRORS,
1996 * tests/Makefile.am (TESTS): Update.
1998 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2000 testsuite: avoid re-running few tests with 'parallel-tests' option
2001 Some tests in our testsuite use the 'simple-tests' driver only
2002 marginally, or simply as a mean to conveniently check unrelated
2003 invariants. It makes little sense to force these tests to also
2004 run with the 'parallel-tests' Automake option active, as doing so
2005 offers no real gain in coverage, while often causing a measurable
2006 overhead in execution time (for an already too-slow testsuite).
2007 * tests/pr401.test (parallel_tests): Define to "no", to prevent
2008 the generation of a sibling test script using the 'parallel-tests'
2010 * tests/pr401b.test: Likewise.
2011 * tests/pr401c.test: Likewise.
2013 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2015 testsuite: allow tests to avoid the use of 'parallel-tests' option
2016 * tests/gen-parallel-tests: Do not generate "siblings" for tests
2017 that explicitly define the `parallel_tests', whether to "yes" or
2018 to any other value. Extend heading comments to give a rationale
2020 * tests/README: Update.
2022 2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2024 tests/README: update obsoleted advice
2025 * tests/README (Section "Writing test cases" subsection "Do"):
2026 Do not suggest to use the `*-p.test' pattern for the names of
2027 hand-written tests which use the `parallel-tests' Automake option.
2028 Not only is this not respected by the existing tests, but it is
2029 more likely to cause conflicts with auto-generated tests.
2030 So, suggest to *avoid* using the `*-p.test' pattern in names
2031 of hand-written tests instead.
2032 (Section "Writing test cases" subsection "Do not"): When
2033 suggesting not to override Makefile variables using command
2034 line arguments, do not use the badly outdated variables `U'
2035 and 'ANSI2KNR' in the example; instead, use the more common
2036 and typical `DESTDIR'.
2038 2011-05-19 Stefano Lattarini <stefano.lattarini@gmail.com>
2040 test defs: rename requirement 'non-cross' -> 'native'
2041 * tests/defs.in (non-cross): Rename requirement ...
2042 (native): ... to this, which is clearer and fits the
2043 existing lingo better.
2044 Suggestion by Ralf Wildenhues.
2046 2011-05-15 Stefano Lattarini <stefano.lattarini@gmail.com>
2048 testsuite: be more cross-compile friendly
2049 * tests/defs.in (cross_compiling): New subroutine.
2050 (am__tool_prefix): New internal variable.
2051 (gcc, g++, gcj): Force the use of the correct "tool prefix"
2052 when cross compiling.
2053 (gfortran, g77, non-cross): New requirements.
2055 2011-05-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2057 check: document and test $(TEST_SUITE_LOG) overriding
2058 * doc/automake.texi (Simple Tests using parallel-tests): Explain
2059 how and why TEST_SUITE_LOG can be overridden at runtime.
2060 * tests/parallel-tests-log-override-1.test: New test, check that
2061 the newly documented idiom and similar usages are truly supported.
2062 * tests/parallel-tests-log-override-2.test: Likewise.
2063 * tests/parallel-tests-log-override-recheck.test: Likewise.
2064 * tests/Makefile.am (TESTS): Update.
2066 2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com>
2068 tests: fix spurious failure of txinfo21.test on FreeBSD
2069 * tests/txinfo21.test: Use the `is_newest' subroutine instead of
2070 the `ls -t' hack to to determine whether a file has been updated.
2071 This is required because at least FreeBSD `ls' do not sort files
2072 with the same timestamp in alphabetical order when using the `-t'
2075 2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2077 tests defs: allow requirements for compilers (mostly dummy)
2078 Most of the new requirements that are now accepted in `$required'
2079 as consequence of this patch are still dummy. They are planned
2080 to be implemented only in master (or in some derived branch), but
2081 having them here (even just as no-op) will allow for an easier
2082 integration/backporting of potential new testcases.
2083 * tests/defs.in (cc, c++, fortran, fortran77): New requirements,
2085 (flex): New requirement, picking LEX for configure.
2086 (lex): New requirement, alias for `flex'. A more appropriate
2087 implementation, looking for a generic `lex' program, will follow
2089 (yacc): New requirement, alias for `bison'. A more appropriate
2090 implementation, looking for a generic `yacc' program, will follow
2093 2011-04-24 Stefano Lattarini <stefano.lattarini@gmail.com>
2095 tests: fix spurious failure in a test on TESTS (VPATH-related)
2096 * tests/check-tests-in-builddir.test: When not using the
2097 parallel-tests option, do not check that VPATH components are
2098 not present in the displayed test name, since the simple-tests
2099 driver do not try to strip them.
2101 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2103 test: self check subroutines for skipping/failing of tests
2104 * tests/self-check-report.test: New test.
2105 * tests/Makefile.am (TESTS): Update.
2107 2011-04-23 Jim Meyering <meyering@redhat.com>
2108 Stefano Lattarini <stefano.lattarini@gmail.com>
2110 test defs: new subroutines for test skipping/failing
2111 * tests/defs.in (Exit): Move definition of this function earlier.
2112 (warn_, skip_, fail_, framework_failure_): New functions, inspired
2113 to the homonyms in gnulib's tests/init.sh.
2114 ($stderr_fileno_): New global variable, used by the new functions
2116 * tests/README: Updated.
2117 From a suggestion by Ralf Wildenhues.
2119 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2121 tests: fix typo (copy & paste blunder) in heading comment
2122 * tests/maintclean-vpath.test: Correctly refer to the sister test
2123 as `maintclean.test', not as `maintclean-vpath.test'.
2125 2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2127 tests: remove redundant test `mclean.test'
2128 * tests/mclean.test: Remove, it's a weak grepping test completely
2129 superseded by the much more complete `maintclean.test'.
2130 * tests/Makefile.am (TESTS): Update.
2132 2011-04-22 Stefano Lattarini <stefano.lattarini@gmail.com>
2134 testsuite: more environment sanitization
2135 * tests/defs.in: Sanity check: abort if any of `parallel_tests'
2136 or `required' is in the environment.
2137 ($sed_unindent_prog): Initialize to empty, to avoid interferences
2138 from the environment.
2139 * tests/self-check-me-in-env.test: Renamed to ...
2140 * tests/self-check-env-sanitize.test: ... this, and extended.
2141 * tests/Makefile.am (TESTS): Update.
2142 (TESTS_ENVIRONMENT): Unset variables `parallel_tests' and
2143 `required'. Adjust comments.
2145 2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com>
2147 tests: don't allow `$me' to be overridden from the environment
2148 * tests/defs.in: Sanity check: abort if $me is in the environment.
2149 * tests/self-check-me-in-env.test: New test.
2150 * tests/Makefile.am (TESTS_ENVIRONMENT): Unset variable `me'.
2152 Suggestion by Ralf Wildenhues.
2154 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2156 test defs: allow overriding of `$me'
2157 * tests/defs.in ($me): Allow overriding by the including test
2158 script. Add some explicative comments.
2160 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2162 depcomp tests: don't reject slower dependency extractors
2163 * tests/depcomp8b.test: Add the `--enable-dependency-tracking'
2164 option to `configure' invocations, so that slower dependency
2165 extractors are not rejected.
2166 * tests/depcomp8a.test: Likewise. Also ...
2167 (foo.c): ... since we are at it, fix spacing to be consistent
2168 with GNU coding standards.
2170 2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2172 m4: add missing serial numbers to a few files
2173 Related to automake bug#8483.
2174 * m4/amversion.in: Add serial number.
2175 * m4/auxdir.m4: Likewise.
2176 * m4/gcj.m4: Likewise.
2177 * m4/install-sh.m4: Likewise.
2178 * m4/mkdirp.m4: Likewise.
2179 * m4/python.m4: Likewise.
2180 * m4/runlog.m4: Likewise.
2181 * m4/strip.m4: Likewise.
2182 * m4/upc.m4: Likewise.
2184 2011-04-16 Jim Meyering <meyering@redhat.com>
2186 depcomp: correct invalid sed invocation
2187 * lib/depcomp: Insert missing -e before '/:$/d'.
2188 Otherwise, that use of sed would treat '/:$/d' as a file name.
2190 2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
2192 maintainer check: quote literal `$' in Makefile rule
2193 * Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$'
2194 character in double-quoted string. Fix a bug in which the rule
2195 emitted an erroneously empty substring in its error message.
2197 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2199 coverage: test for automake bug#8485 (known regression)
2200 * tests/yacc-dist-nobuild-subdir.test: New test.
2201 * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
2203 2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2205 test defs: define default $distdir (help reducing duplication)
2206 * tests/defs.in ($distdir): New variable, might be used in
2207 testcases checking distribution-related features.
2208 * tests/pr9.test: Use it.
2209 * tests/subdir9.test: Likewise.
2210 * tests/vtexi3.test: Add comment explaining why we redefine
2211 $distdir in this test.
2213 2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2215 depcomp: fix bugs in tests and in the depcomp script
2216 * lib/depcomp (gcc): Remove duplicated `-e' from sed invocation.
2217 * tests/depcomp10.test: Make it executable. Fix a blunder that
2218 has left part of an intended comment not prefixed by `#', thus
2219 causing shell syntax errors. In this same comment, break a
2220 too-long reported error message on multiple lines, for clarity.
2221 Add reference to the relevant bug report. Add a comment which
2222 explains why the test result 'skipped' if the first "make" call
2223 fails. Add other useful comments.
2224 * tests/depcomp9.test: Slightly improve comments.
2226 2011-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2228 Fix hp depmode for VPATH builds with GNU make.
2229 * lib/depcomp: Be sure to remove VPATH-prefixed object from
2230 dependency output when creating stub rule.
2231 * tests/depcomp10.test: New test.
2232 * tests/Makefile.am (TESTS): Update.
2234 Report by Bruno Haible.
2236 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
2238 test defs: fix 'javac' requirement for older JDK versions
2239 The Java compiler from JDK 1.5 (and presumably earlier versions)
2240 cannot handle the `-version' option by itself; and while it does
2241 print the version number, it then errors out with an usage error:
2244 javac: no source files
2245 Usage: javac <options> <source files>
2247 Luckily, adding the `-help' option to the `javac' invocation
2248 seems to fix this problem.
2249 * tests/defs.in (javac): Pass also the `-help' option to the
2250 `javac' program. Add a comment explaining why it is needed.
2251 Report from Ralf Wildenhues.
2253 2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com>
2255 test defs: new requirement for the default java compiler
2256 * tests/defs.in (for tool in $required): New requirement 'javac'.
2257 * tests/java.test: Use it instead of ad-hoc configure check.
2258 * tests/java-check.test: Likewise.
2259 * tests/instfail-java.test: Likewise.
2260 * tests/instdir-java.test: Likewise.
2262 2011-04-09 Stefano Lattarini <stefano.lattarini@gmail.com>
2264 java: check_JAVA does not cause compilation by "make all" anymore
2265 Fixes automake bug#8234.
2266 * automake.in (handle_java): Make stamp of class files built from
2267 java sources in $(check_JAVA) a dependency of `check' target, not
2269 * tests/java-check.test: New test.
2270 * tests/Makefile.am (TESTS): Update.
2273 Report from Petteri Räty.
2275 2011-04-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2277 Clarify regex code in depcomp.
2278 * lib/depcomp: Add comment why we don't need regex-escaping here.
2279 Suggested by Stefano Lattarini.
2281 2011-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2283 Fix makedepend depmode for VPATH builds.
2284 * lib/depcomp [makedepend]: Remove any VPATH prefix from the
2285 object file name, so a rebuild doesn't attempt to update the
2286 .Po files in the source tree.
2287 * tests/depcomp9.test: New test.
2288 * tests/Makefile.am (TESTS): Update.
2291 2011-04-02 Stefano Lattarini <stefano.lattarini@gmail.com>
2293 tests: fix timestamp-related failures
2294 Fixes automake bug#8365.
2295 * tests/aclocal6.test: Sleep before modifying m4 files that should
2296 trigger remake rules. Remove incorrect/obsoleted comments.
2297 * tests/subdir5.test: Likewise, and extend a bit.
2298 * tests/subdir8.test: Likewise.
2299 * tests/pr8365-remake-timing.test: New xfailing test.
2300 * tests/Makefile.am (TESTS): Update.
2301 Report from Sam Steingold.
2303 2011-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2305 Create subdirs for generated sources even when not dep tracking.
2306 * automake.in (handle_single_transform): If $object is derived
2307 and lands in subdir, be sure to output a dirstamp dependency.
2308 * tests/yacc5.test: Avoid falsely matching the dirstamp
2309 dependency when grepping for a rule.
2310 * tests/lex-subobj-nodep.test: New test.
2311 * tests/Makefile.am (TESTS): Update.
2313 Report by Ignacy Gawedzki.
2315 Fix locale issue in check-exported-srcdir.test.
2316 * tests/check-exported-srcdir.test: Reformulate glob to not fail
2317 in a locale that ignores or interleaves character case.
2319 2011-04-01 Stefano Lattarini <stefano.lattarini@gmail.com>
2321 docs: better visibility for aclocal in the index
2322 * doc/automake.texi (@menu): Rename title for entry 'configure'
2323 from "Scanning configure.ac or configure.in" to the more precise
2324 "Scanning configure.ac, using aclocal".
2325 (@detailmenu): Adjust.
2326 (@node configure): Adjust, and extend @cindex calls accordingly.
2328 From a report by Maynard Johnson.
2330 2011-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
2332 tests: improve tests on "maintainer-clean" target
2333 * tests/aclocal6.test: Move checks related to "maintainer-clean"
2334 functionalities into ...
2335 * tests/maintclean-vpath.test: ... this new test.
2336 * tests/maintclean.test: Update heading comments. Extend to also
2337 test subdirs. Remove useless disabling of YACC. Fix m4 quoting
2338 in configure.in. Add a trailing `:' command. Remove extra blank
2340 * tests/Makefile.am (TESTS): Update.
2342 2011-03-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2344 tests: fix unindent to use printf not echo for script.
2345 * tests/defs.in: Use printf rather than echo, as the latter may
2346 interpret the backslashes in the sed script. Fixes test
2347 failures with dash as /bin/sh.
2349 2011-03-17 Stefano Lattarini <stefano.lattarini@gmail.com>
2350 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2352 maintcheck: look for problematic names of testcases
2353 The configure.in stub created by default by `tests/defs' obtains
2354 the first argument of AC_INIT from the test name, and this can
2355 cause some supported autoconf versions to fail with a spurious
2356 error if that test name contains the name of an m4 or m4sugar
2357 builtin or macro (e.g., `defn' or `m4_undefine').
2358 See for example the bug fixed by commit v1.11-287-g1325a8a.
2359 This change add a maintainer check that warns about test names
2360 which are possibly problematic in this regard.
2361 * Makefile.am (sc_test_names): New maintainer-check target.
2362 (syntax_check_rules): Add it.
2363 (m4_builtins): New helper variable.
2364 (TESTS): Updated according to the following renamings.
2365 * tests/include.test: Renamed ...
2366 * tests/hdr-vars-defined-once.test: ... to this.
2367 * tests/sinclude.test: Renamed ...
2368 * tests/m4-inclusion.test: ... to this, and simplified
2370 * tests/include2.test: Renamed ...
2371 * tests/dist-included-parent-dir.test: ... to this, for
2374 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2376 tests: fix bug in alloca*.test
2377 * tests/alloca.test: Make grepping of automake stderr stricter,
2378 add a trailing `:' command; also, add AC_PROG_CC to configure.in,
2379 and create a dummy alloca.c file, to ensure that we fail for the
2381 * tests/alloca2.test: Likewise. Also, look for LT_INIT, not
2382 AC_PROG_LIBTOOL, in the error message (bug introduced with commit
2383 v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
2385 From a report by Patrick Welche.
2387 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2389 tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
2390 * tests/comments-in-var-defn.test: The configure.in stub created
2391 by default, which has the AC_INIT first argument obtained by the
2392 test name, causes autoconf 2.62 to fail with a spurious error
2393 message like: "configure.in:1: error: defn: undefined macro:".
2394 Thus, to prevent this, the test is renamed to ...
2395 * tests/comments-in-var-def.test: ... this.
2396 * tests/Makefile.am (TESTS): Updated.
2398 2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
2400 cosmetics: convert encoding from ISO-8859 to UTF-8
2401 * ChangeLog.03: Convert encoding to UTF-8.
2402 * ChangeLog.96: Likewise.
2403 * ChangeLog.98: Likewise.
2407 2011-03-01 Peter Rosin <peda@lysator.liu.se>
2409 test defs: unindent without temporary file
2410 * tests/defs.in (commented_sed_unindent_prog): Commented Sed program
2411 that strips the "proper" amount of leading whitespace.
2412 (unindent): Lazily strip comments from the above program and use it
2413 to unindent without using a temporary file.
2415 2011-02-26 Stefano Lattarini <stefano.lattarini@gmail.com>
2417 libtool: suggest LT_INIT if LTLIBRARIES primary is used
2418 When the LTLIBRARIES primary was used, but $(LIBTOOL) wasn't
2419 defined, automake suggested to add a call to AC_PROG_LIBTOOL
2420 in configure.ac. But that macro is deprecated since Libtool
2421 version 1.9b (2004-08-29), in favor of the newer LT_INIT. So
2422 suggest the use of this latter macro instead.
2423 * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL'
2424 with 'LT_INIT', not with 'AC_PROG_LIBTOOL'.
2425 * tests/libtool4.test: Adjust and extend. Also, add a call to
2426 macro AC_PROG_CC in configure.in, to help ensuring that automake
2427 does not fail for the wrong reasons.
2428 * tests/ltinit.test: New test, ensure that automake's libtool
2429 support works with LT_INIT-based interface.
2430 Thanks to Jack Kelly for the suggestion.
2432 2011-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
2434 tests: tempdirs with restrictive permissions are cleaned correctly
2435 Before this change, the removal of a temporary test directory
2436 containing subdirectories with restrictive permissions (such as
2437 'r--r--r--') could fail.
2438 * tests/defs: Ensure that all the subdirectories of a temporary
2439 test directory have the 'read', 'write' and 'execute' bits set,
2440 before trying to remove it with `rm -rf'.
2441 * tests/Makefile.am (clean-local-check): Likewise.
2443 2011-02-16 Stefano Lattarini <stefano.lattarini@gmail.com>
2444 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2446 test defs: add subroutine for input unindenting
2447 * tests/defs.in (unindent): New subroutine.
2449 2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com>
2451 python: report the 'PYTHON' influential environment variable
2452 * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
2453 * doc/automake.texi (Python): Update and extend.
2454 * tests/help-python.test: New test.
2455 * tests/Makefile.am (TESTS): Update.
2456 * THANKS (Jack Kelly): Update e-mail address.
2457 Suggestion by Jack Kelly.
2459 2011-02-10 Stefano Lattarini <stefano.lattarini@gmail.com>
2461 tests defs: clear TESTS_ENVIRONMENT variable
2462 * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
2463 from environment won't interfere with the testcases.
2464 Suggestion by Ralf Wildenhues.
2466 2011-02-06 Stefano Lattarini <stefano.lattarini@gmail.com>
2468 tests: tweak few tests on simple and parallel test drivers
2469 * tests/check-exported-srcdir.test: Improve heading comments.
2470 * tests/check-tests-in-builddir.test: Likewise. Also, unset the
2471 `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
2472 environment won't risk to interfere with the test.
2473 Suggestions by Ralf Wildenhues.
2475 2011-02-01 Stefano Lattarini <stefano.lattarini@gmail.com>
2477 coverage: more tests on simple and parallel test drivers
2478 * tests/parallel-tests-subdir.test: New test.
2479 * tests/check-exported-srcdir.test: Likewise.
2480 * tests/check-tests-in-builddir.test: Likewise.
2481 * tests/check-tests_environment.test: Likewise.
2482 * tests/Makefile.am (TESTS): Update.
2484 2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
2486 tests: fix spurious failures in lflags*.test
2487 * tests/lflags.test: Remove 'LEX' from the environment, so
2488 that it won't be erroneously picked up by `make -e'.
2489 * tests/lflags2.test: Likewise.
2491 2011-01-24 Stefano Lattarini <stefano.lattarini@gmail.com>
2493 docs: color-tests issues with parallel make
2494 * doc/automake.texi (Simple Tests): Document that automatic
2495 recognition of a capable terminal attached to stdout can fail
2496 with some make implementation when running in parallel mode,
2497 thus causing colored test output not to be automatically
2498 activated when it should.
2500 2011-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2502 tests: avoid instspc.test failures due to make's whitespace trimming
2503 * tests/instspc.test: Prepend './' when passing the test
2504 characters, to avoid leading whitespace characters to be trimmed
2505 from macros set from environment variables. Fixes testsuite
2506 failures with HP-UX, IRIX, and Tru64/OSF make.
2508 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2510 coverage: test semantics of "dummy" per-target flags
2511 * tests/specflg-dummy.test: New test, ensuring that even "dummy"
2512 per-target flags triggers the use of renamed objects.
2513 * tests/Makefile.am (TESTS): Update.
2514 Suggestion by Ralf Wildenhues.
2516 2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com>
2518 tests defs: sanitize IFS
2519 * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
2520 ($sp): New variable, holding a single whitespace character.
2521 ($tab): New variable, holding a tabulation character.
2522 ($nl): New variable, holding a newline character.
2524 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2526 tests: fix VPATH auto-expansion workarounds.
2527 * tests/parallel-tests8.test, tests/suffix13.test:
2528 Ensure $< is not surrounded by white space, to prevent Solaris
2529 make from applying automatic VPATH text expansion.
2531 2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com>
2533 tests: fix spurious failures in yflags*.test
2534 * tests/yflags.test: Remove 'YACC' from the environment, so
2535 that it won't be erroneously picked up by `make -e'.
2536 * tests/yflags2.test: Likewise.
2538 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2540 tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
2541 * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
2542 `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
2543 up its internal memory when copying this tree.
2545 2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2546 Stefano Lattarini <stefano.lattarini@gmail.com>
2548 Add comment to check-TESTS rule working around make 3.80 bug.
2549 * lib/am/check.am (check-TESTS): Update comment.
2551 2011-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2553 tests: less strict double-colon spy.test again.
2554 * tests/spy.test: We know BSD make doesn't invoke more than one
2555 double-colon rule, so no need to expose that failure.
2557 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2559 install-sh: avoid Tru64 sh `test' operator precedence issues.
2560 * lib/install-sh: Protect file names and directory components
2561 that consist of `=', `(', `)', or `!'. Move protection as early
2562 as possible, to avoid errors such as with Tru64 sh `test -z ='.
2563 * tests/instsh2.test: Extend test to cover more possibilities.
2564 Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
2566 2011-01-19 Stefano Lattarini <stefano.lattarini@gmail.com>
2567 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2569 docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
2570 * doc/automake.texi (Simple Tests): Do not claim Automake uses
2571 TESTS_ENVIRONMENT for the perl driver. Instead, point to the
2572 parallel-tests driver.
2574 2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2576 Allow _AM_DEPENDENCIES to be used later in configure.
2577 * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
2578 conftest.dir before recreating it.
2580 Report by Eric Blake, from report by Scott McCreary against M4.
2582 2011-01-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2584 tests: avoid failure on w32 file systems.
2585 * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
2586 be turned unreadable.
2588 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2590 tests: allow double-colon spy.test to work with HP-UX make.
2591 * tests/spy.test: Fix comment typos. Ensure prerequisites we
2592 do not want to depend on are strictly older than the target.
2593 Also test with a target out of date wrt. more than one rule.
2595 2011-01-16 Stefano Lattarini <stefano.lattarini@gmail.com>
2597 tests: remove useless requirements from cond36.test
2598 * tests/cond36.test ($required): Remove.
2599 Since we are at it, add a trailing `:' command.
2601 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2602 Stefano Lattarini <stefano.lattarini@gmail.com>
2604 parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
2605 * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
2606 Test file readability before redirecting input from it, to avoid
2607 exiting Tru64/OSF 5.1 sh which treats read as special builtin.
2608 * tests/parallel-tests-unreadable-log.test: New test.
2609 * tests/Makefile.am (TESTS): Update.
2612 2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2614 * NEWS, README: Update copyright years.
2616 Fix parallel-tests.test failure with HP-UX make.
2617 * tests/parallel-tests.test: Sleep inside inner tests, so logs
2618 are newer than logs of tests they depend on, for HP-UX make.
2620 2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2622 docs: ensure example are separated with empty lines in the input
2623 * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
2624 (API Versioning, Renamed Objects, Multiple Outputs): Add empty
2625 lines before `@example' and after `@end example' lines, so info
2626 output is rendered correctly, and a following @noindent honored.
2627 Report by Stefano Lattarini.
2629 2011-01-15 Jim Meyering <meyering@redhat.com>
2631 tests: fix comment typo
2632 * tests/substref.test: Fix grammar in a comment.
2634 2011-01-13 Stefano Lattarini <stefano.lattarini@gmail.com>
2636 tests: fix spurious failures in two texinfo tests
2637 * tests/txinfo.test ($required): Add 'makeinfo'.
2638 * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
2639 that make won't try to run makeinfo (which could be unavailable)
2641 Found by NixOS Hydra, reported by Ralf Wildenhues.
2643 2011-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2645 Avoid testsuite failures due to Autoconf Fortran change.
2646 Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
2647 require computing the canonical host name. Ensure config.guess
2648 and config.sub files are present for respective checks.
2649 * tests/compile_f_c_cxx.test: Add stub files.
2650 * tests/flibs.test: Likewise.
2651 * tests/fort4.test: Use $AUTOMAKE -a for installing files.
2653 2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com>
2655 docs: clustered '-d' not recognized in YFLAGS
2656 This change fixes automake bug#7828.
2657 * doc/automake.texi (Yacc and Lex): Document that automake
2658 recognizes '-d' in AM_YFLAGS only if it's not clustered with
2660 From a report by Юрий Пухальский.
2662 2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com>
2664 tests: add checks on automatically-distributed files
2665 Related to automake bug#7819.
2666 * tests/autodist.test: New test.
2667 * tests/autodist-subdir.test: Likewise.
2668 * tests/autodist-acconfig.test: Likewise.
2669 * tests/autodist-acconfig-no-subdir.test: Likewise.
2670 * tests/autodist-aclocal-m4.test: Likewise.
2671 * tests/autodist-config-headers.test: Likewise.
2672 * tests/autodist-configure-no-subdir.test: Likewise.
2673 * tests/autodist-stamp-vti.test: Likewise.
2674 * tests/Makefile.am (TESTS): Update.
2676 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2678 tests: work around a texi+cygnus bug causing a spurious XFAIL
2679 * tests/txinfo5b.test: New test, like txinfo5.test but calling
2680 automake with the `-Wno-override' option to work around a bug
2681 in the texinfo + cygnus interaction.
2682 * tests/txinfo5.test: Update heading comments.
2683 * tests/Makefile.am (TEST): Updated.
2685 2011-01-09 Dave Hart <davehart@gmail.com> (tiny change)
2687 Fix another typo in Rule.pm comment.
2688 * lib/Automake/Rule.pm: Fix typo.
2690 2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com>
2692 Improve, extend and tweak tests on Texinfo support.
2693 * tests/instdir-texi.test: Add a call to `ls -l' after that to
2694 `make', for debugging. When looking for required tools, do not
2695 redirect the output of "$tool --help" to /dev/null, and do not
2696 uselessly run it in a subshell.
2697 * tests/txinfo.test: Rewritten to run autoconf, ./configure and
2698 make. All checks moved into Makefile.am.
2699 * tests/txinfo8.test: Likewise, and modernize the generated
2701 * tests/txinfo2.test: Moved checks into Makefile.am, and other
2703 * tests/txinfo5.test: Enable `errexit' shell flag, and related
2704 changes. Add trailing `:' command.
2705 * tests/txinfo6.test: Likewise, and make grepping of generated
2706 Makefile.in stricter.
2707 * tests/txinfo7.test: Enable `errexit' shell flag, and related
2708 changes. Add trailing `:' command. Do not add unnecessary stuff
2710 * tests/txinfo9.test: Verify that more targets which are expected
2711 to be generated only once really are. Make grepping less strict,
2712 to avoid exposing too much internal details. More minor changes.
2713 * tests/txinfo16.test: Add trailing `:'. Prefer cat over echo
2714 for appending to configure.in. Updated/fixed heading comments.
2715 * tests/txinfo23.test: Likewise, and extended a little by making
2716 it check that no info file is created in the $(srcdir).
2717 * tests/txinfo24.test: Likewise.
2718 * tests/txinfo25.test: Likewise.
2719 * tests/txinfo18.test: Add trailing `:'. Prefer cat over echo
2720 for appending to configure.in. Also, check that index files are
2721 cleaned also by "make clean", not only by "make distclean".
2722 * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
2723 and added trailing `:' command. This testcase also used to check
2724 that automake ignores in-line comments when using variables, but
2725 preserves them in the output; these checks (added in commit
2726 "Release-1-7f-4-g9177ef8") do not really pertain to this test,
2727 so they have been moved ...
2728 * tests/comments-in-var-defn.test: ... into this new test.
2729 * tests/txinfo4.test: Escape literal dots in grep regexps. Add
2730 trailing `:' command.
2731 * tests/txinfo29.test: Likewise. Relax grepping of generated
2732 Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to
2733 append to configure.in.
2734 * tests/txinfo3.test: Likewise.
2735 * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
2736 make it stricter, sometimes laxer). Move `set -e' setting just
2737 after the inclusion of ./defs. De-uglify a sed command. Other
2738 minor cosmetic improvements.
2739 * tests/vtexi2.test: Make grepping of Makefile.in stricter. Add
2740 trailing `:' command.
2741 * tests/vtexi3.test: New test on version.texi support.
2742 * tests/vtexi4.test: Likewise.
2743 * tests/Makefile.am (TESTS): Updated.
2745 2011-01-09 Peter Rosin <peda@lysator.liu.se>
2747 Fix another typo in Rule.pm comment.
2748 * lib/Automake/Rule.pm: Fix typo.
2750 2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com>
2752 cosmetics: remove trailing whitespaces
2753 * doc/automake.texi: Remove trailing whitespaces.
2754 * tests/cond13.test: Likewise.
2755 * tests/cond14.test: Likewise.
2756 * tests/fort4.test: Likewise.
2757 * tests/fort5.test: Likewise.
2758 * tests/suffix7.test: Likewise.
2759 * tests/vtexi2.test: Likewise.
2761 automake: minor fixes in comments
2762 * automake.in: Some minor fixes and enhancements in comments.
2764 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2766 Add test coverage for deleted header files.
2767 * tests/depcomp6.test, tests/depcomp7.test: Update tests to
2768 also check for the deleted header bug. If no dependency
2769 tracking mechanism could be found, SKIP rather than exit
2770 successfully. Use GNU style spacing and ANSI C prototypes.
2772 Fix typos in Rule.pm comments.
2773 * lib/Automake/Rule.pm: Fix typos in comments.
2775 docs: split 'amhello Explained' node.
2776 * doc/automake.texi (amhello Explained): Split node ...
2777 (amhello's configure.ac Setup Explained)
2778 (amhello's Makefile.am Setup Explained) : ... into these two.
2779 (Top, Hello World): Adjust, and add @anchor for stable URL links.
2780 Suggestion by Karl Berry in automake bug#7766.
2782 2011-01-08 Karl Berry <karl@freefriends.org>
2783 Eric Blake <eblake@redhat.com>
2785 docs: reference defining directories in amhello node.
2786 * doc/automake.texi (amhello Explained): Point to Autoconf
2787 manual for how to convert directory values into macros.
2788 (Optional): Fix grammar nit.
2790 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
2792 * NEWS: Fix typo (forgotten word).
2794 2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com>
2795 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2797 docs: how to work around checks on invalid primary/directory couples
2798 * doc/automake.texi (Uniform): Document the blessed idiom which can
2799 be used to work around automake checks on invalid primary/directory
2800 couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
2802 2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2804 Sync auxiliary files from upstream.
2805 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
2808 Fix maintainer-check regression.
2809 * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
2812 Bump copyright years.
2813 * aclocal.in (write_aclocal, version): Bump copyright years.
2814 * automake.in (gen_copyright, version): Likewise.
2815 * doc/automake.texi: Likewise.
2817 2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2818 Stefano Lattarini <stefano.lattarini@gmail.com>
2820 Work around a bug in file-inclusion mechanism of Solaris make.
2821 * automake.in (handle_single_transform): In the name of the
2822 dependency file: collapse multiple slash characters into a single
2824 * tests/subobj11a.test: New test.
2825 * tests/subobj11b.test: Likewise.
2826 * tests/subobj11c.test: Likewise.
2827 * tests/depcomp8a.test: Likewise.
2828 * tests/depcomp8b.test: Likewise.
2829 * tests/Makefile.am (TESTS): Updated.
2831 Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
2832 patch and tests by Stefano Lattarini.
2834 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
2836 Fix two spurious testsuite failures on IRIX 6.5.
2837 * tests/suffix13.test (Makefile.am): Account for VPATH issues on
2838 weaker make implementations (e.g. IRIX 6.5).
2839 * tests/parallel-tests8.test: Likewise, plus a required related
2841 Reported by Ralf Wildenhues. The bugs have been there from the
2842 first versions of the affected test scripts.
2844 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
2846 docs: cygnus mode doesn't require AM_CYGWIN32 macro.
2847 * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
2848 the AM_CYGWIN32 macro (and indeed hasn't required it since at
2849 least commit Release-1-2-31-g3038064 "merged changes from
2850 Cygnus" of 1997-08-25).
2852 2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com>
2854 distlinksbrk.test: Work around botched "make -k".
2855 * tests/distlinksbrk.test: Run "make" multiple times and grep
2856 its output each time for a single error message, rather than
2857 running "make -k" one single time and grepping its output for
2858 all the expected error messages. This should work around make
2859 implementations with limited (broken?) `-k' support; for more
2860 information, see these subthreads on the automake-patches list:
2861 - 2010-11-15, "Testsuite failures on HP-UX 11.23",
2862 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
2863 - 2010-11-15, "Testsuite failures on IRIX 6.5",
2864 <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
2866 2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2868 Fix sed-related buglet in test "subdir5.test"
2869 * tests/subdir5.test: Always terminate text passed to the
2870 `i' sed command with a newline, to work around limitations
2871 in e.g. older OpenBSD sed.
2873 2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com>
2875 docs: fix blunder in example about python extension modules
2876 * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
2877 not `quaternion_SOURCES', to declare the sources of python
2878 extension module `quaternion.la'.
2880 2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com>
2882 docs: list LTLIBRARIES among Automake primaries
2883 * doc/automake.texi (Uniform): List `LTLIBRARIES' among
2884 the Automake primaries.
2886 2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com>
2888 Improve tests on generated portions of configure help screen.
2889 * tests/help-depend.test: Grepping of configure help screen
2890 relaxed to cater for possible line wrapping, and tightened in
2892 * tests/help-depend2.test: Likewise.
2893 * tests/help-dmalloc.test: Likewise.
2894 * tests/help-lispdir.test: Likewise.
2895 * tests/help-maintainer.test: Likewise.
2896 * tests/help-multilib.test: Likewise.
2897 * tests/help-silent.test: Likewise.
2898 * tests/help-upc.test: Likewise.
2899 * tests/help-init.test: Grepping of configure help screen
2902 2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2904 Avoid running installed automake from 'libtool --help'.
2905 * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
2906 Together with fixed Libtool, this fixes check-coverage to not
2907 invoke installed automake.
2909 2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com>
2911 Fix spurious failures in `silent*.test' for $CC != gcc
2912 In some tests on automake-produced silent rules, we forced the
2913 use of gcc depmode to improve testsuite coverage; but this has
2914 unsurprisingly led to spurious failures when some non-GNU C
2915 compilers were used. So we are now careful to require GCC in
2916 tests that force gcc depmode.
2917 From reports by Ralf Wildenhues.
2918 * tests/silent5.test: Test removed, its content split into ...
2919 * tests/silent-many-generic.test, tests/silent-many-gcc.test: ...
2920 these new sister tests, the latter of which forces gcc depmode
2921 and lists "gcc" in $required.
2922 * tests/silentlex.test: Test removed, its content split into ...
2923 * tests/silent-lex-generic.test, tests/silent-lex-gcc.test: ...
2924 these new sister tests, the latter of which forces gcc depmode
2925 and lists "gcc" in $required.
2926 * tests/silentyacc.test: Test removed, its content split into ...
2927 * tests/silent-yacc-generic.test, tests/silent-yacc-gcc.test: ...
2928 these new sister tests, the latter of which forces gcc depmode and
2929 lists "gcc" in $required.
2930 * tests/Makefile.am (TESTS): Updated.
2932 2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com>
2934 Tests: consistently use "|| Exit 1" after ". ./defs".
2935 * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
2936 `. ./defs', for consistency with other tests.
2937 * tests/autohdr2.test: Likewise.
2938 * tests/autohdr3.test: Likewise.
2939 * tests/autohdr4.test: Likewise.
2940 * tests/cond23.test: Likewise.
2941 * tests/cond24.test: Likewise.
2942 * tests/cond25.test: Likewise.
2943 * tests/cond26.test: Likewise.
2944 * tests/cond27.test: Likewise.
2945 * tests/cond28.test: Likewise.
2946 * tests/cond29.test: Likewise.
2947 * tests/cond30.test: Likewise.
2948 * tests/cond31.test: Likewise.
2949 * tests/cond32.test: Likewise.
2950 * tests/cond33.test: Likewise.
2951 * tests/cond34.test: Likewise.
2952 * tests/cond35.test: Likewise.
2953 * tests/cond36.test: Likewise.
2954 * tests/cond37.test: Likewise.
2955 * tests/cond38.test: Likewise.
2956 * tests/cond39.test: Likewise.
2957 * tests/cond40.test: Likewise.
2958 * tests/cond41.test: Likewise.
2959 * tests/cond42.test: Likewise.
2960 * tests/cond43.test: Likewise.
2961 * tests/cond44.test: Likewise.
2962 * tests/cond45.test: Likewise.
2963 * tests/dollarvar.test: Likewise.
2964 * tests/dollarvar2.test: Likewise.
2965 * tests/hfs.test: Likewise.
2966 * tests/libobj14.test: Likewise.
2967 * tests/percent.test: Likewise.
2968 * tests/percent2.test: Likewise.
2969 * tests/phony.test: Likewise.
2970 * tests/silent.test: Likewise.
2971 * tests/silent2.test: Likewise.
2972 * tests/silent3.test: Likewise.
2973 * tests/silent4.test: Likewise.
2974 * tests/silent5.test: Likewise.
2975 * tests/silent6.test: Likewise.
2976 * tests/silent7.test: Likewise.
2977 * tests/silent9.test: Likewise.
2978 * tests/silentcxx.test: Likewise.
2979 * tests/silentf77.test: Likewise.
2980 * tests/silentf90.test: Likewise.
2981 * tests/silentlex.test: Likewise.
2982 * tests/silentyacc.test: Likewise.
2984 Avoid useless cleaning in some `silent*.test' tests.
2985 * tests/silentf77.test: Removed useless calls to "make clean"
2986 and "make maintainer-clean".
2987 * tests/silentf90.test: Likewise.
2988 * tests/silent3.test: Removed useless call to "make distclean".
2989 * tests/silent4.test: Likewise.
2990 * tests/silent9.test: Likewise.
2992 2010-11-19 Ian Lance Taylor <iant@google.com>
2994 Sync config-ml.in from GCC.
2995 * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
2996 compiler/flag environment variables.
2998 2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com>
3000 Automake::Config: remove extra trailing semicolon.
3001 * lib/Automake/Config.in: Remove extra trailing semicolon.
3003 help4.test: fix botched heading comment.
3004 * tests/help4.test: Fixed the heading comment, since it
3005 didn't correctly describe what checks the testcase was
3006 supposed to perform.
3008 help2.test: add checks on aclocal too.
3009 * tests/help2.test: Check that also `aclocal --version' and
3010 `aclocal --help' work with configure.in and acinclude.m4 both
3013 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
3015 Fix spurious failures of silent-rules tests with Sun Fortran.
3016 * tests/silentf77.test: Strip from the make output some verbose
3017 messages possibly printed by the SunStudio fortran compilers, to
3018 avoid spurious failures. Add a trailing `:' command.
3019 * tests/silentf90.test: Likewise.
3021 2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com>
3023 Fix spurious failures of silent5.test with Sun Fortran.
3024 * tests/silent5.test: Strip from the make output some verbose
3025 messages possibly printed by the SunStudio fortran compilers,
3026 to avoid spurious failures. This bug has been there from the
3027 very first version of this test script.
3029 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
3031 Fix regression in colon{5,6}.test (failures on AIX 5.3).
3032 * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
3033 post-processing the generated Makefile.in, to work around a bug
3034 of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
3035 on the commend line. Calls to `$MAKE' adjusted accordingly.
3036 * tests/colon6.test: Likewise.
3037 Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
3038 improve and/or extend tests `colon*.test", and reported by Ralf
3041 2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com>
3043 Fix regression in ansi.test (failure on AIX 5.3).
3044 * tests/ansi.test: Remove redundant hackish check done using a
3045 hand-postprocessed Makefile.in. This check worked by setting
3046 the `$(SHELL)' macro on the command line of make, but this is
3047 not supported by the AIX 5.3 make implementation.
3048 This bug has been lurking for a long time, and was activated by
3049 commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
3050 tests". Report by Ralf Wildenhues.
3052 2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3054 tests: avoid '##'-style comments inside recipe commands.
3055 * tests/confh.test, tests/confh8.test: Remove
3056 double-hash comments from makefile rule commands, they
3057 are not part of the Automake API.
3059 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3061 tests: work around dash quoting issue in case statements.
3062 * tests/color.test, tests/color2.test: Quote variable in case
3063 pattern, to avoid skipping tests with dash 0.5.5.1.
3065 2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3067 Rebuild menus in the manual.
3068 * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
3069 Thanks to Ian Lance Taylor for the suggestion.
3071 Fix install-strip when $(STRIP) contains several words.
3072 * lib/am/install.am (install-strip): Update comment. Use
3073 separate sub-make invocations for empty and nonempty $(STRIP),
3074 to fix quoting issues.
3075 * tests/strip2.test, tests/strip3.test: New tests.
3076 * tests/Makefile.am (TESTS): Adjust.
3078 2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3080 Fix yaccdry.test failure: require bison.
3081 * tests/yaccdry.test: Require bison.
3082 Found by NixOS Hydra.
3084 2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com>
3086 Fix a bug in variable concatenation with `+='.
3087 * lib/Automake/VarDef.pm (append): Since the content of the
3088 "appended-to" variable is going to be unconditionally normalized
3089 later, simply separate the appended value with a single whitespace
3090 character, instead of trying to be uselessly smarter by using
3091 escaped newlines. This fixes a bug in which extra backslashes
3092 where erroneously inserted in the variable's final value.
3093 * tests/pluseq11.test: New test, exposing the bug.
3094 * tests/Makefile.am (TESTS): Update.
3095 Reported by Andy Wingo.
3097 2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com>
3099 Fix bug in rules for creating vala vapi/header files.
3100 * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
3101 if control structure in a generated make rules. Bug introduced
3102 by previous commit `v1.11-221-gd7c1679', and revealed by failure
3103 of test `vala2.test'.
3105 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3107 Fix and document rules to not touch the tree with `make -n'.
3108 * doc/automake.texi (Multiple Outputs): Document the problem of
3109 modifications during dry-run execution, propose solution.
3111 * automake.in (lang_vala_finish_target): Split recipe so the
3112 stamp file is not removed with GNU `make -n'.
3113 (lang_yacc_target_hook): Separate removal of parser output file
3114 and header remaking.
3115 * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
3116 passed to make, take care not to remove any files in that case.
3117 * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
3118 %STAMP% file from induced remaking of config header.
3119 * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
3121 * tests/Makefile.am (TESTS): Update.
3123 2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3125 Add FAQ entry for bug reporting instructions.
3126 * doc/automake.texi (Reporting Bugs): New section.
3127 (Introduction): Refer to it.
3129 2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com>
3131 Add support for newer python versions.
3132 * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
3133 _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long
3134 line and fix indentation.
3136 From a report by Thomas Klausner.
3138 Add test for `AM_WITH_DMALLOC' macro.
3139 * tests/dmalloc.test: New test.
3140 * tests/Makefile.am (TESTS): Update.
3142 Fix nits and bugs in tests `help*.test'.
3143 * tests/help4.test: Fix broken sed commands used to strip `-W...'
3144 flags away from "$AUTOMAKE" and "$ACLOCAL".
3145 * tests/help3.test: Likewise, and fix a botched comment.
3146 * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..."
3147 instead of "$AUTOMAKE ... && Exit 1", for consistency and to
3148 please maintainer-check.
3149 * tests/help2.test: Likewise.
3151 2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com>
3152 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3154 Improve tests `help*.test' (also fixes maintcheck failures).
3155 * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
3156 flags stripped away rather than hard-coded `automake-$APIVERSION',
3157 to better honour user-overrides. Similarly for aclocal.
3158 * tests/help2.test: Likewise.
3159 * tests/help3.test: Likewise.
3160 * tests/help4.test: Likewise.
3162 2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3164 Document and fix expansion of variables before rules.
3165 * doc/automake.texi (General Operation): Document that variables
3166 are expanded before rules.
3167 * lib/am/check.am (am__check_post): Reword a bit so it does not
3168 get matched as a rule.
3169 Suggestion by Ben Pfaff.
3171 2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3173 Revert "parallel-tests: avoid command-line length limit issue."
3174 This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
3175 because it re-opened the bug fixed by v1.11-10-g218e678.
3177 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3179 parallel-tests: avoid command-line length limit issue.
3180 * automake.in (handle_tests): New argument $makefile, new
3181 substitution %MAKEFILE%.
3182 (generate_makefile): Adjust.
3183 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
3184 sanitized TEST_LOGS value as makefile snippet on standard
3185 input to $(MAKE), to avoid exceeding the command line limit on
3188 Report by Bob Friesenhahn.
3190 2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com>
3192 Extend tests on `--help' and `--version' options.
3193 * tests/help.test: Create a new empty directory and chdir into
3194 it, rather than removing already present files. Run the aclocal
3195 and automake wrapper scripts directly, instead of relying on
3196 $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots
3197 in aclocal's and automake's stderr. Add a trailing `:' command.
3198 * tests/help2.test: New test, checking that options `--help' and
3199 `--version' works in directories with broken `configure.in'.
3200 * tests/help3.test: New test, checking that options `--help' and
3201 `--version' take precedence on the other options.
3202 * tests/help4.test: New test, checking that the first among the
3203 `--help' and `--version' options to be specified on the command
3205 * tests/Makefile.am (TESTS): Updated.
3207 2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com>
3209 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
3210 * tests/compile2.test: Do no uselessly (implicitly) repeat the
3211 computation of PATH_SEPARATOR again.
3212 * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
3213 extending/redefining PATH.
3214 * tests/instmany-python.test: Likewise.
3215 * tests/instmany.test: Likewise.
3216 * tests/man4.test: Likewise.
3217 * tests/mkinst3.test: Likewise.
3218 * tests/mmodely.test: Likewise.
3219 * tests/multlib.test: Likewise.
3220 * tests/txinfo30.test: Likewise.
3221 * tests/README (Section "Writing test cases" subsection "Do"):
3223 * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
3224 (syntax_check_rules): Updated.
3226 Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
3227 * tests/defs.in ($APIVERSION): New AC_SUBST'd variable.
3228 ($ACLOCAL, $AUTOMAKE): Use it.
3229 ($PATH_SEPARATOR): New AC_SUBST'd variables.
3232 2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com>
3234 Manual: be more agnostic w.r.t. version control system used.
3235 * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
3236 directories as a type of probably-unwanted files that are copied
3237 regardless when adding directories to EXTRA_DIST.
3238 (The dist Hook): Show a dist-hook example which removes Subversion
3239 `.svn' private directories from distdir, rather than CVS private
3241 (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
3242 the version control system used.
3244 Manual: index refer to target "git-dist", not "cvs-dist".
3245 * doc/automake.texi (General Operation): Index the non-standard
3246 example about "git-dist" under the "git-dist" label, not under
3249 Perl modules: remove references to "Automake CVS repository".
3250 * lib/Automake/Channels.pm: Update comments to refer to "Automke's
3251 git repository" rather than to "Automake's CVS repository".
3252 * lib/Automake/Configure_ac.pm: Likewise.
3253 * lib/Automake/FileUtils.pm: Likewise.
3254 * lib/Automake/Struct.pm: Likewise.
3255 * lib/Automake/XFile.pm: Likewise.
3256 * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
3257 branches" rather than "CVS branches".
3259 Remove obsolete .cvsignore files.
3260 * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
3261 lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
3262 m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using
3263 savannah's CVS readonly mirror there's no way to commit back to
3264 the real repository, so this files are not worth maintaining or
3267 2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com>
3269 * m4/dmalloc.m4: Bump serial number and copyright years.
3271 2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com>
3273 Fix broken link in `AM_WITH_DMALLOC' help screen.
3274 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
3275 `http://www.dmalloc.com', not to the dmalloc tarball there (which
3276 seems to have been removed, substituted by multiple release
3279 2010-09-17 Eric Blake <eblake@redhat.com>
3281 Avoid triple-space after period.
3282 * automake.in (handle_single_transform): Avoid 3 spaces at
3284 * ChangeLog.03: Likewise.
3285 * lib/Automake/ChannelDefs.pm: Likewise.
3286 * lib/Automake/Channels.pm (_print_message): Likewise.
3287 * lib/Automake/Rule.pm (rule): Likewise.
3288 * lib/Automake/Variable.pm (var): Likewise.
3289 * lib/am/distdir.am: Likewise.
3290 * tests/insthook.test: Likewise.
3292 2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com>
3294 Test automake-generated portions of configure help screen.
3295 * tests/help-depend.test: New test.
3296 * tests/help-depend2.test: Likewise.
3297 * tests/help-dmalloc.test: Likewise.
3298 * tests/help-init.test: Likewise.
3299 * tests/help-lispdir.test: Likewise.
3300 * tests/help-maintainer.test: Likewise.
3301 * tests/help-multilib.test: Likewise.
3302 * tests/help-regex.test: Likewise.
3303 * tests/help-silent.test: Likewise.
3304 * tests/help-upc.test: Likewise.
3305 * tests/mmode.test: Remove tests on `configure --help' output,
3306 they are superseded by tests in `help-maintainer.test'.
3307 * tests/Makefile.am (TESTS): Update.
3309 2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com>
3311 * tests/README: Don't put GCS mandated tools in $required.
3313 2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3315 * HACKING: Hint at old commits with `git describe' output.
3317 2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com>
3319 Fix regression in test `colon4.test'.
3320 * tests/colon4.test: Fix botched editing to `configure.in'
3321 that made the test useless. Since we are at it, improve
3322 comments and make grepping of generated Makefile.in slightly
3324 Regression introduced by change "Modernize, improve and/or
3325 extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
3327 2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com>
3329 Do not require "gzip" explicitly in tests.
3330 The gzip utility is simply expected to be present on any decent
3331 target system for Automake. So it's pointless to put it in
3333 * tests/install2.test ($required): Do not require "gzip".
3334 * tests/lex3.test: Likewise.
3335 * tests/pr9.test: Likewise.
3336 From a suggestion by Ralf Wildenhues.
3338 Make some `confh*.test' tests more "semantic" (plus tweakings).
3339 * tests/confh.test: Run "autoconf", "configure" and "make check",
3340 instead of munging/grepping the generated `Makefile.in'.
3341 * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
3342 white spaces. Do not create useless dummy source file `foo.c'
3343 and useless dummy header file `acconfig.h'.
3344 (configure.in): Remove superfluous call to `AC_OUTPUT'.
3345 * tests/confh6.test: Add trailing `:' command.
3346 * tests/confh7.test: In comments, add reference to ...
3347 * tests/confh8.test: ... this new test, "semantic" sister
3349 * tests/Makefile.am (TESTS): Updated.
3350 Prompted by a report from Ralf Wildenhues.
3352 Remove useless whitespace padding in XFAIL_TESTS definition.
3353 * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
3355 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3357 parallel-tests: avoid command-line length limit issue.
3358 * automake.in (handle_tests): New argument $makefile, new
3359 substitution %MAKEFILE%.
3360 (generate_makefile): Adjust.
3361 * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
3362 sanitized TEST_LOGS value as makefile snippet on standard
3363 input to $(MAKE), to avoid exceeding the command line limit on
3366 Report by Bob Friesenhahn.
3368 Posix 2008 requires make to set errexit.
3369 * lib/am/check.am: Update comment.
3371 2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com>
3373 Fix bug in test missing6.test.
3374 * tests/missing6.test: Fix the hack used to edit `configure.in',
3375 to avoid producing a configure script that breaks with shells
3376 that do not support $LINENO. Also throw in a couple of cosmetic
3379 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3381 Improve robustness of mdate-sh script.
3382 * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
3383 $ls_command is word-split properly upon invocation.
3384 (error): New function.
3385 (main): Use it. Improve error checking to avoid endless loop
3386 in case $ls_command gave bogus output. Fix eval quotation.
3387 * tests/mdate6.test: New test, to expose eval quotation error.
3388 * tests/Makefile.am: Update.
3390 2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com>
3392 Fix potential regressions in depcomp{3,5}.test.
3393 * tests/depcomp3.test: Do not uselessly escape the character `$'
3394 in makefile rules, when it's used to expand a make macro.
3395 * tests/depcomp5.test: Likewise.
3397 2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com>
3398 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3400 Docs: clarify how to avoid automatic dependencies tracking.
3401 * doc/automake.texi (Automatic dependency tracking): Mention that
3402 automatic dependencies tracking is enabled by default, but that
3403 the package developer can disable it altogether. Add a reference
3404 to the proper section for a more in-depth explanation.
3406 Fix typo in manual (`Makefile.in' instead of `Makefile.am').
3407 * doc/automake.texi (Automatic dependency tracking): Fix typo.
3409 2010-08-16 Bruno Haible <bruno@clisp.org>
3411 Don't hide the table of contents.
3412 * doc/automake.texi: Move the table of contents to the beginning.
3414 2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com>
3416 Tweak and/or extend some `acloca*.test' tests.
3417 * tests/aclocal8.test: Ensure verbose printing of captured
3419 * tests/aclocal.test: Likewise. Also, add trailing `:'
3421 * tests/acloca19.test: Likewise.
3422 * tests/aclocal5.test: Add trailing `:' command, and prefer
3423 `$me' over hard-coded test name.
3424 * tests/aclocal6.test: Likewise.
3425 * tests/aclocal18.test: Add trailing `:' command, and make
3426 some grepping slightly stricter.
3427 * tests/acloca14.test: Likewise. Also, prefer `diff' over
3428 `cmp', and add some "cosmetic" blank lines.
3430 2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com>
3432 Tweak and extend tests `pr[!0-9]*.test'.
3433 * tests/primary3.test: Add trailing `:' command.
3434 * tests/primary.test: Make grepping of Automake's stderr stricter.
3435 Also, add trailing `:' command, and cosmetic changes in spacing.
3436 * tests/primary2.test: Likewise.
3437 * tests/prefix.test: Enable `errexit' shell flags, and related
3438 changes. Add a trailing `:' command.
3439 * tests/proginst.test: Likewise.
3441 Modernize, improve and extend tests for PR (`pr[0-9]*.test').
3442 * tests/pr2.test: Add trailing `:' command.
3443 * tests/pr229.test: Likewise.
3444 * tests/pr401.test: Likewise.
3445 * tests/pr401b.test: Likewise.
3446 * tests/pr401c.test: Likewise.
3447 * tests/pr300-prog.test: Likewise, plus cosmetic changes in
3449 * tests/pr300-lib.test: Likewise.
3450 * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
3451 of captured make stdout.
3452 * tests/pr211.test: Add trailing `:' command. Also, use the
3453 `configure.in' stub created by ./defs, rather than writing it
3455 * tests/pr204.test: Likewise, plus cosmetic spacing changes.
3456 * tests/pr287.test: Likewise, and move setting of `errexit' shell
3457 flag earlier in the script (just after inclusion of ./defs).
3458 * tests/pr220.test: Make grepping of Automake's stderr stricter.
3459 Also, add trailing `:' command, and cosmetic changes in spacing.
3460 * tests/pr224.test: Move setting of `errexit' shell flag earlier
3461 in the script (just after inclusion of ./defs). Do not export
3462 `CC=gcc' to configure explicitly (it's already exported globally
3463 in ./defs, since we have "gcc" in $required). Use the stub for
3464 `configure.in' created by ./defs, rather than writing it from
3465 scratch. Do not create dummy files required by "gnu" mode (e.g.
3466 README, NEWS), since we run automake in foreign mode anyway.
3467 * tests/pr72.test: Enable `errexit' shell flags, and related
3468 changes. Extend existing checks a bit.
3469 * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in
3470 the generated `configure.in', and extend existing checks over the
3471 generated tarball a bit.
3472 * tests/pr87.test: Enable `errexit' shell flags, and related
3473 changes. Add a trailing `:' command. Also, do not create dummy
3474 files required by "gnu" mode (e.g. README, NEWS), since we run
3475 automake in foreign mode anyway.
3476 * tests/pr243.test: Avoid obsolescent constructs in the generated
3477 `configure.in'. Enable the `errexit' shell flag, and related
3478 changes. Cosmetic changes to spacing, add trailing `:' command,
3479 and add a "FIXME" comment.
3480 * tests/pr266.test: Likewise, and add explicit command line switch
3481 `--enable-dependecy-tracking' to the ./configure call.
3482 * tests/pr279.test: Avoid obsolescent constructs in the generated
3483 `configure.in'; also, use the `configure.in' stub created by
3484 ./defs, rather than writing it from scratch. Enable `errexit'
3485 shell flag, and related changes. Add trailing `:' command.
3486 * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
3488 * tests/pr307.test: Move setting of `errexit' shell flag earlier
3489 in the script (just after inclusion of ./defs). Escape literal
3490 dots in grep regular expressions. Also, add a trailing `:'
3491 command, and cosmetic changes to spacing.
3493 Tests for PR: add excerpts from original bug report, for clarity.
3494 * tests/pr2.test: Ditto.
3495 * tests/pr9.test: Likewise.
3496 * tests/pr72.test: Likewise.
3497 * tests/pr87.test: Likewise.
3498 * tests/pr211.test: Likewise.
3499 * tests/pr220.test: Likewise.
3500 * tests/pr224.test: Likewise.
3501 * tests/pr229.test: Likewise.
3502 * tests/pr243.test: Likewise.
3503 * tests/pr266.test: Likewise.
3504 * tests/pr279.test: Likewise, and tell to keep it in sync
3505 with its sister test.
3506 * tests/pr279-2.test: Likewise.
3508 2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com>
3510 Tweak, extend and improve tests `cond[a-z]*.test'.
3511 * tests/condd.test: Add trailing `:' command. Typofix in
3513 * tests/condhook.test: Make sure target `install-data-hook' is
3514 not called by `make install', but that data files are installed.
3515 Use proper m4 quoting in configure.in. Add trailing `:' command.
3516 * tests/condhook2.test: New test, sister test of condhook, with
3518 * tests/condinc2.test: Use proper m4 quoting in configure.in.
3519 Prefer trailing `:' command over trailing `Exit 0'.
3520 * tests/condman2.test: Enable errexit shell flag, and related
3521 changes. Add trailing `:' command.
3522 * tests/condman.test: Likewise. Also, do not create useless
3523 dummy manpages, and use proper m4 quoting in configure.in.
3524 * tests/condman3.test: New test, similar to condman.test, but
3525 it also runs ./configure and "make install", and check the
3527 * tests/Makefile.am (TESTS): Updated.
3529 Modernize, improve and/or extend tests `colon*.test.
3530 * tests/colon.test: Rely on the `configure.in' stub created by
3531 `./defs', rather than writing one from scratch. Do not create
3532 a useless dummy file. Add trailing `:' command.
3533 * tests/colon4.test: Enable the `errexit' shell flag, and
3534 related changes. Rely on the `configure.in' stub created by
3535 `./defs', rather than writing one from scratch.
3536 * tests/colon7.test: Enable `errexit' shell flag, and related
3537 changes. Improve the generated `configure.in' file. Add
3538 trailing `:' command.
3539 * tests/colon2.test: Likewise. Also, add some new checks.
3540 * tests/colon5.test: Improve the generated `configure.in' file.
3541 Add new, much deeper checks. Add trailing `:' command.
3542 * tests/colon6.test: Likewise.
3543 * tests/colon3.test: Add trailing `:' command. Remove useless
3544 comments and echos. Improve the generated `configure.in' file.
3545 make some grepping tests stricter. Add a "FIXME" comments about
3546 planned improvements.
3548 Improve and extend tests `asm*.test'.
3549 * tests/asm.test: Use configure.in stub generated by ./defs,
3550 and avoid obsoleted autoconf constructs. Make grepping of
3551 Automake stderr stricter. Do not create useless source file.
3552 Improve verbose messages. Minor cosmetic changes. Tell to
3553 keep it in sync with other sister tests asm*.test.
3554 * tests/asm2.test: Likewise.
3555 * tests/asm3.test: Likewise.
3557 Modernize, improve and/or extend test scripts `conf*.test'.
3558 * tests/confh5.test: Cosmetic changes.
3559 * tests/conff.test: Likewise.
3560 * tests/confdeps.test: Likewise.
3561 * tests/conflnk.test: Likewise.
3562 * tests/conflnk2.test: Likewise.
3563 * tests/confsub.test: Likewise.
3564 * tests/confvar.test: Likewise, and make grepping of Makefile.in
3566 * tests/confvar2.test: Likewise.
3567 * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily
3568 disabled test (which didn't work with autoconf <= 2.59, but now we
3569 are requiring autoconf 2.62, so...)
3570 * tests/conflnk4.test: Cosmetic changes, and extend existing tests
3571 accordingly to "TODO" comments.
3572 * tests/conff2.test: Make grepping of Automake's stderr stricter.
3573 Add some comments explaining why we don't use the `configure.in'
3574 stub preset be ./defs.
3575 * tests/confh.test: Use the `configure.in' stub created by ./defs,
3576 rather than writing one from scratch, and do not call AC_OUTPUT.
3577 Enable `errexit' shell flag, and related changes. Prefer diff over
3578 cmp to compare text files. Prefer perl over sed to fetch the value
3579 of $(DIST_COMMON) from Makefile.in. Make grepping of the contents
3580 of $(DIST_COMMON) stricter.
3581 * tests/confh4.test: Use the `configure.in' stub created by ./defs,
3582 rather than writing one from scratch. Make grepping of Makefile.in
3584 * tests/confh5.test: Make grepping of `config.h' stricter. Add a
3586 * tests/configure.test: Avoid obsolescent constructs in generated
3587 `configure.ac'. Do not write `configure.in' two times. Escape
3588 literal dots in grep regular expressions.
3589 * tests/confincl.test: Enable `errexit' shell flag, and related
3590 changes. Prefer fgrep over grep. Other cosmetic changes.
3591 * tests/config.test: Renamed to ...
3592 * tests/confh6.test: ... this. Fix m4 quoting in `configure.in',
3593 and make grepping of `config.h' and `config.h.in' stricter.
3594 * tests/conf2.test: Renamed ...
3595 * tests/confh7.test: ... to this. Use the `configure.in' stub
3596 created by ./defs, rather than writing one from scratch. Try to
3597 run the checks both with and without AC_PROG_CC and AC_OUTPUT in
3599 * tests/Makefile.am (TESTS): Updated.
3601 Minor improvements and fixes in tests `depcomp*.test'.
3602 * tests/depcomp.test: Do not create useless dummy source files.
3603 Add a trailing `:' command.
3604 * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
3605 it's not in in the environment, rather than exporting it with an
3606 empty value. Do not pass CC=gcc to configure, as that's already
3607 done in ./defs since we have gcc in $required. Ensure verbose
3608 printing of captured stderr, and normalize its checking. Add a
3609 trailing `:' command.
3610 * tests/depcomp3.test: Quote literal dots and dollar characters in
3611 grep regexps. Always use `: >' rather than `touch' to create empty
3612 files. Explicitly declare phony targets as such in the created
3613 Makefile.am. Add a trailing `:' command.
3614 * tests/depcomp4.test: Quote literal dots and dollar characters in
3615 grep regexp. Explicitly declare phony targets as such in the
3616 created Makefile.am. Ensure verbose printing of captured makes'
3617 stoud/stderr. Add a trailing `:' command.
3618 * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
3619 in the script (just after inclusion of ./defs). Quote literal dots
3620 and dollar characters in grep regexps. Explicitly declare phony
3621 targets as such in the created Makefile.am. Add a trailing `:'
3623 * tests/depcomp6.test: Consistently use m4 quoting in the generated
3624 configure.in. Cosmetic fixes to spacing. Make the "dummy" `if'
3625 statement required by OpenBSD's sh `set -e' more robust, and add
3626 explanatory comments to it.
3627 * tests/depcomp7.test: Likewise, and add a trailing `:' command.
3629 Separate failing part of test `all.test'.
3630 * tests/all.test: Keep only (x)failing part of the test. Working
3631 checks moved out to ...
3632 * tests/all2.test: ... this new test.
3633 * tests/Makefile.am (TESTS): Updated.
3635 Modernize, improve and extend tests `subobj*.test'.
3636 * tests/subobjname.test: Add trailing `:' command.
3637 * tests/subobj.test: Make grepping of `Makefile.in' stricter.
3638 Escape literal dots in grep regexps.
3639 * tests/subobj2.test: Add trailing `:' command. Do not use the
3640 unportable fgrep option `-e'.
3641 * tests/subobj3.test: Add trailing `:' command.
3642 (configure.in): Use proper m4 quoting, and avoid obsolescent
3644 * tests/subobj8.test: Likewise. Also, enable `errexit' shell
3645 flag, with related changes
3646 * tests/subobj4.test: Likewise. Also, make grepping of
3647 `Makefile.in' stricter.
3648 * tests/subobj5.test: Add trailing `:' command. Move setting of
3649 `errexit' shell flag earlier in the script (just after inclusion
3651 (configure.in): Use the stub created by `./defs', rather than
3652 writing it from scratch, and avoid obsolescent constructs.
3653 * tests/subobj6.test: Add trailing `:' command. Move setting of
3654 `errexit' shell flag earlier in the script (just after inclusion
3655 of ./defs). Do not create useless dummy ac-init file `f'.
3656 * tests/subobj7.test: Do not create useless dummy ac-init file
3658 (configure.in): Use the stub created by `./defs', rather than
3659 writing it from scratch, and avoid obsolescent constructs.
3660 * tests/subobj9.test: Move setting of `errexit' shell flag earlier
3661 in the script (just after inclusion of ./defs). Fail the test if
3662 `make distcheck' fails. Ensure verbose printing of captured make
3663 stdout. Avoid useless fork by doing simple grep instead of using
3664 test -n "`COMMAND | grep ...`".
3665 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
3666 (Makefile.am): Explicitly mark target "print" as phony.
3667 * tests/subobj10.test: Removed duplicated call to `set -e'. Add
3668 trailing `:' command.
3669 (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
3671 Remove a couple of obsoleted tests.
3672 * tests/fpinstall.test: Removed.
3673 * tests/fpinst2.test: Likewise.
3674 * tests/Makefile.am (TESTS): Updated.
3676 Bootstrap: updated HACKING entry.
3677 * HACKING ("Working with git"): Explain how to override the
3678 autoconf and autom4te programs used by the bootstrap process.
3681 * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
3682 since we don't generate it. Correctly quote arguments of
3683 `eval' builtin. Fixed a botched error message. Removed an
3686 Bootstrap: don't search perl in $PATH.
3687 * bootstrap: Do not explicitly search perl in $PATH anymore.
3688 ($PATH_SEPARATOR): Removed, it's no more needed.
3690 Bootstrap: let the user choose which autoconf to use.
3691 * bootstrap ($AUTOCONF): New variable, from the environment.
3692 ($AUTOM4TE): Likewise, for clarity.
3693 Use "$AUTOCONF" instead of calling "autoconf" directly.
3695 Minor improvements to tests ar*.test.
3696 * tests/ar.test: Add trailing `:' command.
3697 * tests/ar2.test: Likewise, and make grepping of generated
3698 Makefile.in stricter.
3700 2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3702 Fix maintainer-check failure.
3703 * tests/cond5.test: Quote sleep argument, this isn't about
3704 time stamp differences.
3706 Sync auxiliary files from upstream.
3707 * lib/config.guess, lib/config.sub, lib/texinfo.tex:
3710 2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com>
3712 Work around a nasty bug (segfault) of Solaris make.
3713 * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
3714 from $list, to avoid triggering a nasty bug (potential segfault)
3717 2010-08-06 Peter Rosin <peda@lysator.liu.se>
3719 Make cond5.test more robust on MSYS.
3720 * tests/cond5.test: Add delay before the first kill attempt to
3721 cater for problems with MSYS bash.
3723 2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3725 Add example git work flow; discuss merge --log in HACKING.
3727 Suggestion by Stefano Lattarini.
3729 Add more hints for debugging make rules.
3730 * doc/automake.texi (Debugging Make Rules): Show command to find
3731 out expanded values of variables; point to makefile debugger.
3733 Prompted by suggestion from Ludovic Courtès and Andy Wingo.
3735 2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
3737 Fix typo in the manual.
3738 * doc/automake.texi (Scripts): Fix typo.
3740 2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3742 Document current policy for development with git.
3743 * HACKING (Working with git): Overhaul.
3744 Prompted by suggestion from Stefano Lattarini.
3746 Fix AM_COND_IF for gone-invalid condition shell expression.
3747 * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
3748 variable, rather than re-evaluating the shell expression for
3750 * tests/cond40.test: Extend test.
3753 Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
3754 * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
3755 to avoid shell syntax error if the m4 expansion is empty.
3756 * tests/cond40.test: Enhance test.
3758 Coverage: bogus option to AM_INIT_AUTOMAKE.
3759 * tests/init2.test: New test.
3760 * tests/Makefile.am: Update.
3762 2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com>
3764 Modernize and improve test scripts `subdir*.test'.
3765 * tests/subdir.test: Enable `errexit' shell flag, and related
3766 changes. Use the `configure.in' stub created by `./defs',
3767 rather than writing one from scratch.
3768 * tests/subdir2.test: Likewise.
3769 * tests/subdir4.test: Likewise.
3770 * tests/subdir3.test: Enable `errexit' shell flag, and related
3771 changes. Do not create useless dummy source files.
3772 * tests/subdir5.test: Make grepping of Makefile.in (in topdir
3773 and in subdirs) stricter. Some minor changes to keep it more
3774 in sync with the related test `subdir8.test'.
3775 * tests/subdir8.test: Likewise (but with the related test being
3776 `subdir5.test' here).
3777 * tests/subdir6.test: Cosmetic change in spacing.
3778 * tests/subdir9.test: Define and use new variable `$distdir'. Add
3779 trailing `:' command.
3780 * tests/subdir10.test: Cosmetic consistency-related change.
3781 * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
3782 (configure.in): Use stub created by `./defs', rather than writing
3783 it from scratch. Do not use obsoleted and/or deprecated forms of
3784 autoconf/automake macros.
3786 Modernize and improve test scripts `dist*.test'.
3787 * tests/distcleancheck.test: Do not add useless `-e' option to
3788 a $MAKE call. Extend test by grepping stderr of make.
3789 * tests/distcom2.test: Do not run the same test script on the
3790 Makefile.in twice, but save its output in an intermediate file
3791 instead. Make grepping of DIST_COMMON definition stricter.
3792 Display the content of more files, to ease debugging. Add a
3793 trailing `:' command. Improved heading comments w.r.t. sister
3795 * tests/distcom6.test: Likewise, and avoid to uselessly run
3797 * tests/distcom3.test: Ensure verbose printing of captured stdout
3798 and stderr. Make grepping of captured stderr stricter. Also,
3799 add trailing `:' command.
3800 * tests/distcom4.test: Declare the target `test' in the generated
3801 Makefile.am as `.PHONY'. Display content of more files, to ease
3802 debugging. Add trailing `:' command.
3803 * tests/distcom5.test: Likewise. Also, factor out common sed
3804 script in subroutine `extract_distcommon'.
3805 * tests/distcom7.test: Prefer cat + here-doc over echo to write
3806 test Makefile.am files. Add a trailing `:' command.
3807 * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the
3808 call to `set -e' earlier. Be stricter and more verbose in the
3809 checking of the generated tarball.
3810 (configure.in): Use the stub provided by ./defs, instead of
3811 writing it from scratch. Avoid obsoleted constructs. Remove
3812 useless call to `AM_PROG_CC_C_O'.
3813 * tests/distdir.test: Various minor improvements/normalizations.
3814 * tests/distlinks.test: Likewise.
3816 2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com>
3818 Improve and extend test cond5.test.
3819 * tests/cond5.test: Do not blindly sleep 60 seconds before polling
3820 the background automake process, but poll it every 10 seconds for
3821 at most 30 times (this makes the test both faster on good machines,
3822 and more resilient to spurious timeout-due failures when in low
3823 priority or on heavily-loaded systems).
3824 Check also that automake writes the expected error messages on the
3826 Enable `errexit' flag, and related changes.
3827 Rely on the `configure.in' stub created by `./defs', rather than
3828 writing one from scratch.
3830 2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3832 Update program --help output to match current GCS.
3833 * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
3834 is not defined, for compatibility to Autoconf < 2.64.
3835 * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
3837 (sc_diff_automake_in_automake): Update number of diff lines for
3838 additional substitutions.
3839 * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake
3840 home page and GNU general help page.
3841 * automake.in (usage): Likewise.
3842 * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
3844 (Introduction, Creating amhello, amhello Explained, Options):
3846 * lib/Automake/Makefile.am (do_subst): Substitute
3848 * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
3849 * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
3852 Clean up @var handling in the manual.
3853 * doc/automake.texi: Throughout the manual, lower-case @var
3854 names, replace a few one-character names.
3856 2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com>
3858 Fix typo-related bug in test script silent5.test.
3859 * tests/silent5.test: Use $EGREP, not $GREP (which is not even
3862 Tests: remove useless repetitions of `foreign' automake option.
3863 * tests/multlib.test (configure.in): Remove useless use of
3864 `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
3865 already in $AUTOMAKE by default, so no point in repeating it).
3866 * tests/subobj10.test: Likewise.
3867 * tests/subobj9.test: Likewise.
3868 * tests/lex3.test (Makefile.am): Similarly, remove useless use
3869 of `foreign' option in AUTOMAKE_OPTIONS.
3870 * tests/lex5.test: Likewise.
3871 * tests/pr279.test: Likewise.
3872 * tests/pr279-2.test: Likewise.
3873 * tests/specflg3.test: Likewise.
3874 * tests/target-cflags.test: Likewise.
3876 Drop useless requirement "gzip" in lex5.test.
3877 * tests/lex5.test ($required): Do not list "gzip", as it's
3880 2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com>
3882 Fix bugs in test script silent5.test.
3883 * tests/silent5.test: Fixed a nasty bug (due to the use of grep
3884 instead of egrep) that could have led to false negatives.
3886 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
3888 Add a test checking that distributed broken symlinks cause
3889 `make dist' to fail.
3890 * tests/distlinksbrk.test: New test.
3891 * tests/Makefile.am (TESTS): Updated.
3893 2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3895 Fix minor testsuite issues, update docs, for Yacc/Lex changes.
3896 * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
3897 and AM_LFLAGS, LFLAGS in the order in which they now appear in
3900 * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
3901 tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
3902 please maintainer-check. Ensure generated C files contain a
3903 declaration, to please compilers.
3905 2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com>
3907 Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
3908 $(FLAGS) precedence.
3909 * automake.in: Fix registration of languages "Lex", "Lex (C++)",
3910 "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
3911 $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
3912 * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
3915 New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
3916 $(AM_FLAGS) and $(FLAGS) precedence.
3917 * tests/lflags.test: New test, check that user $(LFLAGS) takes
3918 precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still
3920 * tests/lflags2.test: Likewise.
3921 * tests/yflags.test: New test, check that user $(YFLAGS) takes
3922 precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still
3924 * tests/yflags2.test: Likewise.
3925 * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
3927 2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com>
3929 Modernize, improve and extend tests `suffix*.test'.
3930 * tests/suffix3.test: Enable `errexit' shell flag, and related
3932 * tests/suffix4.test: Likewise.
3933 * tests/suffix6.test: Likewise, and do not create a useless dummy
3935 * tests/suffix7.test: Likewise.
3936 * tests/suffix5.test: Enable `errexit' shell flag, and related
3937 changes. Make grepping of Makefile.in slightly stricter.
3938 * tests/suffix.test: Enable `errexit' shell flag, and related
3939 changes. Also, do not redirect grep output to /dev/null, as this
3940 might unmotivatedly hide useful information.
3941 * tests/suffix2.test: Move setting of `errexit' shell flag earlier
3942 in the script (just after inclusion of ./defs). Use a more
3943 idiomatic way to count text occurrences in Makefile.in with
3944 grep. Do not create useless dummy source files.
3945 * tests/suffix10.test: Ensure verbose printing of captured make
3946 stdout. Minor cosmetic changes.
3947 * tests/suffix8.test: Likewise. Also, drop useless call to the
3948 env(1) utility, and make grepping of make output stricter by using
3949 $FGREP rather than plain grep.
3950 * tests/suffix11.test: Likewise.
3951 * tests/suffix12.test: Likewise.
3952 * tests/suffix9.test: Prefer cat + here-doc over echo to append to
3953 the `configure.in' stub. Cosmetic changes.
3954 * tests/suffix13.test: Cosmetic spacing change.
3956 2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com>
3958 Add useful comment in test script ext.test.
3959 * tests/ext.test: Add a comment explaining why an apparently
3960 useless `if' statement is indeed required.
3962 Add useful comment in test script obsolete.test.
3963 * tests/obsolete.test: Add a comment explaining why we need
3964 an indirection in adding $AUTOUPDATE to $required.
3966 Normalize whitespaces in 'tests/Makefile.am'.
3967 * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
3968 definition of this variable.
3970 2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3972 Remove a couple of unneeded conditionals from tests.
3973 * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
3974 for the FOOTEST conditional.
3976 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
3978 Modernize, improve and/or fix various test scripts.
3979 * tests/symlink3.test: Deleted, separated into two new, more
3981 * tests/forcemiss.test: ... this one ...
3982 * tests/forcemiss2.test: ... and this one.
3983 * tests/symlink2.test: Enable `errexit' shell flag, make test
3984 stricter, and skip it if symlink creation is not supported.
3985 * tests/postproc.test: Enable `errexit' shell flag, related
3986 changes, and a couple of unrelated cosmetic changes.
3987 * tests/recurs.test: Use the `configure.in' stub created by
3988 `./defs', rather than writing one from scratch. Make grepping
3989 of Automake stderr slightly stricter.
3990 * tests/substtarg.test: Likewise.
3991 * tests/strip.test: Likewise, and move the call to `set -e'
3992 earlier (just after the inclusion of `./defs'). Also, make sure
3993 that the script installed by `make install-script' is equal to
3995 * tests/substref.test: Use the `configure.in' stub created by
3996 `./defs', rather than writing one from scratch. Move the call
3997 to `set -e' earlier (just after the inclusion of `./defs').
3998 Avoid to explicitly export CC for configure (that's already done
3999 in ./defs). Avoid potential problems with unpredictable make
4000 output. Finally, make grepping of Makefile.in stricter.
4001 * tests/substre2.test: Ensure verbose printing of the captured
4002 make's output, and make its grepping slightly stricter.
4003 * tests/cygwin32.test: Enable `errexit' shell flag, and related
4004 changes. Also, do not create useless dummy source/data files.
4005 * tests/scripts.test: Likewise.
4006 * tests/recurs2.test: Likewise. Also, use the `configure.in'
4007 stub created by `./defs'.
4008 * tests/Makefile.am (TESTS): Updated.
4010 Modernize, improve and/or fix tests `pluseq*.test.
4011 * tests/pluseq5.test: Append to configure.in using cat with an
4012 here-doc, not using echo.
4013 * tests/pluseq10.test: Make sure that the captured output of
4014 `make' command is always displayed. Where possible, use $FGREP
4015 instead of grep (this change makes some checks slightly stricter).
4016 * tests/pluseq8.test: Enable `errexit' shell flag, with related
4018 * tests/pluseq.test: Likewise. Also, do not create useless dummy
4019 data files, and use better m4 quoting in generated configure.in.
4020 * tests/pluseq2.test: Likewise. Also, append to configure.in
4021 using cat with an here-doc, not using echo.
4022 * tests/pluseq3.test: Likewise.
4023 * tests/pluseq4.test: Likewise.
4024 * tests/pluseq6.test: Likewise.
4025 * tests/pluseq7.test: Do not create useless dummy source file.
4026 * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
4027 Automake stderr. Some unrelated cosmetic changes.
4029 Testsuite: ensure verbose printing of captured stderr.
4030 * tests/acloca18.test: Print captured stderr before either failing
4031 or grepping it. Be sure to send captured stderr to stderr, not to
4033 * tests/ansi3b.test: Likewise.
4034 * tests/cond39.test: Likewise.
4035 * tests/configure.test: Likewise.
4036 * tests/missing3.test: Likewise.
4037 * tests/missing6.test: Likewise.
4038 * tests/output-order.test: Likewise.
4039 * tests/pr300-ltlib.test: Likewise.
4040 * tests/python6.test: Likewise.
4041 * tests/python7.test: Likewise.
4042 * tests/python8.test: Likewise.
4043 * tests/python9.test: Likewise.
4044 * tests/subobj.test: Likewise.
4045 * tests/vars3.test: Likewise.
4046 * tests/missing4.test: Likewise, and fix a call to grep not to use
4048 * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
4049 created by `./defs', rather than writing one from scratch.
4051 Enable `errexit' shell flag in various tests.
4052 * tests/backsl.test: Enable the `errexit' shell flag, and
4054 * tests/backsl2.test: Likewise.
4055 * tests/block.test: Likewise.
4056 * tests/canon2.test: Likewise.
4057 * tests/canon4.test: Likewise.
4058 * tests/comment2.test: Likewise.
4059 * tests/condlib.test: Likewise.
4060 * tests/cond15.test: Likewise, and prefer $FGREP over grep.
4061 * tests/canon3.test: Likewise. Also, avoid to create an useless
4063 * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
4064 related changes. Do some cosmetic improvements in the generated
4065 `configure.in' file.
4066 * tests/cond4.test: Likewise.
4067 * tests/cond14.test: Likewise.
4068 * tests/condinc.test: Likewise.
4069 * tests/cond7.test: Likewise. Also, remove useless setting of
4070 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
4071 * tests/ansi.test: Enable the `errexit' shell flag, and related
4072 changes. Extended, esp. by running autoconf, ./configure and
4073 make, and by looking into the distdir.
4075 2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com>
4076 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4078 Extend tests/README w.r.t. trailing `:' in test scripts.
4079 * tests/README (section "Writing test cases" subsection "Do"):
4080 Explain why apparently redundant trailing `:' and `Exit 0' in
4081 test scripts can indeed be useful.
4083 2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com>
4085 Improve determination of PATH separator in bootstrap script.
4086 * bootstrap: Determine what the PATH separator is the same way
4089 Minor improvements in bootstrap script.
4090 * bootstrap: Consistently use two-spaces indentation. Cosmetic
4091 improvement to comments.
4092 ($me): New variable, containing program basename.
4093 Prepend it to all error messages.
4095 Testsuite now works with BSD make in parallel mode.
4096 * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
4097 which are exported by BSD make when run in parallel mode, and
4098 which can confuse make processes spawned by our testsuite.
4099 This change fixes a lot of spurious failure when the testsuite
4100 is run with BSD make in parallel mode.
4102 2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com>
4104 Modernize, improve and/or fix various test scripts.
4105 * tests/sanity.test: Rely on the `configure.in' stub created by
4106 `./defs', rather than writing one from scratch.
4107 * tests/depend2.test: Likewise. Also, call `set -e' just after
4108 the inclusion of `./defs', instead that later in the script.
4109 * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
4110 $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
4111 * tests/exeext4.test: Use $FGREP instead of grep, where possible.
4112 Make auxiliary rules in the generated Makefile more silent.
4113 These changes make some checks slightly stricter.
4114 * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
4115 * tests/gettext2.test: Place final `:' at the end of the script,
4116 rather than in the middle.
4117 * tests/exeext.test: Call `set -e' just after the inclusion of
4118 `./defs', instead that later in the script.
4119 * tests/extra5.test: Likewise.
4120 * tests/confdeps.test: Likewise. Also, prefer `mv -f' over
4121 plain `mv', just to be sure.
4122 * tests/depcomp.test: Enable `errexit' shell flag, with related
4123 changes. Also, modernize the generated configure.in.
4124 * tests/cond9.test: Likewise. Also, rely on the `configure.in'
4125 stub created by `./defs', rather than writing one from scratch.
4126 * tests/cond10.test: Likewise.
4127 * tests/depcomp2.test: Likewise.
4128 * tests/depend3.test: Likewise.
4129 * tests/distcom7.test: Likewise.
4130 * tests/fortdep.test: Likewise. Also, remove definition of
4131 AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
4132 since that flag is already provided by $AUTOMAKE.
4133 * tests/mdate.test: Made stricter, by checking that Automake
4134 actually failed, and by making a stricter grep on the error
4135 message. Also, set shell `errexit flag'.
4136 * tests/python2.test: Improved verbose messages.
4138 Make test `ammissing.test' stricter.
4139 * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
4140 Enable `errexit' shell flag.
4142 2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com>
4144 Enable `errexit' shell flag in some test scripts.
4145 * tests/subcond.test: Enabled `errexit' shell flag, and related
4147 * tests/subst.test: Likewise.
4148 * tests/vars.test: Likewise.
4149 * tests/version4.test: Likewise.
4150 * tests/vpath.test: Likewise.
4151 * tests/vtexi2.test: Likewise.
4152 * tests/werror.test: Likewise.
4153 * tests/whoami.test: Likewise.
4154 * tests/tags.test: Likewise, and avoid to crate an useless dummy
4156 * tests/acsilent.test: Likewise, and don't use an easily-avoided
4157 command substitution.
4158 * tests/unused.test: Likewise, and don't use an easily-avoided
4159 command substitution.
4160 * tests/version.test: Likewise, and avoid deprecated constructs
4161 in the generated `configure.in'.
4162 * tests/version2.test: Likewise, and avoid deprecated constructs
4163 in the generated `configure.in'.
4165 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4167 Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
4168 * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so
4169 the verbose log contains all output.
4170 * tests/mdate.test: Likewise.
4171 Prompted by Stefano Lattarini's change to discover.test.
4173 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
4175 Improve tests link*.test (enable `errexit' shell flag).
4176 * tests/link_c_cxx.test: Enable `errexit shell flag, and related
4177 changes. Also, do not create useless source files.
4178 * tests/link_dist.test: Likewise.
4179 * tests/link_f90_only.test: Likewise.
4180 * tests/link_f_only.test: Likewise.
4181 * tests/link_fc.test: Likewise.
4182 * tests/link_fccxx.test: Likewise.
4183 * tests/link_fcxx.test: Likewise.
4185 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4187 Improve ext.test semantics, avoid OpenBSD sh errexit issue.
4188 * tests/ext.test: Inside shell compound command, use
4189 `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
4190 fix failure with OpenBSD sh introduced with last patch.
4191 Actually ensure that a rule for .EXT.o is created for each
4192 known extension EXT.
4194 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
4196 Enable `errexit' shell flag in some test scripts.
4197 * tests/dash.test: Enable `errexit' shell flag, and related
4199 * tests/defun.test: Likewise.
4200 * tests/defun2.test: Likewise.
4201 * tests/dejagnu.test: Likewise.
4202 * tests/double.test: Likewise.
4203 * tests/distcom2.test: Likewise.
4204 * tests/empty2.test: Likewise.
4205 * tests/empty3.test: Likewise.
4206 * tests/empty4.test: Likewise.
4207 * tests/exdir.test: Likewise.
4208 * tests/ext.test: Likewise.
4209 * tests/extra.test: Likewise.
4210 * tests/extra2.test: Likewise.
4211 * tests/extra3.test: Likewise.
4212 * tests/extra4.test: Likewise.
4213 * tests/flibs.test: Likewise.
4214 * tests/fnoc.test: Likewise.
4215 * tests/fo.test: Likewise.
4216 * tests/instexec.test: Likewise.
4217 * tests/ltdeps.test: Likewise.
4218 * tests/nodep.test: Likewise.
4219 * tests/nodepcomp.test: Likewise.
4220 * tests/f90only.test: Likewise, and remove botched/obsoleted
4221 comments and unnecessary commands.
4222 * tests/fonly.test: Likewise, and remove botched/obsoleted
4223 comments and unnecessary commands.
4224 * tests/discover.test: Likewise, and made stricter.
4226 Enable `errexit' shell flag in all tests cxx*.test.
4227 * tests/cxx.test: Enabled `errexit' shell flag, and related
4229 * tests/cxxansi.test: Likewise.
4230 * tests/cxxcpp.test: Likewise.
4231 * tests/cxxlibobj.test: Likewise.
4232 * tests/cxxlink.test: Likewise.
4233 * tests/cxxo.test: Likewise.
4235 Enable `errexit' shell flag in various tests.
4236 * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
4238 * tests/acoutpt.test: Likewise.
4239 * tests/acoutqnl.test: Likewise.
4240 * tests/amassign.test: Likewise.
4241 * tests/ansi2.test: Likewise.
4242 * tests/ansi4.test: Likewise.
4243 * tests/badprog.test: Likewise.
4244 * tests/checkall.test: Likewise.
4245 * tests/clean.test: Likewise.
4246 * tests/colneq2.test: Likewise.
4247 * tests/colon.test: Likewise.
4248 * tests/colon5.test: Likewise.
4249 * tests/colon6.test: Likewise.
4250 * tests/comment.test: Likewise.
4251 * tests/compile_f90_c_cxx.test: Likewise.
4252 * tests/compile_f_c_cxx.test: Likewise.
4253 * tests/cond3.test: Likewise.
4254 * tests/cond6.test: Likewise.
4255 * tests/cond13.test: Likewise.
4256 * tests/conf2.test: Likewise.
4257 * tests/confvar.test: Likewise.
4258 * tests/confvar2.test: Likewise.
4259 * tests/cond8.test: Likewise, plus a cosmetic change.
4260 * tests/confh4.test: Likewise. Also, add in the heading comments
4261 an excerpt from the original bug report which motivated the
4262 creation of this test, to make its purpose clearer.
4264 2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4266 Rewrite manual to be gender-neutral.
4267 * doc/automake.texi (GNU Build System)
4268 (Standard Directory Variables, General Operation, CVS)
4269 (Hard-Coded Install Paths, Dependencies As Side Effects):
4270 Rewrite text to not contain gender-specific pronouns when
4271 speaking about developers or users, either by avoiding pronouns
4272 or by addressing them as `you' instead.
4274 Report by Christina Gratorp.
4278 2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com>
4280 Make tests on user extensibility of silent-rules mode stricter.
4281 * tests/silent6.test: Made stricter w.r.t. the grepping of the
4282 output produced by `make'.
4283 * tests/silent7.test: Likewise.
4285 Tests on silent-mode for C/Libtool made stricter.
4286 * tests/silent.test: Made stricter w.r.t. the grepping of the
4287 output produced by `make'.
4288 * tests/silent2.test: Likewise.
4289 * tests/silent4.test: Likewise.
4290 * tests/silent9.test: Likewise.
4291 * tests/silent3.test: Likewise, and add a final `make distclean'
4292 command to keep it better in sync with tests/silent{4,9}.test.
4294 Improved test silent5.test.
4295 * tests/silent5.test: Remove by hand all generated C files after
4296 non-verbose builds, to ensure the following builds are clean.
4297 Try to clean and rebuild with the same verbosity and without
4298 removing generated sources in between, to check that this does
4299 not trigger a different set of rules. Make grepping of make's
4300 output stricter. Improved/added some comments.
4302 New tests for Automake silent-mode with Fortran.
4303 * tests/silentf77.test: New test.
4304 * tests/silentf90.test: Likewise.
4305 * tests/Makefile.am (TESTS): Updated accordingly.
4307 New test `silentcxx.test' (Automake silent-mode with C++).
4308 * tests/silentcxx.test: New test.
4309 * tests/Makefile.am (TESTS): Updated accordingly.
4311 New test `silentyacc.test' (Automake silent-mode with Yacc).
4312 * tests/silentyacc.test: New test.
4313 * tests/Makefile.am (TESTS): Updated accordingly.
4315 New test `silentlex.test' (Automake silent-mode with Lex).
4316 * tests/silentlex.test: New test.
4317 * tests/Makefile.am (TESTS): Updated accordingly.
4319 Relax tests on silent-rules to cater to overly verbose makes.
4320 * tests/silent.test: When testing silent builds, don't fail if
4321 make's output simply contains the `mv' substring, but only if
4322 it contains the `mv ' substring (note the trailing space).
4323 * tests/silent2.test: Likewise.
4324 * tests/silent3.test: Likewise.
4325 * tests/silent4.test: Likewise.
4326 * tests/silent5.test: Likewise.
4327 * tests/silent9.test: Likewise.
4329 2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4331 Fix silent-rules output for disabled dependency tracking.
4332 * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
4333 expansion code to also work in the case where %AMDEP% expands
4334 to FALSE at config.status time, using new substitution string
4336 * automake.in (verbose_nodep_flag): New function, appending
4337 `@am__nodep@' to the verbose-variable name.
4338 (handle_languages): If dependencies are not disabled, use it to
4339 set %VERBOSE-NODEP%.
4340 * m4/depend.m4: Substitute am__nodep as '_no', so the second
4341 verbose-variable will always expand to an empty string, if
4342 dependencies are enabled.
4343 * tests/silent5.test: Also test --disable-dependency-tracking;
4344 also test per-target flags for non-C language files.
4345 * tests/silent9.test: New test, like silent4.test but disable
4346 dependency tracking.
4347 * tests/Makefile.am: Adjust.
4348 * NEWS, THANKS: Update.
4349 Report by Dmitry V. Levin <ldv@altlinux.org>.
4351 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
4353 Extend test on `nostdinc' automake option.
4354 * tests/nostdinc.test: Enable `errexit' shell flag. Related and
4355 unrelated minor changes. Make the grepping of the generated
4356 Makefile.in slightly stricter. Generate and run configure, so that
4357 the generated Makefile can be grepped too.
4359 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4361 Make gnupload portable to EBCDIC hosts.
4362 * lib/gnupload: Use literal newline as argument for 'tr' rather
4363 than \015, for EBCDIC hosts. Also, avoid unportable nested
4364 double-quotes and backquotes.
4366 Report from Eric Blake and Steve Goetze via gnulib.
4368 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
4370 Fix Autoconf version required by Automake's configure.
4371 Automake configure script used to tell that automake required
4372 autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
4373 and if that was not found, it gave an error saying that Automake
4374 required configure 2.61a-341 or later. This change should
4375 eliminate such inconsistencies.
4376 * configure.ac ($required_autoconf_version): New variable.
4379 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4381 Fix unportable sed script in maintainer-check test.
4382 * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
4383 not contain semicolon after 'b' or brace commands, for NetBSD.
4385 Wildcards are not portable to NetBSD make.
4386 * doc/automake.texi (Wildcards): Document portability issue.
4387 * tests/extra10.test, tests/extra11.test, tests/extra12.test:
4390 2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com>
4392 Make test for configure.in vs. configure.ac stricter.
4393 * tests/configure.test: Use a configure.in file that provokes
4394 an automake error, to ensure configure.ac is preferred.
4396 Avoid possible false negatives in dejagnu7.test.
4397 * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid
4398 unportable use of fgrep option `-e'.
4400 Fix conflnk3.test to work with Solaris/Heirloom Sh.
4401 * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
4402 instead of respectively `test -e FILE' and `test ! -e FILE',
4403 since Solaris Sh doesn't grok the latter. Do not SKIP the test
4404 if the shell doesn't support `test -e'.
4406 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4409 * doc/automake.texi (Simple Tests using parallel-tests): Add
4410 missing closing parenthesis.
4412 Fix leftover call to removed function macros_dump.
4413 * automake.in (read_main_am_file): Call variables_dump, not
4414 macros_dump. Print actual error before list of variables.
4416 2010-04-25 Stefano Lattarini <stefano.lattarini@gmail.com>
4418 Minor improvements in comments of test `silent3.test'.
4419 * tests/silent3.test: Tell to keep it in sync with `silent9.test'
4422 2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4424 testsuite: ensure verbose printing of captured output.
4425 * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
4426 tests/fort2.test, tests/help.test, tests/missing3.test,
4427 tests/missing6.test: Print captured stdout or stderr before
4430 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
4432 Make test badopt.test stricter (by enabling `set -e').
4433 * tests/badopt.test: Add call to `set -e'. Due to this change,
4434 an unexpected failure in the call to `$ACLOCAL' (whose outcome
4435 was previously unchecked) would cause the whole test to fail.
4436 Also, bumped the copyright years.
4438 Make test for configure.in vs. configure.ac stricter.
4439 * tests/configure.test: Use a configure.in file that provokes
4440 an automake error, to ensure configure.ac is preferred.
4442 Use `set -e' in confsub.test (avoids possible false negatives).
4443 * tests/confsub.test: Enable shell `errexit' flag, and related
4444 changes (this helps avoiding some possible minor false negatives).
4445 Also, bumped copyright years.
4447 2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4449 Fix -Werror handling for presence of configure.in and configure.ac.
4450 * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
4451 $configure_ac at the global level, before command-line arguments
4453 (require_variables): Initialize it here.
4454 * tests/configure.test: New test.
4455 * tests/Makefile.am: Update.
4456 Report by Stefano Lattarini.
4458 2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com>
4460 Avoid possible false negatives in confh5.test.
4461 * tests/confh5.test: Enable shell `errexit' flag, and bumped
4462 copyright years. Due to this change, any unexpected failure
4463 in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
4464 a failure in grepping expected text in output files should now
4465 cause the whole test to fail.
4467 2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com>
4469 Fixed typo in POD documentation of Automake::Channels.
4470 * lib/Automake/Channels.pm: Fixed typo in POD documentation:
4471 @<...> was used instead of C<...>.
4473 2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com>
4475 Refactor tests on Automake TESTS color output.
4476 * tests/color.test: Tests using the expect program moved out to...
4477 * tests/color2.test: ... this new file.
4478 * tests/Makefile.am (TESTS): Extended accordingly.
4480 2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com>
4482 Fix typos in comments in test confh5.test
4483 * tests/confh5.test: Fix a couple of typos in comments.
4485 Avoid possible false negatives in canon-name.test.
4486 * tests/canon-name.test: Enable shell `errexit' flag. Improve
4489 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4491 Fix per-Makefile.am setting of -Werror.
4492 Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
4493 Makefile.am would carry over to other Makefile.am files
4494 treated afterwards by the same thread, causing inconsistent
4495 and unstable exit status values.
4496 * lib/Automake/Channels.pm (dup_channel_setup)
4497 (drop_channel_setup): Save and restore the setting of
4498 $warnings_are_errors.
4499 * tests/werror3.test: New test.
4500 * tests/Makefile.am: Adjust.
4503 2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com>
4505 Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
4506 * tests/confh5.test: In the generated Makefile.am: do not use
4507 `test ! -e FILE' to check for the non-existence of a file, since
4508 that is not supported by Solaris/Heirloom Sh.
4510 Make test `aclocal3.test' stricter.
4511 * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL
4512 succeds unexpectedly.
4514 Add tests checking that symlinks are resolved by `make dist'.
4515 * tests/distlinks.test: New test.
4516 * tests/Makefile.am (TESTS): Updated accordingly.
4517 Suggested by observations from Ralf Wildenhues.
4519 2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4521 Use -9 for maximum xz compression with dist-xz.
4522 * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
4523 * NEWS, THANKS: Update.
4524 Report by Pavel Sanda.
4526 2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com>
4528 Avoid an unportable use of `$status' shell variable.
4529 * Makefile.am (path-check): Don't use the `$status' shell variable
4530 in the target's rules, as it's special in Zsh (equivalent to `$?',
4533 Avoid another use of `chmod -R'.
4534 * Makefile.am (path-check): To be safe, do not use `chmod -R' on
4535 $(distdir) before removing it (as Solaris `chmod -R' touches
4536 symlink targets). Instead, use the cleanup strategy used in
4539 2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4541 Remove uses of @acronym and @sc.
4542 * doc/automake.texi (Public Macros, Limitations on File Names):
4543 Remove all usage of @acronym and @sc in the manual.
4544 Suggested by Karl Berry.
4546 2010-03-13 Karl Berry <karl@freefriends.org>
4548 GNU hello uses fdl.texi, not gpl.texi.
4549 * doc/automake.texi (Texinfo): Adjust example to upstream
4552 2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4554 Formatting cleanups in macro comments.
4555 * automake.in, lib/Automake/Channels.pm,
4556 lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
4557 lib/Automake/Variable.pm, lib/Automake/XFile.pm,
4558 m4/options.m4, m4/substnot.m4: Fix macro comment format.
4560 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
4561 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4563 Avoid generation of `tests/defs-p' file.
4564 * tests/defs.in: In the generated `configure.in' snippet: call
4565 `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
4566 variable `parallel_tests' is set to `yes'.
4567 * tests/Makefile.am (defs-p): Target removed.
4568 (check_SCRIPTS): Removed `defs-p'.
4569 (clean-local-check): Do not unlink `defs-p' anymore.
4570 ($(parallel_tests)): Transformation rules for the test scripts
4572 * tests/gen-parallel-tests: Selection rules for the test
4574 * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
4575 then include `./defs' (rather than simply including `./defs-p').
4576 * tests/parallel-tests2.test: Likewise.
4577 * tests/parallel-tests3.test: Likewise.
4578 * tests/parallel-tests4.test: Likewise.
4579 * tests/parallel-tests5.test: Likewise.
4580 * tests/parallel-tests6.test: Likewise.
4581 * tests/parallel-tests7.test: Likewise.
4582 * tests/parallel-tests8.test: Likewise.
4583 * tests/parallel-tests9.test: Likewise.
4584 * tests/parallel-tests10.test: Likewise.
4585 * tests/README (Section "Writing Test Cases" subsection "Do"):
4586 Adjusted the parts referring to tests checking `parallel-tests'
4587 behaviour. Some other minor related improvements.
4588 * tests/.gitignore (defs-p): Removed.
4590 2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com>
4592 Remove redundant unset of variable TESTS from some test scripts.
4593 * tests/color.test: Do not unset the `TESTS' variable, as it's
4594 already unset in the `defs' file.
4595 * tests/check5.test: Likewise.
4596 * tests/check8.test: Likewise.
4597 * tests/check9.test: Likewise.
4598 * tests/check10.test: Likewise.
4599 * tests/check11.test: Likewise.
4600 * tests/parallel-tests.test: Likewise.
4601 * tests/parallel-tests3.test: Likewise.
4602 * tests/parallel-tests4.test: Likewise.
4603 * tests/parallel-tests5.test: Likewise.
4604 * tests/parallel-tests6.test: Likewise.
4605 * tests/parallel-tests7.test: Likewise.
4607 2010-02-22 Karl Berry <karl@gnu.org>
4609 Improve help message of mdate-sh.
4610 * mdate-sh: mention actual output format in help message.
4612 2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4614 Deprecate dist-lzma in favor of dist-xz.
4615 * doc/automake.texi (The Types of Distributions, Options):
4616 Adjust text to reflect renaming of lzma to xz.
4618 Missing deprecation noted by Antonio Diaz Diaz.
4620 2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com>
4622 Add tests about support of wildcards in EXTRA_DIST.
4623 * tests/extra10.test: New test, check basic support of wildcards
4625 * tests/extra11.test: New test, check more complex usage of
4626 wildcards in EXTRA_DIST.
4627 * tests/extra12.test: New test, check usage of wildcards in
4628 EXTRA_DIST when $builddir != $srcdir.
4629 * tests/Makefile.am (TESTS): Updated accordingly.
4630 Necessity of these new tests suggested by Braden McDaniel
4631 and Ralf Wildenhues.
4633 2010-02-08 Simon Josefsson <simon@josefsson.org>
4635 Fix copyright statement in gnupload script.
4636 * lib/gnupload: Fix copyright statement.
4638 2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change)
4639 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4641 Fix exit status of signal handlers in shell scripts.
4642 The value of `$?' on entrance to signal handlers in shell scripts
4643 cannot be relied upon, so set the exit code explicitly to
4645 * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
4646 * lib/elisp-comp: Likewise.
4647 * lib/install-sh: Likewise.
4648 * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3.
4649 * NEWS, THANKS: Update.
4650 Bug report, analysis, and initial patch by Dmitry V. Levin.
4652 2010-02-06 Karl Berry <karl@gnu.org>
4654 Improve gnupload usage text.
4655 * gnupload (usage): Shorten to make more likely to fit on a tty
4656 line. Mention CMD in the synopsis. With ..., plural is implied.
4658 2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change)
4660 Fix some typos in the manual
4661 * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
4663 2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com>
4665 Slighty improve tests acoutbs.test and acoutbs2.test.
4666 * tests/acoutbs2.test: Enable `errexit' shell flag. Check that
4667 autoconf and configure work, that the file `zot' is created by
4668 configure, and that no file containing a backslash in its name is
4670 * tests/acoutbs.test: Likewise, plus updated copyright years.
4672 Fix test acoutbs2.test.
4673 * tests/acoutbs2: In the generated configure.in: add proper calls
4674 to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
4675 PACKAGE and VERSION. Add a call to aclocal before calling automake.
4676 Updated copyright years.
4677 * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
4679 Add forgotten test scripts to $(TESTS).
4680 * tests/Makefile.am (TESTS): Added test scripts present on the
4681 filesystem, which were erroneously left out from $(TESTS):
4682 acoutbs2.test, badopt.test, extra2.test.
4683 (XFAIL_TESTS): Added acoutbs2.test.
4685 2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4687 Sync auxiliary files from upstream.
4688 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
4691 Bump copyright years.
4692 * aclocal.in (write_aclocal, version): Bump copyright years.
4693 * automake.in (gen_copyright, version): Likewise.
4694 * doc/automake.texi: Likewise.
4697 * ChangeLog.09: New file, rotated from ...
4698 * ChangeLog: ... here.
4699 * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
4703 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
4705 Copying and distribution of this file, with or without modification, are
4706 permitted provided the copyright notice and this notice are preserved.