Quote file names in tests that can be absolute.
[automake/plouj.git] / ChangeLog
blobfb86952a9b028d0c6b5b53ce9266f62b0816365b
1 2007-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3         Quote file names in tests that can be absolute.
4         * tests/auxdir.test, tests/check3.test, tests/check4.test,
5         tests/compile.test, tests/cond33.test, tests/condhook.test,
6         tests/distdir.test, tests/dollar.test, tests/empty.test,
7         tests/gnits2.test, tests/gnits3.test, tests/include2.test,
8         tests/insthook.test, tests/java.test, tests/libtool7.test,
9         tests/lisp4.test, tests/lisp5.test, tests/lisp6.test,
10         tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test,
11         tests/multlib.test, tests/nobase.test, tests/nodist2.test,
12         tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test,
13         tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test,
14         tests/python3.test, tests/strip.test, tests/transform.test,
15         tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test,
16         tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test:
17         Likewise.
19         Quote @abs_top_builddir@ and @abs_top_srcdir@.
20         * tests/aclocal.in: Likewise.
21         * tests/automake.in: Likewise.
23         Fix TAGS and GTAGS rules to cope with whitespace in `pwd`.
24         * lib/am/tags.am (TAGS): Use positional parameters to avoid
25         the need to quote absolute file names.
26         (GTAGS): Quote absolute file name.
27         (CTAGS): Simplify, dropping unused variable `$tags'.
29 2007-11-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
31         * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Fix another instance
32         of am__strip_dir.  Fixes nobase and pr300-ltlib test failures.
34 2007-11-25  Akim Demaille  <akim@lrde.epita.fr>
36         Several *-local in a rule do not work.
37         * tests/all.test: Check this case.
38         Use set -e.
39         * tests/Makefile.am (XFAIL_TESTS): Add it.
41 2007-11-25  Akim Demaille  <akim@lrde.epita.fr>
43         Fix uses of am__strip_dir.
44         * lib/am/libs.am, lib/am/ltlib.am: Catch up with the change of
45         definition of am__strip_dir.
47 2007-11-25  Akim Demaille  <akim@lrde.epita.fr>
49         Define and use register_action.
50         * lib/Automake/Rule.pm: Fix a few typos in the doc.
51         (&rule): Use || to simplify the code.
52         (&register_action): New.
53         Export it.
54         * automake.in (&handle_factored_dependencies, &file_contents_internal):
55         Use it.
57 2007-11-25  Akim Demaille  <akim@lrde.epita.fr>
59         * bootstrap: Fix typos on redirections.
61 2007-11-24  Akim Demaille  <akim@lrde.epita.fr>
63         Skip comments and empty lines in dirlist in the tests.
64         * defs.in (extra_includes): Skip comments and empty lines in dirlist.
66 2007-11-24  Akim Demaille  <akim@lrde.epita.fr>
68         Ternary operator in lib/am files.
69         * automake.in (&transform_token): New.
70         (&transform): Use it.
71         Support %KEY?TRUE:FALSE%.
72         (&make_paragraphs): Adjust the regexp to call %transform.
73         * lib/am/data.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
74         * lib/am/progs.am, lib/am/python.am, lib/am/scripts.am:
75         Use %KEY?TRUE:FALSE%.
76         * lib/am/inst-vars.am (am__strip_dir): Assign the result to f
77         to be more alike am__vpath_adj.
78         Adjust dependencies.
80 2007-11-24  Akim Demaille  <demaille@gostai.com>
82         * automake.in: Normalize white spaces.
84 2007-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
86         * configure.ac (ACLOCAL, AUTOMAKE): Fix quoting for rebuilding
87         rules, if the absolute build directory name contains white space.
89 2007-11-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
91         * aclocal.in (trace_used_macros): Quote input files.
93         * lib/ylwrap: Cope with white space in `PROGRAM' and `pwd`.
95         * lib/am/tags.am (ID, TAGS, CTAGS): Make awk scripts portable again.
96         (CTAGS): Drop unneeded variable `here'.
98 2007-11-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
100         * tests/output13.test: New test.
101         * tests/Makefile.am: Adjust.
102         Prompted by report from Bruno Haible in
103         <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00479.html>.
105         Fix signal handling in aclocal.
106         * aclocal.in (unlink_tmp): If invoked by a signal, note so
107         in verbose mode.  Reinstall default signal handler and reraise,
108         to transport the interrupt information.
110 2007-11-13  Bob Proulx  <bob@proulx.com>
112         Fix color test failure on dumb (and other) terminals.
113         * tests/color.test: Set TERM to `ansi'.
115 2007-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
117         Avoid spurious test failure with `make check TESTS=check5.test'.
118         * tests/check5.test: unset TESTS.
120         Fix maintainer-check failure.
121         * tests/color.test: unset TESTS, use `make -e' rather than
122         `make MACRO=val'.
124 2007-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
126         * configure.ac (AM_INIT_AUTOMAKE): Require version 1.10a.
128         * automake.in (handle_tests): Remove debugging leftover.
130         Run each test in a process-private subdirectory.
131         * tests/defs.in: Employ a trap to clean up at the end of the
132         test in case the test succeeded.  This needs to be revisited
133         because we would like to keep the output of XPASSing tests.
134         Also, note when we were interrupted by a signal.  Code taken
135         from Autoconf's _AC_INIT_PREPARE.
136         If $keep_testdirs is set, keep them even for successful tests.
137         * tests/Makefile.am (check-clean-local): New target.  Remove all
138         tests subdirs, but also make them writable first.  The latter
139         was already needed without per-test subdirs.
140         (distclean-local): Depend upon check-clean-local.
141         * tests/Makefile.in: Regenerate.
142         * tests/.cvsignore, tests/.gitignore: Adjust.
144         Fix default includes ordering to be `-I. -I$(srcdir) ...' again.
145         * automake.in (handle_compile): Put -I$(srcdir) before include
146         paths for config headers, as was done before Automake 1.10, but
147         keep uniquified list without multiple adjacent spaces.
148         * doc/automake.texi (Program variables): List include paths
149         in order.
150         * NEWS: Mention 1.10 regression.
151         * tests/stdinc.test: New test.
152         * tests/Makefile.am: Adjust.
153         * THANKS: Update.
154         Report by Kent Boortz.
156 2007-11-08  Akim Demaille  <akim@lrde.epita.fr>
157             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
158             Bob Proulx  <bob@proulx.com>
160         Implement colorized test output.
161         * automake.in (handle_tests): Set COLOR depending on `color-tests'.
162         * configure.ac (AM_INIT_AUTOMAKE): Use `color-tests'.
163         * doc/automake.texi (Tests, Options): Document test results,
164         document new option, document AM_COLOR_TESTS.
165         * lib/Automake/Options.pm (_process_option_list): Handle it.
166         * lib/am/check.am (am__tty_colors): New variable.  Enable colored
167         output if TERM is not dumb and depending on AM_COLOR_TESTS and
168         whether stdout is connected to a terminal.
169         (check-TESTS): Use am__tty_colors.
170         * NEWS: Mention color-tests.
171         * tests/color.test: New test.
172         * tests/Makefile.am: Adjust.
174 2007-11-08  NightStrike  <nightstrike@gmail.com>  (tiny change)
176         For PR automake/526:
177         * doc/automake.texi (Basic Installation): Fix typo.
179 2007-10-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
181         Accommodate for new macro AC_AUTOCONF_VERSION.
182         * aclocal.in (write_aclocal): Use AC_AUTOCONF_VERSION rather
183         than m4_PACKAGE_VERSION.  Define the former if not defined.
184         * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Likewise.
185         * tests/missing4.test: Use AC_AUTOCONF_VERSION.
187 2007-10-29  Bruno Haible  <bruno@clisp.org>
189         * doc/automake.texi (Program variables): Clarify that
190         Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but
191         passes it directly to compilation commands.
193 2007-10-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
195         Move to git as primary source repository.
196         * Makefile.am (git-dist, git-release): Renamed and adjusted from ...
197         (cvs-dist, cvs-release): ... these.
198         (git-diff): New target, taken and adjusted from cvs-diff.
199         * Makefile.in: Regenerate.
200         * bootstrap: Adjust.
201         * NEWS: Announce change.
202         * doc/automake.texi (General Operation): cvs-dist is git-dist now.
203         (Timeline): Mention change.
205 2007-10-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
207         * automake.in: Treat extension .sx also like preprocessed
208         assembler (.S), following GCC.
209         * NEWS: Update.
210         * doc/automake.texi (Assembly Support): Adjust.
211         * tests/asm3.test: New test.
212         * tests/Makefile.am: Update.
214 2007-10-09  Jim Meyering  <meyering@redhat.com>
216         Add lzma compression support.
217         * NEWS: Mention it.
218         * automake.in (handle_dist): Recognize dist-lzma.
219         (make_paragraphs): Map LZMA to dist-lzma.
220         * doc/automake.texi (Dist): Add dist-lzma.
221         (Options): Likewise.
222         * lib/Automake/Options.pm (_process_option_list):
223         (dist dist-all): Add command to create an lzma-compressed tarball.
224         (distcheck): Handle lzma-compressed tarballs just like the others.
225         * tests/defs.in: Test for lzma, too.
226         * tests/lzma.test: New file, based on nogzip.test.
227         * tests/Makefile.am (TESTS): Add lzma.test.
228         Suggestion from Karl Berry.
230 2007-09-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
232         * automake.in (TARGET_PATTERN): Allow leading digit.
233         * tests/exeext3.test: Adjust to expose this.
234         Report by Claudio Fontana and Laurence Finston.
236 2007-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
238         * tests/defs.in (required): For gcj, check whether `gcj -v'
239         works, to avoid broken installations without libgcj.spec.
240         Export $GCJ.
241         * tests/gcj4.test: Setting GCJ not needed any more.
242         * THANKS: Update.
243         Report by Jesse Chisholm.
245 2007-08-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
247         * lib/config-ml.in, lib/config.guess, lib/config.sub,
248         lib/symlink-tree, lib/texinfo.tex: New upstream versions.
250 2007-08-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
252         * doc/automake.texi (gettext): Fix link to gettext manual.
254 2007-08-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
256         In ChangeLog files, use more-permissive notice rather than GPL,
257         as per usual GNU standards these days.
259 2007-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
261         * automake.in (handle_programs): Also clean .libs/_libs
262         directory for _PROGRAMS.
263         * tests/libtoo10.test: New test.
264         * tests/Makefile.am: Update.
265         * THANKS: Update.
266         Report by Guillermo Ontañón.
268 2007-08-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
270         * configure.ac: Actually require version 2.60 in the test for
271         Autoconf, and recommend it in the error messages.
272         * THANKS: Update.
273         Report by Robert Swafford.
275 2007-07-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
277         * doc/automake.texi (VPATH Builds): Fix wording.
278         Report by Reuben Thomas.
280 2007-07-22  Noah Misch  <noah@cs.caltech.edu>
282         * tests/subst.test: Move the AC_SUBST into a macro definition.
283         Avoids an error from CVS Autoconf.
284         * THANKS: Update.
285         Report by Benoit Sigoure.
287 2007-07-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
288             Alexandre Duret-Lutz  <adl@gnu.org>
290         * lib/am/configure.am (%?REGEN-ACLOCAL-M4%): New target
291         $(am__aclocal_m4_deps) without any dependencies, to avoid the
292         "deleted .m4 file" problem.
293         * tests/acloca22.test: New test.
294         * tests/Makefile.am: Update.
295         * NEWS: Update.
297 2007-07-22  Francesco Salvestrini  <salvestrini@gmail.com>
298             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
300         * lib/am/ltlib.am (install-%DIR%LTLIBRARIES)
301         (uninstall-%DIR%LTLIBRARIES): Use $(AM_LIBTOOLFLAGS) and
302         $(LIBTOOLFLAGS).
303         * lib/am/progs.am (install-%DIR%PROGRAMS)
304         (uninstall-%DIR%PROGRAMS): Likewise.
305         * tests/libtool7.test: Update test for `install' and
306         `uninstall' cases.
307         * NEWS, THANKS: Update.
309 2007-07-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
311         * doc/automake.texi: Remove Front-Cover and Back-Cover Texts,
312         this manual is not printed by the FSF.
314 2007-07-16  Alexandre Duret-Lutz  <adl@gnu.org>
316         * NEWS: Clarify that COPYING files are not updated.
318 2007-07-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
320         * doc/automake.texi: New Back-Cover Text.
321         Report by Karl Berry.
323 2007-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
325         * aclocal.in (version): Fix output to match GCS requirements.
326         * automake.in (version): Likewise.
327         Report by Eric Blake.
329         * COPYING, lib/COPYING: Update to GPLv3.  All uses changed.
330         * NEWS: Update.
332 2007-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
334         * lib/gnupload: Fix shell portability issues with for loops.
335         Report by Karl Berry.
337 2007-06-23  Paul Eggert  <eggert@cs.ucla.edu>
338             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
340         * aclocal.in (write_aclocal): Warn about autoconf
341         incompatibilities instead of making them fatal.
342         * tests/missing4.test: Adjust.
343         * NEWS: Update.
344         Problem reported by Bruno Haible in
345         <http://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>.
347 2007-05-03  Stepan Kasal  <kasal@ucw.cz>
349         * doc/automake.texi, lib/Automake/Rule.pm: Fix typos.
350         * automake.in: Likewise.
351         (am_primary_prefixes): Keep the intentional typo there.
353 2007-04-25  Eric Blake  <ebb9@byu.net>
355         * doc/stamp-vti: Remove generated file from revision control.
356         * doc/version.texi: Likewise.
358 2007-04-23  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
360         * doc/automake.texi (Python): Fix typo.
362 2007-03-30  Eric Blake  <ebb9@byu.net>
363             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
365         * lib/mdate-sh (ls_command): Use -n when available to avoid
366         problems with spaces in user/group names.
367         * tests/mdate5.test: New test.
368         * tests/Makefile.am: Adjust.
370 2007-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
372         * automake.in (handle_tests): Rewrite XFAIL_TESTS just like
373         TESTS, appending $(EXEEXT), so that matching continues to work
374         on w32.
375         * NEWS: Mention this.
376         * doc/automake.texi (EXEEXT, Extending): Update.
377         * tests/check7.test: New test.
378         * tests/Makefile.am: Adjust.
379         Bug report by Ed Hartnett.
381 2007-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
383         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Again search
384         the whole file, but use sed to reduce the line length.
385         Fixes 1.10 regression.  Report by David Byron.
386         * THANKS, NEWS: Update.
388 2007-03-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
390         * lib/depcomp (aix): Rewrite depmode in the spirit of the tru64
391         one.  Fixes failure to catch dependencies with libtool and xlc
392         in case of enable_static=no (which is the default on AIX without
393         runtimelinking).
394         * tests/depcomp7.test: Run test once with --disable-shared and
395         once with --disable-static, to expose failure systematically.
396         * NEWS: Update.
398 2007-03-29  Stepan Kasal  <kasal@ucw.cz>
399             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
401         * automake.in (handle_LIBOBJS_or_ALLOCA): Fix the error message.
402         * tests/pr401.test: Update to expose the error.
403         * tests/pr401b.test: Likewise.
404         * tests/pr401c.test: Likewise.
406 2007-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
408         * automake.in (scan_autoconf_config_files): Warn about leading
409         `./' in config file names.
410         * tests/canon-name.test: New test.
411         * tests/Makefile.am: Update.
412         * THANKS: Update.
413         Suggestion by Claudio Fontana.
415         * tests/yacc6.test: Add the generated headers to `BUILT_SOURCES'
416         as documented in the manual.  Fixes parallel make failure.
417         Report by Dieter Jurzitza.
418         * THANKS: Update.
420         * ChangeLog, TODO, tests/exdir3.test: Fix copyright notice.
422         * TODO: Kill a couple of outdated items.
423         * tests/exdir3.test: New test.
424         * tests/Makefile.am: Update.
426 2007-01-27 Bruno Haible  <bruno@clisp.org>
428         * doc/automake.texi (Multiple Outputs): Fix the multiple outputs
429         with locking example.
431 2007-01-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
433         * doc/automake.texi (Subpackages): Fix ambiguous wording.
434         Report and suggestions by Reuben Thomas.
435         * THANKS: Update.
437 2007-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
439         * tests/defs.in (is_newest): Cope with multiple newer files.
440         * NEWS: mention `install-sh -C'.
442 2006-12-25  Paul Eggert  <eggert@cs.ucla.edu>
444         * lib/install-sh (initialize_posix_glob): New var.
445         Use it instead of setting posix_glob inline.
446         (posix_glob): Use '?'/''/: instead of ''/yes/no, for convenience.
447         (cmpprog, CMPPROG): New vars, since we use cmp rather than the diff
448         of Akim's patch.
449         Use LC_ALL before invoking 'ls' when we depend on its output format.
450         Don't use awk; just use the shell's builtin features.
451         Clean up $dsttmp if -C detects no installation is needed.
452         * tests/defs.in (is_newest): Renamed from is_younger; the new
453         name is more accurate.  All uses changed.
454         (old_timestamp): New var.
455         * tests/instsh2.test: Rewrite to avoid the need for sleeping.
457 2006-12-25  Akim Demaille  <akim@epita.fr>
459         * lib/install-sh: Implement install-sh -C.
460         (This patch is the remaining part of the patch proposed in
461         <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
462         (usage): Document it.
463         (copy_on_change): New var.
464         * tests/defs.in (is_younger): New function.
465         * tests/instsh2.test: Check install-sh -C.
467 2006-12-24  Paul Eggert  <eggert@cs.ucla.edu>
469         * lib/install-sh: Fix typo in previous patch for handling --.
470         Use more-consistent style for ';;'.
471         Prefer || to if-then-else-:.
472         * tests/install2.test: Rework to avoid set -e problems.
474 2006-12-24  Akim Demaille  <akim@epita.fr>
476         Simplify install-sh and its test.  This shouldn't change any behavior.
477         (This patch is a subset of the patch proposed in
478         <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
479         * lib/install-sh (usage): Use usual GNU style.
480         (dstarg): Rename as...
481         (dst_arg): this for consistency.
482         Simplify quoting of assignments.
483         Sort them.
484         Don't use '\' to continue commands: && suffices.
485         Remove useless "continue" in the argument processing,
486         and factor the shifts.
487         * tests/defs.in: Some improvements to make it set -e clean.
488         Use the traditional ":" trick to protect loops from being empty.
489         Remove an empty straightforward piece of code prepared to define
490         additional variables.
491         Use test instead of [], for consistency.
492         * tests/install2.test: Use set -e, to simplify code.
494 2006-12-20  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
496         * doc/automake.texi: Fix typo.
498 2006-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
500         * doc/Makefile.am: Use $(MAKE) $(AM_MAKEFLAGS) for building
501         amhello, to prevent gmake from invoking make with MAKEFLAGS
502         it does not understand.
503         Report by Patrick Welche.
505         * lib/gnupload: Revert last change.  Add pointer to upload
506         instructions of the GNU Maintenance Instructions.
507         Suggestion by Karl Berry.
509 2006-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
511         * lib/gnupload: Add missing 'gnu' to example URL.
512         Report by Karl Berry.
514 2006-10-28  Bobby Jack <bobbykjack@yahoo.co.uk>  (tiny change)
516         * doc/automake.texi (amhello Explained): autoconf creates
517         configure, not configure.ac.
518         * THANKS: Update.
520 2006-10-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
522         * doc/automake.texi (Dist, Dependency Tracking Evolution):
523         Fix some typos.
524         * lib/Automake/Condition.pm: Likewise.
525         * lib/Automake/DisjConditions.pm: Likewise.
526         * lib/Automake/ItemDef.pm: Likewise.
527         * lib/Automake/Options.pm: Likewise.
528         * lib/Automake/Rule.pm: Likewise.
529         * lib/Automake/VarDef.pm: Likewise.
530         * lib/Automake/Variable.pm: Likewise.
531         * lib/Automake/Wrap.pm: Likewise.
532         * lib/Automake/XFile.pm: Likewise.
533         * m4/substnot.m4: Likewise.
535 2006-10-16  Alexandre Duret-Lutz  <adl@gnu.org>
537         * lib/gnupload: Update to version 1.1 of directive file.
539 2006-10-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
541         * lib/am/depend2.am (%SOURCEFLAG%): New substitution, goes
542         right before the expanded source file name.
543         * automake.in (%sourceflags): New global: per-extension flag
544         to denote that the next compiler argument is the source file.
545         (scan_autoconf_traces): Trace AC_FC_SRCEXT; initialize
546         %sourceflags accordingly.
547         (handle_single_transform): Store source file extension in...
548         (%lang_specific_files): ...this and...
549         (handle_languages): ...adjust here.  Pass flag in SOURCEFLAG.
550         * doc/automake.texi (Optional): Add AC_FC_SRCEXT.
551         (Fortran 9x Support): Update.
552         * tests/fort2.test: New test.
553         * tests/Makefile.am: Adjust.
554         * NEWS, THANKS: Update.
555         Suggested by Steven G. Johnson.
557         For PR automake/480.
558         * automake.in (lang_f77_rewrite, lang_fc_rewrite)
559         (lang_ppfc_rewrite, lang_ppf77_rewrite, lang_ratfor_rewrite):
560         return `lang_sub_obj' to support subdir-object mode for the
561         Fortran dialects.
562         * tests/fort4.test, tests/fort5.test: New tests.
563         * tests/Makefile.am: Update.
564         * NEWS, THANKS: Update.
565         Report by Davyd Madeley and Shannon L. Brown.
567         * lib/am/header-vars.am (pkglibexecdir): New variable.
568         * automake.in (%standard_prefix): Add it.
569         * doc/automake.texi (Uniform): Document it.
570         (Program Sources): Adjust.
571         * NEWS: Update.
572         * tests/libexec.test: New test.
573         * tests/Makefile.am: Update.
574         Suggested by Eric Blake.
576 2006-10-15  Alexandre Duret-Lutz  <adl@gnu.org>
578         * lib/gnupload: Update to version 1.1 of directive file.
580         * configure.ac, NEWS: Bump version to 1.10a.
582         * configure.ac, NEWS: Bump version to 1.10.
583         * doc/automake.texi (Releases): Update for 1.10.
585         * lib/config.sub, lib/texinfo.tex: New upstream versions.
587         * lib/am/depend2.am: Typo.
588         * lib/depcomp (scriptversion): Bump, to account for recent changes.
590         * doc/automake.texi (Examples): Introduce the example, and point
591         to Hello World.
592         (Hello): Remove this obsolete node.
594 2006-10-15  Hans Ulrich Niedermann  <hun@n-dimensional.de>
595             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
597         For PR automake/507:
598         * lib/am/distdir.am (distdir): filename-length-max check is not
599         done in sub-packages.
600         * doc/automake.texi (Options): Document this.
601         * tests/fn99subdir.test: New test.
602         * tests/Makefile.am: Update.
603         * THANKS: Update.
605 2006-10-14  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
607         * doc/automake.texi (Third-Party Makefiles): Fix typo.
608         * THANKS: Update.
610 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
612         * aclocal.in (write_aclocal): Improve warning for mismatched
613         Autoconf version.
615         * automake.in: For preprocessed assembler, add `$(DEFS)
616         $(DEFAULT_INCLUDES) $(INCLUDES)' to the compile rule.
617         * doc/automake.texi (Assembly Support): Update.
618         * NEWS: Update.
619         Suggested by Thomas Schwinge and Ralf Corsepius.
621         For PR automake/492.
622         * automake.in (output_flag): Set to `-o' for Assembler and
623         preprocessed Assembler, assuming that all understand `-c -o'.
624         * THANKS, NEWS: Update.
625         * tests/subobj10.test: New test.
626         * tests/Makefile.am: Update.
627         Report by Thomas Schwinge.
629         * automake.in (%_macro_for_cond): New variable.
630         (cond_stack_if): Use it for better error message about
631         missing dependency tracking conditionals.
632         * tests/asm2.test: New test, modeled after asm.test.
633         * tests/Makefile.am: Adjust.
634         Report by Ralf Corsepius.
636         * doc/automake.texi (Options): `no-dependencies' is similar
637         to `--ignore-deps', not `--include-deps'.
638         * m4/as.m4 (AM_PROG_AS): If `no-dependencies', do not invoke
639         _AM_DEPENDENCIES.
640         * tests/nodep2.test: New test.
641         * tests/Makefile.am: Adjust.
643         * automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the
644         LIBOBJDIR, then we should not add a DEPDIR prefix.
645         * tests/pr401.test: Update test.
646         * tests/pr401b.test: Likewise.
647         * tests/pr401c.test: Likewise.
648         Report by Jim Meyering and Eric Blake.
650         * lib/depcomp (gcc3): Put dependency extraction flags before the
651         `-c' flag, so they appear at the same position as in %FASTDEP%
652         mode in depend2.am.  Fixes build failure for FreeBSD's c89,
653         which ignores unknown options only after the first non-option.
654         Bug report against M4 by Nelson H. F. Beebe.
656 2006-10-14  Bruno Haible  <bruno@clisp.org>
657             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
659         * automake.in ($seen_gettext_intl): New variable.
660         (handle_gettext): Consider it.
661         (scan_autoconf_traces): Add AM_GNU_GETTEXT_INTL_SUBDIR to the list.
662         Set $seen_gettext_intl when it is seen.
663         * doc/automake.texi (gettext, Optional): Update.
664         * tests/gettext3.test: New test.
665         * tests/Makefile.am: Update.
667 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
669         * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
670         which incorrectly sets the mode of an existing destination
671         directory.  In some cases the unpatched install-sh could do the
672         equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
673         system.  We hope this is rare in practice, but it's clearly worth
674         fixing.  Problem reported by Alex Unleashed in
675         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
676         Also, don't bother to check for -m bugs unless we're using -m;
677         suggested by Stepan Kasal.
679 2006-10-14  Geoffrey Keating  <geoffk@apple.com> (tiny change)
681         * m4/multi.m4: Non-default multilibs may be cross compilation.
683 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
685         * automake.in: Fix some typos in comments.
686         * lib/Automake/Variable.pm: Likewise.
688 2006-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
690         * automake.in (handle_compile): Use subst, for maintainer-check.
692 2006-10-09  Andreas Köhler  <andi5.py@gmx.net>  (tiny change)
694         For PR automake/505:
695         * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES):
696         Fix typo: `config.status.lineno', not `configure.status.lineno'.
698 2006-09-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
700         * NEWS: Mention that `install-sh' needs executable permissions.
701         * tests/nobase.test: Adjust.
702         Report by Patrick Welche.
704 2006-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
706         * lib/am/check.am (check-TESTS): Fix matching of XFAIL_TESTS
707         against currently running test for the first and last element
708         of $(TESTS): add spacing so Solaris make does VPATH expansion
709         on these words, too.
710         * tests/check6.test: Update.
712 2006-08-30  Paul Eggert  <eggert@cs.ucla.edu>
714         For PR automake/501:
715         * lib/am/depend2.am (?GENERIC?%EXT%.o, ?!GENERIC?%OBJ%):
716         Abbreviate output a bit by not bothering to quote the .Po file
717         name (the quoting doesn't suffice in general anyway), and by not
718         bothering to remove junk .Tpo files (as they'll be removed later).
719         This also lets 'make' run faster by avoiding a subshell.
721 2006-08-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
723         * automake.in: Fortran 77 and Fortran should require variables
724         F77 resp. FC to be defined, and suggest the respective Autoconf
725         macros otherwise.
726         * tests/fort1.test: New test.
727         * tests/Makefile.am: Update.
729         * tests/ext.test: Add extensions f95, F90, F95.
731 2006-08-30  Alexandre Duret-Lutz  <adl@gnu.org>
733         For PR automake/500:
734         * automake.in (handle_compile) <$default_includes>: Do not output
735         the same -I twice.  Use @am__isrc@ instead of ` -I$(srcdir)'.
736         * m4/init.m4: Define am__isrc as ` -I$(srcdir)' only in
737         non-VPATH builds since we always have `-I.'.
738         * tests/subpkg.test: Make sure config headers are found in VPATH
739         and non-VPATH builds.
741 2006-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
743         * doc/automake.texi, lib/Automake/Rule.pm: Fix some typos.
744         * NEWS: Likewise.  Clarify that only one LIBOBJDIR is supported.
746 2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
748         * lib/Automake/ChannelDefs.pm (usage): Mention that -Wportability
749         is enabled by default with gnu and gnits strictness.
750         Report from Bruno Haible.
752 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
754         * NEWS: Mark de-ANSI-fication as being obsolete.
755         * doc/automake.texi: Likewise.
757 2006-08-21  Stepan Kasal  <kasal@ucw.cz>
759         * Makefile.am, THANKS: Fix typos.
761 2006-08-20  Alexandre Duret-Lutz  <adl@gnu.org>
763         * NEWS, configure.ac: Bump version to 1.9c.
765         * NEWS, configure.ac: Bump version to 1.9b.
767         * Makefile.am (maintainer-check): Check for mkdir_p in automake.in
768         too.
769         * automake.in (require_build_directory): Use MKDIR_P, not mkdir_p.
771         * m4/mkdirp.m4: Typo in previous patch.
773         * Makefile.am (maintainer-check): Fine-tune the "Unescaped @"
774         check so it doesn't complain about the '@ 's in node "Standard
775         Directory Variables".
777         * INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New
778         upstream versions.
780         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with
781         $(top_builddir)/ if it is a relative directory.
783 2006-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
785         * lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use
786         ylwrap.  Suggested by Akim Demaille long ago, to ease maintenance.
787         * automake.in (handle_languages): Do not define MORE-THAN-ONE.
788         (yacc_lex_finish_helper, lang_yacc_finish, lang_lex_finish): Always
789         require ylwrap.
790         * doc/automake.texi (Auxiliary Programs, Yacc and Lex): Update the
791         documentation of ylwrap.
792         * tests/lex.test, tests/lex4.test, tests/mmodely.test,
793         tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
794         tests/yaccpp.test: Adjust.
796         * doc/automake.texi (Releases): Update statistics until 1.9.6.
798         * Makefile.am (maintainer-check): Check for mkdir_p.
799         * automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P.
800         * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
801         lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
802         lib/am/mans.am, lib/am/progs.am, lib/am/python.am,
803         lib/am/scripts.am, lib/am/texinfos.am: Use MKDIR_P instead of mkdir_p.
804         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not
805         as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use
806         mkdir_p without defining MKDIR_P.
807         * tests/distdir.test, tests/instman.test, tests/txinfo21.test:
808         Adjust.
810         * Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm.
811         * configure.ac (ACLOCAL): Use --acdir=m4 in addition to
812         -I m4.  Running aclocal during the rebuild rules will fail
813         if the default acdir does not exist.
815         * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4:
816         Require Autoconf 2.60 instead of some intermediate development
817         version.
819         * doc/automake.texi (Standard Directory Variables): Fix multitable
820         width.
821         (Autotools Introduction): Fix @uref usage.
823 2006-08-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
825         * doc/automake.texi: Fix some typos in the introduction,
826         adjust some spacing; spell `GNU Build System' consistently.
827         (menu): Unify node naming.
828         (Standard Directory Variables): Clarify that this list is not
829         exhaustive.
830         (DESTDIR): Fix example.
832 2006-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
834         * doc/automake.texi (Autotools Introduction) New chapter.
835         Thanks to Ben Pfaff and Ralf Wildenhues for comments.
836         (Auxiliary Programs, Install, Dist, Third-Party Makefiles)
837         (distcleancheck): More cross references.
838         * doc/amhello/configure.ac, doc/amhello/README,
839         doc/amhello/Makefile.am, doc/amhello/src/Makefile.am,
840         doc/amhello/src/main.c: New files.
841         * doc/Makefile.am (dist_noinst_DATA): Distribute them.
842         ($(srcdir)/amhello-1.0.tar.gz): New rule.
843         (dist_doc_DATA): Install amhello-1.0.tar.gz.
844         * Makefile.am (SUBDIRS): Update comment.
846 2006-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
848         * doc/automake.texi: Fix some typos.
850 2006-08-14  Jonathan Higa <jthiga@gmail.com>
852         * automake.in: Register "Unified Parallel C" as language.
853         (lang_upc_rewrite): New function.
854         (resolve_linker): Consider UPCLINK.
855         * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest
856         AM_PROG_UPC for UPC and UPCFLAGS.
857         * m4/upc.m4: New file.
858         * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case.
859         * m4/Makefile.am (dist_m4data_DATA): Add upc.m4.
860         * doc/automake.texi (Unified Parallel C Support): New node.
861         (Public macros): Mention AM_PROG_UPC.
862         (Program and Library Variables, Flag Variables Ordering):
863         Mention UPCFLAGS.
864         * tests/upc.test, tests/upc2.test, tests/upc3.test: New file.
865         * tests/Makefile.am (TESTS): Add them.
866         * tests/ext.test: Also test upc files.
868 2006-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
870         * doc/automake.texi (Scripts): Fix some errors in previous patch.
872         * doc/automake.texi (Scripts): Revamp.  Show an example of script
873         built from configure.ac.  Discuss CLEANFILES and EXTRA_DIST for
874         other built scripts.
876         * m4/init.m4: Suggest fixing the call to AC_INIT when
877         AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined.  This is for
878         newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments.
879         * tests/init.test: New file.
880         * tests/Makefile.am (TESTS): Add it.
882 2006-08-04  Stepan Kasal  <kasal@ucw.cz>
884         * automake.in (dist_dirs, fill_dist_dirs): Remove.
885         * lib/am/distdir.am (DISTDIRS): Remove.
886         * tests/distdir.test, tests/pr2.test: Do not grep, use
887         `make distdir' instead.
889 2006-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
891         * doc/automake.texi (Conditionals): Split in two sections, "Usage"
892         and "Portability", and add a third one, "Limits" to explain how
893         conditional definitions inside multi-lines definitions can be
894         handled.
895         * automake.in (handle_options): Do not assume that
896         AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional
897         definitions of AUTOMAKE_OPTIONS.
898         Report from Bas Wijnen.
899         * tests/amopt.test: New test.
900         * tests/Makefile.am (TESTS): Add it.
902         * aclocal.in (install_file): Cannot use /dev/null while diffing
903         new files, because Tru64's diff do not handle /dev/null.  So
904         create an empty destination file before running diff on a new
905         file, and erase it afterward.  Fall back to using /dev/null only
906         if we cannot create this file.
907         Report and initial patch from Ralf Wildenhues.
908         (unlink_tmp): New function.
909         * test/acloca18.test: Make sure the empty file has been erased.
911 2006-08-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
913         * automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects,
914         do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR,
915         to help BSD Make find the files also in a VPATH build.
916         Also return the same path, possibly prefixed, for correct
917         depdir computation.
918         * tests/pr401.test: Update to expose wrong depdir computation.
919         Rewrite to not use the same file name for library object and
920         main program.
921         * tests/pr401b.test, tests/pr401c.test: Likewise.
923 2006-07-09  Paul Eggert  <eggert@cs.ucla.edu>
925         * lib/install-sh: Don't incorrectly claim that this implementation
926         can install only one file at a time.
927         (doit_exec): New var, for using 'exec' if possible, to save a process.
928         (test_mode, intermediate_mode): Remove.
929         (mode): Check for IFS or globbing characters in mode, since they might
930         cause weird behavior with the other changes below.  All later uses
931         of '"$mode"' changed to '$mode', since the ""s no longer matter.
932         Use octal modes if the invoker specifies an octal mode, and use
933         octal umask values if 'umask' outputs octal values; this is more
934         likely to work with older operating systems since Automake uses
935         octal modes, and also works around a bug with HP-UX 11.23
936         'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in
937         <http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>.
938         (cp_umask, mkdir_umask): New variables, to avoid
939         temporarily creating files or directories with too-permissive modes.
940         (mkdir_mode): Use the FreeBSD 'install' method for computing modes of
941         intermediate directories; this is safer.
942         (posix_mkdir): Also test mkdir -p -m ... by making a directory in
943         /tmp and checking the resulting mode with 'ls', to catch a bug in
944         HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message.
945         Use ':' for true, not 'true'; this is a bit faster on
946         traditional implementations.
948 2006-07-09  Jim Meyering  <jim@meyering.net>
950         * lib/depcomp: "in in" -> "in" in comment.
952 2006-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
954         * tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr,
955         for consistency with the recommendation prompted by this report:
956         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
958 2006-06-24  Stepan Kasal  <kasal@ucw.cz>
959             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
961         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to
962         `'$(MKDIR_P)'', so that it retains the per-directory value
963         computed by config.status.
964         * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from
965         a changed directory.  Bugs reported by Ralf Menzel.
966         * THANKS: Update.
968 2006-06-24  Eric Dorland  <eric@debian.org>
969             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
971         * automake.in (scan_texinfo_file): Fix matching file extension.
972         * tests/txinfo31.test: New test.
973         * tests/Makefile.am: Update.
975 2006-06-07  Alexandre Duret-Lutz  <adl@gnu.org>
977         * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.
979 2006-06-07  Stepan Kasal  <kasal@ucw.cz>
981         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
983 2006-06-06  Stepan Kasal  <kasal@ucw.cz>
984             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
986         * lib/am/distdir.am: Do not call $(mkdir_p) for each
987         distributed file, collect them and create them in one run,
988         and strip $(srcdir) and $(top_srcdir) all at once.
989         Fix some comment typos.
991 2006-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
993         * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
994         7.4.4m may omit the first included header dependency information
995         with `-MDupdate'.  Refine test to catch this.
997         * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
998         procedure.
1000         * tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3
1001         requires `config.rpath' to be present, and automake now enforces
1002         this.  Test this, but only if the gettext installation works and
1003         is recent enough to provide this diagnosis.
1004         * tests/gettext.test: Provide a dummy `config.rpath' for all
1005         subsequent checks.
1006         * tests/gettext2.test, tests/subcond.test: Likewise.
1008         * tests/pr401.test: Replace "perl -i" with sed and mv, for
1009         MinGW perl.
1010         * tests/pr401b.test, tests/pr401c.test, tests/python11.test,
1011         * tests/yacc6.test, tests/yacc8.test: Likewise.
1013         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
1014         plain `grep' on the Makefile, as its line length may exceed that
1015         for grep.  Bug report against coreutils by Sam Sirlin.
1016         * THANKS: Update.
1018 2006-05-26  Sergey Poznyakoff  <gray@Mirddin.farlep.net>  (tiny change)
1020         * doc/automake.texi (Options): Add anchor `tar-formats'.
1022 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
1024         * lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides
1025         ENOLCK.  Only mention `make -j' when applicable.  Only raise
1026         fatal errors when `make -j' is involved.  Improve error message.
1028 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1030         * lib/Automake/Configure_ac.pm (find_configure_ac): Use
1031         `$configure_in' instead of `configure.in', to preserve
1032         directory component.
1033         * lib/Automake/Configure_ac.pm: Add note that Automake owns
1034         this file.
1035         * lib/Automake/Channels.pm: Likewise.
1036         * lib/Automake/FileUtils.pm: Likewise.
1037         * lib/Automake/Struct.pm: Likewise.
1039 2006-05-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1041         * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
1042         New upstream versions.
1044 2006-05-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1046         * doc/automake.texi (Auxiliary Programs): Fix URL to GCC
1047         repository, they use SVN now.
1049 2006-05-13  Werner Lemberg  <wl@gnu.org>
1051         * lib/gnupload: Add support for savannah.gnu.org and
1052         savannah.nongnu.org.
1054 2006-05-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1056         * lib/Automake/Channels.pm, lib/Automake/Condition.pm,
1057         lib/Automake/DisjConditions.pm, lib/Automake/Options.pm,
1058         lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos.
1060 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
1062         * lib/install-sh: Sync from Autoconf, as follows:
1063         Don't use 'path' to talk about file names,
1064         as per GNU coding standards.  Close a race condition reported by Ralf
1065         Wildenhues and Stepan Kasal.  There is still a race condition
1066         on hosts that predate Posix 1003.1-1992, but we can't help this.
1067         Don't mishandle weird characters like space on pre-Posix hosts.
1068         Invoke mkdir at most once per dir arg on pre-Posix hosts.
1070 2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1072         * tests/missing.test, tests/missing2.test: Do not require
1073         GNUmake.
1074         * Makefile.am (maintainer-check): Make sure `required=' does not
1075         follow `. ./defs' in the tests.
1077         * tests/ansi10.test: Use AC_PROG_CC_STDC.  Fix test that
1078         ac_cv_prog_cc_stdc isn't just used by Automake code in
1079         `configure'.
1080         * tests/ansi6.test, tests/ansi7.test: Likewise.
1081         * tests/ansi9.test: Likewise.  Do not override by setting
1082         $U and $(ANSI2KNR) at `make' time; that will be fragile.
1083         * tests/libobj8.test: Use AC_PROG_CC_STDC.
1084         * tests/subobj3.test: Likewise.  Use `set -e'.
1086         * lib/install-sh: Initialize IFS, so field splitting isn't
1087         turned off later.
1088         * lib/mkinstalldirs: Likewise.
1090         * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
1091         the path of the prerequisite added; IRIX 6.5 make does not add
1092         it, Solaris 2.6 make is inconsistent about adding it.  Fixes
1093         java.test failure.
1095         * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
1096         files in the source tree.  Fixes failures with HP-UX and Tru64
1097         make.
1099         * lib/am/ansi2knr.am (ansi2knr): Rename target as...
1100         (./ansi2knr): ...this, for BSD make.
1101         (%ANSI2KNR-DIR%/ansi2knr): Adjust.
1103 2006-05-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1105         * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
1106         /bin/sh -e issue with failing commands in if clauses.
1108         * tests/defs.in (Be Bourne compatible): Update from current
1109         Autoconf.
1111         * configure.ac: Recommend perl-5.8.2.
1112         * tests/automake.test: Do not fail because of buggy Getopt::Long
1113         in perl < 5.8.2.
1115         * tests/longlin2.test: Do not use `grep' on Makefile.am:
1116         it has long lines and is thus not a text file; AIX 5.1 grep
1117         fails to scan non-plain patterns from long lines.
1119         * tests/overrid.test: Change all regexes for warning messages to
1120         match after a colon, so that the prepended file names do not
1121         cause false matches.  Tighten overrides regex.  Fix typo
1122         `cleam-am-local' -> `clean-am-local'.
1124         * tests/java.test: `configure' uses a trap, so use `(exit 77);
1125         exit 77' to portably set the exit status similar to AS_EXIT.
1126         * tests/fn99.test: propagate nonzero exit status from subshell.
1128         * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
1129         if ``pwd`' contains the string `-p'.  Create the wrapper in a
1130         subdirectory so that `.' in $PATH does not lead to an endless
1131         loop.
1133         * lib/depcomp (ia64hp): Rename dependency style to..
1134         (hp2): ..this, as it works with aCC on HPPA, too; adjust
1135         comment.  Report by Olivier Fourdan (PR automake/481).
1136         * THANKS: Update.
1138         * tests/aclocal7.test: Add `$sleep's between file touching
1139         and automake resp aclocal+automake invocations, to ensure
1140         they complete with a time stamp strictly later than the touched
1141         file.
1143         * lib/missing: Remove superfluous quotes.  Replace all uses of
1144         `[' by `test', for consistency, and for..
1145         * tests/missing5.test: ..this new test.
1146         * tests/Makefile.am: Update.
1148         * lib/missing (sed_minuso, sed_output): New variables.
1149         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
1150         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
1151         Fixes `missing' to detect `--output' for help2man.  Fixes
1152         PR automake/483.  Report by Dennis J. Linse.
1153         (autom4te): Document in `missing --help'.
1154         * THANKS: Update.
1156 2006-04-26  Thien-Thi Nguyen  <ttn@gnu.org>  (tiny change)
1158         * doc/automake.texi (Dependency Tracking Evolution): Fix typo.
1160 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
1162         * lib/install-sh: Simplify the expr implementation of dirname.
1164 2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
1166         * lib/install-sh: Handle --, and diagnose unknown options.
1167         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set
1168         mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with
1169         the other ways that mkdir_p might be set.
1171 2006-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
1173         * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
1174         (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
1175         * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
1176         (write_aclocal): Output a check for Autoconf's version in aclocal.m4.
1177         Doing so ensures that users cannot build configure and Makefiles
1178         with two different autoconf versions.  Report from Noah Misch.
1179         * tests/missing4.test: New file.
1180         * tests/Makefile.am (TESTS): Add it.
1182 2006-04-20  Paul Lunau  <temp@lunau.me.uk>  (tiny change)
1183             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1185         * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
1186         failed, instead of when the last one failed (PR automake/488).
1187         Report from Paul Lunau.
1188         * tests/dejagnu4.test: Update to expose this.
1189         * THANKS: Update.
1191 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1193         * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
1194         TABs as well as spaces.  Fixes PR automake/490.
1195         * tests/check6.test: New test.
1196         * tests/Makefile.am, THANKS: Update.
1197         Report from Diab Jerius <djerius@cfa.harvard.edu>.
1199 2006-04-17  Stepan Kasal  <kasal@ucw.cz>
1201         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
1202         description; eliminate the duplicate error message.
1203         * doc/automake.texi (@direntry): `Invoking Automake' is the name
1204         of the usage node for `automake'
1205         * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the
1206         comment.
1208 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1210         * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
1211         because it uses `datarootdir'.  Bump copyright year and serial.
1213 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
1215         * NEWS: Fix typo.
1217 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
1219         * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
1220         (_gen_varname): Use _hash_values, and return a flag indicating whether
1221         the variable name was generated or reused.
1222         (transform_variable_recursively): Do not redefine variables that
1223         are reused, and try to reuse the variable being transformed.
1224         * tests/check2.test: Make sure TESTS hasn't been redefined.
1225         * tests/check5.test, tests/exeext4.test: Make sure variables have
1226         been reused.
1227         * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.
1229         * automake.in (%ignored_configure_vars): New variable.
1230         (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill
1231         %ignored_configure_vars.
1232         (define_configure_variable): Declare ignored configure variables
1233         as VAR_SILENT.  Do not special-case AMDEPBACKSLASH and ANSI2KNR
1234         w.r.t. VAR_SILENT.
1235         * m4/substign.m4: New file.
1236         * m4/Makefile.am (dist_m4data_DATA): Add substign.m4.
1237         * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477).
1238         * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH.
1239         * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR.
1240         * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined.
1241         * tests/amsubst.test: New file.
1242         * tests/Makefile.am (TESTS): Add it.
1244 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
1245             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1247         * automake.in (handle_single_transform): Preserve directories in
1248         direct suffix rules.
1249         * tests/suffix12.test: New test.
1250         * tests/Makefile.am (TESTS): Add it.
1251         Report from John Ratliff.
1253 2006-03-25  Mike Frysinger  <vapier@gentoo.org>  (tiny change)
1254             Alexandre Duret-Lutz  <adl@gnu.org>
1256         * aclocal.in ($m4_include_rx): Do not recognize `include', and
1257         adjust scan_configure_dep and scan_file accordingly.
1258         (scan_configure_dep): Do not search white lines.
1259         (scan_file): Strip comments from current line after checking
1260         for serial, so that aclocal does not trip on `m4_include' macros
1261         in comments.  Report from Mike Frysinger.
1262         * tests/acloca21.test: New file.
1263         * tests/Makefile.am (TESTS): Add it.
1265 2006-03-24  Stepan Kasal  <kasal@ucw.cz>
1267         * tests/mmodely.test: Fix the test on systems with no lex.
1269 2006-03-23  Stepan Kasal  <kasal@ucw.cz>
1271         * automake.in (libtool_new_api): Fix a typo in the comment.
1272         * lib/Automake/Makefile.am (Config.pm): Likewise.
1273         * lib/am/depend2.am: Likewise.
1274         * tests/xsource.test: With `set -e', `|| exit 1' is no longer
1275         needed.
1277 2006-03-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1279         * tests/depcomp6.test, tests/depcomp7.test: Change back to
1280         using `$MAKE && exit 1', but make sure the last command in the
1281         test is successful.
1283 2006-03-21  Clifford Wolf  <clifford@clifford.at>  (tiny change)
1284             Stepan Kasal  <kasal@ucw.cz>
1285             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1287         * aclocal.in (parse_arguments): Added wildcard support to the
1288         dirlist parser.
1289         * doc/automake.texi (Macro search path): Document it.
1290         * tests/dirlist2.test: New test.
1291         * m4/dirlist, tests/Makefile.am: Adjust.
1293 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1295         * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)'
1296         to `AC_PROG_OBJC' if provided, to fix Objective C depmode
1297         handling.
1298         * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for
1299         OBJC and OBJCFLAGS.
1300         * tests/ext.test: Adjust.
1301         * tests/objc.test, tests/objc2.test: New tests.
1302         * tests/Makefile.am: Adjust.
1303         * doc/automake.texi (Objective C Support): New node.
1304         (Support for Other Languages): Adjust.
1306 2006-03-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1308         * lib/Automake/RuleDef.pm (DESCRIPTION): Typo.
1310         * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic
1311         to work with `set -e'.
1313         * tests/depcomp6.test, tests/depcomp7.test: New tests,
1314         for general `depcomp' functionality, with and without
1315         `subdir-objects', with and without `libtool'.
1316         * tests/Makefile.am: Adjust.
1318         * aclocal.in (write_aclocal): Unlink `aclocal.m4' before
1319         writing into it, to break a symlinked file.
1320         * tests/acloca20.test: New test.
1321         * tests/Makefile.am: Updated.
1323 2006-03-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1325         Allow package trees (packages with subpackages) to share
1326         common distributed auxiliary files (and directories) that
1327         reside within a subpackage.
1329         * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if
1330         `$(distdir)' already exists.
1331         (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent
1332         removal of subpackage trees for distribution.
1333         * tests/subpkg3.test: New test.
1334         * tests/Makefile.am: Update.
1336 2006-03-18  Alexandre Duret-Lutz  <adl@gnu.org>
1338         * tests/check5.test, tests/nobast.test: Fix $MAKE and rm
1339         invocations to please maintainer-check.
1341 2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
1343         * automake.in (lang_c_rewrite): Typo in previous change.
1344         * tests/ccnoco2.test: New file.
1345         * tests/Makefile.am (TESTS): Add ccnoco2.test.
1347         * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
1348         a 'portability' warning, so that people can ignore it.  Suggested
1349         by Ralf Wildenhues.
1351         * lib/Automake/ChannelDefs.pm: Make -Wportability the default in
1352         gnu and gnits modes.
1353         * doc/automake.texi (Invoking Automake): Adjust.
1355 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1357         * doc/automake.texi (Yacc and Lex): Document that `.ypp' and
1358         `.lpp' file extensions are recognized.
1360 2006-02-21  Alexandre Duret-Lutz  <adl@gnu.org>
1362         * doc/automake.texi (Complete, Extending aclocal, Public macros)
1363         (Python, Conditionals, API versioning): Always quote macro arguments.
1364         Report from Stepan Kasal.
1366 2006-02-16  Alexandre Duret-Lutz  <adl@gnu.org>
1368         * doc/automake.texi (Python): More examples.
1370 2006-02-05  Alexandre Duret-Lutz  <adl@gnu.org>
1372         * doc/automake.texi (distcleancheck): Fix bad wording.  Report
1373         from Bob Rossi.
1374         (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS).
1376 2006-01-29  Alexandre Duret-Lutz  <adl@gnu.org>
1378         Append $(EXEEXT) to programs that may be listed in TESTS.
1379         Report from Simon Josefsson.
1381         * automake.in (%known_programs): New global.
1382         (initialize_per_input): Reset it.
1383         (append_exeext): Take a predicate as first argument to select
1384         the filename to rewrite.
1385         (handle_programs): Fill %known_programs.
1386         (handle_tests): Append $(EXEEXT) to all tests that are in
1387         %known_programs.
1388         (am_install_var): Update call to append_exeext.
1389         * doc/automake.texi (EXEEXT): TESTS is also rewritten.
1390         (Tests): More about the difference between check_PROGRAMS and TESTS.
1391         Give an example of TEST_ENVIRONMENT.
1392         * tests/cond32.test: Augment with a nested condition.
1393         * tests/exeext4.test: Also check TESTS.
1394         * tests/check5.test: New file.
1395         * tests/Makefile.am (TESTS): Add check5.test.
1397 2006-01-12  Paul Eggert  <eggert@cs.ucla.edu>
1399         * lib/install-sh (dstdir): Don't use semicolons inside { } in
1400         sed scripts, as Posix says it's not portable.
1401         * lib/missing (file): Likewise.
1402         * lib/am/distdir.am (distcheck): Likewise.
1403         * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
1404         * tests/distcom2.test, tests/distcom3.test: Likewise.
1405         * tests/distcom4.test, tests/distcom5.test: Likewise.
1406         * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
1408 2006-01-12  Alexandre Duret-Lutz  <adl@gnu.org>
1410         * ChangeLog: Move 2004's entries to ...
1411         * ChangeLog.04: ... this new file.
1412         * Makefile.am (EXTRA_DIST): Add ChangeLog.04.
1414         * tests/txinfo13.test: Test fix below.
1416 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1418         * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted
1419         extra files in distribution.  Reported by Vincent Lefevre.
1421 2006-01-06  Alexandre Duret-Lutz  <adl@gnu.org>
1423         * doc/automake.texi (Linking, Program and Library Variables):
1424         Mention the file extensions that usually appear in _DEPENDENCIES,
1425         and point to BUILT_SOURCES and example of _DEPENDENCIES uses.  A
1426         couple of people have been listing sources files in _DEPENDENCIES
1427         lately.
1429         * doc/automake.texi: Bump copyright year.
1430         * automake.in ($gen_copyright, version): Likewise.
1431         * aclocal.in (write_aclocal, version): Likewise.
1433 2006-01-05  Stepan Kasal  <kasal@ucw.cz>
1434             Alexandre Duret-Lutz  <adl@gnu.org>
1436         * automake.in (topsrcdir): New global.
1437         (generate_makefile): Compute it.
1438         (fill_dist_dirs): New function extracted from handle_dist.
1439         (handle_dist, handle_configure): Use fill_dist_dirs.
1440         * tests/distdir.test: Test for cases where $(top_srcdir) or
1441         $(srcdir) appear in EXTRA_DIST.  Report from Sander Niemeijer.
1443 2006-01-05  Zack Weinberg  <zackw@panix.com>
1444             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1446         * lib/depcomp: Add 'ia64hp' dependency style.
1447         Zack's original patch was contributed to GCC on 2005-06-13.
1448         (tru64): Typo.
1450 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
1452         * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
1453         the code is portable to both POSIX and pre-POSIX shells.
1455 2005-10-17  Alexandre Duret-Lutz  <adl@gnu.org>
1457         * tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
1458         suggested by Eric Blake.
1460 2005-10-17  Stepan Kasal  <kasal@ucw.cz>
1462         * doc/automake.texi (Program and Library Variables): Typo.
1463         * lib/Automake/Variable.pm (transform_variable_recursively): Typo
1464         in a comment.
1466 2005-10-03  Stepan Kasal  <kasal@ucw.cz>
1468         * ChangeLog.03, automake.in, tests/overrid.test: Typos.
1470 2005-10-03  Alexandre Duret-Lutz  <adl@gnu.org>
1472         * tests/nobase.test: Exercise previous patch.
1474 2005-10-03  Peter O'Gorman  <peter@pogma.com>  (tiny change)
1476         * lib/am/distdir.am: Remove $(SHELL) when calling install_sh
1477         * m4/strip.m4: Ditto.
1478         * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
1480 2005-09-13  Paul Eggert  <eggert@cs.ucla.edu>
1482         * doc/automake.texi (limitations on file names): New section.
1483         * lib/install-sh: Rewrite to support '*' in file names.
1484         Also, tune so that we don't invoke so many commands in the usual case.
1485         This has the side effect of fixing `install-sh -d' to not fail if it
1486         loses the race in creating the last path component against another
1487         process.
1488         * tests/instspc.test: The "*" test is now fixed.
1490 2005-09-13  Stepan Kasal  <kasal@ucw.cz>
1492         * automake.in (Languages) <cppasm>: Fix typo in the comment.
1494 2005-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1496         * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
1497         shell in verbose mode.
1499 2005-08-07  Alexandre Duret-Lutz  <adl@gnu.org>
1501         * lib/Automake/Variable.pm (variable_value): Do not read the TRUE
1502         value of a conditionally defined variable.
1503         Report from Juergen Leising.
1505         * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
1506         $(MAKE) invocations.
1507         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
1508         Likewise.
1509         * lib/am/texi-vers.am (%STAMPVTI%): Likewise.
1510         * lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
1511         * Makefile.am (maintainer-check): Check for this.
1512         Report from Stepan Kasal.
1514         * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.
1515         Prompted by Stepan Kasal.
1517 2005-08-07  Stepan Kasal  <kasal@ucw.cz>
1519         * lib/am/texinfos.am (uninstall-info-am): Call install-info only if
1520         the $(infodir) exists.
1522 2005-07-31  Stepan Kasal  <kasal@ucw.cz>
1524         * tests/library3.test: Fix a typo which made the test fail.
1526 2005-07-27  Alexandre Duret-Lutz  <adl@gnu.org>
1528         * doc/automake.texi (Linking, Program and Library Variables):
1529         Suggest reserving -l for third-party libraries.
1531         * lib/Automake/Variable.pm (require_variables): Mention aclocal's
1532         search path when suggesting to add a macro in configure.ac.
1533         People are confused when Automake suggests adding a macro (such as
1534         AC_PROG_LIBTOOL) that is already in configure.ac.
1535         * automake.in (require_file_internal): Suggest `automake --add-missing'
1536         for missing files that can be installed.
1537         * tests/library3.test: Adjust.
1539 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
1541         * tests/defs.in: When required matches both `*libtool*' and
1542         `*gettext*', check for both m4 files.
1544         * doc/automake.texi (Auxiliary Programs): Fix a typo.
1545         * tests/suffix11.test: Fix a typo.
1546         * tests/colon3.test: s/EGREP/FGREP/.
1548 2005-07-19  Paul Eggert  <eggert@cs.ucla.edu>
1550         * tests/instspc.test: Major rewrite to test for many other
1551         problematic file names, e.g., '$', '"', '('.  Automake and
1552         Autoconf can't handle many of them, so do not report a failure
1553         if the usual candidates show up.
1555 2005-07-19  Stepan Kasal  <kasal@ucw.cz>
1557         * Makefile.am (automake, aclocal): Merge the rules.
1559 2005-07-10  Alexandre Duret-Lutz  <adl@gnu.org>
1561         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1562         versions.
1564 2005-07-09  Alexandre Duret-Lutz  <adl@gnu.org>
1566         * lib/install-sh: Use IFS=/ to split directories on /, don't translate
1567         / into % as it prevents directory names using %...
1569 2005-07-09  Stepan Kasal  <kasal@ucw.cz>
1571         * doc/automake.texi (Public macros): Typo.
1572         * aclocal.in: Typo in comment.
1574 2005-07-09  Zack Weinberg  <zack@codesourcery.com>  (tiny change)
1576         * lib/depcomp: Handle "#line" markers as well as "# " markers in
1577         "cpp" style, so it can work with newer HP compilers (for their
1578         ia64 systems).
1580 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
1582         * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
1583         fix an underful hbox.
1584         * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
1585         New upstream versions.
1587 2005-07-01  Alexandre Duret-Lutz  <adl@gnu.org>
1589         * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
1591 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
1593         * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
1594         lib/am/header-vars.am no longer uses it.
1595         * lib/am/libtool.am (distclean-am, distclean-libtool): Define
1596         if TOPDIR_P is true, not TOPDIR.
1597         Suggested by Stepan Kasal.
1599         * automake.in (read_am_file): Correctly diagnose comments following
1600         trailing backslash.
1601         * tests/commen10.test: New file.
1602         * tests/Makefile.am (TESTS): Add commen10.test.
1603         Report from Harald Dunkel.
1605         * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead
1606         of AC_SUBST.
1607         * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL):
1608         Do not define, they are AC_SUBST_TRACEd by Autoconf.
1609         * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c.
1610         * tests/include.test: Call AC_OUTPUT.
1612 2005-06-29  Alexandre Duret-Lutz  <adl@gnu.org>
1614         * lib/mkinstalldirs: Fix support for directory name with spaces if
1615         `mkdir -p' does not work.
1616         * tests/Makefile.am (TESTS): Add mkinst3.test.
1617         * tests/mkinst3.test: New file.
1618         Report from Noah Friedman.
1620         * doc/automake.texi (Include, Extending aclocal): Typos.
1621         Report from Karl Berry.
1623 2005-06-28  Stepan Kasal  <kasal@ucw.cz>
1624             Alexandre Duret-Lutz  <adl@gnu.org>
1626         * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
1627         * tests/txinfo28.test: Set TIME_STYLE.
1628         Report from Vincent Lefevre and James Youngman.
1630 2005-06-24  Alexandre Duret-Lutz  <adl@gnu.org>
1632         * lib/Automake/Variable.pm (define, _new): Remember the helper
1633         variable created for the last conditional += on each variable, and
1634         only append further += in the same condition to this last helper
1635         variable, not to older helper variables.  This way the order of
1636         the items appended to the variable is preserved.
1637         * tests/cond21.test: Adjust.
1638         * tests/cond38.test: New file.
1639         * tests/Makefile.am (TESTS): Add cond38.test.
1640         Report from Ed Hartnett.
1642 2005-06-22  Alexandre Duret-Lutz  <adl@gnu.org>
1644         * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
1646         * automake.in (handle_footer): Do not output an unformatted
1647         definition of SOURCES, it is already done correctly in
1648         generate_makefile.  This superfluous definition introduced long
1649         lines in some Makefiles, hence breakages in tools with a limited
1650         line length.  Report from Mathias Froehlich.
1652 2005-06-11  Alexandre Duret-Lutz  <adl@gnu.org>
1654         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
1655         Fix redirections in previous patch.
1657 2005-06-08  Alexandre Duret-Lutz  <adl@gnu.org>
1659         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
1660         Do not backup any file if makeinfo is not installed.
1661         * lib/missing (makeinfo): Do not touch a missing info file.
1662         * tests/txinfo30.test: New file.
1663         * tests/Makefile.am (TESTS): Add txinfo30.test.
1664         Report from Bob Proulx.
1666         * doc/automake.texi (Extending aclocal): Typo.
1668 2005-05-24  Brian Gough  <bjg@network-theory.co.uk>  (tiny change)
1670         * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
1672 2005-05-15  Alexandre Duret-Lutz  <adl@gnu.org>
1674         Fix PR automake/461:
1675         * automake.in (require_build_directory): Canonicalize directories
1676         with different names, such as `foo/bar' and `./foo//bar'.
1677         * tests/subobj9.test: Augment to test that.
1678         Report from Tom Tromey.
1680 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
1682         * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
1683         ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am,
1684         NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure,
1685         configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING,
1686         lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in,
1687         lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp,
1688         lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile,
1689         lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
1690         lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
1691         lib/Automake/Condition.pm, lib/Automake/Config.in,
1692         lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
1693         lib/Automake/FileUtils.pm, lib/Automake/General.pm,
1694         lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
1695         lib/Automake/Location.pm, lib/Automake/Makefile.am,
1696         lib/Automake/Options.pm, lib/Automake/Rule.pm,
1697         lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
1698         lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
1699         lib/Automake/Version.pm, lib/Automake/Wrap.pm,
1700         lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
1701         lib/Automake/tests/DisjConditions.pl,
1702         lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
1703         lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
1704         lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
1705         lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
1706         lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
1707         lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
1708         lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
1709         lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
1710         lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
1711         lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
1712         lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
1713         lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
1714         lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
1715         lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
1716         lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
1717         m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
1718         tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
1719         tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
1720         tests/acloca17.test, tests/acloca18.test, tests/acloca19.test,
1721         tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test,
1722         tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test,
1723         tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test,
1724         tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test,
1725         tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test,
1726         tests/acsubst.test, tests/acsubst2.test, tests/all.test,
1727         tests/alloca.test, tests/alloca2.test, tests/alpha.test,
1728         tests/alpha2.test, tests/amassign.test, tests/ammissing.test,
1729         tests/ansi.test, tests/ansi10.test, tests/ansi2.test,
1730         tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test,
1731         tests/ansi5.test, tests/ansi6.test, tests/ansi7.test,
1732         tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test,
1733         tests/asm.test, tests/autohdr.test, tests/autohdr2.test,
1734         tests/autohdr3.test, tests/autohdr4.test, tests/automake.test,
1735         tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test,
1736         tests/auxdir4.test, tests/backsl.test, tests/backsl2.test,
1737         tests/backsl3.test, tests/backsl4.test, tests/badline.test,
1738         tests/badopt.test, tests/badprog.test, tests/block.test,
1739         tests/bsource.test, tests/canon.test, tests/canon2.test,
1740         tests/canon3.test, tests/canon4.test, tests/canon5.test,
1741         tests/ccnoco.test, tests/check.test, tests/check2.test,
1742         tests/check3.test, tests/check4.test, tests/checkall.test,
1743         tests/clean.test, tests/clean2.test, tests/colneq.test,
1744         tests/colneq2.test, tests/colon.test, tests/colon2.test,
1745         tests/colon3.test, tests/colon4.test, tests/colon5.test,
1746         tests/colon6.test, tests/colon7.test, tests/comment.test,
1747         tests/comment2.test, tests/comment3.test, tests/comment4.test,
1748         tests/comment5.test, tests/comment6.test, tests/comment7.test,
1749         tests/comment8.test, tests/comment9.test, tests/compile.test,
1750         tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test,
1751         tests/cond.test, tests/cond10.test, tests/cond11.test,
1752         tests/cond13.test, tests/cond14.test, tests/cond15.test,
1753         tests/cond16.test, tests/cond17.test, tests/cond18.test,
1754         tests/cond19.test, tests/cond2.test, tests/cond20.test,
1755         tests/cond21.test, tests/cond22.test, tests/cond23.test,
1756         tests/cond24.test, tests/cond25.test, tests/cond26.test,
1757         tests/cond27.test, tests/cond28.test, tests/cond29.test,
1758         tests/cond3.test, tests/cond30.test, tests/cond31.test,
1759         tests/cond32.test, tests/cond33.test, tests/cond34.test,
1760         tests/cond35.test, tests/cond36.test, tests/cond37.test,
1761         tests/cond4.test, tests/cond5.test, tests/cond6.test,
1762         tests/cond7.test, tests/cond8.test, tests/cond9.test,
1763         tests/condd.test, tests/condhook.test, tests/condinc.test,
1764         tests/condinc2.test, tests/condlib.test, tests/condman.test,
1765         tests/condman2.test, tests/conf2.test, tests/confdeps.test,
1766         tests/conff.test, tests/conff2.test, tests/confh.test,
1767         tests/confh4.test, tests/confh5.test, tests/config.test,
1768         tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
1769         tests/conflnk3.test, tests/confsub.test, tests/confvar.test,
1770         tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
1771         tests/cxx.test, tests/cxx2.test, tests/cxxansi.test,
1772         tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test,
1773         tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test,
1774         tests/dash.test, tests/defs.in, tests/defun.test,
1775         tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
1776         tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
1777         tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
1778         tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test,
1779         tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test,
1780         tests/depend.test, tests/depend2.test, tests/depend3.test,
1781         tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
1782         tests/dirlist.test, tests/discover.test, tests/distcom2.test,
1783         tests/distcom3.test, tests/distcom4.test, tests/distcom5.test,
1784         tests/distcom6.test, tests/distcom7.test, tests/distdir.test,
1785         tests/distname.test, tests/dollar.test, tests/double.test,
1786         tests/dup2.test, tests/else.test, tests/empty.test,
1787         tests/empty2.test, tests/empty3.test, tests/empty4.test,
1788         tests/exdir.test, tests/exdir2.test, tests/exeext.test,
1789         tests/exeext2.test, tests/exeext3.test, tests/exeext4.test,
1790         tests/exsource.test, tests/ext.test, tests/ext2.test,
1791         tests/extra.test, tests/extra2.test, tests/extra3.test,
1792         tests/extra4.test, tests/extra5.test, tests/extra6.test,
1793         tests/extra7.test, tests/f90only.test, tests/flibs.test,
1794         tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test,
1795         tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
1796         tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
1797         tests/gcj5.test, tests/getopt.test, tests/gettext.test,
1798         tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
1799         tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
1800         tests/gnuwarn2.test, tests/header.test, tests/help.test,
1801         tests/hfs.test, tests/hosts.test, tests/implicit.test,
1802         tests/include.test, tests/include2.test, tests/info.test,
1803         tests/insh2.test, tests/install2.test, tests/installdir.test,
1804         tests/instdat.test, tests/instdat2.test, tests/instexec.test,
1805         tests/insthook.test, tests/instman.test, tests/instman2.test,
1806         tests/instsh.test, tests/instsh2.test, tests/instspc.test,
1807         tests/interp.test, tests/interp2.test, tests/java.test,
1808         tests/java2.test, tests/java3.test, tests/javaprim.test,
1809         tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
1810         tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
1811         tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
1812         tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
1813         tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
1814         tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
1815         tests/library.test, tests/library2.test, tests/library3.test,
1816         tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
1817         tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
1818         tests/libtool7.test, tests/libtool8.test, tests/libtool9.test,
1819         tests/license.test, tests/link_c_cxx.test, tests/link_dist.test,
1820         tests/link_f90_only.test, tests/link_f_only.test,
1821         tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
1822         tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
1823         tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
1824         tests/lisp8.test, tests/listval.test, tests/location.test,
1825         tests/longlin2.test, tests/longline.test, tests/ltcond.test,
1826         tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
1827         tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
1828         tests/make.test, tests/makej.test, tests/makevars.test,
1829         tests/man.test, tests/man2.test, tests/mclean.test,
1830         tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
1831         tests/mdate4.test, tests/missing.test, tests/missing2.test,
1832         tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
1833         tests/mmodely.test, tests/multlib.test, tests/nobase.test,
1834         tests/nodef.test, tests/nodef2.test, tests/nodep.test,
1835         tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
1836         tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
1837         tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
1838         tests/nostdinc.test, tests/number.test, tests/obsolete.test,
1839         tests/order.test, tests/outdir.test, tests/output.test,
1840         tests/output10.test, tests/output11.test, tests/output12.test,
1841         tests/output2.test, tests/output3.test, tests/output4.test,
1842         tests/output5.test, tests/output6.test, tests/output7.test,
1843         tests/output8.test, tests/output9.test, tests/overrid.test,
1844         tests/parse.test, tests/percent.test, tests/percent2.test,
1845         tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
1846         tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
1847         tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
1848         tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
1849         tests/ppf77.test, tests/pr2.test, tests/pr204.test,
1850         tests/pr211.test, tests/pr220.test, tests/pr224.test,
1851         tests/pr229.test, tests/pr243.test, tests/pr266.test,
1852         tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
1853         tests/pr300-lib.test, tests/pr300-ltlib.test,
1854         tests/pr300-prog.test, tests/pr307.test, tests/pr401.test,
1855         tests/pr401b.test, tests/pr401c.test, tests/pr72.test,
1856         tests/pr87.test, tests/pr9.test, tests/prefix.test,
1857         tests/primary.test, tests/primary2.test, tests/primary3.test,
1858         tests/proginst.test, tests/python.test, tests/python10.test,
1859         tests/python11.test, tests/python12.test, tests/python2.test,
1860         tests/python3.test, tests/python4.test, tests/python5.test,
1861         tests/python6.test, tests/python7.test, tests/python8.test,
1862         tests/python9.test, tests/recurs.test, tests/recurs2.test,
1863         tests/regex.test, tests/remake.test, tests/remake2.test,
1864         tests/remake3.test, tests/remake4.test, tests/remake5.test,
1865         tests/req.test, tests/reqd.test, tests/reqd2.test,
1866         tests/rulepat.test, tests/scripts.test, tests/seenc.test,
1867         tests/sinclude.test, tests/space.test, tests/specflg.test,
1868         tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
1869         tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
1870         tests/spell.test, tests/spell2.test, tests/spell3.test,
1871         tests/spelling.test, tests/spy.test, tests/srcsub.test,
1872         tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
1873         tests/stdlib2.test, tests/strip.test, tests/subcond.test,
1874         tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
1875         tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
1876         tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
1877         tests/subdir8.test, tests/subdir9.test,
1878         tests/subdirbuiltsources.test, tests/subobj.test,
1879         tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
1880         tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
1881         tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
1882         tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
1883         tests/subst2.test, tests/substre2.test, tests/substref.test,
1884         tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
1885         tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
1886         tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
1887         tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
1888         tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
1889         tests/syntax.test, tests/tags.test, tests/tagsub.test,
1890         tests/tar.test, tests/tar2.test, tests/tar3.test,
1891         tests/target-cflags.test, tests/targetclash.test,
1892         tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
1893         tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
1894         tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
1895         tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
1896         tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
1897         tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
1898         tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
1899         tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
1900         tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
1901         tests/vars.test, tests/vars3.test, tests/vartar.test,
1902         tests/version.test, tests/version2.test, tests/version3.test,
1903         tests/version4.test, tests/version6.test, tests/version7.test,
1904         tests/version8.test, tests/vpath.test, tests/vtexi.test,
1905         tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
1906         tests/werror2.test, tests/whoami.test, tests/xsource.test,
1907         tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
1908         tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
1909         tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
1910         tests/yaccvpath.test: Update FSF postal mail address.
1912         * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
1913         Autoconf currently defines a CCC variable.
1915         * tests/output11.test, tests/output12.test: Use rm -f.
1917 2005-04-25  Gary V. Vaughan  <gary@gnu.org>
1918             Alexandre Duret-Lutz  <adl@gnu.org>
1920         Support for remote LIBOBJS (and friends) with subdir-objects.
1921         Fixes PR automake/401.
1923         * automake.in (config_libobj_dir): New variable.
1924         (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
1925         (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
1926         (handle_LIBOBJS, handle_ALLOCA): Use them.  Adjust location of
1927         dependency files, possibly in a subdirectory.
1928         * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
1929         * tests/Makefile.am (TESTS): Add them.
1930         * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
1931         (LIBOBJS): Document changes in behaviour of
1932         LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
1933         subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
1935 2005-04-18  Jim Meyering  <jim@meyering.net>
1937         * doc/automake.texi (Dist): Correct English.
1939 2005-03-31  Stepan Kasal  <kasal@ucw.cz>
1941         * doc/automake.texi: When the phrase "for instance" introduces a
1942         sentence, it should be delimited by a comma.
1944         * doc/automake.texi: Fix a few typos.
1946 2005-03-30  Alexandre Duret-Lutz  <adl@gnu.org>
1948         * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
1949         example, since the GCS now define htmldir.
1950         (Auxiliary Programs): Mention config-ml.in and symlink-tree.
1951         Give a URL for texinfo.tex.
1952         (Public macros): Sort alphabetically, and move obsolete macros...
1953         (Obsolete macros): ... here.
1954         Prompted by Karl Berry.
1956 2005-03-29  Alexandre Duret-Lutz  <adl@gnu.org>
1958         * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
1959         Jim Meyering.
1961         * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
1962         rule is run with `make -j'.
1963         * doc/automake.texi (Multiple Outputs): Adjust.
1964         * tests/lisp6.test: Augment it.
1965         * tests/lisp8.test: New file.
1966         * tests/Makefile.am (TESTS): Add lisp8.test.
1967         Suggested by Bruno Haible.
1969 2005-03-27  Alexandre Duret-Lutz  <adl@gnu.org>
1971         * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
1973 2005-03-16  Alexandre Duret-Lutz  <adl@gnu.org>
1975         * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
1976         a missing *.elc file if it cannot be created because emacs does
1977         not exist.
1978         * tests/lisp7.test: New file.
1979         * tests/Makefile.am (TESTS): Add lisp7.test.
1980         Report from Greg Schafer.
1982 2005-03-05  Alexandre Duret-Lutz  <adl@gnu.org>
1984         * doc/automake.texi: Replace wicked whiches by thats.
1986 2005-03-04  Alexandre Duret-Lutz  <adl@gnu.org>
1988         * aclocal.in (scan_configure_dep, scan_file): Include file names
1989         are relative to the directory of configure.ac, not to the
1990         directory of the file doing the include.  Remove code for this
1991         latter case.
1992         * tests/acloca13.test: Run distcheck and make sure all macros are
1993         actually distributed.
1995 2005-03-03  Alexandre Duret-Lutz  <adl@gnu.org>
1997         For PR automake/450:
1998         * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
1999         files.
2000         * automake.in (scan_autoconf_traces): Likewise.
2001         * tests/sinclude.test: Augment.
2002         Report from Peter Breitenlohner.
2004         For PR automake/450:
2005         * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
2006         acinclude.m4 and configure.ac to the include map in these two
2007         places ...
2008         (strip_redundant_includes): ... do it here.  This completes the
2009         previous change from 2005-03-01, that did not update
2010         write_aclocal.
2011         * tests/acloca19.test: Augment.
2012         Report from Peter Breitenlohner.
2014 2005-03-02  Alexandre Duret-Lutz  <adl@gnu.org>
2016         * tests/comment9.test: Typo.
2018 2005-03-01  Alexandre Duret-Lutz  <adl@gnu.org>
2020         * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
2021         * tests/comment9.test: New file.
2022         * tests/Makefile.am (TESTS): Add comment9.test.
2023         Report from Julien Sopena.
2025         For PR automake/450:
2026         * aclocal.in (trace_used_macros): Do not explicitly trace files
2027         included by configure.ac.
2028         * tests/acloca19.test: New file.
2029         * tests/Makefile.am (TESTS): Add acloca19.test.
2030         Report from Peter Breitenlohner.
2032 2005-02-27  Alexandre Duret-Lutz  <adl@gnu.org>
2034         Fix for PR automake/448:
2035         * automake.in (handle_factored_dependencies): Flag install-hook as
2036         an error.
2037         * tests/insthook.test: Exercise this.
2039         * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
2040         * doc/automake.texi (Hard-Coded Install Paths): Adjust.
2042         * doc/automake.texi: Replace many uses of @samp by @code, and
2043         vice versa.  Use @command, @option, and @env where appropriate.
2045 2005-02-26  Alexandre Duret-Lutz  <adl@gnu.org>
2047         * doc/automake.texi: "filename" -> "file name", for consistency
2048         with GNU Coding Standards.  See also Paul's change on 2004-08-20
2049         in Autoconf.
2051         * doc/automake.texi (A Library, Libtool Libraries): Show how to link
2052         a program with a static or libtool library.
2053         (Program and Library Variables): Make clearer that _LDADD and
2054         _LIBADD may also list libraries.
2055         Prompted by a mail from Bruce Korb.
2057         * doc/automake.texi (Alternative): Show how to rewrite nobase_
2058         variables using custom directory variables, and link to node
2059         Uniform.  Suggested by Leonardo Boiko.
2061         * doc/automake.texi (Flag Variables Ordering, User Variables):
2062         Make clearer who the maintainer is, and that he can AC_SUBST AM_
2063         variables in configure.ac.  Suggested by Norman Gray.
2064         (Uniform, Public macros, Libtool Issues, Java Support,
2065         Conditionals): Use `---' for em dash, and stick them to the
2066         enclosing text.
2068         * doc/automake.texi: Reword a few sentences to fix all underflow
2069         and overflow warnings during `make dvi'.
2070         (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
2071         (Public macros) <AM_WITH_DMALLOC>: Likewise.
2073 2005-02-12  Alexandre Duret-Lutz  <adl@gnu.org>
2075         * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
2076         lib/texinfo.tex: New upstream versions.
2078         * doc/automake.texi (Hard-Coded Install Paths): New node.
2079         (Extending, Extending aclocal, Python): Link to it.
2080         (Extending): Don't show how to install a file in /etc/ directly,
2081         this is insane.
2083         * automake.in (read_am_file): Define variables containing long
2084         lines as VAR_PRETTY to work around tools with limited input width.
2085         * tests/longlin2.test: New file.
2086         * tests/Makefile.am (TESTS): Add it.
2087         Report from Albert Chin.
2089 2005-02-09  Alexandre Duret-Lutz  <adl@gnu.org>
2091         Fix for PR automake/447:
2092         * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
2093         Report from Mathias Doreille.  Add some old comments from
2094         Nicolas Joly for reference.
2096 2005-02-08  Stepan Kasal  <kasal@ucw.cz>
2098         * lib/mdate-sh: Check the size of the word following the month to
2099         catch Darwin.  This way the filename can contain spaces.
2101         * doc/automake.texi (Requirements, Options): Typos.
2103 2005-02-08  Alexandre Duret-Lutz  <adl@gnu.org>
2105         * lib/missing (makeinfo): Compute the output file if neither -o
2106         nor @setfilename is used.
2107         Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
2109 2005-02-07  Alexandre Duret-Lutz  <adl@gnu.org>
2111         * doc/automake.texi (Requirements): Show one example of
2112         AC_CONFIG_FILES with multiple outputs, and correct a few typos.
2114         * aclocal.in ($serial_line_rx): Expect at least one space between
2115         `serial' and the following number.
2116         Report from Jim Meyering.
2118         * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
2119         Report from Peter O'Gorman.
2121 2005-02-06  Alexandre Duret-Lutz  <adl@gnu.org>
2123         * aclocal.in (usage, parse_arguments): New --dry-run and --diff
2124         options.
2125         (install_file, write_aclocal): Honor --dry-run and --diff.
2126         * doc/automake.texi (aclocal options): Document --dry-run and --diff.
2127         (Serials): Mention --diff.
2128         * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
2129         $expected_exit_code argument.
2130         (xsystem): Take a list of arguments, not a string.
2131         * tests/acloca18.test: Use --dry-run and --diff.
2132         Suggested by Paul Eggert.
2134         * doc/automake.texi (aclocal options, Macro search path,
2135         Extending aclocal, Local Macros, Serials, Future of aclocal): Make
2136         these subsection of ...
2137         (Invoking aclocal): ... this.
2139         * aclocal.in ($serial_line_rx): Allow trailing garbage after the
2140         serial number.
2141         (scan_file): Explicitly mark the "ill-formed serial" message
2142         as a warning.
2143         * doc/automake.texi (aclocal options, Local Macros): Link to...
2144         (Serials): ... this new section.
2146 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
2148         * lib/compile: Likewise.
2150 2005-02-02  Alexandre Duret-Lutz  <adl@gnu.org>
2152         * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
2153         see 2004-12-17.
2154         * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
2155         status if a write failure occurs with --help or --version option,
2156         as below.
2158 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
2160         * lib/depcomp: Exit with nonzero status if a write failure occurs
2161         with --help or --version option.
2162         * lib/elisp-comp: Likewise.
2163         * lib/gnupload: Likewise.
2164         * lib/install-sh: Likewise.
2165         * lib/missing: Likewise.
2166         * lib/mkinstalldirs: Likewise.
2168 2005-02-01  Alexandre Duret-Lutz  <adl@gnu.org>
2170         * doc/automake.texi (aclocal options): Typo.
2172         * aclocal.in (list_compare): New functions.
2173         (scan_file): Honor #serial lines.
2174         * tests/acloca18.test: New test.
2175         * tests/Makefile.am (TESTS): Add it.
2176         * doc/automake.texi (aclocal options, Local Macros): Document
2177         #serial.
2179 2005-01-30  Alexandre Duret-Lutz  <adl@gnu.org>
2181         Preliminary support for `aclocal --install'.
2182         This still lacks #serial support.
2183         * aclocal.in (reset_maps, install_file): New functions.
2184         (write_aclocal): Copy files if --install.
2185         (usage, parse_arguments): Recognize --install.
2186         ("MAIN"): Start aclocal again if some file were installed.
2187         * tests/acloca10.test: Augment to test --install.
2188         * tests/aclocal.in, tests/defs.in: Add support for
2189         ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
2190         * doc/automake.texi (aclocal options, Local Macros): Document
2191         --install.
2192         (Future of aclocal): Adjust.
2194         * doc/automake.texi (Macro search path): Using --acdir is not
2195         obvious, it's erroneous.
2197         * doc/automake.texi (direntry): Let `info Automake' point to the
2198         manual, and `info automake' to the `Invoking automake' node.  Like
2199         in Autoconf.
2201 2005-01-27  Akim Demaille  <akim@epita.fr>
2203         * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
2204         From Paul Eggert.
2206 2005-01-24  Akim Demaille  <akim@epita.fr>
2208         * lib/Automake/FileUtils.pm: Rename filename as file_name to be
2209         consistent with the terminology of the GNU coding standards.
2210         From Paul Eggert.
2211         (update_file): Accept a $force argument, so that --force always
2212         updates the time stamps.
2214 2005-01-23  Alexandre Duret-Lutz  <adl@gnu.org>
2216         * doc/automake.texi (How the Linker is Chosen): Explain how the
2217         linker is chosen without diagram, and update to match the code.
2218         Suggestion from Adrian Bunk.
2220 2005-01-16  Alexandre Duret-Lutz  <adl@gnu.org>
2222         * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
2223         Process all words of $MAKEFLAGS when checking for -k.
2224         * tests/check4.test: New file.
2225         * tests/Makefile.am (TESTS): Add check4.test.
2226         Report from Eric Blake.
2228 2005-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
2230         * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
2231         AM_INIT_AUTOMAKE if the version passed is incorrect.
2232         * tests/version8.test: New file.
2233         * tests/Makefile.am (TESTS): Add version8.test.
2235 2005-01-09  Alexandre Duret-Lutz  <adl@gnu.org>
2237         * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
2238         m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
2239         m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
2240         m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
2241         m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
2242         m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
2243         m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
2244         m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
2245         license that is used in aclocal.m4.  Relicensing backed by RMS.
2247         * doc/automake.texi (A Library, LIBOBJS): Mention that empty
2248         libraries are not portable.
2250 2005-01-05  Akim Demaille  <akim@epita.fr>
2252         * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
2253         * tests/aclocal5.test (MORE_DEFS): Rename as...
2254         (AM_TEST): this so that undefined macros are caught.
2255         And make it an alias of AC_SUBST.
2256         Test AU_ALIAS.
2257         Reported by Martin Bravenboer.
2259 2005-01-03  Alexandre Duret-Lutz  <adl@gnu.org>
2261         Fix handling of per-target flags in link rules.
2262         * automake.in (define_per_target_linker_variable): New function.
2263         (handle_programs, handle_ltlibraries): Use it.
2264         (%link_languages): New map.
2265         (register_language): Fill it.
2266         * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
2267         $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
2268         define_per_target_linker_variable if needed.
2269         * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
2270         $(%XPROGRAM%_LDFLAGS).
2271         * doc/automake.texi (Program and Library Variables): Mention
2272         AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
2273         and maude_LIBTOOLFLAGS.
2274         * tests/libtool9.test: New file.
2275         * tests/Makefile.am (TESTS): Add it.
2276         * NEWS: Explain the backward incompatibility.
2277         Report from Akim Demaille.
2279 2005-01-01  Alexandre Duret-Lutz  <adl@gnu.org>
2281         * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
2282         specifications with shell variables.
2283         (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
2284         AC_CONFIG_FILES for this explanation.
2285         * automake.in (substitute_ac_subst_variables_worker,
2286         substitute_ac_subst_variables): Mew functions.
2287         (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
2288         to ignore dependencies that contain unAC_SUBSTed shell variables.
2289         (handle_configure): Likewise, do not output rules for
2290         AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
2291         unAC_SUBSTed contain shell variables.
2292         * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
2293         * tests/output11.test, tests/output12.test: New files.
2294         * tests/Makefile.am (TESTS): Add output11.test and output12.test.
2296         * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
2297         * automake.in ($gen_copyright, version): Likewise.
2299 -----
2301 Copyright (C) 2005, 2006, 2007  Free Software Foundation, Inc.
2303 Copying and distribution of this file, with or without modification, are
2304 permitted provided the copyright notice and this notice are preserved.
2306 ;; Variables:
2307 ;; coding: utf-8
2308 ;; End: