Distribute the Automake bootstrap script.
[automake.git] / ChangeLog
blobd45eb7fa7bc406b04877bbf32a52625d1f796c8c
1 2009-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3         Distribute the Automake bootstrap script.
4         * Makefile.am (EXTRA_DIST): Add bootstrap.
5         Report by Jan Engelhardt.
7 2009-10-31  Jim Meyering  <meyering@redhat.com>
8             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10         Don't let an envvar setting of "$fail" cause build failure.
11         Without this change, in a project using an automake-generated
12         Makefile, "make fail=anything" would fail inappropriately,
13         due to the `test -z "$$fail"' at the end of this emitted rule:
14         * lib/am/subdirs.am ($(RECURSIVE_TARGETS)): Initialize "fail=" to keep
15         an envvar setting of that variable from causing unwarranted failure.
16         ($(RECURSIVE_CLEAN_TARGETS)): Likewise.
17         * tests/subdir10.test: New test.
18         * tests/Makefile.am: Update.
20 2009-10-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
22         Sync auxiliary files from upstream.
23         * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
24         lib/texinfo.tex: Sync from upstream.
26         Doc and comment typos.
27         * automake.in (handle_ltlibraries): Fix typo in comment.
28         * tests/distcom7.test: Likewise.
29         * tests/lisp5.test: Likewise.
30         * doc/automake.texi (Usage of Conditionals): Fix typo.
32 2009-10-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
34         Fix race condition in werror2.test due to sanity sleep change.
35         * tests/werror2.test: Generate Makefile.in before configure so
36         that a Makefile.am update after configure has run is guaranteed
37         to be newer than Makefile.in.
38         * tests/subdir5.test: Document why this test does not need to be
39         fixed.
40         * tests/subdir8.test: Likewise.
42         Improve description of the various *LINK variables.
43         * doc/automake.texi (Program and Library Variables): _LINK also
44         receives libraries to link against.  _LINK may be generated.
45         (Program Variables): Document reasons when per-target _LINK is
46         used instead of LINK.
47         (How the Linker is Chosen): Document how a per-target _LINK
48         variable and per-target link flags override linker selection.
49         * THANKS: Update.
50         Report by Dave Korn against gcc/libstdc++-v3.
52         Allow variable override of, rather than by, silent variables.
53         When overriding variables, check the VAR_SILENT status of the
54         old condition, not the new one: we allow non-silent overrides
55         of silent variables (these do not hit ordering bugs in the
56         automake output), but there is no use case for doing so the
57         other way round.  Fixes conditional overrides of variables
58         annotated AM_SUBST_NOTMAKE in configure.ac.
59         * lib/Automake/Variable.pm (_check_ambiguous_condition): Check
60         for VAR_SILENT in $ambig_cond not $cond.
61         * tests/cond44.test, tests/cond45.test: New tests, analogous to
62         cond23.test and cond24.test.
63         * tests/Makefile.am: Update.
64         Spotted originally in binutils/bfd.
66         Fix `make clean check' for the Automake package.
67         * lib/Automake/Makefile.am (SUBDIRS): Add `.' before `tests',
68         so that Config.pm is built first.
70         Fix in-tree `recheck' after failed test that runs `check'.
71         If a test like pr401b-p.test fails for some reason, a `make
72         recheck' would cause another reason for failure because it sets
73         AM_MAKEFLAGS which gets propagated into the test and causes its
74         `make check' to fail.
75         * tests/defs.in: Also unset AM_MAKEFLAGS.
77 2009-10-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
79         Updated code enabling Bourne-compatibility in test scripts.
80         * tests/defs.in: updated the code enabling Bourne-compatibility
81         mode in the shell (now it's copied from autoconf 2.64).
83         Avoid leaking TEST_LOG_COMPILER in environment of test scripts.
84         * tests/defs.in: Unset variable `TEST_LOG_COMPILER'.
86 2009-10-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
88         Testsuite: do not use `chmod -R' when cleaning up.
89         * tests/Makefile.am (clean-local-check): Do not use `chmod -R' on
90         the test directories, as that may change or try to change the mode
91         of installed files: the test directory may contain symlinks to
92         ltmain.sh files from a Libtool installation, and Solaris `chmod -R'
93         touches symlink targets.  Instead, use the cleanup strategy used
94         in distdir.am (which is also employed in tests/defs.in).
96 2009-10-06  Bruno Haible  <bruno@clisp.org>
97             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
99         Fix 'compile' script to not call mv when target equals source.
100         * lib/compile: Don't attempt to move the generated file to its
101         target destination when it is already at the target destination.
102         Avoids an mv failure with subdir-objects.
103         * tests/ccnoco3.test: New test.
104         * tests/Makefile.am: Adjust.
106 2009-10-01  Stefano Lattarini  <stefano.lattarini@gmail.com>  (tiny change)
108         Fix recommended way to run automake's test scripts with Zsh.
109         * tests/README (Supported shells): Changed the recommended way
110         to run automake's test scripts with Zsh.  Now we tell to use
111         the Zsh's command line option `-o no_function_argzero', not
112         `--no-function-argzero', since the latter does not work with
113         versions 3.x of Zsh.
115 2009-09-18  Peter Johansson  <trojkan@gmail.com>  (tiny change)
117         Fix link to "Recursive Make Considered Harmful" paper.
118         * doc/automake.texi (Alternative): Fix broken URL.
120 2009-09-11  Reuben Thomas <rrt@sc3d.org>  (tiny patch)
122         Fix outdated reference to sh-utils in the manual.
123         * doc/automake.texi (Options): The reference to `sh-utils'
124         should be to `coreutils'.
126 2009-09-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
128         Avoid sleeping for one second most of the time in sanity check.
129         * m4/sanity.m4 (AM_SANITY_CHECK): Try sanity check first without
130         sleeping for a second, and only if that failed, sleep and try
131         again, to avoid the delay in the common case of a configure
132         script that is older than a second, or a system with sub-second
133         time stamp granularity.
134         Report and different patch by Jim Meyering.
136 2009-09-06  Stefano Lattarini  <stefano.lattarini@gmail.com>  (tiny change)
138         tests/README: warn about zsh incompatibilities.
139         * tests/README (User interface, Getting details from failures):
140         Explicitly state that every test is a "shell script", not just
141         a "script", and that it's run by `/bin/sh' by default.
142         * tests/README (User interface, Supported shells): New subsection,
143         telling about expected portability of the automake test scripts,
144         describing a zsh incompatibility (w.r.t. $0), and a workaround to
145         it (with the `--no-function-argzero' option).
147         testsuite: fix a minor glitch.
148         * tests/defs.in (exit trap): Use `$me', not `$as_me', as the
149         name of the current test (used in error messages).
150         * THANKS: Update.
152 2009-07-08  Jim Meyering  <meyering@redhat.com>
154         manual: fix a trivial grammar error.
155         * doc/automake.texi (Invoking aclocal): Fix grammar.
157 2009-06-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
159         AM_PROG_GCJ: use AC_CHECK_TOOLS for gcj, for cross compilation.
160         * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_TOOLS, rather than
161         AC_CHECK_PROGS, when searching for `gcj'.
162         * NEWS: Update.
163         Report by Jack Kelly.
165 2009-05-24  Jack Kelly  <endgame.dos@gmail.com>  (tiny change)
166             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
168         AM_PROG_GCJ currently fails to define OBJEXT and EXEEXT.
169         * tests/gcj6.test: New test.
170         * tests/Makefile.am: Update; mark gcj6.test as XFAIL.
171         * THANKS: Update.
173 2009-05-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
175         parallel-tests: avoid GNU make 3.80 substitution bug.
176         * lib/am/check.am [PARALLEL_TESTS] (check-TESTS): Remove any
177         `.log' entries from `$(TEST_LOGS)' even if the list is nonempty,
178         to work around GNU make 3.80 substitution reference issue with
179         trailing white space in the variable.
180         * tests/parallel-tests10.test: New test.
181         * tests/parallel-tests6.test: Update comment.
182         * tests/Makefile.am: Update.
183         * NEWS: Update.
184         Report by Bob Friesenhahn.
186 2009-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
188         testsuite: unset installation directory variables.
189         * tests/defs.in: Before test execution, be sure to unset all
190         installation directory variables, so they cannot have an effect
191         on a `make -e install' command within a test.
192         Report by Dagobert Michelsen.
194         testsuite: do not change the mode of installed Libtool files.
195         * tests/defs.in: Do not use `chmod -R' on the test directory, as
196         that may change or try to change the mode of installed files:
197         the test directory may contain symlinks to ltmain.sh files from
198         a Libtool installation, and Solaris `chmod -R' touches symlink
199         targets.  Instead, use the cleanup strategy used in distdir.am.
200         * NEWS: Update.
201         Report by Dagobert Michelsen.
203         testsuite: do not fail in cleanup code.
204         * tests/defs.in: Turn off errexit in the cleanup trap, to avoid
205         a test failure due to a nonzero command.
206         * THANKS: Update.
207         Report by Dagobert Michelsen.
209 2009-05-23  Peter O'Gorman  <peter@pogma.com>
211         python: do not install in system directories on Darwin 9.
212         On Darwin 9, get_python_lib returns a path below `/Library/Python'
213         regardless of the `prefix' argument it was passed, causing `make
214         install' to target the system directories regardless of `--prefix'
215         argument used.  Work around this Darwin bug by ignoring the result
216         of get_python_lib if it points outside of the passed prefix, and
217         the prefix was not a system directory.
218         * m4/python.m4 (AM_PATH_PYTHON): If the prefix does not match the
219         initial portion of the pythondir returned by get_python_lib, then
220         ignore it unless the configured prefix is `/usr' or starts with
221         `/System'.  Fixes instmany-python.test failure on Mac OS X 10.5.7.
222         * NEWS: Update.
224 2009-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
226         Clarify how to enable `silent-rules' and other global options.
227         * doc/automake.texi (Options): When introducing options, be more
228         careful to note that not all of them can be specified in
229         AUTOMAKE_OPTIONS statements, and that some do not make sense in
230         subdirectories.  Note more prominently that `silent-rules' can
231         only be specified in configure.ac.
232         * lib/Automake/Options.pm (_process_option_list): Improve error
233         message for `silent-rules', `tar-v7', `tar-ustar', `tar-pax'
234         options specified in Makefile.am files.
235         Report by Bruno Haible.
237 2009-05-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
239         Skip specflg10.test without a C++ compiler.
240         * tests/specflg10.test: Require g++.
241         Report by Thien-Thi Nguyen.
243 2009-05-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
245         Revert last patch, IRIX has an editor named `jot'.
246         * tests/instmany-mans.test: Do not try `jot'.
247         * tests/instmany-python.test: Likewise.
248         * tests/instmany.test: Likewise.
249         Report by Peter O'Gorman.
251 2009-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
253         testsuite: also try `jot' as `seq' replacement.
254         * tests/instmany-mans.test: Try BSD `jot' before resorting to a
255         slow but portable shell loop.
256         * tests/instmany-python.test: Likewise.
257         * tests/instmany.test: Likewise.
258         Suggestion by Peter O'Gorman.
260         Fix test failure when pkg.m4 is not found, only pkg-config.
261         * tests/vala5.test: Update comment, this test is not expected to
262         fail any more.  Require valac version 0.7.0.  Skip if configure
263         fails, could be due to unexpanded PKG_CHECK_MODULES or too old
264         valac.
265         Report by Simon Josefsson.
267 2009-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
269         Automake 1.11.
270         * configure.ac: Bump version to 1.11.
271         * doc/automake.texi (Releases): Add line for 1.11.  Remove line
272         for 1.10b.
274         Fix maintainer-check failures.
275         * automake.in (lang_vala_finish_target): Use `$(am__cd)' instead
276         of plain `cd'.
277         * tests/vala2.test: Use `rm -f' instead of `rm'.
279         Revert Automake license to GPLv2+.
280         Automake will move to GPLv3+ once the Exception statement has
281         been rewritten to use the new GPLv3 exception language.  This
282         change does not impact the COPYING file that may be installed
283         by `automake --add-missing'.
284         * COPYING: Revert to GPLv2.  All uses changed.
285         * NEWS: Update.
287         Rewrite NEWS for 1.11.
288         * NEWS: Rewrite, merging 1.10b and 1.10c entries.
290         Sync auxiliary files from upstream.
291         * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
292         upstream.
294         Update release statistics, improve release-stats rule.
295         * Makefile.am (release-stats): Output stderr of pstops in
296         addition to catching it, for better debugging.
297         * doc/automake.texi (Releases): Add line for 1.10.2.
299         Cope with parallel BSD make -jN semantics.
300         When BSD `make -jN' is used without `-B' which enables backwards
301         compatible semantics, it may reuse the same shell for several
302         commands within a rule; so ensure we do not leave it in a
303         different directory, nor `exit 0' early in a multi-command rule.
304         * lib/am/distdir.am (distcheck): After running `distcleancheck',
305         change back to original working directory.
306         * lib/am/remake-hdr.am (%CONFIG_HIN%): Run autoheader in a
307         subshell.
308         * lib/am/mans.am (uninstall-man%SECTION%): Do not `exit 0' early
309         in a rule that consists of several shell invocations.  Parallel
310         NetBSD `make -jN' without `-B' will use only one shell for all
311         commands, but won't respawn one after `exit 0'.  Fixes
312         notrans.test failure.
313         * tests/makej2.test: New test.
314         * tests/Makefile.am: Update.
316         Fix typo in comment.
317         * lib/am/install.am: Fix typo.
319 2009-05-17  Matthias Klose  <doko@ubuntu.com>  (tiny change)
320             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
322         Let AM_PATH_PYTHON honor python's idea about the site directory.
323         * m4/python.m4 (AM_PATH_PYTHON): When computing pythondir and
324         pyexecdir, pass the expanded prefix resp. exec_prefix as `prefix'
325         to get_python_lib, so python can determine the name of the site
326         directory depending on the install location.  Afterwards, replace
327         the directory names with the unexpanded values of $PYTHON_PREFIX
328         resp. $PYTHON_EXEC_PREFIX again, to allow override according to
329         the documentation.  Fixes site directory computation for Debian
330         and Ubuntu (`dist-packages' for a prefix of `/usr' or `/usr/local',
331         `site-packages' elsewhere).
332         * NEWS, THANKS: Update.
334 2009-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
336         Vala: for now, require GNU make.
337         * doc/automake.texi (Vala Support): GNU make is currently
338         required for Vala sources.
339         * tests/vala2.test, tests/vala3.test, tests/vala5.test: Require
340         GNU make.
342 2009-05-17  Jürg Billeter  <j@bitron.ch>
344         Vala: Use $(srcdir) in rebuild rules.
345         valac is always run in srcdir as the generated files are distributed.
346         So srcdir needs to be taken into account in the rebuild rules to not
347         wrongly trigger a rebuild in the wrong directory.
348         * automake.in (lang_vala_finish_target): Rebuild files in
349         $(srcdir).
350         * tests/vala2.test: Test rebuild rules from VPATH build.
352         Vala: Add and test rebuild rules for generated header and vapi files.
353         valac will generate additional files when using, for example, -H in
354         VALAFLAGS. We need to recognize these options and add appropriate
355         rebuild rules to fix parallel build.
356         * automake.in (lang_vala_finish_target): Recognize -H, -h,
357         --header, --internal-header, --vapi, --internal-api, --gir flags
358         to valac and rebuild rules for generated headers; distribute
359         and maintainer-clean them.
360         * tests/vala2.test: Test rebuild rules.
362 2009-05-17  Jürg Billeter  <j@bitron.ch>
363             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
365         Vala: Fix build when using per-target VALAFLAGS.
366         This does not yet implement full per-target support for VALAFLAGS,
367         however, this change at least fixes building when there is only one
368         target per source file, which is the most common situation.
369         * automake.in: Remove `VALAFLAGS' from `flags' in language struct.
370         (lang_vala_finish_target): Handle `*_VALAFLAGS rewriting' manually
371         here; check `VALAFLAGS' user variables.
372         * tests/Makefile.am (XFAIL_TESTS): Remove vala5.test.
373         * doc/automake.texi (Vala Support): Document per-target flag
374         limitations.
376 2009-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
378         For PR automake/540:
379         Document some formatting restrictions for Makefile.am files.
380         * doc/automake.texi (General Operation, Usage of Conditionals):
381         Variable assignments should not be indented by TABs, rule commands
382         should.  Conditional keyword statements should not be indented.
383         * THANKS: Update.
384         Report by Luo Yi.
386 2009-05-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
388         Fix copyright years in *.am files.
389         * lib/am/check.am, lib/am/check2.am, lib/am/distdir.am,
390         lib/am/program.am, lib/am/tags.am: Fix copyright years.
392         distdir: avoid duplicate `find' traversal with subpackages.
393         * lib/am/distdir.am (distdir) [%?SUBDIRS%]: When recursing, set
394         `am__skip_mode_fix'.
395         [%?TOPDIR_P%]: When `$(am__skip_mode_fix)' is set, avoid tree
396         walk.
397         * tests/subpkg4.test: New test, to ensure that we still walk the
398         whole tree while fixing permissions.  We don't ensure it is
399         walked once only.
400         * tests/Makefile.am: Update.
402         Disable test cleanup trap with OSF1/Tru64 sh.
403         * configure.ac: Test whether /bin/sh has working 'set -e'
404         in conjunction with an exit trap.  Set $am_cv_sh_errexit_works
405         accordingly, substitute sh_errexit_works, and warn about
406         leftover test directories with broken shells like Tru64 /bin/sh.
407         * tests/defs.in: Do not install any traps with broken shells.
409 2009-05-02  Bruno Haible  <bruno@clisp.org>
410             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
412         Recommend *-local hooks without commands, for extensibility.
413         * doc/automake.texi (Clean): Show how to write the clean-local
414         extension with separate phony target.
415         * tests/Makefile.am (clean-local-check): Practice what we preach
416         by marking this phony.  For consistency, rename from ...
417         (check-clean-local): ... this.
419 2009-04-28  Eric Blake  <ebb9@byu.net>
421         scripts: normalize all timestamps to UTC
422         * lib/compile (scriptversion): Update emacs hook.
423         * lib/depcomp (scriptversion): Likewise.
424         * lib/elisp-comp (scriptversion): Likewise.
425         * lib/gnupload (scriptversion): Likewise.
426         * lib/install-sh (scriptversion): Likewise.
427         * lib/mdate-sh (scriptversion): Likewise.
428         * lib/missing (scriptversion): Likewise.
429         * lib/mkinstalldirs (scriptversion): Likewise.
430         * lib/py-compile (scriptversion): Likewise.
431         * lib/ylwrap (scriptversion): Likewise.
433 2009-04-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
435         silent-rules: fix alignment of less verbose output.
436         * automake.in (define_verbose_var): Define `$silent_var' as
437         VAR_ASIS, not VAR_PRETTY, to avoid squashing of multiple
438         adjacent spaces.
439         * tests/silent.test: Amend test.
440         Report by Jan Engelhardt.
442 2009-04-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
444         manual: fix trivial grammar errors.
445         * doc/automake.texi (Subpackages, Vala Support, Java)
446         (Checking the Distribution, Timeline): Fix `a' vs. `an' errors
447         and duplicate `the'.
448         Report by Eric Blake.
450         Indent rule commands consistently with a TAB.
451         * lib/am/check.am ($(TEST_SUITE_LOG)): Consistently use TAB, not
452         spaces, for indentation of commands, even if indentation may not
453         be needed at all.
454         * lib/am/texinfos.am (install-info-am): Likewise.
455         * THANKS: Update.
456         Prompted by report from John Calcote.
458         parallel-tests: fix recheck* targets for non-GNU make.
459         * lib/am/check.am (recheck recheck-html): Override AM_MAKEFLAGS
460         to portably transport the TEST_LOGS settings through the
461         recursive `make' invocations.  Fixes parallel-tests9.test
462         failure with Solaris make.
463         * tests/parallel-tests9.test: Also ensure that the test
464         summary is correct for `recheck'.
465         Suggestion by Akim Demaille.
467 2009-04-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
469         Avoid racy depmodes with universal builds.
470         * m4/depend.m4 (_AM_DEPENDENCIES): If universal builds are used,
471         avoid racy depmodes.
472         * lib/depcomp: Ignore `-arch' argument for makedepend depmode.
473         Report by Bruno Haible, analysis by Bruno Haible, Peter O'Gorman,
474         and Eric Blake.
476 2009-04-21  Fabian Alenius  <fabian.alenius@gmail.com>  (tiny change)
478         Fix link to autotools tutorial.
479         * doc/automake.texi (Autotools Introduction): Fix broken link.
480         * THANKS: Update.
482 2009-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
484         testsuite: minor w32 fixes.
485         * tests/depend5.test: Don't fail if the system or file system
486         cannot handle weird characters, instead just try a few.
487         * tests/parallel-tests3.test: Really wait until the serial test
488         has finished, before letting the cleanup trap do its work.
489         Report by Bruno Haible.
491         Avoid nonportable `./FILE' instead of `FILE' in test.
492         * tests/libtool3.test: Do not use `$(top_builddir)/sub/libname.la'
493         in *_LDADD entry if `$(top_builddir)' is `.'.  Fixes test failure
494         with parallel NetBSD make.
496         Detect make `include' style also with parallel non-GNU make.
497         Parallel NetBSD make outputs `--- $target ---' messages,
498         parallel HP-UX make outputs `Making target"$target"'.  Just
499         ignore all additional output for the include test.
500         * m4/make.m4 (AM_MAKE_INCLUDE): Ignore additional output
501         produced by `make' to relax `include' style detection.
503         manual: add FAQ `Debugging Make Rules'.
504         * doc/automake.texi (Debugging Make Rules): New FAQ section.
505         (Top, FAQ): Adjust menus, and capitalization of the description
506         of the `Hard-Coded Install Paths' node.
507         (Multiple Outputs): Add comment to restore font-lock for vim.
508         Suggestion by Karl Berry.
510         Let XFile::lock warn and fail with parallel non-GNU make, too.
511         * lib/Automake/XFile.pm (lock): Also match `-j' for parallel BSD
512         make, and `-P' for parallel HP-UX make.
514         Fix AM_PROG_VALAC version requirement detection.
515         * m4/vala.m4 (AM_PROG_VALAC): Remove `Vala ' from valac
516         --version string before comparing versions.
517         * tests/vala2.test: Require version 0.7.0 for the test.
518         Fixes failures of vala2.test and vala3.test with older valac.
520         Correctly treat all assignments with bogus trailing comments.
521         Before this patch, automake would silently fail to diagnose and
522         to copy into the output those variable assignments which are
523         preceded by a comment, and end in backslash newline comment.
524         * automake.in (read_am_file): When determining whether an
525         escaped newline followed by a comment is an error, correctly use
526         the parser state, not the contents of a saved comment, which
527         could still be carried over from a comment before an assignment.
528         * NEWS: Update.
529         * tests/commen11.test: New test.
530         * tests/Makefile.am: Update.
531         Report by Karl Berry.
533 2009-04-14  Karl Berry  <karl@freefriends.org>
535         manual: improve markup: itemize list in `Extending'.
536         * doc/automake.texi (Extending): Use `@item's for user override
537         semantics.
539 2009-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
541         bin_PROGRAMS = $(EXTRA_PROGRAMS) should work.
542         * automake.in (am_install_var): For `PROGRAMS' primary, strip
543         `$(EXEEXT)' here already, so the name uniquifying works even
544         when we look at names repeatedly, with inconsistent executable
545         extension; through variable references, we might have added
546         the extension ourselves earlier.
547         (handle_programs): No need to strip `$(EXEEXT)' here any more.
548         * tests/extra8.test: New test.
549         * tests/Makefile.am: Update.
550         * THANKS: Update.
551         Report by Daniel Richard G.
553 2009-04-10  Jim Meyering  <meyering@redhat.com>
555         Fix grammar in comments and documentation.
556         * doc/automake.texi (API versioning): Fix grammar.
557         * automake.in: Fix grammar in comment.
558         * lib/Automake/ChannelDefs.pm: Likewise.
559         * tests/ext2.test: Likewise.
561 2009-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
563         More minor fixups to vala support.
564         * automake.in (lang_vala_finish_target): Fix typo in comment.
565         * doc/automake.texi (Vala Support): Fix typo.  Declare vala
566         support as "initial".
567         * NEWS: Likewise, declare vala support as "initial".
569 2009-04-05  Jürg Billeter  <j@bitron.ch>
571         Improve Vala support.
572         * automake.in: Update to Vala 0.7.0 semantics, recover from removal
573         of built sources, support silent-rules, drop _PKGNAME variables
574         * doc/automake.texi, NEWS: Update.
575         * lib/am/vala.am: Bump copyright years.
576         * m4/vala.m4: Likewise.
577         * tests/vala.test: Remove obsolete grep tests.
578         * tests/vala1.test: Likewise.
579         * tests/vala2.test: Test full build, distcheck, and distclean.
580         * tests/vala3.test: Likewise, also test with subdir-objects.
581         * tests/vala4.test: Bump copyright years.
582         * tests/vala5.test: New test for per-target flags, expected to fail.
583         * tests/Makefile.am: Update.
584         * THANKS: Update.
586 2008-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
588         Minor fixups for Vala support.
589         * automake.in: $(VALAFLAGS) comes after $(AM_VALAFLAGS).
590         * doc/automake.texi (Vala Support): Add some references,
591         document AM_VALAFLAGS, streamline a bit.
592         * lib/am/vala.am: Copyright blurb.
593         * m4/vala.m4 (AM_PROG_VALAC): Rewrite using AS_VERSION_COMPARE.
594         * tests/vala.test: Fix minor nits.
595         * tests/vala1.test: Likewise.
596         * tests/vala2.test: Likewise.
597         * tests/vala3.test: Likewise.
598         * tests/vala4.test: New test, for version argument of
599         AM_PROG_VALAC.
600         * tests/Makefile.am: Update.
602 2008-10-09  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
604         * automake.in: Support Vala in non-recursive builds. Make sure
605         foo_VALAFLAGS really use used. Inject --library switch when building
606         Vala libraries.
607         * doc/automake.texi, NEWS: Document Vala support.
608         * m4/vala.m4: Rename AC_PROG_VALAC to AM_PROG_VALAC.
609         * tests/Makefile.am: Additional Vala tests.
610         * tests/vala.test: Also test VALAFLAGS support.
611         * tests/vala1.test: Test non-recursive Vala support.
612         * tests/vala2.test: Test _PKGNAME variables.
613         * tests/vala3.test: Test compiling of C code generated by Vala.
615 2008-10-09  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
617         Initial support for the vala programming language.
618         * automake.in: Add %known_libraries, lang_vala_rewrite,
619         lang_vala_finish and lang_vala_target_hook to support the Vala
620         programming language. Register Vala language hooks.
621         * lib/am/vala.am: Empty rules file to prevent creation of depend2
622         based rules for Vala code.
623         * lib/am/Makefile.am (dist_am_DATA): Add vala.am.
624         * m4/vala.m4: Provide AC_PROG_VALAC for detecting the Vala compiler.
625         * m4/Makefile.am (dist_m4data_DATA): Add vala.m4.
626         * tests/vala.test: Test Vala support.
627         * tests/Makefile.am: Update.
629 2009-04-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
631         testsuite: do not fail on systems without read permissions.
632         * tests/instfail-info.test: Do not use the `non-root'
633         requirement for testing whether files may be made unreadable;
634         instead use `test -r' and skip the test if that still works.
635         * tests/instfail-java.test: Likewise.
636         * tests/instfail-libtool.test: Likewise.
637         * tests/instfail.test: Likewise.
638         * tests/instmany-mans.test: Likewise.
639         * tests/instmany-python.test: Likewise.
640         * tests/instmany.test: Likewise.
641         * tests/parallel-tests9.test: Likewise.
643         testsuite: parallel make fixes.
644         This patch fixes a couple of testsuite bugs exposed with
645         `MAKE=make\ -jN make check'.
646         * tests/libtoo10.test: Do not run `clean' in same $MAKE
647         invocation as `all check'.  Fixes test failure with parallel
648         NetBSD `make -jN'.
649         * tests/nobase.test: Be sure to create a directory before
650         creating files in it.  Fixes test failure with MAKE=`make -jN'
651         for NetBSD make.  This issue is hidden with parallel GNU make
652         due to its parallel breadth first update order.
653         * tests/parallel-tests3.test: Skip if $MAKE contains `-j',
654         GNU make will use the environment variable $MAKE for recursion
655         and thus run in parallel even if `$MAKE -j1' was used on the
656         command line in the test.  Also, after running the test proper,
657         wait long enough so that background jobs have finished and there
658         are no open files left when the cleanup code runs.
660 2009-04-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
662         silent-rules reorganization, --enable-silent-rules switch.
663         This patch introduces a configure-time option to set the default
664         verbosity.  Since configure now needs to know whether the
665         `silent-rules' automake option was set, the latter can only be
666         set within AM_INIT_AUTOMAKE, or with a new AM_SILENT_RULES macro
667         but not any more through AUTOMAKE_OPTIONS or the automake
668         command line option `--silent-rules'.
669         * automake.in (define_verbose_var): Define the default verbose
670         variable in terms of `$(AM_DEFAULT_VERBOSITY)'.
671         (handle_configure): Do not pass `--silent-rules' to automake.
672         (scan_autoconf_traces): Trace `AM_SILENT_RULES'.  If seen,
673         enable global `silent-rules' option.
674         (usage): Do not document `--silent-rules'.
675         (parse_arguments): Do not accept `--silent-rules'.
676         * doc/automake.texi (Options): Overhaul.  Document
677         AM_SILENT_RULES, --enable-silent-rules, --disable-silent-rules,
678         AM_DEFAULT_VERBOSITY.  Show an example for user-added variables
679         for less verbose output.
680         (Invoking Automake): Remove documentation for `--silent-rules'.
681         (Public Macros): Document `AM_SILENT_RULES'.
682         * NEWS: Update.
683         * lib/Automake/Options.pm (_process_option_list): Accept
684         `silent-rules' only as option in configure.ac.
685         * m4/init.m4 (AM_INIT_AUTOMAKE): If the `silent-rules' option
686         was enabled, require `AM_SILENT_RULES'; move AM_BACKSLASH
687         initialization to ...
688         * m4/silent.m4 (AM_SILENT_RULES): ... this new file, new macro.
689         Deal with `--enable-silent-rules' switch; define
690         AM_DEFAULT_VERBOSITY.
691         * m4/Makefile.am (dist_m4data_DATA): Add silent.m4.
692         * tests/dollarvar.test: Remove tests for `--silent-rules', use
693         `AM_SILENT_RULES'.
694         * tests/flavor.test: Remove test for `--silent-rules'.
695         * tests/silent.test: Use `AM_SILENT_RULES' instead of
696         `AUTOMAKE_OPTIONS = silent-rules'; use `--enable-silent-rules'.
697         * tests/silent2.test: Likewise.
698         * tests/silent3.test: Likewise.
699         * tests/silent4.test: Likewise.
700         * tests/silent5.test: Likewise.
701         * tests/silent6.test: Likewise. Test `AM_SILENT_RULES' as well
702         as `AM_INIT_AUTOMAKE([silent-rules])' instead of
703         `--silent-rules'.
704         * tests/silent7.test: Use `AM_SILENT_RULES' instead of
705         `AUTOMAKE_OPTIONS = silent-rules'; ensure the latter is rejected.
706         Test combinations of --enable-silent-rules and
707         --disable-silent-rules with `make V=0' and `make V=1'.
708         Suggestion for configure-time switch by Bob Friesenhahn.
710         manual: Add note about parallelism and tests ordering.
711         * doc/automake.texi (Simple Tests using parallel-tests):
712         Dependencies between test logs work for tests with known
713         extensions only.  Hint that tests should be prepared to be run
714         in parallel.
716         Fix maintainer-check failure.
717         * tests/suffix13.test: Use Exit not exit.
719 2009-04-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
721         parallel-tests: more testsuite exposure.
722         * tests/parallel-tests.test: Also test overriding TEST_LOGS and
723         TESTS.
725         parallel-tests: let VERBOSE=yes output appear before summary.
726         * lib/am/check.am ($(TEST_SUITE_LOG)): In `VERBOSE=yes' mode,
727         output contents of `$(TEST_SUITE_LOG)' before, rather than after
728         the test suite summary.  This ensures that the email address
729         appears near the end of the output; also, the log file already
730         starts with a result summary anyway.
732         parallel-tests: `clean recheck' should not rerun all tests.
733         * lib/am/check.am (recheck, recheck-html): Do not rerun all
734         tests if `$(TEST_SUITE_LOG)' does not exist.
735         * tests/parallel-tests2.test: Adjust recheck test.
736         * tests/parallel-tests9.test: Adjust recheck-html test.
737         * NEWS: Update.
738         Suggestion by Akim Demaille.
740 2009-04-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
741             Eric Blake <ebb9@byu.net>
743         parallel-tests: Fix driver for nonempty executable extension.
744         * automake.in (handle_tests): New substitution `%am__EXEEXT%',
745         defined as 'FALSE' for non-generic rules, or if no programs are
746         built at all.  Otherwise, define it as configure conditional.
747         * lib/am/check2.am [%am__EXEEXT%] (%EXT%$(EXEEXT).log): New
748         conditional generic rule.
749         * m4/init.m4: Hook an m4_provide of `_AM_COMPILER_EXEEXT' onto
750         Autoconf's `_AC_COMPILER_EXEEXT' macro.
751         (AM_INIT_AUTOMAKE): If `_AM_COMPILER_EXEEXT' has been provided
752         at `AC_CONFIG_COMMANDS_PRE' time, then introduce a conditional
753         `am__EXEEXT', defined to true iff `$EXEEXT' is nonempty.
754         * tests/check5.test: Only match `_EXEEXT_[1-9]' here, to avoid
755         false positives stemming from `@am__EXEEXT_TRUE@'.
756         * NEWS: Update.
758 2009-04-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
760         Fix a couple of $(EXEEXT)-related testsuite failure.
761         * tests/check8.test: Allow executable extensions in test suite
762         output.
763         * tests/check9.test: Add `$(EXEEXT)' manually to @substituted@
764         XFAIL_TESTS entries.
766         * NEWS: Update for last patch.
768 2009-04-07  Florian Briegel  <briegel@zone42.de>  (tiny change)
769             Stepan Kasal  <skasal@redhat.com>
770             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
772         Fix renamed objects with subdir-objects and other languages.
773         * automake.in: Fixed bug when building with renamed objects
774         and foreign languages.
775         * tests/suffix13.test: New test.
776         * tests/Makefile.am: Adjust.
777         * THANKS: Update.
778         Reports by Florian Briegel and Stepan Kasal.
780 2009-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
782         Do not remove texinfo outputs upon mostlyclean.
783         * lib/am/texinfos.am: New substitutions %MOSTLYCLEAN%,
784         %MAINTCLEAN%.
785         (clean-aminfo): New target, remove %TEXICLEAN% if nonemtpy,
786         declare phony.  Hook this target to ...
787         (clean-am): ... this and ...
788         (?CYGNUS?clean-info): ... this.
789         (maintainer-clean-aminfo): Remove %MAINTCLEAN% if nonempty,
790         for later.
791         (mostlyclean-aminfo): Remove %MOSTLYCLEAN%.
792         * automake.in (handle_texinfo_helper): Return three arrays
793         $MOSTLYCLEAN, $TEXICLEAN, $MAINTCLEAN, instead of one array.
794         Only put LaTeX helper files in $MOSTLYCLEAN, the rest in
795         $TEXICLEAN for now.
796         (handle_texinfo): Accept these, chop off extra newline, and
797         substitute them in `texinfos.am'.
798         * NEWS: Update.
799         * tests/txinfo33.test: New test.
800         * tests/Makefile.am: Update.
801         Report by Bruno Haible.
803 2009-04-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
805         testsuite: unset TESTS, TEST_LOGS, to avoid interference.
806         * tests/defs.in: Unset TESTS, TEST_LOGS.
808         testsuite: generate $(parallel_tests) just when needed.
809         * tests/Makefile.am (check_SCRIPTS): No need to list
810         $(parallel_tests) here, they can be generated as needed during
811         the test run, following our recommendation in the manual.
813         Remove superfluous line from recheck recheck-html.
814         * lib/am/check.am (recheck recheck-html): Remove superfluous
815         line, introduced bogusly in last commit.
817 2009-04-06  Akim Demaille  <akim@lrde.epita.fr>
818             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
820         parallel-tests: redo check-html, recheck, recheck-html.
821         * lib/am/check.am (recheck, recheck-am): Remove.
822         (recheck-TESTS): Rename to ...
823         (recheck): ... this and rewrite, factored ...
824         (recheck-html): ... with this rule.  Pass TEST_LOGS rather than
825         RECHECK_LOGS to `check' and `check-html', respectively, to avoid
826         running outdated tests.  Invoking the public macros ensures
827         `check_SCRIPTS' etc. are created in time.  Do not output errors
828         for tests that were not run yet.  If the testsuite has not run
829         at all, run all tests.
830         (check-html): Run `check' target, not `check-TESTS', to ensure
831         `check_SCRIPTS' etc. are created in time.
832         (.PHONY, .MAKE, AM_RECURSIVE_TARGETS): Adjust contents.
833         * tests/parallel-tests2.test: Expose the check-html and
834         recheck-html issues.
835         * tests/parallel-tests9.test: Expose the recheck issues.
836         Bugs in previous version pointed out by Akim, who already had
837         them fixed in his original version.
839 2009-04-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
841         parallel-tests: LOG_COMPILER for tests without known extension.
842         * automake.in (handle_tests): If we don't match a known
843         extension, define `LOG_COMPILER' as `$(LOG_COMPILE)
844         $(AM_LOG_FLAGS) $(LOG_FLAGS)' and use it as %COMPILE% in check2.
845         * doc/automake.texi (Simple Tests using parallel-tests):
846         Document it.  In the examples, suggest using the AM_*LOG_FLAGS
847         flags in Makefile.am rather than the variables without `AM_'
848         prefix.
849         * lib/Automake/tests/Makefile.am (AM_PL_LOG_FLAGS): Renamed from
850         (PL_LOG_FLAGS): ... this variable, intended for the user.
851         * tests/parallel-tests7.test: Extend test.
852         * NEWS: Update.
853         Suggestion by Akim Demaille.
855         More node renaming in the manual.
856         * doc/automake.texi (Top): Adjust menu to ...
857         (API Versioning): ... this node being renamed from ...
858         (API versioning): ... this, and ...
859         (Wildcards): ... this being renamed from ...
860         (wildcards): ... this.
861         Report by Karl Berry.
863 2009-04-03  Andreas Schwab  <schwab@linux-m68k.org>
865         * tests/instdir-java.test: Don't require gcj.  Skip if javac is
866         not available.
868 2009-04-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
870         Fix testsuite failures due to nonexistent `dirlist' entries.
871         * tests/defs.in: When parsing `$aclocaldir/dirlist', only add
872         existing directories D to aclocal `-I D' flags, as aclocal
873         errors on nonexisting directories.
874         Report and analysis by Andreas Schwab.
876 2009-03-31  Akim Demaille  <akim@lrde.epita.fr>
878         Fix typo in manual.
879         * doc/automake.texi (Simple Tests using parallel-tests): Fix
880         typo.
882 2009-03-31  Jim Meyering  <meyering@redhat.com>
884         Avoid test failure due to paranoid TAR_OPTIONS envvar setting.
885         * tests/txinfo18.test: Don't let a TAR_OPTIONS=--keep-old-files
886         environment variable setting cause test failure.  Fixed in
887         texi2dvi 4.13.
889         Use more common spelling in diagnostic: s/canonic/canonical/.
890         * automake.in (check_typos): s/canonic/canonical/.
892 2009-03-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
894         * configure.ac, NEWS: Bump version to 1.10c.
896 2009-03-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
898         * configure.ac, NEWS: Bump version to 1.10b.
899         * doc/automake.texi (Releases): Add statistics for 1.10b.
901         * NEWS: Minor update.
903         Reorganize nodes in the manual.
904         Avoid texinfo sectioning commands without nodes, by either
905         introducing new nodes along with menus, or using headings
906         commands.  Adjust all references.
907         * doc/automake.texi: Throughout the manual, adjust references to
908         new or changed node names.  Rename `non-configured' to
909         `unconfigured', capitalize headings and section names better.
910         (Top): List new menus and nodes introduced below.
911         (Length Limitations): Renamed from ...
912         (Length limitations): ... this.
913         (aclocal Options): Renamed from ...
914         (aclocal options): ... this.
915         (Macro Search Path): Renamed from ...
916         (Macro search path): ... this.  Rename subsubsections to
917         subsubheadings.
918         (Public Macros, Obsolete Macros, Private Macros): Renamed from
919         (Public macros, Obsolete macros, Private macros): ... these.
920         (Conditional Subdirectories): Introduce sub menu and split ...
921         (SUBDIRS vs DIST_SUBDIRS, Subdirectories with AM_CONDITIONAL)
922         (Subdirectories with AC_SUBST, Unconfigured Subdirectories):
923         ... into these new nodes.  Adjust subsection names to node
924         names.
925         (Conditional Sources): Rename subsubsections to subsubheadings.
926         (Conditional Programs): Likewise.
927         (Program Variables): Renamed from ...
928         (Program variables): ... this.
929         (Libtool Issues): Introduce sub menu and split into ...
930         (Required file ltmain.sh not found)
931         (Objects created both with libtool and without): ... these new
932         nodes.
933         (Other Objects, Built Sources): Renamed from ...
934         (Other objects, Built sources): ... these.
935         (Built Sources Example): Renamed from ...
936         (Built sources example): this.  Rename unnumberedsubsecs to
937         subsubheadings.
938         (Man Pages): Renamed from ...
939         (Man pages): ... this.
940         (Install): Introduce sub menu and split into ...
941         (Basics of Installation, The Two Parts of Install)
942         (Extending Installation, Staged Installs)
943         (Install Rules for the User): ... these new nodes.
944         (Dist): Introduce sub menu and split into ...
945         (Basics of Distribution, Fine-grained Distribution Control)
946         (The dist Hook, Checking the Distribution)
947         (The Types of Distributions): ... these new nodes.
948         (Tests): Introduce sub menu and split into ...
949         (Simple Tests, Simple Tests using parallel-tests, DejaGnu Tests)
950         (Install Tests): ... these new nodes.
951         (Conditionals): Move the portability paragraph up, introduce sub
952         menu and split into ...
953         (Usage of Conditionals, Limits of Conditionals): ... these new
954         nodes.  Link to several sections throughout the manual that deal
955         with specific usage of conditionals.
956         (CVS): Rename subsections to subheadings.
957         (maintainer-mode): Likewise.
958         (Limitations on File Names): Renamed from ...
959         (limitations on file names): ... this.
960         (Flag Variables Ordering): Rename subsections to subheadings.
961         (Renamed Objects): Renamed from ...
962         (Renamed objects): ... this.
963         (Dependency Tracking Evolution): Introduce sub menu and split
964         into ...
965         (First Take on Dependencies, Dependencies As Side Effects)
966         (Dependencies for the User, Techniques for Dependencies)
967         (Recommendations for Tool Writers)
968         (Future Directions for Dependencies): ... these new nodes.
969         Report by Karl Berry.
971 2009-03-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
973         Update AM_RECURSIVE_TARGETS for parallel-tests.
974         * lib/am/check.am [PARALLEL_TESTS] (AM_RECURSIVE_TARGETS):
975         Add check, recheck, check-html, recheck-html.
977 2009-03-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
978             Akim Demaille  <akim@lrde.epita.fr>
980         parallel-tests: New target recheck-html.
981         * lib/am/check.am [PARALLEL_TESTS] (recheck-html): New phony,
982         recursive target.  Factor common implementation with
983         `check-html'.
984         * doc/automake.texi (Tests): Document recheck-html.
985         * tests/parallel-tests2.test: Test it.
987 2009-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
988             Akim Demaille  <akim@lrde.epita.fr>
990         parallel-tests: redo lazy checking: recheck and RECHECK_LOGS.
991         Replace the LAZY_TEST_SUITE API with a simpler yet more powerful
992         one: RECHECK_LOGS specifies those tests which are to be removed
993         in any case before testing.  Provide a `recheck' convenience
994         target to set RECHECK_LOGS to all failed and unexpectedly passed
995         tests.  Document several ways to limit the set of tests run.
996         * lib/am/check.am [PARALLEL_TESTS] (RECHECK_LOGS): New variable,
997         default to $(TESTS_LOGS).
998         (check-TESTS): Remove $(RECHECK_LOGS) not $(TEST_LOGS).  Drop use
999         of LAZY_TEST_SUITE.
1000         ($(TEST_SUITE_LOG)): Do not output note about lazy rerun, as
1001         LAZY_TEST_SUITE is gone.
1002         (recheck): New target.
1003         (recheck-am, recheck-TESTS): New internal targets.
1004         * doc/automake.texi (Tests): Update @vindex for TESTS and
1005         TEST_LOGS.  Replace description of LAZY_TEST_SUITE with a list
1006         of ways the set of tests to be run can be modified.  Document
1007         RECHECK_LOGS and the recheck target.
1008         * tests/defs.in: Unset RECHECK_LOGS not LAZY_TEST_SUITE.
1009         * tests/parallel-tests.test: Adjust, replacing LAZY_TEST_SUITE
1010         with corresponding RECHECK_LOGS settings.
1011         * tests/parallel-tests9.test: New tests.
1012         * tests/Makefile.am: Update.
1013         Suggestion and different implementation by Akim Demaille.
1015         parallel-tests: do not mark check-TESTS as `.MAKE'.
1016         * lib/am/check.am [PARALLEL_TESTS] (.MAKE): Remove check-TESTS.
1017         This rule removes files, which should not be executed with BSD
1018         `make -n'.
1020         parallel-tests: warn about $(srcdir), $(top_srcdir) in TESTS.
1021         * automake.in (handle_tests): Warn about portability issue
1022         concerning generated TESTS files listed with a `$(srcdir)/'
1023         or `$(top_srcdir)/' prefix.
1024         * doc/automake.texi (TESTS): Document this issue.  Mention that
1025         the parallel-tests driver is still experimental.
1026         * tests/parallel-tests8.test: New test.
1027         * tests/Makefile.am: Update.
1029         check-html: Always create HTML output, note conversion failure.
1030         * lib/am/check.am (check-html): Create `$(TEST_SUITE_HTML)' in
1031         any case.  Exit unsuccessfully if HTML creation failed.
1032         * tests/parallel-tests2.test: Amend test to expose this.
1034 2009-03-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1036         parallel-tests: per-extension test driver: <EXT>_LOG_COMPILER.
1037         For test files with extension <ext>, introduce the internal
1038         variable <EXT>_LOG_COMPILE, which expands to
1039         $(<EXT>_LOG_COMPILER) $(AM_<EXT>_LOG_FLAGS) $(<EXT>_LOG_FLAGS).
1040         Turn also the lib/Automake/tests testsuite over to the new
1041         test driver.
1042         * doc/automake.texi (Tests): Document `EXT_LOG_COMPILER' and
1043         `EXT_LOG_FLAGS'.
1044         * lib/am/check2.am: Insert `%COMPILE%' right before test.
1045         * automake.in (handle_tests): Substitute `COMPILE' for check2,
1046         empty for tests without extension, and `$(ext_LOG_COMPILE)' for
1047         extension `ext'.  In the latter case, define it from the public
1048         components.
1049         * configure.ac (AM_INIT_AUTOMAKE): Use `parallel-test' globally.
1050         * tests/Makefile.am (AUTOMAKE_OPTIONS): Remove, not needed here
1051         any more.
1052         * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Split ...
1053         (PL_LOG_COMPILER, PL_LOG_FLAGS): ... into these new variables.
1054         (TESTS_EXTENSIONS): New variable, initialize to `.pl'.
1055         * tests/parallel-tests7.test: New test.
1056         * tests/Makefile.am: Update.
1057         Suggestion by Akim Demaille.
1059 2009-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1061         parallel-tests: also record logs of SKIPped tests.
1062         * lib/am/check.am [PARALLEL_TESTS] ($(TEST_SUITE_LOG)): Record
1063         SKIPs as well.
1064         Suggested by Jim Meyering.
1066         Minor optimization in parallel-tests text box creation.
1067         * lib/am/check.am [PARALLEL-TESTS] (am__text_box): Use only one
1068         awk invocation, rather than several tools, to create a text box.
1069         Suggestion from Akim Demaille.
1071 2009-03-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1073         Rewrite maintainer-check in separate tests, parallelizable.
1074         * Makefile.am (sc_diff_automake_in_automake, sc_perl_syntax)
1075         (sc_no_brace_variable_expansions, sc_rm_minus_f)
1076         (sc_no_for_variable_in_macro, sc_mkinstalldirs)
1077         (sc_pre_normal_post_install_uninstall, sc_perl_no_undef)
1078         (sc_perl_no_split_regex_space, sc_cd_in_backquotes)
1079         (sc_cd_relative_dir, sc_perl_at_uscore_in_scalar_context)
1080         (sc_perl_local_no_parens, sc_perl_local)
1081         (sc_AMDEP_TRUE_in_automake_in, sc_tests_make_without_am_makeflags)
1082         (sc_tests_plain_make, sc_tests_plain_autoconf)
1083         (sc_tests_plain_autoupdate, sc_tests_plain_automake)
1084         (sc_tests_here_document_format, sc_tests_Exit_not_exit)
1085         (sc_tests_automake_fails, sc_tests_plain_aclocal)
1086         (sc_tests_plain_perl, sc_tests_required_after_defs)
1087         (sc_tests_overriding_macros_on_cmdline, sc_tests_plain_sleep)
1088         (sc_tests_plain_egrep_fgrep, sc_mkdir_p, sc_perl_at_substs)
1089         (sc_unquoted_DESTDIR, sc_tabs_in_texi, sc_at_in_texi): New rules,
1090         all phony, all listed in ...
1091         (syntax_check_rules): ... this new variable and split out from ...
1092         (maintainer-check): ... this rule.  Depend on $(syntax_check_rules).
1094         * Makefile.am (maintainer-check): Do not complain if DESTDIR is
1095         passed as argument to `make'.
1097         * doc/automake.texi (Cross-Compilation): Fix underfull hbox.
1099         Sync auxiliary files from upstream.
1100         * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
1101         lib/texinfo.tex: Sync from upstream.
1103 2009-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1105         manual: minor cleanups.
1106         * doc/automake.texi (Yacc and Lex): Adjust spacing in example.
1107         (Mixing Fortran 77 With C and C++): Drop unneeded @page breaks.
1109         Sane (un)install for empty directory variables.
1110         This patch fixes all install and uninstall rules to behave
1111         sanely when $(wheredir) is the empty string, but $(where_HOW) is
1112         nonempty, for all kinds of values of `where' and `HOW'.
1113         * lib/am/data.am (install-%DIR%%PRIMARY%, uninstall-%DIR%%PRIMARY%):
1114         Do not touch the install tree if the corresponding directory variable
1115         $(%NDIR%dir) is empty.
1116         * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Likewise.
1117         * lib/am/libs.am (install-%DIR%LIBRARIES, uninstall-%DIR%LIBRARIES):
1118         Likewise.
1119         * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Likewise.
1120         * lib/am/ltlib.am (install-%DIR%LTLIBRARIES, uninstall-%DIR%LTLIBRARIES):
1121         Likewise.
1122         * lib/am/mans.am (install-man%SECTION%, uninstall-man%SECTION%):
1123         Likewise.
1124         * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
1125         Likewise.
1126         * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
1127         Likewise.
1128         * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
1129         Likewise.
1130         * lib/am/texinfos.am (install-dvi-am, install-html-am, install-pdf-am)
1131         (install-ps-am, uninstall-dvi-am, uninstall-html-am, uninstall-pdf-am)
1132         (uninstall-ps-am): Likewise.
1133         * tests/instdir2.test, tests/instdir-java.test,
1134         tests/instdir-lisp.test, tests/instdir-ltlib.test,
1135         tests/instdir-prog.test, tests/instdir-python.test,
1136         tests/instdir-texi.test: New tests.
1137         * tests/Makefile.am: Update.
1138         * NEWS: Update.
1139         Suggestion by Akim Demaille.
1141         Ensure that empty directory variables work with empty content variables.
1142         This test ensures that, if both $(wheredir) and $(where_HOW) are
1143         the empty string, then the `install' and `uninstall' rules behave
1144         sanely, for several directory variables `wheredir' and several
1145         primaries `HOW'.
1146         * tests/instdir.test: New test.
1147         * tests/Makefile.am: Update.
1149 2009-03-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1151         Use --tag=FC with libtool also for .f90 files.
1152         * automake.in: Set 'libtool_tag' for language `fc'.
1153         * tests/fort5.test: Grep for the tag.
1154         * THANKS: Update.
1155         Report by John R. Cary.
1157 2009-03-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
1158             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1160         For PR automake/533:
1161         DISTFILES containing a directory and files in that directory.
1162         When the source tree contains non-writable files or directories
1163         (as happens during distcheck), and directories or entries
1164         thereof are listed multiple times in variables to be
1165         distributed, then the corresponding directories below $(distdir)
1166         need to be made writable recursively.  Since file modes should
1167         not change, they need to be copied recursively using `cp -f'.
1168         * lib/am/distdir.am: Handle this situation.
1169         * tests/distdir.test: Extend test to those cases.
1170         * NEWS: Update.
1171         Report by Peter Breitenlohner.
1173 2009-03-22  Jim Meyering  <meyering@redhat.com>
1175         Fix a documentation typo.
1176         * doc/automake.texi (Headers): Clarify the note telling when it's
1177         better not to use noinst_HEADERS.
1179 2009-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1181         Define AM_RECURSIVE_TARGETS, for gnulib's GNUmakefile.
1182         This new macro lists all public targets which invoke `make'
1183         recursively, or depend on targets which do so.  It allows to
1184         prevent parallelism selectively, when multiple targets are
1185         passed on the `make' command line.
1186         * lib/am/distdir.am [%?SUBDIRS%] (AM_RECURSIVE_TARGETS): New
1187         macro.
1188         * lib/am/subdirs.am (AM_RECURSIVE_TARGETS): Likewise.
1189         * lib/am/tags.am [%?SUBDIRS%] (AM_RECURSIVE_TARGETS):
1190         Likewise.
1192 2009-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1194         Fix LAZY_TEST_SUITE handling and $(TEST_SUITE_LOG) recreation.
1195         * lib/am/check.am (check-TESTS): Expand `$(TEST_LOGS)' only once
1196         in the rule command, for systems with low command line limits.
1197         Remove $(TEST_SUITE_LOG) even in LAZY_TEST_SUITE mode.
1198         ($(TEST_SUITE_LOG)): Always recreate $(TEST_SUITE_LOG).  Mention
1199         lazy mode in the summary output.
1200         * tests/parallel-tests.test: Test LAZY_TEST_SUITE semantics.
1202 2009-03-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1204         Fix parallel-tests with empty $(TESTS) for BSD make.
1205         * lib/am/check.am [PARALLEL_TESTS] ($(TEST_SUITE_LOG)): Ignore
1206         empty line stemming from empty $(TEST_LOGS), to avoid counting
1207         zero tests as one.
1208         (check-TESTS): If `$(TESTS)' is empty, override TEST_LOGS to be
1209         empty, rather than `.log', for BSD make.
1210         * tests/parallel-tests6.test: New test.
1211         * tests/Makefile.am: Update.
1213         Mark check-html and check-TESTS as recursive for BSD make.
1214         * lib/am/check.am [PARALLEL_TESTS] (.MAKE): Add check-TESTS
1215         and check-html prerequisites.
1217         Match XFAIL_TESTS correctly with Solaris make.
1218         * lib/am/check.am [PARALLEL_TESTS]: VPATH rewriting may have
1219         changed test names, so srcdir needs to be taken into account
1220         explicitly when checking against the list of tests expected
1221         to fail.  Fixes spurious FAILures from XFAIL_TESTS.
1223         Use append mode to capture parallel test output.
1224         * tests/lisp8.test: Use append mode for output from `make -j',
1225         to avoid dropped lines.
1226         * tests/parallel-tests3.test: Likewise.
1228         parallel-tests: Fix summary output.
1229         * lib/am/check.am (am__text_box): Fix unportable sed script,
1230         replacing `\n' in the right hand side of an `s' command with
1231         a literal newline.  Kudos to Bruno Haible for the newline idea.
1232         * tests/parallel-tests.test: Update test to expose this.
1234 2009-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1236         Overhaul of tests/README.
1237         * tests/README: General overhaul.  Mention parallel test suite
1238         execution, the test-suite.log file; document `Exit' vs. `exit',
1239         `defs' vs. `defs-p', the naming of `parallel-tests' tests.
1240         * README: Simplify, point to tests/README.
1242         Documentation for the parallel-tests driver.
1243         * doc/automake.texi (Tests, Options): Document the `parallel-tests'
1244         option, including new features of the test driver.
1245         * NEWS: Update.
1247         New tests for `parallel-tests'.
1248         * tests/parallel-tests.test: New file, to expose a bunch of
1249         features of `parallel-tests': VERBOSE, clean, TEST_SUITE_LOG,
1250         test dependencies, DISABLE_HARD_ERRORS.
1251         * tests/parallel-tests2.test: New file, test check-html.
1252         * tests/parallel-tests3.test: New file, test concurrency.
1253         * tests/parallel-tests4.test: New file, test suffix rules.
1254         * tests/parallel-tests5.test: New file, demonstrate compile/test
1255         concurrency.
1256         * tests/defs.in: Add a `required' check for rst2html.
1257         * tests/Makefile.am: Update.
1259         parallel-tests: Ensure backward-compatible semantics.
1260         For each test in Automake's test suite that uses TESTS, generate
1261         an identical one that uses the `parallel-tests' option, for
1262         coverage of backward-compatible functionality.
1263         * tests/gen-parallel-tests: New file, generates distributed
1264         Makefile.am snippet tests/parallel-tests.am to list all tests
1265         that use the TESTS interface but not yet the `parallel-tests'
1266         option, with names mangled to use suffix `-p.test', in ...
1267         (parallel_tests): ... this new make macro.
1268         * tests/Makefile.am ($(srcdir)/parallel-tests.am)
1269         ($(parallel_tests), defs-p): New rules.
1270         (TESTS): Add check11.test and $(parallel_tests).
1271         (check_SCRIPTS): Add defs-p, $(parallel_tests).
1272         (check-clean-local): Remove `defs-p'.
1273         (EXTRA_DIST): Distribute gen-parallel-tests.
1274         (MAINTAINERCLEANFILES): New variable, remove $(parallel_tests).
1275         * bootstrap: Generate parallel-tests.am.
1276         * tests/check8.test: Check for circular dependencies in rules.
1277         * tests/check11.test: New test, check that SKIPs are not counted
1278         as passed tests.
1279         * tests/defs.in: Unset DISABLE_HARD_ERRORS, LAZY_TEST_SUITE,
1280         VERBOSE, so the tests are not influenced by the way our test
1281         suite is invoked.
1283 2009-03-08  Akim Demaille  <akim@lrde.epita.fr>
1284             Jim Meyering  <jim@meyering.net>
1285             Benoit Sigoure  <tsuna@lrde.epita.fr>
1286             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1288         Parallel test execution: new option `parallel-tests'.
1289         * automake.in (handle_tests): Set new conditional PARALLEL_TESTS
1290         when reading check.am.  Handle option `parallel-tests' and all
1291         its new semantics.  Define macros TEST_SUFFIXES, TEST_SUITE_LOG,
1292         TEST_SUITE_HTML, TEST_LOGS, TEST_LOGS_TMP, suffix rules if
1293         applicable, and per-target rules for other tests.  Add all log
1294         files to %clean_files at the `MOSTLY_CLEAN' level.
1295         * lib/Automake/Options.pm (_process_option_list): Accept
1296         `parallel-tests'.
1297         * lib/am/check.am [!PARALLEL_TESTS] (check-TESTS): Move existing
1298         testsuite driver under this new conditional.
1299         [PARALLEL_TESTS]
1300         (am__rst_title, am__rst_section, am__text_box am__sh_e_setup)
1301         (am__check_pre, am__check_post): New internal macros.
1302         ($(TEST_SUITE_LOG), check-TESTS, .log.html, check-html): New
1303         rules.
1304         * lib/am/check2.am: New file.
1305         * lib/am/Makefile.am (dist_am_DATA): Add check2.am.
1306         * tests/Makefile.am (AUTOMAKE_OPTIONS): Use `parallel-tests'.
1307         (clean-local): Renamed from distclean-local.
1308         * tests/defs.in: Drop VERBOSE handling, not needed here any more.
1310 2009-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1312         Rename `silent' mode to `silent-rules' mode.
1313         * automake.in (define_verbose_var, verbose_flag)
1314         (define_verbose_tagvar, handle_options, handle_languages)
1315         (handle_configure, parse_arguments): Rename the `silent' option
1316         to `silent-rules', so it coincides with the `--silent-rules'
1317         command line option; adjust all code and comments.
1318         * lib/Automake/Options.pm (_process_option_list): Likewise.
1319         * doc/automake.texi (Invoking Automake, Libtool Flags, Options):
1320         Likewise.
1321         * NEWS: Adjust.
1322         * tests/dollarvar.test, tests/silent.test, tests/silent2.test,
1323         tests/silent3.test, tests/silent4.test, tests/silent5.test,
1324         tests/silent6.test, tests/silent7.test: Likewise.
1325         Suggestion by Jan Engelhardt.
1327 2009-03-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1329         `silent' mode unconditionally overrides portability-recursive.
1330         * automake.in (parse_arguments): Don't handle a global `silent'
1331         option here; instead, ...
1332         (handle_options): ... handle the "normal" `silent' option here.
1333         Override `portability-recursive' here, at the last point we deal
1334         with options, instead ...
1335         * lib/Automake/Options.pm (_process_option_list): ... of here.
1336         * tests/silent6.test: Replace unportable make snippet, remove
1337         FIXME note, add more test cases of options passed in the various
1338         locations.
1340         Drop extra line from compile rules when `silent' is not used.
1341         * lib/am/depend2.am [!%FASTDEP%]: Only use the `%VERBOSE%
1342         @AM_BACKSLASH@' extra line if ?VERBOSE?.
1343         Report by Ralf Corsepius.
1345 2009-03-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1347         Keep `--silent-rules' across triggered automake reruns.
1348         * automake.in (usage): Reformat to be a bit clearer.
1349         (handle_configure): Remove substitutions %STRICTNESS% and
1350         %USE-DEPS% in favor of a new substitution %AUTOMAKE-OPTIONS%
1351         that carries over all needed flags.
1352         * lib/am/configure.am (%MAKEFILE-IN%): Adjust rule.
1353         * tests/flavor.test: New test, to ensure --$flavor (gnu,
1354         gnits, foreign, cygnus), --ignore-deps, and --silent-rules are
1355         preserved across automake reruns.
1356         * tests/Makefile.am: Update.
1358 2009-03-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1360         Provide variables for silencing of user rules.
1361         * automake.in (handle_languages): Always define `AM_V_GEN' and
1362         `AM_V_at'.
1363         * doc/automake.texi (Options): Document these flags.
1364         * tests/silent7.test: New test.
1365         * tests/Makefile.am: Update.
1367         Redo variable naming for `silent' machinery.
1368         The public variables are named `AM_V_' plus the compiler
1369         short-hand now, e.g.: AM_V_CC, AM_V_CXXLD, AM_V_GEN.  The
1370         dispatch variables are internal details and begin with
1371         `am__v_'.
1372         * automake.in (verbose_var): Update comment.
1373         (verbose_private_var): New function.  Order functions so that
1374         ones not needed outside this section are listed first.
1375         (verbose_dispatch): Remove, no need to factor this.
1376         (define_verbose_var, define_verbose_libtool): Use
1377         verbose_private_var.
1378         (define_verbose_tagvar): Likewise; and simplify.
1379         Report by Jan Engelhardt.
1381         Let -Wportability turn on/off the portability-recursive channel.
1382         * lib/Automake/ChannelDefs.pm (switch_warning): switch
1383         `portability-recursive' channel as well if changing the
1384         `portability' channel.
1385         * tests/dollarvar2.test: New test.
1386         * tests/Makefile.am: Update.
1388 2009-03-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1390         New automake command line option `--silent-rules'.
1391         * automake.in (parse_arguments): Accept `--silent-rules; let it
1392         override command line warning settings.
1393         (usage): Document it.
1394         * doc/automake.texi (Invoking Automake): Document it.
1395         * NEWS: Update.
1396         * tests/dollarvar.test: Also test `--silent-rules'.
1397         * tests/pr300-ltlib.test: Use `$MAKE V=1' to enable verbose
1398         output, which is matched later in the test.
1399         * tests/silent6.test: New test.
1400         * tests/Makefile.am: Update.
1402         Documentation and tests for the `silent' option.
1403         * NEWS: Update.
1404         * doc/automake.texi (Invoking Automake): `silent' turns off some
1405         portability warnings.
1406         (Libtool Flags): `silent' silences libtool.
1407         (Options): Document the `silent' flag.
1408         * tests/dollarvar.test, tests/silent.test, tests/silent2.test,
1409         tests/silent3.test, tests/silent4.test, tests/silent5.test: New
1410         tests.
1411         * tests/Makefile.am: Update.
1412         * Makefile.am (maintainer-check): Ignore `DESTDIR' and `V' when
1413         checking for make variables that should not be overridden from
1414         the command line.
1416 2009-03-07  Jan Engelhardt  <jengelh@medozas.de>
1417             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1419         Implement `silent' build rules.
1420         * automake.in (ccer): New field in the language structure.
1421         Initialize it for all registered languages.
1422         (verbose_var, verbose_flag, verbose_dispatch)
1423         (silent_flag, define_verbose_var, define_verbose_tagvar)
1424         (define_verbose_libtool): New functions.
1425         (handle_languages, handle_programs, handle_libraries)
1426         (handle_ltlibraries, handle_configure)
1427         (define_compiler_variable, define_linker_variable)
1428         (define_per_target_linker_variable): Use them where appropriate
1429         to define variables to implement the silent output machinery.
1430         * lib/Automake/Options.pm (_process_option_list): Accept
1431         `silent', turning off `portability-recursive'.
1432         * lib/am/depend2.am: Add %VERBOSE% and %SILENT% prefixes where
1433         appropriate.
1434         * lib/am/lex.am: Likewise.
1435         * lib/am/library.am: Likewise.
1436         * lib/am/ltlibrary.am: Likewise.
1437         * lib/am/program.am: Likewise.
1438         * lib/am/yacc.am: Likewise.
1439         * m4/init.m4 (AM_INIT_AUTOMAKE): Substitute, but do not define,
1440         AM_BACKSLASH.
1441         * tests/defs.in: Unset `V', to avoid influencing inner tests.
1443 2009-03-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1445         New channel `portability-recursive'.
1446         Add new channel for portability warnings about recursive make
1447         variable expansions `$(var1$(var2))'.  Enable it alongside
1448         `-Wportability'.
1449         * lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Register
1450         channel `portability-recursive'.
1451         * lib/Automake/Variable.pm (_VARIABLE_CHARACTERS)
1452         (_VARIABLE_RECURSIVE_PATTERN): New variables.
1453         (check_variable_expansions): Diagnose recursive variable
1454         expansions through the new channel.
1456 2009-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1458         * NEWS: Update.
1460 2009-03-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1462         Ignore warnings from autom4te about Libtool macros.
1463         * tests/ltinstloc.test: When testing for presence of warnings,
1464         filter out any that are not interesting for this test, e.g.,
1465         warnings about installed files or about bogusly named cache
1466         variables in libtool.m4, emitted by recent Autoconf when older
1467         Libtool is used.
1469 2009-03-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1471         Relax depcomp test for MSVC to not require minuso.
1472         * m4/depend.m4 (_AM_DEPENDENCIES): When checking the msvisualcpp
1473         and msvcmsys depmodes, do not require `-c -o' to work just yet.
1474         It is not needed by the depcomp script for these depmodes, and
1475         works around the ordering issue between the tests.
1476         Report by Peter Rosin.
1478 2009-03-09  Peter Rosin  <peda@lysator.liu.se>
1480         * tests/compile2.test: Fix typo.
1482 2009-03-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1484         Improve NetBSD 'make -n' output for many standard targets.
1485         * automake.in (handle_tags): Let .MAKE depend on
1486         `tags-recursive' and `ctags-recursive' if appropriate.
1487         (handle_all): Likewise for `all'.
1488         (do_check_merge_target): Likewise for `check-am' and `check'.
1489         * lib/am/ansi2knr.am (.MAKE): Depend on %ANSI2KNR-DIR%/ansi2knr.
1490         * lib/am/install.am [%?maybe_BUILT_SOURCES%] (.MAKE): Depend on
1491         `install'.
1492         * tests/maken3.test, tests/maken4.test: New tests.
1493         * tests/Makefile.am: Update.
1495         Improve `make -n dist' and `make -n distcheck' for GNU make.
1496         Ensure that `make -n dist' and `make -n distcheck' do not change
1497         files, due to GNU make executing rules containing `$(MAKE)'.
1498         * lib/am/distdir.am (distdir): Separate the creation of
1499         `$(distdir)/$$subdir' for `$(DIST_SUBDIRS)' and the recursion
1500         into the `$(DIST_SUBDIRS)' in two separate rule commands.
1501         (distcheck): Exit recursive rule early when run with `make -n',
1502         as detected by a witness file.
1503         * tests/maken.test, tests/maken2.test: New tests.
1504         * tests/Makefile.am: Update.
1505         * NEWS: Update.
1507 2009-03-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1509         Solaris make testsuite fixes.
1510         * tests/check10.test: When a rule fails, Solaris make will
1511         output the complete command that failed; in this case the test
1512         suite driver.  Adjust the test to not bogusly match lines from
1513         the driver, rather than its output.
1514         * tests/distcleancheck.test: Avoid triggering VPATH rewriting,
1515         not desirable in this test.
1516         * tests/specflg10.test: Use BUILT_SOURCES to specify an
1517         intermediate target, so Solaris make knows what to do.
1519         testsuite: SKIP compile tests if configure found no compiler.
1520         * tests/depend6.test: configure will exit 77 if AC_PROG_CC found
1521         no working compiler.  Allow the test to be SKIPped in that case.
1522         * tests/postproc.test: Likewise.
1523         * tests/pr243.test: Likewise.
1524         * tests/pr266.test: Likewise.
1526         Fix maintainer-check fallout.
1527         * tests/compile2.test: Use `Exit', not `exit'.
1529 2009-03-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
1530             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1532         Extract correct man section from files in man_MANS.
1533         * lib/am/mans.am: Extract correct man section in the presence of
1534         multiple dots in the file base name and/or directory components.
1535         * tests/man5.test: New test case.
1536         * tests/Makefile.am: Update.
1538 2009-03-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1540         * doc/automake.texi (maintainer-mode): Fix logic in
1541         AM_MAINTAINER_MODE description.
1542         * THANKS: Update.
1543         Report by Daniel Kahn Gillmor.
1545 2009-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1547         * lib/gnupload: Change conffile name to `.gnuploadrc'.
1549 2009-03-04  William Pursell  <bill.pursell@gmail.com>
1551         Replace bare `automake' with `@command{automake}' or `Automake'.
1552         * doc/automake.texi: Avoid bare `automake' in the manual,
1553         replacing occurrences with `@command{automake}' when the command
1554         is meant, and `Automake' when speaking about the software
1555         package in general.
1557 2009-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1559         * lib/depcomp: Various portability and quoting nits.
1561         reformat gnupload script.
1562         * lib/gnupload: Reformat and reindent.
1564         gnupload touchups.
1565         * lib/gnupload (conffile): New variable.  Use throughout.
1566         (dry_run): Use `false' and `:' values.  Show, don't execute,
1567         gpg signing commands upon --dry-run.
1568         (usage): Typo and formatting fixes.  Mention that commands are
1569         applied in order.
1570         (argument loop): Factorize a bit, fix quoting.
1571         (dprint, mkdirective, mksymlink, upload): Formatting and
1572         portability fixes.
1574 2009-03-04  Sergey Poznyakoff  <gray@gnu.org>
1576         Various gnupload improvements.
1577         Add support for uploading to download.gnu.org.ua.
1578         Add support for a .gnupload configuration file.
1579         Support creating and removing symlinks.
1580         Allow for several operations in a single invocation.
1581         Add debugging features.
1582         * lib/gnupload: New options --delete, --symlink, --rmsymlink,
1583         --symlink-regex, --dry-run; support `--' to separate options and
1584         commands from files.  New target download.gnu.org.ua.  Expand
1585         `.gnupload' file contents before command line arguments.
1586         (usage): Expand.
1587         (dprint, mkdirective, mksymlink, upload): New functions.
1588         * THANKS: Update.
1590 2009-03-03  Peter Rosin  <peda@lysator.liu.se>
1592         Add depmode=msvcmsys for Microsoft Visual C++ on MSYS.
1593         * lib/depcomp [msvisualcpp]: Fork fewer processes. Filter out
1594         libtool in the preprocessor invocation (as is done in
1595         depmode=cpp). Silence compiler stderr.
1596         [msvcmsys]: New depmode as a derivative of depmode=msvisualcpp.
1597         msvcmsys transforms any backslashes into forward slashes to
1598         make the grep in depend.m4 match, instead of the "cygpath -u"
1599         that is used in msvisualcpp.
1601 2009-03-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1602             Peter Rosin  <peda@lysator.liu.se>
1604         Fix w32 path handling in the `compile' script.
1605         * lib/compile: Handle colons and backslashes in win32 paths.
1606         * tests/compile2.test: New test.
1607         * tests/Makefile.am: Update.
1608         Report and initial patch by Peter Rosin.
1610 2009-03-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1612         Fix `use constant' usage for MSYS Perl 5.6.0.
1613         * automake.in (QUEUE_MESSAGE, QUEUE_CONF_FILE, QUEUE_LOCATION)
1614         (QUEUE_STRING): Define using one `use constant' each; as perl
1615         5.6.0 (on MSYS) does not understand `use constant { ... }'.
1616         * THANKS: Update.
1617         Report by Peter Rosin.
1619 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1621         Fix recursive html and install-* doc rules for BSD make.
1622         * automake.in (%required_targets): Add html-am,
1623         install-html-am, install-dvi-am, install-pdf-am, install-ps-am,
1624         install-info-am.
1625         * tests/txinfo32.test: New test.
1626         * tests/Makefile.am: Update.
1628         Fix comment typo.
1629         * lib/am/distdir.am (distcheck): Fix typo in comment.
1631         Ignore generated files below doc/amhello for git.
1632         * doc/amhello/.gitignore: New file.
1634 2009-02-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1636         * doc/automake.texi (Program variables): Add cross reference to
1637         `Flag Variables Ordering' node.
1638         Report by Karl Berry.
1640 2009-01-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1642         Fix mmodely.test to work on Solaris 10.
1643         * tests/mmodely.test: Define yylex, to satisfy needed symbol in
1644         libfl.  Return from main instead of using exit, undeclared.
1645         * THANKS: Update.
1646         Report by Chris Hoogendyk.
1648 2009-01-30  Karl Berry  <karl@freefriends.org>
1650         * lib/gnupload: Add download URL to --help output.
1652 2009-01-23  Eric Blake  <ebb9@byu.net>
1654         Use no-arg macros via AC_REQUIRE for consistency.
1655         * m4/init.m4 (AM_INIT_AUTOMAKE): Require, rather than directly
1656         expand, AM_PROG_INSTALL_SH and AM_PROG_INSTALL_STRIP.
1657         * configure: Regenerate.
1659 2009-01-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1661         Bump copyright years.
1662         * aclocal.in (write_aclocal, version): Bump copyright years.
1663         * automake.in (gen_copyright, version): Likewise.
1664         * doc/automake.texi: Likewise.
1666 2008-12-29  Chris Pickett  <chris.pickett@mail.mcgill.ca>  (tiny change)
1668         * doc/automake.texi (LIBOBJS): Clarify overriding of
1669         `*_DEPENDENCIES'.
1670         * THANKS: Update.
1672 2008-12-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1674         Revamp semantics for `missing help2man' and manpage distribution.
1675         Previously, `missing help2man' would create a missing man page
1676         containing an error message, and exit 1.  This does not play
1677         well with `make': the next run will see this particular man page
1678         as being up to date, and will only error out on the next
1679         generated man page, if any; repeat until all pages are done.
1680         This patch changes `missing' to exit successfully in this case,
1681         but `make dist' will ensure that no such man pages are packaged.
1682         * lib/missing: Exit successfully even if we create a replacement
1683         page due to missing help2man.
1684         * automake.in (make_paragraphs): Define %HAVE-MANS% to be true
1685         if this makefile deals with man pages.
1686         * lib/am/distdir.am (distdir): If %INSTALL-MAN% and %HAVE-MANS%,
1687         check that no man page in $(MANS) contains the replacement text
1688         from `missing'.
1689         * tests/man4.test: New test.
1690         * tests/Makefile.am: Update.
1691         * NEWS: Reorder a bit, update.
1692         * THANKS: Update.
1693         Report by Werner Lemberg and Karl Berry.
1695         Do not use 'global' for makefile-wide settings.
1696         * doc/automake.texi (Linking, Libtool Flags)
1697         (Program and Library Variables, Flag Variables Ordering):
1698         Reword instances of `global variables' that really mean
1699         makefile-wide ones.
1700         * THANKS: Update.
1701         Report by Andreas Bergmeier.
1703         Fix config.status depfiles failure.
1704         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Commands are
1705         again a single shell brace group, so they are correctly skipped
1706         when dependencies are turned off.  The failure is noisy with
1707         ksh only.
1708         * tests/depend6.test: New test.
1709         * tests/Makefile.am: Adjust.
1710         * THANKS: Update.
1711         Report and different suggested patch by Markus Duft.
1713 2008-12-21  Zoltan Rado  <z.rado@chello.hu>  (tiny change)
1715         * doc/automake.texi (DESTDIR): Fix a couple of typos.
1716         * THANKS: Update.
1718 2008-12-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1720         Fix nonportable sed script in 'missing'.
1721         * lib/missing: In sed script, do not use ';' after 't' commands.
1723 2008-12-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1725         PR automake/531:
1726         * doc/automake.texi (amhello Explained)
1727         (Mixing Fortran 77 With C and C++): Fix broken links to
1728         Autoconf manual.
1729         Report by Michael Ploujnikov.
1731 2008-12-07  Michael Ploujnikov  <ploujj@gmail.com>  (tiny change)
1733         * doc/automake.texi (Optional, Future of aclocal): Various
1734         spelling and grammar fixes.
1735         * THANKS: Update.
1737 2008-12-03  William Pursell  <bill.pursell@gmail.com>
1739         Simple typographical and grammar errors in automake.texi.
1740         * doc/automake.texi: Fix object/article consistency (eg "an
1741         flag" becomes "a flag"), correct minor punctuation errors, etc.
1743         * doc/automake.texi (Auxiliary Programs, Python, Rebuilding):
1744         Replace 'configure' with '@command{configure}' as appropriate.
1746 2008-11-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1748         Fixup release rules.
1749         * Makefile.am (cvs-diff): Remove.
1750         (git-dist): Do not use clcommit any more.  Use new-style tag
1751         name.  Pass $(AM_MAKEFLAGS) to $(MAKE).
1752         (git-diff): Adjust.
1753         (git-release): Do not upload to sources.redhat.com.
1755 2008-11-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1757         Fix portability issues in distcleancheck_listfiles doc example.
1758         * doc/automake.texi (Dist): In the `distcleancheck_listfiles'
1759         code example, add `.' path, for Solaris `find', also rewrite so
1760         `{}' appears only once and as separate argument, for Posix.
1761         * tests/distcleancheck.test: New test.
1762         * tests/Makefile.am: Update.
1763         * THANKS: Update.
1764         Report by Jan Engelhardt and Andreas Schwab.
1766 2008-11-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1767             Jim Meyering  <jim@meyering.net>
1769         Cope with whitespace in $MISSING and $install_sh.
1770         * configure.ac (am_AUTOHEADER): New substitution, save the value
1771         of $AUTOHEADER before AM_INIT_AUTOMAKE may add $MISSING.
1772         * tests/defs.in: Use am_AUTOHEADER.
1773         * lib/am/install.am: Fix typo.
1774         * m4/install-sh.m4 (AM_PROG_INSTALL_SH): Add suitable
1775         single-quote quoting to install_sh, but only if needed.
1776         * m4/missing.m4 (AM_MISSING_HAS_RUN): Add suitable double-quote
1777         quoting to MISSING, but only if needed.
1778         * m4/sanity.m4 (AM_SANITY_CHECK): Abort configure if `pwd` or
1779         $srcdir contain shell meta-characters that cannot be handled;
1780         space and tab are allowed in the former only.
1781         * tests/sanity.test: New test.
1782         * tests/Makefile.am: Adjust.
1783         * NEWS: Update.
1784         Reports by Jim Meyering and others.
1786 2008-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1788         Let `missing' also work with versioned and prefixed programs.
1789         * lib/missing: Ignore prefixes of `gnu-', `gnu', and `g' when
1790         testing for known programs; also, ignore suffixes.
1791         * tests/missing.test: Amend test.
1792         * NEWS, THANKS: Update.
1793         Report by Tim Rice.
1795 2008-11-23  William Pursell  <bill.pursell@gmail.com>
1797         * doc/automake.texi (Macro search path, Extending aclocal)
1798         (Local Macros, Serials, Public macros, Directories)
1799         (Conditional Subdirectories, Nesting Packages)
1800         (Building a program, Libtool Modules)
1801         (Program and Library Variables, Default _SOURCES, LIBOBJS):
1802         Correct verb/object tense agreement, swap some words,
1803         and general trivial cleanup.
1805 2008-11-22  William Pursell  <bill.pursell@gmail.com>
1806             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1808         * doc/automake.texi (VPATH Builds, Nested Packages)
1809         (Length limitations, Auxiliary Programs, Invoking Automake)
1810         (Requirements, Optional): Fix typos and grammaros, correct URL
1811         to 'config' source repository.  Rewrite description of AC_SUBST.
1812         (true): Cross-reference to `Default _SOURCES' node.
1814 2008-11-22  William Pursell  <bill.pursell@gmail.com>
1816         * configure.ac: Quote APIVERSION.
1818 2008-11-22  Jim Meyering  <meyering@redhat.com>
1820         * tests/xz.test: Fix typo introduced by Ralf in last patch.
1822         Add xz compression support.
1823         * NEWS: Mention xz as well as lzma (xz will displace lzma).
1824         * automake.in (handle_dist): Recognize dist-xz.
1825         (make_paragraphs): Map XZ to dist-xz.
1826         * doc/automake.texi (Dist): Add dist-xz.
1827         (Options): Likewise.
1828         * lib/Automake/Options.pm (_process_option_list): Accept
1829         dist-xz.
1830         * lib/am/distdir.am (dist-xz): New rule.
1831         (dist dist-all): Add command to create an xz-compressed tarball.
1832         (distcheck): Handle xz-compressed tarballs just like the others.
1833         * tests/xz.test: New file, based on nogzip.test.
1834         * tests/Makefile.am (TESTS): Add xz.test.
1836 2008-11-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1838         When installing COPYING, recommend adding the file to VCS.
1839         * automake.in (require_file_internal): If installing `COPYING',
1840         mention that we install the GPLv3 file and recommend adding the
1841         file to version control.
1842         * doc/automake.texi (Invoking Automake): Point to `Gnits' node
1843         for `--add-missing'.
1844         (Gnits): Clarify semantics: that for strictness gnu or higher,
1845         INSTALL is installed, and that COPYING is installed as GPLv3
1846         if no COPYING file exists.
1847         * tests/license2.test: New test.
1848         * tests/Makefile.am: Update.
1849         * NEWS, THANKS: Update.
1850         Report by Brian Cameron.
1852 2008-11-20  William Pursell  <bill.pursell@gmail.com>
1854         * doc/automake.texi (Timeline): Fix typos and grammaros.
1856 2008-11-12  Karl Berry  <karl@freefriends.org>
1858         New gnupload option --delete to remove archive files.
1859         * lib/gnupload: Accept --delete to remove files from
1860         alpha.gnu.org or ftp.gnu.org.
1862 2008-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1864         Testsuite fixes for ksh.
1865         * tests/check10.test: Add ':' as last command in subshell, for
1866         zero exit status of the subshell.
1867         * tests/parallel-am.test: Do not let failing 'unset' of
1868         nonexistent variable exit the test.
1869         * tests/parallel-am2.test: Likewise.
1870         * tests/parallel-am3.test: Likewise.
1872 2008-11-11 Charles Wilson  <libtool@cwilson.fastmail.fm>  (tiny change)
1873            Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1875         Cleanup config.lt in case LT_OUTPUT is in use.
1876         * lib/am/libtool.am [TOPDIR_P] (distclean-libtool): clean up
1877         config.lt as well as libtool.
1878         * tests/libtoo11.test: New test.
1879         * tests/Makefile.am: Update.
1880         * NEWS: Update.
1882 2008-11-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1884         * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
1885         lib/texinfo.tex: Sync from upstream.
1887 2008-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1889         Update to GFDL 1.3.
1890         * doc/fdl.texi: Update to GFDL 1.3.
1891         * doc/automake.texi (GNU Free Documentation License): Adjust.
1892         * NEWS: Update.
1894         * NEWS: Fix typos.
1895         * automake.in: Fix typos in comments.  Remove extraneous
1896         whitespace.
1898 2008-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1900         Cope with absent Perl modules threads and Thread::Queue.
1901         * automake.in: Instead of `use threads', use `require threads;
1902         import threads' inside a BEGIN section.  Likewise for
1903         Thread::Queue.
1904         * lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Likewise.
1905         * lib/Automake/tests/Condition-t.pl: Likewise.
1906         * lib/Automake/tests/DisjConditions-t.pl: Likewise.
1907         * configure.ac: Likewise, use `require' and `import'.
1908         Report by Eric Blake, fix suggested by Ben Pfaff.
1910 2008-11-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1912         Multiple 'make uninstall' should not fail even for TEXINFOS.
1913         * lib/am/texinfos.am (uninstall-info-am): Do not fail due to
1914         install-info if the installed file does not exist (any more).
1915         * tests/txinfo26.test: Issue multiple `make uninstall'.
1916         * tests/instmany-mans.test: Likewise.
1917         * tests/instmany-python.test: Likewise.
1918         * tests/instmany.test: Likewise.
1919         * tests/txinfo26.test: Likewise.
1920         * NEWS: Update.
1922 2008-11-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1924         New public macro AM_SUBST_NOTMAKE.
1925         * m4/substnot.m4 (AM_SUBST_NOTMAKE): New public macro; invoke
1926         _AM_SUBST_NOTMAKE with arguments.
1927         * doc/automake.texi (Optional): Document it.
1928         * NEWS: Update.
1929         * tests/subst4.test: New test.
1930         * tests/Makefile.am: Update.
1931         Suggestion by Bruno Haible.
1933         Fix regression introduced by AM_DEFAULT_SOURCE_EXT.
1934         * automake.in (handle_source_transform): Use the right variable
1935         when determining whether to apply the old rule for the libtool
1936         library default source name.
1937         Testsuite failure exposed by Bob Proulx' build daemon.
1939 2008-11-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1941         New maintainer target release-stats.
1942         * Makefile.am (release-stats): New target, to help computing the
1943         entries in the statistics table in automake.texi.
1944         * doc/automake.texi (Releases): Reformat a bit.  Add number of
1945         generated files.  Add entry for 1.10.1.
1947         Choose default source extension: AM_DEFAULT_SOURCE_EXT.
1948         * automake.in (handle_source_transform): Accept unconditional
1949         literal extension in AM_DEFAULT_SOURCE_EXT as override for the
1950         default source extension `.c'.  If set, ignore the old default
1951         source rule for libtool libraries.
1952         * doc/automake.texi (Default _SOURCES): Document this.
1953         * NEWS: Update.
1954         * tests/specflg10.test: New test.
1955         * tests/Makefile.am: Update.
1956         Suggestion by Akim Demaille.
1958         Fix maintainer-check failure.
1959         * tests/parallel-am.test: Rename variable to not match pattern
1960         used in maintainer-check.
1962 2008-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1964         * NEWS: Fix typo.
1965         Spotted by Jim Meyering.
1967 2008-10-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1969         Parallel automake --add-missing: serialized file installs.
1970         * automake.in (QUEUE_CONF_FILE, QUEUE_LOCATION, QUEUE_STRING):
1971         New serialization keys.
1972         ($required_conf_file_queue): New file global.
1973         (queue_required_conf_file, require_queued_conf_file): New
1974         functions, to queue and dequeue requirements for aux dir files.
1975         (require_conf_file): Enqueue if needed.
1976         (get_number_of_threads): Can do threads with --add-missing now.
1977         (handle_makefiles_threaded): Let worker threads enqueue, let
1978         master attend to queued requirements at the right time.
1979         * tests/parallel-am.test: Explain the purpose of the include
1980         chain used here.
1981         * tests/parallel-am2.test: Also cope with --add-missing.
1982         * tests/parallel-am3.test: New test, test absence of races with
1983         concurrent same-file installs stemming from --add-missing.
1984         * tests/Makefile.am: Adjust.
1986         Implement serialization for Locations.
1987         * lib/Automake/Location.pm (serialize, deserialize): New
1988         functions.  They allows to serialize a Location in an array, and
1989         to restore a Location from a thread queue.  The API is
1990         unsymmetric (array vs. queue) because enqueuing data needs to
1991         happen atomically.
1993         Parallel automake: ordered output messages.
1994         * lib/Automake/Channels.pm (%_default_options): New options
1995         `ordered' default enabled, `queue', default zero (no queue),
1996         `queue_key' default undefined.
1997         (_merge_options): Ensure `ordered' channels cannot have fatal
1998         messages or backtrace output.
1999         (_enqueue, _dequeue): New functions, to push messages onto a
2000         Thread::Queue, and output messages from such a queue, suitably
2001         weeded for duplicates in the same manner as _print_message.
2002         (_print_message): If the channel is ordered and has an
2003         associated queue, then enqueue messages instead of printing
2004         them.
2005         (setup_channel_queue, pop_channel_queue): New functions,
2006         to set a Thread::Queue for channels, and to flush a queue.
2007         * lib/Automake/ChannelDefs.pm: Unset channel option `ordered'
2008         for fatal, automake, and verb channels.
2009         * automake.in (QUEUE_MESSAGE): New global constant, used as
2010         serialization key.
2011         (handle_makefiles_threaded): Create message queues for each
2012         input file; workers queue messages, and the master outputs them
2013         ordered, using the new Channels.pm functions.
2014         * tests/parallel-am.test: Also check for ordered output (in the
2015         absence of --add-missing races).
2016         * tests/parallel-am2.test: New test; check for ordered output of
2017         warning and (regular) error messages.
2018         * tests/Makefile.am: Adjust.
2020         Parallel automake execution: AUTOMAKE_JOBS.
2021         * lib/Automake/Config.in (perl_threads): New global.
2022         * automake.in: Use it.  If the perl supports interpreter-based
2023         threading, then use `threads' and `Thread::Queue'.
2024         (handle_makefile, handle_makefiles_serial): New functions,
2025         factored out from main.
2026         (get_number_of_threads): New function, compute number of threads
2027         to use, based on environment variable `AUTOMAKE_JOBS' and number
2028         of independent makefiles.
2029         (handle_makefiles_threaded): New function.  Spawn threads, use
2030         thread queue to distribute handling the different makefiles.
2031         Collect $exit_code values from threads.
2032         (main): Use new functions.
2033         * aclocal.in: No threads here.
2034         * configure.ac: Substitute PERL_THREADS; enabled with perl >=
2035         5.7.2 and when ithreads are available.
2036         * bootstrap (dosubst): Likewise.
2037         * Makefile.am (do_subst): Likewise.
2038         * lib/Automake/Makefile.am (do_subst): Likewise.
2039         * lib/Automake/ChannelDefs.pm: Use `Automake::Config' and
2040         `threads'.
2041         (verb): Prepend thread ID (tid) to verbose messages.
2042         * lib/Automake/Channels.pm (msg): Before exiting, flush stderr,
2043         needed for worker threads.
2044         * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Also
2045         include the build tree path, so Config.pm is found.
2046         * tests/parallel-am.test: New test.
2047         * tests/Makefile.am: Update.
2048         * doc/automake.texi (Invoking Automake): Document AUTOMAKE_JOBS.
2049         * NEWS, THANKS: Update.
2050         Report about long execution times by Joakim Tjernlund and others.
2052 2008-10-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2054         Minor file checking optimization: set_dir_cache_file.
2055         * lib/Automake/FileUtils.pm (set_dir_cache_file): New function.
2056         * automake.in (require_file_internal): Instead of resetting the
2057         cache when a file has been installed, simply correct the cache
2058         using set_dir_cache_file.
2060         No uniquifying for fatal, prog_error, and verbose messages.
2061         There is no point in dropping critical messages, even if they
2062         are duplicates (unlikely to happen unless they have been sent
2063         as non-critical messages before), and verbose messages should
2064         enable to show progress, even using duplicate statements.
2065         * lib/Automake/ChannelDefs.pm (fatal, automake, verb): Set
2066         `uniq_part' to `UP_NONE' when registering these channels.
2068         Fix 'config.status --file=... depfiles' with new Autoconf.
2069         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Eval
2070         $CONFIG_STATUS contents if we detect the quoting used by
2071         Autoconf 2.62 and newer for --file=.
2072         * tests/depend5.test: New test.
2073         * tests/Makefile.am: Update.
2074         * NEWS, THANKS: Update.
2075         Report by Sam Steingold against gnulib.
2077 2008-10-26  Johan Dahlin  <jdahlin@async.com.br>
2079         Support for Python 3.0, drop support for pre-2.0.
2080         * lib/py-compile: Do not import string; use sys.stdout.write
2081         instead of print, files.split instead of string.split.
2082         * m4/python.m4 (AM_PATH_PYTHON): Also look for python3 and
2083         phython3.0; do not look for python1.5.  Use sys.stdout.write.
2084         (AM_PYTHON_CHECK_VERSION): Do not use string; adjust to xrange
2085         removal in Python 3.0, and changed semantics of map.
2086         * doc/automake.texi (Python, Hard-Coded Install Paths): Update
2087         Python versions mentioned in the manual, using 2.5 everywhere.
2088         * NEWS, THANKS: Update.
2090 2008-10-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2092         * lib/Automake/Channels.pm (@chain): Drop unused variable.
2094         Cleanup of per-input global variables in automake.in.
2095         * automake.in ($output_vars, $output_all, $output_header)
2096         ($output_rules, $output_trailer): Fix comment, and sort
2097         declarations in the order they will appear in the output.
2098         ($all_target): Unused variable, remove.
2099         (Variables not reset by &initialize_per_input.): New section,
2100         clarify that %am_file_cache is not reset.
2101         (initialize_per_input): Reset $am_file_name, $am_relative_dir,
2102         $in_file_name, $relative_dir, and $topsrcdir to `undef' rather
2103         than the empty string; $topsrcdir was not reset at all.  Sort
2104         remaining variables in the same order as in the section
2105         `Variables reset by &initialize_per_input'.
2107         Let stderr output end up on fd 2 in testsuite.
2108         * tests/defs.in (AUTOMAKE_run): Output recorded stderr on file
2109         descriptor 2.
2110         * tests/getopt.test: Fix erroneous multiple redirection,
2111         uncovered by above change.
2113 2008-10-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2115         Fix DisjConditions module to be thread-safe for perl >= 5.7.2.
2116         Self-hashes of blessed references are not correctly transported
2117         through thread creation.  This patch fixes that by recreating
2118         the hashes upon thread creation with a CLONE special subroutine,
2119         which is automatically invoked by new enough Perl versions.
2120         * lib/Automake/DisjConditions.pm (CLONE): New special
2121         subroutine to fix self hashes upon thread creation.
2122         * lib/Automake/tests/Condition-t.pl: New, sister test to
2123         Condition.pl, but spawns a new threads after each creation of a
2124         new condition; skip test if perl is too old or ithreads are not
2125         available.
2126         * lib/Automake/tests/DisjConditions-t.pl: Likewise.
2127         * lib/Automake/tests/Makefile.am (TESTS): Add them.
2129 2008-10-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2131         Fix comment typos.
2132         * automake.in (require_file_internal): Fix typos in comments.
2133         * m4/amversion.in: Likewise.
2134         * lib/Automake/Variable.pm: Likewise.
2135         * lib/Automake/XFile.pm: Likewise.
2137         Diagnose unsupported uses of `backname' helper function.
2138         * automake.in (backname): Error out if the path points outside
2139         the directory it started in.
2141 2008-10-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2143         Nicer 'make dist' output.
2144         * lib/am/distdir.am (distdir): Hide the complex script
2145         used for computing the relative subdirs; echo the sub-make
2146         command.
2148 2008-10-12  William Pursell <bill.pursell@gmail.com>  (tiny patch)
2150         * tests/defs.in: Fix comment typo.
2152 2008-10-12  William Pursell <bill.pursell@gmail.com>
2153             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2155         Fix grammar w.r.t. plurals in test reports.
2156         * lib/am/check.am: Fix singular/plural forms in test reports.
2157         * tests/check10.test: New test.
2158         * tests/Makefile.am: Update.
2160 2008-10-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2162         Require texi2dvi in tests, makeinfo may not be enough.
2163         * tests/txinfo16.test: RHEL 5.2 has makeinfo and texi2dvi in
2164         separate packages, so also list the latter as required, as the
2165         test generates DVI and/or PDF output (through distcheck).
2166         * tests/txinfo18.test: Likewise.
2167         * tests/txinfo21.test: Likewise.
2168         * tests/txinfo22.test: Likewise.
2169         * tests/txinfo3.test: Likewise.
2170         * tests/version7.test: Likewise.
2171         * THANKS: Update.
2172         Report by Alexander Martens.
2174         Fix bootstrap to remove read-only directories right.
2175         * bootstrap: Remove automake-$APIVERSION correctly.
2177 2008-10-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2179         Improve test coverage of current TESTS semantics.
2180         * tests/check8.test: New test, for subdir tests and setting of
2181         $srcdir.
2182         * tests/check9.test: New test, check @substituted@ TESTS.
2183         * tests/Makefile.am: Update.
2185 2008-10-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2187         * m4/minuso.m4 (AM_PROG_CC_C_O): Work around shell quoting issue
2188         with AIX sh; fixes depcomp6.test failure.
2189         * NEWS, THANKS: Update.
2190         Report by Rainer Tammer.
2192         Print captured output before failing.
2193         * tests/acloca14.test, tests/acloca17.test, tests/acloca18.test,
2194         tests/aclocal.test, tests/acsilent.test, tests/alpha.test,
2195         tests/check4.test, tests/color.test, tests/fn99.test,
2196         tests/fn99subdir.test, tests/help.test, tests/init.test,
2197         tests/lisp8.test, tests/missing3.test, tests/pr220.test,
2198         tests/python11.test, tests/python4.test, tests/python5.test,
2199         tests/unused.test, tests/version8.test: When Exit is called
2200         after a command that has stdout or stderr redirected to a file
2201         for later inspection, output the file before failing the test.
2203         Fix some comment typos.
2204         * automake.in: Fix some comment typos.
2205         * lib/Automake/Condition.pm: Likewise.
2206         * lib/Automake/DisjConditions.pm: Likewise.
2207         * lib/Automake/Variable.pm: Likewise.
2208         * lib/Automake/tests/DisjConditions.pl: Likewise.
2210 2008-09-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2212         * tests/aclibobj.test: Fix race condition.
2214 2008-09-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2216         Fix man page creation without installed files.
2217         * doc/Makefile.am (update_mans): Use wrappers in tests/
2218         directory.
2219         ($(srcdir)/aclocal-$(APIVERSION).1): Use versioned wrapper as
2220         input program to help2man.
2221         ($(srcdir)/automake-$(APIVERSION).1): Likewise.
2222         Report by Eric Blake.
2224 2008-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2226         Remove unneeded per-rule *INSTALL variables.
2227         * NEWS: Update.
2228         * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): Remove.
2229         (install-%DIR%%PRIMARY%): Adjust.
2230         * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Remove.
2231         (install-%DIR%LIBRARIES): Adjust.
2232         * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): Remove.
2233         (install-%DIR%LTLIBRARIES): Adjust.
2234         * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): Remove.
2235         (install-%DIR%PROGRAMS): Adjust.
2236         * lib/am/python.am (%DIR%PYTHON_INSTALL): Remove.
2237         (install-%DIR%PYTHON): Adjust.
2238         * lib/am/scripts.am (%DIR%SCRIPT_INSTALL): Remove.
2239         (install-%DIR%SCRIPTS): Adjust.
2241         Compactify program rules using ternary operators.
2242         * lib/am/progs.am (install-%DIR%PROGRAMS): Uglify^WCompactify
2243         using ternary operators `%KEY?TRUE:FALSE%'.
2244         (uninstall-%DIR%PROGRAMS): Likewise.
2246         New doc section about command line length limits.
2247         * doc/automake.texi (Length limitations): New node.
2248         (Alternative): `nobase_' is not always equivalent to several
2249         base variables.
2250         (Install): Mention multi-file install.
2251         * NEWS: Expand on the issue, list some more user-visible
2252         consequences.
2254         Install nobase_lib_LTLIBRARIES before bin_PROGRAMS.
2255         * automake.in (generate_makefile): If nobase_lib_LTLIBRARIES are
2256         used, add an ugly hack to install them before bin_PROGRAMS, just
2257         like done with lib_LTLIBRARIES.
2258         * tests/ltorder.test: Add program, to expose this.
2260         Do not reorder nobase ltlib installation.
2261         This patch changes back the order of installation of nobase
2262         LTLIBRARIES to that in which files are listed in the variables.
2263         It does not fix the issue of strict dependency ordering, as
2264         implied by *_LIBADD, but as before allows to steer the order by
2265         listing the libraries in nobase_*_LTLIBRARIES appropriately.
2266         As an advantage over the state of 1.10, multiple consecutive
2267         nobase libraries to be installed in the same directory are
2268         passed to libtool in one invocation.
2269         * lib/am/ltlib.am (install-%DIR%LTLIBRARIES) [!%?BASE%]: Do not
2270         reorder libraries upon installation.  Remove spurious empty
2271         line.
2272         * tests/ltorder.test: New test.
2273         * tests/Makefile.am: Update.
2275         Fix -rpath arguments for nobase_*_LTLIBRARIES.
2276         * automake.in (handle_ltlibraries): New hash %instsubdirs to
2277         track the dirname of nobase ltlibraries, and tack it onto the
2278         end of the -rpath argument.  Also, fix the warning about ltlibs
2279         installed in multiple locations to fit a bit better.
2280         * tests/pr300-ltlib.test: Expose this bug here.
2281         * tests/ltinstloc.test: New test.
2282         * tests/Makefile.am: Update.
2283         * NEWS: Update.
2285         Man pages for automake and aclocal.
2286         * configure.ac (HELP2MAN): New substitution.
2287         * doc/Makefile.am (dist_man1_MANS, MAINTAINERCLEANFILES)
2288         (update_mans): New macros.
2289         ($(srcdir)/aclocal-$(APIVERSION).1)
2290         ($(srcdir)/automake-$(APIVERSION).1): New rules, generate
2291         man pages from the command line help with help2man.
2292         ($(srcdir)/aclocal.1, $(srcdir)/automake.1): New rules, for
2293         `.so' man page links to the versioned pages.
2294         * NEWS: Update.
2296 2008-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2298         Faster install for libtool outputs.
2299         * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Invoke `libtool
2300         --mode=install' with multiple libraries at once.
2301         (%DIR%LTLIBRARIES_INSTALL): No need to use install_sh any more.
2302         * lib/am/progs.am (install-%DIR%PROGRAMS): Likewise, remove much
2303         of the libtool special-casing by invoking it for multiple
2304         programs at once.
2306 2008-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2308         Fast install and uninstall for SCRIPTS.
2309         * lib/am/scripts.am [%?INSTALL%]: Include inst-vars.am
2310         independent of `%?BASE%'.
2311         (install-%DIR%SCRIPTS): Install multiple scripts at once,
2312         using awk and a number of sed scripts.
2313         (uninstall-%DIR%SCRIPTS): Compute the installed names, and
2314         remove them, all at once.
2315         (%DIR%SCRIPT_INSTALL) [!BASE]: No need to use install-sh any
2316         more.
2318         Multi-file install for PROGRAMS.
2319         * lib/am/progs.am (install-%DIR%PROGRAMS): Allow to install
2320         several programs with one install invocation, when not using
2321         libtool; employs some trickery to cater for nobase_, $(EXEEXT),
2322         create needed directories, libtool, while only forking a
2323         constant number of times in the fast path; uses awk and sed also
2324         in the default path.
2325         (%DIR%PROGRAMS_INSTALL) [!BASE]: No need to use install-sh any
2326         more.
2328         Enhance cleaning of programs in libtool mode.
2329         * lib/am/progs.am (clean-%DIR%PROGRAMS) [?LIBTOOL?]: Fork less
2330         often, avoid removing programs twice if $(EXEEXT) is empty.
2331         * tests/nobase-libtool.test: Also test PROGRAMS, in order to
2332         exercise the code path.
2333         * THANKS: Update.
2334         Report by Toralf Förster.
2336 2008-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2337             Jim Meyering <jim@meyering.net>
2339         Reliable multi-file install for man pages.
2340         * lib/am/mans.am: Include inst-vars.am.
2341         (install-man%SECTION%): Gather lists of man pages to install,
2342         and install up to 40 of those that do not have to be renamed
2343         at once.  Fail if installation of any file fails.
2344         (uninstall-man%SECTION%): Rewrite to use fewer sed invocations.
2345         * doc/automake.texi (Man pages): Hint the user to the fast path.
2346         Indentation fix.
2347         * tests/instmany-mans.test: New test.
2348         * tests/Makefile.am: Update.
2350 2008-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2352         Faster `make uninstall'; fast install for JAVA.
2353         * lib/am/inst-vars.am (am__nobase_strip_setup)
2354         (am__nobase_strip): New macros.
2355         (am__nobase_list): Factorize.
2356         * lib/am/data.am (uninstall-%DIR%%PRIMARY%): Use them, for a
2357         constant number of forks per uninstall.
2358         * lib/am/libs.am (uninstall-%DIR%LIBRARIES): Likewise.
2359         * lib/am/lisp.am (uninstall-%DIR%LISP): Likewise.
2360         * lib/am/progs.am (uninstall-%DIR%PROGRAMS): Fast uninstall.
2361         * lib/am/python.am (uninstall-%DIR%PYTHON): Fast uninstall.
2362         Echo all `rm' commands that are are executed.
2363         * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA):
2364         Fast install and uninstall.
2366         AIX ranlib dislikes spaces in the argument.
2367         * lib/am/libs.am (install-%DIR%LIBRARIES): Fix instsh.test
2368         failure on AIX due to ranlib and whitespace in the directory.
2369         * THANKS: Update.
2370         Report by John F Trudeau.
2372         Fail upon install or ranlib failure, part two.
2373         * lib/am/java.am (install-%DIR%JAVA): Fail upon install failure.
2374         * lib/am/lisp.am (install-%DIR%LISP): Likewise.
2375         * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Likewise.
2376         * lib/am/libs.am (install-%DIR%LIBRARIES): Likewise, for
2377         `install' as well as `ranlib'.
2378         * lib/am/progs.am (install-%DIR%PROGRAMS): If `install' fails,
2379         return its exit failure, not 1.
2380         * tests/instfail.test: New test, for PROGRAMS (without libtool),
2381         LIBRARIES, including nobase variants.
2382         * tests/instfail-info.test: Likewise, for TEXINFOS.
2383         * tests/instfail-java.test: Likewise, for JAVA.
2384         * tests/instfail-libtool.test: Likewise, for PROGRAMS (with
2385         libtool) and LTLIBRARIES.
2386         * tests/Makefile.am: Adjust.
2388         Exit upon `install' failure, part one.
2389         * lib/am/data.am (install-%DIR%%PRIMARY%): Exit if any install
2390         command fails.
2391         * lib/am/python.am (install-%DIR%PYTHON): Likewise.
2392         * lib/am/scripts.am (install-%DIR%SCRIPTS): Likewise.
2393         * lib/am/texinfos.am (install-dvi-am, install-html-am)
2394         (install-info-am:, install-pdf-am): Likewise.
2395         * tests/instmany.test: New test, for SCRIPTS, DATA, and HEADERS.
2396         * tests/instmany-python.test: New test, for PYTHON.
2397         * tests/Makefile.am: Adjust.
2399 2008-09-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2401         Fix multi-file installation for files in srcdir.
2402         For files that can live in the build tree or the source tree,
2403         we have to expect that prepending `$(srcdir)/' to each name
2404         will let the install command line exceed length limitations.
2405         Thus use a new macro, $(am__base_list), to install in chunks
2406         of 40 files, similar to what we do for nobase_* files.  There,
2407         lower the limit to 40, too.
2408         * lib/am/inst-vars.am (am__install_max): Lower to 40.
2409         (am__base_list): New macro.
2410         * lib/am/data.am (install-%DIR%%PRIMARY%) [%?BASE%]: Use it.
2411         * lib/am/texinfos.am (install-dvi-am, install-html-am)
2412         (install-info-am, install-pdf-am, install-ps-am): Likewise.
2414 2008-09-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2416         Use `Exit' instead of `exit' in test suite.
2417         Cater to Bourne shells like Solaris sh that do not pass the
2418         `exit' argument as status to the cleanup trap.
2419         * Makefile.am (maintainer-check): Check that here-documents
2420         use only `END' or `EOF' as delimiter in the test suite.
2421         Check that, outside of here-documents, the tests do not use
2422         `exit' with an argument, but use `Exit' instead.
2423         * tests/defs.in (Exit): New function.  Use it throughout,
2424         starting with the introduction of the exit trap.
2425         * tests/aclibobj.test, tests/acloca10.test, tests/acloca11.test,
2426         tests/acloca12.test, tests/acloca13.test, tests/acloca14.test,
2427         tests/acloca15.test, tests/acloca16.test, tests/acloca17.test,
2428         tests/acloca18.test, tests/acloca19.test, tests/acloca20.test,
2429         tests/acloca21.test, tests/acloca22.test, tests/aclocal.test,
2430         tests/aclocal3.test, tests/aclocal4.test, tests/aclocal5.test,
2431         tests/aclocal6.test, tests/aclocal7.test, tests/aclocal8.test,
2432         tests/aclocal9.test, tests/acoutbs.test, tests/acoutbs2.test,
2433         tests/acoutnoq.test, tests/acoutpt.test, tests/acoutpt2.test,
2434         tests/acoutqnl.test, tests/acsilent.test, tests/acsubst.test,
2435         tests/acsubst2.test, tests/all.test, tests/alloca.test,
2436         tests/alloca2.test, tests/alpha.test, tests/alpha2.test,
2437         tests/amassign.test, tests/ammissing.test, tests/amopt.test,
2438         tests/amsubst.test, tests/ansi.test, tests/ansi10.test,
2439         tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
2440         tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
2441         tests/ansi7.test, tests/ansi8.test, tests/ansi9.test (main),
2442         tests/ar.test, tests/ar2.test, tests/asm.test, tests/asm2.test,
2443         tests/asm3.test, tests/automake.test, tests/auxdir.test,
2444         tests/auxdir2.test, tests/auxdir3.test, tests/auxdir4.test,
2445         tests/backsl.test, tests/backsl2.test, tests/backsl3.test,
2446         tests/backsl4.test, tests/badline.test, tests/badopt.test,
2447         tests/badprog.test, tests/block.test, tests/bsource.test,
2448         tests/canon-name.test, tests/canon.test, tests/canon2.test,
2449         tests/canon3.test, tests/canon4.test, tests/canon5.test,
2450         tests/ccnoco.test, tests/ccnoco2.test, tests/check.test,
2451         tests/check2.test, tests/check3.test, tests/check4.test,
2452         tests/check5.test, tests/check6.test, tests/check7.test,
2453         tests/checkall.test, tests/clean.test, tests/clean2.test,
2454         tests/colneq.test, tests/colneq2.test, tests/colon.test,
2455         tests/colon2.test, tests/colon3.test, tests/colon4.test,
2456         tests/colon5.test, tests/colon6.test, tests/colon7.test,
2457         tests/color.test (test_no_color), tests/commen10.test,
2458         tests/comment.test, tests/comment2.test, tests/comment3.test,
2459         tests/comment4.test, tests/comment5.test, tests/comment6.test,
2460         tests/comment7.test, tests/comment8.test, tests/comment9.test,
2461         tests/compile.test, tests/compile_f90_c_cxx.test,
2462         tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
2463         tests/cond11.test, tests/cond13.test, tests/cond14.test,
2464         tests/cond15.test, tests/cond16.test, tests/cond17.test,
2465         tests/cond18.test, tests/cond19.test, tests/cond2.test,
2466         tests/cond20.test, tests/cond21.test, tests/cond22.test,
2467         tests/cond27.test, tests/cond3.test, tests/cond37.test,
2468         tests/cond39.test, tests/cond4.test, tests/cond40.test,
2469         tests/cond41.test, tests/cond5.test, tests/cond6.test,
2470         tests/cond7.test (AC_INIT), tests/cond8.test, tests/cond9.test,
2471         tests/condd.test, tests/condhook.test, tests/condinc.test,
2472         tests/condinc2.test, tests/condlib.test, tests/condman.test,
2473         tests/condman2.test, tests/conf2.test, tests/confdeps.test,
2474         tests/conff.test, tests/conff2.test, tests/confh.test,
2475         tests/confh4.test, tests/confh5.test, tests/config.test,
2476         tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
2477         tests/conflnk3.test, tests/conflnk4.test, tests/confsub.test,
2478         tests/confvar.test, tests/confvar2.test, tests/copy.test,
2479         tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
2480         tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
2481         tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
2482         tests/cygwin32.test, tests/dash.test, tests/defs.in (else),
2483         tests/defun.test, tests/defun2.test, tests/dejagnu.test,
2484         tests/dejagnu2.test, tests/dejagnu3.test, tests/dejagnu4.test,
2485         tests/dejagnu5.test, tests/dejagnu6.test, tests/dejagnu7.test,
2486         tests/depacl2.test, tests/depcomp.test, tests/depcomp2.test,
2487         tests/depcomp3.test, tests/depcomp4.test, tests/depcomp5.test,
2488         tests/depcomp6.test, tests/depcomp7.test, tests/depdist.test,
2489         tests/depend.test, tests/depend2.test, tests/depend3.test,
2490         tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
2491         tests/dirlist.test, tests/dirlist2.test, tests/discover.test,
2492         tests/distcom2.test, tests/distcom3.test, tests/distcom4.test,
2493         tests/distcom5.test, tests/distcom6.test, tests/distcom7.test,
2494         tests/distdir.test, tests/distname.test, tests/dollar.test,
2495         tests/double.test, tests/dup2.test, tests/else.test,
2496         tests/empty.test, tests/empty2.test, tests/empty3.test,
2497         tests/empty4.test, tests/exdir.test, tests/exdir2.test,
2498         tests/exdir3.test, tests/exeext.test, tests/exeext2.test,
2499         tests/exeext3.test, tests/exeext4.test, tests/exsource.test,
2500         tests/ext.test, tests/extra.test, tests/extra2.test,
2501         tests/extra3.test, tests/extra4.test, tests/extra5.test,
2502         tests/extra6.test, tests/extra7.test, tests/f90only.test,
2503         tests/flibs.test, tests/fn99.test, tests/fn99subdir.test,
2504         tests/fnoc.test, tests/fo.test, tests/fonly.test,
2505         tests/fort1.test, tests/fort2.test, tests/fort4.test,
2506         tests/fort5.test, tests/fortdep.test, tests/fpinst2.test,
2507         tests/fpinstall.test, tests/gcj.test, tests/gcj2.test,
2508         tests/gcj3.test, tests/gcj4.test, tests/gcj5.test,
2509         tests/getopt.test, tests/gettext.test, tests/gettext2.test,
2510         tests/gettext3.test, tests/gnits.test, tests/gnits2.test (main),
2511         tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
2512         tests/gnuwarn2.test, tests/header.test, tests/help.test,
2513         tests/hosts.test, tests/implicit.test, tests/include.test,
2514         tests/include2.test, tests/info.test, tests/init.test,
2515         tests/insh2.test, tests/install2.test, tests/installdir.test,
2516         tests/instdat.test, tests/instdat2.test, tests/instexec.test,
2517         tests/insthook.test, tests/instman.test, tests/instman2.test,
2518         tests/instsh.test, tests/instsh2.test, tests/instsh3.test,
2519         tests/instspc.test, tests/interp.test, tests/interp2.test,
2520         tests/java.test, tests/java2.test, tests/java3.test,
2521         tests/javaprim.test, tests/javasubst.test, tests/ldadd.test,
2522         tests/ldflags.test, tests/lex.test, tests/lex2.test,
2523         tests/lex3.test, tests/lex4.test, tests/lex5.test (main),
2524         tests/libexec.test, tests/libobj10.test, tests/libobj11.test,
2525         tests/libobj12.test, tests/libobj13.test, tests/libobj2.test,
2526         tests/libobj3.test, tests/libobj4.test, tests/libobj5.test,
2527         tests/libobj7.test, tests/libobj8.test, tests/library.test,
2528         tests/library2.test, tests/library3.test, tests/libtoo10.test,
2529         tests/libtool.test, tests/libtool2.test, tests/libtool3.test
2530         (main), tests/libtool4.test, tests/libtool5.test,
2531         tests/libtool6.test, tests/libtool7.test, tests/libtool8.test,
2532         tests/libtool9.test (main), tests/license.test,
2533         tests/link_c_cxx.test, tests/link_dist.test,
2534         tests/link_f90_only.test, tests/link_f_only.test,
2535         tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
2536         tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
2537         tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
2538         tests/lisp8.test, tests/listval.test, tests/location.test,
2539         tests/longlin2.test, tests/longline.test, tests/ltcond.test,
2540         tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
2541         tests/ltlibobjs.test, tests/ltlibsrc.test, tests/lzma.test,
2542         tests/maintclean.test, tests/make.test, tests/makej.test,
2543         tests/makevars.test, tests/man.test, tests/man2.test,
2544         tests/man3.test, tests/mclean.test, tests/mdate.test,
2545         tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
2546         tests/mdate5.test, tests/missing.test, tests/missing2.test,
2547         tests/missing3.test, tests/missing4.test, tests/missing5.test,
2548         tests/missing6.test, tests/mkinst2.test, tests/mkinst3.test,
2549         tests/mkinstall.test, tests/mmode.test, tests/mmodely.test,
2550         tests/multlib.test, tests/nobase-libtool.test,
2551         tests/nobase-python.test, tests/nobase.test, tests/nodef.test,
2552         tests/nodef2.test, tests/nodep.test, tests/nodep2.test,
2553         tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
2554         tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
2555         tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
2556         tests/nostdinc.test, tests/notrans.test, tests/number.test,
2557         tests/objc.test, tests/objc2.test, tests/obsolete.test,
2558         tests/order.test, tests/outdir.test, tests/output-order.test,
2559         tests/output.test, tests/output10.test, tests/output11.test,
2560         tests/output12.test, tests/output13.test, tests/output2.test,
2561         tests/output3.test, tests/output4.test, tests/output5.test,
2562         tests/output6.test, tests/output7.test, tests/output8.test,
2563         tests/output9.test, tests/overrid.test, tests/parse.test,
2564         tests/pluseq.test, tests/pluseq10.test, tests/pluseq2.test,
2565         tests/pluseq3.test, tests/pluseq4.test, tests/pluseq5.test,
2566         tests/pluseq6.test, tests/pluseq7.test, tests/pluseq8.test,
2567         tests/pluseq9.test, tests/postproc.test, tests/ppf77.test,
2568         tests/pr2.test, tests/pr204.test, tests/pr211.test,
2569         tests/pr220.test, tests/pr224.test, tests/pr229.test,
2570         tests/pr243.test, tests/pr266.test, tests/pr279-2.test,
2571         tests/pr279.test, tests/pr287.test, tests/pr300-lib.test,
2572         tests/pr300-ltlib.test, tests/pr300-prog.test, tests/pr307.test,
2573         tests/pr401.test, tests/pr401b.test, tests/pr401c.test,
2574         tests/pr72.test, tests/pr87.test, tests/pr9.test,
2575         tests/prefix.test, tests/primary.test, tests/primary2.test,
2576         tests/primary3.test, tests/proginst.test, tests/python.test,
2577         tests/python10.test, tests/python11.test, tests/python12.test,
2578         tests/python2.test, tests/python3.test, tests/python4.test,
2579         tests/python5.test, tests/python6.test, tests/python7.test,
2580         tests/python8.test, tests/python9.test, tests/recurs.test,
2581         tests/recurs2.test, tests/regex.test, tests/remake.test,
2582         tests/remake2.test, tests/remake3.test, tests/remake4.test,
2583         tests/remake5.test, tests/remake6.test, tests/remake7.test,
2584         tests/req.test, tests/reqd.test, tests/reqd2.test,
2585         tests/rulepat.test, tests/scripts.test, tests/seenc.test,
2586         tests/sinclude.test, tests/space.test, tests/specflg.test,
2587         tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
2588         tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
2589         tests/spell.test, tests/spell2.test, tests/spell3.test,
2590         tests/spelling.test, tests/spy.test, tests/srcsub.test,
2591         tests/srcsub2.test, tests/stamph2.test, tests/stdinc.test,
2592         tests/stdlib.test, tests/stdlib2.test, tests/strip.test,
2593         tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
2594         tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
2595         tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
2596         tests/subdir7.test, tests/subdir8.test, tests/subdir9.test,
2597         tests/subdirbuiltsources.test, tests/subobj.test,
2598         tests/subobj10.test, tests/subobj2.test, tests/subobj3.test,
2599         tests/subobj4.test, tests/subobj5.test, tests/subobj6.test,
2600         tests/subobj7.test, tests/subobj8.test, tests/subobj9.test,
2601         tests/subobjname.test, tests/subpkg.test, tests/subpkg2.test,
2602         tests/subpkg3.test, tests/subst.test, tests/subst2.test,
2603         tests/subst3.test, tests/substre2.test, tests/substref.test,
2604         tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
2605         tests/suffix11.test, tests/suffix12.test, tests/suffix2.test,
2606         tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
2607         tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
2608         tests/suffix9.test, tests/symlink.test, tests/symlink2.test,
2609         tests/symlink3.test, tests/syntax.test, tests/tags.test,
2610         tests/tagsub.test, tests/tar.test, tests/tar2.test,
2611         tests/tar3.test, tests/target-cflags.test,
2612         tests/targetclash.test, tests/transform.test, tests/txinfo.test,
2613         tests/txinfo10.test, tests/txinfo13.test, tests/txinfo16.test,
2614         tests/txinfo17.test, tests/txinfo18.test, tests/txinfo19.test,
2615         tests/txinfo2.test, tests/txinfo20.test, tests/txinfo21.test,
2616         tests/txinfo22.test, tests/txinfo23.test, tests/txinfo24.test,
2617         tests/txinfo25.test, tests/txinfo26.test, tests/txinfo27.test,
2618         tests/txinfo28.test, tests/txinfo29.test, tests/txinfo3.test,
2619         tests/txinfo30.test, tests/txinfo31.test, tests/txinfo4.test,
2620         tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
2621         tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
2622         tests/upc.test, tests/upc2.test, tests/upc3.test,
2623         tests/vars.test, tests/vars3.test, tests/vartar.test,
2624         tests/version.test, tests/version2.test, tests/version3.test,
2625         tests/version4.test, tests/version6.test, tests/version7.test,
2626         tests/version8.test, tests/vpath.test, tests/vtexi.test,
2627         tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
2628         tests/werror2.test, tests/whoami.test, tests/xsource.test,
2629         tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
2630         tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
2631         tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
2632         tests/yaccvpath.test: Use `Exit $arg' instead of `exit $arg'
2633         throughout, except inside created files.
2635 2008-09-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2637         Avoid Heisenbug with verbose testing on HP-UX.
2638         * tests/output-order.test: Remove spurious redirection line
2639         from output for comparison.
2641         For all possibly-relative subdirs, use $(am__cd).
2642         Up to now, $(am__cd) was only used within backquotes, to avoid
2643         extraneous output.  This patch also uses it for every `cd' to a
2644         relative subdir, to prevent CDPATH from entering an unwanted
2645         directory.
2646         * Makefile.am (maintainer-check): Fix current check for
2647         $(am__cd) within backquotes a bit.  Add new check for `cd' to a
2648         relative subdir.
2649         * automake.in (handle_tags, handle_configure):  Adjust rules.
2650         * lib/am/ansi2knr.am: Likewise.
2651         * lib/am/configure.am: Likewise.
2652         * lib/am/distdir.am: Likewise.
2653         * lib/am/remake-hdr.am: Likewise.
2654         * lib/am/subdirs.am: Likewise.
2655         * lib/am/tags.am: Likewise.
2656         * lib/am/texibuild.am: Likewise.
2658         Fix nobase-python.test for BSD make.
2659         * tests/nobase-python.test: Listing a dependency to be found
2660         via VPATH search explicitly, without the path, as a target,
2661         will turn off VPATH search for FreeBSD make.  So move the
2662         creation of the files outside of the Makefile.
2664 2008-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2666         Implement AM_MAINTAINER_MODE([DEFAULT-MODE]).
2667         * m4/maintainer.m4 (AM_MAINTAINER_MODE): Allow for an optional
2668         first argument of `enable' or `disable', setting the default.
2669         * doc/automake.texi (Optional, maintainer-mode): Document.
2670         * tests/mmode.test: New test.
2671         * tests/Makefile.am: Adjust.
2672         * NEWS: Update.
2673         Suggestion by Vincent Lefevre.
2675 2008-08-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2677         Copyright year updates.
2678         * lib/am/header-vars.am: Update copyright years.
2679         * lib/am/remake-hdr.am: Likewise.
2680         * lib/am/tags.am: Likewise.
2682 2008-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2684         * THANKS: Use Cyrillic name instead of ASCII transcription.
2686 2008-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2688         Fix rebuilding of removed subdir/Makefile.in files.
2689         * lib/am/configure.am (%MAKEFILE-IN%) [?!TOPDIR_P?]: If
2690         subdir/Makefile.in was removed, am--refresh would not update
2691         it.  Fix up for it by running the per-directory rebuild rule.
2692         * tests/remake6.test, tests/remake7.test: New tests.
2693         * tests/Makefile.am: Adjust.
2694         * NEWS, THANKS: Update.
2695         Report and initial patch by Ilya N. Golubev.
2697 2008-08-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2699         * tests/notrans.test: Use multiple man files of each type.
2701         Fix maintainer-check failures.
2702         * doc/automake.texi (Conditionals): Drop TAB.
2703         * tests/missing6.test: Use 'rm -f'.
2705 2008-08-19  Reuben Thomas <rrt@sc3d.org>  (tiny patch)
2707         * doc/automake.texi (Flag Variables Ordering, Per-Object Flags):
2708         Fix grammaros.
2710 2008-08-02  Karl Berry  <karl@freefriends.org>
2712         * lib/gnupload: Provide also a simple example.
2714 2008-06-25  Thien-Thi Nguyen  <ttn@gnuvola.org>
2716         Small doc fix.
2717         * doc/automake.texi (Public Macros): Close open paren.
2719 2008-06-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2721         Introduce macro $(am__mv) to facilitate 'libtool --dry-run'.
2722         * lib/am/depend.am (am__mv): New macro, set to 'mv -f'.
2723         * lib/am/depend2.am: Use throughout to move the temporary
2724         depfile *.Tpo to its final destination *.Po.
2726 2008-06-18  Rafael Espindola  <espindola@google.com>
2728         * lib/config-ml.in: don't handle --enable-shared and --enable-static.
2730 2008-06-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2732         * lib/am/inst-vars.am (am__install_max): New variable.
2733         (am__nobase_list): Use it.
2735         Fix conditional rules competing with config.status rules.
2736         * automake.in (handle_configure): Teach targets about the
2737         conditional config.status rule.
2738         * tests/cond39.test: Adjust test to expose this.
2740         For AC_CONFIG_LINKS(X,X), do not clean X in a non-VPATH build.
2741         * automake.in (rewrite_inputs_into_dependencies): Do distribute
2742         inputs where input and output name are equal.  This relies on
2743         the assumption that it only happens with AC_CONFIG_LINKS.
2744         (handle_configure) <CONFIG_CLEAN_VPATH_FILES>: New variable, for
2745         links where source and dest are equal.
2746         * lib/am/clean.am (distclean-generic): Remove, if build tree not
2747         equal source tree.
2748         * tests/conflnk4.test: New test.
2749         * tests/Makefile.am: Adjust.
2750         * NEWS: Update.
2752 2008-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2754         * doc/automake.texi (Extending): Fix ambivalent wording.
2755         Report by Ben Pfaff.
2757 2008-06-04  Karl Berry  <karl@freefriends.org>
2759         * doc/automake.texi (Install, Hard-Coded Install Paths):  Fix
2760         punctuation and markup.
2761         (Extending): Improve wording and clarify order semantics of
2762         *-local and *-hook targets.
2764 2008-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2766         * doc/automake.texi (Extending): Fix grammar.
2767         Report by Karl Berry.
2769 2008-05-13  Stepan Kasal  <skasal@redhat.com>
2771         Fix typos.
2772         * doc/automake.texi (Timeline): Reported by Reuben Thomas.
2773         * lib/am/remake-hdr.am: A few typos in comments.
2775 2008-04-10  Eric Blake  <ebb9@byu.net>
2777         Prefer a released version of autoconf.
2778         * NEWS: Bump requirement to autoconf 2.62.
2779         * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
2780         * configure.ac: Likewise.
2781         (AC_PREREQ): Remove check, done by AM_INIT_AUTOMAKE instead.
2783         AC_AUTOCONF_VERSION can inadvertently expand to a macro name.
2784         * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Use proper
2785         m4 quoting.
2786         * aclocal.in (write_aclocal): Likewise.
2787         * tests/missing6.test: New test.
2788         * tests/Makefile.am (TESTS): Run it.
2789         * tests/missing4.test: Adjust.
2791 2008-04-02  Eric Blake  <ebb9@byu.net>
2793         Make gnupload friendlier for VPATH usage.
2794         * lib/gnupload: Allow uploads from separate directory.
2796 2008-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2798         Implement conditional AC_CONFIG_FILES: AM_COND_IF.
2799         * automake.in (%ac_config_files_condition): New.
2800         (scan_autoconf_config_files): Record condition if any.
2801         (scan_autoconf_traces): Trace _AM_COND_IF, _AM_COND_ELSE,
2802         _AM_COND_ENDIF, updating @cond_stack as appropriate.
2803         (handle_configure): Prefix config.status rule with condition.
2804         Check that m4 quotation is done consistently.
2805         * m4/cond.m4 (AM_CONDITION): Define `_AM_COND_VALUE_name'
2806         with `name' being the name of the condition, to its shell
2807         condition.
2808         * m4/cond-if.m4: New file.
2809         (_AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF): New trace helpers.
2810         (AM_COND_IF): New macro, implements conditionals.
2811         * m4/Makefile.am: Adjust.
2812         * doc/automake.texi (Requirements, Optional, Conditionals):
2813         Document AM_COND_IF.
2814         * NEWS: Update.
2815         * tests/cond39.test, tests/cond40.test, tests/cond41.test,
2816         tests/cond42.test, tests/cond43.test: New tests.
2817         * tests/Makefile.am: Adjust.
2819 2008-03-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2821         * doc/automake.texi (@ovar): New macro, from autoconf.texi.
2822         (Python): Use it.
2823         Suggestion by Eric Blake.
2825 2008-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2827         * lib/texinfo.tex: Sync from upstream.
2829 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2831         * doc/automake.texi (Requirements, Linking, Extending):
2832         Fix underfull and overfull lines, fix wording a bit.
2834         * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
2835         upstream.
2837         * Makefile.am (WGET_SV_GIT_CF): New.
2838         (fetch): Pull config.guess and config.sub from git repo now.
2840         * lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument
2841         $hint, show if the executing program does not exist.
2842         (xsystem_hint): New function, like xsystem but allows to pass
2843         a hint.
2845 2008-03-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
2847         Implement the `notrans_' prefix for untransformed manpages.
2848         * automake.in (handle_man_pages), lib/am/mans.am: Implement
2849         notrans_ prefix for MANS primary and rework dependencies for
2850         install-man%SECTION%; use only vars defined in Makefile.am.
2851         * doc/automake.texi (Renaming, Uniform, Man pages):
2852         Document notrans_ prefix.
2853         * NEWS: Update.
2854         * tests/notrans.test: New test.
2855         * tests/Makefile.am: Update.
2857         * automake.in (handle_man_pages): Reindent, for next patch.
2859 2008-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2861         Use `install' with multiple files at once for some primaries.
2862         With nobase targets, at most 50 files are installed at once,
2863         to avoid quadratic string concatenation and line length limits.
2864         This isn't yet done with base targets.  One hope is that there,
2865         the typical file name length is lower.  If this turns out to be
2866         a problem, it should be revisited.
2868         * lib/am/inst-vars.am (am__nobase_list): New helper macro for
2869         installation of multiple nobase files at once: sorts and lists
2870         files keyed by their target directory.
2871         * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): No need to set it to
2872         $(install_sh_DATA) any more, not even for nobase targets.
2873         (install-%DIR%%PRIMARY%): Split base and nobase cases.
2874         Rewrite to pass lists of files which all go in the same
2875         directory to `install'.  In the nobase case, make use of
2876         $(am__nobase_list) and $(MKDIR_P) each directory before
2877         populating it.  Take care of files in source and build trees,
2878         and avoid creating directories where no files are to be
2879         installed.
2880         * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Likewise.
2881         (install-%DIR%LIBRARIES): Likewise.
2882         * lib/am/python.am (%DIR%PYTHON_INSTALL): Likewise.
2883         (install-%DIR%PYTHON): Likewise.  Also take care to keep note of
2884         a list for byte compilation after installation.
2885         * lib/am/texinfos.am (install-dvi-am, install-html-am)
2886         (install-info-am, install-pdf-am, install-ps-am): Use file lists
2887         to install multiple files at once.
2888         * NEWS: Update.
2889         Suggested by Akim Demaille.
2891 2008-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2893         Require unreleased Autoconf for fixed AC_PROG_INSTALL.
2894         * m4/init.m4 (AM_INIT_AUTOMAKE): Bump AC_PREREQ to 2.61-341,
2895         regenerate files.
2896         * configure.ac: Also require Autoconf 2.61-341, to catch
2897         failure early and provide a sensible error message.
2899         Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT.
2900         * tests/ansi4.test: Drop AC_OBJEXT and AC_EXEEXT.
2901         * tests/ansi6.test: Likewise.
2902         * tests/ansi7.test: Likewise.
2903         * tests/condlib.test: Likewise.
2904         * tests/cygwin32.test: Likewise.
2905         * tests/exeext2.test: Likewise.
2906         * tests/libobj11.test: Likewise.
2907         * tests/library.test: Likewise.
2908         * tests/txinfo5.test: Likewise.
2910 2008-03-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2912         Skip instsh3.test if `touch -t' does not work.
2913         * tests/instsh3.test: Test for `touch -t', fails with Solaris
2914         /usr/ucb/touch.
2915         * THANKS: Update.
2916         Report by Younes Younes.
2918 2008-02-27  Reuben Thomas  <rrt@sc3d.org>
2920         * doc/automake.texi (wildcards): Improve "Why doesn't Automake
2921         support wildcards" node's English and sense.
2923 2008-02-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2925         * lib/am/check.am (check-TESTS): In the case patterns for
2926         XFAILed tests, add literal bracket expression for matching
2927         whitespace, as NetBSD 4.99.54 ksh does not understand a
2928         bracket expression resulting from variable expansion.
2929         * README: Explain how to run the Automake test suite, including
2930         setting MAKE to test gmake.
2931         Report by Patrick Welche.
2933 2008-02-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2935         PR automake/498
2936         * m4/options.m4 (_AM_SET_OPTIONS): Use m4_foreach_w instead of
2937         obsolete AC_FOREACH.
2938         Report by NightStrike and gurganbl@rose-hulman.edu.
2940 2008-02-17  Colin Watson  <cjwatson@debian.org>  (tiny change)
2942         * lib/am/tags.am (ID): Fix typo in workaround for old awk.
2944 2008-02-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2946         * doc/.gitignore: Ignore files generated by `make ps pdf html'.
2948 2008-02-05  Reuben Thomas  <rrt@sc3d.org>
2950         * doc/automake.texi (CVS): configure.ac will appear newer, not
2951         older, than configure.  Use `lexical' instead of `alphabetical'.
2953 2008-01-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2955         * tests/man3.test: Avoid `make VAR=value'.
2957         * tests/subst3.test: New test.
2958         * tests/Makefile.am: Update.
2960         * tests/instsh2.test: Split off testing of `install-sh -C' ...
2961         * tests/instsh3.test: ... to this new test, requiring non-root.
2962         * tests/Makefile.am: Adjust.
2963         * THANKS: Update.
2964         Report by Theodoros V. Kalamatianos.
2966 2008-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2968         * tests/nobase.test: Extend test to generated files.
2970         * tests/nobase-python.test: New test, nobase for python files.
2971         * tests/Makefile.am: Update.
2973         * tests/nobase.test: Split off libtool part of nobase.test for
2974         increased test exposure, to ...
2975         * tests/nobase-libtool.test: ... this new test.
2976         * tests/Makefile.am: Update.
2978 2008-01-23  Eric Blake  <ebb9@byu.net>
2980         Fix color.test when using BSD grep.
2981         * tests/color.test: Ensure that grep can handle non-printing
2982         characters.
2984 2008-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2986         * tests/lisp3.test: Fix typo.
2988 2008-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2990         * lib/am/mans.am (install-man%SECTION%): Prefer generated manpages
2991         over distributed ones.
2992         Report and patch by Peter Breitenlohner.
2993         * tests/man3.test: New test.
2994         * tests/Makefile.am: Update.
2996 2008-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2998         * tests/tar.test: Skip if no appropriate tar was found.
3000 2008-01-19  NightStrike  <nightstrike@gmail.com>
3002         * doc/automake.texi (Dependency Tracking): Fix typo.
3004 2008-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3006         * lib/config-ml.in, lib/config.guess, lib/config.sub,
3007         lib/symlink-tree: Sync from upstream.
3009         * Makefile.am (WGET_SV_CVS): Renamed from WGETSGO.
3010         (WGET_SV_GIT_AC, WGET_SV_GIT_GL, WGET_GCC): New.
3011         (fetch): Update to match current upstream locations.
3013 2008-01-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3015         * doc/automake.texi (DESTDIR, Built sources example): Fix wording.
3016         * THANKS: Update.
3017         Reports and suggestions by William Pursell and nightstrike@gmail.com.
3019 2008-01-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3021         Do not fail if `autoupdate' is not present.
3022         * tests/obsolete.test: Check for presence of autoupdate.  Apparently,
3023         FreeBSD may install the other Autoconf programs without a version
3024         suffix but not autoupdate.
3026         Fix Heisenbug trying to unset a sometimes-not-set variable.
3027         * tests/check5.test: Do not error out upon `unset TESTS' due to
3028         `set -e', in case TESTS was not set.
3029         * tests/color.test: Likewise.
3031         * doc/automake.texi (amhello Explained): Fix odd sentence.
3032         Report by nightstrike@gmail.com.
3034 2008-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3036         * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Rewrite to be more
3037         resistant to different quoting styles of $1.
3039         Clarify texinfo.tex and TEXINFO_TEX semantics.
3040         * doc/automake.texi (Texinfo): Clarify that by default,
3041         texinfo.tex is searched in the same directory as the Makefile.am
3042         that needs it.  Clarify that TEXINFO_TEX has precedence over
3043         AC_CONFIG_AUX_DIR, and that it requires the user to install and
3044         distribute it.
3045         * tests/txinfo22.test: Ensure TEXINFO_TEX is not distributed.
3046         * THANKS: Update.
3047         Reports by Dilyan Palauzov and Roumen Petrov.
3049 2008-01-11  Bruno Haible  <bruno@clisp.org>
3050             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3052         * tests/output-order.test: New test, for the stable output fix.
3053         * tests/Makefile.am: Update.
3055 2008-01-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3057         * Makefile.am (dist-hook): New, ensure world-executable tests.
3058         * THANKS: Update.
3059         Report by Arto C. Nirkko.
3061         * tests/acloca20.test: Use `--force' with the second $AUTOCONF,
3062         to force update on fast machines where both autoconf invocations
3063         happen within the same second.
3064         Report by Greg Schafer.
3066 2008-01-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3068         * automake.in (scan_autoconf_files): Sort loop over
3069         %required_aux_file, for stable verbose output.
3070         Report by Bruno Haible.
3072         * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
3073         upstream.
3075         * tests/ccnoco.test (Mycomp): Use a tighter match for -c -o,
3076         to avoid matching for example `LDFLAGS=-Wl,--sort-common'.
3077         * THANKS: Update.
3078         Report and analysis by Carsten Lohrke and Mike Frysinger.
3080 2008-01-07  Stepan Kasal  <skasal@redhat.com>
3082         * automake.in (handle_texinfo_helper, handle_lib_objects): Fix
3083         typos in comments.
3085 2008-01-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3087         Bump copyright years.
3088         * aclocal.in (write_aclocal, version): Likewise.
3089         * automake.in ($gen_copyright, version): Likewise.
3090         * doc/automake.texi: Likewise.
3092 2007-12-18  Jim Meyering  <meyering@redhat.com>
3094         * lib/gnupload (GPG): Don't use an absolute path.
3095         This reverts part of the 2004-01-28 change.
3097 2007-12-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3099         * lib/Automake/FileUtils.pm (open_quote): New function.
3100         (update_file, contents): Use it.
3102         Reword the copyright notices to match what's suggested in GPLv3.
3104 2007-12-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3106         * tests/defs.in: Quote $srcdir, $PATH; skip libtool and gettext
3107         tests if the absolute source or build tree name contain whitespace.
3109         Modify some tests for absolute trees containing whitespace.
3110         * tests/missing.test: Use "./missing" instead of "`pwd`/missing".
3111         * tests/missing2.test: Likewise.
3112         * tests/mmodely.test: Add `pwd` to $PATH instead of absolute
3113         references to myyacc.sh and mylex.sh.
3114         * tests/multlib.test: Likewise for mycc.
3115         * tests/txinfo26.test: Skip if `pwd` contains whitespace, as
3116         an absolute --srcdir does not work there.
3118         * INSTALL, lib/INSTALL, lib/config-ml.in, lib/config.guess,
3119         lib/config.sub, lib/texinfo.tex: Sync from upstream.
3121         Fix the distdir target to cope with spaces in absolute file names.
3122         * lib/am/distdir.am: Quote all instances of $(distdir) and
3123         $(top_distdir).  They could contain white space, coming from
3124         a toplevel package bootstrapped with an older Automake version.
3125         (am__relativize): New macro, taken from gnulib code, written by
3126         Bruno Haible.
3127         (distdir): Use it to compute relative paths to distdir and
3128         top_distdir for enclosed subpackages.
3129         Also, quote $(distuninstallcheck_dir).
3130         * lib/am/texinfos.am: Likewise, quote $(distdir).
3132 2007-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3134         Quote file names in tests that can be absolute.
3135         * tests/auxdir.test, tests/check3.test, tests/check4.test,
3136         tests/compile.test, tests/cond33.test, tests/condhook.test,
3137         tests/distdir.test, tests/dollar.test, tests/empty.test,
3138         tests/gnits2.test, tests/gnits3.test, tests/include2.test,
3139         tests/insthook.test, tests/java.test, tests/libtool7.test,
3140         tests/lisp4.test, tests/lisp5.test, tests/lisp6.test,
3141         tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test,
3142         tests/multlib.test, tests/nobase.test, tests/nodist2.test,
3143         tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test,
3144         tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test,
3145         tests/python3.test, tests/strip.test, tests/transform.test,
3146         tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test,
3147         tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test:
3148         Likewise.
3150         Quote @abs_top_builddir@ and @abs_top_srcdir@.
3151         * tests/aclocal.in: Likewise.
3152         * tests/automake.in: Likewise.
3154         Fix TAGS and GTAGS rules to cope with whitespace in `pwd`.
3155         * lib/am/tags.am (TAGS): Use positional parameters to avoid
3156         the need to quote absolute file names.
3157         (GTAGS): Quote absolute file name.
3158         (CTAGS): Simplify, dropping unused variable `$tags'.
3160 2007-11-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3162         * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Fix another instance
3163         of am__strip_dir.  Fixes nobase and pr300-ltlib test failures.
3165 2007-11-25  Akim Demaille  <akim@lrde.epita.fr>
3167         Several *-local in a rule do not work.
3168         * tests/all.test: Check this case.
3169         Use set -e.
3170         * tests/Makefile.am (XFAIL_TESTS): Add it.
3172 2007-11-25  Akim Demaille  <akim@lrde.epita.fr>
3174         Fix uses of am__strip_dir.
3175         * lib/am/libs.am, lib/am/ltlib.am: Catch up with the change of
3176         definition of am__strip_dir.
3178 2007-11-25  Akim Demaille  <akim@lrde.epita.fr>
3180         Define and use register_action.
3181         * lib/Automake/Rule.pm: Fix a few typos in the doc.
3182         (&rule): Use || to simplify the code.
3183         (&register_action): New.
3184         Export it.
3185         * automake.in (&handle_factored_dependencies, &file_contents_internal):
3186         Use it.
3188 2007-11-25  Akim Demaille  <akim@lrde.epita.fr>
3190         * bootstrap: Fix typos on redirections.
3192 2007-11-24  Akim Demaille  <akim@lrde.epita.fr>
3194         Skip comments and empty lines in dirlist in the tests.
3195         * defs.in (extra_includes): Skip comments and empty lines in dirlist.
3197 2007-11-24  Akim Demaille  <akim@lrde.epita.fr>
3199         Ternary operator in lib/am files.
3200         * automake.in (&transform_token): New.
3201         (&transform): Use it.
3202         Support %KEY?TRUE:FALSE%.
3203         (&make_paragraphs): Adjust the regexp to call %transform.
3204         * lib/am/data.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
3205         * lib/am/progs.am, lib/am/python.am, lib/am/scripts.am:
3206         Use %KEY?TRUE:FALSE%.
3207         * lib/am/inst-vars.am (am__strip_dir): Assign the result to f
3208         to be more alike am__vpath_adj.
3209         Adjust dependencies.
3211 2007-11-24  Akim Demaille  <demaille@gostai.com>
3213         * automake.in: Normalize white spaces.
3215 2007-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3217         * configure.ac (ACLOCAL, AUTOMAKE): Fix quoting for rebuilding
3218         rules, if the absolute build directory name contains white space.
3220 2007-11-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3222         * aclocal.in (trace_used_macros): Quote input files.
3224         * lib/ylwrap: Cope with white space in `PROGRAM' and `pwd`.
3226         * lib/am/tags.am (ID, TAGS, CTAGS): Make awk scripts portable again.
3227         (CTAGS): Drop unneeded variable `here'.
3229 2007-11-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3231         * tests/output13.test: New test.
3232         * tests/Makefile.am: Adjust.
3233         Prompted by report from Bruno Haible in
3234         <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00479.html>.
3236         Fix signal handling in aclocal.
3237         * aclocal.in (unlink_tmp): If invoked by a signal, note so
3238         in verbose mode.  Reinstall default signal handler and reraise,
3239         to transport the interrupt information.
3241 2007-11-13  Bob Proulx  <bob@proulx.com>
3243         Fix color test failure on dumb (and other) terminals.
3244         * tests/color.test: Set TERM to `ansi'.
3246 2007-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3248         Avoid spurious test failure with `make check TESTS=check5.test'.
3249         * tests/check5.test: unset TESTS.
3251         Fix maintainer-check failure.
3252         * tests/color.test: unset TESTS, use `make -e' rather than
3253         `make MACRO=val'.
3255 2007-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3257         * configure.ac (AM_INIT_AUTOMAKE): Require version 1.10a.
3259         * automake.in (handle_tests): Remove debugging leftover.
3261         Run each test in a process-private subdirectory.
3262         * tests/defs.in: Employ a trap to clean up at the end of the
3263         test in case the test succeeded.  This needs to be revisited
3264         because we would like to keep the output of XPASSing tests.
3265         Also, note when we were interrupted by a signal.  Code taken
3266         from Autoconf's _AC_INIT_PREPARE.
3267         If $keep_testdirs is set, keep them even for successful tests.
3268         * tests/Makefile.am (check-clean-local): New target.  Remove all
3269         tests subdirs, but also make them writable first.  The latter
3270         was already needed without per-test subdirs.
3271         (distclean-local): Depend upon check-clean-local.
3272         * tests/Makefile.in: Regenerate.
3273         * tests/.cvsignore, tests/.gitignore: Adjust.
3275         Fix default includes ordering to be `-I. -I$(srcdir) ...' again.
3276         * automake.in (handle_compile): Put -I$(srcdir) before include
3277         paths for config headers, as was done before Automake 1.10, but
3278         keep uniquified list without multiple adjacent spaces.
3279         * doc/automake.texi (Program variables): List include paths
3280         in order.
3281         * NEWS: Mention 1.10 regression.
3282         * tests/stdinc.test: New test.
3283         * tests/Makefile.am: Adjust.
3284         * THANKS: Update.
3285         Report by Kent Boortz.
3287 2007-11-08  Akim Demaille  <akim@lrde.epita.fr>
3288             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3289             Bob Proulx  <bob@proulx.com>
3291         Implement colorized test output.
3292         * automake.in (handle_tests): Set COLOR depending on `color-tests'.
3293         * configure.ac (AM_INIT_AUTOMAKE): Use `color-tests'.
3294         * doc/automake.texi (Tests, Options): Document test results,
3295         document new option, document AM_COLOR_TESTS.
3296         * lib/Automake/Options.pm (_process_option_list): Handle it.
3297         * lib/am/check.am (am__tty_colors): New variable.  Enable colored
3298         output if TERM is not dumb and depending on AM_COLOR_TESTS and
3299         whether stdout is connected to a terminal.
3300         (check-TESTS): Use am__tty_colors.
3301         * NEWS: Mention color-tests.
3302         * tests/color.test: New test.
3303         * tests/Makefile.am: Adjust.
3305 2007-11-08  NightStrike  <nightstrike@gmail.com>  (tiny change)
3307         For PR automake/526:
3308         * doc/automake.texi (Basic Installation): Fix typo.
3310 2007-10-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3312         Accommodate for new macro AC_AUTOCONF_VERSION.
3313         * aclocal.in (write_aclocal): Use AC_AUTOCONF_VERSION rather
3314         than m4_PACKAGE_VERSION.  Define the former if not defined.
3315         * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Likewise.
3316         * tests/missing4.test: Use AC_AUTOCONF_VERSION.
3318 2007-10-29  Bruno Haible  <bruno@clisp.org>
3320         * doc/automake.texi (Program variables): Clarify that
3321         Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but
3322         passes it directly to compilation commands.
3324 2007-10-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3326         Move to git as primary source repository.
3327         * Makefile.am (git-dist, git-release): Renamed and adjusted from ...
3328         (cvs-dist, cvs-release): ... these.
3329         (git-diff): New target, taken and adjusted from cvs-diff.
3330         * Makefile.in: Regenerate.
3331         * bootstrap: Adjust.
3332         * NEWS: Announce change.
3333         * doc/automake.texi (General Operation): cvs-dist is git-dist now.
3334         (Timeline): Mention change.
3336 2007-10-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3338         * automake.in: Treat extension .sx also like preprocessed
3339         assembler (.S), following GCC.
3340         * NEWS: Update.
3341         * doc/automake.texi (Assembly Support): Adjust.
3342         * tests/asm3.test: New test.
3343         * tests/Makefile.am: Update.
3345 2007-10-09  Jim Meyering  <meyering@redhat.com>
3347         Add lzma compression support.
3348         * NEWS: Mention it.
3349         * automake.in (handle_dist): Recognize dist-lzma.
3350         (make_paragraphs): Map LZMA to dist-lzma.
3351         * doc/automake.texi (Dist): Add dist-lzma.
3352         (Options): Likewise.
3353         * lib/Automake/Options.pm (_process_option_list):
3354         (dist dist-all): Add command to create an lzma-compressed tarball.
3355         (distcheck): Handle lzma-compressed tarballs just like the others.
3356         * tests/defs.in: Test for lzma, too.
3357         * tests/lzma.test: New file, based on nogzip.test.
3358         * tests/Makefile.am (TESTS): Add lzma.test.
3359         Suggestion from Karl Berry.
3361 2007-09-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3363         * automake.in (TARGET_PATTERN): Allow leading digit.
3364         * tests/exeext3.test: Adjust to expose this.
3365         Report by Claudio Fontana and Laurence Finston.
3367 2007-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3369         * tests/defs.in (required): For gcj, check whether `gcj -v'
3370         works, to avoid broken installations without libgcj.spec.
3371         Export $GCJ.
3372         * tests/gcj4.test: Setting GCJ not needed any more.
3373         * THANKS: Update.
3374         Report by Jesse Chisholm.
3376 2007-08-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3378         * lib/config-ml.in, lib/config.guess, lib/config.sub,
3379         lib/symlink-tree, lib/texinfo.tex: New upstream versions.
3381 2007-08-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3383         * doc/automake.texi (gettext): Fix link to gettext manual.
3385 2007-08-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3387         In ChangeLog files, use more-permissive notice rather than GPL,
3388         as per usual GNU standards these days.
3390 2007-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3392         * automake.in (handle_programs): Also clean .libs/_libs
3393         directory for _PROGRAMS.
3394         * tests/libtoo10.test: New test.
3395         * tests/Makefile.am: Update.
3396         * THANKS: Update.
3397         Report by Guillermo Ontañón.
3399 2007-08-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3401         * configure.ac: Actually require version 2.60 in the test for
3402         Autoconf, and recommend it in the error messages.
3403         * THANKS: Update.
3404         Report by Robert Swafford.
3406 2007-07-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3408         * doc/automake.texi (VPATH Builds): Fix wording.
3409         Report by Reuben Thomas.
3411 2007-07-22  Noah Misch  <noah@cs.caltech.edu>
3413         * tests/subst.test: Move the AC_SUBST into a macro definition.
3414         Avoids an error from CVS Autoconf.
3415         * THANKS: Update.
3416         Report by Benoit Sigoure.
3418 2007-07-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3419             Alexandre Duret-Lutz  <adl@gnu.org>
3421         * lib/am/configure.am (%?REGEN-ACLOCAL-M4%): New target
3422         $(am__aclocal_m4_deps) without any dependencies, to avoid the
3423         "deleted .m4 file" problem.
3424         * tests/acloca22.test: New test.
3425         * tests/Makefile.am: Update.
3426         * NEWS: Update.
3428 2007-07-22  Francesco Salvestrini  <salvestrini@gmail.com>
3429             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3431         * lib/am/ltlib.am (install-%DIR%LTLIBRARIES)
3432         (uninstall-%DIR%LTLIBRARIES): Use $(AM_LIBTOOLFLAGS) and
3433         $(LIBTOOLFLAGS).
3434         * lib/am/progs.am (install-%DIR%PROGRAMS)
3435         (uninstall-%DIR%PROGRAMS): Likewise.
3436         * tests/libtool7.test: Update test for `install' and
3437         `uninstall' cases.
3438         * NEWS, THANKS: Update.
3440 2007-07-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3442         * doc/automake.texi: Remove Front-Cover and Back-Cover Texts,
3443         this manual is not printed by the FSF.
3445 2007-07-16  Alexandre Duret-Lutz  <adl@gnu.org>
3447         * NEWS: Clarify that COPYING files are not updated.
3449 2007-07-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3451         * doc/automake.texi: New Back-Cover Text.
3452         Report by Karl Berry.
3454 2007-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3456         * aclocal.in (version): Fix output to match GCS requirements.
3457         * automake.in (version): Likewise.
3458         Report by Eric Blake.
3460         * COPYING, lib/COPYING: Update to GPLv3.  All uses changed.
3461         * NEWS: Update.
3463 2007-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3465         * lib/gnupload: Fix shell portability issues with for loops.
3466         Report by Karl Berry.
3468 2007-06-23  Paul Eggert  <eggert@cs.ucla.edu>
3469             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3471         * aclocal.in (write_aclocal): Warn about autoconf
3472         incompatibilities instead of making them fatal.
3473         * tests/missing4.test: Adjust.
3474         * NEWS: Update.
3475         Problem reported by Bruno Haible in
3476         <http://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>.
3478 2007-05-03  Stepan Kasal  <kasal@ucw.cz>
3480         * doc/automake.texi, lib/Automake/Rule.pm: Fix typos.
3481         * automake.in: Likewise.
3482         (am_primary_prefixes): Keep the intentional typo there.
3484 2007-04-25  Eric Blake  <ebb9@byu.net>
3486         * doc/stamp-vti: Remove generated file from revision control.
3487         * doc/version.texi: Likewise.
3489 2007-04-23  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
3491         * doc/automake.texi (Python): Fix typo.
3493 2007-03-30  Eric Blake  <ebb9@byu.net>
3494             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3496         * lib/mdate-sh (ls_command): Use -n when available to avoid
3497         problems with spaces in user/group names.
3498         * tests/mdate5.test: New test.
3499         * tests/Makefile.am: Adjust.
3501 2007-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3503         * automake.in (handle_tests): Rewrite XFAIL_TESTS just like
3504         TESTS, appending $(EXEEXT), so that matching continues to work
3505         on w32.
3506         * NEWS: Mention this.
3507         * doc/automake.texi (EXEEXT, Extending): Update.
3508         * tests/check7.test: New test.
3509         * tests/Makefile.am: Adjust.
3510         Bug report by Ed Hartnett.
3512 2007-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3514         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Again search
3515         the whole file, but use sed to reduce the line length.
3516         Fixes 1.10 regression.  Report by David Byron.
3517         * THANKS, NEWS: Update.
3519 2007-03-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3521         * lib/depcomp (aix): Rewrite depmode in the spirit of the tru64
3522         one.  Fixes failure to catch dependencies with libtool and xlc
3523         in case of enable_static=no (which is the default on AIX without
3524         runtimelinking).
3525         * tests/depcomp7.test: Run test once with --disable-shared and
3526         once with --disable-static, to expose failure systematically.
3527         * NEWS: Update.
3529 2007-03-29  Stepan Kasal  <kasal@ucw.cz>
3530             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3532         * automake.in (handle_LIBOBJS_or_ALLOCA): Fix the error message.
3533         * tests/pr401.test: Update to expose the error.
3534         * tests/pr401b.test: Likewise.
3535         * tests/pr401c.test: Likewise.
3537 2007-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3539         * automake.in (scan_autoconf_config_files): Warn about leading
3540         `./' in config file names.
3541         * tests/canon-name.test: New test.
3542         * tests/Makefile.am: Update.
3543         * THANKS: Update.
3544         Suggestion by Claudio Fontana.
3546         * tests/yacc6.test: Add the generated headers to `BUILT_SOURCES'
3547         as documented in the manual.  Fixes parallel make failure.
3548         Report by Dieter Jurzitza.
3549         * THANKS: Update.
3551         * ChangeLog, TODO, tests/exdir3.test: Fix copyright notice.
3553         * TODO: Kill a couple of outdated items.
3554         * tests/exdir3.test: New test.
3555         * tests/Makefile.am: Update.
3557 2007-01-27 Bruno Haible  <bruno@clisp.org>
3559         * doc/automake.texi (Multiple Outputs): Fix the multiple outputs
3560         with locking example.
3562 2007-01-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3564         * doc/automake.texi (Subpackages): Fix ambiguous wording.
3565         Report and suggestions by Reuben Thomas.
3566         * THANKS: Update.
3568 2007-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3570         * tests/defs.in (is_newest): Cope with multiple newer files.
3571         * NEWS: mention `install-sh -C'.
3573 2006-12-25  Paul Eggert  <eggert@cs.ucla.edu>
3575         * lib/install-sh (initialize_posix_glob): New var.
3576         Use it instead of setting posix_glob inline.
3577         (posix_glob): Use '?'/''/: instead of ''/yes/no, for convenience.
3578         (cmpprog, CMPPROG): New vars, since we use cmp rather than the diff
3579         of Akim's patch.
3580         Use LC_ALL before invoking 'ls' when we depend on its output format.
3581         Don't use awk; just use the shell's builtin features.
3582         Clean up $dsttmp if -C detects no installation is needed.
3583         * tests/defs.in (is_newest): Renamed from is_younger; the new
3584         name is more accurate.  All uses changed.
3585         (old_timestamp): New var.
3586         * tests/instsh2.test: Rewrite to avoid the need for sleeping.
3588 2006-12-25  Akim Demaille  <akim@epita.fr>
3590         * lib/install-sh: Implement install-sh -C.
3591         (This patch is the remaining part of the patch proposed in
3592         <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
3593         (usage): Document it.
3594         (copy_on_change): New var.
3595         * tests/defs.in (is_younger): New function.
3596         * tests/instsh2.test: Check install-sh -C.
3598 2006-12-24  Paul Eggert  <eggert@cs.ucla.edu>
3600         * lib/install-sh: Fix typo in previous patch for handling --.
3601         Use more-consistent style for ';;'.
3602         Prefer || to if-then-else-:.
3603         * tests/install2.test: Rework to avoid set -e problems.
3605 2006-12-24  Akim Demaille  <akim@epita.fr>
3607         Simplify install-sh and its test.  This shouldn't change any behavior.
3608         (This patch is a subset of the patch proposed in
3609         <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
3610         * lib/install-sh (usage): Use usual GNU style.
3611         (dstarg): Rename as...
3612         (dst_arg): this for consistency.
3613         Simplify quoting of assignments.
3614         Sort them.
3615         Don't use '\' to continue commands: && suffices.
3616         Remove useless "continue" in the argument processing,
3617         and factor the shifts.
3618         * tests/defs.in: Some improvements to make it set -e clean.
3619         Use the traditional ":" trick to protect loops from being empty.
3620         Remove an empty straightforward piece of code prepared to define
3621         additional variables.
3622         Use test instead of [], for consistency.
3623         * tests/install2.test: Use set -e, to simplify code.
3625 2006-12-20  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
3627         * doc/automake.texi: Fix typo.
3629 2006-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3631         * doc/Makefile.am: Use $(MAKE) $(AM_MAKEFLAGS) for building
3632         amhello, to prevent gmake from invoking make with MAKEFLAGS
3633         it does not understand.
3634         Report by Patrick Welche.
3636         * lib/gnupload: Revert last change.  Add pointer to upload
3637         instructions of the GNU Maintenance Instructions.
3638         Suggestion by Karl Berry.
3640 2006-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3642         * lib/gnupload: Add missing 'gnu' to example URL.
3643         Report by Karl Berry.
3645 2006-10-28  Bobby Jack <bobbykjack@yahoo.co.uk>  (tiny change)
3647         * doc/automake.texi (amhello Explained): autoconf creates
3648         configure, not configure.ac.
3649         * THANKS: Update.
3651 2006-10-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3653         * doc/automake.texi (Dist, Dependency Tracking Evolution):
3654         Fix some typos.
3655         * lib/Automake/Condition.pm: Likewise.
3656         * lib/Automake/DisjConditions.pm: Likewise.
3657         * lib/Automake/ItemDef.pm: Likewise.
3658         * lib/Automake/Options.pm: Likewise.
3659         * lib/Automake/Rule.pm: Likewise.
3660         * lib/Automake/VarDef.pm: Likewise.
3661         * lib/Automake/Variable.pm: Likewise.
3662         * lib/Automake/Wrap.pm: Likewise.
3663         * lib/Automake/XFile.pm: Likewise.
3664         * m4/substnot.m4: Likewise.
3666 2006-10-16  Alexandre Duret-Lutz  <adl@gnu.org>
3668         * lib/gnupload: Update to version 1.1 of directive file.
3670 2006-10-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3672         * lib/am/depend2.am (%SOURCEFLAG%): New substitution, goes
3673         right before the expanded source file name.
3674         * automake.in (%sourceflags): New global: per-extension flag
3675         to denote that the next compiler argument is the source file.
3676         (scan_autoconf_traces): Trace AC_FC_SRCEXT; initialize
3677         %sourceflags accordingly.
3678         (handle_single_transform): Store source file extension in...
3679         (%lang_specific_files): ...this and...
3680         (handle_languages): ...adjust here.  Pass flag in SOURCEFLAG.
3681         * doc/automake.texi (Optional): Add AC_FC_SRCEXT.
3682         (Fortran 9x Support): Update.
3683         * tests/fort2.test: New test.
3684         * tests/Makefile.am: Adjust.
3685         * NEWS, THANKS: Update.
3686         Suggested by Steven G. Johnson.
3688         For PR automake/480.
3689         * automake.in (lang_f77_rewrite, lang_fc_rewrite)
3690         (lang_ppfc_rewrite, lang_ppf77_rewrite, lang_ratfor_rewrite):
3691         return `lang_sub_obj' to support subdir-object mode for the
3692         Fortran dialects.
3693         * tests/fort4.test, tests/fort5.test: New tests.
3694         * tests/Makefile.am: Update.
3695         * NEWS, THANKS: Update.
3696         Report by Davyd Madeley and Shannon L. Brown.
3698         * lib/am/header-vars.am (pkglibexecdir): New variable.
3699         * automake.in (%standard_prefix): Add it.
3700         * doc/automake.texi (Uniform): Document it.
3701         (Program Sources): Adjust.
3702         * NEWS: Update.
3703         * tests/libexec.test: New test.
3704         * tests/Makefile.am: Update.
3705         Suggested by Eric Blake.
3707 2006-10-15  Alexandre Duret-Lutz  <adl@gnu.org>
3709         * lib/gnupload: Update to version 1.1 of directive file.
3711         * configure.ac, NEWS: Bump version to 1.10a.
3713         * configure.ac, NEWS: Bump version to 1.10.
3714         * doc/automake.texi (Releases): Update for 1.10.
3716         * lib/config.sub, lib/texinfo.tex: New upstream versions.
3718         * lib/am/depend2.am: Typo.
3719         * lib/depcomp (scriptversion): Bump, to account for recent changes.
3721         * doc/automake.texi (Examples): Introduce the example, and point
3722         to Hello World.
3723         (Hello): Remove this obsolete node.
3725 2006-10-15  Hans Ulrich Niedermann  <hun@n-dimensional.de>
3726             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3728         For PR automake/507:
3729         * lib/am/distdir.am (distdir): filename-length-max check is not
3730         done in sub-packages.
3731         * doc/automake.texi (Options): Document this.
3732         * tests/fn99subdir.test: New test.
3733         * tests/Makefile.am: Update.
3734         * THANKS: Update.
3736 2006-10-14  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
3738         * doc/automake.texi (Third-Party Makefiles): Fix typo.
3739         * THANKS: Update.
3741 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3743         * aclocal.in (write_aclocal): Improve warning for mismatched
3744         Autoconf version.
3746         * automake.in: For preprocessed assembler, add `$(DEFS)
3747         $(DEFAULT_INCLUDES) $(INCLUDES)' to the compile rule.
3748         * doc/automake.texi (Assembly Support): Update.
3749         * NEWS: Update.
3750         Suggested by Thomas Schwinge and Ralf Corsepius.
3752         For PR automake/492.
3753         * automake.in (output_flag): Set to `-o' for Assembler and
3754         preprocessed Assembler, assuming that all understand `-c -o'.
3755         * THANKS, NEWS: Update.
3756         * tests/subobj10.test: New test.
3757         * tests/Makefile.am: Update.
3758         Report by Thomas Schwinge.
3760         * automake.in (%_macro_for_cond): New variable.
3761         (cond_stack_if): Use it for better error message about
3762         missing dependency tracking conditionals.
3763         * tests/asm2.test: New test, modeled after asm.test.
3764         * tests/Makefile.am: Adjust.
3765         Report by Ralf Corsepius.
3767         * doc/automake.texi (Options): `no-dependencies' is similar
3768         to `--ignore-deps', not `--include-deps'.
3769         * m4/as.m4 (AM_PROG_AS): If `no-dependencies', do not invoke
3770         _AM_DEPENDENCIES.
3771         * tests/nodep2.test: New test.
3772         * tests/Makefile.am: Adjust.
3774         * automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the
3775         LIBOBJDIR, then we should not add a DEPDIR prefix.
3776         * tests/pr401.test: Update test.
3777         * tests/pr401b.test: Likewise.
3778         * tests/pr401c.test: Likewise.
3779         Report by Jim Meyering and Eric Blake.
3781         * lib/depcomp (gcc3): Put dependency extraction flags before the
3782         `-c' flag, so they appear at the same position as in %FASTDEP%
3783         mode in depend2.am.  Fixes build failure for FreeBSD's c89,
3784         which ignores unknown options only after the first non-option.
3785         Bug report against M4 by Nelson H. F. Beebe.
3787 2006-10-14  Bruno Haible  <bruno@clisp.org>
3788             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3790         * automake.in ($seen_gettext_intl): New variable.
3791         (handle_gettext): Consider it.
3792         (scan_autoconf_traces): Add AM_GNU_GETTEXT_INTL_SUBDIR to the list.
3793         Set $seen_gettext_intl when it is seen.
3794         * doc/automake.texi (gettext, Optional): Update.
3795         * tests/gettext3.test: New test.
3796         * tests/Makefile.am: Update.
3798 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
3800         * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
3801         which incorrectly sets the mode of an existing destination
3802         directory.  In some cases the unpatched install-sh could do the
3803         equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
3804         system.  We hope this is rare in practice, but it's clearly worth
3805         fixing.  Problem reported by Alex Unleashed in
3806         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
3807         Also, don't bother to check for -m bugs unless we're using -m;
3808         suggested by Stepan Kasal.
3810 2006-10-14  Geoffrey Keating  <geoffk@apple.com> (tiny change)
3812         * m4/multi.m4: Non-default multilibs may be cross compilation.
3814 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3816         * automake.in: Fix some typos in comments.
3817         * lib/Automake/Variable.pm: Likewise.
3819 2006-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3821         * automake.in (handle_compile): Use subst, for maintainer-check.
3823 2006-10-09  Andreas Köhler  <andi5.py@gmx.net>  (tiny change)
3825         For PR automake/505:
3826         * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES):
3827         Fix typo: `config.status.lineno', not `configure.status.lineno'.
3829 2006-09-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3831         * NEWS: Mention that `install-sh' needs executable permissions.
3832         * tests/nobase.test: Adjust.
3833         Report by Patrick Welche.
3835 2006-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3837         * lib/am/check.am (check-TESTS): Fix matching of XFAIL_TESTS
3838         against currently running test for the first and last element
3839         of $(TESTS): add spacing so Solaris make does VPATH expansion
3840         on these words, too.
3841         * tests/check6.test: Update.
3843 2006-08-30  Paul Eggert  <eggert@cs.ucla.edu>
3845         For PR automake/501:
3846         * lib/am/depend2.am (?GENERIC?%EXT%.o, ?!GENERIC?%OBJ%):
3847         Abbreviate output a bit by not bothering to quote the .Po file
3848         name (the quoting doesn't suffice in general anyway), and by not
3849         bothering to remove junk .Tpo files (as they'll be removed later).
3850         This also lets 'make' run faster by avoiding a subshell.
3852 2006-08-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3854         * automake.in: Fortran 77 and Fortran should require variables
3855         F77 resp. FC to be defined, and suggest the respective Autoconf
3856         macros otherwise.
3857         * tests/fort1.test: New test.
3858         * tests/Makefile.am: Update.
3860         * tests/ext.test: Add extensions f95, F90, F95.
3862 2006-08-30  Alexandre Duret-Lutz  <adl@gnu.org>
3864         For PR automake/500:
3865         * automake.in (handle_compile) <$default_includes>: Do not output
3866         the same -I twice.  Use @am__isrc@ instead of ` -I$(srcdir)'.
3867         * m4/init.m4: Define am__isrc as ` -I$(srcdir)' only in
3868         non-VPATH builds since we always have `-I.'.
3869         * tests/subpkg.test: Make sure config headers are found in VPATH
3870         and non-VPATH builds.
3872 2006-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3874         * doc/automake.texi, lib/Automake/Rule.pm: Fix some typos.
3875         * NEWS: Likewise.  Clarify that only one LIBOBJDIR is supported.
3877 2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
3879         * lib/Automake/ChannelDefs.pm (usage): Mention that -Wportability
3880         is enabled by default with gnu and gnits strictness.
3881         Report from Bruno Haible.
3883 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
3885         * NEWS: Mark de-ANSI-fication as being obsolete.
3886         * doc/automake.texi: Likewise.
3888 2006-08-21  Stepan Kasal  <kasal@ucw.cz>
3890         * Makefile.am, THANKS: Fix typos.
3892 2006-08-20  Alexandre Duret-Lutz  <adl@gnu.org>
3894         * NEWS, configure.ac: Bump version to 1.9c.
3896         * NEWS, configure.ac: Bump version to 1.9b.
3898         * Makefile.am (maintainer-check): Check for mkdir_p in automake.in
3899         too.
3900         * automake.in (require_build_directory): Use MKDIR_P, not mkdir_p.
3902         * m4/mkdirp.m4: Typo in previous patch.
3904         * Makefile.am (maintainer-check): Fine-tune the "Unescaped @"
3905         check so it doesn't complain about the '@ 's in node "Standard
3906         Directory Variables".
3908         * INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New
3909         upstream versions.
3911         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with
3912         $(top_builddir)/ if it is a relative directory.
3914 2006-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
3916         * lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use
3917         ylwrap.  Suggested by Akim Demaille long ago, to ease maintenance.
3918         * automake.in (handle_languages): Do not define MORE-THAN-ONE.
3919         (yacc_lex_finish_helper, lang_yacc_finish, lang_lex_finish): Always
3920         require ylwrap.
3921         * doc/automake.texi (Auxiliary Programs, Yacc and Lex): Update the
3922         documentation of ylwrap.
3923         * tests/lex.test, tests/lex4.test, tests/mmodely.test,
3924         tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
3925         tests/yaccpp.test: Adjust.
3927         * doc/automake.texi (Releases): Update statistics until 1.9.6.
3929         * Makefile.am (maintainer-check): Check for mkdir_p.
3930         * automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P.
3931         * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
3932         lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
3933         lib/am/mans.am, lib/am/progs.am, lib/am/python.am,
3934         lib/am/scripts.am, lib/am/texinfos.am: Use MKDIR_P instead of mkdir_p.
3935         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not
3936         as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use
3937         mkdir_p without defining MKDIR_P.
3938         * tests/distdir.test, tests/instman.test, tests/txinfo21.test:
3939         Adjust.
3941         * Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm.
3942         * configure.ac (ACLOCAL): Use --acdir=m4 in addition to
3943         -I m4.  Running aclocal during the rebuild rules will fail
3944         if the default acdir does not exist.
3946         * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4:
3947         Require Autoconf 2.60 instead of some intermediate development
3948         version.
3950         * doc/automake.texi (Standard Directory Variables): Fix multitable
3951         width.
3952         (Autotools Introduction): Fix @uref usage.
3954 2006-08-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3956         * doc/automake.texi: Fix some typos in the introduction,
3957         adjust some spacing; spell `GNU Build System' consistently.
3958         (menu): Unify node naming.
3959         (Standard Directory Variables): Clarify that this list is not
3960         exhaustive.
3961         (DESTDIR): Fix example.
3963 2006-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
3965         * doc/automake.texi (Autotools Introduction) New chapter.
3966         Thanks to Ben Pfaff and Ralf Wildenhues for comments.
3967         (Auxiliary Programs, Install, Dist, Third-Party Makefiles)
3968         (distcleancheck): More cross references.
3969         * doc/amhello/configure.ac, doc/amhello/README,
3970         doc/amhello/Makefile.am, doc/amhello/src/Makefile.am,
3971         doc/amhello/src/main.c: New files.
3972         * doc/Makefile.am (dist_noinst_DATA): Distribute them.
3973         ($(srcdir)/amhello-1.0.tar.gz): New rule.
3974         (dist_doc_DATA): Install amhello-1.0.tar.gz.
3975         * Makefile.am (SUBDIRS): Update comment.
3977 2006-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3979         * doc/automake.texi: Fix some typos.
3981 2006-08-14  Jonathan Higa <jthiga@gmail.com>
3983         * automake.in: Register "Unified Parallel C" as language.
3984         (lang_upc_rewrite): New function.
3985         (resolve_linker): Consider UPCLINK.
3986         * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest
3987         AM_PROG_UPC for UPC and UPCFLAGS.
3988         * m4/upc.m4: New file.
3989         * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case.
3990         * m4/Makefile.am (dist_m4data_DATA): Add upc.m4.
3991         * doc/automake.texi (Unified Parallel C Support): New node.
3992         (Public macros): Mention AM_PROG_UPC.
3993         (Program and Library Variables, Flag Variables Ordering):
3994         Mention UPCFLAGS.
3995         * tests/upc.test, tests/upc2.test, tests/upc3.test: New file.
3996         * tests/Makefile.am (TESTS): Add them.
3997         * tests/ext.test: Also test upc files.
3999 2006-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
4001         * doc/automake.texi (Scripts): Fix some errors in previous patch.
4003         * doc/automake.texi (Scripts): Revamp.  Show an example of script
4004         built from configure.ac.  Discuss CLEANFILES and EXTRA_DIST for
4005         other built scripts.
4007         * m4/init.m4: Suggest fixing the call to AC_INIT when
4008         AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined.  This is for
4009         newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments.
4010         * tests/init.test: New file.
4011         * tests/Makefile.am (TESTS): Add it.
4013 2006-08-04  Stepan Kasal  <kasal@ucw.cz>
4015         * automake.in (dist_dirs, fill_dist_dirs): Remove.
4016         * lib/am/distdir.am (DISTDIRS): Remove.
4017         * tests/distdir.test, tests/pr2.test: Do not grep, use
4018         `make distdir' instead.
4020 2006-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
4022         * doc/automake.texi (Conditionals): Split in two sections, "Usage"
4023         and "Portability", and add a third one, "Limits" to explain how
4024         conditional definitions inside multi-lines definitions can be
4025         handled.
4026         * automake.in (handle_options): Do not assume that
4027         AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional
4028         definitions of AUTOMAKE_OPTIONS.
4029         Report from Bas Wijnen.
4030         * tests/amopt.test: New test.
4031         * tests/Makefile.am (TESTS): Add it.
4033         * aclocal.in (install_file): Cannot use /dev/null while diffing
4034         new files, because Tru64's diff do not handle /dev/null.  So
4035         create an empty destination file before running diff on a new
4036         file, and erase it afterward.  Fall back to using /dev/null only
4037         if we cannot create this file.
4038         Report and initial patch from Ralf Wildenhues.
4039         (unlink_tmp): New function.
4040         * test/acloca18.test: Make sure the empty file has been erased.
4042 2006-08-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4044         * automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects,
4045         do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR,
4046         to help BSD Make find the files also in a VPATH build.
4047         Also return the same path, possibly prefixed, for correct
4048         depdir computation.
4049         * tests/pr401.test: Update to expose wrong depdir computation.
4050         Rewrite to not use the same file name for library object and
4051         main program.
4052         * tests/pr401b.test, tests/pr401c.test: Likewise.
4054 2006-07-09  Paul Eggert  <eggert@cs.ucla.edu>
4056         * lib/install-sh: Don't incorrectly claim that this implementation
4057         can install only one file at a time.
4058         (doit_exec): New var, for using 'exec' if possible, to save a process.
4059         (test_mode, intermediate_mode): Remove.
4060         (mode): Check for IFS or globbing characters in mode, since they might
4061         cause weird behavior with the other changes below.  All later uses
4062         of '"$mode"' changed to '$mode', since the ""s no longer matter.
4063         Use octal modes if the invoker specifies an octal mode, and use
4064         octal umask values if 'umask' outputs octal values; this is more
4065         likely to work with older operating systems since Automake uses
4066         octal modes, and also works around a bug with HP-UX 11.23
4067         'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in
4068         <http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>.
4069         (cp_umask, mkdir_umask): New variables, to avoid
4070         temporarily creating files or directories with too-permissive modes.
4071         (mkdir_mode): Use the FreeBSD 'install' method for computing modes of
4072         intermediate directories; this is safer.
4073         (posix_mkdir): Also test mkdir -p -m ... by making a directory in
4074         /tmp and checking the resulting mode with 'ls', to catch a bug in
4075         HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message.
4076         Use ':' for true, not 'true'; this is a bit faster on
4077         traditional implementations.
4079 2006-07-09  Jim Meyering  <jim@meyering.net>
4081         * lib/depcomp: "in in" -> "in" in comment.
4083 2006-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4085         * tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr,
4086         for consistency with the recommendation prompted by this report:
4087         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
4089 2006-06-24  Stepan Kasal  <kasal@ucw.cz>
4090             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4092         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to
4093         `'$(MKDIR_P)'', so that it retains the per-directory value
4094         computed by config.status.
4095         * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from
4096         a changed directory.  Bugs reported by Ralf Menzel.
4097         * THANKS: Update.
4099 2006-06-24  Eric Dorland  <eric@debian.org>
4100             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4102         * automake.in (scan_texinfo_file): Fix matching file extension.
4103         * tests/txinfo31.test: New test.
4104         * tests/Makefile.am: Update.
4106 2006-06-07  Alexandre Duret-Lutz  <adl@gnu.org>
4108         * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.
4110 2006-06-07  Stepan Kasal  <kasal@ucw.cz>
4112         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
4114 2006-06-06  Stepan Kasal  <kasal@ucw.cz>
4115             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4117         * lib/am/distdir.am: Do not call $(mkdir_p) for each
4118         distributed file, collect them and create them in one run,
4119         and strip $(srcdir) and $(top_srcdir) all at once.
4120         Fix some comment typos.
4122 2006-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4124         * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
4125         7.4.4m may omit the first included header dependency information
4126         with `-MDupdate'.  Refine test to catch this.
4128         * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
4129         procedure.
4131         * tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3
4132         requires `config.rpath' to be present, and automake now enforces
4133         this.  Test this, but only if the gettext installation works and
4134         is recent enough to provide this diagnosis.
4135         * tests/gettext.test: Provide a dummy `config.rpath' for all
4136         subsequent checks.
4137         * tests/gettext2.test, tests/subcond.test: Likewise.
4139         * tests/pr401.test: Replace "perl -i" with sed and mv, for
4140         MinGW perl.
4141         * tests/pr401b.test, tests/pr401c.test, tests/python11.test,
4142         * tests/yacc6.test, tests/yacc8.test: Likewise.
4144         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
4145         plain `grep' on the Makefile, as its line length may exceed that
4146         for grep.  Bug report against coreutils by Sam Sirlin.
4147         * THANKS: Update.
4149 2006-05-26  Sergey Poznyakoff  <gray@Mirddin.farlep.net>  (tiny change)
4151         * doc/automake.texi (Options): Add anchor `tar-formats'.
4153 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
4155         * lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides
4156         ENOLCK.  Only mention `make -j' when applicable.  Only raise
4157         fatal errors when `make -j' is involved.  Improve error message.
4159 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4161         * lib/Automake/Configure_ac.pm (find_configure_ac): Use
4162         `$configure_in' instead of `configure.in', to preserve
4163         directory component.
4164         * lib/Automake/Configure_ac.pm: Add note that Automake owns
4165         this file.
4166         * lib/Automake/Channels.pm: Likewise.
4167         * lib/Automake/FileUtils.pm: Likewise.
4168         * lib/Automake/Struct.pm: Likewise.
4170 2006-05-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4172         * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
4173         New upstream versions.
4175 2006-05-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4177         * doc/automake.texi (Auxiliary Programs): Fix URL to GCC
4178         repository, they use SVN now.
4180 2006-05-13  Werner Lemberg  <wl@gnu.org>
4182         * lib/gnupload: Add support for savannah.gnu.org and
4183         savannah.nongnu.org.
4185 2006-05-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4187         * lib/Automake/Channels.pm, lib/Automake/Condition.pm,
4188         lib/Automake/DisjConditions.pm, lib/Automake/Options.pm,
4189         lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos.
4191 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
4193         * lib/install-sh: Sync from Autoconf, as follows:
4194         Don't use 'path' to talk about file names,
4195         as per GNU coding standards.  Close a race condition reported by Ralf
4196         Wildenhues and Stepan Kasal.  There is still a race condition
4197         on hosts that predate Posix 1003.1-1992, but we can't help this.
4198         Don't mishandle weird characters like space on pre-Posix hosts.
4199         Invoke mkdir at most once per dir arg on pre-Posix hosts.
4201 2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4203         * tests/missing.test, tests/missing2.test: Do not require
4204         GNUmake.
4205         * Makefile.am (maintainer-check): Make sure `required=' does not
4206         follow `. ./defs' in the tests.
4208         * tests/ansi10.test: Use AC_PROG_CC_STDC.  Fix test that
4209         ac_cv_prog_cc_stdc isn't just used by Automake code in
4210         `configure'.
4211         * tests/ansi6.test, tests/ansi7.test: Likewise.
4212         * tests/ansi9.test: Likewise.  Do not override by setting
4213         $U and $(ANSI2KNR) at `make' time; that will be fragile.
4214         * tests/libobj8.test: Use AC_PROG_CC_STDC.
4215         * tests/subobj3.test: Likewise.  Use `set -e'.
4217         * lib/install-sh: Initialize IFS, so field splitting isn't
4218         turned off later.
4219         * lib/mkinstalldirs: Likewise.
4221         * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
4222         the path of the prerequisite added; IRIX 6.5 make does not add
4223         it, Solaris 2.6 make is inconsistent about adding it.  Fixes
4224         java.test failure.
4226         * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
4227         files in the source tree.  Fixes failures with HP-UX and Tru64
4228         make.
4230         * lib/am/ansi2knr.am (ansi2knr): Rename target as...
4231         (./ansi2knr): ...this, for BSD make.
4232         (%ANSI2KNR-DIR%/ansi2knr): Adjust.
4234 2006-05-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4236         * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
4237         /bin/sh -e issue with failing commands in if clauses.
4239         * tests/defs.in (Be Bourne compatible): Update from current
4240         Autoconf.
4242         * configure.ac: Recommend perl-5.8.2.
4243         * tests/automake.test: Do not fail because of buggy Getopt::Long
4244         in perl < 5.8.2.
4246         * tests/longlin2.test: Do not use `grep' on Makefile.am:
4247         it has long lines and is thus not a text file; AIX 5.1 grep
4248         fails to scan non-plain patterns from long lines.
4250         * tests/overrid.test: Change all regexes for warning messages to
4251         match after a colon, so that the prepended file names do not
4252         cause false matches.  Tighten overrides regex.  Fix typo
4253         `cleam-am-local' -> `clean-am-local'.
4255         * tests/java.test: `configure' uses a trap, so use `(exit 77);
4256         exit 77' to portably set the exit status similar to AS_EXIT.
4257         * tests/fn99.test: propagate nonzero exit status from subshell.
4259         * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
4260         if ``pwd`' contains the string `-p'.  Create the wrapper in a
4261         subdirectory so that `.' in $PATH does not lead to an endless
4262         loop.
4264         * lib/depcomp (ia64hp): Rename dependency style to..
4265         (hp2): ..this, as it works with aCC on HPPA, too; adjust
4266         comment.  Report by Olivier Fourdan (PR automake/481).
4267         * THANKS: Update.
4269         * tests/aclocal7.test: Add `$sleep's between file touching
4270         and automake resp aclocal+automake invocations, to ensure
4271         they complete with a time stamp strictly later than the touched
4272         file.
4274         * lib/missing: Remove superfluous quotes.  Replace all uses of
4275         `[' by `test', for consistency, and for..
4276         * tests/missing5.test: ..this new test.
4277         * tests/Makefile.am: Update.
4279         * lib/missing (sed_minuso, sed_output): New variables.
4280         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
4281         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
4282         Fixes `missing' to detect `--output' for help2man.  Fixes
4283         PR automake/483.  Report by Dennis J. Linse.
4284         (autom4te): Document in `missing --help'.
4285         * THANKS: Update.
4287 2006-04-26  Thien-Thi Nguyen  <ttn@gnu.org>  (tiny change)
4289         * doc/automake.texi (Dependency Tracking Evolution): Fix typo.
4291 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
4293         * lib/install-sh: Simplify the expr implementation of dirname.
4295 2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
4297         * lib/install-sh: Handle --, and diagnose unknown options.
4298         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set
4299         mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with
4300         the other ways that mkdir_p might be set.
4302 2006-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
4304         * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
4305         (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
4306         * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
4307         (write_aclocal): Output a check for Autoconf's version in aclocal.m4.
4308         Doing so ensures that users cannot build configure and Makefiles
4309         with two different autoconf versions.  Report from Noah Misch.
4310         * tests/missing4.test: New file.
4311         * tests/Makefile.am (TESTS): Add it.
4313 2006-04-20  Paul Lunau  <temp@lunau.me.uk>  (tiny change)
4314             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4316         * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
4317         failed, instead of when the last one failed (PR automake/488).
4318         Report from Paul Lunau.
4319         * tests/dejagnu4.test: Update to expose this.
4320         * THANKS: Update.
4322 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4324         * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
4325         TABs as well as spaces.  Fixes PR automake/490.
4326         * tests/check6.test: New test.
4327         * tests/Makefile.am, THANKS: Update.
4328         Report from Diab Jerius <djerius@cfa.harvard.edu>.
4330 2006-04-17  Stepan Kasal  <kasal@ucw.cz>
4332         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
4333         description; eliminate the duplicate error message.
4334         * doc/automake.texi (@direntry): `Invoking Automake' is the name
4335         of the usage node for `automake'
4336         * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the
4337         comment.
4339 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4341         * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
4342         because it uses `datarootdir'.  Bump copyright year and serial.
4344 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
4346         * NEWS: Fix typo.
4348 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
4350         * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
4351         (_gen_varname): Use _hash_values, and return a flag indicating whether
4352         the variable name was generated or reused.
4353         (transform_variable_recursively): Do not redefine variables that
4354         are reused, and try to reuse the variable being transformed.
4355         * tests/check2.test: Make sure TESTS hasn't been redefined.
4356         * tests/check5.test, tests/exeext4.test: Make sure variables have
4357         been reused.
4358         * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.
4360         * automake.in (%ignored_configure_vars): New variable.
4361         (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill
4362         %ignored_configure_vars.
4363         (define_configure_variable): Declare ignored configure variables
4364         as VAR_SILENT.  Do not special-case AMDEPBACKSLASH and ANSI2KNR
4365         w.r.t. VAR_SILENT.
4366         * m4/substign.m4: New file.
4367         * m4/Makefile.am (dist_m4data_DATA): Add substign.m4.
4368         * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477).
4369         * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH.
4370         * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR.
4371         * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined.
4372         * tests/amsubst.test: New file.
4373         * tests/Makefile.am (TESTS): Add it.
4375 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
4376             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4378         * automake.in (handle_single_transform): Preserve directories in
4379         direct suffix rules.
4380         * tests/suffix12.test: New test.
4381         * tests/Makefile.am (TESTS): Add it.
4382         Report from John Ratliff.
4384 2006-03-25  Mike Frysinger  <vapier@gentoo.org>  (tiny change)
4385             Alexandre Duret-Lutz  <adl@gnu.org>
4387         * aclocal.in ($m4_include_rx): Do not recognize `include', and
4388         adjust scan_configure_dep and scan_file accordingly.
4389         (scan_configure_dep): Do not search white lines.
4390         (scan_file): Strip comments from current line after checking
4391         for serial, so that aclocal does not trip on `m4_include' macros
4392         in comments.  Report from Mike Frysinger.
4393         * tests/acloca21.test: New file.
4394         * tests/Makefile.am (TESTS): Add it.
4396 2006-03-24  Stepan Kasal  <kasal@ucw.cz>
4398         * tests/mmodely.test: Fix the test on systems with no lex.
4400 2006-03-23  Stepan Kasal  <kasal@ucw.cz>
4402         * automake.in (libtool_new_api): Fix a typo in the comment.
4403         * lib/Automake/Makefile.am (Config.pm): Likewise.
4404         * lib/am/depend2.am: Likewise.
4405         * tests/xsource.test: With `set -e', `|| exit 1' is no longer
4406         needed.
4408 2006-03-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4410         * tests/depcomp6.test, tests/depcomp7.test: Change back to
4411         using `$MAKE && exit 1', but make sure the last command in the
4412         test is successful.
4414 2006-03-21  Clifford Wolf  <clifford@clifford.at>  (tiny change)
4415             Stepan Kasal  <kasal@ucw.cz>
4416             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4418         * aclocal.in (parse_arguments): Added wildcard support to the
4419         dirlist parser.
4420         * doc/automake.texi (Macro search path): Document it.
4421         * tests/dirlist2.test: New test.
4422         * m4/dirlist, tests/Makefile.am: Adjust.
4424 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4426         * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)'
4427         to `AC_PROG_OBJC' if provided, to fix Objective C depmode
4428         handling.
4429         * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for
4430         OBJC and OBJCFLAGS.
4431         * tests/ext.test: Adjust.
4432         * tests/objc.test, tests/objc2.test: New tests.
4433         * tests/Makefile.am: Adjust.
4434         * doc/automake.texi (Objective C Support): New node.
4435         (Support for Other Languages): Adjust.
4437 2006-03-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4439         * lib/Automake/RuleDef.pm (DESCRIPTION): Typo.
4441         * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic
4442         to work with `set -e'.
4444         * tests/depcomp6.test, tests/depcomp7.test: New tests,
4445         for general `depcomp' functionality, with and without
4446         `subdir-objects', with and without `libtool'.
4447         * tests/Makefile.am: Adjust.
4449         * aclocal.in (write_aclocal): Unlink `aclocal.m4' before
4450         writing into it, to break a symlinked file.
4451         * tests/acloca20.test: New test.
4452         * tests/Makefile.am: Updated.
4454 2006-03-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4456         Allow package trees (packages with subpackages) to share
4457         common distributed auxiliary files (and directories) that
4458         reside within a subpackage.
4460         * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if
4461         `$(distdir)' already exists.
4462         (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent
4463         removal of subpackage trees for distribution.
4464         * tests/subpkg3.test: New test.
4465         * tests/Makefile.am: Update.
4467 2006-03-18  Alexandre Duret-Lutz  <adl@gnu.org>
4469         * tests/check5.test, tests/nobast.test: Fix $MAKE and rm
4470         invocations to please maintainer-check.
4472 2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
4474         * automake.in (lang_c_rewrite): Typo in previous change.
4475         * tests/ccnoco2.test: New file.
4476         * tests/Makefile.am (TESTS): Add ccnoco2.test.
4478         * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
4479         a 'portability' warning, so that people can ignore it.  Suggested
4480         by Ralf Wildenhues.
4482         * lib/Automake/ChannelDefs.pm: Make -Wportability the default in
4483         gnu and gnits modes.
4484         * doc/automake.texi (Invoking Automake): Adjust.
4486 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4488         * doc/automake.texi (Yacc and Lex): Document that `.ypp' and
4489         `.lpp' file extensions are recognized.
4491 2006-02-21  Alexandre Duret-Lutz  <adl@gnu.org>
4493         * doc/automake.texi (Complete, Extending aclocal, Public macros)
4494         (Python, Conditionals, API versioning): Always quote macro arguments.
4495         Report from Stepan Kasal.
4497 2006-02-16  Alexandre Duret-Lutz  <adl@gnu.org>
4499         * doc/automake.texi (Python): More examples.
4501 2006-02-05  Alexandre Duret-Lutz  <adl@gnu.org>
4503         * doc/automake.texi (distcleancheck): Fix bad wording.  Report
4504         from Bob Rossi.
4505         (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS).
4507 2006-01-29  Alexandre Duret-Lutz  <adl@gnu.org>
4509         Append $(EXEEXT) to programs that may be listed in TESTS.
4510         Report from Simon Josefsson.
4512         * automake.in (%known_programs): New global.
4513         (initialize_per_input): Reset it.
4514         (append_exeext): Take a predicate as first argument to select
4515         the filename to rewrite.
4516         (handle_programs): Fill %known_programs.
4517         (handle_tests): Append $(EXEEXT) to all tests that are in
4518         %known_programs.
4519         (am_install_var): Update call to append_exeext.
4520         * doc/automake.texi (EXEEXT): TESTS is also rewritten.
4521         (Tests): More about the difference between check_PROGRAMS and TESTS.
4522         Give an example of TEST_ENVIRONMENT.
4523         * tests/cond32.test: Augment with a nested condition.
4524         * tests/exeext4.test: Also check TESTS.
4525         * tests/check5.test: New file.
4526         * tests/Makefile.am (TESTS): Add check5.test.
4528 2006-01-12  Paul Eggert  <eggert@cs.ucla.edu>
4530         * lib/install-sh (dstdir): Don't use semicolons inside { } in
4531         sed scripts, as Posix says it's not portable.
4532         * lib/missing (file): Likewise.
4533         * lib/am/distdir.am (distcheck): Likewise.
4534         * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
4535         * tests/distcom2.test, tests/distcom3.test: Likewise.
4536         * tests/distcom4.test, tests/distcom5.test: Likewise.
4537         * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
4539 2006-01-12  Alexandre Duret-Lutz  <adl@gnu.org>
4541         * ChangeLog: Move 2004's entries to ...
4542         * ChangeLog.04: ... this new file.
4543         * Makefile.am (EXTRA_DIST): Add ChangeLog.04.
4545         * tests/txinfo13.test: Test fix below.
4547 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4549         * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted
4550         extra files in distribution.  Reported by Vincent Lefevre.
4552 2006-01-06  Alexandre Duret-Lutz  <adl@gnu.org>
4554         * doc/automake.texi (Linking, Program and Library Variables):
4555         Mention the file extensions that usually appear in _DEPENDENCIES,
4556         and point to BUILT_SOURCES and example of _DEPENDENCIES uses.  A
4557         couple of people have been listing sources files in _DEPENDENCIES
4558         lately.
4560         * doc/automake.texi: Bump copyright year.
4561         * automake.in ($gen_copyright, version): Likewise.
4562         * aclocal.in (write_aclocal, version): Likewise.
4564 2006-01-05  Stepan Kasal  <kasal@ucw.cz>
4565             Alexandre Duret-Lutz  <adl@gnu.org>
4567         * automake.in (topsrcdir): New global.
4568         (generate_makefile): Compute it.
4569         (fill_dist_dirs): New function extracted from handle_dist.
4570         (handle_dist, handle_configure): Use fill_dist_dirs.
4571         * tests/distdir.test: Test for cases where $(top_srcdir) or
4572         $(srcdir) appear in EXTRA_DIST.  Report from Sander Niemeijer.
4574 2006-01-05  Zack Weinberg  <zackw@panix.com>
4575             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4577         * lib/depcomp: Add 'ia64hp' dependency style.
4578         Zack's original patch was contributed to GCC on 2005-06-13.
4579         (tru64): Typo.
4581 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
4583         * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
4584         the code is portable to both POSIX and pre-POSIX shells.
4586 2005-10-17  Alexandre Duret-Lutz  <adl@gnu.org>
4588         * tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
4589         suggested by Eric Blake.
4591 2005-10-17  Stepan Kasal  <kasal@ucw.cz>
4593         * doc/automake.texi (Program and Library Variables): Typo.
4594         * lib/Automake/Variable.pm (transform_variable_recursively): Typo
4595         in a comment.
4597 2005-10-03  Stepan Kasal  <kasal@ucw.cz>
4599         * ChangeLog.03, automake.in, tests/overrid.test: Typos.
4601 2005-10-03  Alexandre Duret-Lutz  <adl@gnu.org>
4603         * tests/nobase.test: Exercise previous patch.
4605 2005-10-03  Peter O'Gorman  <peter@pogma.com>  (tiny change)
4607         * lib/am/distdir.am: Remove $(SHELL) when calling install_sh
4608         * m4/strip.m4: Ditto.
4609         * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
4611 2005-09-13  Paul Eggert  <eggert@cs.ucla.edu>
4613         * doc/automake.texi (limitations on file names): New section.
4614         * lib/install-sh: Rewrite to support '*' in file names.
4615         Also, tune so that we don't invoke so many commands in the usual case.
4616         This has the side effect of fixing `install-sh -d' to not fail if it
4617         loses the race in creating the last path component against another
4618         process.
4619         * tests/instspc.test: The "*" test is now fixed.
4621 2005-09-13  Stepan Kasal  <kasal@ucw.cz>
4623         * automake.in (Languages) <cppasm>: Fix typo in the comment.
4625 2005-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4627         * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
4628         shell in verbose mode.
4630 2005-08-07  Alexandre Duret-Lutz  <adl@gnu.org>
4632         * lib/Automake/Variable.pm (variable_value): Do not read the TRUE
4633         value of a conditionally defined variable.
4634         Report from Juergen Leising.
4636         * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
4637         $(MAKE) invocations.
4638         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
4639         Likewise.
4640         * lib/am/texi-vers.am (%STAMPVTI%): Likewise.
4641         * lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
4642         * Makefile.am (maintainer-check): Check for this.
4643         Report from Stepan Kasal.
4645         * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.
4646         Prompted by Stepan Kasal.
4648 2005-08-07  Stepan Kasal  <kasal@ucw.cz>
4650         * lib/am/texinfos.am (uninstall-info-am): Call install-info only if
4651         the $(infodir) exists.
4653 2005-07-31  Stepan Kasal  <kasal@ucw.cz>
4655         * tests/library3.test: Fix a typo which made the test fail.
4657 2005-07-27  Alexandre Duret-Lutz  <adl@gnu.org>
4659         * doc/automake.texi (Linking, Program and Library Variables):
4660         Suggest reserving -l for third-party libraries.
4662         * lib/Automake/Variable.pm (require_variables): Mention aclocal's
4663         search path when suggesting to add a macro in configure.ac.
4664         People are confused when Automake suggests adding a macro (such as
4665         AC_PROG_LIBTOOL) that is already in configure.ac.
4666         * automake.in (require_file_internal): Suggest `automake --add-missing'
4667         for missing files that can be installed.
4668         * tests/library3.test: Adjust.
4670 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
4672         * tests/defs.in: When required matches both `*libtool*' and
4673         `*gettext*', check for both m4 files.
4675         * doc/automake.texi (Auxiliary Programs): Fix a typo.
4676         * tests/suffix11.test: Fix a typo.
4677         * tests/colon3.test: s/EGREP/FGREP/.
4679 2005-07-19  Paul Eggert  <eggert@cs.ucla.edu>
4681         * tests/instspc.test: Major rewrite to test for many other
4682         problematic file names, e.g., '$', '"', '('.  Automake and
4683         Autoconf can't handle many of them, so do not report a failure
4684         if the usual candidates show up.
4686 2005-07-19  Stepan Kasal  <kasal@ucw.cz>
4688         * Makefile.am (automake, aclocal): Merge the rules.
4690 2005-07-10  Alexandre Duret-Lutz  <adl@gnu.org>
4692         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
4693         versions.
4695 2005-07-09  Alexandre Duret-Lutz  <adl@gnu.org>
4697         * lib/install-sh: Use IFS=/ to split directories on /, don't translate
4698         / into % as it prevents directory names using %...
4700 2005-07-09  Stepan Kasal  <kasal@ucw.cz>
4702         * doc/automake.texi (Public macros): Typo.
4703         * aclocal.in: Typo in comment.
4705 2005-07-09  Zack Weinberg  <zack@codesourcery.com>  (tiny change)
4707         * lib/depcomp: Handle "#line" markers as well as "# " markers in
4708         "cpp" style, so it can work with newer HP compilers (for their
4709         ia64 systems).
4711 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
4713         * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
4714         fix an underful hbox.
4715         * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
4716         New upstream versions.
4718 2005-07-01  Alexandre Duret-Lutz  <adl@gnu.org>
4720         * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
4722 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
4724         * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
4725         lib/am/header-vars.am no longer uses it.
4726         * lib/am/libtool.am (distclean-am, distclean-libtool): Define
4727         if TOPDIR_P is true, not TOPDIR.
4728         Suggested by Stepan Kasal.
4730         * automake.in (read_am_file): Correctly diagnose comments following
4731         trailing backslash.
4732         * tests/commen10.test: New file.
4733         * tests/Makefile.am (TESTS): Add commen10.test.
4734         Report from Harald Dunkel.
4736         * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead
4737         of AC_SUBST.
4738         * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL):
4739         Do not define, they are AC_SUBST_TRACEd by Autoconf.
4740         * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c.
4741         * tests/include.test: Call AC_OUTPUT.
4743 2005-06-29  Alexandre Duret-Lutz  <adl@gnu.org>
4745         * lib/mkinstalldirs: Fix support for directory name with spaces if
4746         `mkdir -p' does not work.
4747         * tests/Makefile.am (TESTS): Add mkinst3.test.
4748         * tests/mkinst3.test: New file.
4749         Report from Noah Friedman.
4751         * doc/automake.texi (Include, Extending aclocal): Typos.
4752         Report from Karl Berry.
4754 2005-06-28  Stepan Kasal  <kasal@ucw.cz>
4755             Alexandre Duret-Lutz  <adl@gnu.org>
4757         * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
4758         * tests/txinfo28.test: Set TIME_STYLE.
4759         Report from Vincent Lefevre and James Youngman.
4761 2005-06-24  Alexandre Duret-Lutz  <adl@gnu.org>
4763         * lib/Automake/Variable.pm (define, _new): Remember the helper
4764         variable created for the last conditional += on each variable, and
4765         only append further += in the same condition to this last helper
4766         variable, not to older helper variables.  This way the order of
4767         the items appended to the variable is preserved.
4768         * tests/cond21.test: Adjust.
4769         * tests/cond38.test: New file.
4770         * tests/Makefile.am (TESTS): Add cond38.test.
4771         Report from Ed Hartnett.
4773 2005-06-22  Alexandre Duret-Lutz  <adl@gnu.org>
4775         * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
4777         * automake.in (handle_footer): Do not output an unformatted
4778         definition of SOURCES, it is already done correctly in
4779         generate_makefile.  This superfluous definition introduced long
4780         lines in some Makefiles, hence breakages in tools with a limited
4781         line length.  Report from Mathias Froehlich.
4783 2005-06-11  Alexandre Duret-Lutz  <adl@gnu.org>
4785         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
4786         Fix redirections in previous patch.
4788 2005-06-08  Alexandre Duret-Lutz  <adl@gnu.org>
4790         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
4791         Do not backup any file if makeinfo is not installed.
4792         * lib/missing (makeinfo): Do not touch a missing info file.
4793         * tests/txinfo30.test: New file.
4794         * tests/Makefile.am (TESTS): Add txinfo30.test.
4795         Report from Bob Proulx.
4797         * doc/automake.texi (Extending aclocal): Typo.
4799 2005-05-24  Brian Gough  <bjg@network-theory.co.uk>  (tiny change)
4801         * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
4803 2005-05-15  Alexandre Duret-Lutz  <adl@gnu.org>
4805         Fix PR automake/461:
4806         * automake.in (require_build_directory): Canonicalize directories
4807         with different names, such as `foo/bar' and `./foo//bar'.
4808         * tests/subobj9.test: Augment to test that.
4809         Report from Tom Tromey.
4811 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
4813         * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
4814         ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am,
4815         NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure,
4816         configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING,
4817         lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in,
4818         lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp,
4819         lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile,
4820         lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
4821         lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
4822         lib/Automake/Condition.pm, lib/Automake/Config.in,
4823         lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
4824         lib/Automake/FileUtils.pm, lib/Automake/General.pm,
4825         lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
4826         lib/Automake/Location.pm, lib/Automake/Makefile.am,
4827         lib/Automake/Options.pm, lib/Automake/Rule.pm,
4828         lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
4829         lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
4830         lib/Automake/Version.pm, lib/Automake/Wrap.pm,
4831         lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
4832         lib/Automake/tests/DisjConditions.pl,
4833         lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
4834         lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
4835         lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
4836         lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
4837         lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
4838         lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
4839         lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
4840         lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
4841         lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
4842         lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
4843         lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
4844         lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
4845         lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
4846         lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
4847         lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
4848         m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
4849         tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
4850         tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
4851         tests/acloca17.test, tests/acloca18.test, tests/acloca19.test,
4852         tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test,
4853         tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test,
4854         tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test,
4855         tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test,
4856         tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test,
4857         tests/acsubst.test, tests/acsubst2.test, tests/all.test,
4858         tests/alloca.test, tests/alloca2.test, tests/alpha.test,
4859         tests/alpha2.test, tests/amassign.test, tests/ammissing.test,
4860         tests/ansi.test, tests/ansi10.test, tests/ansi2.test,
4861         tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test,
4862         tests/ansi5.test, tests/ansi6.test, tests/ansi7.test,
4863         tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test,
4864         tests/asm.test, tests/autohdr.test, tests/autohdr2.test,
4865         tests/autohdr3.test, tests/autohdr4.test, tests/automake.test,
4866         tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test,
4867         tests/auxdir4.test, tests/backsl.test, tests/backsl2.test,
4868         tests/backsl3.test, tests/backsl4.test, tests/badline.test,
4869         tests/badopt.test, tests/badprog.test, tests/block.test,
4870         tests/bsource.test, tests/canon.test, tests/canon2.test,
4871         tests/canon3.test, tests/canon4.test, tests/canon5.test,
4872         tests/ccnoco.test, tests/check.test, tests/check2.test,
4873         tests/check3.test, tests/check4.test, tests/checkall.test,
4874         tests/clean.test, tests/clean2.test, tests/colneq.test,
4875         tests/colneq2.test, tests/colon.test, tests/colon2.test,
4876         tests/colon3.test, tests/colon4.test, tests/colon5.test,
4877         tests/colon6.test, tests/colon7.test, tests/comment.test,
4878         tests/comment2.test, tests/comment3.test, tests/comment4.test,
4879         tests/comment5.test, tests/comment6.test, tests/comment7.test,
4880         tests/comment8.test, tests/comment9.test, tests/compile.test,
4881         tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test,
4882         tests/cond.test, tests/cond10.test, tests/cond11.test,
4883         tests/cond13.test, tests/cond14.test, tests/cond15.test,
4884         tests/cond16.test, tests/cond17.test, tests/cond18.test,
4885         tests/cond19.test, tests/cond2.test, tests/cond20.test,
4886         tests/cond21.test, tests/cond22.test, tests/cond23.test,
4887         tests/cond24.test, tests/cond25.test, tests/cond26.test,
4888         tests/cond27.test, tests/cond28.test, tests/cond29.test,
4889         tests/cond3.test, tests/cond30.test, tests/cond31.test,
4890         tests/cond32.test, tests/cond33.test, tests/cond34.test,
4891         tests/cond35.test, tests/cond36.test, tests/cond37.test,
4892         tests/cond4.test, tests/cond5.test, tests/cond6.test,
4893         tests/cond7.test, tests/cond8.test, tests/cond9.test,
4894         tests/condd.test, tests/condhook.test, tests/condinc.test,
4895         tests/condinc2.test, tests/condlib.test, tests/condman.test,
4896         tests/condman2.test, tests/conf2.test, tests/confdeps.test,
4897         tests/conff.test, tests/conff2.test, tests/confh.test,
4898         tests/confh4.test, tests/confh5.test, tests/config.test,
4899         tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
4900         tests/conflnk3.test, tests/confsub.test, tests/confvar.test,
4901         tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
4902         tests/cxx.test, tests/cxx2.test, tests/cxxansi.test,
4903         tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test,
4904         tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test,
4905         tests/dash.test, tests/defs.in, tests/defun.test,
4906         tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
4907         tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
4908         tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
4909         tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test,
4910         tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test,
4911         tests/depend.test, tests/depend2.test, tests/depend3.test,
4912         tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
4913         tests/dirlist.test, tests/discover.test, tests/distcom2.test,
4914         tests/distcom3.test, tests/distcom4.test, tests/distcom5.test,
4915         tests/distcom6.test, tests/distcom7.test, tests/distdir.test,
4916         tests/distname.test, tests/dollar.test, tests/double.test,
4917         tests/dup2.test, tests/else.test, tests/empty.test,
4918         tests/empty2.test, tests/empty3.test, tests/empty4.test,
4919         tests/exdir.test, tests/exdir2.test, tests/exeext.test,
4920         tests/exeext2.test, tests/exeext3.test, tests/exeext4.test,
4921         tests/exsource.test, tests/ext.test, tests/ext2.test,
4922         tests/extra.test, tests/extra2.test, tests/extra3.test,
4923         tests/extra4.test, tests/extra5.test, tests/extra6.test,
4924         tests/extra7.test, tests/f90only.test, tests/flibs.test,
4925         tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test,
4926         tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
4927         tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
4928         tests/gcj5.test, tests/getopt.test, tests/gettext.test,
4929         tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
4930         tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
4931         tests/gnuwarn2.test, tests/header.test, tests/help.test,
4932         tests/hfs.test, tests/hosts.test, tests/implicit.test,
4933         tests/include.test, tests/include2.test, tests/info.test,
4934         tests/insh2.test, tests/install2.test, tests/installdir.test,
4935         tests/instdat.test, tests/instdat2.test, tests/instexec.test,
4936         tests/insthook.test, tests/instman.test, tests/instman2.test,
4937         tests/instsh.test, tests/instsh2.test, tests/instspc.test,
4938         tests/interp.test, tests/interp2.test, tests/java.test,
4939         tests/java2.test, tests/java3.test, tests/javaprim.test,
4940         tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
4941         tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
4942         tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
4943         tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
4944         tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
4945         tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
4946         tests/library.test, tests/library2.test, tests/library3.test,
4947         tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
4948         tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
4949         tests/libtool7.test, tests/libtool8.test, tests/libtool9.test,
4950         tests/license.test, tests/link_c_cxx.test, tests/link_dist.test,
4951         tests/link_f90_only.test, tests/link_f_only.test,
4952         tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
4953         tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
4954         tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
4955         tests/lisp8.test, tests/listval.test, tests/location.test,
4956         tests/longlin2.test, tests/longline.test, tests/ltcond.test,
4957         tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
4958         tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
4959         tests/make.test, tests/makej.test, tests/makevars.test,
4960         tests/man.test, tests/man2.test, tests/mclean.test,
4961         tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
4962         tests/mdate4.test, tests/missing.test, tests/missing2.test,
4963         tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
4964         tests/mmodely.test, tests/multlib.test, tests/nobase.test,
4965         tests/nodef.test, tests/nodef2.test, tests/nodep.test,
4966         tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
4967         tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
4968         tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
4969         tests/nostdinc.test, tests/number.test, tests/obsolete.test,
4970         tests/order.test, tests/outdir.test, tests/output.test,
4971         tests/output10.test, tests/output11.test, tests/output12.test,
4972         tests/output2.test, tests/output3.test, tests/output4.test,
4973         tests/output5.test, tests/output6.test, tests/output7.test,
4974         tests/output8.test, tests/output9.test, tests/overrid.test,
4975         tests/parse.test, tests/percent.test, tests/percent2.test,
4976         tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
4977         tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
4978         tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
4979         tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
4980         tests/ppf77.test, tests/pr2.test, tests/pr204.test,
4981         tests/pr211.test, tests/pr220.test, tests/pr224.test,
4982         tests/pr229.test, tests/pr243.test, tests/pr266.test,
4983         tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
4984         tests/pr300-lib.test, tests/pr300-ltlib.test,
4985         tests/pr300-prog.test, tests/pr307.test, tests/pr401.test,
4986         tests/pr401b.test, tests/pr401c.test, tests/pr72.test,
4987         tests/pr87.test, tests/pr9.test, tests/prefix.test,
4988         tests/primary.test, tests/primary2.test, tests/primary3.test,
4989         tests/proginst.test, tests/python.test, tests/python10.test,
4990         tests/python11.test, tests/python12.test, tests/python2.test,
4991         tests/python3.test, tests/python4.test, tests/python5.test,
4992         tests/python6.test, tests/python7.test, tests/python8.test,
4993         tests/python9.test, tests/recurs.test, tests/recurs2.test,
4994         tests/regex.test, tests/remake.test, tests/remake2.test,
4995         tests/remake3.test, tests/remake4.test, tests/remake5.test,
4996         tests/req.test, tests/reqd.test, tests/reqd2.test,
4997         tests/rulepat.test, tests/scripts.test, tests/seenc.test,
4998         tests/sinclude.test, tests/space.test, tests/specflg.test,
4999         tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
5000         tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
5001         tests/spell.test, tests/spell2.test, tests/spell3.test,
5002         tests/spelling.test, tests/spy.test, tests/srcsub.test,
5003         tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
5004         tests/stdlib2.test, tests/strip.test, tests/subcond.test,
5005         tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
5006         tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
5007         tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
5008         tests/subdir8.test, tests/subdir9.test,
5009         tests/subdirbuiltsources.test, tests/subobj.test,
5010         tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
5011         tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
5012         tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
5013         tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
5014         tests/subst2.test, tests/substre2.test, tests/substref.test,
5015         tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
5016         tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
5017         tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
5018         tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
5019         tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
5020         tests/syntax.test, tests/tags.test, tests/tagsub.test,
5021         tests/tar.test, tests/tar2.test, tests/tar3.test,
5022         tests/target-cflags.test, tests/targetclash.test,
5023         tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
5024         tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
5025         tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
5026         tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
5027         tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
5028         tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
5029         tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
5030         tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
5031         tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
5032         tests/vars.test, tests/vars3.test, tests/vartar.test,
5033         tests/version.test, tests/version2.test, tests/version3.test,
5034         tests/version4.test, tests/version6.test, tests/version7.test,
5035         tests/version8.test, tests/vpath.test, tests/vtexi.test,
5036         tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
5037         tests/werror2.test, tests/whoami.test, tests/xsource.test,
5038         tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
5039         tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
5040         tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
5041         tests/yaccvpath.test: Update FSF postal mail address.
5043         * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
5044         Autoconf currently defines a CCC variable.
5046         * tests/output11.test, tests/output12.test: Use rm -f.
5048 2005-04-25  Gary V. Vaughan  <gary@gnu.org>
5049             Alexandre Duret-Lutz  <adl@gnu.org>
5051         Support for remote LIBOBJS (and friends) with subdir-objects.
5052         Fixes PR automake/401.
5054         * automake.in (config_libobj_dir): New variable.
5055         (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
5056         (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
5057         (handle_LIBOBJS, handle_ALLOCA): Use them.  Adjust location of
5058         dependency files, possibly in a subdirectory.
5059         * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
5060         * tests/Makefile.am (TESTS): Add them.
5061         * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
5062         (LIBOBJS): Document changes in behaviour of
5063         LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
5064         subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
5066 2005-04-18  Jim Meyering  <jim@meyering.net>
5068         * doc/automake.texi (Dist): Correct English.
5070 2005-03-31  Stepan Kasal  <kasal@ucw.cz>
5072         * doc/automake.texi: When the phrase "for instance" introduces a
5073         sentence, it should be delimited by a comma.
5075         * doc/automake.texi: Fix a few typos.
5077 2005-03-30  Alexandre Duret-Lutz  <adl@gnu.org>
5079         * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
5080         example, since the GCS now define htmldir.
5081         (Auxiliary Programs): Mention config-ml.in and symlink-tree.
5082         Give a URL for texinfo.tex.
5083         (Public macros): Sort alphabetically, and move obsolete macros...
5084         (Obsolete macros): ... here.
5085         Prompted by Karl Berry.
5087 2005-03-29  Alexandre Duret-Lutz  <adl@gnu.org>
5089         * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
5090         Jim Meyering.
5092         * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
5093         rule is run with `make -j'.
5094         * doc/automake.texi (Multiple Outputs): Adjust.
5095         * tests/lisp6.test: Augment it.
5096         * tests/lisp8.test: New file.
5097         * tests/Makefile.am (TESTS): Add lisp8.test.
5098         Suggested by Bruno Haible.
5100 2005-03-27  Alexandre Duret-Lutz  <adl@gnu.org>
5102         * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
5104 2005-03-16  Alexandre Duret-Lutz  <adl@gnu.org>
5106         * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
5107         a missing *.elc file if it cannot be created because emacs does
5108         not exist.
5109         * tests/lisp7.test: New file.
5110         * tests/Makefile.am (TESTS): Add lisp7.test.
5111         Report from Greg Schafer.
5113 2005-03-05  Alexandre Duret-Lutz  <adl@gnu.org>
5115         * doc/automake.texi: Replace wicked whiches by thats.
5117 2005-03-04  Alexandre Duret-Lutz  <adl@gnu.org>
5119         * aclocal.in (scan_configure_dep, scan_file): Include file names
5120         are relative to the directory of configure.ac, not to the
5121         directory of the file doing the include.  Remove code for this
5122         latter case.
5123         * tests/acloca13.test: Run distcheck and make sure all macros are
5124         actually distributed.
5126 2005-03-03  Alexandre Duret-Lutz  <adl@gnu.org>
5128         For PR automake/450:
5129         * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
5130         files.
5131         * automake.in (scan_autoconf_traces): Likewise.
5132         * tests/sinclude.test: Augment.
5133         Report from Peter Breitenlohner.
5135         For PR automake/450:
5136         * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
5137         acinclude.m4 and configure.ac to the include map in these two
5138         places ...
5139         (strip_redundant_includes): ... do it here.  This completes the
5140         previous change from 2005-03-01, that did not update
5141         write_aclocal.
5142         * tests/acloca19.test: Augment.
5143         Report from Peter Breitenlohner.
5145 2005-03-02  Alexandre Duret-Lutz  <adl@gnu.org>
5147         * tests/comment9.test: Typo.
5149 2005-03-01  Alexandre Duret-Lutz  <adl@gnu.org>
5151         * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
5152         * tests/comment9.test: New file.
5153         * tests/Makefile.am (TESTS): Add comment9.test.
5154         Report from Julien Sopena.
5156         For PR automake/450:
5157         * aclocal.in (trace_used_macros): Do not explicitly trace files
5158         included by configure.ac.
5159         * tests/acloca19.test: New file.
5160         * tests/Makefile.am (TESTS): Add acloca19.test.
5161         Report from Peter Breitenlohner.
5163 2005-02-27  Alexandre Duret-Lutz  <adl@gnu.org>
5165         Fix for PR automake/448:
5166         * automake.in (handle_factored_dependencies): Flag install-hook as
5167         an error.
5168         * tests/insthook.test: Exercise this.
5170         * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
5171         * doc/automake.texi (Hard-Coded Install Paths): Adjust.
5173         * doc/automake.texi: Replace many uses of @samp by @code, and
5174         vice versa.  Use @command, @option, and @env where appropriate.
5176 2005-02-26  Alexandre Duret-Lutz  <adl@gnu.org>
5178         * doc/automake.texi: "filename" -> "file name", for consistency
5179         with GNU Coding Standards.  See also Paul's change on 2004-08-20
5180         in Autoconf.
5182         * doc/automake.texi (A Library, Libtool Libraries): Show how to link
5183         a program with a static or libtool library.
5184         (Program and Library Variables): Make clearer that _LDADD and
5185         _LIBADD may also list libraries.
5186         Prompted by a mail from Bruce Korb.
5188         * doc/automake.texi (Alternative): Show how to rewrite nobase_
5189         variables using custom directory variables, and link to node
5190         Uniform.  Suggested by Leonardo Boiko.
5192         * doc/automake.texi (Flag Variables Ordering, User Variables):
5193         Make clearer who the maintainer is, and that he can AC_SUBST AM_
5194         variables in configure.ac.  Suggested by Norman Gray.
5195         (Uniform, Public macros, Libtool Issues, Java Support,
5196         Conditionals): Use `---' for em dash, and stick them to the
5197         enclosing text.
5199         * doc/automake.texi: Reword a few sentences to fix all underflow
5200         and overflow warnings during `make dvi'.
5201         (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
5202         (Public macros) <AM_WITH_DMALLOC>: Likewise.
5204 2005-02-12  Alexandre Duret-Lutz  <adl@gnu.org>
5206         * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
5207         lib/texinfo.tex: New upstream versions.
5209         * doc/automake.texi (Hard-Coded Install Paths): New node.
5210         (Extending, Extending aclocal, Python): Link to it.
5211         (Extending): Don't show how to install a file in /etc/ directly,
5212         this is insane.
5214         * automake.in (read_am_file): Define variables containing long
5215         lines as VAR_PRETTY to work around tools with limited input width.
5216         * tests/longlin2.test: New file.
5217         * tests/Makefile.am (TESTS): Add it.
5218         Report from Albert Chin.
5220 2005-02-09  Alexandre Duret-Lutz  <adl@gnu.org>
5222         Fix for PR automake/447:
5223         * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
5224         Report from Mathias Doreille.  Add some old comments from
5225         Nicolas Joly for reference.
5227 2005-02-08  Stepan Kasal  <kasal@ucw.cz>
5229         * lib/mdate-sh: Check the size of the word following the month to
5230         catch Darwin.  This way the filename can contain spaces.
5232         * doc/automake.texi (Requirements, Options): Typos.
5234 2005-02-08  Alexandre Duret-Lutz  <adl@gnu.org>
5236         * lib/missing (makeinfo): Compute the output file if neither -o
5237         nor @setfilename is used.
5238         Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
5240 2005-02-07  Alexandre Duret-Lutz  <adl@gnu.org>
5242         * doc/automake.texi (Requirements): Show one example of
5243         AC_CONFIG_FILES with multiple outputs, and correct a few typos.
5245         * aclocal.in ($serial_line_rx): Expect at least one space between
5246         `serial' and the following number.
5247         Report from Jim Meyering.
5249         * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
5250         Report from Peter O'Gorman.
5252 2005-02-06  Alexandre Duret-Lutz  <adl@gnu.org>
5254         * aclocal.in (usage, parse_arguments): New --dry-run and --diff
5255         options.
5256         (install_file, write_aclocal): Honor --dry-run and --diff.
5257         * doc/automake.texi (aclocal options): Document --dry-run and --diff.
5258         (Serials): Mention --diff.
5259         * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
5260         $expected_exit_code argument.
5261         (xsystem): Take a list of arguments, not a string.
5262         * tests/acloca18.test: Use --dry-run and --diff.
5263         Suggested by Paul Eggert.
5265         * doc/automake.texi (aclocal options, Macro search path,
5266         Extending aclocal, Local Macros, Serials, Future of aclocal): Make
5267         these subsection of ...
5268         (Invoking aclocal): ... this.
5270         * aclocal.in ($serial_line_rx): Allow trailing garbage after the
5271         serial number.
5272         (scan_file): Explicitly mark the "ill-formed serial" message
5273         as a warning.
5274         * doc/automake.texi (aclocal options, Local Macros): Link to...
5275         (Serials): ... this new section.
5277 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
5279         * lib/compile: Likewise.
5281 2005-02-02  Alexandre Duret-Lutz  <adl@gnu.org>
5283         * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
5284         see 2004-12-17.
5285         * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
5286         status if a write failure occurs with --help or --version option,
5287         as below.
5289 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
5291         * lib/depcomp: Exit with nonzero status if a write failure occurs
5292         with --help or --version option.
5293         * lib/elisp-comp: Likewise.
5294         * lib/gnupload: Likewise.
5295         * lib/install-sh: Likewise.
5296         * lib/missing: Likewise.
5297         * lib/mkinstalldirs: Likewise.
5299 2005-02-01  Alexandre Duret-Lutz  <adl@gnu.org>
5301         * doc/automake.texi (aclocal options): Typo.
5303         * aclocal.in (list_compare): New functions.
5304         (scan_file): Honor #serial lines.
5305         * tests/acloca18.test: New test.
5306         * tests/Makefile.am (TESTS): Add it.
5307         * doc/automake.texi (aclocal options, Local Macros): Document
5308         #serial.
5310 2005-01-30  Alexandre Duret-Lutz  <adl@gnu.org>
5312         Preliminary support for `aclocal --install'.
5313         This still lacks #serial support.
5314         * aclocal.in (reset_maps, install_file): New functions.
5315         (write_aclocal): Copy files if --install.
5316         (usage, parse_arguments): Recognize --install.
5317         ("MAIN"): Start aclocal again if some file were installed.
5318         * tests/acloca10.test: Augment to test --install.
5319         * tests/aclocal.in, tests/defs.in: Add support for
5320         ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
5321         * doc/automake.texi (aclocal options, Local Macros): Document
5322         --install.
5323         (Future of aclocal): Adjust.
5325         * doc/automake.texi (Macro search path): Using --acdir is not
5326         obvious, it's erroneous.
5328         * doc/automake.texi (direntry): Let `info Automake' point to the
5329         manual, and `info automake' to the `Invoking automake' node.  Like
5330         in Autoconf.
5332 2005-01-27  Akim Demaille  <akim@epita.fr>
5334         * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
5335         From Paul Eggert.
5337 2005-01-24  Akim Demaille  <akim@epita.fr>
5339         * lib/Automake/FileUtils.pm: Rename filename as file_name to be
5340         consistent with the terminology of the GNU coding standards.
5341         From Paul Eggert.
5342         (update_file): Accept a $force argument, so that --force always
5343         updates the time stamps.
5345 2005-01-23  Alexandre Duret-Lutz  <adl@gnu.org>
5347         * doc/automake.texi (How the Linker is Chosen): Explain how the
5348         linker is chosen without diagram, and update to match the code.
5349         Suggestion from Adrian Bunk.
5351 2005-01-16  Alexandre Duret-Lutz  <adl@gnu.org>
5353         * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
5354         Process all words of $MAKEFLAGS when checking for -k.
5355         * tests/check4.test: New file.
5356         * tests/Makefile.am (TESTS): Add check4.test.
5357         Report from Eric Blake.
5359 2005-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
5361         * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
5362         AM_INIT_AUTOMAKE if the version passed is incorrect.
5363         * tests/version8.test: New file.
5364         * tests/Makefile.am (TESTS): Add version8.test.
5366 2005-01-09  Alexandre Duret-Lutz  <adl@gnu.org>
5368         * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
5369         m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
5370         m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
5371         m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
5372         m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
5373         m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
5374         m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
5375         m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
5376         license that is used in aclocal.m4.  Relicensing backed by RMS.
5378         * doc/automake.texi (A Library, LIBOBJS): Mention that empty
5379         libraries are not portable.
5381 2005-01-05  Akim Demaille  <akim@epita.fr>
5383         * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
5384         * tests/aclocal5.test (MORE_DEFS): Rename as...
5385         (AM_TEST): this so that undefined macros are caught.
5386         And make it an alias of AC_SUBST.
5387         Test AU_ALIAS.
5388         Reported by Martin Bravenboer.
5390 2005-01-03  Alexandre Duret-Lutz  <adl@gnu.org>
5392         Fix handling of per-target flags in link rules.
5393         * automake.in (define_per_target_linker_variable): New function.
5394         (handle_programs, handle_ltlibraries): Use it.
5395         (%link_languages): New map.
5396         (register_language): Fill it.
5397         * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
5398         $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
5399         define_per_target_linker_variable if needed.
5400         * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
5401         $(%XPROGRAM%_LDFLAGS).
5402         * doc/automake.texi (Program and Library Variables): Mention
5403         AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
5404         and maude_LIBTOOLFLAGS.
5405         * tests/libtool9.test: New file.
5406         * tests/Makefile.am (TESTS): Add it.
5407         * NEWS: Explain the backward incompatibility.
5408         Report from Akim Demaille.
5410 2005-01-01  Alexandre Duret-Lutz  <adl@gnu.org>
5412         * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
5413         specifications with shell variables.
5414         (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
5415         AC_CONFIG_FILES for this explanation.
5416         * automake.in (substitute_ac_subst_variables_worker,
5417         substitute_ac_subst_variables): Mew functions.
5418         (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
5419         to ignore dependencies that contain unAC_SUBSTed shell variables.
5420         (handle_configure): Likewise, do not output rules for
5421         AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
5422         unAC_SUBSTed contain shell variables.
5423         * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
5424         * tests/output11.test, tests/output12.test: New files.
5425         * tests/Makefile.am (TESTS): Add output11.test and output12.test.
5427         * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
5428         * automake.in ($gen_copyright, version): Likewise.
5430 -----
5432 Copyright (C) 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
5434 Copying and distribution of this file, with or without modification, are
5435 permitted provided the copyright notice and this notice are preserved.
5437 ;; Variables:
5438 ;; coding: utf-8
5439 ;; End: