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