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