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