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