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