* lib/am/depend2.am: Typo.
[platform/upstream/automake.git] / ChangeLog
1 2006-10-15  Alexandre Duret-Lutz  <adl@gnu.org>
2
3         * lib/am/depend2.am: Typo.
4         * lib/depcomp (scriptversion): Bump, to account for recent changes.
5
6         * doc/automake.texi (Examples): Introduce the example, and point
7         to Hello World.
8         (Hello): Remove this obsolete node.
9
10 2006-10-15  Hans Ulrich Niedermann  <hun@n-dimensional.de>
11             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12
13         For PR automake/507:
14         * lib/am/distdir.am (distdir): filename-length-max check is not
15         done in sub-packages.
16         * doc/automake.texi (Options): Document this.
17         * tests/fn99subdir.test: New test.
18         * tests/Makefile.am: Update.
19         * THANKS: Update.
20
21 2006-10-14  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
22
23         * doc/automake.texi (Third-Party Makefiles): Fix typo.
24         * THANKS: Update.
25
26 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
27
28         * aclocal.in (write_aclocal): Improve warning for mismatched
29         Autoconf version.
30
31         * automake.in: For preprocessed assembler, add `$(DEFS)
32         $(DEFAULT_INCLUDES) $(INCLUDES)' to the compile rule.
33         * doc/automake.texi (Assembly Support): Update.
34         * NEWS: Update.
35         Suggested by Thomas Schwinge and Ralf Corsepius.
36
37         For PR automake/492.
38         * automake.in (output_flag): Set to `-o' for Assembler and
39         preprocessed Assembler, assuming that all understand `-c -o'.
40         * THANKS, NEWS: Update.
41         * tests/subobj10.test: New test.
42         * tests/Makefile.am: Update.
43         Report by Thomas Schwinge.
44
45         * automake.in (%_macro_for_cond): New variable.
46         (cond_stack_if): Use it for better error message about
47         missing dependency tracking conditionals.
48         * tests/asm2.test: New test, modeled after asm.test.
49         * tests/Makefile.am: Adjust.
50         Report by Ralf Corsepius.
51
52         * doc/automake.texi (Options): `no-dependencies' is similar
53         to `--ignore-deps', not `--include-deps'.
54         * m4/as.m4 (AM_PROG_AS): If `no-dependencies', do not invoke
55         _AM_DEPENDENCIES.
56         * tests/nodep2.test: New test.
57         * tests/Makefile.am: Adjust.
58
59         * automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the
60         LIBOBJDIR, then we should not add a DEPDIR prefix.
61         * tests/pr401.test: Update test.
62         * tests/pr401b.test: Likewise.
63         * tests/pr401c.test: Likewise.
64         Report by Jim Meyering and Eric Blake.
65
66         * lib/depcomp (gcc3): Put dependency extraction flags before the
67         `-c' flag, so they appear at the same position as in %FASTDEP%
68         mode in depend2.am.  Fixes build failure for FreeBSD's c89,
69         which ignores unknown options only after the first non-option.
70         Bug report against M4 by Nelson H. F. Beebe.
71
72 2006-10-14  Bruno Haible  <bruno@clisp.org>
73             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
74
75         * automake.in ($seen_gettext_intl): New variable.
76         (handle_gettext): Consider it.
77         (scan_autoconf_traces): Add AM_GNU_GETTEXT_INTL_SUBDIR to the list.
78         Set $seen_gettext_intl when it is seen.
79         * doc/automake.texi (gettext, Optional): Update.
80         * tests/gettext3.test: New test.
81         * tests/Makefile.am: Update.
82
83 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
84
85         * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
86         which incorrectly sets the mode of an existing destination
87         directory.  In some cases the unpatched install-sh could do the
88         equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
89         system.  We hope this is rare in practice, but it's clearly worth
90         fixing.  Problem reported by Alex Unleashed in
91         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
92         Also, don't bother to check for -m bugs unless we're using -m;
93         suggested by Stepan Kasal.
94
95 2006-10-14  Geoffrey Keating  <geoffk@apple.com> (tiny change)
96
97         * m4/multi.m4: Non-default multilibs may be cross compilation.
98
99 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
100
101         * automake.in: Fix some typos in comments.
102         * lib/Automake/Variable.pm: Likewise.
103
104 2006-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
105
106         * automake.in (handle_compile): Use subst, for maintainer-check.
107
108 2006-10-09  Andreas Köhler  <andi5.py@gmx.net>  (tiny change)
109
110         For PR automake/505:
111         * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES):
112         Fix typo: `config.status.lineno', not `configure.status.lineno'.
113
114 2006-09-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
115
116         * NEWS: Mention that `install-sh' needs executable permissions.
117         * tests/nobase.test: Adjust.
118         Report by Patrick Welche.
119
120 2006-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
121
122         * lib/am/check.am (check-TESTS): Fix matching of XFAIL_TESTS
123         against currently running test for the first and last element
124         of $(TESTS): add spacing so Solaris make does VPATH expansion
125         on these words, too.
126         * tests/check6.test: Update.
127
128 2006-08-30  Paul Eggert  <eggert@cs.ucla.edu>
129
130         For PR automake/501:
131         * lib/am/depend2.am (?GENERIC?%EXT%.o, ?!GENERIC?%OBJ%):
132         Abbreviate output a bit by not bothering to quote the .Po file
133         name (the quoting doesn't suffice in general anyway), and by not
134         bothering to remove junk .Tpo files (as they'll be removed later).
135         This also lets 'make' run faster by avoiding a subshell.
136
137 2006-08-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
138
139         * automake.in: Fortran 77 and Fortran should require variables
140         F77 resp. FC to be defined, and suggest the respective Autoconf
141         macros otherwise.
142         * tests/fort1.test: New test.
143         * tests/Makefile.am: Update.
144
145         * tests/ext.test: Add extensions f95, F90, F95.
146
147 2006-08-30  Alexandre Duret-Lutz  <adl@gnu.org>
148
149         For PR automake/500:
150         * automake.in (handle_compile) <$default_includes>: Do not output
151         the same -I twice.  Use @am__isrc@ instead of ` -I$(srcdir)'.
152         * m4/init.m4: Define am__isrc as ` -I$(srcdir)' only in
153         non-VPATH builds since we always have `-I.'.
154         * tests/subpkg.test: Make sure config headers are found in VPATH
155         and non-VPATH builds.
156
157 2006-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
158
159         * doc/automake.texi, lib/Automake/Rule.pm: Fix some typos.
160         * NEWS: Likewise.  Clarify that only one LIBOBJDIR is supported.
161
162 2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
163
164         * lib/Automake/ChannelDefs.pm (usage): Mention that -Wportability
165         is enabled by default with gnu and gnits strictness.
166         Report from Bruno Haible.
167
168 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
169
170         * NEWS: Mark de-ANSI-fication as being obsolete.
171         * doc/automake.texi: Likewise.
172
173 2006-08-21  Stepan Kasal  <kasal@ucw.cz>
174
175         * Makefile.am, THANKS: Fix typos.
176
177 2006-08-20  Alexandre Duret-Lutz  <adl@gnu.org>
178
179         * NEWS, configure.ac: Bump version to 1.9c.
180
181         * NEWS, configure.ac: Bump version to 1.9b.
182
183         * Makefile.am (maintainer-check): Check for mkdir_p in automake.in
184         too.
185         * automake.in (require_build_directory): Use MKDIR_P, not mkdir_p.
186
187         * m4/mkdirp.m4: Typo in previous patch.
188
189         * Makefile.am (maintainer-check): Fine-tune the "Unescaped @"
190         check so it doesn't complain about the '@ 's in node "Standard
191         Directory Variables".
192
193         * INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New
194         upstream versions.
195
196         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with
197         $(top_builddir)/ if it is a relative directory.
198
199 2006-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
200
201         * lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use
202         ylwrap.  Suggested by Akim Demaille long ago, to ease maintenance.
203         * automake.in (handle_languages): Do not define MORE-THAN-ONE.
204         (yacc_lex_finish_helper, lang_yacc_finish, lang_lex_finish): Always
205         require ylwrap.
206         * doc/automake.texi (Auxiliary Programs, Yacc and Lex): Update the
207         documentation of ylwrap.
208         * tests/lex.test, tests/lex4.test, tests/mmodely.test,
209         tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
210         tests/yaccpp.test: Adjust.
211
212         * doc/automake.texi (Releases): Update statistics until 1.9.6.
213
214         * Makefile.am (maintainer-check): Check for mkdir_p.
215         * automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P.
216         * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
217         lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
218         lib/am/mans.am, lib/am/progs.am, lib/am/python.am,
219         lib/am/scripts.am, lib/am/texinfos.am: Use MKDIR_P instead of mkdir_p.
220         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not
221         as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use
222         mkdir_p without defining MKDIR_P.
223         * tests/distdir.test, tests/instman.test, tests/txinfo21.test:
224         Adjust.
225
226         * Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm.
227         * configure.ac (ACLOCAL): Use --acdir=m4 in addition to
228         -I m4.  Running aclocal during the rebuild rules will fail
229         if the default acdir does not exist.
230
231         * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4:
232         Require Autoconf 2.60 instead of some intermediate development
233         version.
234
235         * doc/automake.texi (Standard Directory Variables): Fix multitable
236         width.
237         (Autotools Introduction): Fix @uref usage.
238
239 2006-08-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
240
241         * doc/automake.texi: Fix some typos in the introduction,
242         adjust some spacing; spell `GNU Build System' consistently.
243         (menu): Unify node naming.
244         (Standard Directory Variables): Clarify that this list is not
245         exhaustive.
246         (DESTDIR): Fix example.
247
248 2006-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
249
250         * doc/automake.texi (Autotools Introduction) New chapter.
251         Thanks to Ben Pfaff and Ralf Wildenhues for comments.
252         (Auxiliary Programs, Install, Dist, Third-Party Makefiles)
253         (distcleancheck): More cross references.
254         * doc/amhello/configure.ac, doc/amhello/README,
255         doc/amhello/Makefile.am, doc/amhello/src/Makefile.am,
256         doc/amhello/src/main.c: New files.
257         * doc/Makefile.am (dist_noinst_DATA): Distribute them.
258         ($(srcdir)/amhello-1.0.tar.gz): New rule.
259         (dist_doc_DATA): Install amhello-1.0.tar.gz.
260         * Makefile.am (SUBDIRS): Update comment.
261
262 2006-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
263
264         * doc/automake.texi: Fix some typos.
265
266 2006-08-14  Jonathan Higa <jthiga@gmail.com>
267
268         * automake.in: Register "Unified Parallel C" as language.
269         (lang_upc_rewrite): New function.
270         (resolve_linker): Consider UPCLINK.
271         * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest
272         AM_PROG_UPC for UPC and UPCFLAGS.
273         * m4/upc.m4: New file.
274         * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case.
275         * m4/Makefile.am (dist_m4data_DATA): Add upc.m4.
276         * doc/automake.texi (Unified Parallel C Support): New node.
277         (Public macros): Mention AM_PROG_UPC.
278         (Program and Library Variables, Flag Variables Ordering):
279         Mention UPCFLAGS.
280         * tests/upc.test, tests/upc2.test, tests/upc3.test: New file.
281         * tests/Makefile.am (TESTS): Add them.
282         * tests/ext.test: Also test upc files.
283
284 2006-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
285
286         * doc/automake.texi (Scripts): Fix some errors in previous patch.
287
288         * doc/automake.texi (Scripts): Revamp.  Show an example of script
289         built from configure.ac.  Discuss CLEANFILES and EXTRA_DIST for
290         other built scripts.
291
292         * m4/init.m4: Suggest fixing the call to AC_INIT when
293         AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined.  This is for
294         newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments.
295         * tests/init.test: New file.
296         * tests/Makefile.am (TESTS): Add it.
297
298 2006-08-04  Stepan Kasal  <kasal@ucw.cz>
299
300         * automake.in (dist_dirs, fill_dist_dirs): Remove.
301         * lib/am/distdir.am (DISTDIRS): Remove.
302         * tests/distdir.test, tests/pr2.test: Do not grep, use
303         `make distdir' instead.
304
305 2006-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
306
307         * doc/automake.texi (Conditionals): Split in two sections, "Usage"
308         and "Portability", and add a third one, "Limits" to explain how
309         conditional definitions inside multi-lines definitions can be
310         handled.
311         * automake.in (handle_options): Do not assume that
312         AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional
313         definitions of AUTOMAKE_OPTIONS.
314         Report from Bas Wijnen.
315         * tests/amopt.test: New test.
316         * tests/Makefile.am (TESTS): Add it.
317
318         * aclocal.in (install_file): Cannot use /dev/null while diffing
319         new files, because Tru64's diff do not handle /dev/null.  So
320         create an empty destination file before running diff on a new
321         file, and erase it afterward.  Fall back to using /dev/null only
322         if we cannot create this file.
323         Report and initial patch from Ralf Wildenhues.
324         (unlink_tmp): New function.
325         * test/acloca18.test: Make sure the empty file has been erased.
326
327 2006-08-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
328
329         * automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects,
330         do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR,
331         to help BSD Make find the files also in a VPATH build.
332         Also return the same path, possibly prefixed, for correct
333         depdir computation.
334         * tests/pr401.test: Update to expose wrong depdir computation.
335         Rewrite to not use the same file name for library object and
336         main program.
337         * tests/pr401b.test, tests/pr401c.test: Likewise.
338
339 2006-07-09  Paul Eggert  <eggert@cs.ucla.edu>
340
341         * lib/install-sh: Don't incorrectly claim that this implementation
342         can install only one file at a time.
343         (doit_exec): New var, for using 'exec' if possible, to save a process.
344         (test_mode, intermediate_mode): Remove.
345         (mode): Check for IFS or globbing characters in mode, since they might
346         cause weird behavior with the other changes below.  All later uses
347         of '"$mode"' changed to '$mode', since the ""s no longer matter.
348         Use octal modes if the invoker specifies an octal mode, and use
349         octal umask values if 'umask' outputs octal values; this is more
350         likely to work with older operating systems since Automake uses
351         octal modes, and also works around a bug with HP-UX 11.23
352         'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in
353         <http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>.
354         (cp_umask, mkdir_umask): New variables, to avoid
355         temporarily creating files or directories with too-permissive modes.
356         (mkdir_mode): Use the FreeBSD 'install' method for computing modes of
357         intermediate directories; this is safer.
358         (posix_mkdir): Also test mkdir -p -m ... by making a directory in
359         /tmp and checking the resulting mode with 'ls', to catch a bug in
360         HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message.
361         Use ':' for true, not 'true'; this is a bit faster on
362         traditional implementations.
363
364 2006-07-09  Jim Meyering  <jim@meyering.net>
365
366         * lib/depcomp: "in in" -> "in" in comment.
367
368 2006-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
369
370         * tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr,
371         for consistency with the recommendation prompted by this report:
372         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
373
374 2006-06-24  Stepan Kasal  <kasal@ucw.cz>
375             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
376
377         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to
378         `'$(MKDIR_P)'', so that it retains the per-directory value
379         computed by config.status.
380         * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from
381         a changed directory.  Bugs reported by Ralf Menzel.
382         * THANKS: Update.
383
384 2006-06-24  Eric Dorland  <eric@debian.org>
385             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
386
387         * automake.in (scan_texinfo_file): Fix matching file extension.
388         * tests/txinfo31.test: New test.
389         * tests/Makefile.am: Update.
390
391 2006-06-07  Alexandre Duret-Lutz  <adl@gnu.org>
392
393         * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.
394
395 2006-06-07  Stepan Kasal  <kasal@ucw.cz>
396
397         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
398
399 2006-06-06  Stepan Kasal  <kasal@ucw.cz>
400             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
401
402         * lib/am/distdir.am: Do not call $(mkdir_p) for each
403         distributed file, collect them and create them in one run,
404         and strip $(srcdir) and $(top_srcdir) all at once.
405         Fix some comment typos.
406
407 2006-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
408
409         * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
410         7.4.4m may omit the first included header dependency information
411         with `-MDupdate'.  Refine test to catch this.
412
413         * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
414         procedure.
415
416         * tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3
417         requires `config.rpath' to be present, and automake now enforces
418         this.  Test this, but only if the gettext installation works and
419         is recent enough to provide this diagnosis.
420         * tests/gettext.test: Provide a dummy `config.rpath' for all
421         subsequent checks.
422         * tests/gettext2.test, tests/subcond.test: Likewise.
423
424         * tests/pr401.test: Replace "perl -i" with sed and mv, for
425         MinGW perl.
426         * tests/pr401b.test, tests/pr401c.test, tests/python11.test,
427         * tests/yacc6.test, tests/yacc8.test: Likewise.
428
429         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
430         plain `grep' on the Makefile, as its line length may exceed that
431         for grep.  Bug report against coreutils by Sam Sirlin.
432         * THANKS: Update.
433
434 2006-05-26  Sergey Poznyakoff  <gray@Mirddin.farlep.net>  (tiny change)
435
436         * doc/automake.texi (Options): Add anchor `tar-formats'.
437
438 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
439
440         * lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides
441         ENOLCK.  Only mention `make -j' when applicable.  Only raise
442         fatal errors when `make -j' is involved.  Improve error message.
443
444 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
445
446         * lib/Automake/Configure_ac.pm (find_configure_ac): Use
447         `$configure_in' instead of `configure.in', to preserve
448         directory component.
449         * lib/Automake/Configure_ac.pm: Add note that Automake owns
450         this file.
451         * lib/Automake/Channels.pm: Likewise.
452         * lib/Automake/FileUtils.pm: Likewise.
453         * lib/Automake/Struct.pm: Likewise.
454
455 2006-05-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
456
457         * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
458         New upstream versions.
459
460 2006-05-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
461
462         * doc/automake.texi (Auxiliary Programs): Fix URL to GCC
463         repository, they use SVN now.
464
465 2006-05-13  Werner Lemberg  <wl@gnu.org>
466
467         * lib/gnupload: Add support for savannah.gnu.org and
468         savannah.nongnu.org.
469
470 2006-05-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
471
472         * lib/Automake/Channels.pm, lib/Automake/Condition.pm,
473         lib/Automake/DisjConditions.pm, lib/Automake/Options.pm,
474         lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos.
475
476 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
477
478         * lib/install-sh: Sync from Autoconf, as follows:
479         Don't use 'path' to talk about file names,
480         as per GNU coding standards.  Close a race condition reported by Ralf
481         Wildenhues and Stepan Kasal.  There is still a race condition
482         on hosts that predate Posix 1003.1-1992, but we can't help this.
483         Don't mishandle weird characters like space on pre-Posix hosts.
484         Invoke mkdir at most once per dir arg on pre-Posix hosts.
485
486 2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
487
488         * tests/missing.test, tests/missing2.test: Do not require
489         GNUmake.
490         * Makefile.am (maintainer-check): Make sure `required=' does not
491         follow `. ./defs' in the tests.
492
493         * tests/ansi10.test: Use AC_PROG_CC_STDC.  Fix test that
494         ac_cv_prog_cc_stdc isn't just used by Automake code in
495         `configure'.
496         * tests/ansi6.test, tests/ansi7.test: Likewise.
497         * tests/ansi9.test: Likewise.  Do not override by setting
498         $U and $(ANSI2KNR) at `make' time; that will be fragile.
499         * tests/libobj8.test: Use AC_PROG_CC_STDC.
500         * tests/subobj3.test: Likewise.  Use `set -e'.
501
502         * lib/install-sh: Initialize IFS, so field splitting isn't
503         turned off later.
504         * lib/mkinstalldirs: Likewise.
505
506         * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
507         the path of the prerequisite added; IRIX 6.5 make does not add
508         it, Solaris 2.6 make is inconsistent about adding it.  Fixes
509         java.test failure.
510
511         * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
512         files in the source tree.  Fixes failures with HP-UX and Tru64
513         make.
514
515         * lib/am/ansi2knr.am (ansi2knr): Rename target as...
516         (./ansi2knr): ...this, for BSD make.
517         (%ANSI2KNR-DIR%/ansi2knr): Adjust.
518
519 2006-05-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
520
521         * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
522         /bin/sh -e issue with failing commands in if clauses.
523
524         * tests/defs.in (Be Bourne compatible): Update from current
525         Autoconf.
526
527         * configure.ac: Recommend perl-5.8.2.
528         * tests/automake.test: Do not fail because of buggy Getopt::Long
529         in perl < 5.8.2.
530
531         * tests/longlin2.test: Do not use `grep' on Makefile.am:
532         it has long lines and is thus not a text file; AIX 5.1 grep
533         fails to scan non-plain patterns from long lines.
534
535         * tests/overrid.test: Change all regexes for warning messages to
536         match after a colon, so that the prepended file names do not
537         cause false matches.  Tighten overrides regex.  Fix typo
538         `cleam-am-local' -> `clean-am-local'.
539
540         * tests/java.test: `configure' uses a trap, so use `(exit 77);
541         exit 77' to portably set the exit status similar to AS_EXIT.
542         * tests/fn99.test: propagate nonzero exit status from subshell.
543
544         * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
545         if ``pwd`' contains the string `-p'.  Create the wrapper in a
546         subdirectory so that `.' in $PATH does not lead to an endless
547         loop.
548
549         * lib/depcomp (ia64hp): Rename dependency style to..
550         (hp2): ..this, as it works with aCC on HPPA, too; adjust
551         comment.  Report by Olivier Fourdan (PR automake/481).
552         * THANKS: Update.
553
554         * tests/aclocal7.test: Add `$sleep's between file touching
555         and automake resp aclocal+automake invocations, to ensure
556         they complete with a time stamp strictly later than the touched
557         file.
558
559         * lib/missing: Remove superfluous quotes.  Replace all uses of
560         `[' by `test', for consistency, and for..
561         * tests/missing5.test: ..this new test.
562         * tests/Makefile.am: Update.
563
564         * lib/missing (sed_minuso, sed_output): New variables.
565         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
566         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
567         Fixes `missing' to detect `--output' for help2man.  Fixes
568         PR automake/483.  Report by Dennis J. Linse.
569         (autom4te): Document in `missing --help'.
570         * THANKS: Update.
571
572 2006-04-26  Thien-Thi Nguyen  <ttn@gnu.org>  (tiny change)
573
574         * doc/automake.texi (Dependency Tracking Evolution): Fix typo.
575
576 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
577
578         * lib/install-sh: Simplify the expr implementation of dirname.
579
580 2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
581
582         * lib/install-sh: Handle --, and diagnose unknown options.
583         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set
584         mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with
585         the other ways that mkdir_p might be set.
586
587 2006-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
588
589         * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
590         (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
591         * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
592         (write_aclocal): Output a check for Autoconf's version in aclocal.m4.
593         Doing so ensures that users cannot build configure and Makefiles
594         with two different autoconf versions.  Report from Noah Misch.
595         * tests/missing4.test: New file.
596         * tests/Makefile.am (TESTS): Add it.
597
598 2006-04-20  Paul Lunau  <temp@lunau.me.uk>  (tiny change)
599             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
600
601         * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
602         failed, instead of when the last one failed (PR automake/488).
603         Report from Paul Lunau.
604         * tests/dejagnu4.test: Update to expose this.
605         * THANKS: Update.
606
607 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
608
609         * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
610         TABs as well as spaces.  Fixes PR automake/490.
611         * tests/check6.test: New test.
612         * tests/Makefile.am, THANKS: Update.
613         Report from Diab Jerius <djerius@cfa.harvard.edu>.
614
615 2006-04-17  Stepan Kasal  <kasal@ucw.cz>
616
617         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
618         description; eliminate the duplicate error message.
619         * doc/automake.texi (@direntry): `Invoking Automake' is the name
620         of the usage node for `automake'
621         * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the
622         comment.
623
624 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
625
626         * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
627         because it uses `datarootdir'.  Bump copyright year and serial.
628
629 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
630
631         * NEWS: Fix typo.
632
633 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
634
635         * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
636         (_gen_varname): Use _hash_values, and return a flag indicating whether
637         the variable name was generated or reused.
638         (transform_variable_recursively): Do not redefine variables that
639         are reused, and try to reuse the variable being transformed.
640         * tests/check2.test: Make sure TESTS hasn't been redefined.
641         * tests/check5.test, tests/exeext4.test: Make sure variables have
642         been reused.
643         * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.
644
645         * automake.in (%ignored_configure_vars): New variable.
646         (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill
647         %ignored_configure_vars.
648         (define_configure_variable): Declare ignored configure variables
649         as VAR_SILENT.  Do not special-case AMDEPBACKSLASH and ANSI2KNR
650         w.r.t. VAR_SILENT.
651         * m4/substign.m4: New file.
652         * m4/Makefile.am (dist_m4data_DATA): Add substign.m4.
653         * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477).
654         * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH.
655         * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR.
656         * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined.
657         * tests/amsubst.test: New file.
658         * tests/Makefile.am (TESTS): Add it.
659
660 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
661             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
662
663         * automake.in (handle_single_transform): Preserve directories in
664         direct suffix rules.
665         * tests/suffix12.test: New test.
666         * tests/Makefile.am (TESTS): Add it.
667         Report from John Ratliff.
668
669 2006-03-25  Mike Frysinger  <vapier@gentoo.org>  (tiny change)
670             Alexandre Duret-Lutz  <adl@gnu.org>
671
672         * aclocal.in ($m4_include_rx): Do not recognize `include', and
673         adjust scan_configure_dep and scan_file accordingly.
674         (scan_configure_dep): Do not search white lines.
675         (scan_file): Strip comments from current line after checking
676         for serial, so that aclocal does not trip on `m4_include' macros
677         in comments.  Report from Mike Frysinger.
678         * tests/acloca21.test: New file.
679         * tests/Makefile.am (TESTS): Add it.
680
681 2006-03-24  Stepan Kasal  <kasal@ucw.cz>
682
683         * tests/mmodely.test: Fix the test on systems with no lex.
684
685 2006-03-23  Stepan Kasal  <kasal@ucw.cz>
686
687         * automake.in (libtool_new_api): Fix a typo in the comment.
688         * lib/Automake/Makefile.am (Config.pm): Likewise.
689         * lib/am/depend2.am: Likewise.
690         * tests/xsource.test: With `set -e', `|| exit 1' is no longer
691         needed.
692
693 2006-03-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
694
695         * tests/depcomp6.test, tests/depcomp7.test: Change back to
696         using `$MAKE && exit 1', but make sure the last command in the
697         test is successful.
698
699 2006-03-21  Clifford Wolf  <clifford@clifford.at>  (tiny change)
700             Stepan Kasal  <kasal@ucw.cz>
701             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
702
703         * aclocal.in (parse_arguments): Added wildcard support to the
704         dirlist parser.
705         * doc/automake.texi (Macro search path): Document it.
706         * tests/dirlist2.test: New test.
707         * m4/dirlist, tests/Makefile.am: Adjust.
708
709 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
710
711         * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)'
712         to `AC_PROG_OBJC' if provided, to fix Objective C depmode
713         handling.
714         * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for
715         OBJC and OBJCFLAGS.
716         * tests/ext.test: Adjust.
717         * tests/objc.test, tests/objc2.test: New tests.
718         * tests/Makefile.am: Adjust.
719         * doc/automake.texi (Objective C Support): New node.
720         (Support for Other Languages): Adjust.
721
722 2006-03-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
723
724         * lib/Automake/RuleDef.pm (DESCRIPTION): Typo.
725
726         * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic
727         to work with `set -e'.
728
729         * tests/depcomp6.test, tests/depcomp7.test: New tests,
730         for general `depcomp' functionality, with and without
731         `subdir-objects', with and without `libtool'.
732         * tests/Makefile.am: Adjust.
733
734         * aclocal.in (write_aclocal): Unlink `aclocal.m4' before
735         writing into it, to break a symlinked file.
736         * tests/acloca20.test: New test.
737         * tests/Makefile.am: Updated.
738
739 2006-03-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
740
741         Allow package trees (packages with subpackages) to share
742         common distributed auxiliary files (and directories) that
743         reside within a subpackage.
744
745         * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if
746         `$(distdir)' already exists.
747         (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent
748         removal of subpackage trees for distribution.
749         * tests/subpkg3.test: New test.
750         * tests/Makefile.am: Update.
751
752 2006-03-18  Alexandre Duret-Lutz  <adl@gnu.org>
753
754         * tests/check5.test, tests/nobast.test: Fix $MAKE and rm
755         invocations to please maintainer-check.
756
757 2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
758
759         * automake.in (lang_c_rewrite): Typo in previous change.
760         * tests/ccnoco2.test: New file.
761         * tests/Makefile.am (TESTS): Add ccnoco2.test.
762
763         * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
764         a 'portability' warning, so that people can ignore it.  Suggested
765         by Ralf Wildenhues.
766
767         * lib/Automake/ChannelDefs.pm: Make -Wportability the default in
768         gnu and gnits modes.
769         * doc/automake.texi (Invoking Automake): Adjust.
770
771 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
772
773         * doc/automake.texi (Yacc and Lex): Document that `.ypp' and
774         `.lpp' file extensions are recognized.
775
776 2006-02-21  Alexandre Duret-Lutz  <adl@gnu.org>
777
778         * doc/automake.texi (Complete, Extending aclocal, Public macros)
779         (Python, Conditionals, API versioning): Always quote macro arguments.
780         Report from Stepan Kasal.
781
782 2006-02-16  Alexandre Duret-Lutz  <adl@gnu.org>
783
784         * doc/automake.texi (Python): More examples.
785
786 2006-02-05  Alexandre Duret-Lutz  <adl@gnu.org>
787
788         * doc/automake.texi (distcleancheck): Fix bad wording.  Report
789         from Bob Rossi.
790         (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS).
791
792 2006-01-29  Alexandre Duret-Lutz  <adl@gnu.org>
793
794         Append $(EXEEXT) to programs that may be listed in TESTS.
795         Report from Simon Josefsson.
796
797         * automake.in (%known_programs): New global.
798         (initialize_per_input): Reset it.
799         (append_exeext): Take a predicate as first argument to select
800         the filename to rewrite.
801         (handle_programs): Fill %known_programs.
802         (handle_tests): Append $(EXEEXT) to all tests that are in
803         %known_programs.
804         (am_install_var): Update call to append_exeext.
805         * doc/automake.texi (EXEEXT): TESTS is also rewritten.
806         (Tests): More about the difference between check_PROGRAMS and TESTS.
807         Give an example of TEST_ENVIRONMENT.
808         * tests/cond32.test: Augment with a nested condition.
809         * tests/exeext4.test: Also check TESTS.
810         * tests/check5.test: New file.
811         * tests/Makefile.am (TESTS): Add check5.test.
812
813 2006-01-12  Paul Eggert  <eggert@cs.ucla.edu>
814
815         * lib/install-sh (dstdir): Don't use semicolons inside { } in
816         sed scripts, as Posix says it's not portable.
817         * lib/missing (file): Likewise.
818         * lib/am/distdir.am (distcheck): Likewise.
819         * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
820         * tests/distcom2.test, tests/distcom3.test: Likewise.
821         * tests/distcom4.test, tests/distcom5.test: Likewise.
822         * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
823
824 2006-01-12  Alexandre Duret-Lutz  <adl@gnu.org>
825
826         * ChangeLog: Move 2004's entries to ...
827         * ChangeLog.04: ... this new file.
828         * Makefile.am (EXTRA_DIST): Add ChangeLog.04.
829
830         * tests/txinfo13.test: Test fix below.
831
832 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
833
834         * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted
835         extra files in distribution.  Reported by Vincent Lefevre.
836
837 2006-01-06  Alexandre Duret-Lutz  <adl@gnu.org>
838
839         * doc/automake.texi (Linking, Program and Library Variables):
840         Mention the file extensions that usually appear in _DEPENDENCIES,
841         and point to BUILT_SOURCES and example of _DEPENDENCIES uses.  A
842         couple of people have been listing sources files in _DEPENDENCIES
843         lately.
844
845         * doc/automake.texi: Bump copyright year.
846         * automake.in ($gen_copyright, version): Likewise.
847         * aclocal.in (write_aclocal, version): Likewise.
848
849 2006-01-05  Stepan Kasal  <kasal@ucw.cz>
850             Alexandre Duret-Lutz  <adl@gnu.org>
851
852         * automake.in (topsrcdir): New global.
853         (generate_makefile): Compute it.
854         (fill_dist_dirs): New function extracted from handle_dist.
855         (handle_dist, handle_configure): Use fill_dist_dirs.
856         * tests/distdir.test: Test for cases where $(top_srcdir) or
857         $(srcdir) appear in EXTRA_DIST.  Report from Sander Niemeijer.
858
859 2006-01-05  Zack Weinberg  <zackw@panix.com>
860             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
861
862         * lib/depcomp: Add 'ia64hp' dependency style.
863         Zack's original patch was contributed to GCC on 2005-06-13.
864         (tru64): Typo.
865
866 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
867
868         * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
869         the code is portable to both POSIX and pre-POSIX shells.
870
871 2005-10-17  Alexandre Duret-Lutz  <adl@gnu.org>
872
873         * tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
874         suggested by Eric Blake.
875
876 2005-10-17  Stepan Kasal  <kasal@ucw.cz>
877
878         * doc/automake.texi (Program and Library Variables): Typo.
879         * lib/Automake/Variable.pm (transform_variable_recursively): Typo
880         in a comment.
881
882 2005-10-03  Stepan Kasal  <kasal@ucw.cz>
883
884         * ChangeLog.03, automake.in, tests/overrid.test: Typos.
885
886 2005-10-03  Alexandre Duret-Lutz  <adl@gnu.org>
887
888         * tests/nobase.test: Exercise previous patch.
889
890 2005-10-03  Peter O'Gorman  <peter@pogma.com>  (tiny change)
891
892         * lib/am/distdir.am: Remove $(SHELL) when calling install_sh
893         * m4/strip.m4: Ditto.
894         * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
895
896 2005-09-13  Paul Eggert  <eggert@cs.ucla.edu>
897
898         * doc/automake.texi (limitations on file names): New section.
899         * lib/install-sh: Rewrite to support '*' in file names.
900         Also, tune so that we don't invoke so many commands in the usual case.
901         This has the side effect of fixing `install-sh -d' to not fail if it
902         loses the race in creating the last path component against another
903         process.
904         * tests/instspc.test: The "*" test is now fixed.
905
906 2005-09-13  Stepan Kasal  <kasal@ucw.cz>
907
908         * automake.in (Languages) <cppasm>: Fix typo in the comment.
909
910 2005-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
911
912         * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
913         shell in verbose mode.
914
915 2005-08-07  Alexandre Duret-Lutz  <adl@gnu.org>
916
917         * lib/Automake/Variable.pm (variable_value): Do not read the TRUE
918         value of a conditionally defined variable.
919         Report from Juergen Leising.
920
921         * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
922         $(MAKE) invocations.
923         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
924         Likewise.
925         * lib/am/texi-vers.am (%STAMPVTI%): Likewise.
926         * lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
927         * Makefile.am (maintainer-check): Check for this.
928         Report from Stepan Kasal.
929
930         * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.
931         Prompted by Stepan Kasal.
932
933 2005-08-07  Stepan Kasal  <kasal@ucw.cz>
934
935         * lib/am/texinfos.am (uninstall-info-am): Call install-info only if
936         the $(infodir) exists.
937
938 2005-07-31  Stepan Kasal  <kasal@ucw.cz>
939
940         * tests/library3.test: Fix a typo which made the test fail.
941
942 2005-07-27  Alexandre Duret-Lutz  <adl@gnu.org>
943
944         * doc/automake.texi (Linking, Program and Library Variables):
945         Suggest reserving -l for third-party libraries.
946
947         * lib/Automake/Variable.pm (require_variables): Mention aclocal's
948         search path when suggesting to add a macro in configure.ac.
949         People are confused when Automake suggests adding a macro (such as
950         AC_PROG_LIBTOOL) that is already in configure.ac.
951         * automake.in (require_file_internal): Suggest `automake --add-missing'
952         for missing files that can be installed.
953         * tests/library3.test: Adjust.
954
955 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
956
957         * tests/defs.in: When required matches both `*libtool*' and
958         `*gettext*', check for both m4 files.
959
960         * doc/automake.texi (Auxiliary Programs): Fix a typo.
961         * tests/suffix11.test: Fix a typo.
962         * tests/colon3.test: s/EGREP/FGREP/.
963
964 2005-07-19  Paul Eggert  <eggert@cs.ucla.edu>
965
966         * tests/instspc.test: Major rewrite to test for many other
967         problematic file names, e.g., '$', '"', '('.  Automake and
968         Autoconf can't handle many of them, so do not report a failure
969         if the usual candidates show up.
970
971 2005-07-19  Stepan Kasal  <kasal@ucw.cz>
972
973         * Makefile.am (automake, aclocal): Merge the rules.
974
975 2005-07-10  Alexandre Duret-Lutz  <adl@gnu.org>
976
977         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
978         versions.
979
980 2005-07-09  Alexandre Duret-Lutz  <adl@gnu.org>
981
982         * lib/install-sh: Use IFS=/ to split directories on /, don't translate
983         / into % as it prevents directory names using %...
984
985 2005-07-09  Stepan Kasal  <kasal@ucw.cz>
986
987         * doc/automake.texi (Public macros): Typo.
988         * aclocal.in: Typo in comment.
989
990 2005-07-09  Zack Weinberg  <zack@codesourcery.com>  (tiny change)
991
992         * lib/depcomp: Handle "#line" markers as well as "# " markers in
993         "cpp" style, so it can work with newer HP compilers (for their
994         ia64 systems).
995
996 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
997
998         * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
999         fix an underful hbox.
1000         * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
1001         New upstream versions.
1002
1003 2005-07-01  Alexandre Duret-Lutz  <adl@gnu.org>
1004
1005         * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
1006
1007 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
1008
1009         * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
1010         lib/am/header-vars.am no longer uses it.
1011         * lib/am/libtool.am (distclean-am, distclean-libtool): Define
1012         if TOPDIR_P is true, not TOPDIR.
1013         Suggested by Stepan Kasal.
1014
1015         * automake.in (read_am_file): Correctly diagnose comments following
1016         trailing backslash.
1017         * tests/commen10.test: New file.
1018         * tests/Makefile.am (TESTS): Add commen10.test.
1019         Report from Harald Dunkel.
1020
1021         * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead
1022         of AC_SUBST.
1023         * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL):
1024         Do not define, they are AC_SUBST_TRACEd by Autoconf.
1025         * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c.
1026         * tests/include.test: Call AC_OUTPUT.
1027
1028 2005-06-29  Alexandre Duret-Lutz  <adl@gnu.org>
1029
1030         * lib/mkinstalldirs: Fix support for directory name with spaces if
1031         `mkdir -p' does not work.
1032         * tests/Makefile.am (TESTS): Add mkinst3.test.
1033         * tests/mkinst3.test: New file.
1034         Report from Noah Friedman.
1035
1036         * doc/automake.texi (Include, Extending aclocal): Typos.
1037         Report from Karl Berry.
1038
1039 2005-06-28  Stepan Kasal  <kasal@ucw.cz>
1040             Alexandre Duret-Lutz  <adl@gnu.org>
1041
1042         * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
1043         * tests/txinfo28.test: Set TIME_STYLE.
1044         Report from Vincent Lefevre and James Youngman.
1045
1046 2005-06-24  Alexandre Duret-Lutz  <adl@gnu.org>
1047
1048         * lib/Automake/Variable.pm (define, _new): Remember the helper
1049         variable created for the last conditional += on each variable, and
1050         only append further += in the same condition to this last helper
1051         variable, not to older helper variables.  This way the order of
1052         the items appended to the variable is preserved.
1053         * tests/cond21.test: Adjust.
1054         * tests/cond38.test: New file.
1055         * tests/Makefile.am (TESTS): Add cond38.test.
1056         Report from Ed Hartnett.
1057
1058 2005-06-22  Alexandre Duret-Lutz  <adl@gnu.org>
1059
1060         * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
1061
1062         * automake.in (handle_footer): Do not output an unformatted
1063         definition of SOURCES, it is already done correctly in
1064         generate_makefile.  This superfluous definition introduced long
1065         lines in some Makefiles, hence breakages in tools with a limited
1066         line length.  Report from Mathias Froehlich.
1067
1068 2005-06-11  Alexandre Duret-Lutz  <adl@gnu.org>
1069
1070         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
1071         Fix redirections in previous patch.
1072
1073 2005-06-08  Alexandre Duret-Lutz  <adl@gnu.org>
1074
1075         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
1076         Do not backup any file if makeinfo is not installed.
1077         * lib/missing (makeinfo): Do not touch a missing info file.
1078         * tests/txinfo30.test: New file.
1079         * tests/Makefile.am (TESTS): Add txinfo30.test.
1080         Report from Bob Proulx.
1081
1082         * doc/automake.texi (Extending aclocal): Typo.
1083
1084 2005-05-24  Brian Gough  <bjg@network-theory.co.uk>  (tiny change)
1085
1086         * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
1087
1088 2005-05-15  Alexandre Duret-Lutz  <adl@gnu.org>
1089
1090         Fix PR automake/461:
1091         * automake.in (require_build_directory): Canonicalize directories
1092         with different names, such as `foo/bar' and `./foo//bar'.
1093         * tests/subobj9.test: Augment to test that.
1094         Report from Tom Tromey.
1095
1096 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
1097
1098         * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
1099         ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am,
1100         NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure,
1101         configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING,
1102         lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in,
1103         lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp,
1104         lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile,
1105         lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
1106         lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
1107         lib/Automake/Condition.pm, lib/Automake/Config.in,
1108         lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
1109         lib/Automake/FileUtils.pm, lib/Automake/General.pm,
1110         lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
1111         lib/Automake/Location.pm, lib/Automake/Makefile.am,
1112         lib/Automake/Options.pm, lib/Automake/Rule.pm,
1113         lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
1114         lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
1115         lib/Automake/Version.pm, lib/Automake/Wrap.pm,
1116         lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
1117         lib/Automake/tests/DisjConditions.pl,
1118         lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
1119         lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
1120         lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
1121         lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
1122         lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
1123         lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
1124         lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
1125         lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
1126         lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
1127         lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
1128         lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
1129         lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
1130         lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
1131         lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
1132         lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
1133         m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
1134         tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
1135         tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
1136         tests/acloca17.test, tests/acloca18.test, tests/acloca19.test,
1137         tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test,
1138         tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test,
1139         tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test,
1140         tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test,
1141         tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test,
1142         tests/acsubst.test, tests/acsubst2.test, tests/all.test,
1143         tests/alloca.test, tests/alloca2.test, tests/alpha.test,
1144         tests/alpha2.test, tests/amassign.test, tests/ammissing.test,
1145         tests/ansi.test, tests/ansi10.test, tests/ansi2.test,
1146         tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test,
1147         tests/ansi5.test, tests/ansi6.test, tests/ansi7.test,
1148         tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test,
1149         tests/asm.test, tests/autohdr.test, tests/autohdr2.test,
1150         tests/autohdr3.test, tests/autohdr4.test, tests/automake.test,
1151         tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test,
1152         tests/auxdir4.test, tests/backsl.test, tests/backsl2.test,
1153         tests/backsl3.test, tests/backsl4.test, tests/badline.test,
1154         tests/badopt.test, tests/badprog.test, tests/block.test,
1155         tests/bsource.test, tests/canon.test, tests/canon2.test,
1156         tests/canon3.test, tests/canon4.test, tests/canon5.test,
1157         tests/ccnoco.test, tests/check.test, tests/check2.test,
1158         tests/check3.test, tests/check4.test, tests/checkall.test,
1159         tests/clean.test, tests/clean2.test, tests/colneq.test,
1160         tests/colneq2.test, tests/colon.test, tests/colon2.test,
1161         tests/colon3.test, tests/colon4.test, tests/colon5.test,
1162         tests/colon6.test, tests/colon7.test, tests/comment.test,
1163         tests/comment2.test, tests/comment3.test, tests/comment4.test,
1164         tests/comment5.test, tests/comment6.test, tests/comment7.test,
1165         tests/comment8.test, tests/comment9.test, tests/compile.test,
1166         tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test,
1167         tests/cond.test, tests/cond10.test, tests/cond11.test,
1168         tests/cond13.test, tests/cond14.test, tests/cond15.test,
1169         tests/cond16.test, tests/cond17.test, tests/cond18.test,
1170         tests/cond19.test, tests/cond2.test, tests/cond20.test,
1171         tests/cond21.test, tests/cond22.test, tests/cond23.test,
1172         tests/cond24.test, tests/cond25.test, tests/cond26.test,
1173         tests/cond27.test, tests/cond28.test, tests/cond29.test,
1174         tests/cond3.test, tests/cond30.test, tests/cond31.test,
1175         tests/cond32.test, tests/cond33.test, tests/cond34.test,
1176         tests/cond35.test, tests/cond36.test, tests/cond37.test,
1177         tests/cond4.test, tests/cond5.test, tests/cond6.test,
1178         tests/cond7.test, tests/cond8.test, tests/cond9.test,
1179         tests/condd.test, tests/condhook.test, tests/condinc.test,
1180         tests/condinc2.test, tests/condlib.test, tests/condman.test,
1181         tests/condman2.test, tests/conf2.test, tests/confdeps.test,
1182         tests/conff.test, tests/conff2.test, tests/confh.test,
1183         tests/confh4.test, tests/confh5.test, tests/config.test,
1184         tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
1185         tests/conflnk3.test, tests/confsub.test, tests/confvar.test,
1186         tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
1187         tests/cxx.test, tests/cxx2.test, tests/cxxansi.test,
1188         tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test,
1189         tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test,
1190         tests/dash.test, tests/defs.in, tests/defun.test,
1191         tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
1192         tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
1193         tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
1194         tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test,
1195         tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test,
1196         tests/depend.test, tests/depend2.test, tests/depend3.test,
1197         tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
1198         tests/dirlist.test, tests/discover.test, tests/distcom2.test,
1199         tests/distcom3.test, tests/distcom4.test, tests/distcom5.test,
1200         tests/distcom6.test, tests/distcom7.test, tests/distdir.test,
1201         tests/distname.test, tests/dollar.test, tests/double.test,
1202         tests/dup2.test, tests/else.test, tests/empty.test,
1203         tests/empty2.test, tests/empty3.test, tests/empty4.test,
1204         tests/exdir.test, tests/exdir2.test, tests/exeext.test,
1205         tests/exeext2.test, tests/exeext3.test, tests/exeext4.test,
1206         tests/exsource.test, tests/ext.test, tests/ext2.test,
1207         tests/extra.test, tests/extra2.test, tests/extra3.test,
1208         tests/extra4.test, tests/extra5.test, tests/extra6.test,
1209         tests/extra7.test, tests/f90only.test, tests/flibs.test,
1210         tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test,
1211         tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
1212         tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
1213         tests/gcj5.test, tests/getopt.test, tests/gettext.test,
1214         tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
1215         tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
1216         tests/gnuwarn2.test, tests/header.test, tests/help.test,
1217         tests/hfs.test, tests/hosts.test, tests/implicit.test,
1218         tests/include.test, tests/include2.test, tests/info.test,
1219         tests/insh2.test, tests/install2.test, tests/installdir.test,
1220         tests/instdat.test, tests/instdat2.test, tests/instexec.test,
1221         tests/insthook.test, tests/instman.test, tests/instman2.test,
1222         tests/instsh.test, tests/instsh2.test, tests/instspc.test,
1223         tests/interp.test, tests/interp2.test, tests/java.test,
1224         tests/java2.test, tests/java3.test, tests/javaprim.test,
1225         tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
1226         tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
1227         tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
1228         tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
1229         tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
1230         tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
1231         tests/library.test, tests/library2.test, tests/library3.test,
1232         tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
1233         tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
1234         tests/libtool7.test, tests/libtool8.test, tests/libtool9.test,
1235         tests/license.test, tests/link_c_cxx.test, tests/link_dist.test,
1236         tests/link_f90_only.test, tests/link_f_only.test,
1237         tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
1238         tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
1239         tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
1240         tests/lisp8.test, tests/listval.test, tests/location.test,
1241         tests/longlin2.test, tests/longline.test, tests/ltcond.test,
1242         tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
1243         tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
1244         tests/make.test, tests/makej.test, tests/makevars.test,
1245         tests/man.test, tests/man2.test, tests/mclean.test,
1246         tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
1247         tests/mdate4.test, tests/missing.test, tests/missing2.test,
1248         tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
1249         tests/mmodely.test, tests/multlib.test, tests/nobase.test,
1250         tests/nodef.test, tests/nodef2.test, tests/nodep.test,
1251         tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
1252         tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
1253         tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
1254         tests/nostdinc.test, tests/number.test, tests/obsolete.test,
1255         tests/order.test, tests/outdir.test, tests/output.test,
1256         tests/output10.test, tests/output11.test, tests/output12.test,
1257         tests/output2.test, tests/output3.test, tests/output4.test,
1258         tests/output5.test, tests/output6.test, tests/output7.test,
1259         tests/output8.test, tests/output9.test, tests/overrid.test,
1260         tests/parse.test, tests/percent.test, tests/percent2.test,
1261         tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
1262         tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
1263         tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
1264         tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
1265         tests/ppf77.test, tests/pr2.test, tests/pr204.test,
1266         tests/pr211.test, tests/pr220.test, tests/pr224.test,
1267         tests/pr229.test, tests/pr243.test, tests/pr266.test,
1268         tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
1269         tests/pr300-lib.test, tests/pr300-ltlib.test,
1270         tests/pr300-prog.test, tests/pr307.test, tests/pr401.test,
1271         tests/pr401b.test, tests/pr401c.test, tests/pr72.test,
1272         tests/pr87.test, tests/pr9.test, tests/prefix.test,
1273         tests/primary.test, tests/primary2.test, tests/primary3.test,
1274         tests/proginst.test, tests/python.test, tests/python10.test,
1275         tests/python11.test, tests/python12.test, tests/python2.test,
1276         tests/python3.test, tests/python4.test, tests/python5.test,
1277         tests/python6.test, tests/python7.test, tests/python8.test,
1278         tests/python9.test, tests/recurs.test, tests/recurs2.test,
1279         tests/regex.test, tests/remake.test, tests/remake2.test,
1280         tests/remake3.test, tests/remake4.test, tests/remake5.test,
1281         tests/req.test, tests/reqd.test, tests/reqd2.test,
1282         tests/rulepat.test, tests/scripts.test, tests/seenc.test,
1283         tests/sinclude.test, tests/space.test, tests/specflg.test,
1284         tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
1285         tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
1286         tests/spell.test, tests/spell2.test, tests/spell3.test,
1287         tests/spelling.test, tests/spy.test, tests/srcsub.test,
1288         tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
1289         tests/stdlib2.test, tests/strip.test, tests/subcond.test,
1290         tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
1291         tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
1292         tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
1293         tests/subdir8.test, tests/subdir9.test,
1294         tests/subdirbuiltsources.test, tests/subobj.test,
1295         tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
1296         tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
1297         tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
1298         tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
1299         tests/subst2.test, tests/substre2.test, tests/substref.test,
1300         tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
1301         tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
1302         tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
1303         tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
1304         tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
1305         tests/syntax.test, tests/tags.test, tests/tagsub.test,
1306         tests/tar.test, tests/tar2.test, tests/tar3.test,
1307         tests/target-cflags.test, tests/targetclash.test,
1308         tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
1309         tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
1310         tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
1311         tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
1312         tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
1313         tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
1314         tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
1315         tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
1316         tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
1317         tests/vars.test, tests/vars3.test, tests/vartar.test,
1318         tests/version.test, tests/version2.test, tests/version3.test,
1319         tests/version4.test, tests/version6.test, tests/version7.test,
1320         tests/version8.test, tests/vpath.test, tests/vtexi.test,
1321         tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
1322         tests/werror2.test, tests/whoami.test, tests/xsource.test,
1323         tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
1324         tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
1325         tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
1326         tests/yaccvpath.test: Update FSF postal mail address.
1327
1328         * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
1329         Autoconf currently defines a CCC variable.
1330
1331         * tests/output11.test, tests/output12.test: Use rm -f.
1332
1333 2005-04-25  Gary V. Vaughan  <gary@gnu.org>
1334             Alexandre Duret-Lutz  <adl@gnu.org>
1335
1336         Support for remote LIBOBJS (and friends) with subdir-objects.
1337         Fixes PR automake/401.
1338
1339         * automake.in (config_libobj_dir): New variable.
1340         (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
1341         (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
1342         (handle_LIBOBJS, handle_ALLOCA): Use them.  Adjust location of
1343         dependency files, possibly in a subdirectory.
1344         * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
1345         * tests/Makefile.am (TESTS): Add them.
1346         * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
1347         (LIBOBJS): Document changes in behaviour of
1348         LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
1349         subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
1350
1351 2005-04-18  Jim Meyering  <jim@meyering.net>
1352
1353         * doc/automake.texi (Dist): Correct English.
1354
1355 2005-03-31  Stepan Kasal  <kasal@ucw.cz>
1356
1357         * doc/automake.texi: When the phrase "for instance" introduces a
1358         sentence, it should be delimited by a comma.
1359
1360         * doc/automake.texi: Fix a few typos.
1361
1362 2005-03-30  Alexandre Duret-Lutz  <adl@gnu.org>
1363
1364         * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
1365         example, since the GCS now define htmldir.
1366         (Auxiliary Programs): Mention config-ml.in and symlink-tree.
1367         Give a URL for texinfo.tex.
1368         (Public macros): Sort alphabetically, and move obsolete macros...
1369         (Obsolete macros): ... here.
1370         Prompted by Karl Berry.
1371
1372 2005-03-29  Alexandre Duret-Lutz  <adl@gnu.org>
1373
1374         * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
1375         Jim Meyering.
1376
1377         * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
1378         rule is run with `make -j'.
1379         * doc/automake.texi (Multiple Outputs): Adjust.
1380         * tests/lisp6.test: Augment it.
1381         * tests/lisp8.test: New file.
1382         * tests/Makefile.am (TESTS): Add lisp8.test.
1383         Suggested by Bruno Haible.
1384
1385 2005-03-27  Alexandre Duret-Lutz  <adl@gnu.org>
1386
1387         * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
1388
1389 2005-03-16  Alexandre Duret-Lutz  <adl@gnu.org>
1390
1391         * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
1392         a missing *.elc file if it cannot be created because emacs does
1393         not exist.
1394         * tests/lisp7.test: New file.
1395         * tests/Makefile.am (TESTS): Add lisp7.test.
1396         Report from Greg Schafer.
1397
1398 2005-03-05  Alexandre Duret-Lutz  <adl@gnu.org>
1399
1400         * doc/automake.texi: Replace wicked whiches by thats.
1401
1402 2005-03-04  Alexandre Duret-Lutz  <adl@gnu.org>
1403
1404         * aclocal.in (scan_configure_dep, scan_file): Include file names
1405         are relative to the directory of configure.ac, not to the
1406         directory of the file doing the include.  Remove code for this
1407         latter case.
1408         * tests/acloca13.test: Run distcheck and make sure all macros are
1409         actually distributed.
1410
1411 2005-03-03  Alexandre Duret-Lutz  <adl@gnu.org>
1412
1413         For PR automake/450:
1414         * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
1415         files.
1416         * automake.in (scan_autoconf_traces): Likewise.
1417         * tests/sinclude.test: Augment.
1418         Report from Peter Breitenlohner.
1419
1420         For PR automake/450:
1421         * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
1422         acinclude.m4 and configure.ac to the include map in these two
1423         places ...
1424         (strip_redundant_includes): ... do it here.  This completes the
1425         previous change from 2005-03-01, that did not update
1426         write_aclocal.
1427         * tests/acloca19.test: Augment.
1428         Report from Peter Breitenlohner.
1429
1430 2005-03-02  Alexandre Duret-Lutz  <adl@gnu.org>
1431
1432         * tests/comment9.test: Typo.
1433
1434 2005-03-01  Alexandre Duret-Lutz  <adl@gnu.org>
1435
1436         * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
1437         * tests/comment9.test: New file.
1438         * tests/Makefile.am (TESTS): Add comment9.test.
1439         Report from Julien Sopena.
1440
1441         For PR automake/450:
1442         * aclocal.in (trace_used_macros): Do not explicitly trace files
1443         included by configure.ac.
1444         * tests/acloca19.test: New file.
1445         * tests/Makefile.am (TESTS): Add acloca19.test.
1446         Report from Peter Breitenlohner.
1447
1448 2005-02-27  Alexandre Duret-Lutz  <adl@gnu.org>
1449
1450         Fix for PR automake/448:
1451         * automake.in (handle_factored_dependencies): Flag install-hook as
1452         an error.
1453         * tests/insthook.test: Exercise this.
1454
1455         * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
1456         * doc/automake.texi (Hard-Coded Install Paths): Adjust.
1457
1458         * doc/automake.texi: Replace many uses of @samp by @code, and
1459         vice versa.  Use @command, @option, and @env where appropriate.
1460
1461 2005-02-26  Alexandre Duret-Lutz  <adl@gnu.org>
1462
1463         * doc/automake.texi: "filename" -> "file name", for consistency
1464         with GNU Coding Standards.  See also Paul's change on 2004-08-20
1465         in Autoconf.
1466
1467         * doc/automake.texi (A Library, Libtool Libraries): Show how to link
1468         a program with a static or libtool library.
1469         (Program and Library Variables): Make clearer that _LDADD and
1470         _LIBADD may also list libraries.
1471         Prompted by a mail from Bruce Korb.
1472
1473         * doc/automake.texi (Alternative): Show how to rewrite nobase_
1474         variables using custom directory variables, and link to node
1475         Uniform.  Suggested by Leonardo Boiko.
1476
1477         * doc/automake.texi (Flag Variables Ordering, User Variables):
1478         Make clearer who the maintainer is, and that he can AC_SUBST AM_
1479         variables in configure.ac.  Suggested by Norman Gray.
1480         (Uniform, Public macros, Libtool Issues, Java Support,
1481         Conditionals): Use `---' for em dash, and stick them to the
1482         enclosing text.
1483
1484         * doc/automake.texi: Reword a few sentences to fix all underflow
1485         and overflow warnings during `make dvi'.
1486         (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
1487         (Public macros) <AM_WITH_DMALLOC>: Likewise.
1488
1489 2005-02-12  Alexandre Duret-Lutz  <adl@gnu.org>
1490
1491         * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
1492         lib/texinfo.tex: New upstream versions.
1493
1494         * doc/automake.texi (Hard-Coded Install Paths): New node.
1495         (Extending, Extending aclocal, Python): Link to it.
1496         (Extending): Don't show how to install a file in /etc/ directly,
1497         this is insane.
1498
1499         * automake.in (read_am_file): Define variables containing long
1500         lines as VAR_PRETTY to work around tools with limited input width.
1501         * tests/longlin2.test: New file.
1502         * tests/Makefile.am (TESTS): Add it.
1503         Report from Albert Chin.
1504
1505 2005-02-09  Alexandre Duret-Lutz  <adl@gnu.org>
1506
1507         Fix for PR automake/447:
1508         * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
1509         Report from Mathias Doreille.  Add some old comments from
1510         Nicolas Joly for reference.
1511
1512 2005-02-08  Stepan Kasal  <kasal@ucw.cz>
1513
1514         * lib/mdate-sh: Check the size of the word following the month to
1515         catch Darwin.  This way the filename can contain spaces.
1516
1517         * doc/automake.texi (Requirements, Options): Typos.
1518
1519 2005-02-08  Alexandre Duret-Lutz  <adl@gnu.org>
1520
1521         * lib/missing (makeinfo): Compute the output file if neither -o
1522         nor @setfilename is used.
1523         Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
1524
1525 2005-02-07  Alexandre Duret-Lutz  <adl@gnu.org>
1526
1527         * doc/automake.texi (Requirements): Show one example of
1528         AC_CONFIG_FILES with multiple outputs, and correct a few typos.
1529
1530         * aclocal.in ($serial_line_rx): Expect at least one space between
1531         `serial' and the following number.
1532         Report from Jim Meyering.
1533
1534         * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
1535         Report from Peter O'Gorman.
1536
1537 2005-02-06  Alexandre Duret-Lutz  <adl@gnu.org>
1538
1539         * aclocal.in (usage, parse_arguments): New --dry-run and --diff
1540         options.
1541         (install_file, write_aclocal): Honor --dry-run and --diff.
1542         * doc/automake.texi (aclocal options): Document --dry-run and --diff.
1543         (Serials): Mention --diff.
1544         * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
1545         $expected_exit_code argument.
1546         (xsystem): Take a list of arguments, not a string.
1547         * tests/acloca18.test: Use --dry-run and --diff.
1548         Suggested by Paul Eggert.
1549
1550         * doc/automake.texi (aclocal options, Macro search path,
1551         Extending aclocal, Local Macros, Serials, Future of aclocal): Make
1552         these subsection of ...
1553         (Invoking aclocal): ... this.
1554
1555         * aclocal.in ($serial_line_rx): Allow trailing garbage after the
1556         serial number.
1557         (scan_file): Explicitly mark the "ill-formed serial" message
1558         as a warning.
1559         * doc/automake.texi (aclocal options, Local Macros): Link to...
1560         (Serials): ... this new section.
1561
1562 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
1563
1564         * lib/compile: Likewise.
1565
1566 2005-02-02  Alexandre Duret-Lutz  <adl@gnu.org>
1567
1568         * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
1569         see 2004-12-17.
1570         * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
1571         status if a write failure occurs with --help or --version option,
1572         as below.
1573
1574 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
1575
1576         * lib/depcomp: Exit with nonzero status if a write failure occurs
1577         with --help or --version option.
1578         * lib/elisp-comp: Likewise.
1579         * lib/gnupload: Likewise.
1580         * lib/install-sh: Likewise.
1581         * lib/missing: Likewise.
1582         * lib/mkinstalldirs: Likewise.
1583
1584 2005-02-01  Alexandre Duret-Lutz  <adl@gnu.org>
1585
1586         * doc/automake.texi (aclocal options): Typo.
1587
1588         * aclocal.in (list_compare): New functions.
1589         (scan_file): Honor #serial lines.
1590         * tests/acloca18.test: New test.
1591         * tests/Makefile.am (TESTS): Add it.
1592         * doc/automake.texi (aclocal options, Local Macros): Document
1593         #serial.
1594
1595 2005-01-30  Alexandre Duret-Lutz  <adl@gnu.org>
1596
1597         Preliminary support for `aclocal --install'.
1598         This still lacks #serial support.
1599         * aclocal.in (reset_maps, install_file): New functions.
1600         (write_aclocal): Copy files if --install.
1601         (usage, parse_arguments): Recognize --install.
1602         ("MAIN"): Start aclocal again if some file were installed.
1603         * tests/acloca10.test: Augment to test --install.
1604         * tests/aclocal.in, tests/defs.in: Add support for
1605         ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
1606         * doc/automake.texi (aclocal options, Local Macros): Document
1607         --install.
1608         (Future of aclocal): Adjust.
1609
1610         * doc/automake.texi (Macro search path): Using --acdir is not
1611         obvious, it's erroneous.
1612
1613         * doc/automake.texi (direntry): Let `info Automake' point to the
1614         manual, and `info automake' to the `Invoking automake' node.  Like
1615         in Autoconf.
1616
1617 2005-01-27  Akim Demaille  <akim@epita.fr>
1618
1619         * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
1620         From Paul Eggert.
1621
1622 2005-01-24  Akim Demaille  <akim@epita.fr>
1623
1624         * lib/Automake/FileUtils.pm: Rename filename as file_name to be
1625         consistent with the terminology of the GNU coding standards.
1626         From Paul Eggert.
1627         (update_file): Accept a $force argument, so that --force always
1628         updates the time stamps.
1629
1630 2005-01-23  Alexandre Duret-Lutz  <adl@gnu.org>
1631
1632         * doc/automake.texi (How the Linker is Chosen): Explain how the
1633         linker is chosen without diagram, and update to match the code.
1634         Suggestion from Adrian Bunk.
1635
1636 2005-01-16  Alexandre Duret-Lutz  <adl@gnu.org>
1637
1638         * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
1639         Process all words of $MAKEFLAGS when checking for -k.
1640         * tests/check4.test: New file.
1641         * tests/Makefile.am (TESTS): Add check4.test.
1642         Report from Eric Blake.
1643
1644 2005-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
1645
1646         * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
1647         AM_INIT_AUTOMAKE if the version passed is incorrect.
1648         * tests/version8.test: New file.
1649         * tests/Makefile.am (TESTS): Add version8.test.
1650
1651 2005-01-09  Alexandre Duret-Lutz  <adl@gnu.org>
1652
1653         * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
1654         m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
1655         m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
1656         m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
1657         m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
1658         m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
1659         m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
1660         m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
1661         license that is used in aclocal.m4.  Relicensing backed by RMS.
1662
1663         * doc/automake.texi (A Library, LIBOBJS): Mention that empty
1664         libraries are not portable.
1665
1666 2005-01-05  Akim Demaille  <akim@epita.fr>
1667
1668         * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
1669         * tests/aclocal5.test (MORE_DEFS): Rename as...
1670         (AM_TEST): this so that undefined macros are caught.
1671         And make it an alias of AC_SUBST.
1672         Test AU_ALIAS.
1673         Reported by Martin Bravenboer.
1674
1675 2005-01-03  Alexandre Duret-Lutz  <adl@gnu.org>
1676
1677         Fix handling of per-target flags in link rules.
1678         * automake.in (define_per_target_linker_variable): New function.
1679         (handle_programs, handle_ltlibraries): Use it.
1680         (%link_languages): New map.
1681         (register_language): Fill it.
1682         * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
1683         $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
1684         define_per_target_linker_variable if needed.
1685         * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
1686         $(%XPROGRAM%_LDFLAGS).
1687         * doc/automake.texi (Program and Library Variables): Mention
1688         AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
1689         and maude_LIBTOOLFLAGS.
1690         * tests/libtool9.test: New file.
1691         * tests/Makefile.am (TESTS): Add it.
1692         * NEWS: Explain the backward incompatibility.
1693         Report from Akim Demaille.
1694
1695 2005-01-01  Alexandre Duret-Lutz  <adl@gnu.org>
1696
1697         * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
1698         specifications with shell variables.
1699         (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
1700         AC_CONFIG_FILES for this explanation.
1701         * automake.in (substitute_ac_subst_variables_worker,
1702         substitute_ac_subst_variables): Mew functions.
1703         (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
1704         to ignore dependencies that contain unAC_SUBSTed shell variables.
1705         (handle_configure): Likewise, do not output rules for
1706         AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
1707         unAC_SUBSTed contain shell variables.
1708         * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
1709         * tests/output11.test, tests/output12.test: New files.
1710         * tests/Makefile.am (TESTS): Add output11.test and output12.test.
1711
1712         * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
1713         * automake.in ($gen_copyright, version): Likewise.
1714
1715 -----
1716
1717 Copyright (C) 2005, 2006  Free Software Foundation, Inc.
1718
1719 This file is part of GNU Automake.
1720
1721 GNU Automake is free software; you can redistribute it and/or modify
1722 it under the terms of the GNU General Public License as published by
1723 the Free Software Foundation; either version 2, or (at your option)
1724 any later version.
1725
1726 GNU Automake is distributed in the hope that it will be useful,
1727 but WITHOUT ANY WARRANTY; without even the implied warranty of
1728 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1729 GNU General Public License for more details.
1730
1731 You should have received a copy of the GNU General Public License
1732 along with autoconf; see the file COPYING.  If not, write to
1733 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
1734 Boston, MA 02110-1301, USA.
1735
1736 ;; Variables:
1737 ;; coding: utf-8
1738 ;; End: