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