Merge branch 'maint' into branch-1.11
[automake.git] / ChangeLog.11
blob67bcaad05cae5009f93e87c4159b6cda34519b67
1 2011-12-27  Stefano Lattarini  <stefano.lattarini@gmail.com>
3         news: better visibility for planned backward incompatibilities
4         * NEWS (New in 1.11.2): Explicitly report that support for
5         automatic de-ANSI-fication has been deprecated.  Move news
6         entries about planned backward incompatibilities ...
7         (New in 1.11.2a): ... here.
9 2011-12-27  Stefano Lattarini  <stefano.lattarini@gmail.com>
11         tests: drop unnecessary requirement in 'subpkg.test'
12         * tests/subpkg.test ($required): Drop "bison", it is not required
13         anymore since commit `v1.11-502-g7e5ae80'.
15 2011-12-27  Stefano Lattarini  <stefano.lattarini@gmail.com>
17         gitlog-to-changelog: new auxiliary script, synced from gnulib
19         We have plans to stop maintaining a version-controlled ChangeLog
20         file in the Automake repository, and instead begin to generate it
21         automatically from the git log messages.  To do so, we will use
22         the `gitlog-to-changelog' script from gnulib.
24         * lib/gitlog-to-changelog: New, synced from gnulib.
25         * Makefile.am (fetch): Fetch and sync it.
26         * lib/Makefile.am (EXTRA_DIST): Distribute it.
28 2011-12-27  Stefano Lattarini  <stefano.lattarini@gmail.com>
30         docs: "aclocal --install -I /abs/dir" actually copies files
32         This change is for automake bug#8407.
34         In the past, there had been some debate and confusion about
35         whether "aclocal --install" should copy third-party .m4 files
36         in the first directory passed to the `-I' option even when
37         such directory was given as an absolute path, or whether it
38         was better to do so only for directories specified with a
39         relative path.
41         The rationale for this latter behaviour was that, before the
42         existence of the `ACLOCAL_PATH' variable, the only way (a poor
43         way, I might add) for a common user to extend the search path
44         of a system-wide installation of aclocal was to export something
45         like ACLOCAL="aclocal -I /my/extra/macros" in the environment.
46         Today, the correct way to proceed is undoubtedly through the
47         use of ACLOCAL_PATH, so we can settle the question once and for
48         all, and start verifying the correct behaviour of `-I' with a
49         new test.
51         * tests/aclocal-install-absdir.test: New test.
52         * tests/Makefile.am (TESTS): Add it.
53         * doc/automake.texi (aclocal Options): Be more explicit about
54         this part of `--install' semantics.
56 2011-12-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
58         docs: fix node names for automake and aclocal invocations
60         With the older node names, an "info automake" command issued
61         from the command line would have opened the node about the
62         invocation of the automake program, rather than the Top node
63         of the automake documentation.  To invoke the Top node, one
64         had to issue the command "info Automake" instead (note the
65         different capitalization).  This was suboptimal, and certainly
66         confusing.
68         With this change, "info automake" will open the Top node of the
69         automake documentation; to access the nodes about the invocation
70         of the automake and aclocal program, one has now to issue "info
71         automake-invocation" and "info aclocal-invocation" respectively.
73         This change fixes automake bug#8071.
75         See also commits `v2.61a-22-ge9215d1' and `v2.61a-72-g8c07b48' in
76         the autoconf git repository, which tackled a similar issue.
78         * doc/automake.texi (@direntry): Rename nodes `aclocal' and
79         `automake' to `aclocal-invocation' and `automake-invocation'
80         respectively.
81         * NEWS: Update.
83 2011-12-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
85         tests: tweak tests on silent-rules for makes without nested vars
86         * tests/silent-nested-vars.test: Define $MAKE to `./mymake' in
87         the environment, so that it will be automatically picked up by
88         configure.  Related tweaks and simplifications.
89         Remove the checks verifying that silent rules are respected also
90         when the 'subdir-objects' option is set, the checks testing the
91         old syntax for user-defined silent rules, and the tests using
92         the default $MAKE programs: they are redundant w.r.t. other test
93         cases.  Related simplifications.
94         Remove the temporary files used in a sanity check as soon as they
95         are not needed anymore.
96         Do not capture also the standard error of configure: we only want
97         to grep its standard output.
98         Consistently use `stdout' for the name of files where to save the
99         standard output captured from make and configure, for consistency
100         with other tests.
101         Make grepping of configure output and of the generated Makefile
102         stricter.
103         Improve and tweak the `mymake' script a little.
104         * tests/silent6.test: Make grepping of make stdout slightly
105         stricter.  After having configured with silent rules disabled,
106         try to force the use silent rules with `make V=1'.
108 2011-12-25  Paul Eggert  <eggert@cs.ucla.edu>
110         silent-rules: fallback for makes without nested vars
112         This fixes two problems reported for Automake (Bug#9928, Bug#10237)
113         and is in response to a bug report for building coreutils on HP
114         NonStop OS (Bug#10234).  The problem is that HP NonStop 'make'
115         treats a line like "AM_V_CC = $(am__v_CC_$(V))" as one that
116         expands a macro with the funny name am__v_CC_$(V instead of the
117         desired name am__v_CC_1 or am__v_CC_0, and since the funny macro
118         is not defined the line is equivalent to "AM_V_CC = )"; this
119         inserts a stray ")" when $(AM_V_CC) is used, which eventually
120         causes 'make' to fail.
122         The basic idea is that instead of generating Makefile.in lines like
123         "AM_V_CC = $(am__v_CC_$(V))", we generate
124         "AM_V_CC = $(am__v_CC_@AM_V@)".  We then AC_SUBST $(V) for @AM_V@
125         in the usual case where `make' supports nested variables,
126         and substitute 1 (or 0) otherwise.  Similarly for usages like
127         $(am__v_CC_$(AM_DEFAULT_VERBOSITY)).
129         With this change, make implementations that doesn't grasp nested
130         variable expansions will still be able to run Makefiles generated
131         using the silent-rules option.  They won't allow the user to
132         override the make verbosity at runtime through redefinition of
133         $(V) (as in "make V=0"); but this is still an improvement over not
134         being able to work at all.
136         * NEWS: Document this.
137         * automake.in (define_verbose_var): When defining the variables,
138         use @AM_V@ rather than $(V), and use @AM_DEFAULT_V@ rather than
139         $(AM_DEFAULT_VERBOSITY).
140         * doc/automake.texi (Automake silent-rules Option): Explain new system.
141         * m4/silent.m4 (AM_SILENT_RULES): Check whether `make' supports
142         nested variables, and substitute AM_V and AM_DEFAULT_V accordingly.
143         * tests/silent-nested-vars.test: New test.
144         * tests/Makefile.am (TESTS): Add it.
146 2011-12-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
148         gitignore: use only one .gitignore file, in the top-level directory
149         * doc/.gitignore, doc/amhello/.gitignore, lib/Automake/.gitignore,
150         lib/Automake/tests/.gitignore, tests/.gitignore: Deleted, their
151         contents merged into ...
152         * .gitignore: ... this top-level file.  Since we are at it, improve
153         it by anchoring files where it makes sense.
155 2011-12-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
157         tests: one more fixlet for gettext macros requirement
158         * tests/gettext-macros.test (configure.in): Add calls to
159         AC_INIT and AC_PROG_CC, to avoid a spurious failure in the
160         later aclocal invocation.
161         Luckily, this wart wasn't causing any spurious SKIP or FAIL,
162         but only the redundant addition to the `-Wno-syntax' option
163         to some aclocal invocations in the gettext tests.
165 2011-12-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
167         tests: fix handling of gettext macros requirement
169         The code introduced in the earlier change `v1.11-581-gb7d67d5'
170         and aimed at automatically fetching all the .m4 files provided by
171         gettext has proven inadequate, since it hasn't managed to truly
172         and always get *all* the required .m4 files.  For example, it has
173         failed to fetch the file `intldir.m4' (present in gettext 0.18.1,
174         and where the macro `AM_GNU_GETTEXT_INTL_SUBDIR' is defined),
175         which in turn has caused spurious SKIPs of at least the test
176         `gettext3.test'.
178         The reason for this debacle is that autopoint looks at the version
179         specified in AM_GNU_GETTEXT_VERSION to decide which version of the
180         gettext infrastructure to bring in; since we were unconditionally
181         specifying the older 0.10.35 version, the newer `.m4' files weren't
182         brought in.
184         * tests/gettext-macros.test: In AM_GNU_GETTEXT_VERSION, instead
185         of unconditionally specifying the older 0.10.35 version, specify
186         the version of the available `gettextize' or `autopoint' program,
187         dynamically extracted with the help of ...
188         (extract_program_version):... this new function, and saved ...
189         ($autopoint_version): ... in this new variable.
191 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
193         tests: fix failure due to debugging code forgotten into a test
194         * tests/missing-tar.test: Don't ever call the `missing' script
195         with `sh -x'; this was used for debugging, but an instance of
196         it slipped into the committed test case.  Bug revealed by a
197         failure on a Solaris 10 system with GNU tar installed as `gtar'.
199 2011-12-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
201         tests: avoid spurious failure of libtool and gettext tests
203         On Solaris 10 (and presumably earlier), /bin/sh trips up on
204         here-documents that contains a command substitution *and* are
205         fed to a shell function:
207           # All as expected.
208           $ cat <<END
209           `pwd`
210           END
211           /home/stefano
212           $ echo status = $?
213           status = 0
215           # An apparently innocuous function ...
216           $ kitty () { cat; }
217           # ... but hilarity ensues!
218           $ kitty <<END
219           `pwd`
220           END
221           /tmp/sh137723: cannot open
222           $ echo status = $?
223           status = 1
225         We need to work around this misbehaviour in a couple of our
226         tests (whose failures where causing cascading failures in a
227         lot of other tests).
229         * tests/gettext-macros.test: Avoid the use of command substitution
230         in a here-document passed to the `indent' function, by using the
231         `echo' builtin instead.
232         * tests/libtool-macros.test: Likewise.
234         See also:
235         <http://lists.gnu.org/archive/html/bug-autoconf/2011-12/msg00001.html>
237 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
239         hacking: distribute it, and mention it in the ChangeLog
240         Not distributing the HACKING file might make it more difficult,
241         for some random curious user, to get informed about or interested
242         in the Automake development process, or to send us patches.
243         * Makefile.am (EXTRA_DIST): Add HACKING.
244         * HACKING: It's OK to distribute this file, and to mention it in
245         the ChangeLog.
247 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
249         regex: deprecate the obsolete macro AM_WITH_REGEX
250         This is a backport of commit v1.11-433-g37b0aee.
251         Today, practically nobody uses the GNU rx library, which, according
252         to its own website <http://www.gnu.org/software/rx/rx.html>, has
253         been "decommissioned".  Consequently, the automake-provided macro
254         AM_WITH_REGEX is not used nor required anymore.  Deprecate it, so
255         that it will be possible to safely remove it in the next major
256         automake version.
257         * m4/regex.m4 (AM_WITH_REGEX): Give a warning of the class
258         `obsolete' when this macro is used.
259         * doc/automake.texi (Public Macros): Move description of
260         `AM_WITH_REGEX' from here ...
261         (Obsolete Macros): ... to here, and declare it as obsolete
262         and "to be removed in a future version".
263         * tests/regex-obsolete.test: New test.
264         * tests/Makefile.am (TESTS): Add it.
265         * NEWS: Update.
266         See also:
267         <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00131.html>
269 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
271         maint: distribute .xz tarballs, not .bz2 ones
272         Many GNU packages are moving towards xz-compressed tarballs, so
273         let's follow suit, by dropping the creation and distribution of
274         a bzip2-compressed tarball and switching to xz instead.
275         For compatibility and safeness, we will continue to create and
276         distribute a gzip-compressed tarball as well.
277         * configure.ac (AM_INIT_AUTOMAKE): Drop `dist-bzip2', add
278         `dist-xz'.
279         * NEWS: Update
280         Suggested by Jim Meyering.
282 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
284         include: avoid "deleted .am file" problem
285         * automake.in (handle_configure): When processing `configure.am',
286         also expand `HAVE-MAKEFILE-IN-DEPS' to a boolean telling whether
287         `MAKEFILE-IN-DEPS' is empty or not.
288         * lib/am/configure.am [?HAVE-MAKEFILE-IN-DEPS?]
289         (%MAKEFILE-IN-DEPS%): New target without dependencies, to
290         avoid the "deleted .am file" problem.  Emit this only when
291         `?HAVE-MAKEFILE-IN-DEPS?' is true, to avoid generating an
292         "empty" dependency declaration.
293         * tests/deleted-am.test: Make grepping of error message stricter.
294         * tests/dist-missing-am.test: Likewise.
295         * tests/remake-deleted-am.test: New test.
296         * tests/remake-deleted-am-2.test: Likewise.
297         * tests/remake-deleted-am-subdir.test: Likewise.
298         * tests/remake-renamed-am.test: Likewise.
299         * tests/makefile-deps.test: Likewise.
300         * tests/Makefile.am (TESTS): Add the new tests.
301         * NEWS: Update.
302         Fixes automake bug#9768.
303         Report by Peter Johansson.
304         See also commit `Release-1-10-40-gd0ebf71', which fixed a similar
305         problem for .m4 files included by configure.ac.
307 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
309         maint: better use of autoconf 2.68 features
310         * configure.ac: Now that Automake requires autoconf 2.68 for its
311         own bootstrapping and build system, we can assume that PACKAGE_URL
312         gets automatically AC_SUBT'd.
314 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
316         cosmetics: use proper m4 quoting in configure.ac
317         * configure.ac (AC_CONFIG_SRCDIR): Use proper m4 quoting
318         for its arguments.
319         (AC_CONFIG_AUX_DIR): Likewise.
320         (AC_PROG_PATH): Likewise.
322 2011-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
324         tests: better handling of gettext and libtool requirements
326         This change fixes automake bug#9807.
328         Before this change, the automake testsuite only looked for the
329         `.m4' files containing libtool and gettext macros definitions in
330         the directory `${prefix}/share/aclocal' (and in the directories
331         specified by the `dirlist' file in there, if any), where ${prefix}
332         was the configure-time automake installation prefix (defaulting
333         to `/usr/local').
335         This approach had various shortcomings and disadvantages.  Let's
336         briefly describe the three major ones.
338         First, on most GNU/Linux systems, a libtool or gettext installed
339         from distro-provided packages (e.g., by dpkg on Debian/Ubuntu, or
340         by rmp on RedHat/Fedora) would have `/usr', not `/usr/local', as
341         its ${prefix}; so, trying to run the automake testsuite with a
342         simple "./configure && make && make check" would have failed to
343         execute the libtool and gettext tests on most GNU/Linux distros.
344         It's true that it was quite easy to work around this issue, by
345         creating a proper `/usr/local/share/aclocal/dirlist' file with
346         an entry pointing to `/usr/share/aclocal' (a workaround in fact
347         used by most automake developers); but the typical user wasn't
348         aware of the necessity of this trick, so the libtool and gettext
349         tests was usually skipped on testsuite runs "in the wild", thus
350         needlessly reducing coverage.
352         Second, the older testsuite behaviour made more difficult for
353         the developers to run the testsuite with non-default libtool or
354         gettext.  For example, assume the developer is working on a system
355         that has a default libtool version 1.5 installed in the /usr/local
356         hierarchy; to improve coverage, the developer installs also a more
357         modern libtool version, say 2.4, in its home directory, let's say
358         in ~/libtool-2.4; he then tries to run the automake testsuite with
359         this more modern libtool by doing an (apparently) simple:
360           $ PATH=$HOME/libtool-2.4:$PATH make check
361         But the automake testsuite would still look for libtool macros in
362         /usr/local/share/aclocal, not in ~/libtool-2.4/share/aclocal, so
363         the wrong version of the macros would be picked up, and the tests
364         would either fail spuriously or (which would be worse) pass without
365         truly covering the libtool version the developers was thinking to
366         be testing with.
367         Worse again, the automake testsuite would *unconditionally* look
368         for libtool macros in /usr/local/share/aclocal, so even something
369         like:
370           $ export ACLOCAL_PATH=$HOME/libtool-2.4/share/aclocal
371           $ PATH=$HOME/libtool-2.4:$PATH make check
372         wouldn't work.
374         Third and last, during a "make distcheck", automake is configured
375         with a ${prefix} pointing to a proper subdirectory of the build
376         directory (usually `pwd`/_inst), which gets created on-the-fly;
377         in this case, with the old approach, the automake testsuite never
378         found the libtool and gettext macro files, ans so the libtool and
379         gettext tests was *always* skipped in a "make distcheck".
381         * tests/libtool-macros.test: New helper test, looking (with the
382         help of the `libtoolize' script) for libtool macro files required
383         by most libtool tests, and making them easily accessible.
384         * tests/gettext-macros.test: New helper test, looking (with the
385         help of the `libtoolize' script) for libtool macro files required
386         by most libtool tests, and making them easily accessible.
387         * tests/defs.in: Update to make it rely on the results and setups
388         of `libtool-macros.test' and `gettext-macros.test'.
389         * tests/Makefile.am: Declare dependency of all the logs of libtool
390         tests from `libtool-macros.log', and all the logs of gettext tests
391         from `gettext-macros.log'.
392         (TESTS): Add the new tests.
394 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
396         fix: typos and grammaros in comments of the new test
397         * tests/get-sysconf.test: Fix few typos, grammaros and botched
398         wording.  Reported by Eric Blake.
400 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
402         tests: report useful system information in 'test-suite.log'
403         It has already happened various times that a user has run the
404         automake testsuite, experienced a failure, read the messages
405         telling him "See tests/test-suite.log" and "Please report to
406         bug-automake@gnu.org", and done exactly that -- sending us only
407         the contents of `tests/test-suite.log', which are usually not
408         enough to start debugging the reported failure.  So we have to
409         ask him for more details, and usually also for the `config.log'
410         file generated by configure.  It's time to fix this recurring
411         feedback inefficiency.  We do so by creating a dummy test case
412         that takes care of copying the contents of `config.log', plus
413         other useful system information, in the final `test-suite.log'.
414         * tests/get-sysconf.test: New test, gathering system information
415         and then always terminating with a SKIP, so that its output gets
416         copied in `test-suite.log'.
417         * tests/Makefile.am (TESTS): Add it.
419 2011-12-07  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
421         python: remove relics for Python 1.5 support
422         * m4/python.m4: The comments in here claim to support only
423         Python >= 2.0, yet this file still has specific support for
424         Python 1.5.  Just remove it, python 1.5 is 12 years old now,
425         and practically defunct.
426         * NEWS: Update.
427         See also commit `Release-1-10-205-gd5bec12', "Support for
428         Python 3.0, drop support for pre-2.0."
430 2011-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
432         configure: remove extraneous 'eval's from AM_RUN_LOG invocations
433         * configure.ac: Remove extra 'eval's from AM_RUN_LOG invocations;
434         for example, instead of "AM_RUN_LOG([eval $PERL --version])",
435         simply use "AM_RUN_LOG([$PERL --version])"
437 2011-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
439         configure: report TeX version in config.log
440         * configure.ac: If possible, report the version of the selected
441         TeX program; this should render the logs more informative.
443 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
445         maint: snapshots from `maint' are still development snapshots
446         The maintenance-oriented development line in the `maint' branch,
447         while being usually pretty stable and 99% backward-compatible,
448         is not always right off production-quality; but until now, the
449         Automake package version declared in configure.ac hid this fact,
450         since it appeared to be the version of a stable release (e.g.,
451         11.1).  Fix this.
452         * configure.ac (AC_INIT): Bump version to "1.11.0a".
454 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
456         configure: print proper message for test releases
457         * configure.ac: If the current release is detected to be a test
458         release or a development snapshot, print a proper warning for
459         the user.
460         * README-alpha: Delete, it's obsolete now (and in fact this file
461         hasn't been touched in eleven years, since release 1.4b or so).
462         * HACKING (Release procedure): Don't say to update README-alpha.
464 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
466         devel: help in comparing Makefile.in from different commits
467         Now that the generated Makefile.in, configure and aclocal.m4 files
468         are no longer committed in Automake's git repository, a simple
469         "git diff" or "git log" no longer shows if and how a change in
470         Automake results in changes to the Makefile.in files and/or
471         configure script of its own build system.  Still, the ability to
472         peek so easily at such differences has proved itself quite useful
473         in the past, often revealing inconsistencies and blunders, and
474         sometimes even bugs; so it would be a pity to lose that altogether.
475         With this change, we add a new maintainer recipe that re-introduces
476         much of that capability, by generating and comparing on the fly the
477         Makefile.in, configure and aclocal.m4 derived from two arbitrary
478         commits of the Automake repository.
479         * Makefile.am (autodiffs, compare-autodiffs): New phony targets.
481 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
483         repo: don't commit generated files in the git repository anymore
484         It has been quite some time since autoconf and libtool have stopped
485         committing the generated autotools files in their git repositories,
486         with no significant ill effects we're aware of.  It's true that the
487         autoconf bootstrap process has now the minor annoyance that a
488         pre-installed autoconf is required to complete it; but luckily
489         automake will not have a similar annoyance, since our bootstrap
490         script take care, through some hoops, to use the very automake and
491         aclocal versions from the current git checkout to generate the
492         required aclocal.m4 and Makefile.in files.  In fact, this has been
493         a necessity also in the past, because automake has been known to
494         use in its own build system new development features that hadn't
495         been present in any previously released automake distribution.
496         * .gitignore: Ignore configure, aclocal.m4, and all the
497         Makefile.in files.
498         * configure.ac (AC_PREREQ): New macro call, to require the
499         latest autoconf (2.68 for the moment).
501 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
503         missing: don't try to re-run tar with a munged command line
504         * lib/missing: If the default `tar' program fails with the given
505         arguments, and GNU tar is not available, don't try to re-run the
506         default `tar' with a munged command line (e.g., ditching possibly
507         unportable options), as that could be subtly alter the intended
508         semantics (and maybe even create a somewhat corrupted tarball).
509         Also, it's worth noting that the main purpose of the `missing'
510         script is to allow a non-developer to build the package in the
511         face of slightly-skewed timestamps, not to provide wrappers for
512         all the maintainer tools -- so we don't have to try too hard
513         when `missing' is just called to wrap `tar'.
514         * tests/missing-tar.test: New test.
515         * tests/Makefile.am (TESTS): Add it.
517 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
519         missing: inform the user if GNU tar is called
520         * lib/missing: If the code trying to run GNU tar is reached, it
521         means that the previous attempt to run the default tar program
522         has failed, very likely producing some error message.  At this
523         point, just running GNU tar without further comments might be
524         confusing.
526 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
528         missing: if GNU tar exists but fails when called, give up
529         * lib/missing: If the code trying to run GNU tar is reached,
530         don't continue if the invoked GNU tar program fails, as there
531         is little point in doing so (and can even be confusing and
532         counter-productive).
534 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
536         missing: miscellaneous fixlets
537         * lib/missing: Some shells, such as Solaris or FreeBSD /bin/sh,
538         warn about missing programs before performing redirections.
539         Therefore, where we have to silently check whether a program
540         exists, perform redirections on a subshell.
541         Remove redundant uses of double-quotes in variable definitions.
542         Delete an extra blank line.
544 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
546         maint: remove executable bit from automake.in
547         * automake.in: This file is not meant to be executed, only to
548         be preprocessed to create the `automake' script; so don't leave
549         it executable.
551 2011-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
553         maint: post-release version bump
554         * configure.ac, NEWS: Bump version to 1.11.2a, as per HACKING
555         suggestions.
557 2011-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
559         Stable release 1.11.2
560         * configure.ac: Bump copyright years.
561         (AC_INIT): Bump version number to 1.11.2.
562         * NEWS: Likewise.
563         * doc/automake.texi (Release Statistics): Update, as suggested
564         by "make release-stats".
566 2011-12-20  Peter Rosin  <peda@lysator.liu.se>
568         tests: fix spurious failure on systems lacking unistd.h
569         This is for automake bug#10324.
570         * tests/silent-lex-generic.test (foo.l): Add a dummy #define of
571         YY_NO_UNISTD_H, so that the generated foo.c file won't require
572         unistd.h to be present (it is not present when compiling with,
573         e.g., MSVC 9).
575 2011-12-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
577         test defs: hack to support autoconf-wrapper programs
578         * tests/defs.in ($AUTOCONF): Add a dummy `-B' option to the
579         autoconf invocation, so that, when the Debian autoconf wrapper
580         is involved, it will correctly dispatch an autoconf >= 2.50
581         instead of defaulting to autoconf 2.13.
582         ($AUTOHEADER, $AUTORECONF): Likewise, but for autoheader and
583         autoreconf respectively.
584         Reported by Bruno Haible:
585         <http://lists.gnu.org/archive/html/automake/2011-12/msg00039.html>
587 2011-12-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
589         tests: fix a minor spurious failure with FreeBSD make
590         * tests/remake-am-pr10111.test: Avoid using `#' comments in
591         makefile recipes, as these have been confusing FreeBSD make.
592         The failure was masked by the fact that this test is currently
593         expected to fail.
594         Suggested by a report from Bruno Haible.
596 2011-12-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
598         tests: make two test scripts executable
599         * tests/remake-am-pr10111.test: Make executable.
600         * tests/remake-m4-pr10111.test: Likewise.
602 2011-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
604         readme: reference webpages for automake mailing lists
605         * README: Rationalize and reorganize the (brief) description of
606         the automake mailing lists.   In particular, instead of suggesting
607         the reader to write to the `-request' addresses to subscribe to
608         mailing lists, point him to the relevant webpages, where he can
609         also subscribe via a web form.
611 2011-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
613         readme: update advice about testsuite execution
614         * README: Now that the automake testsuite uses the parallel-tests
615         driver, there is no need for the user to capture the stdout of
616         "make check" to determine which tests have failed: a detailed log
617         is automatically saved into the `tests/test-suite.log' file.
618         Since we are at it, improve the wording by dropping an extra
619         "please".
621 2011-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
623         readme: don't reference the old homepage at sources.redhat.com
624         * README: Don't reference the old homepage at sources.redhat.com,
625         which is no longer active; reference the homepage on www.gnu.org
626         instead.  See also automake bug#10157 and bug#10248.
627         * tests/README: Likewise, and remove related extra-pedantic advice
628         about copyright papers for test cases (we'll ask for those papers
629         explicitly when we think they are warranted).
631 2011-12-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
633         hacking: some more fixlets
634         * HACKING (Release Procedure): Place the list of pre-release
635         bootstrap-and-test commands on a line of its own, so it's easy to
636         select and then paste it into a terminal window.
637         Fix the explanation of "make git-release", as, since the previous
638         change, "make git-release" would simply run "make dist" rather
639         than "make distcheck".
640         Suggestion from Jim Meyering.
642 2011-12-12  Peter Rosin  <peda@lysator.liu.se>
644         * NEWS: Fix typo in 'make dist-bzip2' description.
646 2011-12-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
648         release: don't run "make distcheck" automatically
649         * Makefile.am (git-dist): The developers should test extensively
650         before finally creating the release tarball; so don't run "make
651         distcheck" on their behalf here; instead ...
652         * HACKING (Release procedure): ... state here that "make check"
653         and "make distcheck" should be run before calling "make git-dist".
655 2011-12-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
657         maint: post-release version bump
658         * configure.ac, NEWS: Bump version to 1.11.1c, as per HACKING
659         suggestions.
661 2011-12-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
663         Beta version 1.11.1b (will become 1.11.2)
664         * configure.ac (AC_INIT): Bump version number to 1.11.1b.
665         * NEWS: Likewise.
666         * doc/automake.texi (Release Statistics): Update, as suggested
667         by "make release-stats".
669 2011-12-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
671         news: fix other blunders
672         * NEWS: Remove some duplicated entries, and reorder some others,
673         and rename a subsection.  This blunders are probably due to a
674         botched merge.
676 2011-12-09  Jim Meyering  <meyering@redhat.com>
677             Stefano Lattarini  <stefano.lattarini@gmail.com>
679         dist-xz, dist-bzip2: don't hard-code -9, honor envvar settings
680         Before the present change, automake-generated `dist-xz' rule used
681         a hard-coded `xz -9'.  That was a problem because on this front,
682         xz differs from gzip and bzip2.  While the latter two don't incur
683         any run-time decompression penalty for using a higher compression
684         level, specifying -9 with xz imposes a potentially fatal virtual
685         memory requirement on any client that wants to decompress your
686         tar.xz file.
687         People have complained that a tarball compressed with -9 cannot
688         be uncompressed in a low-memory environment (wrt-based embedded).
689         Hence, instead of defaulting to -9, which is useful only for very
690         large tarballs, it defaults to -e (equivalent to -6e).  This
691         limits the default memory requirements imposed on decompressors,
692         yet still gives very good compression ratios.
693         * lib/am/distdir.am (dist-xz): Do not hard-code xz's -9: that made
694         it impossible to override.  Actually don't default to -9, either,
695         since that induced inordinately large virtual memory usage when
696         merely decompressing.  Instead, use its XZ_OPT envvar, defaulting
697         to -e if not defined.  Suggested by Lasse Collin.
698         (dist, dist-all) [?XZ?]: Likewise
699         (dist-bzip2): Similarly, do not hard-code -9, but do continue to
700         use -9 by default.  Honor the BZIP2 envvar.
701         (dist, dist-all) [?BZIP2?]: Likewise
702         * NEWS: Update.
703         * doc/automake.texi (The Types of Distributions): Describe the
704         newly enabled environment variables.
706 2011-12-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
708         * NEWS: Fix typos, grammaros and suboptimal wording.
709         Reported by Jim Meyering.
711 2011-12-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
713         maint: sync auxiliary files from upstream
714         * lib/texinfo.tex: Synced from upstream, by "make fetch".
715         * lib/config.guess: Likewise.
716         * lib/config.sub: Likewise.
718 2011-12-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
720         tests: fix spurious failures due to missing 'yywrap()' function
722         The AC_PROG_LEX Autoconf macro does not diagnose a failure to find
723         the "lex library" expected to provide a `yywrap' function (function
724         which is required to link most lex-generated programs).  On the
725         contrary, when all the link attempts (i.e., with `-ll' and `-lfl')
726         fail, configure declares that no lex library is needed, and simply
727         proceeds with the configuration process -- only for the build to
728         possibly fail later, at make time.
730         This behaviour is intended; the Autoconf manual reads:
731          ``You are encouraged to use Flex in your sources, since it is
732            both more pleasant to use than plain Lex and the C source it
733            produces is portable.  In order to ensure portability, however,
734            you must either provide a function `yywrap' or, if you don't use
735            it (e.g., your scanner has no `#include'-like feature), simply
736            include a `%noyywrap' statement in the scanner's source.''
738         This AC_PROG_LEX behaviour is causing some spurious failures of
739         the Automake testsuite in environments which lack a proper library
740         providing `yywrap' (this happens for example on Fedora-based
741         systems).   The proper workaround is to simply provide a fall-back
742         implementation of `yywrap' in our lexers.
744         See also partially-overlapping commit `v1.11-871-geb147a1' (from
745         the 'testsuite-work' branch), which was motivated by similar
746         spurious failures experienced when cross-compiling.
748         From a report by Jim Meyering:
749         <http://lists.gnu.org/archive/html/automake-patches/2011-10/msg00092.html>
751         * tests/cond35.test: Provide a dummy `yywrap' function.
752         * tests/lex3.test: Likewise.
753         * tests/silent-lex-generic.test: Likewise.
754         * tests/silent-lex-gcc.test: Likewise.
755         * tests/silent-many-generic.test: Likewise.
756         * tests/silent-many-gcc.test: Likewise.
758 2011-12-04  Paul Eggert  <eggert@cs.ucla.edu>
760         depcomp: spelling fix
761         * lib/depcomp (-h): Fix misspelling in usage diagnostic.
763 2011-11-28  Peter Rosin  <peda@lysator.liu.se>
765         tests: fix 'distcheck-override-infodir.test' on Cygwin
766         * tests/distcheck-override-infodir.test (Makefile.am): Do not add
767         any `/' between $(DESTDIR) and the following paths.  Otherwise,
768         when $(DESTDIR) is empty, the recipes will try to access files
769         with a leading double slash, which have an implementation-defined
770         interpretation (e.g., for Cygwin, they mean UNC paths).
772 2011-11-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
774         cosmetics: typofix in comments
775         * tests/remake-am-pr10111.test (Makefile.am): Fix typo in comments.
776         * THANKS: Update.
777         Reported by Krzysztof Żelechowski.
779 2011-11-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
781         coverage: undistributed '.am' and '.m4' files are diagnosed
782         The stub rules emitted to work around the "deleted header problem"
783         for `.m4' files (included by autoconf in e.g., configure.ac) and
784         for `.am' files (included by automake in e.g., Makefile.am) should
785         not prevent "make" from correctly complaining when such a required
786         file is missing from a distribution tarball.
787         * tests/dist-missing-am.test: New test.
788         * tests/dist-missing-m4.test: Likewise.
789         * tests/dist-missing-included-m4.test: Likewise.
790         * tests/Makefile.am (TESTS): Add them.
791         Suggestion by Ralf Wildenhues.
793 2011-11-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
795         coverage: required but missing '.am' and '.m4' files are diagnosed
796         The stub rules emitted to work around the "deleted header problem"
797         for `.m4' files (included by autoconf in e.g., configure.ac) and
798         for `.am' files (included by automake in e.g., Makefile.am) should
799         not prevent the remake rules from correctly erroring out when a
800         still-required file is missing.
801         * tests/deleted-am.test: New test.
802         * tests/deleted-m4.test: Likewise.
803         * tests/Makefile.am (TESTS): Add them.
805 2011-11-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
807         coverage: expose automake bug#10111 in the testsuite
808         * tests/remake-am-pr10111.test: New test, xfailing.
809         * tests/remake-m4-pr10111.test: Likewise.
810         * tests/Makefile.am (TESTS, XFAIL_TESTS): Add them.
812 2011-11-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
814         texinfo: work around Solaris 10 xpg4 shell bug in install rules
815         * lib/am/texinfos.am (install-html-am): Use an extra variable
816         indirection to work around a bug in Solaris 10 /usr/xpg4/bin/sh.
817         Bug revealed by a failure of `txinfo21.test'.  See also:
818         <http://lists.gnu.org/archive/html/bug-autoconf/2011-11/msg00005.html>
819         <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10026#23>
821 2011-11-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
823         configure: report perl version in config.log
824         * configure.ac: Report the version of the selected perl interpreter
825         in config.log; this should render the logs more informative.
827 2011-11-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
829         tests: fix spurious failure with older install-info
830         * tests/install-info-dir.test (foo.texi): Also add proper
831         `@settitle', `@dircategory' and `@direntry' directive, otherwise
832         older versions of `install-info' (e.g., 4.8) will fail to create
833         the `dir' index file in ${infodir}.
834         Problem revealed by a failure on NetBSD 5.1.
836 2011-11-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
838         maintcheck: fix spurious failure in 'color2.test'
839         * tests/color2.test: Avoid creative quoting to avoid a spurious
840         failure of the `sc_tests_Exit_not_exit' maintainer check.
842 2011-11-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
844         tests: fix spurious error in 'uninstall-fail.test' on Solaris
845         * tests/uninstall-fail.test: Solaris 10 /usr/xpg4/bin/sh can add
846         a line number before the `:' in the error messages issued by shell
847         builtins.  Account for that in our grepping of make output.
849 2011-11-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
851         tests: fix typo in 'uninstall-fail.test'
852         * tests/uninstall-fail.test: Always use `$rm_f_is_silent_on_error'
853         instead of the bogus `$rm_f_is_silent_on_failure'.
855 2011-11-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
857         tests: avoid a spurious failure of 'ltinit.test' MinGW
858         * tests/ltinit.test: Be laxer in grepping configure output, to
859         avoid spurious failures on systems which lack POSIX dynamic
860         linking (e.g., MinGW), or when cross-compiling for such systems.
861         See also commit `v1.11-855-ge9e5d4a'.
862         Report and suggestion from Peter Rosin.
864 2011-11-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
866         tests: testsuite is now safe to run with dmake in parallel mode
867         * tests/defs.in: Unset variables DMAKE_CHILD, DMAKE_DEF_PRINTED
868         and DMAKE_MAX_JOBS, which are exported by Solaris dmake when run
869         in parallel mode, and which might confuse make processes spawned
870         by our testsuite.
872 2011-11-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
874         tests: fix spurious failures w.r.t. parallel make and colorization
875         * tests/color2.test: Skip the test if the $MAKE program fails to
876         consider the standard output as a tty when spawned by `expect'.
877         This is required for make implementations, like FreeBSD make and
878         Solaris dmake, that redirect the output of recipes to temporary
879         files or pipes when run in parallel mode.  Since we are at it,
880         simplify the detection of a working `expect' program, and throw
881         in other minor simplifications.
883 2011-11-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
885         tests: fix spurious failure in 'distcheck-override-infodir.test'
886         * tests/distcheck-override-infodir.test ($required): Add
887         'install-info'.
889 2011-11-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
891         tests: avoid another failure of 'uninstall-fail.test' on Solaris
892         * tests/uninstall-fail.test: On Solaris 10, if `/bin/rm' is run
893         with the `-f' option, it doesn't print any error message when
894         failing to remove a file (due to e.g., "Permission denied").
895         Yikes.  Cater to this incompatibility, by relaxing the test when
896         a faulty `rm' is detected.
898 2011-11-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
900         tests: various minor tweakings, mostly related to AM_PROG_AR
901         * tests/alloca2.test: Ensure we don't experience a spurious failure
902         due to a missing `AM_PROG_AR' macro or a missing `ar-lib' auxiliary
903         script.
904         * tests/libtool4.test: Likewise.
905         * tests/ldadd.test: Likewise.  Since we are at it, make grepping of
906         automake stderr stricter.
907         * tests/reqd2.test: Likewise.
908         * tests/pr211.test: Ensure automake fails also with `-Wnone', since
909         the error we are testing for is an hard error, not a mere warning.
910         * tests/syntax.test: Likewise, and ensure we don't fail to other
911         errors by removing use of `lib_LTLIBRARIES' in Makefile.am.  Since
912         we are at it, make grepping of automake stderr stricter.
914 2011-11-05  Stefano Lattarini  <stefano.lattarini@gmail.com>
916         ar-lib: fix configure output for "unrecognized archiver interface"
917         * m4/ar-lib.m4: Ensure that, even when an error is hit while trying
918         to determine the archiver interface kind, the "checking archiver
919         interface" message from configure is properly terminated before
920         an error message is printed, to avoid slightly garbled output.
921         * tests/ar4.test: Enhance.
922         * tests/ar5.test: Likewise.
924 2011-11-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
926         warnings: fix buglets for portability warnings
927         * lib/Automake/ChannelDefs.pm (switch_warning): Ensure the
928         correct implications and inter-dependencies between warnings
929         in the categories `portability', `extra-portability' and
930         `recursive-portability' are respected.  Also add detailed
931         explicative comments, and references to the relevant tests.
932         * tests/dollarvar2.test: Update and extend.  Also, remove
933         some unnecessary uses of `--force' option in automake calls.
934         * tests/extra-portability3.test: New test.
935         * tests/Makefile.am (TESTS): Add it.
937 2011-11-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
939         tests: extend tests on 'extra-portability' warning category
940         * tests/extra-portability.test: Redefine `$AUTOMAKE' to ensure we
941         have complete control over the automake options.  Extend by using
942         also a setup where no `portability' warning is present (only an
943         `extra-portability' warning is).  Other minor extensions.  Remove
944         some redundant, verbose comments about the expected diagnostic.
946 2011-11-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
948         tests: fix broken backport of tests on `extra-portability' warnings
949         * tests/extra-portability2.test: Ensure all the automake invocations
950         have the warnings in the `extra-portability' category enabled.
951         Report by Peter Rosin.
953 2011-11-08  Peter Rosin  <peda@lysator.liu.se>
955         tests: fix broken backport of AM_PROG_AR tests
956         * tests/ar-lib3.test: Explicitly request -Wextra-portability
957         in order to trigger the expected error.
958         * tests/ar-lib4.test: Likewise.
960 2011-11-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
962         warnings: 'extra-portability' category is not implied by '-Wall'
963         This change is only intended for the 1.11.x series.  In automake
964         1.12, `-Wall' will be meant to enable `-Wextra-portability'.
965         * lib/Automake/ChannelDefs.pm (switch_warning): Do not enable
966         extra-portability warnings when `-Wall' is given.  Use ...
967         ($have_extra_portability ): ... this new global variable.
968         Add a trailing "1;" to avoid spurious errors upon the importing
969         of this module.
970         * tests/extra-portability.test: Update and extend.
971         * NEWS: Update.
973 2011-11-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
975         tests: various minor tweakings, mostly related to AM_PROG_AR
976         * tests/alloca.test: Adjust to new portability requirements due
977         to the new AM_PROG_AR macro.
978         * tests/discover.test: Likewise.
979         * tests/libobj3.test: Likewise.
980         * tests/pluseq7.test: Likewise.  Also, make grepping of automake
981         expected error message stricter.
982         * tests/stdlib.test: Likewise, and extend the test a bit.
983         * tests/parse.test (configure.in): Remove redundant call to
984         AC_PROG_RANLIB.
985         * tests/library2.test: Adjust to new portability requirements
986         due to the new AM_PROG_AR macro.  Also ...
987         (configure.in): ... add call to AC_PROG_CC, to ensure automake
988         really fails for the expected reason.
990 2011-11-03  Zack Weinberg <zackw@panix.com>  (tiny change)
991             Stefano Lattarini  <stefano.lattarini@gmail.com>
993         maint-mode: fix botched configure messages
994         This change fixes automake bug#9890.
995         * m4/maintainer.m4 (AM_MAINTAINER_MODE): Fix the "checking ..."
996         configure message related to the enabling/disabling of maintainer
997         mode.
998         * tests/help-maintainer.test: Renamed ...
999         * tests/maintmode-configure-msg.test: ... to this, and extended
1000         to cover the fixed bug.  Also, since we are at it, make grepping
1001         of configure help screens stricter, and throw in some few other
1002         changes to reduce code duplication and enhance readability.
1003         * tests/Makefile.am (TESTS): Update.
1004         * THANKS: Update with Zack's new e-mail address.
1005         Report and initial patch by Zack Weinberg, test cases added by
1006         Stefano Lattarini.
1008 2011-10-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1010         info: allow user to inhibit creation/update of '${infodir}/dir'
1011         With this change, we allow the user to request the install-info
1012         rules not to update the `${infodir}/dir' file, by setting the
1013         environment variable `AM_UPDATE_INFO_DIR' to the value "no".
1014         This is especially useful to distro packagers, and is a definite
1015         improvement over our previous hack of looking whether the
1016         `install-info' program was the Debian or GNU version -- hack
1017         which had been silently broken with recent versions of debian
1018         install-info BTW (probably since dpkg 1.15.4, 2009-09-06).
1019         This change fixes automake bug#9773.  See also Debian Bug#543992.
1020         * lib/am/texinfos.am: Don't look anymore at the output of
1021         `install-info --version' to decide whether to use it to update
1022         the `${infodir}/dir' or not; instead, honour the environment
1023         variable `AM_UPDATE_INFO_DIR'.
1024         * tests/install-info-dir.test: New test.
1025         * tests/Makefile.am (TESTS): Add it.
1026         * tests/defs: Also unset `AM_UPDATE_INFO_DIR', to avoid unwanted
1027         interferences from the environment.
1028         * doc/automake.texi (Texinfo): Update.
1029         * NEWS: Likewise.
1030         * THANKS: Likewise.
1031         Report by Jonathan Nieder.
1033 2011-10-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1035         deps: partially revert commit `v1.11-512-geeee551'
1036         This change partly reverts commit "Create subdirs for generated
1037         sources even when not dep tracking", of 2011-04-02.
1038         That commit had caused the bugs #8485 and #8526.  Since we are
1039         nearing the bug-fixing automake release 1.11.2, the safest policy
1040         at the moment is to just revert the problematic hunks: an older,
1041         known bug is better than a regression.
1042         * automake.in (handle_single_transform): Don't add a dirstamp
1043         dependency, even when $object is derived and lands in a subdir.
1044         * tests/Makefile.am (XFAIL_TESTS): Add lex-subobj-nodep.test,
1045         remove yacc-dist-nobuild-subdir.test.
1047 2011-10-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
1049         tests: few improvements to some `ar-lib' related tests
1051         * tests/ar-lib5a.test (Makefile.am): Also check that the target
1052         library has truly been created.
1053         (ar-lib): Use the real `ar-lib' script (mildly patched) rather
1054         than a dummy one, to ensure better "real-life coverage".  Fix
1055         botched shebang line.
1056         * tests/ar-lib5b.test: Extend the PATH variable to make the dummy
1057         `lib' script accessible, instead of explicitly calling it by its
1058         relative/absolute path.
1059         (ar-lib): Fix botched shebang line.
1060         (bin/lib): Likewise.  Also, add explicative comments, and make
1061         slightly stricter.
1063 2011-10-24  Peter Rosin  <peda@lysator.liu.se>
1065         Merge branch 'maint' into msvc
1067         * tests/subpkg-yacc.test: Adjust to new portability requirements due
1068         to the new AM_PROG_AR macro.
1070 2011-10-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
1072         dejagnu: allow the package developer to extend site.exp
1073         Fixes automake bug#7873.
1074         * lib/am/dejagnu.am (site.exp): Depend from the files listed in
1075         $(EXTRA_DEJAGNU_SITE_CONFIG), if any.  Append their contents to
1076         the generated site.exp (still preserving user edits).
1077         * doc/automake.texi (Dejagnu Tests): Update.
1078         * tests/dejagnu-siteexp-append.test: New test.
1079         * tests/dejagnu-siteexp-extend.test: Likewise.
1080         * tests/dejagnu-siteexp-useredit.test: Likewise.
1081         * tests/Makefile.am (TESTS): Update.
1082         * NEWS: Update.
1083         Suggestion by Rainer Orth.
1085 2011-10-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
1087         dejagnu: ensure 'srcdir' is defined as a relative directory
1088         This change fixes automake bug#7833.
1089         * lib/am/dejagnu.am (check-DEJAGNU): Prefer using plain $(srcdir)
1090         over calculating and using the absolute path of $(srcdir).
1091         * tests/dejagnu-relative-srcdir.test: New test.
1092         * tests/dejagnu-absolute-builddir.test: Likewise.
1093         * tests/Makefile.am (TESTS): Update.
1094         Report by Ian Lance Taylor.  Suggestions by Ralf Wildenhues.
1096 2010-12-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1098         Fix testsuite failure of check12.test without DejaGNU.
1099         * tests/check12.test: Require runtest.
1101 2010-12-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
1103         Extend and improve tests on DejaGnu support.
1104         * tests/dejagnu.test: Do not create useless dummy test script.
1105         Add trailing `:' command.  In heading comments, add reference
1106         to ...
1107         * tests/check12.test: ... this new "semantic" test, covering
1108         concurrent use of dejagnu tests, simple tests and `check-local'
1109         target.
1110         * tests/dejagnu2.test: Make test more reliable, by avoid weak
1111         grepping of make output.  Prefer `cat' over `echo' to append
1112         to configure.in.  Quote literal dots in grep regexps.  Prefer
1113         `grep -c ...' over `grep ... | wc -l'.  Make grepping of
1114         automake stderr slightly stricter.  Add trailing `:' command.
1115         * tests/dejagnu3.test: Prefer `cat' over `echo' to append to
1116         configure.in.  Check stderr of expected-to-fail "make" call.
1117         Remove extra blank lines from Makefile.am.
1118         * tests/dejagnu4.test: Prefer `cat' over `echo' to append to
1119         configure.in.  Prefer `mv -f' over plain `mv' when the target
1120         file already exists.  Avoid extra mkdir calls by creating more
1121         directories at once.  Better use of blank lines.  Check that
1122         the `*.log' and `*.sum' files are created by runtest also when
1123         "make check" fails.
1124         * tests/dejagnu7.test: Prefer `cat' over `echo' to append to
1125         configure.in.  Better use of blank lines.  Add a trailing `:'
1126         command.
1127         * tests/dejagnu6.test: Likewise, and give the dejagnu test a
1128         more descriptive name.
1129         * tests/dejagnu5.test: Likewise.  Also, simply define package
1130         name to `$me' rather than using a non-obvious sed script to
1131         extract it from `AC_INIT', and write the Makefile.am with only
1132         one command.
1133         * tests/Makefile.am (TESTS): Updated.
1135 2011-10-21  Peter Rosin  <peda@lysator.liu.se>
1137         * THANKS: Fix whitespace issue.
1139 2011-10-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
1141         tests: fix spurious failure with FreeBSD make and Yacc in VPATH
1142         * tests/subpkg.test: Some cosmetic adjustments.  Move the tests
1143         checking that $(YLWRAP) is defined and installed properly when
1144         ylwrap is in a default auxdir found in a parent package ...
1145         * tests/subpkg-yacc.test: ... into this new test, which carefully
1146         avoids to trigger the known bug#7884 (combo FreeBSD make plus Yacc
1147         plus VPATH build).
1148         * tests/Makefile.am (TESTS): Update.
1150 2011-10-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
1152         tests: avoid spurious failure in 'parallel-tests3.test'
1153         This fixes automake bug#8788.
1154         * tests/parallel-tests3.test: To ensure that the serial run of
1155         the dummy testsuite is still ongoing when the parallel run has
1156         terminated, use `kill -0', not a bare `kill'.  This will prevent
1157         a testsuite crash on NetBSD 5.1, and a testsuite hang on FreeBSD
1158         8.2.  Also, since we are at it, try harder to avoid possible
1159         hangs of the script in other unusual situations.
1161 2011-10-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1163         tests: fix spurious failures with "chatty" make implementations
1164         * tests/distcheck-missing-m4.test: On failure, some make
1165         implementations (such as Solaris make) print the whole failed
1166         recipe on standard output.  This was causing a spurious failure
1167         in the checks grepping the output from make.  Work around this.
1168         * tests/distcheck-outdated-m4.test: Likewise.
1170 2011-10-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1172         tests: fix spurious failure on fast machines
1173         * tests/aclocal-path-precedence.test: Also remove the `configure'
1174         script between different test runs, to ensure it is always remade
1175         by autoconf.  Add proper explicative comments.
1177 2011-10-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1179         tests: avoid spurious failure of 'uninstall-fail.test' on Solaris
1180         * tests/uninstall-fail.test: All the Solaris 10 shells (/bin/sh,
1181         /bin/ksh, and /usr/xpg4/bin/sh), upon failing to chdir to a
1182         directory with the `cd' builtin, print a message like:
1183           "sh: /root: permission denied"
1184         which doesn't report the `cd' builtin anywhere.  Relax the grepping
1185         of the error message accordingly.
1187 2011-10-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
1189         tests: avoid spurious failure of 'uninstall-fail.test' on Cygwin
1190         * tests/uninstall-fail.test: Be sure to really skip this test
1191         on systems that allows files to be removed from unwritable
1192         directories.  Motivated by a spurious failure on Cygwin 1.5.
1194 2011-10-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
1196         tests: fix spurious failure with autoconf 2.62
1197         * tests/aclocal-path-precedence.test: Rewrite configure.in,
1198         rather than appending to it, to avoid spurious failures (at
1199         least with autoconf 2.62) due to repeated calls to AC_INIT.
1200         Also, add package name and version arguments to AC_INIT, to
1201         avoid spurious errors from automake.
1203 2011-10-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
1205         docs: avoid using colon character inside arguments of @pxref
1206         Fixes automake bug#9753
1207         * doc/automake.texi (VPATH Builds): Avoid using colon character
1208         `:' inside arguments of @pxref, as this can cause problems in
1209         the generated `.info' files, and such an usage will be explicitly
1210         forbidden by future texinfo documentation.
1211         * THANKS: Update.
1212         Reported by Дилян Палаузов.
1214 2011-10-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
1216         parallel-tests: warn on conditional TEST_EXTENSIONS definition
1217         Before this change, automake would have still bailed out, but
1218         with a confusing error message (about an invalid redefinition
1219         of TEST_EXTENSIONS).
1220         * automake.in (handle_tests): Warn explicitly if TEST_EXTENSIONS
1221         has conditional contents.
1222         * tests/test-extensions-con.test: New test.
1223         * tests/Makefile.am (TESTS): Add it.
1224         * NEWS: Update.
1226 2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1228         parallel-tests: don't allow @substitutions@ in TEST_EXTENSIONS
1229         Even after the last commit `v1.11-476-g90bea64', the checks
1230         performed by automake on entries in $(TEST_EXTENSIONS) tried to
1231         allow for @substitited@ stuff.  This however ends up allowing
1232         quite brittle setups, which, most importantly, are of no real
1233         practical usefulness anyway.  So it's better to just disallow
1234         @substitutions@ in TEST_EXTENSIONS altogether, offering a clear
1235         error message, instead of risking weird bugs and unexpected
1236         behaviors in the generated Makefile.in.
1237         * automake.in ($TEST_EXTENSION_PATTERN): Turned from a regular
1238         expression ...
1239         (is_valid_test_extension): ... into this subroutine.  Don't allow
1240         generic @substitutions@ anymore (possibly making an exception for
1241         `@EXEEXT@' under the proper circumstances).
1242         * tests/test-extensions.test: Adjust and extend.
1244 2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1246         tests: fix spurious failure in 'insthook.test'
1247         * tests/insthook.test (Makefile.am): Add a proper `uninstall-hook'
1248         target to remove the symlink created by the `install-exec-hook'
1249         target; this prevents "make distcheck" from failing spuriously.
1250         Since we are at it, delete an extra blank line, and add a trailing
1251         `:' command.
1253 2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1255         maintcheck: fix spurious failure
1256         * lib/am/distdir.am: Use `$(infodir)', not `${infodir}', to avoid
1257         complaints from the `sc_no_brace_variable_expansions' maintainer
1258         check.
1260 2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1262         fix: make a test script executable
1263         * tests/nobase-nodist.test: Make executable.
1265 2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1267         coverage: expose automake bug#9651
1268         * tests/dist-auxfile.test: New test, xfailing.
1269         * tests/dist-auxfile-2.test: Likewise.
1270         * tests/Makefile.am (TESTS, XFAIL_TESTS): Add them.
1272 2011-10-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
1274         parallel-tests: automake error our on invalid TEST_EXTENSIONS
1275         This change fixes automake bug#9400.
1276         * automake.in (handle_tests): Bail out if a suffix specified in
1277         TEST_EXTENSIONS would produce an invalid `xxx_LOG_COMPILER'
1278         variable or an invalid suffix rule.  Before this change, automake
1279         would have issued a confusing error messages (about invalid or
1280         non-POSIX variables being defined), and in some situations would
1281         have even produced a broken `Makefile.in' file.
1282         ($TEST_EXTENSION_PATTERN): New helper variable.
1283         * doc/automake.texi (Simple Tests using parallel-tests): Document
1284         the limitations on TEST_EXTENSIONS explicitly.
1285         * NEWS: Update.
1286         * tests/test-extensions.test: New test.
1287         * tests/Makefile.am (TESTS): Update.
1289 2011-09-28  Stefano Lattarini  <stefano.lattarini@gmail.com>
1291         docs: don't suggest installing `.m4' files in hard-coded location
1292         This change fixes automake bug#7988.
1293         * doc/automake.texi (aclocal Options): State that the use of
1294         the `--print-ac-dir' option to determine the directory where
1295         third-party packages can install their `.m4' files is discouraged
1296         now.
1297         (Extending aclocal): Suggest telling the user about ACLOCAL_PATH.
1298         * THANKS: Update.
1299         Report by Peter Johansson.
1301 2011-09-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
1303         distuninstallcheck: fail also when only one file is left installed
1304         This change fixes automake bug#9579.
1305         * lib/am/distdir.am (distuninstallcheck): Be stricter in ignoring
1306         a potential `dir' file created by install-info and left installed.
1307         Also, be more careful about "this can't happen" kind of errors.
1308         (am__distuninstallcheck_listfiles): New internal helper macro.
1309         * tests/distcheck-pr9579.test: New test.
1310         * tests/distcheck-override-infodir.test: Likewise.
1311         * tests/Makefile.am (TESTS): Add them.
1312         * NEWS, THANKS: Update.
1313         Report by Nick Bowler.
1315 2011-09-28  Stefano Lattarini  <stefano.lattarini@gmail.com>
1317         maintcheck: fix usage of `cd' instead of `$(am__cd)'
1318         * lib/am/inst-vars.am (am__uninstall_files_from_dir): Use
1319         `$(am__cd)', not plain `cd'.
1321 2011-09-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
1323         uninstall: "make uninstall" before "make install" works
1324         This change fixes automake bug#9578.
1325         * lib/am/inst-vars.am (am__uninstall_files_from_dir): New internal
1326         macro, that defines a shell code fragment to uninstall files from
1327         a given directory.
1328         * lib/am/data.am (uninstall-%DIR%%PRIMARY%): Use it, to reduce code
1329         duplication and improve consistency and correctness.
1330         * lib/am/libs.am (uninstall-%DIR%LIBRARIES): Likewise.
1331         * lib/am/lisp.am (uninstall-%DIR%LISP): Likewise.
1332         * lib/am/mans.am (uninstall-man%SECTION%): Likewise.
1333         * lib/am/python.am (uninstall-%DIR%LIBRARIES): Likewise.
1334         * lib/am/scripts.am (uninstall-%DIR%SCRIPTS): Likewise.
1335         * tests/uninstall-pr9578.test: New test.
1336         * tests/uninstall-fail.test: New test.
1337         * tests/Makefile.am (TESTS): Add them.
1338         * NEWS, THANKS: Update.
1339         Report by Nick Bowler.
1341 2011-09-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
1343         tests: fix tests on aclocal search path precedences
1344         * tests/aclocal-path-precedence.test: Call `$ACLOCAL' with the
1345         proper overridden system acdir.
1347 2011-09-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1349         * NEWS: Fix typo.
1351 2011-09-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1353         docs: document planned precedence changes in aclocal search path
1354         * doc/automake.texi (Macro Search Path): Explicitly state that the
1355         lookup order for extra directories of `.m4' files will be changed
1356         in the next major release.
1357         * NEWS: Likewise.
1359 2011-09-19  Paolo Bonzini  <bonzini@gnu.org>
1360             Stefano Lattarini  <stefano.lattarini@gmail.com>
1362         aclocal: handle ACLOCAL_PATH environment variable
1363         * aclocal.in (parse_ACLOCAL_PATH): New function, parse ACLOCAL_PATH
1364         as a colon-separated list of directories to be included in the
1365         search path.
1366         * doc/automake.texi (Macro Search Path): Document new behavior and
1367         the precedence rules for various elements of the search path.
1368         * tests/aclocal-path.test: New test.
1369         * tests/aclocal-path-install.test: Likewise.
1370         * tests/aclocal-path-install-serial.test: Likewise.
1371         * tests/aclocal-path-precedence.test: Likewise.
1372         * tests/aclocal-path-nonexistent.test: Likewise.
1373         * tests/Makefile.am (TESTS): Add them.
1374         * NEWS: Update.
1375         * tests/distcheck-missing-m4.test: Extend by also checking
1376         interactions with ACLOCAL_PATH.
1377         * tests/distcheck-outdated-m4.test: Likewise, and fix a couple
1378         of botched comments since we are at it.
1380 2011-09-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
1382         tests: fix spurious failure in 'primary-prefix-valid-couples.test'
1383         * tests/primary-prefix-valid-couples.test: After commit
1384         v1.11-464-gc9dfc36, `java_JAVA' is not a valid prefix/primary
1385         combination by default anymore: one has to explicitly define
1386         $(javadir) to make it so.  So just drop `java_JAVA' from our
1387         Makefile.am  Also, since we are at it, ...
1388         (configure.in): ... remove AM_PROG_GCJ from here, as it's not
1389         really required.
1391 2011-09-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
1393         docs: deprecate JAVA primary
1394         * doc/automake.texi (Java): Deprecate the JAVA primary, stating
1395         that it will become obsolete in automake 1.12 and probably removed
1396         altogether in automake 1.13.  Reflect this in the section title,
1397         by appending the string "(deprecated feature)".
1398         (@menu, @detailmenu): Update.
1399         (Java Support with gcj): The cross-referenced support for bytecode
1400         compilation with the JAVA primary is rudimentary and deprecated.
1401         State that explicitly.
1403 2011-09-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
1405         docs: clearer distinction between `.java' with javac and with gcj
1406         * doc/automake.texi (Java support): Rename this node ...
1407         (Java support with gcj): ... to this, and change its title from
1408         "Compiling Java sources" to "Compiling Java sources using gcj".
1409         (@detailmenu, @menu, @cindex): Update and make more precise.
1410         (Java): Change the title of this node from simply "Java" to
1411         "Java bytecode compilation".
1412         (@detailmenu, @menu, @cindex): Update and make more precise.
1414 2011-09-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
1416         java: complain if java_JAVA is used but $(javadir) is undefined
1417         Fixes automake bug#8461.
1418         * automake.in (handle_java): Remove inappropriate "java" argument
1419         from the calls to `&am_install_var' and `&am_primary_prefixes'.
1420         * tests/instdir-java.test (Makefile.am): Define `$(javadir)'.
1421         * tests/javadir-undefined.test: New test.
1422         * tests/Makefile.am (TESTS): Add it.
1423         * NEWS: Update.
1425 2011-09-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
1427         cosmetics: fix various typos and grammaros
1428         * NEWS: Fix typos.
1429         * tests/py-compile-basic.test: Likewise.
1430         * tests/py-compile-basedir.test: Fix botched wording in comments.
1431         * tests/py-compile-option-terminate.test: Fix typo and incomplete
1432         comment.
1433         Suggestions by Peter Rosin.
1435 2011-09-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
1437         coverage: test interactions of `nobase_' and `nodist_'
1438         * tests/nobase-nodist.test: New test.
1439         * tests/Makefile.am (TESTS): Add it.
1441 2011-09-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
1443         java: fix various blunders in test 'java-mix.test'
1444         * tests/java-mix.test: Add missing call to `set -e'.  Fix inverted
1445         semantics (`.java' files are expected *not* to be distributed by
1446         default, not the other way round).  Fix various typos in the name
1447         of the `.java' files.  Correct other minor blunders.  Improve some
1448         comments.
1450 2011-04-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1452         java: allow both JAVA and nobase_JAVA in the same Makefile.am
1453         * automake.in (handle_java): Also strip `nobase_' from the given
1454         prefix, when needed.
1455         * tests/java-clean.test: Update and extend.
1456         * tests/java-compile-install.test: Likewise.
1457         * tests/java-no-duplicate.test: Likewise.
1458         * tests/java-sources.test: Likewise.
1459         * tests/java-noinst.test: Likewise.
1460         * tests/java-mix-dist-nodist.test: Renamed to ...
1461         * tests/java-mix.test: ... this, and extended.
1462         * tests/java-nobase.test: New test, still xfailing due to
1463         unrelated issues.
1464         * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
1466 2011-04-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
1468         java: allow both dist_JAVA and nodist_JAVA in the same Makefile.am
1469         Fixes automake bug#8434.
1470         * automake.in (handle_java): Strip `dist_' and `nodist_' from
1471         the given prefix.  Define a new internal Makefile variable
1472         `am__java_sources'.  Related adjustments.
1473         * lib/am/java.am (JAVAC, JAVAROOT, CLASSPATH_ENV): Define only the
1474         first time this am file is processed.
1475         (class%DIR%.stamp): Stamp file renamed ...
1476         (class%NDIR%.stamp): ... to this, so that the `dist_' and `nodist_'
1477         prefixes are stripped from the name of the stampfile.  Adjust
1478         declaration of dependencies by using the new automake-generated
1479         internal variable `$(am__java_sources)'.  In the rule, use `$@'
1480         as the name of the target, rather than hard-coding it.
1481         * tests/java.test: Update and extend.
1482         * tests/java-no-duplicate.test: New test.
1483         * tests/java-mix-dist-nodist.test: Likewise.
1484         * tests/java-compile-and-install.test: Likewise.
1485         * tests/java-clean.test: Likewise.
1486         * tests/java-sources.test: Likewise.
1487         * tests/Makefile.am (TESTS): Update.
1489 2011-09-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
1491         tests: fix spurious failure on fast machines
1492         * tests/aclocal-acdir.test: Avoid spurious failures due to caching
1493         issues, by cleaning the autom4te cache between all the aclocal
1494         invocations, and by always calling autoconf with the `--force'
1495         flag.
1497 2011-09-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
1499         aclocal: better URL reference in error message
1500         * aclocal.in (scan_file): In the error message about underquoted
1501         definitions, reference the automake page at `www.gnu.org', not
1502         at `sources.redhat.com'.
1504 2011-09-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
1506         coverage: distcheck-hook to catch missing/outdated *.m4 files
1507         Related to automake bug#9037.
1508         * tests/distcheck-missing-m4.test: New test.
1509         * tests/distcheck-outdated-m4.test: Likewise.
1510         * tests/distcheck-hook-m4.am: New data file, used by the new
1511         tests.
1512         * tests/Makefile.am (distcheck-m4-missing.log,
1513         distcheck-m4-outdated.log): Depend on it.
1514         (EXTRA_DIST): Distribute it.
1515         (TESTS): Add the new tests.
1517 2011-09-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
1519         aclocal: more granularity in acdir overriding
1520         Before this change, using the `--acdir' option caused aclocal to
1521         redefine both the directory of automake-provided m4 macros and the
1522         directory of third-party system-wide m4 macros.  With this change,
1523         we deprecate the `--acdir' aclocal option, and introduce two new
1524         options `--automake-acdir' and `--system-acdir', to allow for more
1525         granularity.
1526         * aclocal.in (@automake_includes, @system_includes,
1527         @user_includes): Fix and extend comments.
1528         (usage): Update.
1529         (handle_acdir_option): New function.
1530         (parse_arguments): Recognize new options `--system-acdir' and
1531         `automake-acdir', and handle `--acdir' using the new function
1532         above.  Simplify logic by assuming that the directory of
1533         third-party system-wide m4 files always exists.
1534         * tests/aclocal.in: Update to use the new options, instead of
1535         the deprecated. `--acdir'.
1536         * m4/dirlist: Move ...
1537         * m4/acdir/dirlist: ... here.
1538         * m4/Makefile.am (EXTRA_DIST): Update.
1539         (m4datadir): Rename ...
1540         (automake_acdir): ... to this.  Accordingly, ...
1541         (dist_m4data_DATA): ... rename this ...
1542         (dist_automake_ac_DATA): ... to this.
1543         (system_acdir): New, directory.
1544         (dist_system_ac_DATA): New, defined to an empty value; this will
1545         ensure that the $(system_acdir) directory will be created by
1546         "make install".
1547         * tests/aclocal.test: Remove check about the `--print-ac-dir'
1548         option of aclocal, it has been moved into ...
1549         * tests/aclocal-print-acdir.test: ... this new test, and quite
1550         extended.
1551         * tests/aclocal-acdir.test: New test.
1552         * tests/Makefile.am (TESTS): Add the new tests.
1553         * NEWS, bootstrap: Update.
1554         * doc/automake.texi (aclocal Options, Macro Search Path): Update.
1556 2011-10-21  Peter Rosin  <peda@lysator.liu.se>
1558         warnings: new 'extra-portability' category, for AM_PROG_AR
1559         * lib/Automake/ChannelDefs.pm: Register new extra-portability
1560         warning channel.
1561         (switch_warning): Turn off extra-portability if portability is
1562         turned off, and turn on portability if extra-portability is
1563         turned on.
1564         (set_strictness): Silence extra-portability for --gnits, --gnu
1565         and --foreign.
1566         * tests/extra-portability2.test: New test, checking that the
1567         extra-portability channel is silenced by --gnits, --gnu and
1568         --foreign.
1569         * doc/automake.texi (Invoking Automake): Document the new warning
1570         category and its interaction with the portability category.
1571         * tests/extra-portability.test: New test, checking the interaction
1572         between the portability and extra-portability warning categories.
1573         * automake.in (handle_libraries, handle_ltlibraries): Move the
1574         AM_PROG_AR warnings to the new extra-portability channel.
1575         * tests/ar2.test: Adjust to the new warning channel.
1576         * tests/pr300-lib.test: Likewise.
1577         * tests/pr300-ltlib.test: Likewise.
1578         * tests/pr307.test: Likewise.
1579         * tests/pr401.test: Likewise.
1580         * tests/pr401b.test: Likewise.
1581         * tests/pr401c.test: Likewise.
1582         * tests/pr72.test: Likewise.
1583         * NEWS: Likewise.
1584         * tests/Makefile.am (TESTS): Update.
1586 2011-10-21  Peter Rosin  <peda@lysator.liu.se>
1587             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1588             Stefano Lattarini  <stefano.lattarini@gmail.com>
1590         Add new 'AM_PROG_AR' macro, triggering the 'ar-lib' script.
1591         * m4/ar-lib.m4: New macro AM_PROG_AR, which locates an
1592         archiver and triggers the auxiliary 'ar-lib' script if needed.
1593         * m4/Makefile.am (dist_m4data_DATA): Update.
1594         * automake.in ($seen_ar): New variable.
1595         (scan_autoconf_traces): Set it.
1596         (handle_libraries, handle_ltlibraries): Require AM_PROG_AR for
1597         portability.
1598         * doc/automake.texi (Public Macros): Mention the new
1599         'AM_PROG_AR' macro.
1600         (Subpackages): Add AM_PROG_AR to the example.
1601         (A Library): Adjust recommendations for AR given the new
1602         AM_PROG_AR macro.
1603         * All relevant tests: Adjust to new portability requirements due
1604         to the new AM_PROG_AR macro.
1605         * tests/ar-lib2.test: New test, checking that AM_PROG_AR triggers
1606         install of ar-lib.
1607         * tests/ar-lib3.test: New test, checking that lib_LIBRARIES
1608         requires AM_PROG_AR.
1609         * tests/ar-lib4.test: New test, checking that lib_LTLIBRARIES
1610         requires AM_PROG_AR.
1611         * tests/ar-lib5a.test: New test, checking that AM_PROG_AR triggers
1612         use of ar-lib when the archiver is Microsoft lib.
1613         * tests/ar-lib5b.test: New test, checking that AM_PROG_AR triggers
1614         use of ar-lib when the archiver is a faked lib.
1615         * tests/ar-lib6a.test: New test, checking the ordering of
1616         AM_PROG_AR and LT_INIT.
1617         * tests/ar-lib6b.test: New test, checking the ordering of
1618         AM_PROG_AR and AC_PROG_LIBTOOL.
1619         * tests/ar-lib7.test: New test, checking that automake warns
1620         if ar-lib is missing.
1621         * tests/ar3.test: New test, checking that AR and ARFLAGS may
1622         be overridden by the user even if AM_PROG_AR is used.
1623         * tests/ar4.test: New test, checking that AM_PROG_AR bails out
1624         if it cannot determine the archiver interface.
1625         * tests/ar5.test: New test, checking that AM_PROG_AR runs its
1626         optional argument if it cannot determine the archiver interface.
1627         * tests/defs.in: New required entry 'lib'.
1628         * tests/Makefile.am (TESTS): Update.
1629         * NEWS: Update.
1631 2011-09-05  Peter Rosin  <peda@lysator.liu.se>
1633         * tests/amhello-binpkg.test: Add missing $EXEEXT usage.
1635 2011-09-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
1637         fix: list test 'vala-vpath.test' in XFAIL_TESTS
1638         * tests/Makefile.am (XFAIL_TESTS): Update.
1640 2011-09-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
1642         tests: simplify wrapper for aclocal
1643         * tests/aclocal.in: Remove use of $ACLOCAL_TESTSUITE_FLAGS and
1644         extra `-I' flags; they are not really required, since the file
1645         `m4/amversion.m4' is generated in the srcdir anyway.
1646         * tests/acloca10.test: Remove use of $ACLOCAL_TESTSUITE_FLAGS.
1647         * tests/acloca18.test: Likewise.
1648         * tests/defs.in: Don't nullify $ACLOCAL_TESTSUITE_FLAGS, and do
1649         not export it.
1651 2011-09-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
1653         coverage: vala support failing for VPATH from-scratch builds
1654         * tests/vala-vpath.test: New test, xfailing.
1655         * tests/Makefile.am (TESTS): Update.
1656         * THANKS: Update.
1657         From a report by Zbigniew Jędrzejewski-Szmek.
1658         Related to automake bug#8753.
1660 2011-09-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
1662         docs: report few more automake parsing limitations
1663         Partly motivated by automake bug#8360.
1664         * doc/automake.texi (General Operation): Report few more automake
1665         limitations w.r.t. parsing of unusual makefile constructs.  Related
1666         minor reorderings.
1667         * tests/doc-parsing-buglets-colneq-subst.test: New test.
1668         * tests/doc-parsing-buglets-tabs.test: Likewise.
1669         * tests/Makefile.am (TESTS): Update.
1671 2011-08-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
1673         tests: list "forgotten" test script in TESTS
1674         * tests/Makefile.am (TESTS): Also list ...
1675         * tests/java-empty-classpath.test: ... this test.  Since we are
1676         at it, remove trailing whitespace from a couple of lines.
1678 2011-08-25  Eric Blake  <eblake@redhat.com>
1680         ylwrap: fix unusual indentation whitespace
1681         * lib/ylwrap: Convert tabs to spaces.
1682         Reported by Karl Berry.
1684 2011-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
1686         * THANKS (Daniel Richard G.): Update e-mail address.
1688 2011-08-16  Daniel Richard G. <skunk@iskunk.org>  (tiny change)
1689             Stefano Lattarini  <stefano.lattarini@gmail.com>
1691         java: avoid compilation errors when CLASSPATH is empty
1692         * lib/am/java.am (CLASSPATH_ENV): When redefining `$CLASSPATH',
1693         do not append an empty component in case the previous value of
1694         CLASSPATH is empty or unset.
1695         * tests/java-empty-classpath.test: New test.
1696         * tests/Makefile.am (TESTS): Update.
1697         Fixes automake bug#9306.
1699 2011-08-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
1701         parallel-tests: no more spurious successes for FreeBSD make
1702         Work around a bug of FreeBSD make bug that was causing the
1703         automake-generated "check" target to complete with success
1704         even if some tests failed; this happened only when FreeBSD
1705         make was run in concurrent mode (as in, e.g., "make -j2
1706         check").  The bug is not present in NetBSD make.
1707         This change fixes automake bug#9245:
1708          <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9245>
1709         See also FreeBSD PR bin/159730:
1710          <http://www.freebsd.org/cgi/query-pr.cgi?pr=159730>
1711         * lib/am/check.am [%?PARALLEL_TESTS%] $(TEST_SUITE_LOG): Use a
1712         more "safe" (and apparently redundant) idiom to exit with error,
1713         so that the non-zero exit status is picked up also by FreeBSD
1714         make when it's running in concurrent mode.
1715         * NEWS: Update.
1716         * tests/check-concurrency-bug9245.test: New test.
1717         * tests/Makefile.am (TESTS): Update.
1719 2011-08-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
1721         hacking: we now require autoconf 2.68
1722         * HACKING ("Working in git"): Use autoconf and autom4te 2.68,
1723         not 2.67, in the examples.
1725 2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
1727         test defs: more environment cleanup
1728         * tests/defs.in: Also unset variables AM_COLOR_TESTS and
1729         AM_TESTS_ENVIRONMENT.
1731 2011-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
1733         tests: fix spurious failure with Solaris make
1734         * tests/distcheck-configure-flags-am.test: Avoid using `+=' too
1735         liberally with AM_DISTCHECK_CONFIGURE_FLAGS, since the line breaks
1736         so introduced, in conjunction with single quotes, might confuse
1737         Solaris make.
1739 2011-08-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
1741         maintcheck: fix maintainer-check failures, both real and spurious
1742         * tests/amhello-binpkg.test: Use "$MAKE", not bare "make".
1743         * Makefile.am (sc_perl_local): Also allow perl special variable
1744         `$~' to be localized.  And be slightly laxer in the regexp, to
1745         allow for usages like "local $_ = $foo;".
1746         (sc_tests_overriding_macros_on_cmdline): Also allow for command
1747         line overriding of the `DISABLE_HARD_ERRORS' make variable.  Try
1748         to avoid false positives for usages like "$MAKE || st=$?".
1750 2011-08-03  Bruno Haible  <bruno@clisp.org>
1752         docs: how to use '-I' option in AM_CPPFLAGS for best VPATH support
1753         * doc/automake.texi (Program Variables): Recommend -I options to
1754         both the build directory and the source directory when needed.
1756 2011-07-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1758         tests: relax a test on amhello examples to cater to Solaris tar
1759         * tests/amhello-binpkg.test: When the tar implementation in use
1760         is not GNU tar, relax the tests on tar output, to avoid spurious
1761         failures.  For example, "tar cvf ..." with GNU tar can output
1762         lines like "./usr/bin/hello" on the standard output, while with
1763         Solaris tar it can output lines like "a ./usr/bin/hello 8K" on
1764         standard output, and with Heirloom tar it can output lines like
1765         "a ./usr/bin/hello 15 tape blocks" on standard error.
1767 2011-07-15  Benoit Sigoure  <tsunanet@gmail.com>
1769         docs: add references between the 2 sections on java support
1770         * doc/automake.texi (Java Support, Java): Add cross-references.
1772 2011-07-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1774         Sync auxiliary files from upstream.
1775         * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
1776         lib/texinfo.tex: Sync from upstream.
1778 2011-07-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
1780         tests: fix weakness in 'tests-environment-backcompat.test'
1781         * tests/tests-environment-backcompat.test: Do not override the
1782         content of xfailing test `baz.test' with a "weaker" version that
1783         fails unconditionally: the test must fail only when the 'strict'
1784         pragma is in use, in order not to reduce coverage.
1786 2011-07-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
1788         docs, tests: synchronize examples on silent-rules from config.site
1789         * doc/automake.texi (Automake silent-rules Option): Reference test
1790         'silent-configsite.test' in comments.
1792 2011-07-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
1794         tests: portability fixes in tests on amhello examples
1795         * tests/amhello-binpkg.test: Don't use "tar xzf too.tag.gz" to
1796         extract a gzip-compressed tarball, that's unportable to some
1797         tar implementations; use the "gzip -dc fo.tar.gz | tar xf -"
1798         idiom instead.
1799         * tests/amhello-cflags.test: Likewise.
1800         * tests/amhello-cross-compile.test: Likewise.
1801         Suggestion from Ralf Wildenhues.
1803 2011-07-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
1805         remake: add test ensuring that slower remakes don't hang
1806         * tests/remake-subdir-long-time.test: New test.
1807         * tests/Makefile.am (TESTS): Update.
1808         Suggestion by Ralf Wildenhues.
1810 2011-07-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
1812         remake: fix outdated comment in configure.am
1813         * lib/am/configure.am: Fix comment falsified by changes in
1814         commit `v1.11-366-gbee9871'.
1815         Suggestion by Ralf Wildenhues.
1817 2011-07-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
1819         docs, tests: synchronize examples from docs to tests
1820         * tests/README (Writing test cases): Give suggestions on how to
1821         keep test cases and examples in the documentation synchronized.
1822         * doc/automake.texi: Improve or fix existing testcase-referencing
1823         comments, and add many new ones.
1824         * HACKING (Administrivia): Suggest to test complex examples and
1825         idioms from the manual.
1826         * tests/specflg8.test: Improve synchronization with the example
1827         in the manual.
1828         * tests/output11.test:Likewise.
1829         * tests/txinfo21.test:Likewise.
1830         * tests/interp.test: Likewise.  Since we are at it, and enable
1831         the `errexit' shell flag, do related changes, and add trailing
1832         `:'command.
1833         * tests/amhello-cflags.test: New test.
1834         * tests/amhello-cross-compile.test: Likewise.
1835         * tests/amhello-binpkg.test: Likewise.
1836         * tests/tests-environment-backcompat.test: Likewise.
1837         * tests/parallel-tests-log-compiler-example.test: Likewise.
1838         * tests/Makefile.am (TESTS): Update.
1840 2011-06-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1842         docs: avoid a footnote, some related rewordings and improvements
1843         * doc/automake.texi (Dist): Reword the part about automatically
1844         distributed files to avoid a footnote.  Since we are at it, extend
1845         a bit, and add an example and a reference to a relevant test case.
1847 2011-06-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1849         docs: minor cosmetic fixes
1850         * doc/automake.texi: Break few overly long lines, throughout the
1851         file.
1852         ("Simple Tests"): Move @vindex for XFAIL_TESTS to the correct
1853         position, i.e., before and not after the paragraph where it is
1854         introduced.
1855         ("Options" @item ansi2knr): Use @pxref instead of @xref.  This
1856         fixes a texinfo warning.
1857         ("Other things Automake recognizes" @item AM_C_PROTOTYPES): Use
1858         @pxref instead of @ref.
1860 2011-06-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1862         help: improve text about automatically-distributed files
1863         This change fixes automake bug#7819.
1864         * automake.in (usage): Distinguish between files that are always
1865         automatically distributed when found, and those which are only
1866         "under certain conditions".
1867         * doc/automake.texi (Basics of Distribution): Update accordingly.
1868         * tests/autodist-subdir.test: Update.
1869         * tests/autodist-no-duplicate.test: Likewise.
1870         * tests/autodist.test: Likewise.
1871         (configure.in): Remove useless call to AM_MAINTAINER_MODE.
1873 2011-06-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1875         refactor: split 'usage' subroutine in automake
1876         This change is related to automake bug#7819.
1877         * automake.in (print_autodist_files): New subroutine,
1878         extracted from ...
1879         (usage): ... this, which now uses it.
1880         * tests/autodist-no-duplicate.test: New test.
1881         * tests/Makefile.am (TESTS): Update.
1883 2011-06-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
1885         tests: fix bug in 'autodist.test'
1886         * tests/autodist.test: Avoid spurious failure due to no
1887         `defs-static' file being found in the parent directory.
1889 2011-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
1891         maintcheck: extend 'sc_tests_plain_*' checks
1892         * Makefile.am (sc_tests_plain_autom4te): New check.
1893         (sc_tests_plain_autoreconf): Likewise.
1894         (sc_tests_plain_autoheader): Likewise.
1895         (syntax_check_rules): Update.
1897 2011-06-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
1899         maintcheck: avoid few spurious failures
1900         * Makefile.am (sc_tests_plain_aclocal, sc_tests_plain_perl,
1901         sc_tests_plain_autoconf, sc_tests_plain_automake,
1902         sc_tests_plain_autoupate): Be stricter in matching an erroneous
1903         literal command, i.e., `aclocal', `automake', `perl', etc.
1905 2011-06-20  Bert Wesarg <bert.wesarg@googlemail.com>  (tiny change)
1907         check: don't use multi-line coloring for the report
1908         "less -R" can't handle multi-line coloring as it is done for the
1909         check reports of the serial and parallel testsuite, because of
1910         performance reasons.  Thus, color each line of the check report
1911         by its own.
1912         * lib/am/check.am (am__text_box): Accept colors for lines, and
1913         color each line by its own.
1914         [%?PARALLEL_TESTS%] $(TEST_SUITE_LOG): Let am__text_box handle
1915         the line coloring.
1916         [!%?PARALLEL_TESTS%] $(check-TESTS): Color each report line by
1917         its own.
1918         * THANKS: Update.
1920 2011-06-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
1922         docs: AM_DISTCHECK_CONFIGURE_FLAGS is for corner cases
1923         * doc/automake.texi (Checking the Distribution): Explain that the
1924         developers should take care of making their code buildable without
1925         requiring any special configure options, so that in general
1926         AM_DISTCHECK_CONFIGURE_FLAGS shouldn't be used.  Give an example
1927         of where its use is legitimate.
1928         Suggestions from Ralf Wildenhues and Eric Blake.
1930 2011-06-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
1932         ansi2knr: deprecate, it will go away in the next major release
1933         * doc/automake.texi: Loudly and repeatedly state that the old
1934         de-ANSI-fication features are now deprecated and will be removed
1935         in the next major Automake release.  Other related adjustments.
1936         * lib/Automake/Options.pm (_process_option_list ): Give a warning
1937         in the `obsolete' category when the `ansi2knr' option is used.
1938         * m4/protos.m4 (AM_C_PROTOTYPES): Deprecate this macro: a warning
1939         in the `obsolete' category will be emitted it if is used.
1940         * tests/ansi2knr-deprecation.test: New test.
1941         * tests/Makefile.am (TESTS): Update.
1942         * tests/ansi.test: Adjust, by calling autoconf and/or automake
1943         with the `-Wno-obsolete' flag.
1944         * tests/ansi10.test: Likewise.
1945         * tests/ansi2.test: Likewise.
1946         * tests/ansi3.test: Likewise.
1947         * tests/ansi3b.test: Likewise.
1948         * tests/ansi4.test: Likewise.
1949         * tests/ansi5.test: Likewise.
1950         * tests/ansi6.test: Likewise.
1951         * tests/ansi7.test: Likewise.
1952         * tests/ansi8.test: Likewise.
1953         * tests/ansi9.test: Likewise.
1954         * tests/cxxansi.test: Likewise.
1955         * tests/libobj8.test: Likewise.
1956         * NEWS: Update about the future planned backward-incompatibility
1957         due to the removal of de-ANSI-fication feature.
1959 2011-06-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
1961         docs: primary/prefix combination "pkglib_PROGRAMS" is now invalid
1962         * doc/automake.texi (Program Sources): pkglib_PROGRAMS is not a
1963         valid combination anymore, so don't document it.  Inconsistency
1964         introduced in commit `v1.11-373-g9ca6326'.
1966 2011-06-19  Jim Meyering  <meyering@redhat.com>
1968         docs: replace obsolete @vindex entry with a useful one
1969         * doc/automake.texi (Program Sources): Do not index obsolete
1970         pkglib_PROGRAMS here.  Do index pkglibexec_PROGRAMS.
1972 2011-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
1974         tests: optimize tests on primary/prefix mismatch for speed
1975         * tests/primary-prefix-invalid-couples.test: Partial rewrite, in
1976         order to use just a single automake invocation rather than one
1977         invocation for each invalid primary/prefix couple.  This improves
1978         the test script execution time by an order of magnitude.
1979         Since we are at it, throw in some other improvements to avoid
1980         unrelated automake warnings and failures that could potentially
1981         cause false positives w.r.t. the automake exit status.
1983 2011-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
1985         news: update w.r.t. introduction of AM_DISTCHECK_CONFIGURE_FLAGS
1986         * NEWS (Miscellaneous changes): Update.
1988 2011-06-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
1990         maintcheck: DISTCHECK_CONFIGURE_FLAGS can be defined on make cmdline
1991         * Makefile.am (sc_tests_overriding_macros_on_cmdline): It's now
1992         acceptable that the test scripts override DISTCHECK_CONFIGURE_FLAGS
1993         on the make command line.  Update comments accordingly.  Since we
1994         are at it, make the relevant grepping rules slightly tighter.
1996 2011-06-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
1998         distcheck: add support for AM_DISTCHECK_CONFIGURE_FLAGS
1999         * doc/automake.texi (Checking the Distribution): Suggest to use
2000         AM_DISTCHECK_CONFIGURE_FLAGS, not DISTCHECK_CONFIGURE_FLAGS, to
2001         define (in the top-level Makefile.am) extra flags to be passed
2002         to configure at "make distcheck" time; DISTCHECK_CONFIGURE_FLAGS
2003         should be reserved for the user.  Add proper `@vindex' directive.
2004         Document that AM_DISTCHECK_CONFIGURE_FLAGS is not honoured in a
2005         subpackage Makefile.am, but the flags in it are passed down to
2006         the configure script of the subpackage.
2007         * lib/am/distdir.am (distcheck): Also pass the flags in
2008         $(AM_DISTCHECK_CONFIGURE_FLAGS) to the configure invocation.
2009         Update comments.
2010         * tests/defs.in.test (AM_DISTCHECK_CONFIGURE_FLAGS,
2011         DISTCHECK_CONFIGURE_FLAGS): Unset in case they are exported in
2012         the environment, they might improperly influence our testsuite.
2013         * tests/distcheck-configure-flags.test: New test.
2014         * tests/distcheck-configure-flags-am.test: Likewise.
2015         * tests/distcheck-configure-flags-subpkg.test: Likewise.
2016         * distcheck-hook.test: Likewise.
2017         * distcheck-hook2.test: Likewise.
2018         * tests/Makefile.am (TESTS): Update.
2019         Closes automake bug#8784.
2021 2010-06-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
2023         docs: better documentation for silent make rules
2024         * doc/automake.texi (Options): Detailed description of the
2025         automake option `silent-rules' moved from here ...
2026         (Silent Make): ... into this new chapter, expanded, improved,
2027         and subdivided into ...
2028         (Make verbosity, Tricks For Silencing Make,
2029         Automake silent-rules Option): ... these new sections.
2030         (@menu, @detailmenu): Update.
2031         * tests/silent-configsite.test: New test, checking that the
2032         user can control default mode of silent-rules from config.site,
2033         as is documented in the manual.
2034         * tests/Makefile.am (TESTS): Updated.
2036 2011-06-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
2038         Warnings about primary/prefix mismatch fixed and extended.
2039         * automake.in (%standard_prefix): Add `doc' and `locale'.
2040         Rename `pkgdatadir' to `pkgdata'.  Similarly for`pkglibdir',
2041         `pkgincludedir' and `pkglibexecdir'.
2042         (handle_programs): List `pkglibexec', not `pkglib', among the
2043         prefixes valid for the `PROGRAMS' primary.
2044         (handle_data): List also `doc' among the prefixes valid for
2045         the `DATA' primary.  This is required by automake's own build
2046         system.
2047         * tests/dirforbid.test: Test removed, superseded by ...
2048         * tests/primary-prefix-invalid-couples.test: ... this new test.
2049         * tests/primary-prefix-valid-couples.test: New test.
2050         * tests/primary-prefix-couples-documented-valid.test: Likewise.
2051         * tests/primary-prefix-couples-force-valid.test: Likewise.
2052         * tests/java3.test: Adjusted, and extended a bit.
2053         * tests/Makefile.am (TESTS): Updated.
2054         * NEWS: Updated.
2055         From a report by Eric Blake.
2057 2011-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
2059         test defs: new function 'fatal_', for hard errors
2060         Before this patch, the only way offered by tests/defs to
2061         properly signal a hard error was the `framework_failure_'
2062         function.  But the error message issued by that function,
2063         as its name would suggest, refers to a set-up failure in the
2064         testsuite, while hard errors can obviously also be due to
2065         other reasons.  The best way to fix this inconsistency is to
2066         introduce a new function with a more general error message.
2067         Inspired by a recent similar change to Gnulib's tests/init.sh.
2068         * tests/defs.in (fatal_): New function.
2069         * tests/README (Section "Writing test cases" subsection "Do"):
2070         Suggest the use of `fatal_', not of `framework_failure_', for
2071         generic hard errors.  The latter should be reserved for "real"
2072         set-up failures.
2074 2011-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
2076         py-compile: '--' and non-option arguments terminate the option list
2077         * lib/py-compile: Any non-option argument, or the special `--'
2078         argument, now explicitly terminates the list of options.
2079         * tests/py-compile-option-terminate.test: New test.
2080         * tests/Makefile.am (TESTS): Update.
2081         * NEWS: Update.
2083 2011-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
2085         py-compile: complain on unrecognized options
2086         * lib/py-compile: Complain on unrecognized options.  Don't be too
2087         lax in matching `--help' and `--version' options.
2088         * tests/py-compile-usage.test: Extend accordingly.
2089         * NEWS: Update.
2091 2011-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
2093         py-compile: normalize error and help messages
2094         * lib/py-compile: Now error messages do not begin with a capital
2095         letter, nor end with a period, as per GNU standards.  Prepend the
2096         error messages with the name of the script, not with its path.
2097         When an invalid usage is recognized, always display the customary
2098         message "Try `py-compile --help' ..." on a line of its own.
2099         ($me): New variable, containing the name of the
2100         program, i.e., `py-compile'.  Use it throughout.
2101         (usage_error): New function, used to display error messages about
2102         invalid usage.
2103         * tests/py-compile-usage.test: Extend and tighten accordingly.
2105 2011-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
2107         python tests: add "unit tests" on py-compile
2108         * tests/py-compile-basic.test: New test.
2109         * tests/py-compile-basic2.test: New test.
2110         * tests/py-compile-basedir.test: Likewise.
2111         * tests/py-compile-destdir.test: Likewise.
2112         * tests/py-compile-env.test: Likewise.
2113         * tests/py-compile-usage.test: Likewise.
2114         * tests/Makefile.am (TESTS): Update.
2115         Tested with python 2.0.1, 2.4.6, 2.6.6, 2.7.1, and 3.1.3.
2117 2011-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
2119         py-compile: the '--destdir' option now accepts a blank argument
2120         * lib/py-compile (Option parsing): Do not count an empty argument
2121         to `--destdir' or `--basedir' as a missing argument.
2122         * lib/python.am: Simplify accordingly, passing the `--destdir'
2123         option to py-compile unconditionally, even if `$(DESTDIR)' is
2124         empty.
2125         * NEWS: Update.
2127 2011-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
2129         python: run the 'py-compile' script with $(SHELL)
2130         * lib/python.am (install-%DIR%PYTHON): Run each instance of
2131         py-compile using $(SHELL).  Since we are at it, break overly
2132         long lines.
2133         (am__py_compile): New variable, to reduce code duplication.
2135 2011-06-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
2137         maintcheck: fix some failures, extend some checks
2138         * Makefile.am (sc_diff_automake_in_automake): Update, as we
2139         now expect 9 lines, not 8, to be changed from `automake.in'
2140         to `automake'.
2141         (sc_diff_aclocal_in_aclocal): New maintainer check, similar to
2142         the above, and checking that only 10 lines are changed from
2143         `aclocal.in' to `aclocal'.
2144         (syntax_check_rules): Update.
2145         (sc_tests_Exit_not_exit): Exempt self tests `self-check-*.test'
2146         from this check, as they can legitimately use the bare `exit'
2147         builtin in various places.
2148         * doc/automake.texi (Python): Remove stray `@' from the end of
2149         a line.  Typo introduced in commit `v1.11-312-g5bf7af6'.
2150         * tests/depcomp8a.test: Pass DISTCHECK_CONFIGURE_FLAGS to make
2151         from the environment rather than from the command line, to
2152         pacify the `sc_tests_overriding_macros_on_cmdline' maintainer
2153         check.
2154         * tests/depcomp8b.test: Likewise.
2156 2011-05-29  Stefano Lattarini  <stefano.lattarini@gmail.com>
2158         remake: behave better with non-GNU make in subdirectories
2159         Currently, with every decent make program, it is possible to
2160         rebuild out-of-date autotools-generated files with a simple
2161         "make Makefile" -- but for this to work reliably with non-GNU
2162         make implementations, the command must be issued from the
2163         top-level directory.  This patch removes such limitation.
2164         * lib/am/configure.am (am--refresh): Depend on `%MAKEFILE%'.
2165         * tests/defs.in (using_gmake): New function, backported from the
2166         `master' branch (and simplified).
2167         * tests/remake-subdir.test: New test.
2168         * tests/remake-subdir2.test: Likewise.
2169         * tests/remake-subdir-gnu.test: Likewise.
2170         * tests/remake-subdir-from-subdir.test: Likewise.
2171         * tests/Makefile.am (TESTS): Update.
2173 2011-05-29  Stefano Lattarini  <stefano.lattarini@gmail.com>
2175         automake, aclocal: honour configure-time AUTOCONF and AUTOM4TE
2176         Currently, the Automake's own configure script allow definition
2177         of AUTOCONF and AUTOM4TE, expected to point respectively to an
2178         autoconf and autom4te programs.  But while these definitions are
2179         honoured in the Automake's build systems and test suite, they
2180         were *not* honoured in the generated `automake' and `aclocal'
2181         scripts.  This behaviour, apart from being wrong in that it does
2182         not allow the user enough freedom in choosing his tools, also
2183         caused inconsistencies in the test suite, brining to spurious
2184         failures.
2185         Problem reported by Graham Reitz on the automake list; see thread:
2186         <http://lists.gnu.org/archive/html/automake/2011-05/msg00022.html>
2187         * automake.in ($traces): Use `@am_AUTOCONF', not simply `autoconf'.
2188         * aclocal.in ($traces): Use `@am_AUTOM4TE', not simply `autom4te'.
2189         * Makefile.am (do_subst): Substitute also `@am_AUTOCONF' and
2190         `@am_AUTOM4TE'.
2191         * NEWS: Update.
2192         * THANKS: Update.
2194 2011-05-29  Stefano Lattarini  <stefano.lattarini@gmail.com>
2196         build: the user can override AUTOM4TE, AUTORECONF and AUTOUPDATE too
2197         Our build system allows the user to override AUTOCONF and AUTOHEADER
2198         at configure time, and honours these overrides in our testsuite.
2199         But it didn't do the same with AUTOM4TE, AUTORECONF and AUTOUPDATE.
2200         This change fixes that inconsistency.
2201         * configure.ac (am_AUTOM4TE, am_AUTOUPDATE, am_AUTORECONF): New
2202         AC_SUBSTitutions.  Update comments.
2203         * tests/defs.in ($AUTOUPDATE): Default to `@am_AUTOUPDATE@' now.
2204         ($AUTOM4TE): New variable, defaulting to `@am_AUTOM4TE@'.
2205         ($AUTORECONF): New variable, defaulting to `@am_AUTORECONF@'.
2206         * doc/Makefile.am ($(srcdir)/amhello-1.0.tar.gz): Update.
2208 2011-05-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2209             Stefano Lattarini  <stefano.lattarini@gmail.com>
2211         tests/README: fix example about `make -e' usage
2212         * tests/README (Section "Writing test cases" subsection "Do"): When
2213         some variable is never initialized in the Makefile, `-e' is not
2214         necessary in order to override it.  DESTDIR is such a variable: we
2215         ensure that we do not ever initialize it.  And as such, it is quite
2216         portable to use:
2217           $ make DESTDIR=/foo/bar install
2218         and in fact, quite widely used.
2219         So our example about when `make -e' is required, which references
2220         the `DESTDIR' variable, is poorly chosen, if not downright wrong.
2221         Rewrite it to use `prefix' as the overridden variable instead.
2223 2011-05-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
2225         parallel-tests: stricter checks on DISABLE_HARD_ERRORS support
2226         * tests/parallel-tests-harderror.test: New test, doing more
2227         in-depth checks on DISABLE_HARD_ERRORS.
2228         * tests/parallel-tests.test: Remove tests on DISABLE_HARD_ERRORS,
2229         now redundant.
2230         * tests/Makefile.am (TESTS): Update.
2232 2011-05-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
2234         testsuite: avoid re-running few tests with 'parallel-tests' option
2235         Some tests in our testsuite use the 'simple-tests' driver only
2236         marginally, or simply as a mean to conveniently check unrelated
2237         invariants.  It makes little sense to force these tests to also
2238         run with the 'parallel-tests' Automake option active, as doing so
2239         offers no real gain in coverage, while often causing a measurable
2240         overhead in execution time (for an already too-slow testsuite).
2241         * tests/pr401.test (parallel_tests): Define to "no", to prevent
2242         the generation of a sibling test script using the 'parallel-tests'
2243         driver.
2244         * tests/pr401b.test: Likewise.
2245         * tests/pr401c.test: Likewise.
2247 2011-05-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
2249         testsuite: allow tests to avoid the use of 'parallel-tests' option
2250         * tests/gen-parallel-tests: Do not generate "siblings" for tests
2251         that explicitly define the `parallel_tests', whether to "yes" or
2252         to any other value.  Extend heading comments to give a rationale
2253         for this behaviour.
2254         * tests/README: Update.
2256 2011-05-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
2258         tests/README: update obsoleted advice
2259         * tests/README (Section "Writing test cases" subsection "Do"):
2260         Do not suggest to use the `*-p.test' pattern for the names of
2261         hand-written tests which use the `parallel-tests' Automake option.
2262         Not only is this not respected by the existing tests, but it is
2263         more likely to cause conflicts with auto-generated tests.
2264         So, suggest to *avoid* using the `*-p.test' pattern in names
2265         of hand-written tests instead.
2266         (Section "Writing test cases" subsection "Do not"):  When
2267         suggesting not to override Makefile variables using command
2268         line arguments, do not use the badly outdated variables `U'
2269         and 'ANSI2KNR' in the example; instead, use the more common
2270         and typical `DESTDIR'.
2272 2011-05-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
2274         test defs: rename requirement 'non-cross' -> 'native'
2275         * tests/defs.in (non-cross): Rename requirement ...
2276         (native): ... to this, which is clearer and fits the
2277         existing lingo better.
2278         Suggestion by Ralf Wildenhues.
2280 2011-05-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
2282         testsuite: be more cross-compile friendly
2283         * tests/defs.in (cross_compiling): New subroutine.
2284         (am__tool_prefix): New internal variable.
2285         (gcc, g++, gcj): Force the use of the correct "tool prefix"
2286         when cross compiling.
2287         (gfortran, g77, non-cross): New requirements.
2289 2011-05-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
2291         check: document and test $(TEST_SUITE_LOG) overriding
2292         * doc/automake.texi (Simple Tests using parallel-tests): Explain
2293         how and why TEST_SUITE_LOG can be overridden at runtime.
2294         * tests/parallel-tests-log-override-1.test: New test, check that
2295         the newly documented idiom and similar usages are truly supported.
2296         * tests/parallel-tests-log-override-2.test: Likewise.
2297         * tests/parallel-tests-log-override-recheck.test: Likewise.
2298         * tests/Makefile.am (TESTS): Update.
2300 2011-05-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
2302         tests: fix spurious failure of txinfo21.test on FreeBSD
2303         * tests/txinfo21.test: Use the `is_newest' subroutine instead of
2304         the `ls -t' hack to to determine whether a file has been updated.
2305         This is required because at least FreeBSD `ls' do not sort files
2306         with the same timestamp in alphabetical order when using the `-t'
2307         option.
2309 2011-05-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
2311         tests defs: allow requirements for compilers (mostly dummy)
2312         Most of the new requirements that are now accepted in `$required'
2313         as consequence of this patch are still dummy.  They are planned
2314         to be implemented only in master (or in some derived branch), but
2315         having them here (even just as no-op) will allow for an easier
2316         integration/backporting of potential new testcases.
2317         * tests/defs.in (cc, c++, fortran, fortran77): New requirements,
2318         still dummy.
2319         (flex): New requirement, picking LEX for configure.
2320         (lex): New requirement, alias for `flex'.  A more appropriate
2321         implementation, looking for a generic `lex' program, will follow
2322         in the future.
2323         (yacc): New requirement, alias for `bison'.  A more appropriate
2324         implementation, looking for a generic `yacc' program, will follow
2325         in the future.
2327 2011-04-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
2329         tests: fix spurious failure in a test on TESTS (VPATH-related)
2330         * tests/check-tests-in-builddir.test: When not using the
2331         parallel-tests option, do not check that VPATH components are
2332         not present in the displayed test name, since the simple-tests
2333         driver do not try to strip them.
2335 2011-04-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
2337         test: self check subroutines for skipping/failing of tests
2338         * tests/self-check-report.test: New test.
2339         * tests/Makefile.am (TESTS): Update.
2341 2011-04-23  Jim Meyering  <meyering@redhat.com>
2342             Stefano Lattarini  <stefano.lattarini@gmail.com>
2344         test defs: new subroutines for test skipping/failing
2345         * tests/defs.in (Exit): Move definition of this function earlier.
2346         (warn_, skip_, fail_, framework_failure_): New functions, inspired
2347         to the homonyms in gnulib's tests/init.sh.
2348         ($stderr_fileno_): New global variable, used by the new functions
2349         above.
2350         * tests/README: Updated.
2351         From a suggestion by Ralf Wildenhues.
2353 2011-04-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
2355         tests: fix typo (copy & paste blunder) in heading comment
2356         * tests/maintclean-vpath.test: Correctly refer to the sister test
2357         as `maintclean.test', not as `maintclean-vpath.test'.
2359 2011-04-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
2361         tests: remove redundant test `mclean.test'
2362         * tests/mclean.test: Remove, it's a weak grepping test completely
2363         superseded by the much more complete `maintclean.test'.
2364         * tests/Makefile.am (TESTS): Update.
2366 2011-04-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
2368         testsuite: more environment sanitization
2369         * tests/defs.in: Sanity check: abort if any of `parallel_tests'
2370         or `required' is in the environment.
2371         ($sed_unindent_prog): Initialize to empty, to avoid interferences
2372         from the environment.
2373         * tests/self-check-me-in-env.test: Renamed to ...
2374         * tests/self-check-env-sanitize.test: ... this, and extended.
2375         * tests/Makefile.am (TESTS): Update.
2376         (TESTS_ENVIRONMENT): Unset variables `parallel_tests' and
2377         `required'.  Adjust comments.
2379 2011-04-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
2381         tests: don't allow `$me' to be overridden from the environment
2382         * tests/defs.in: Sanity check: abort if $me is in the environment.
2383         * tests/self-check-me-in-env.test: New test.
2384         * tests/Makefile.am (TESTS_ENVIRONMENT): Unset variable `me'.
2385         (TESTS): Update.
2386         Suggestion by Ralf Wildenhues.
2388 2011-04-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
2390         test defs: allow overriding of `$me'
2391         * tests/defs.in ($me): Allow overriding by the including test
2392         script.  Add some explicative comments.
2394 2011-04-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
2396         depcomp tests: don't reject slower dependency extractors
2397         * tests/depcomp8b.test: Add the `--enable-dependency-tracking'
2398         option to `configure' invocations, so that slower dependency
2399         extractors are not rejected.
2400         * tests/depcomp8a.test: Likewise.  Also ...
2401         (foo.c): ... since we are at it, fix spacing to be consistent
2402         with GNU coding standards.
2404 2011-04-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
2406         m4: add missing serial numbers to a few files
2407         Related to automake bug#8483.
2408         * m4/amversion.in: Add serial number.
2409         * m4/auxdir.m4: Likewise.
2410         * m4/gcj.m4: Likewise.
2411         * m4/install-sh.m4: Likewise.
2412         * m4/mkdirp.m4: Likewise.
2413         * m4/python.m4: Likewise.
2414         * m4/runlog.m4: Likewise.
2415         * m4/strip.m4: Likewise.
2416         * m4/upc.m4: Likewise.
2418 2011-04-16  Jim Meyering  <meyering@redhat.com>
2420         depcomp: correct invalid sed invocation
2421         * lib/depcomp: Insert missing -e before '/:$/d'.
2422         Otherwise, that use of sed would treat '/:$/d' as a file name.
2424 2011-04-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
2426         maintainer check: quote literal `$' in Makefile rule
2427         * Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$'
2428         character in double-quoted string.  Fix a bug in which the rule
2429         emitted an erroneously empty substring in its error message.
2431 2011-04-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
2433         coverage: test for automake bug#8485 (known regression)
2434         * tests/yacc-dist-nobuild-subdir.test: New test.
2435         * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
2437 2011-04-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
2439         test defs: define default $distdir (help reducing duplication)
2440         * tests/defs.in ($distdir): New variable, might be used in
2441         testcases checking distribution-related features.
2442         * tests/pr9.test: Use it.
2443         * tests/subdir9.test: Likewise.
2444         * tests/vtexi3.test: Add comment explaining why we redefine
2445         $distdir in this test.
2447 2011-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
2449         depcomp: fix bugs in tests and in the depcomp script
2450         * lib/depcomp (gcc): Remove duplicated `-e' from sed invocation.
2451         * tests/depcomp10.test: Make it executable.  Fix a blunder that
2452         has left part of an intended comment not prefixed by `#', thus
2453         causing shell syntax errors.  In this same comment, break a
2454         too-long reported error message on multiple lines, for clarity.
2455         Add reference to the relevant bug report.  Add a comment which
2456         explains why the test result 'skipped' if the first "make" call
2457         fails.  Add other useful comments.
2458         * tests/depcomp9.test: Slightly improve comments.
2460 2011-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2462         Fix hp depmode for VPATH builds with GNU make.
2463         * lib/depcomp: Be sure to remove VPATH-prefixed object from
2464         dependency output when creating stub rule.
2465         * tests/depcomp10.test: New test.
2466         * tests/Makefile.am (TESTS): Update.
2467         * NEWS: Update.
2468         Report by Bruno Haible.
2470 2011-04-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
2472         test defs: fix 'javac' requirement for older JDK versions
2473         The Java compiler from JDK 1.5 (and presumably earlier versions)
2474         cannot handle the `-version' option by itself; and while it does
2475         print the version number, it then errors out with an usage error:
2476           $ javac -version
2477           javac 1.5.0_22
2478           javac: no source files
2479           Usage: javac <options> <source files>
2480           ...
2481         Luckily, adding the `-help' option to the `javac' invocation
2482         seems to fix this problem.
2483         * tests/defs.in (javac): Pass also the `-help' option to the
2484         `javac' program.  Add a comment explaining why it is needed.
2485         Report from Ralf Wildenhues.
2487 2011-04-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
2489         test defs: new requirement for the default java compiler
2490         * tests/defs.in (for tool in $required): New requirement 'javac'.
2491         * tests/java.test: Use it instead of ad-hoc configure check.
2492         * tests/java-check.test: Likewise.
2493         * tests/instfail-java.test: Likewise.
2494         * tests/instdir-java.test: Likewise.
2496 2011-04-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
2498         java: check_JAVA does not cause compilation by "make all" anymore
2499         Fixes automake bug#8234.
2500         * automake.in (handle_java): Make stamp of class files built from
2501         java sources in $(check_JAVA) a dependency of `check' target, not
2502         `all' target.
2503         * tests/java-check.test: New test.
2504         * tests/Makefile.am (TESTS): Update.
2505         * NEWS: Update.
2506         * THANKS: Update.
2507         Report from Petteri Räty.
2509 2011-04-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2511         Clarify regex code in depcomp.
2512         * lib/depcomp: Add comment why we don't need regex-escaping here.
2513         Suggested by Stefano Lattarini.
2515 2011-04-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2517         Fix makedepend depmode for VPATH builds.
2518         * lib/depcomp [makedepend]: Remove any VPATH prefix from the
2519         object file name, so a rebuild doesn't attempt to update the
2520         .Po files in the source tree.
2521         * tests/depcomp9.test: New test.
2522         * tests/Makefile.am (TESTS): Update.
2523         * NEWS: Update.
2525 2011-04-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
2527         tests: fix timestamp-related failures
2528         Fixes automake bug#8365.
2529         * tests/aclocal6.test: Sleep before modifying m4 files that should
2530         trigger remake rules.  Remove incorrect/obsoleted comments.
2531         * tests/subdir5.test: Likewise, and extend a bit.
2532         * tests/subdir8.test: Likewise.
2533         * tests/pr8365-remake-timing.test: New xfailing test.
2534         * tests/Makefile.am (TESTS): Update.
2535         Report from Sam Steingold.
2537 2011-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2539         Create subdirs for generated sources even when not dep tracking.
2540         * automake.in (handle_single_transform): If $object is derived
2541         and lands in subdir, be sure to output a dirstamp dependency.
2542         * tests/yacc5.test: Avoid falsely matching the dirstamp
2543         dependency when grepping for a rule.
2544         * tests/lex-subobj-nodep.test: New test.
2545         * tests/Makefile.am (TESTS): Update.
2546         * THANKS: Update.
2547         Report by Ignacy Gawedzki.
2549         Fix locale issue in check-exported-srcdir.test.
2550         * tests/check-exported-srcdir.test: Reformulate glob to not fail
2551         in a locale that ignores or interleaves character case.
2553 2011-04-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
2555         docs: better visibility for aclocal in the index
2556         * doc/automake.texi (@menu): Rename title for entry 'configure'
2557         from "Scanning configure.ac or configure.in" to the more precise
2558         "Scanning configure.ac, using aclocal".
2559         (@detailmenu): Adjust.
2560         (@node configure): Adjust, and extend @cindex calls accordingly.
2561         * THANKS: Update.
2562         From a report by Maynard Johnson.
2564 2011-03-30  Stefano Lattarini  <stefano.lattarini@gmail.com>
2566         tests: improve tests on "maintainer-clean" target
2567         * tests/aclocal6.test: Move checks related to "maintainer-clean"
2568         functionalities into ...
2569         * tests/maintclean-vpath.test: ... this new test.
2570         * tests/maintclean.test: Update heading comments.  Extend to also
2571         test subdirs.  Remove useless disabling of YACC.  Fix m4 quoting
2572         in configure.in.  Add a trailing `:' command.  Remove extra blank
2573         lines.
2574         * tests/Makefile.am (TESTS): Update.
2576 2011-03-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2578         tests: fix unindent to use printf not echo for script.
2579         * tests/defs.in: Use printf rather than echo, as the latter may
2580         interpret the backslashes in the sed script.  Fixes test
2581         failures with dash as /bin/sh.
2583 2011-03-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
2584             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2586         maintcheck: look for problematic names of testcases
2587         The configure.in stub created by default by `tests/defs' obtains
2588         the first argument of AC_INIT from the test name, and this can
2589         cause some supported autoconf versions to fail with a spurious
2590         error if that test name contains the name of an m4 or m4sugar
2591         builtin or macro (e.g., `defn' or `m4_undefine').
2592         See for example the bug fixed by commit v1.11-287-g1325a8a.
2593         This change add a maintainer check that warns about test names
2594         which are possibly problematic in this regard.
2595         * Makefile.am (sc_test_names): New maintainer-check target.
2596         (syntax_check_rules): Add it.
2597         (m4_builtins): New helper variable.
2598         (TESTS): Updated according to the following renamings.
2599         * tests/include.test: Renamed ...
2600         * tests/hdr-vars-defined-once.test: ... to this.
2601         * tests/sinclude.test: Renamed ...
2602         * tests/m4-inclusion.test: ... to this, and simplified
2603         accordingly.
2604         * tests/include2.test: Renamed ...
2605         * tests/dist-included-parent-dir.test: ... to this, for
2606         consistency.
2608 2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
2610         tests: fix bug in alloca*.test
2611         * tests/alloca.test: Make grepping of automake stderr stricter,
2612         add a trailing `:' command; also, add AC_PROG_CC to configure.in,
2613         and create a dummy alloca.c file, to ensure that we fail for the
2614         proper reason.
2615         * tests/alloca2.test: Likewise.  Also, look for LT_INIT, not
2616         AC_PROG_LIBTOOL, in the error message (bug introduced with commit
2617         v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES
2618         primary is used").
2619         From a report by Patrick Welche.
2621 2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
2623         tests: fix bug (comments-in-var-defn.test + autoconf 2.62)
2624         * tests/comments-in-var-defn.test: The configure.in stub created
2625         by default, which has the AC_INIT first argument obtained by the
2626         test name, causes autoconf 2.62 to fail with a spurious error
2627         message like: "configure.in:1: error: defn: undefined macro:".
2628         Thus, to prevent this, the test is renamed to ...
2629         * tests/comments-in-var-def.test: ... this.
2630         * tests/Makefile.am (TESTS): Updated.
2632 2011-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
2634         cosmetics: convert encoding from ISO-8859 to UTF-8
2635         * ChangeLog.03: Convert encoding to UTF-8.
2636         * ChangeLog.96: Likewise.
2637         * ChangeLog.98: Likewise.
2638         * NEWS: Likewise.
2639         * TODO: Likewise.
2641 2011-03-01  Peter Rosin  <peda@lysator.liu.se>
2643         test defs: unindent without temporary file
2644         * tests/defs.in (commented_sed_unindent_prog): Commented Sed program
2645         that strips the "proper" amount of leading whitespace.
2646         (unindent): Lazily strip comments from the above program and use it
2647         to unindent without using a temporary file.
2649 2011-02-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
2651         libtool: suggest LT_INIT if LTLIBRARIES primary is used
2652         When the LTLIBRARIES primary was used, but $(LIBTOOL) wasn't
2653         defined, automake suggested to add a call to AC_PROG_LIBTOOL
2654         in configure.ac.  But that macro is deprecated since Libtool
2655         version 1.9b (2004-08-29), in favor of the newer LT_INIT.  So
2656         suggest the use of this latter macro instead.
2657         * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL'
2658         with 'LT_INIT', not with 'AC_PROG_LIBTOOL'.
2659         * tests/libtool4.test: Adjust and extend.  Also, add a call to
2660         macro AC_PROG_CC in configure.in, to help ensuring that automake
2661         does not fail for the wrong reasons.
2662         * tests/ltinit.test: New test, ensure that automake's libtool
2663         support works with LT_INIT-based interface.
2664         Thanks to Jack Kelly for the suggestion.
2666 2011-02-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
2668         tests: tempdirs with restrictive permissions are cleaned correctly
2669         Before this change, the removal of a temporary test directory
2670         containing subdirectories with restrictive permissions (such as
2671         'r--r--r--') could fail.
2672         * tests/defs: Ensure that all the subdirectories of a temporary
2673         test directory have the 'read', 'write' and 'execute' bits set,
2674         before trying to remove it with `rm -rf'.
2675         * tests/Makefile.am (clean-local-check): Likewise.
2677 2011-02-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
2678             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2680         test defs: add subroutine for input unindenting
2681         * tests/defs.in (unindent): New subroutine.
2683 2011-02-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
2685         python: report the 'PYTHON' influential environment variable
2686         * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
2687         * doc/automake.texi (Python): Update and extend.
2688         * tests/help-python.test: New test.
2689         * tests/Makefile.am (TESTS): Update.
2690         * THANKS (Jack Kelly): Update e-mail address.
2691         Suggestion by Jack Kelly.
2693 2011-02-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
2695         tests defs: clear TESTS_ENVIRONMENT variable
2696         * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
2697         from environment won't interfere with the testcases.
2698         Suggestion by Ralf Wildenhues.
2700 2011-02-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
2702         tests: tweak few tests on simple and parallel test drivers
2703         * tests/check-exported-srcdir.test: Improve heading comments.
2704         * tests/check-tests-in-builddir.test: Likewise.  Also, unset the
2705         `FOO_EXIT_STATUS' variable, so that any pre-existing value in the
2706         environment won't risk to interfere with the test.
2707         Suggestions by Ralf Wildenhues.
2709 2011-02-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
2711         coverage: more tests on simple and parallel test drivers
2712         * tests/parallel-tests-subdir.test: New test.
2713         * tests/check-exported-srcdir.test: Likewise.
2714         * tests/check-tests-in-builddir.test: Likewise.
2715         * tests/check-tests_environment.test: Likewise.
2716         * tests/Makefile.am (TESTS): Update.
2718 2011-01-29  Stefano Lattarini  <stefano.lattarini@gmail.com>
2720         tests: fix spurious failures in lflags*.test
2721         * tests/lflags.test: Remove 'LEX' from the environment, so
2722         that it won't be erroneously picked up by `make -e'.
2723         * tests/lflags2.test: Likewise.
2725 2011-01-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
2727         docs: color-tests issues with parallel make
2728         * doc/automake.texi (Simple Tests): Document that automatic
2729         recognition of a capable terminal attached to stdout can fail
2730         with some make implementation when running in parallel mode,
2731         thus causing colored test output not to be automatically
2732         activated when it should.
2734 2011-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2736         tests: avoid instspc.test failures due to make's whitespace trimming
2737         * tests/instspc.test: Prepend './' when passing the test
2738         characters, to avoid leading whitespace characters to be trimmed
2739         from macros set from environment variables.  Fixes testsuite
2740         failures with HP-UX, IRIX, and Tru64/OSF make.
2742 2011-01-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
2744         coverage: test semantics of "dummy" per-target flags
2745         * tests/specflg-dummy.test: New test, ensuring that even "dummy"
2746         per-target flags triggers the use of renamed objects.
2747         * tests/Makefile.am (TESTS): Update.
2748         Suggestion by Ralf Wildenhues.
2750 2011-01-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
2752         tests defs: sanitize IFS
2753         * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
2754         ($sp): New variable, holding a single whitespace character.
2755         ($tab): New variable, holding a tabulation character.
2756         ($nl): New variable, holding a newline character.
2758 2011-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2760         tests: fix VPATH auto-expansion workarounds.
2761         * tests/parallel-tests8.test, tests/suffix13.test:
2762         Ensure $< is not surrounded by white space, to prevent Solaris
2763         make from applying automatic VPATH text expansion.
2765 2011-01-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
2767         tests: fix spurious failures in yflags*.test
2768         * tests/yflags.test: Remove 'YACC' from the environment, so
2769         that it won't be erroneously picked up by `make -e'.
2770         * tests/yflags2.test: Likewise.
2772 2011-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2774         tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
2775         * tests/fn99.test, tests/fn99subdir.test: Skip if an initial
2776         `cp -R' of the subdir tree already fails; AIX 5.3 cp messes
2777         up its internal memory when copying this tree.
2779 2011-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2780             Stefano Lattarini  <stefano.lattarini@gmail.com>
2782         Add comment to check-TESTS rule working around make 3.80 bug.
2783         * lib/am/check.am (check-TESTS): Update comment.
2785 2011-01-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2787         tests: less strict double-colon spy.test again.
2788         * tests/spy.test: We know BSD make doesn't invoke more than one
2789         double-colon rule, so no need to expose that failure.
2791 2011-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2793         install-sh: avoid Tru64 sh `test' operator precedence issues.
2794         * lib/install-sh: Protect file names and directory components
2795         that consist of `=', `(', `)', or `!'.  Move protection as early
2796         as possible, to avoid errors such as with Tru64 sh `test -z ='.
2797         * tests/instsh2.test: Extend test to cover more possibilities.
2798         Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
2800 2011-01-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
2801             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2803         docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore
2804         * doc/automake.texi (Simple Tests): Do not claim Automake uses
2805         TESTS_ENVIRONMENT for the perl driver.  Instead, point to the
2806         parallel-tests driver.
2808 2011-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2810         Allow _AM_DEPENDENCIES to be used later in configure.
2811         * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing
2812         conftest.dir before recreating it.
2813         Fixes bug#7864.
2814         Report by Eric Blake, from report by Scott McCreary against M4.
2816 2011-01-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2818         tests: avoid failure on w32 file systems.
2819         * tests/parallel-tests-unreadable-log.test: SKIP if file cannot
2820         be turned unreadable.
2822 2011-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2824         tests: allow double-colon spy.test to work with HP-UX make.
2825         * tests/spy.test: Fix comment typos.  Ensure prerequisites we
2826         do not want to depend on are strictly older than the target.
2827         Also test with a target out of date wrt. more than one rule.
2829 2011-01-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
2831         tests: remove useless requirements from cond36.test
2832         * tests/cond36.test ($required): Remove.
2833         Since we are at it, add a trailing `:' command.
2835 2011-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2836             Stefano Lattarini  <stefano.lattarini@gmail.com>
2838         parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
2839         * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
2840         Test file readability before redirecting input from it, to avoid
2841         exiting Tru64/OSF 5.1 sh which treats read as special builtin.
2842         * tests/parallel-tests-unreadable-log.test: New test.
2843         * tests/Makefile.am (TESTS): Update.
2844         * NEWS: Update.
2846 2011-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2848         * NEWS, README: Update copyright years.
2850 2011-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2852         Fix parallel-tests.test failure with HP-UX make.
2853         * tests/parallel-tests.test: Sleep inside inner tests, so logs
2854         are newer than logs of tests they depend on, for HP-UX make.
2856 2011-01-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2858         docs: ensure example are separated with empty lines in the input
2859         * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding)
2860         (API Versioning, Renamed Objects, Multiple Outputs): Add empty
2861         lines before `@example' and after `@end example' lines, so info
2862         output is rendered correctly, and a following @noindent honored.
2863         Report by Stefano Lattarini.
2865 2011-01-15  Jim Meyering <meyering@redhat.com>
2867         tests: fix comment typo
2868         * tests/substref.test: Fix grammar in a comment.
2870 2011-01-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
2872         tests: fix spurious failures in two texinfo tests
2873         * tests/txinfo.test ($required): Add 'makeinfo'.
2874         * tests/txinfo8.test: Create a dummy 'textutils.info' file, so
2875         that make won't try to run makeinfo (which could be unavailable)
2876         to build it.
2877         Found by NixOS Hydra, reported by Ralf Wildenhues.
2879 2011-01-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2881         Avoid testsuite failures due to Autoconf Fortran change.
2882         Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
2883         require computing the canonical host name.  Ensure config.guess
2884         and config.sub files are present for respective checks.
2885         * tests/compile_f_c_cxx.test: Add stub files.
2886         * tests/flibs.test: Likewise.
2887         * tests/fort4.test: Use $AUTOMAKE -a for installing files.
2889 2011-01-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
2891         docs: clustered '-d' not recognized in YFLAGS
2892         This change fixes automake bug#7828.
2893         * doc/automake.texi (Yacc and Lex): Document that automake
2894         recognizes '-d' in AM_YFLAGS only if it's not clustered with
2895         other options.
2896         From a report by Юрий Пухальский.
2898 2011-01-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
2900         tests: add checks on automatically-distributed files
2901         Related to automake bug#7819.
2902         * tests/autodist.test: New test.
2903         * tests/autodist-subdir.test: Likewise.
2904         * tests/autodist-acconfig.test: Likewise.
2905         * tests/autodist-acconfig-no-subdir.test: Likewise.
2906         * tests/autodist-aclocal-m4.test: Likewise.
2907         * tests/autodist-config-headers.test: Likewise.
2908         * tests/autodist-configure-no-subdir.test: Likewise.
2909         * tests/autodist-stamp-vti.test: Likewise.
2910         * tests/Makefile.am (TESTS): Update.
2912 2011-01-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
2914         tests: work around a texi+cygnus bug causing a spurious XFAIL
2915         * tests/txinfo5b.test: New test, like txinfo5.test but calling
2916         automake with the `-Wno-override' option to work around a bug
2917         in the texinfo + cygnus interaction.
2918         * tests/txinfo5.test: Update heading comments.
2919         * tests/Makefile.am (TEST): Updated.
2921 2011-01-09  Dave Hart  <davehart@gmail.com>  (tiny change)
2923         Fix another typo in Rule.pm comment.
2924         * lib/Automake/Rule.pm: Fix typo.
2926 2011-01-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
2928         Improve, extend and tweak tests on Texinfo support.
2929         * tests/instdir-texi.test: Add a call to `ls -l' after that to
2930         `make', for debugging.  When looking for required tools, do not
2931         redirect the output of "$tool --help" to /dev/null, and do not
2932         uselessly run it in a subshell.
2933         * tests/txinfo.test: Rewritten to run autoconf, ./configure and
2934         make.  All checks moved into Makefile.am.
2935         * tests/txinfo8.test: Likewise, and modernize the generated
2936         configure.in.
2937         * tests/txinfo2.test: Moved checks into Makefile.am, and other
2938         minor improvements.
2939         * tests/txinfo5.test: Enable `errexit' shell flag, and related
2940         changes.  Add trailing `:' command.
2941         * tests/txinfo6.test: Likewise, and make grepping of generated
2942         Makefile.in stricter.
2943         * tests/txinfo7.test: Enable `errexit' shell flag, and related
2944         changes.  Add trailing `:' command.  Do not add unnecessary stuff
2945         to Makefile.am.
2946         * tests/txinfo9.test: Verify that more targets which are expected
2947         to be generated only once really are.  Make grepping less strict,
2948         to avoid exposing too much internal details.  More minor changes.
2949         * tests/txinfo16.test: Add trailing `:'.  Prefer cat over echo
2950         for appending to configure.in.  Updated/fixed heading comments.
2951         * tests/txinfo23.test: Likewise, and extended a little by making
2952         it check that no info file is created in the $(srcdir).
2953         * tests/txinfo24.test: Likewise.
2954         * tests/txinfo25.test: Likewise.
2955         * tests/txinfo18.test: Add trailing `:'.  Prefer cat over echo
2956         for appending to configure.in.  Also, check that index files are
2957         cleaned also by "make clean", not only by "make distclean".
2958         * tests/txinfo22.test: Prefer `$me' over hard-coded test name,
2959         and added trailing `:' command.  This testcase also used to check
2960         that automake ignores in-line comments when using variables, but
2961         preserves them in the output; these checks (added in commit
2962         "Release-1-7f-4-g9177ef8") do not really pertain to this test,
2963         so they have been moved ...
2964         * tests/comments-in-var-defn.test: ... into this new test.
2965         * tests/txinfo4.test: Escape literal dots in grep regexps.  Add
2966         trailing `:' command.
2967         * tests/txinfo29.test: Likewise.  Relax grepping of generated
2968         Makefile.in w.r.t. whitespaces.  Prefer `cat' over `echo' to
2969         append to configure.in.
2970         * tests/txinfo3.test: Likewise.
2971         * tests/vtexi.test: Improve grepping of Makefile.in (sometimes
2972         make it stricter, sometimes laxer).  Move `set -e' setting just
2973         after the inclusion of ./defs.  De-uglify a sed command.  Other
2974         minor cosmetic improvements.
2975         * tests/vtexi2.test: Make grepping of Makefile.in stricter.  Add
2976         trailing `:' command.
2977         * tests/vtexi3.test: New test on version.texi support.
2978         * tests/vtexi4.test: Likewise.
2979         * tests/Makefile.am (TESTS): Updated.
2981 2011-01-09  Peter Rosin  <peda@lysator.liu.se>
2983         Fix another typo in Rule.pm comment.
2984         * lib/Automake/Rule.pm: Fix typo.
2986 2011-01-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
2988         cosmetics: remove trailing whitespaces
2989         * doc/automake.texi: Remove trailing whitespaces.
2990         * tests/cond13.test: Likewise.
2991         * tests/cond14.test: Likewise.
2992         * tests/fort4.test: Likewise.
2993         * tests/fort5.test: Likewise.
2994         * tests/suffix7.test: Likewise.
2995         * tests/vtexi2.test: Likewise.
2997         automake: minor fixes in comments
2998         * automake.in: Some minor fixes and enhancements in comments.
3000 2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3002         Add test coverage for deleted header files.
3003         * tests/depcomp6.test, tests/depcomp7.test: Update tests to
3004         also check for the deleted header bug.  If no dependency
3005         tracking mechanism could be found, SKIP rather than exit
3006         successfully.  Use GNU style spacing and ANSI C prototypes.
3008         Fix typos in Rule.pm comments.
3009         * lib/Automake/Rule.pm: Fix typos in comments.
3011         docs: split 'amhello Explained' node.
3012         * doc/automake.texi (amhello Explained): Split node ...
3013         (amhello's configure.ac Setup Explained)
3014         (amhello's Makefile.am Setup Explained) : ... into these two.
3015         (Top, Hello World): Adjust, and add @anchor for stable URL links.
3016         Suggestion by Karl Berry in automake bug#7766.
3018 2011-01-08  Karl Berry  <karl@freefriends.org>
3019             Eric Blake  <eblake@redhat.com>
3021         docs: reference defining directories in amhello node.
3022         * doc/automake.texi (amhello Explained): Point to Autoconf
3023         manual for how to convert directory values into macros.
3024         (Optional): Fix grammar nit.
3026 2011-01-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
3028         * NEWS: Fix typo (forgotten word).
3030 2011-01-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
3031             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3033         docs: how to work around checks on invalid primary/directory couples
3034         * doc/automake.texi (Uniform): Document the blessed idiom which can
3035         be used to work around automake checks on invalid primary/directory
3036         couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
3038 2011-01-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3040         Sync auxiliary files from upstream.
3041         * lib/config.guess, lib/config.sub, lib/texinfo.tex:
3042         Sync from upstream.
3044         Fix maintainer-check regression.
3045         * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
3046         environment.
3048         Bump copyright years.
3049         * aclocal.in (write_aclocal, version): Bump copyright years.
3050         * automake.in (gen_copyright, version): Likewise.
3051         * doc/automake.texi: Likewise.
3053 2010-12-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3054             Stefano Lattarini  <stefano.lattarini@gmail.com>
3056         Work around a bug in file-inclusion mechanism of Solaris make.
3057         * automake.in (handle_single_transform): In the name of the
3058         dependency file: collapse multiple slash characters into a single
3059         one.
3060         * tests/subobj11a.test: New test.
3061         * tests/subobj11b.test: Likewise.
3062         * tests/subobj11c.test: Likewise.
3063         * tests/depcomp8a.test: Likewise.
3064         * tests/depcomp8b.test: Likewise.
3065         * tests/Makefile.am (TESTS): Updated.
3066         * NEWS: Updated.
3067         Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
3068         patch and tests by Stefano Lattarini.
3070 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
3072         Fix two spurious testsuite failures on IRIX 6.5.
3073         * tests/suffix13.test (Makefile.am): Account for VPATH issues on
3074         weaker make implementations (e.g. IRIX 6.5).
3075         * tests/parallel-tests8.test: Likewise, plus a required related
3076         change.
3077         Reported by Ralf Wildenhues.  The bugs have been there from the
3078         first versions of the affected test scripts.
3080 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
3082         docs: cygnus mode doesn't require AM_CYGWIN32 macro.
3083         * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
3084         the AM_CYGWIN32 macro (and indeed hasn't required it since at
3085         least commit Release-1-2-31-g3038064 "merged changes from
3086         Cygnus" of 1997-08-25).
3088 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
3090         distlinksbrk.test: Work around botched "make -k".
3091         * tests/distlinksbrk.test: Run "make" multiple times and grep
3092         its output each time for a single error message, rather than
3093         running "make -k" one single time and grepping its output for
3094         all the expected error messages.  This should work around make
3095         implementations with limited (broken?) `-k' support; for more
3096         information, see these subthreads on the automake-patches list:
3097           - 2010-11-15, "Testsuite failures on HP-UX 11.23",
3098             <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
3099           - 2010-11-15, "Testsuite failures on IRIX 6.5",
3100             <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
3102 2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
3104         Fix sed-related buglet in test "subdir5.test"
3105         * tests/subdir5.test: Always terminate text passed to the
3106         `i' sed command with a newline, to work around limitations
3107         in e.g. older OpenBSD sed.
3109 2010-12-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
3111         docs: fix blunder in example about python extension modules
3112         * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
3113         not `quaternion_SOURCES', to declare the sources of python
3114         extension module `quaternion.la'.
3116 2010-12-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
3118         docs: list LTLIBRARIES among Automake primaries
3119         * doc/automake.texi (Uniform): List `LTLIBRARIES' among
3120         the Automake primaries.
3122 2010-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
3124         Improve tests on generated portions of configure help screen.
3125         * tests/help-depend.test: Grepping of configure help screen
3126         relaxed to cater for possible line wrapping, and tightened in
3127         other respects.
3128         * tests/help-depend2.test: Likewise.
3129         * tests/help-dmalloc.test: Likewise.
3130         * tests/help-lispdir.test: Likewise.
3131         * tests/help-maintainer.test: Likewise.
3132         * tests/help-multilib.test: Likewise.
3133         * tests/help-silent.test: Likewise.
3134         * tests/help-upc.test: Likewise.
3135         * tests/help-init.test: Grepping of configure help screen
3136         tightened.
3138 2010-12-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3140         Avoid running installed automake from 'libtool --help'.
3141         * tests/subobj9.test: Export AUTOCONF and AUTOMAKE.
3142         Together with fixed Libtool, this fixes check-coverage to not
3143         invoke installed automake.
3145 2010-11-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
3147         Fix spurious failures in `silent*.test' for $CC != gcc
3148         In some tests on automake-produced silent rules, we forced the
3149         use of gcc depmode to improve testsuite coverage; but this has
3150         unsurprisingly led to spurious failures when some non-GNU C
3151         compilers were used.  So we are now careful to require GCC in
3152         tests that force gcc depmode.
3153         From reports by Ralf Wildenhues.
3154         * tests/silent5.test: Test removed, its content split into ...
3155         * tests/silent-many-generic.test, tests/silent-many-gcc.test: ...
3156         these new sister tests, the latter of which forces gcc depmode
3157         and lists "gcc" in $required.
3158         * tests/silentlex.test: Test removed, its content split into ...
3159         * tests/silent-lex-generic.test, tests/silent-lex-gcc.test: ...
3160         these new sister tests, the latter of which forces gcc depmode
3161         and lists "gcc" in $required.
3162         * tests/silentyacc.test: Test removed, its content split into ...
3163         * tests/silent-yacc-generic.test, tests/silent-yacc-gcc.test: ...
3164         these new sister tests, the latter of which forces gcc depmode and
3165         lists "gcc" in $required.
3166         * tests/Makefile.am (TESTS): Updated.
3168 2010-11-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
3170         Tests: consistently use "|| Exit 1" after ". ./defs".
3171         * tests/autohdr.test: Use `. ./defs || Exit 1', not bare
3172         `. ./defs', for consistency with other tests.
3173         * tests/autohdr2.test: Likewise.
3174         * tests/autohdr3.test: Likewise.
3175         * tests/autohdr4.test: Likewise.
3176         * tests/cond23.test: Likewise.
3177         * tests/cond24.test: Likewise.
3178         * tests/cond25.test: Likewise.
3179         * tests/cond26.test: Likewise.
3180         * tests/cond27.test: Likewise.
3181         * tests/cond28.test: Likewise.
3182         * tests/cond29.test: Likewise.
3183         * tests/cond30.test: Likewise.
3184         * tests/cond31.test: Likewise.
3185         * tests/cond32.test: Likewise.
3186         * tests/cond33.test: Likewise.
3187         * tests/cond34.test: Likewise.
3188         * tests/cond35.test: Likewise.
3189         * tests/cond36.test: Likewise.
3190         * tests/cond37.test: Likewise.
3191         * tests/cond38.test: Likewise.
3192         * tests/cond39.test: Likewise.
3193         * tests/cond40.test: Likewise.
3194         * tests/cond41.test: Likewise.
3195         * tests/cond42.test: Likewise.
3196         * tests/cond43.test: Likewise.
3197         * tests/cond44.test: Likewise.
3198         * tests/cond45.test: Likewise.
3199         * tests/dollarvar.test: Likewise.
3200         * tests/dollarvar2.test: Likewise.
3201         * tests/hfs.test: Likewise.
3202         * tests/libobj14.test: Likewise.
3203         * tests/percent.test: Likewise.
3204         * tests/percent2.test: Likewise.
3205         * tests/phony.test: Likewise.
3206         * tests/silent.test: Likewise.
3207         * tests/silent2.test: Likewise.
3208         * tests/silent3.test: Likewise.
3209         * tests/silent4.test: Likewise.
3210         * tests/silent5.test: Likewise.
3211         * tests/silent6.test: Likewise.
3212         * tests/silent7.test: Likewise.
3213         * tests/silent9.test: Likewise.
3214         * tests/silentcxx.test: Likewise.
3215         * tests/silentf77.test: Likewise.
3216         * tests/silentf90.test: Likewise.
3217         * tests/silentlex.test: Likewise.
3218         * tests/silentyacc.test: Likewise.
3220         Avoid useless cleaning in some `silent*.test' tests.
3221         * tests/silentf77.test: Removed useless calls to "make clean"
3222         and "make maintainer-clean".
3223         * tests/silentf90.test: Likewise.
3224         * tests/silent3.test: Removed useless call to "make distclean".
3225         * tests/silent4.test: Likewise.
3226         * tests/silent9.test: Likewise.
3228 2010-11-19  Ian Lance Taylor  <iant@google.com>
3230         Sync config-ml.in from GCC.
3231         * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other
3232         compiler/flag environment variables.
3234 2010-11-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
3236         Automake::Config: remove extra trailing semicolon.
3237         * lib/Automake/Config.in: Remove extra trailing semicolon.
3239         help4.test: fix botched heading comment.
3240         * tests/help4.test: Fixed the heading comment, since it
3241         didn't correctly describe what checks the testcase was
3242         supposed to perform.
3244         help2.test: add checks on aclocal too.
3245         * tests/help2.test: Check that also `aclocal --version' and
3246         `aclocal --help' work with configure.in and acinclude.m4 both
3247         broken.
3249 2010-11-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
3251         Fix spurious failures of silent-rules tests with Sun Fortran.
3252         * tests/silentf77.test: Strip from the make output some verbose
3253         messages possibly printed by the SunStudio fortran compilers, to
3254         avoid spurious failures.  Add a trailing `:' command.
3255         * tests/silentf90.test: Likewise.
3257 2010-11-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
3259         Fix spurious failures of silent5.test with Sun Fortran.
3260         * tests/silent5.test: Strip from the make output some verbose
3261         messages possibly printed by the SunStudio fortran compilers,
3262         to avoid spurious failures.  This bug has been there from the
3263         very first version of this test script.
3265 2010-11-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
3267         Fix regression in colon{5,6}.test (failures on AIX 5.3).
3268         * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when
3269         post-processing the generated Makefile.in, to work around a bug
3270         of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro
3271         on the commend line.  Calls to `$MAKE' adjusted accordingly.
3272         * tests/colon6.test: Likewise.
3273         Regression introduced in commit v1.11-175-gf9fe878 "Modernize,
3274         improve and/or extend tests `colon*.test", and reported by Ralf
3275         Wildenhues.
3277 2010-11-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
3279         Fix regression in ansi.test (failure on AIX 5.3).
3280         * tests/ansi.test: Remove redundant hackish check done using a
3281         hand-postprocessed Makefile.in.  This check worked by setting
3282         the `$(SHELL)' macro on the command line of make, but this is
3283         not supported by the AIX 5.3 make implementation.
3284         This bug has been lurking for a long time, and was activated by
3285         commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various
3286         tests".  Report by Ralf Wildenhues.
3288 2010-11-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3290         tests: avoid '##'-style comments inside recipe commands.
3291         * tests/confh.test, tests/confh8.test: Remove
3292         double-hash comments from makefile rule commands, they
3293         are not part of the Automake API.
3295 2010-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3297         tests: work around dash quoting issue in case statements.
3298         * tests/color.test, tests/color2.test: Quote variable in case
3299         pattern, to avoid skipping tests with dash 0.5.5.1.
3301 2010-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3303         Rebuild menus in the manual.
3304         * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs).
3305         Thanks to Ian Lance Taylor for the suggestion.
3307         Fix install-strip when $(STRIP) contains several words.
3308         * lib/am/install.am (install-strip): Update comment.  Use
3309         separate sub-make invocations for empty and nonempty $(STRIP),
3310         to fix quoting issues.
3311         * tests/strip2.test, tests/strip3.test: New tests.
3312         * tests/Makefile.am (TESTS): Adjust.
3314 2010-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3316         Fix yaccdry.test failure: require bison.
3317         * tests/yaccdry.test: Require bison.
3318         Found by NixOS Hydra.
3320 2010-11-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
3322         Fix a bug in variable concatenation with `+='.
3323         * lib/Automake/VarDef.pm (append): Since the content of the
3324         "appended-to" variable is going to be unconditionally normalized
3325         later, simply separate the appended value with a single whitespace
3326         character, instead of trying to be uselessly smarter by using
3327         escaped newlines.  This fixes a bug in which extra backslashes
3328         where erroneously inserted in the variable's final value.
3329         * tests/pluseq11.test: New test, exposing the bug.
3330         * tests/Makefile.am (TESTS): Update.
3331         Reported by Andy Wingo.
3333 2010-11-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
3335         Fix bug in rules for creating vala vapi/header files.
3336         * automake.in (lang_vala_finish_target): Add forgotten "fi" in an
3337         if control structure in a generated make rules.  Bug introduced
3338         by previous commit `v1.11-221-gd7c1679', and revealed by failure
3339         of test `vala2.test'.
3341 2010-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3343         Fix and document rules to not touch the tree with `make -n'.
3344         * doc/automake.texi (Multiple Outputs): Document the problem of
3345         modifications during dry-run execution, propose solution.
3346         * NEWS: Update.
3347         * automake.in (lang_vala_finish_target): Split recipe so the
3348         stamp file is not removed with GNU `make -n'.
3349         (lang_yacc_target_hook): Separate removal of parser output file
3350         and header remaking.
3351         * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was
3352         passed to make, take care not to remove any files in that case.
3353         * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of
3354         %STAMP% file from induced remaking of config header.
3355         * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test:
3356         New tests.
3357         * tests/Makefile.am (TESTS): Update.
3359 2010-11-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3361         Add FAQ entry for bug reporting instructions.
3362         * doc/automake.texi (Reporting Bugs): New section.
3363         (Introduction): Refer to it.
3365 2010-10-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
3367         Add support for newer python versions.
3368         * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to
3369         _AM_PYTHON_INTERPRETER_LIST.  Since we are at it, break a long
3370         line and fix indentation.
3371         * THANKS: Updated.
3372         From a report by Thomas Klausner.
3374         Add test for `AM_WITH_DMALLOC' macro.
3375         * tests/dmalloc.test: New test.
3376         * tests/Makefile.am (TESTS): Update.
3378         Fix nits and bugs in tests `help*.test'.
3379         * tests/help4.test: Fix broken sed commands used to strip `-W...'
3380         flags away from "$AUTOMAKE" and "$ACLOCAL".
3381         * tests/help3.test: Likewise, and fix a botched comment.
3382         * tests/help.test: Likewise.  Also, use "AUTOMAKE_fails ..."
3383         instead of "$AUTOMAKE ... && Exit 1", for consistency and to
3384         please maintainer-check.
3385         * tests/help2.test: Likewise.
3387 2010-10-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
3388             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3390         Improve tests `help*.test' (also fixes maintcheck failures).
3391         * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W'
3392         flags stripped away rather than hard-coded `automake-$APIVERSION',
3393         to better honour user-overrides.  Similarly for aclocal.
3394         * tests/help2.test: Likewise.
3395         * tests/help3.test: Likewise.
3396         * tests/help4.test: Likewise.
3398 2010-10-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3400         Document and fix expansion of variables before rules.
3401         * doc/automake.texi (General Operation): Document that variables
3402         are expanded before rules.
3403         * lib/am/check.am (am__check_post): Reword a bit so it does not
3404         get matched as a rule.
3405         Suggestion by Ben Pfaff.
3407 2010-10-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3409         Revert "parallel-tests: avoid command-line length limit issue."
3410         This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835,
3411         because it re-opened the bug fixed by v1.11-10-g218e678.
3413         2010-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3415         parallel-tests: avoid command-line length limit issue.
3416         * automake.in (handle_tests): New argument $makefile, new
3417         substitution %MAKEFILE%.
3418         (generate_makefile): Adjust.
3419         * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
3420         sanitized TEST_LOGS value as makefile snippet on standard
3421         input to $(MAKE), to avoid exceeding the command line limit on
3422         w32 (MSYS).
3423         * NEWS: Update.
3424         Report by Bob Friesenhahn.
3426 2010-09-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
3428         Extend tests on `--help' and `--version' options.
3429         * tests/help.test: Create a new empty directory and chdir into
3430         it, rather than removing already present files.  Run the aclocal
3431         and automake wrapper scripts directly, instead of relying on
3432         $AUTOMAKE and $ACLOCAL.  Be sure to correctly match literal dots
3433         in aclocal's and automake's stderr.  Add a trailing `:' command.
3434         * tests/help2.test: New test, checking that options `--help' and
3435         `--version' works in directories with broken `configure.in'.
3436         * tests/help3.test: New test, checking that options `--help' and
3437         `--version' take precedence on the other options.
3438         * tests/help4.test: New test, checking that the first among the
3439         `--help' and `--version' options to be specified on the command
3440         line wins.
3441         * tests/Makefile.am (TESTS): Updated.
3443 2010-09-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
3445         Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
3446         * tests/compile2.test: Do no uselessly (implicitly) repeat the
3447         computation of PATH_SEPARATOR again.
3448         * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when
3449         extending/redefining PATH.
3450         * tests/instmany-python.test: Likewise.
3451         * tests/instmany.test: Likewise.
3452         * tests/man4.test: Likewise.
3453         * tests/mkinst3.test: Likewise.
3454         * tests/mmodely.test: Likewise.
3455         * tests/multlib.test: Likewise.
3456         * tests/txinfo30.test: Likewise.
3457         * tests/README (Section "Writing test cases" subsection "Do"):
3458         Updated.
3459         * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check.
3460         (syntax_check_rules): Updated.
3462         Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'.
3463         * tests/defs.in ($APIVERSION):  New AC_SUBST'd variable.
3464         ($ACLOCAL, $AUTOMAKE): Use it.
3465         ($PATH_SEPARATOR):  New AC_SUBST'd variables.
3466         ($PATH): Use it.
3468 2010-09-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
3470         Manual: be more agnostic w.r.t. version control system used.
3471         * doc/automake.texi (Basics of Distribution): Also refer to `.svn'
3472         directories as a type of probably-unwanted files that are copied
3473         regardless when adding directories to EXTRA_DIST.
3474         (The dist Hook): Show a dist-hook example which removes Subversion
3475         `.svn' private directories from distdir, rather than CVS private
3476         directories.
3477         (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t.
3478         the version control system used.
3480         Manual: index refer to target "git-dist", not "cvs-dist".
3481         * doc/automake.texi (General Operation): Index the non-standard
3482         example about "git-dist" under the "git-dist" label, not under
3483         the "cvs-dist" one.
3485         Perl modules: remove references to "Automake CVS repository".
3486         * lib/Automake/Channels.pm: Update comments to refer to "Automke's
3487         git repository" rather than to "Automake's CVS repository".
3488         * lib/Automake/Configure_ac.pm: Likewise.
3489         * lib/Automake/FileUtils.pm: Likewise.
3490         * lib/Automake/Struct.pm: Likewise.
3491         * lib/Automake/XFile.pm: Likewise.
3492         * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git
3493         branches" rather than "CVS branches".
3495         Remove obsolete .cvsignore files.
3496         * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore,
3497         lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore,
3498         m4/.cvsignore, tests/.cvsignore: Files deleted.  Even when using
3499         savannah's CVS readonly mirror there's no way to commit back to
3500         the real repository, so this files are not worth maintaining or
3501         keeping around.
3503 2010-09-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
3505         * m4/dmalloc.m4: Bump serial number and copyright years.
3507 2010-09-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
3509         Fix broken link in `AM_WITH_DMALLOC' help screen.
3510         * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site
3511         `http://www.dmalloc.com', not to the dmalloc tarball there (which
3512         seems to have been removed, substituted by multiple release
3513         tarballs now).
3515 2010-09-17  Eric Blake  <eblake@redhat.com>
3517         Avoid triple-space after period.
3518         * automake.in (handle_single_transform): Avoid 3 spaces at
3519         sentence end.
3520         * ChangeLog.03: Likewise.
3521         * lib/Automake/ChannelDefs.pm: Likewise.
3522         * lib/Automake/Channels.pm (_print_message): Likewise.
3523         * lib/Automake/Rule.pm (rule): Likewise.
3524         * lib/Automake/Variable.pm (var): Likewise.
3525         * lib/am/distdir.am: Likewise.
3526         * tests/insthook.test: Likewise.
3528 2010-09-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
3530         Test automake-generated portions of configure help screen.
3531         * tests/help-depend.test: New test.
3532         * tests/help-depend2.test: Likewise.
3533         * tests/help-dmalloc.test: Likewise.
3534         * tests/help-init.test: Likewise.
3535         * tests/help-lispdir.test: Likewise.
3536         * tests/help-maintainer.test: Likewise.
3537         * tests/help-multilib.test: Likewise.
3538         * tests/help-regex.test: Likewise.
3539         * tests/help-silent.test: Likewise.
3540         * tests/help-upc.test: Likewise.
3541         * tests/mmode.test: Remove tests on `configure --help' output,
3542         they are superseded by tests in `help-maintainer.test'.
3543         * tests/Makefile.am (TESTS): Update.
3545 2010-09-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
3547         * tests/README: Don't put GCS mandated tools in $required.
3549 2010-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3551         * HACKING: Hint at old commits with `git describe' output.
3553 2010-09-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
3555         Fix regression in test `colon4.test'.
3556         * tests/colon4.test: Fix botched editing to `configure.in'
3557         that made the test useless.  Since we are at it, improve
3558         comments and make grepping of generated Makefile.in slightly
3559         stricter.
3560         Regression introduced by change "Modernize, improve and/or
3561         extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
3563 2010-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
3565         Do not require "gzip" explicitly in tests.
3566         The gzip utility is simply expected to be present on any decent
3567         target system for Automake.  So it's pointless to put it in
3568         $required.
3569         * tests/install2.test ($required): Do not require "gzip".
3570         * tests/lex3.test: Likewise.
3571         * tests/pr9.test: Likewise.
3572         From a suggestion by Ralf Wildenhues.
3574 2010-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
3576         Make some `confh*.test' tests more "semantic" (plus tweakings).
3577         * tests/confh.test: Run "autoconf", "configure" and "make check",
3578         instead of munging/grepping the generated `Makefile.in'.
3579         * tests/confh4.test: Relax the grepping of Makefile.in w.r.t.
3580         white spaces.  Do not create useless dummy source file `foo.c'
3581         and useless dummy header file `acconfig.h'.
3582         (configure.in): Remove superfluous call to `AC_OUTPUT'.
3583         * tests/confh6.test: Add trailing `:' command.
3584         * tests/confh7.test: In comments, add reference to ...
3585         * tests/confh8.test: ... this new test, "semantic" sister
3586         of `confh7.test'.
3587         * tests/Makefile.am (TESTS): Updated.
3588         Prompted by a report from Ralf Wildenhues.
3590 2010-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
3592         Remove useless whitespace padding in XFAIL_TESTS definition.
3593         * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding.
3595 2010-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3597         parallel-tests: avoid command-line length limit issue.
3598         * automake.in (handle_tests): New argument $makefile, new
3599         substitution %MAKEFILE%.
3600         (generate_makefile): Adjust.
3601         * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
3602         sanitized TEST_LOGS value as makefile snippet on standard
3603         input to $(MAKE), to avoid exceeding the command line limit on
3604         w32 (MSYS).
3605         * NEWS: Update.
3606         Report by Bob Friesenhahn.
3608         Posix 2008 requires make to set errexit.
3609         * lib/am/check.am: Update comment.
3611 2010-08-27  Stefano Lattarini  <stefano.lattarini@gmail.com>
3613         Fix bug in test missing6.test.
3614         * tests/missing6.test: Fix the hack used to edit `configure.in',
3615         to avoid producing a configure script that breaks with shells
3616         that do not support $LINENO.  Also throw in a couple of cosmetic
3617         changes.
3619 2010-08-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3621         Improve robustness of mdate-sh script.
3622         * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
3623         $ls_command is word-split properly upon invocation.
3624         (error): New function.
3625         (main): Use it.  Improve error checking to avoid endless loop
3626         in case $ls_command gave bogus output.  Fix eval quotation.
3627         * tests/mdate6.test: New test, to expose eval quotation error.
3628         * tests/Makefile.am: Update.
3630 2010-08-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
3632         Fix potential regressions in depcomp{3,5}.test.
3633         * tests/depcomp3.test: Do not uselessly escape the character `$'
3634         in makefile rules, when it's used to expand a make macro.
3635         * tests/depcomp5.test: Likewise.
3637 2010-08-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
3638             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3640         Docs: clarify how to avoid automatic dependencies tracking.
3641         * doc/automake.texi (Automatic dependency tracking): Mention that
3642         automatic dependencies tracking is enabled by default, but that
3643         the package developer can disable it altogether.  Add a reference
3644         to the proper section for a more in-depth explanation.
3646         Fix typo in manual (`Makefile.in' instead of `Makefile.am').
3647         * doc/automake.texi (Automatic dependency tracking): Fix typo.
3649 2010-08-16  Bruno Haible  <bruno@clisp.org>
3651         Don't hide the table of contents.
3652         * doc/automake.texi: Move the table of contents to the beginning.
3654 2010-08-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
3656         Tweak and/or extend some `acloca*.test' tests.
3657         * tests/aclocal8.test:  Ensure verbose printing of captured
3658         output.
3659         * tests/aclocal.test: Likewise.  Also, add trailing `:'
3660         command.
3661         * tests/acloca19.test: Likewise.
3662         * tests/aclocal5.test: Add trailing `:' command, and prefer
3663         `$me' over hard-coded test name.
3664         * tests/aclocal6.test: Likewise.
3665         * tests/aclocal18.test: Add trailing `:' command, and make
3666         some grepping slightly stricter.
3667         * tests/acloca14.test: Likewise.  Also, prefer `diff' over
3668         `cmp', and add some "cosmetic" blank lines.
3670 2010-08-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
3672         Tweak and extend tests `pr[!0-9]*.test'.
3673         * tests/primary3.test: Add trailing `:' command.
3674         * tests/primary.test: Make grepping of Automake's stderr stricter.
3675         Also, add trailing `:' command, and cosmetic changes in spacing.
3676         * tests/primary2.test: Likewise.
3677         * tests/prefix.test: Enable `errexit' shell flags, and related
3678         changes.  Add a trailing `:' command.
3679         * tests/proginst.test: Likewise.
3681         Modernize, improve and extend tests for PR (`pr[0-9]*.test').
3682         * tests/pr2.test: Add trailing `:' command.
3683         * tests/pr229.test: Likewise.
3684         * tests/pr401.test: Likewise.
3685         * tests/pr401b.test: Likewise.
3686         * tests/pr401c.test: Likewise.
3687         * tests/pr300-prog.test: Likewise, plus cosmetic changes in
3688         spacing.
3689         * tests/pr300-lib.test: Likewise.
3690         * tests/pr300-ltlib.test: Likewise, and ensure verbose printing
3691         of captured make stdout.
3692         * tests/pr211.test: Add trailing `:' command.  Also, use the
3693         `configure.in' stub created by ./defs, rather than writing it
3694         from scratch.
3695         * tests/pr204.test: Likewise, plus cosmetic spacing changes.
3696         * tests/pr287.test: Likewise, and move setting of `errexit' shell
3697         flag earlier in the script (just after inclusion of ./defs).
3698         * tests/pr220.test: Make grepping of Automake's stderr stricter.
3699         Also, add trailing `:' command, and cosmetic changes in spacing.
3700         * tests/pr224.test: Move setting of `errexit' shell flag earlier
3701         in the script (just after inclusion of ./defs).  Do not export
3702         `CC=gcc' to configure explicitly (it's already exported globally
3703         in ./defs, since we have "gcc" in $required).  Use the stub for
3704         `configure.in' created by ./defs, rather than writing it from
3705         scratch.  Do not create dummy files required by "gnu" mode (e.g.
3706         README, NEWS), since we run automake in foreign mode anyway.
3707         * tests/pr72.test: Enable `errexit' shell flags, and related
3708         changes.  Extend existing checks a bit.
3709         * tests/pr9.test: Likewise.  Also, avoid obsolescent constructs in
3710         the generated `configure.in', and extend existing checks over the
3711         generated tarball a bit.
3712         * tests/pr87.test: Enable `errexit' shell flags, and related
3713         changes.  Add a trailing `:' command.  Also, do not create dummy
3714         files required by "gnu" mode (e.g. README, NEWS), since we run
3715         automake in foreign mode anyway.
3716         * tests/pr243.test: Avoid obsolescent constructs in the generated
3717         `configure.in'.  Enable the `errexit' shell flag, and related
3718         changes.  Cosmetic changes to spacing, add trailing `:' command,
3719         and add a "FIXME" comment.
3720         * tests/pr266.test: Likewise, and add explicit command line switch
3721         `--enable-dependecy-tracking' to the ./configure call.
3722         * tests/pr279.test: Avoid obsolescent constructs in the generated
3723         `configure.in'; also, use the `configure.in' stub created by
3724         ./defs, rather than writing it from scratch.  Enable `errexit'
3725         shell flag, and related changes.  Add trailing `:' command.
3726         * tests/pr279-2.test: Likewise, and make grepping of Makefile.in
3727         stricter.
3728         * tests/pr307.test: Move setting of `errexit' shell flag earlier
3729         in the script (just after inclusion of ./defs).  Escape literal
3730         dots in grep regular expressions.  Also, add a trailing `:'
3731         command, and cosmetic changes to spacing.
3733         Tests for PR: add excerpts from original bug report, for clarity.
3734         * tests/pr2.test: Ditto.
3735         * tests/pr9.test: Likewise.
3736         * tests/pr72.test: Likewise.
3737         * tests/pr87.test: Likewise.
3738         * tests/pr211.test: Likewise.
3739         * tests/pr220.test: Likewise.
3740         * tests/pr224.test: Likewise.
3741         * tests/pr229.test: Likewise.
3742         * tests/pr243.test: Likewise.
3743         * tests/pr266.test: Likewise.
3744         * tests/pr279.test: Likewise, and tell to keep it in sync
3745         with its sister test.
3746         * tests/pr279-2.test: Likewise.
3748 2010-08-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
3750         Tweak, extend and improve tests `cond[a-z]*.test'.
3751         * tests/condd.test: Add trailing `:' command.  Typofix in
3752         comment.
3753         * tests/condhook.test: Make sure target `install-data-hook' is
3754         not called by `make install', but that data files are installed.
3755         Use proper m4 quoting in configure.in. Add trailing `:' command.
3756         * tests/condhook2.test: New test, sister test of condhook, with
3757         inverted semantic.
3758         * tests/condinc2.test: Use proper m4 quoting in configure.in.
3759         Prefer trailing `:' command over trailing `Exit 0'.
3760         * tests/condman2.test: Enable errexit shell flag, and related
3761         changes.  Add trailing `:' command.
3762         * tests/condman.test: Likewise.  Also, do not create useless
3763         dummy manpages, and use proper m4 quoting in configure.in.
3764         * tests/condman3.test: New test, similar to condman.test, but
3765         it also runs ./configure and "make install", and check the
3766         installed files.
3767         * tests/Makefile.am (TESTS): Updated.
3769         Modernize, improve and/or extend tests `colon*.test.
3770         * tests/colon.test: Rely on the `configure.in' stub created by
3771         `./defs', rather than writing one from scratch.  Do not create
3772         a useless dummy file.  Add trailing `:' command.
3773         * tests/colon4.test: Enable the `errexit' shell flag, and
3774         related changes.  Rely on the `configure.in' stub created by
3775         `./defs', rather than writing one from scratch.
3776         * tests/colon7.test: Enable `errexit' shell flag, and related
3777         changes.  Improve the generated `configure.in' file.  Add
3778         trailing `:' command.
3779         * tests/colon2.test: Likewise.  Also, add some new checks.
3780         * tests/colon5.test: Improve the generated `configure.in' file.
3781         Add new, much deeper checks.  Add trailing `:' command.
3782         * tests/colon6.test: Likewise.
3783         * tests/colon3.test: Add trailing `:' command.  Remove useless
3784         comments and echos.  Improve the generated `configure.in' file.
3785         make some grepping tests stricter.  Add a "FIXME" comments about
3786         planned improvements.
3788         Improve and extend tests `asm*.test'.
3789         * tests/asm.test: Use configure.in stub generated by ./defs,
3790         and avoid obsoleted autoconf constructs.  Make grepping of
3791         Automake stderr stricter.  Do not create useless source file.
3792         Improve verbose messages.  Minor cosmetic changes.  Tell to
3793         keep it in sync with other sister tests asm*.test.
3794         * tests/asm2.test: Likewise.
3795         * tests/asm3.test: Likewise.
3797         Modernize, improve and/or extend test scripts `conf*.test'.
3798         * tests/confh5.test: Cosmetic changes.
3799         * tests/conff.test: Likewise.
3800         * tests/confdeps.test: Likewise.
3801         * tests/conflnk.test: Likewise.
3802         * tests/conflnk2.test: Likewise.
3803         * tests/confsub.test: Likewise.
3804         * tests/confvar.test: Likewise, and make grepping of Makefile.in
3805         stricter.
3806         * tests/confvar2.test: Likewise.
3807         * tests/conflnk3.test: Cosmetic changes.  Re-enable a temporarily
3808         disabled test (which didn't work with autoconf <= 2.59, but now we
3809         are requiring autoconf 2.62, so...)
3810         * tests/conflnk4.test: Cosmetic changes, and extend existing tests
3811         accordingly to "TODO" comments.
3812         * tests/conff2.test: Make grepping of Automake's stderr stricter.
3813         Add some comments explaining why we don't use the `configure.in'
3814         stub preset be ./defs.
3815         * tests/confh.test: Use the `configure.in' stub created by ./defs,
3816         rather than writing one from scratch, and do not call AC_OUTPUT.
3817         Enable `errexit' shell flag, and related changes.  Prefer diff over
3818         cmp to compare text files. Prefer perl over sed to fetch the value
3819         of $(DIST_COMMON) from Makefile.in.  Make grepping of the contents
3820         of $(DIST_COMMON) stricter.
3821         * tests/confh4.test: Use the `configure.in' stub created by ./defs,
3822         rather than writing one from scratch.  Make grepping of Makefile.in
3823         stricter.
3824         * tests/confh5.test: Make grepping of `config.h' stricter.  Add a
3825         comment.
3826         * tests/configure.test: Avoid obsolescent constructs in generated
3827         `configure.ac'.  Do not write `configure.in' two times.  Escape
3828         literal dots in grep regular expressions.
3829         * tests/confincl.test:  Enable `errexit' shell flag, and related
3830         changes.  Prefer fgrep over grep.  Other cosmetic changes.
3831         * tests/config.test: Renamed to ...
3832         * tests/confh6.test: ... this.  Fix m4 quoting in `configure.in',
3833         and make grepping of `config.h' and `config.h.in' stricter.
3834         * tests/conf2.test: Renamed ...
3835         * tests/confh7.test: ... to this.  Use the `configure.in' stub
3836         created by ./defs, rather than writing one from scratch.  Try to
3837         run the checks both with and without AC_PROG_CC and AC_OUTPUT in
3838         `configure.in'.
3839         * tests/Makefile.am (TESTS): Updated.
3841         Minor improvements and fixes in tests `depcomp*.test'.
3842         * tests/depcomp.test: Do not create useless dummy source files.
3843         Add a trailing `:' command.
3844         * tests/depcomp2.test: Use `unset' on the CFLAG variable to ensure
3845         it's not in in the environment, rather than exporting it with an
3846         empty value.  Do not pass CC=gcc to configure, as that's already
3847         done in ./defs since we have gcc in $required.  Ensure verbose
3848         printing of captured stderr, and normalize its checking.  Add a
3849         trailing `:' command.
3850         * tests/depcomp3.test: Quote literal dots and dollar characters in
3851         grep regexps.  Always use `: >' rather than `touch' to create empty
3852         files.  Explicitly declare phony targets as such in the created
3853         Makefile.am.  Add a trailing `:' command.
3854         * tests/depcomp4.test: Quote literal dots and dollar characters in
3855         grep regexp.  Explicitly declare phony targets as such in the
3856         created Makefile.am.  Ensure verbose printing of captured makes'
3857         stoud/stderr.  Add a trailing `:' command.
3858         * tests/depcomp5.test: Move setting of `errexit' shell flag earlier
3859         in the script (just after inclusion of ./defs).  Quote literal dots
3860         and dollar characters in grep regexps.  Explicitly declare phony
3861         targets as such in the created Makefile.am.  Add a trailing `:'
3862         command.
3863         * tests/depcomp6.test: Consistently use m4 quoting in the generated
3864         configure.in.  Cosmetic fixes to spacing.  Make the "dummy" `if'
3865         statement required by OpenBSD's sh `set -e' more robust, and add
3866         explanatory comments to it.
3867         * tests/depcomp7.test: Likewise, and add  a trailing `:' command.
3869         Separate failing part of test `all.test'.
3870         * tests/all.test: Keep only (x)failing part of the test.  Working
3871         checks moved out to ...
3872         * tests/all2.test: ... this new test.
3873         * tests/Makefile.am (TESTS): Updated.
3875         Modernize, improve and extend tests `subobj*.test'.
3876         * tests/subobjname.test:  Add trailing `:' command.
3877         * tests/subobj.test: Make grepping of `Makefile.in' stricter.
3878         Escape literal dots in grep regexps.
3879         * tests/subobj2.test:  Add trailing `:' command.  Do not use the
3880         unportable fgrep option `-e'.
3881         * tests/subobj3.test: Add trailing `:' command.
3882         (configure.in): Use proper m4 quoting, and avoid obsolescent
3883         constructs.
3884         * tests/subobj8.test: Likewise.  Also, enable `errexit' shell
3885         flag, with related changes
3886         * tests/subobj4.test: Likewise.  Also, make grepping of
3887         `Makefile.in' stricter.
3888         * tests/subobj5.test: Add trailing `:' command.  Move setting of
3889         `errexit' shell flag earlier in the script (just after inclusion
3890         of ./defs).
3891         (configure.in): Use the stub created by `./defs', rather than
3892         writing it from scratch, and avoid obsolescent constructs.
3893         * tests/subobj6.test: Add trailing `:' command.  Move setting of
3894         `errexit' shell flag earlier in the script (just after inclusion
3895         of ./defs).  Do not create useless dummy ac-init file `f'.
3896         * tests/subobj7.test: Do not create useless dummy ac-init file
3897         `f'.
3898         (configure.in): Use the stub created by `./defs', rather than
3899         writing it from scratch, and avoid obsolescent constructs.
3900         * tests/subobj9.test: Move setting of `errexit' shell flag earlier
3901         in the script (just after inclusion of ./defs).  Fail the test if
3902         `make distcheck' fails.  Ensure verbose printing of captured make
3903         stdout.  Avoid useless fork by doing simple grep instead of using
3904         test -n "`COMMAND | grep ...`".
3905         (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
3906         (Makefile.am): Explicitly mark target "print" as phony.
3907         * tests/subobj10.test: Removed duplicated call to `set -e'.  Add
3908         trailing `:' command.
3909         (configure.in): Normalize the call to AC_INIT w.r.t. other tests.
3911         Remove a couple of obsoleted tests.
3912         * tests/fpinstall.test: Removed.
3913         * tests/fpinst2.test: Likewise.
3914         * tests/Makefile.am (TESTS): Updated.
3916         Bootstrap: updated HACKING entry.
3917         * HACKING ("Working with git"): Explain how to override the
3918         autoconf and autom4te programs used by the bootstrap process.
3920         Bootstrap: fixlet.
3921         * bootstrap: Do not remove `lib/Automake/Config.pm' anymore,
3922         since we don't generate it.  Correctly quote arguments of
3923         `eval' builtin.  Fixed a botched error message.  Removed an
3924         extra blank line.
3926         Bootstrap: don't search perl in $PATH.
3927         * bootstrap: Do not explicitly search perl in $PATH anymore.
3928         ($PATH_SEPARATOR): Removed, it's no more needed.
3930         Bootstrap: let the user choose which autoconf to use.
3931         * bootstrap ($AUTOCONF): New variable, from the environment.
3932         ($AUTOM4TE): Likewise, for clarity.
3933         Use "$AUTOCONF" instead of calling "autoconf" directly.
3935         Minor improvements to tests ar*.test.
3936         * tests/ar.test: Add trailing `:' command.
3937         * tests/ar2.test: Likewise, and make grepping of generated
3938         Makefile.in stricter.
3940 2010-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3942         Fix maintainer-check failure.
3943         * tests/cond5.test: Quote sleep argument, this isn't about
3944         time stamp differences.
3946         Sync auxiliary files from upstream.
3947         * lib/config.guess, lib/config.sub, lib/texinfo.tex:
3948         Sync from upstream.
3950 2010-08-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
3952         Work around a nasty bug (segfault) of Solaris make.
3953         * lib/am/check.am (recheck, recheck-html): Trim trailing spaces
3954         from $list, to avoid triggering a nasty bug (potential segfault)
3955         on Solaris make.
3957 2010-08-06  Peter Rosin  <peda@lysator.liu.se>
3959         Make cond5.test more robust on MSYS.
3960         * tests/cond5.test: Add delay before the first kill attempt to
3961         cater for problems with MSYS bash.
3963 2010-11-16  Peter Rosin  <peda@lysator.liu.se>
3965         Skip MSVC oriented tests if the shell is not capable.
3966         * tests/defs: New required entry 'xsi-shell'.
3967         * tests/ar-lib.test, tests/compile3.test, tests/compile6.test:
3968         Require a XSI capable shell.
3969         Reported by Ralf Wildenhues.
3971 2010-11-15  Peter Rosin  <peda@lysator.liu.se>
3973         compile: clear the `eat' variable earlier.
3974         * lib/compile: Clear the `eat' variable earlier.
3975         ($scriptversion): Update.
3976         * tests/compile3.test: Prevent regressions.
3978 2010-10-07  Peter Rosin  <peda@lysator.liu.se>
3980         depcomp: add new one-pass depmode for MSVC 7 and later.
3981         * lib/depcomp: Add new depmodes 'msvc7' and 'msvc7msys' which
3982         make use of the -showIncludes option added in MSVC 7.
3983         * m4/depend.m4 (_AM_DEPENDENCIES): Handle the new depmodes
3984         similarly to 'msvisualcpp' and 'msvcmsys' as MSVC does not
3985         support the -o option.
3987 2010-10-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3989         tests: fix ar-lib.test for echo that interprets backslashes.
3990         * tests/ar-lib.test: Use printf instead of echo.  Avoid test -a.
3991         More robust quoting.
3993 2010-09-21  Peter Rosin  <peda@lysator.liu.se>
3995         compile: implement library search to support MSVC static linking
3996         * lib/compile (func_cl_wrapper): Implement library search and
3997         -static option so that the user can select whether to prefer
3998         dll import libraries or static libraries.  This enables MSVC to
3999         link against dlls generated by libtool without requiring libtool
4000         or workarounds such as -lfoo.dll etc.  Makes the tests/static.at
4001         test case in libtool pass.
4002         * tests/compile3.test: Don't trip up if there happens to exist
4003         a "foo" library in the library search path.
4004         * tests/compile6.test: New test, verifying the library search.
4005         * tests/Makefile.am (TESTS): Update.
4007 2010-09-02  Peter Rosin  <peda@lysator.liu.se>
4009         Make ar-lib support backslashed files in archives.
4010         * lib/ar-lib: If an archive member contains a backslash, make sure
4011         it is escaped when the archive member is extracted.
4012         * tests/ar-lib.test: Test the above.
4014 2010-08-31  Peter Rosin  <peda@lysator.liu.se>
4016         Do file name conversion for object files in the compile wrapper.
4017         * lib/compile (func_cl_wrapper): Do file name conversion for object
4018         files (i.e. extensions .obj, .OBJ, .o and .O) if needed.
4019         * tests/compile4.test: Test the above.
4021 2010-08-16  Peter Rosin  <peda@lysator.liu.se>
4023         Optimize compile script on MSYS.
4024         * lib/compile (func_file_conv): Add new argument 'lazy' which
4025         takes an optional list of conversion types where the requested
4026         conversion isn't needed.
4027         (func_cl_wrapper): Take advantage of the above for cases where
4028         MSYS is doing the conversion for us.
4029         Suggested by Ralf Wildenhues.
4031 2010-08-16  Peter Rosin  <peda@lysator.liu.se>
4033         Support more C++ file extensions for MSVC in the compile script.
4034         * lib/compile (func_cl_wrapper): MSVC only recognizes the .cpp
4035         file extension as C++, unless it's given a hint. So hint about
4036         .cc, .CC, .cxx, .CXX, c++ and C++. Also do path conversion on
4037         .c, .cpp, .CPP, .lib, .LIB and .Lib files.
4038         * tests/compile3.test: Test the C++ hinting.
4040 2010-08-12  Peter Rosin  <peda@lysator.liu.se>
4042         Enable the use of "link -lib" as the wrapped archiver.
4043         * lib/ar-lib: Enable the use of "link -lib" as the wrapped
4044         archiver, as well as allowing some other options to be passed
4045         through to the wrapped archiver.
4046         * tests/ar-lib.test: Test the above.
4048 2010-08-06  Peter Rosin  <peda@lysator.liu.se>
4050         Add new auxiliary 'ar-lib' script, wrapping Microsoft lib.
4051         * lib/ar-lib: New auxiliary script.
4052         * lib/Makefile.am: Add above.
4053         * tests/ar-lib.test: New test.
4054         * tests/Makefile.am: Add above.
4055         * automake.in (@common_files): Distribute the 'ar-lib' script.
4056         * doc/automake.texi (Auxiliary Programs): Mention the new
4057         'ar-lib' script.
4058         (Optional): Mention 'ar-lib' in AC_CONFIG_AUX_DIR.
4059         * NEWS: Update.
4061 2010-08-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4063         Fix shell pattern negation in compile script.
4064         * lib/compile (func_file_conv): Use `!' not `^' for pattern
4065         negation.
4067 2010-08-01  Peter Rosin  <peda@lysator.liu.se>
4069         Wrap some MSVC options in the compile script.
4070         * lib/compile: MSVC supports naming the output file, the option
4071         is just not called -o, so transform -o into the appropriate form
4072         for MSVC. Also wrap some other options while at it (-L, -l, -Wl,
4073         -Xlinker and -I) and convert file names to windows form where
4074         needed for those options to make MSVC more usable in an
4075         autotooled environment.
4076         * doc/automake.texi (Auxiliary Programs): Document the above
4077         extension of the compile script.
4078         * NEWS: Updated.
4079         * tests/defs.in: New required entry 'cl'.
4080         * tests/compile3.test: New test.
4081         * tests/compile4.test: New test.
4082         * tests/compile5.test: New test.
4083         * tests/Makefile.am: Update.
4085 2010-07-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4087         Add example git work flow; discuss merge --log in HACKING.
4088         * HACKING: Update.
4089         Suggestion by Stefano Lattarini.
4091         Add more hints for debugging make rules.
4092         * doc/automake.texi (Debugging Make Rules): Show command to find
4093         out expanded values of variables; point to makefile debugger.
4094         * THANKS: Update.
4095         Prompted by suggestion from Ludovic Courtès and Andy Wingo.
4097 2010-07-27  Patrick Welche  <prlw1@cam.ac.uk>  (tiny change)
4099         Fix typo in the manual.
4100         * doc/automake.texi (Scripts): Fix typo.
4102 2010-07-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4104         Document current policy for development with git.
4105         * HACKING (Working with git): Overhaul.
4106         Prompted by suggestion from Stefano Lattarini.
4108         Fix AM_COND_IF for gone-invalid condition shell expression.
4109         * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE
4110         variable, rather than re-evaluating the shell expression for
4111         the condition.
4112         * tests/cond40.test: Extend test.
4113         * NEWS: Update.
4115         Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty.
4116         * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty
4117         to avoid shell syntax error if the m4 expansion is empty.
4118         * tests/cond40.test: Enhance test.
4120         Coverage: bogus option to AM_INIT_AUTOMAKE.
4121         * tests/init2.test: New test.
4122         * tests/Makefile.am: Update.
4124 2010-07-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
4126         Modernize and improve test scripts `subdir*.test'.
4127         * tests/subdir.test: Enable `errexit' shell flag, and related
4128         changes.  Use the `configure.in' stub created by `./defs',
4129         rather than writing one from scratch.
4130         * tests/subdir2.test: Likewise.
4131         * tests/subdir4.test: Likewise.
4132         * tests/subdir3.test: Enable `errexit' shell flag, and related
4133         changes.  Do not create useless dummy source files.
4134         * tests/subdir5.test: Make grepping of Makefile.in (in topdir
4135         and in subdirs) stricter.  Some minor changes to keep it more
4136         in sync with the related test `subdir8.test'.
4137         * tests/subdir8.test: Likewise (but with the related test being
4138         `subdir5.test' here).
4139         * tests/subdir6.test: Cosmetic change in spacing.
4140         * tests/subdir9.test: Define and use new variable `$distdir'.  Add
4141         trailing `:' command.
4142         * tests/subdir10.test: Cosmetic consistency-related change.
4143         * tests/subdirbuiltsources.test: Cosmetic changes in spacings.
4144         (configure.in): Use stub created by `./defs', rather than writing
4145         it from scratch.  Do not use obsoleted and/or deprecated forms of
4146         autoconf/automake macros.
4148         Modernize and improve test scripts `dist*.test'.
4149         * tests/distcleancheck.test: Do not add useless `-e' option to
4150         a $MAKE call.  Extend test by grepping stderr of make.
4151         * tests/distcom2.test: Do not run the same test script on the
4152         Makefile.in twice, but save its output in an intermediate file
4153         instead.  Make grepping of DIST_COMMON definition stricter.
4154         Display the content of more files, to ease debugging.  Add a
4155         trailing `:' command.  Improved heading comments w.r.t. sister
4156         test(s).
4157         * tests/distcom6.test: Likewise, and avoid to uselessly run
4158         autoconf.
4159         * tests/distcom3.test: Ensure verbose printing of captured stdout
4160         and stderr.  Make grepping of captured stderr stricter.  Also,
4161         add trailing `:' command.
4162         * tests/distcom4.test: Declare the target `test' in the generated
4163         Makefile.am as `.PHONY'.  Display content of more files, to ease
4164         debugging.  Add trailing `:' command.
4165         * tests/distcom5.test: Likewise.  Also, factor out common sed
4166         script in subroutine `extract_distcommon'.
4167         * tests/distcom7.test: Prefer cat + here-doc over echo to write
4168         test Makefile.am files.  Add a trailing `:' command.
4169         * tests/distname.test: Prefer `gzip -d' over `gunzip'.  Move the
4170         call to `set -e' earlier.  Be stricter and more verbose in the
4171         checking of the generated tarball.
4172         (configure.in): Use the stub provided by ./defs, instead of
4173         writing it from scratch.  Avoid obsoleted constructs.  Remove
4174         useless call to `AM_PROG_CC_C_O'.
4175         * tests/distdir.test: Various minor improvements/normalizations.
4176         * tests/distlinks.test: Likewise.
4178 2010-07-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
4180         Improve and extend test cond5.test.
4181         * tests/cond5.test: Do not blindly sleep 60 seconds before polling
4182         the background automake process, but poll it every 10 seconds for
4183         at most 30 times (this makes the test both faster on good machines,
4184         and more resilient to spurious timeout-due failures when in low
4185         priority or on heavily-loaded systems).
4186         Check also that automake writes the expected error messages on the
4187         standard error.
4188         Enable `errexit' flag, and related changes.
4189         Rely on the `configure.in' stub created by `./defs', rather than
4190         writing one from scratch.
4192 2010-06-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4194         Update program --help output to match current GCS.
4195         * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL
4196         is not defined, for compatibility to Autoconf < 2.64.
4197         * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and
4198         PACKAGE_URL.
4199         (sc_diff_automake_in_automake): Update number of diff lines for
4200         additional substitutions.
4201         * aclocal.in (usage): Use PACKAGE_BUGREPORT.  Point to Automake
4202         home page and GNU general help page.
4203         * automake.in (usage): Likewise.
4204         * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email
4205         address.
4206         (Introduction, Creating amhello, amhello Explained, Options):
4207         Use it throughout.
4208         * lib/Automake/Makefile.am (do_subst): Substitute
4209         PACKAGE_BUGREPORT.
4210         * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global.
4211         * lib/Automake/ChannelDefs.pm: Use it for footer of fatal
4212         messages.
4214         Clean up @var handling in the manual.
4215         * doc/automake.texi: Throughout the manual, lower-case @var
4216         names, replace a few one-character names.
4218 2010-06-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
4220         Fix typo-related bug in test script silent5.test.
4221         * tests/silent5.test: Use $EGREP, not $GREP (which is not even
4222         defined).
4224         Tests: remove useless repetitions of `foreign' automake option.
4225         * tests/multlib.test (configure.in): Remove useless use of
4226         `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is
4227         already in $AUTOMAKE by default, so no point in repeating it).
4228         * tests/subobj10.test: Likewise.
4229         * tests/subobj9.test: Likewise.
4230         * tests/lex3.test (Makefile.am): Similarly, remove useless use
4231         of `foreign' option in AUTOMAKE_OPTIONS.
4232         * tests/lex5.test: Likewise.
4233         * tests/pr279.test: Likewise.
4234         * tests/pr279-2.test: Likewise.
4235         * tests/specflg3.test: Likewise.
4236         * tests/target-cflags.test: Likewise.
4238         Drop useless requirement "gzip" in lex5.test.
4239         * tests/lex5.test ($required): Do not list "gzip", as it's
4240         never used.
4242 2010-06-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
4244         Fix bugs in test script silent5.test.
4245         * tests/silent5.test: Fixed a nasty bug (due to the use of grep
4246         instead of egrep) that could have led to false negatives.
4248 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
4250         Add a test checking that distributed broken symlinks cause
4251         `make dist' to fail.
4252         * tests/distlinksbrk.test: New test.
4253         * tests/Makefile.am (TESTS): Updated.
4255 2010-06-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4257         Fix minor testsuite issues, update docs, for Yacc/Lex changes.
4258         * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS
4259         and AM_LFLAGS, LFLAGS in the order in which they now appear in
4260         the rules.
4261         * NEWS: Update.
4262         * tests/lflags.test, tests/lflags2.test, tests/yflags.test,
4263         tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to
4264         please maintainer-check.  Ensure generated C files contain a
4265         declaration, to please compilers.
4267 2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
4269         Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and
4270         $(FLAGS) precedence.
4271         * automake.in: Fix registration of languages "Lex", "Lex (C++)",
4272         "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over
4273         $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS).
4274         * tests/Makefile.am (XFAIL_TESTS): Updated accordingly.
4275         * NEWS: Updated.
4277         New tests, exposing bugs in Automake Yacc/Lex support w.r.t.
4278         $(AM_FLAGS) and $(FLAGS) precedence.
4279         * tests/lflags.test: New test, check that user $(LFLAGS) takes
4280         precedence over automake (AM_LFLAGS) and (foo_LFLAGS).  Still
4281         xfailing.
4282         * tests/lflags2.test: Likewise.
4283         * tests/yflags.test: New test, check that user $(YFLAGS) takes
4284         precedence over automake (AM_YFLAGS) and (foo_YFLAGS).  Still
4285         xfailing.
4286         * tests/yflags2.test: Likewise.
4287         * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly.
4289 2010-06-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
4291         Modernize, improve and extend tests `suffix*.test'.
4292         * tests/suffix3.test: Enable `errexit' shell flag, and related
4293         changes.
4294         * tests/suffix4.test: Likewise.
4295         * tests/suffix6.test: Likewise, and do not create a useless dummy
4296         source file.
4297         * tests/suffix7.test: Likewise.
4298         * tests/suffix5.test: Enable `errexit' shell flag, and related
4299         changes.  Make grepping of Makefile.in slightly stricter.
4300         * tests/suffix.test: Enable `errexit' shell flag, and related
4301         changes.  Also, do not redirect grep output to /dev/null, as this
4302         might unmotivatedly hide useful information.
4303         * tests/suffix2.test: Move setting of `errexit' shell flag earlier
4304         in the script (just after inclusion of ./defs).  Use a more
4305         idiomatic way to count text occurrences in Makefile.in with
4306         grep.  Do not create useless dummy source files.
4307         * tests/suffix10.test: Ensure verbose printing of captured make
4308         stdout.  Minor cosmetic changes.
4309         * tests/suffix8.test: Likewise.  Also, drop useless call to the
4310         env(1) utility, and make grepping of make output stricter by using
4311         $FGREP rather than plain grep.
4312         * tests/suffix11.test: Likewise.
4313         * tests/suffix12.test: Likewise.
4314         * tests/suffix9.test: Prefer cat + here-doc over echo to append to
4315         the `configure.in' stub.  Cosmetic changes.
4316         * tests/suffix13.test: Cosmetic spacing change.
4318 2010-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
4320         Add useful comment in test script ext.test.
4321         * tests/ext.test: Add a comment explaining why an apparently
4322         useless `if' statement is indeed required.
4324 2010-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
4326         Add useful comment in test script obsolete.test.
4327         * tests/obsolete.test: Add a comment explaining why we need
4328         an indirection in adding $AUTOUPDATE to $required.
4330         Normalize whitespaces in 'tests/Makefile.am'.
4331         * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
4332         definition of this variable.
4334 2010-06-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4336         Remove a couple of unneeded conditionals from tests.
4337         * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
4338         for the FOOTEST conditional.
4340 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
4342         Modernize, improve and/or fix various test scripts.
4343         * tests/symlink3.test: Deleted, separated into two new, more
4344         complete tests ...
4345         * tests/forcemiss.test: ... this one ...
4346         * tests/forcemiss2.test: ... and this one.
4347         * tests/symlink2.test: Enable `errexit' shell flag, make test
4348         stricter, and skip it if symlink creation is not supported.
4349         * tests/postproc.test: Enable `errexit' shell flag, related
4350         changes, and a couple of unrelated cosmetic changes.
4351         * tests/recurs.test: Use the `configure.in' stub created by
4352         `./defs', rather than writing one from scratch.  Make grepping
4353         of Automake stderr slightly stricter.
4354         * tests/substtarg.test: Likewise.
4355         * tests/strip.test: Likewise, and move the call to `set -e'
4356         earlier (just after the inclusion of `./defs'). Also, make sure
4357         that the script installed by `make install-script' is equal to
4358         the original one.
4359         * tests/substref.test: Use the `configure.in' stub created by
4360         `./defs', rather than writing one from scratch.  Move the call
4361         to `set -e' earlier (just after the inclusion of `./defs').
4362         Avoid to explicitly export CC for configure (that's already done
4363         in ./defs).  Avoid potential problems with unpredictable make
4364         output.  Finally, make grepping of Makefile.in stricter.
4365         * tests/substre2.test: Ensure verbose printing of the captured
4366         make's output, and make its grepping slightly stricter.
4367         * tests/cygwin32.test: Enable `errexit' shell flag, and related
4368         changes.  Also, do not create useless dummy source/data files.
4369         * tests/scripts.test: Likewise.
4370         * tests/recurs2.test: Likewise.  Also, use the `configure.in'
4371         stub created by `./defs'.
4372         * tests/Makefile.am (TESTS): Updated.
4374         Modernize, improve and/or fix tests `pluseq*.test.
4375         * tests/pluseq5.test: Append to configure.in using cat with an
4376         here-doc, not using echo.
4377         * tests/pluseq10.test: Make sure that the captured output of
4378         `make' command is always displayed. Where possible, use $FGREP
4379         instead of grep (this change makes some checks slightly stricter).
4380         * tests/pluseq8.test: Enable `errexit' shell flag, with related
4381         changes.
4382         * tests/pluseq.test: Likewise.  Also, do not create useless dummy
4383         data files, and use better m4 quoting in generated configure.in.
4384         * tests/pluseq2.test: Likewise.  Also, append to configure.in
4385         using cat with an here-doc, not using echo.
4386         * tests/pluseq3.test: Likewise.
4387         * tests/pluseq4.test: Likewise.
4388         * tests/pluseq6.test: Likewise.
4389         * tests/pluseq7.test: Do not create useless dummy source file.
4390         * tests/pluseq9.test: Slightly extended w.r.t. the grepping of
4391         Automake stderr.  Some unrelated cosmetic changes.
4393 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
4395         Testsuite: ensure verbose printing of captured stderr.
4396         * tests/acloca18.test: Print captured stderr before either failing
4397         or grepping it.  Be sure to send captured stderr to stderr, not to
4398         stdout.
4399         * tests/ansi3b.test: Likewise.
4400         * tests/cond39.test: Likewise.
4401         * tests/configure.test: Likewise.
4402         * tests/missing3.test: Likewise.
4403         * tests/missing6.test: Likewise.
4404         * tests/output-order.test: Likewise.
4405         * tests/pr300-ltlib.test: Likewise.
4406         * tests/python6.test: Likewise.
4407         * tests/python7.test: Likewise.
4408         * tests/python8.test: Likewise.
4409         * tests/python9.test: Likewise.
4410         * tests/subobj.test: Likewise.
4411         * tests/vars3.test: Likewise.
4412         * tests/missing4.test: Likewise, and fix a call to grep not to use
4413         the `-c' flag.
4414         * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
4415         created by `./defs', rather than writing one from scratch.
4417         Enable `errexit' shell flag in various tests.
4418         * tests/backsl.test: Enable the `errexit' shell flag, and
4419         related changes.
4420         * tests/backsl2.test: Likewise.
4421         * tests/block.test: Likewise.
4422         * tests/canon2.test: Likewise.
4423         * tests/canon4.test: Likewise.
4424         * tests/comment2.test: Likewise.
4425         * tests/condlib.test: Likewise.
4426         * tests/cond15.test: Likewise, and prefer $FGREP over grep.
4427         * tests/canon3.test: Likewise.  Also, avoid to create an useless
4428         dummy source file.
4429         * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
4430         related changes.  Do some cosmetic improvements in the generated
4431         `configure.in' file.
4432         * tests/cond4.test: Likewise.
4433         * tests/cond14.test: Likewise.
4434         * tests/condinc.test: Likewise.
4435         * tests/cond7.test: Likewise.  Also, remove useless setting of
4436         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
4437         * tests/ansi.test: Enable the `errexit' shell flag, and related
4438         changes.  Extended, esp. by running autoconf, ./configure and
4439         make, and by looking into the distdir.
4441 2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
4442             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4444         Extend tests/README w.r.t. trailing `:' in test scripts.
4445         * tests/README (section "Writing test cases" subsection "Do"):
4446         Explain why apparently redundant trailing `:' and `Exit 0' in
4447         test scripts can indeed be useful.
4449 2010-06-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
4451         Improve determination of PATH separator in bootstrap script.
4452         * bootstrap: Determine what the PATH separator is the same way
4453         autoconf does.
4455         Minor improvements in bootstrap script.
4456         * bootstrap: Consistently use two-spaces indentation.  Cosmetic
4457         improvement to comments.
4458         ($me): New variable, containing program basename.
4459         Prepend it to all error messages.
4461         Testsuite now works with BSD make in parallel mode.
4462         * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
4463         which are exported by BSD make when run in parallel mode, and
4464         which can confuse make processes spawned by our testsuite.
4465         This change fixes a lot of spurious failure when the testsuite
4466         is run with BSD make in parallel mode.
4468 2010-06-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
4470         Modernize, improve and/or fix various test scripts.
4471         * tests/sanity.test: Rely on the `configure.in' stub created by
4472         `./defs', rather than writing one from scratch.
4473         * tests/depend2.test: Likewise.  Also, call `set -e' just after
4474         the inclusion of `./defs', instead that later in the script.
4475         * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
4476         $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
4477         * tests/exeext4.test: Use $FGREP instead of grep, where possible.
4478         Make auxiliary rules in the generated Makefile more silent.
4479         These changes make some checks slightly stricter.
4480         * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
4481         * tests/gettext2.test: Place final `:' at the end of the script,
4482         rather than in the middle.
4483         * tests/exeext.test: Call `set -e' just after the inclusion of
4484         `./defs', instead that later in the script.
4485         * tests/extra5.test: Likewise.
4486         * tests/confdeps.test: Likewise.  Also, prefer `mv -f' over
4487         plain `mv', just to be sure.
4488         * tests/depcomp.test: Enable `errexit' shell flag, with related
4489         changes.  Also, modernize the generated configure.in.
4490         * tests/cond9.test: Likewise.  Also, rely on the `configure.in'
4491         stub created by `./defs', rather than writing one from scratch.
4492         * tests/cond10.test: Likewise.
4493         * tests/depcomp2.test: Likewise.
4494         * tests/depend3.test: Likewise.
4495         * tests/distcom7.test: Likewise.
4496         * tests/fortdep.test: Likewise.  Also, remove definition of
4497         AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
4498         since that flag is already provided by $AUTOMAKE.
4499         * tests/mdate.test: Made stricter, by checking that Automake
4500         actually failed, and by making a stricter grep on the error
4501         message.  Also, set shell `errexit flag'.
4502         * tests/python2.test: Improved verbose messages.
4504         Make test `ammissing.test' stricter.
4505         * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly.
4506         Enable `errexit' shell flag.
4508 2010-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
4510         Enable `errexit' shell flag in some test scripts.
4511         * tests/subcond.test: Enabled `errexit' shell flag, and related
4512         minor changes.
4513         * tests/subst.test: Likewise.
4514         * tests/vars.test: Likewise.
4515         * tests/version4.test: Likewise.
4516         * tests/vpath.test: Likewise.
4517         * tests/vtexi2.test: Likewise.
4518         * tests/werror.test: Likewise.
4519         * tests/whoami.test: Likewise.
4520         * tests/tags.test: Likewise, and avoid to crate an useless dummy
4521         header file.
4522         * tests/acsilent.test: Likewise, and don't use an easily-avoided
4523         command substitution.
4524         * tests/unused.test: Likewise, and don't use an easily-avoided
4525         command substitution.
4526         * tests/version.test: Likewise, and avoid deprecated constructs
4527         in the generated `configure.in'.
4528         * tests/version2.test: Likewise, and avoid deprecated constructs
4529         in the generated `configure.in'.
4531 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4533         Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
4534         * tests/ldadd.test: Enable errexit.  Use AUTOMAKE_fails so
4535         the verbose log contains all output.
4536         * tests/mdate.test: Likewise.
4537         Prompted by Stefano Lattarini's change to discover.test.
4539 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
4541         Improve tests link*.test (enable `errexit' shell flag).
4542         * tests/link_c_cxx.test: Enable `errexit shell flag, and related
4543         changes.  Also, do not create useless source files.
4544         * tests/link_dist.test: Likewise.
4545         * tests/link_f90_only.test: Likewise.
4546         * tests/link_f_only.test: Likewise.
4547         * tests/link_fc.test: Likewise.
4548         * tests/link_fccxx.test: Likewise.
4549         * tests/link_fcxx.test: Likewise.
4551 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4553         Improve ext.test semantics, avoid OpenBSD sh errexit issue.
4554         * tests/ext.test: Inside shell compound command, use
4555         `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
4556         fix failure with OpenBSD sh introduced with last patch.
4557         Actually ensure that a rule for .EXT.o is created for each
4558         known extension EXT.
4560 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
4562         Enable `errexit' shell flag in some test scripts.
4563         * tests/dash.test: Enable `errexit' shell flag, and related
4564         changes.
4565         * tests/defun.test: Likewise.
4566         * tests/defun2.test: Likewise.
4567         * tests/dejagnu.test: Likewise.
4568         * tests/double.test: Likewise.
4569         * tests/distcom2.test: Likewise.
4570         * tests/empty2.test: Likewise.
4571         * tests/empty3.test: Likewise.
4572         * tests/empty4.test: Likewise.
4573         * tests/exdir.test: Likewise.
4574         * tests/ext.test: Likewise.
4575         * tests/extra.test: Likewise.
4576         * tests/extra2.test: Likewise.
4577         * tests/extra3.test: Likewise.
4578         * tests/extra4.test: Likewise.
4579         * tests/flibs.test: Likewise.
4580         * tests/fnoc.test: Likewise.
4581         * tests/fo.test: Likewise.
4582         * tests/instexec.test: Likewise.
4583         * tests/ltdeps.test: Likewise.
4584         * tests/nodep.test: Likewise.
4585         * tests/nodepcomp.test: Likewise.
4586         * tests/f90only.test: Likewise, and remove botched/obsoleted
4587         comments and unnecessary commands.
4588         * tests/fonly.test: Likewise, and remove botched/obsoleted
4589         comments and unnecessary commands.
4590         * tests/discover.test: Likewise, and made stricter.
4592         Enable `errexit' shell flag in all tests cxx*.test.
4593         * tests/cxx.test: Enabled `errexit' shell flag, and related
4594         minor changes.
4595         * tests/cxxansi.test: Likewise.
4596         * tests/cxxcpp.test: Likewise.
4597         * tests/cxxlibobj.test: Likewise.
4598         * tests/cxxlink.test: Likewise.
4599         * tests/cxxo.test: Likewise.
4601         Enable `errexit' shell flag in various tests.
4602         * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
4603         minor changes.
4604         * tests/acoutpt.test: Likewise.
4605         * tests/acoutqnl.test: Likewise.
4606         * tests/amassign.test: Likewise.
4607         * tests/ansi2.test: Likewise.
4608         * tests/ansi4.test: Likewise.
4609         * tests/badprog.test: Likewise.
4610         * tests/checkall.test: Likewise.
4611         * tests/clean.test: Likewise.
4612         * tests/colneq2.test: Likewise.
4613         * tests/colon.test: Likewise.
4614         * tests/colon5.test: Likewise.
4615         * tests/colon6.test: Likewise.
4616         * tests/comment.test: Likewise.
4617         * tests/compile_f90_c_cxx.test: Likewise.
4618         * tests/compile_f_c_cxx.test: Likewise.
4619         * tests/cond3.test: Likewise.
4620         * tests/cond6.test: Likewise.
4621         * tests/cond13.test: Likewise.
4622         * tests/conf2.test: Likewise.
4623         * tests/confvar.test: Likewise.
4624         * tests/confvar2.test: Likewise.
4625         * tests/cond8.test: Likewise, plus a cosmetic change.
4626         * tests/confh4.test: Likewise.  Also, add in the heading comments
4627         an excerpt from the original bug report which motivated the
4628         creation of this test, to make its purpose clearer.
4630 2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4632         Rewrite manual to be gender-neutral.
4633         * doc/automake.texi (GNU Build System)
4634         (Standard Directory Variables, General Operation, CVS)
4635         (Hard-Coded Install Paths, Dependencies As Side Effects):
4636         Rewrite text to not contain gender-specific pronouns when
4637         speaking about developers or users, either by avoiding pronouns
4638         or by addressing them as `you' instead.
4639         * THANKS: Update.
4640         Report by Christina Gratorp.
4642         * AUTHORS: Update.
4644 2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
4646         Make tests on user extensibility of silent-rules mode stricter.
4647         * tests/silent6.test: Made stricter w.r.t. the grepping of the
4648         output produced by `make'.
4649         * tests/silent7.test: Likewise.
4651         Tests on silent-mode for C/Libtool made stricter.
4652         * tests/silent.test: Made stricter w.r.t. the grepping of the
4653         output produced by `make'.
4654         * tests/silent2.test: Likewise.
4655         * tests/silent4.test: Likewise.
4656         * tests/silent9.test: Likewise.
4657         * tests/silent3.test: Likewise, and add a final `make distclean'
4658         command to keep it better in sync with tests/silent{4,9}.test.
4660         Improved test silent5.test.
4661         * tests/silent5.test: Remove by hand all generated C files after
4662         non-verbose builds, to ensure the following builds are clean.
4663         Try to clean and rebuild with the same verbosity and without
4664         removing generated sources in between, to check that this does
4665         not trigger a different set of rules.  Make grepping of make's
4666         output stricter.  Improved/added some comments.
4668         New tests for Automake silent-mode with Fortran.
4669         * tests/silentf77.test: New test.
4670         * tests/silentf90.test: Likewise.
4671         * tests/Makefile.am (TESTS): Updated accordingly.
4673         New test `silentcxx.test' (Automake silent-mode with C++).
4674         * tests/silentcxx.test: New test.
4675         * tests/Makefile.am (TESTS): Updated accordingly.
4677         New test `silentyacc.test' (Automake silent-mode with Yacc).
4678         * tests/silentyacc.test: New test.
4679         * tests/Makefile.am (TESTS): Updated accordingly.
4681         New test `silentlex.test' (Automake silent-mode with Lex).
4682         * tests/silentlex.test: New test.
4683         * tests/Makefile.am (TESTS): Updated accordingly.
4685         Relax tests on silent-rules to cater to overly verbose makes.
4686         * tests/silent.test: When testing silent builds, don't fail if
4687         make's output simply contains the `mv' substring, but only if
4688         it contains the `mv ' substring (note the trailing space).
4689         * tests/silent2.test: Likewise.
4690         * tests/silent3.test: Likewise.
4691         * tests/silent4.test: Likewise.
4692         * tests/silent5.test: Likewise.
4693         * tests/silent9.test: Likewise.
4695 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
4697         Extend test on `nostdinc' automake option.
4698         * tests/nostdinc.test: Enable `errexit' shell flag.  Related and
4699         unrelated minor changes.  Make the grepping of the generated
4700         Makefile.in slightly stricter.  Generate and run configure, so that
4701         the generated Makefile can be grepped too.
4703 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4705         Make gnupload portable to EBCDIC hosts.
4706         * lib/gnupload: Use literal newline as argument for 'tr' rather
4707         than \015, for EBCDIC hosts.  Also, avoid unportable nested
4708         double-quotes and backquotes.
4709         * THANKS: Update.
4710         Report from Eric Blake and Steve Goetze via gnulib.
4712 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
4714         Fix Autoconf version required by Automake's configure.
4715         Automake configure script used to tell that automake required
4716         autoconf 2.60 or later, but then it checked for autoconf >= 2.62,
4717         and if that was not found, it gave an error saying that Automake
4718         required configure 2.61a-341 or later.  This change should
4719         eliminate such inconsistencies.
4720         * configure.ac ($required_autoconf_version): New variable.
4721         Use it throughout.
4723 2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4725         Fix unportable sed script in maintainer-check test.
4726         * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to
4727         not contain semicolon after 'b' or brace commands, for NetBSD.
4729         Wildcards are not portable to NetBSD make.
4730         * doc/automake.texi (Wildcards): Document portability issue.
4731         * tests/extra10.test, tests/extra11.test, tests/extra12.test:
4732         Require GNU make.
4734 2010-05-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
4736         Make test for configure.in vs. configure.ac stricter.
4737         * tests/configure.test: Use a configure.in file that provokes
4738         an automake error, to ensure configure.ac is preferred.
4740         Avoid possible false negatives in dejagnu7.test.
4741         * tests/dejagnu7.test: Enable shell `errexit' flag.  Also, avoid
4742         unportable use of fgrep option `-e'.
4744         Fix conflnk3.test to work with Solaris/Heirloom Sh.
4745         * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE'
4746         instead of respectively `test -e FILE' and `test ! -e FILE',
4747         since Solaris Sh doesn't grok the latter.  Do not SKIP the test
4748         if the shell doesn't support `test -e'.
4750 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4752         Fix typo in manual.
4753         * doc/automake.texi (Simple Tests using parallel-tests): Add
4754         missing closing parenthesis.
4756         Fix leftover call to removed function macros_dump.
4757         * automake.in (read_main_am_file): Call variables_dump, not
4758         macros_dump.  Print actual error before list of variables.
4760 2010-04-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
4762         Minor improvements in comments of test `silent3.test'.
4763         * tests/silent3.test: Tell to keep it in sync with `silent9.test'
4764         too.
4766 2010-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4768         testsuite: ensure verbose printing of captured output.
4769         * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test,
4770         tests/fort2.test, tests/help.test, tests/missing3.test,
4771         tests/missing6.test: Print captured stdout or stderr before
4772         grepping it.
4774 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
4776         Make test badopt.test stricter (by enabling `set -e').
4777         * tests/badopt.test: Add call to `set -e'.  Due to this change,
4778         an unexpected failure in the call to `$ACLOCAL' (whose outcome
4779         was previously unchecked) would cause the whole test to fail.
4780         Also, bumped the copyright years.
4782         Make test for configure.in vs. configure.ac stricter.
4783         * tests/configure.test: Use a configure.in file that provokes
4784         an automake error, to ensure configure.ac is preferred.
4786         Use `set -e' in confsub.test (avoids possible false negatives).
4787         * tests/confsub.test: Enable shell `errexit' flag, and related
4788         changes (this helps avoiding some possible minor false negatives).
4789         Also, bumped copyright years.
4791 2010-04-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4793         Fix -Werror handling for presence of configure.in and configure.ac.
4794         * lib/Automake/Variable.pm (Automake::Variable): Do not initialize
4795         $configure_ac at the global level, before command-line arguments
4796         have been parsed.
4797         (require_variables): Initialize it here.
4798         * tests/configure.test: New test.
4799         * tests/Makefile.am: Update.
4800         Report by Stefano Lattarini.
4802 2010-04-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
4804         Avoid possible false negatives in confh5.test.
4805         * tests/confh5.test: Enable shell `errexit' flag, and bumped
4806         copyright years.  Due to this change, any unexpected failure
4807         in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or
4808         a failure in grepping expected text in output files should now
4809         cause the whole test to fail.
4811 2010-04-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
4813         Fixed typo in POD documentation of Automake::Channels.
4814         * lib/Automake/Channels.pm: Fixed typo in POD documentation:
4815         @<...> was used instead of C<...>.
4817 2010-04-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
4819         Refactor tests on Automake TESTS color output.
4820         * tests/color.test: Tests using the expect program moved out to...
4821         * tests/color2.test: ... this new file.
4822         * tests/Makefile.am (TESTS): Extended accordingly.
4824 2010-04-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
4826         Fix typos in comments in test confh5.test
4827         * tests/confh5.test: Fix a couple of typos in comments.
4829         Avoid possible false negatives in canon-name.test.
4830         * tests/canon-name.test: Enable shell `errexit' flag.  Improve
4831         test description.
4833 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4835         Fix per-Makefile.am setting of -Werror.
4836         Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one
4837         Makefile.am would carry over to other Makefile.am files
4838         treated afterwards by the same thread, causing inconsistent
4839         and unstable exit status values.
4840         * lib/Automake/Channels.pm (dup_channel_setup)
4841         (drop_channel_setup): Save and restore the setting of
4842         $warnings_are_errors.
4843         * tests/werror3.test: New test.
4844         * tests/Makefile.am: Adjust.
4845         * NEWS: Update.
4847 2010-04-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
4849         Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh.
4850         * tests/confh5.test: In the generated Makefile.am: do not use
4851         `test ! -e FILE' to check for the non-existence of a file, since
4852         that is not supported by Solaris/Heirloom Sh.
4854         Make test `aclocal3.test' stricter.
4855         * tests/aclocal3.test: Add call to `set -e'.  Fail if $ACLOCAL
4856         succeds unexpectedly.
4858         Add tests checking that symlinks are resolved by `make dist'.
4859         * tests/distlinks.test: New test.
4860         * tests/Makefile.am (TESTS): Updated accordingly.
4861         Suggested by observations from Ralf Wildenhues.
4863 2010-04-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4865         Use -9 for maximum xz compression with dist-xz.
4866         * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz.
4867         * NEWS, THANKS: Update.
4868         Report by Pavel Sanda.
4870 2010-03-30  Stefano Lattarini  <stefano.lattarini@gmail.com>
4872         Avoid an unportable use of `$status' shell variable.
4873         * Makefile.am (path-check): Don't use the `$status' shell variable
4874         in the target's rules, as it's special in Zsh (equivalent to `$?',
4875         and readonly).
4877         Avoid another use of `chmod -R'.
4878         * Makefile.am (path-check): To be safe, do not use `chmod -R' on
4879         $(distdir) before removing it (as Solaris `chmod -R' touches
4880         symlink targets).  Instead, use the cleanup strategy used in
4881         distdir.am.
4883 2010-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4885         Remove uses of @acronym and @sc.
4886         * doc/automake.texi (Public Macros, Limitations on File Names):
4887         Remove all usage of @acronym and @sc in the manual.
4888         Suggested by Karl Berry.
4890 2010-03-13  Karl Berry  <karl@freefriends.org>
4892         GNU hello uses fdl.texi, not gpl.texi.
4893         * doc/automake.texi (Texinfo): Adjust example to upstream
4894         change.
4896 2010-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4898         Formatting cleanups in macro comments.
4899         * automake.in, lib/Automake/Channels.pm,
4900         lib/Automake/FileUtils.pm, lib/Automake/Options.pm,
4901         lib/Automake/Variable.pm, lib/Automake/XFile.pm,
4902         m4/options.m4, m4/substnot.m4: Fix macro comment format.
4904 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
4905             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4907         Avoid generation of `tests/defs-p' file.
4908         * tests/defs.in: In the generated `configure.in' snippet: call
4909         `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell
4910         variable `parallel_tests' is set to `yes'.
4911         * tests/Makefile.am (defs-p): Target removed.
4912         (check_SCRIPTS): Removed `defs-p'.
4913         (clean-local-check): Do not unlink `defs-p' anymore.
4914         ($(parallel_tests)): Transformation rules for the test scripts
4915         adjusted.
4916         * tests/gen-parallel-tests: Selection rules for the test
4917         scripts adjusted.
4918         * tests/parallel-tests.test: Set `$parallel_tests' to `yes'
4919         then include `./defs' (rather than simply including `./defs-p').
4920         * tests/parallel-tests2.test: Likewise.
4921         * tests/parallel-tests3.test: Likewise.
4922         * tests/parallel-tests4.test: Likewise.
4923         * tests/parallel-tests5.test: Likewise.
4924         * tests/parallel-tests6.test: Likewise.
4925         * tests/parallel-tests7.test: Likewise.
4926         * tests/parallel-tests8.test: Likewise.
4927         * tests/parallel-tests9.test: Likewise.
4928         * tests/parallel-tests10.test: Likewise.
4929         * tests/README (Section "Writing Test Cases" subsection "Do"):
4930         Adjusted the parts referring to tests checking `parallel-tests'
4931         behaviour.  Some other minor related improvements.
4932         * tests/.gitignore (defs-p): Removed.
4934 2010-03-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
4936         Remove redundant unset of variable TESTS from some test scripts.
4937         * tests/color.test: Do not unset the `TESTS' variable, as it's
4938         already unset in the `defs' file.
4939         * tests/check5.test: Likewise.
4940         * tests/check8.test: Likewise.
4941         * tests/check9.test: Likewise.
4942         * tests/check10.test: Likewise.
4943         * tests/check11.test: Likewise.
4944         * tests/parallel-tests.test: Likewise.
4945         * tests/parallel-tests3.test: Likewise.
4946         * tests/parallel-tests4.test: Likewise.
4947         * tests/parallel-tests5.test: Likewise.
4948         * tests/parallel-tests6.test: Likewise.
4949         * tests/parallel-tests7.test: Likewise.
4951 2010-02-22  Karl Berry  <karl@gnu.org>
4953         Improve help message of mdate-sh.
4954         * mdate-sh: mention actual output format in help message.
4956 2010-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4958         Deprecate dist-lzma in favor of dist-xz.
4959         * doc/automake.texi (The Types of Distributions, Options):
4960         Adjust text to reflect renaming of lzma to xz.
4961         * NEWS: Update.
4962         Missing deprecation noted by Antonio Diaz Diaz.
4964 2010-02-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
4966         Add tests about support of wildcards in EXTRA_DIST.
4967         * tests/extra10.test: New test, check basic support of wildcards
4968         in EXTRA_DIST.
4969         * tests/extra11.test: New test, check more complex usage of
4970         wildcards in EXTRA_DIST.
4971         * tests/extra12.test: New test, check usage of wildcards in
4972         EXTRA_DIST when $builddir != $srcdir.
4973         * tests/Makefile.am (TESTS): Updated accordingly.
4974         Necessity of these new tests suggested by Braden McDaniel
4975         and Ralf Wildenhues.
4977 2010-02-08  Simon Josefsson  <simon@josefsson.org>
4979         Fix copyright statement in gnupload script.
4980         * lib/gnupload: Fix copyright statement.
4982 2010-02-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4984         Merge NEWS entry correctly.
4985         * NEWS: Fix mis-merge.
4987 2010-02-06  Dmitry V. Levin  <ldv@altlinux.org>  (tiny change)
4988             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4990         Fix exit status of signal handlers in shell scripts.
4991         The value of `$?' on entrance to signal handlers in shell scripts
4992         cannot be relied upon, so set the exit code explicitly to
4993         128 + SIG<SIGNAL>.
4994         * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler.
4995         * lib/elisp-comp: Likewise.
4996         * lib/install-sh: Likewise.
4997         * lib/ylwrap: Likewise.  Also, fix script to trap signal 13, not 3.
4998         * NEWS, THANKS: Update.
4999         Bug report, analysis, and initial patch by Dmitry V. Levin.
5001 2010-02-06  Karl Berry  <karl@gnu.org>
5003         Improve gnupload usage text.
5004         * gnupload (usage): Shorten to make more likely to fit on a tty
5005         line.  Mention CMD in the synopsis.  With ..., plural is implied.
5007 2010-01-28  Christos Kontas  <xakon@yahoo.com>  (tiny change)
5009         Fix some typos in the manual
5010         * doc/automake.texi (Nested Packages, Rebuilding): Fix typos.
5012 2010-01-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5014         Fix silent-rules output for disabled dependency tracking.
5015         * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable
5016         expansion code to also work in the case where %AMDEP% expands
5017         to FALSE at config.status time, using new substitution string
5018         %VERBOSE-NODEP%.
5019         * automake.in (verbose_nodep_flag): New function, appending
5020         `@am__nodep@' to the verbose-variable name.
5021         (handle_languages): If dependencies are not disabled, use it to
5022         set %VERBOSE-NODEP%.
5023         * m4/depend.m4: Substitute am__nodep as '_no', so the second
5024         verbose-variable will always expand to an empty string, if
5025         dependencies are enabled.
5026         * tests/silent5.test: Also test --disable-dependency-tracking;
5027         also test per-target flags for non-C language files.
5028         * tests/silent9.test: New test, like silent4.test but disable
5029         dependency tracking.
5030         * tests/Makefile.am: Adjust.
5031         * NEWS, THANKS: Update.
5032         Report by Dmitry V. Levin <ldv@altlinux.org>.
5034 2010-01-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
5036         Slighty improve tests acoutbs.test and acoutbs2.test.
5037         * tests/acoutbs2.test: Enable `errexit' shell flag.  Check that
5038         autoconf and configure work, that the file `zot' is created by
5039         configure, and that no file containing a backslash in its name is
5040         created.
5041         * tests/acoutbs.test: Likewise, plus updated copyright years.
5043         Fix test acoutbs2.test.
5044         * tests/acoutbs2: In the generated configure.in: add proper calls
5045         to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of
5046         PACKAGE and VERSION. Add a call to aclocal before calling automake.
5047         Updated copyright years.
5048         * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test.
5050         Add forgotten test scripts to $(TESTS).
5051         * tests/Makefile.am (TESTS): Added test scripts present on the
5052         filesystem, which were erroneously left out from $(TESTS):
5053         acoutbs2.test, badopt.test, extra2.test.
5054         (XFAIL_TESTS): Added acoutbs2.test.
5056 2010-01-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5058         Sync auxiliary files from upstream.
5059         * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub:
5060         Sync from upstream.
5062         Bump copyright years.
5063         * aclocal.in (write_aclocal, version): Bump copyright years.
5064         * automake.in (gen_copyright, version): Likewise.
5065         * doc/automake.texi: Likewise.
5067         Rotate ChangeLog.
5068         * ChangeLog.09: New file, rotated from ...
5069         * ChangeLog: ... here.
5070         * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09.
5072 -----
5074 Copyright (C) 2010, 2011  Free Software Foundation, Inc.
5076 Copying and distribution of this file, with or without modification, are
5077 permitted provided the copyright notice and this notice are preserved.
5079 ;; Variables:
5080 ;; coding: utf-8
5081 ;; End: