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