* lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
[platform/upstream/automake.git] / ChangeLog
1 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
2
3         * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
4         the code is portable to both POSIX and pre-POSIX shells.
5
6 2005-10-17  Alexandre Duret-Lutz  <adl@gnu.org>
7
8         * tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
9         suggested by Eric Blake.
10
11 2005-10-17  Stepan Kasal  <kasal@ucw.cz>
12
13         * doc/automake.texi (Program and Library Variables): Typo.
14         * lib/Automake/Variable.pm (transform_variable_recursively): Typo
15         in a comment.
16
17 2005-10-03  Stepan Kasal  <kasal@ucw.cz>
18
19         * ChangeLog.03, automake.in, tests/overrid.test: Typos.
20
21 2005-10-03  Alexandre Duret-Lutz  <adl@gnu.org>
22
23         * tests/nobase.test: Exercise previous patch.
24
25 2005-10-03  Peter O'Gorman  <peter@pogma.com>  (tiny change)
26
27         * lib/am/distdir.am: Remove $(SHELL) when calling install_sh
28         * m4/strip.m4: Ditto.
29         * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
30
31 2005-09-13  Paul Eggert  <eggert@cs.ucla.edu>
32
33         * doc/automake.texi (limitations on file names): New section.
34         * lib/install-sh: Rewrite to support '*' in file names.
35         Also, tune so that we don't invoke so many commands in the usual case.
36         * tests/instspc.test: The "*" test is now fixed.
37
38 2005-09-13  Stepan Kasal  <kasal@ucw.cz>
39
40         * automake.in (Languages) <cppasm>: Fix typo in the comment.
41
42 2005-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
43
44         * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
45         shell in verbose mode.
46
47 2005-08-07  Alexandre Duret-Lutz  <adl@gnu.org>
48
49         * lib/Automake/Variable.pm (variable_value): Do not read the TRUE
50         value of a conditionally defined variable.
51         Report from Juergen Leising.
52
53         * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
54         $(MAKE) invocations.
55         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
56         Likewise.
57         * lib/am/texi-vers.am (%STAMPVTI%): Likewise.
58         * lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
59         * Makefile.am (maintainer-check): Check for this.
60         Report from Stepan Kasal.
61
62         * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.
63         Prompted by Stepan Kasal.
64
65 2005-08-07  Stepan Kasal  <kasal@ucw.cz>
66
67         * lib/am/texinfos.am (uninstall-info-am): Call install-info only if
68         the $(infodir) exists.
69
70 2005-07-31  Stepan Kasal  <kasal@ucw.cz>
71
72         * tests/library3.test: Fix a typo which made the test fail.
73
74 2005-07-27  Alexandre Duret-Lutz  <adl@gnu.org>
75
76         * doc/automake.texi (Linking, Program and Library Variables):
77         Suggest reserving -l for third-party libraries.
78
79         * lib/Automake/Variable.pm (require_variables): Mention aclocal's
80         search path when suggesting to add a macro in configure.ac.
81         People are confused when Automake suggests adding a macro (such as
82         AC_PROG_LIBTOOL) that is already in configure.ac.
83         * automake.in (require_file_internal): Suggest `automake --add-missing'
84         for missing files that can be installed.
85         * tests/library3.test: Adjust.
86
87 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
88
89         * tests/defs.in: When required matches both `*libtool*' and
90         `*gettext*', check for both m4 files.
91
92         * doc/automake.texi (Auxiliary Programs): Fix a typo.
93         * tests/suffix11.test: Fix a typo.
94         * tests/colon3.test: s/EGREP/FGREP/.
95
96 2005-07-19  Paul Eggert  <eggert@cs.ucla.edu>
97
98         * tests/instspc.test: Major rewrite to test for many other
99         problematic file names, e.g., '$', '"', '('.  Automake and
100         Autoconf can't handle many of them, so do not report a failure
101         if the usual candidates show up.
102
103 2005-07-19  Stepan Kasal  <kasal@ucw.cz>
104
105         * Makefile.am (automake, aclocal): Merge the rules.
106
107 2005-07-10  Alexandre Duret-Lutz  <adl@gnu.org>
108
109         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
110         versions.
111
112 2005-07-09  Alexandre Duret-Lutz  <adl@gnu.org>
113
114         * lib/install-sh: Use IFS=/ to split directories on /, don't translate
115         / into % as it prevents directory names using %...
116
117 2005-07-09  Stepan Kasal  <kasal@ucw.cz>
118
119         * doc/automake.texi (Public macros): Typo.
120         * aclocal.in: Typo in comment.
121
122 2005-07-09  Zack Weinberg  <zack@codesourcery.com>  (tiny change)
123
124         * lib/depcomp: Handle "#line" markers as well as "# " markers in
125         "cpp" style, so it can work with newer HP compilers (for their
126         ia64 systems).
127
128 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
129
130         * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
131         fix an underful hbox.
132         * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
133         New upstream versions.
134
135 2005-07-01  Alexandre Duret-Lutz  <adl@gnu.org>
136
137         * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
138
139 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
140
141         * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
142         lib/am/header-vars.am no longer uses it.
143         * lib/am/libtool.am (distclean-am, distclean-libtool): Define
144         if TOPDIR_P is true, not TOPDIR.
145         Suggested by Stepan Kasal.
146
147         * automake.in (read_am_file): Correctly diagnose comments following
148         trailing backslash.
149         * tests/commen10.test: New file.
150         * tests/Makefile.am (TESTS): Add commen10.test.
151         Report from Harald Dunkel.
152
153         * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead
154         of AC_SUBST.
155         * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL):
156         Do not define, they are AC_SUBST_TRACEd by Autoconf.
157         * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c.
158         * tests/include.test: Call AC_OUTPUT.
159
160 2005-06-29  Alexandre Duret-Lutz  <adl@gnu.org>
161
162         * lib/mkinstalldirs: Fix support for directory name with spaces if
163         `mkdir -p' does not work.
164         * tests/Makefile.am (TESTS): Add mkinst3.test.
165         * tests/mkinst3.test: New file.
166         Report from Noah Friedman.
167
168         * doc/automake.texi (Include, Extending aclocal): Typos.
169         Report from Karl Berry.
170
171 2005-06-28  Stepan Kasal  <kasal@ucw.cz>
172             Alexandre Duret-Lutz  <adl@gnu.org>
173
174         * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
175         * tests/txinfo28.test: Set TIME_STYLE.
176         Report from Vincent Lefevre and James Youngman.
177
178 2005-06-24  Alexandre Duret-Lutz  <adl@gnu.org>
179
180         * lib/Automake/Variable.pm (define, _new): Remember the helper
181         variable created for the last conditional += on each variable, and
182         only append further += in the same condition to this last helper
183         variable, not to older helper variables.  This way the order of
184         the items appended to the variable is preserved.
185         * tests/cond21.test: Adjust.
186         * tests/cond38.test: New file.
187         * tests/Makefile.am (TESTS): Add cond38.test.
188         Report from Ed Hartnett.
189
190 2005-06-22  Alexandre Duret-Lutz  <adl@gnu.org>
191
192         * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
193
194         * automake.in (handle_footer): Do not output an unformatted
195         definition of SOURCES, it is already done correctly in
196         generate_makefile.  This superfluous definition introduced long
197         lines in some Makefiles, hence breakages in tools with a limited
198         line length.  Report from Mathias Froehlich.
199
200 2005-06-11  Alexandre Duret-Lutz  <adl@gnu.org>
201
202         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
203         Fix redirections in previous patch.
204
205 2005-06-08  Alexandre Duret-Lutz  <adl@gnu.org>
206
207         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
208         Do not backup any file if makeinfo is not installed.
209         * lib/missing (makeinfo): Do not touch a missing info file.
210         * tests/txinfo30.test: New file.
211         * tests/Makefile.am (TESTS): Add txinfo30.test.
212         Report from Bob Proulx.
213
214         * doc/automake.texi (Extending aclocal): Typo.
215
216 2005-05-24  Brian Gough  <bjg@network-theory.co.uk>  (tiny change)
217
218         * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
219
220 2005-05-15  Alexandre Duret-Lutz  <adl@gnu.org>
221
222         Fix PR automake/461:
223         * automake.in (require_build_directory): Canonicalize directories
224         with different names, such as `foo/bar' and `./foo//bar'.
225         * tests/subobj9.test: Augment to test that.
226         Report from Tom Tromey.
227
228 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
229
230         * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
231         ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am,
232         NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure,
233         configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING,
234         lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in,
235         lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp,
236         lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile,
237         lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
238         lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
239         lib/Automake/Condition.pm, lib/Automake/Config.in,
240         lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
241         lib/Automake/FileUtils.pm, lib/Automake/General.pm,
242         lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
243         lib/Automake/Location.pm, lib/Automake/Makefile.am,
244         lib/Automake/Options.pm, lib/Automake/Rule.pm,
245         lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
246         lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
247         lib/Automake/Version.pm, lib/Automake/Wrap.pm,
248         lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
249         lib/Automake/tests/DisjConditions.pl,
250         lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
251         lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
252         lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
253         lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
254         lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
255         lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
256         lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
257         lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
258         lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
259         lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
260         lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
261         lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
262         lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
263         lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
264         lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
265         m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
266         tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
267         tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
268         tests/acloca17.test, tests/acloca18.test, tests/acloca19.test,
269         tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test,
270         tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test,
271         tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test,
272         tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test,
273         tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test,
274         tests/acsubst.test, tests/acsubst2.test, tests/all.test,
275         tests/alloca.test, tests/alloca2.test, tests/alpha.test,
276         tests/alpha2.test, tests/amassign.test, tests/ammissing.test,
277         tests/ansi.test, tests/ansi10.test, tests/ansi2.test,
278         tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test,
279         tests/ansi5.test, tests/ansi6.test, tests/ansi7.test,
280         tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test,
281         tests/asm.test, tests/autohdr.test, tests/autohdr2.test,
282         tests/autohdr3.test, tests/autohdr4.test, tests/automake.test,
283         tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test,
284         tests/auxdir4.test, tests/backsl.test, tests/backsl2.test,
285         tests/backsl3.test, tests/backsl4.test, tests/badline.test,
286         tests/badopt.test, tests/badprog.test, tests/block.test,
287         tests/bsource.test, tests/canon.test, tests/canon2.test,
288         tests/canon3.test, tests/canon4.test, tests/canon5.test,
289         tests/ccnoco.test, tests/check.test, tests/check2.test,
290         tests/check3.test, tests/check4.test, tests/checkall.test,
291         tests/clean.test, tests/clean2.test, tests/colneq.test,
292         tests/colneq2.test, tests/colon.test, tests/colon2.test,
293         tests/colon3.test, tests/colon4.test, tests/colon5.test,
294         tests/colon6.test, tests/colon7.test, tests/comment.test,
295         tests/comment2.test, tests/comment3.test, tests/comment4.test,
296         tests/comment5.test, tests/comment6.test, tests/comment7.test,
297         tests/comment8.test, tests/comment9.test, tests/compile.test,
298         tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test,
299         tests/cond.test, tests/cond10.test, tests/cond11.test,
300         tests/cond13.test, tests/cond14.test, tests/cond15.test,
301         tests/cond16.test, tests/cond17.test, tests/cond18.test,
302         tests/cond19.test, tests/cond2.test, tests/cond20.test,
303         tests/cond21.test, tests/cond22.test, tests/cond23.test,
304         tests/cond24.test, tests/cond25.test, tests/cond26.test,
305         tests/cond27.test, tests/cond28.test, tests/cond29.test,
306         tests/cond3.test, tests/cond30.test, tests/cond31.test,
307         tests/cond32.test, tests/cond33.test, tests/cond34.test,
308         tests/cond35.test, tests/cond36.test, tests/cond37.test,
309         tests/cond4.test, tests/cond5.test, tests/cond6.test,
310         tests/cond7.test, tests/cond8.test, tests/cond9.test,
311         tests/condd.test, tests/condhook.test, tests/condinc.test,
312         tests/condinc2.test, tests/condlib.test, tests/condman.test,
313         tests/condman2.test, tests/conf2.test, tests/confdeps.test,
314         tests/conff.test, tests/conff2.test, tests/confh.test,
315         tests/confh4.test, tests/confh5.test, tests/config.test,
316         tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
317         tests/conflnk3.test, tests/confsub.test, tests/confvar.test,
318         tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
319         tests/cxx.test, tests/cxx2.test, tests/cxxansi.test,
320         tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test,
321         tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test,
322         tests/dash.test, tests/defs.in, tests/defun.test,
323         tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
324         tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
325         tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
326         tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test,
327         tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test,
328         tests/depend.test, tests/depend2.test, tests/depend3.test,
329         tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
330         tests/dirlist.test, tests/discover.test, tests/distcom2.test,
331         tests/distcom3.test, tests/distcom4.test, tests/distcom5.test,
332         tests/distcom6.test, tests/distcom7.test, tests/distdir.test,
333         tests/distname.test, tests/dollar.test, tests/double.test,
334         tests/dup2.test, tests/else.test, tests/empty.test,
335         tests/empty2.test, tests/empty3.test, tests/empty4.test,
336         tests/exdir.test, tests/exdir2.test, tests/exeext.test,
337         tests/exeext2.test, tests/exeext3.test, tests/exeext4.test,
338         tests/exsource.test, tests/ext.test, tests/ext2.test,
339         tests/extra.test, tests/extra2.test, tests/extra3.test,
340         tests/extra4.test, tests/extra5.test, tests/extra6.test,
341         tests/extra7.test, tests/f90only.test, tests/flibs.test,
342         tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test,
343         tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
344         tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
345         tests/gcj5.test, tests/getopt.test, tests/gettext.test,
346         tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
347         tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
348         tests/gnuwarn2.test, tests/header.test, tests/help.test,
349         tests/hfs.test, tests/hosts.test, tests/implicit.test,
350         tests/include.test, tests/include2.test, tests/info.test,
351         tests/insh2.test, tests/install2.test, tests/installdir.test,
352         tests/instdat.test, tests/instdat2.test, tests/instexec.test,
353         tests/insthook.test, tests/instman.test, tests/instman2.test,
354         tests/instsh.test, tests/instsh2.test, tests/instspc.test,
355         tests/interp.test, tests/interp2.test, tests/java.test,
356         tests/java2.test, tests/java3.test, tests/javaprim.test,
357         tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
358         tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
359         tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
360         tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
361         tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
362         tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
363         tests/library.test, tests/library2.test, tests/library3.test,
364         tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
365         tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
366         tests/libtool7.test, tests/libtool8.test, tests/libtool9.test,
367         tests/license.test, tests/link_c_cxx.test, tests/link_dist.test,
368         tests/link_f90_only.test, tests/link_f_only.test,
369         tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
370         tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
371         tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
372         tests/lisp8.test, tests/listval.test, tests/location.test,
373         tests/longlin2.test, tests/longline.test, tests/ltcond.test,
374         tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
375         tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
376         tests/make.test, tests/makej.test, tests/makevars.test,
377         tests/man.test, tests/man2.test, tests/mclean.test,
378         tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
379         tests/mdate4.test, tests/missing.test, tests/missing2.test,
380         tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
381         tests/mmodely.test, tests/multlib.test, tests/nobase.test,
382         tests/nodef.test, tests/nodef2.test, tests/nodep.test,
383         tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
384         tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
385         tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
386         tests/nostdinc.test, tests/number.test, tests/obsolete.test,
387         tests/order.test, tests/outdir.test, tests/output.test,
388         tests/output10.test, tests/output11.test, tests/output12.test,
389         tests/output2.test, tests/output3.test, tests/output4.test,
390         tests/output5.test, tests/output6.test, tests/output7.test,
391         tests/output8.test, tests/output9.test, tests/overrid.test,
392         tests/parse.test, tests/percent.test, tests/percent2.test,
393         tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
394         tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
395         tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
396         tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
397         tests/ppf77.test, tests/pr2.test, tests/pr204.test,
398         tests/pr211.test, tests/pr220.test, tests/pr224.test,
399         tests/pr229.test, tests/pr243.test, tests/pr266.test,
400         tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
401         tests/pr300-lib.test, tests/pr300-ltlib.test,
402         tests/pr300-prog.test, tests/pr307.test, tests/pr401.test,
403         tests/pr401b.test, tests/pr401c.test, tests/pr72.test,
404         tests/pr87.test, tests/pr9.test, tests/prefix.test,
405         tests/primary.test, tests/primary2.test, tests/primary3.test,
406         tests/proginst.test, tests/python.test, tests/python10.test,
407         tests/python11.test, tests/python12.test, tests/python2.test,
408         tests/python3.test, tests/python4.test, tests/python5.test,
409         tests/python6.test, tests/python7.test, tests/python8.test,
410         tests/python9.test, tests/recurs.test, tests/recurs2.test,
411         tests/regex.test, tests/remake.test, tests/remake2.test,
412         tests/remake3.test, tests/remake4.test, tests/remake5.test,
413         tests/req.test, tests/reqd.test, tests/reqd2.test,
414         tests/rulepat.test, tests/scripts.test, tests/seenc.test,
415         tests/sinclude.test, tests/space.test, tests/specflg.test,
416         tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
417         tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
418         tests/spell.test, tests/spell2.test, tests/spell3.test,
419         tests/spelling.test, tests/spy.test, tests/srcsub.test,
420         tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
421         tests/stdlib2.test, tests/strip.test, tests/subcond.test,
422         tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
423         tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
424         tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
425         tests/subdir8.test, tests/subdir9.test,
426         tests/subdirbuiltsources.test, tests/subobj.test,
427         tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
428         tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
429         tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
430         tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
431         tests/subst2.test, tests/substre2.test, tests/substref.test,
432         tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
433         tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
434         tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
435         tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
436         tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
437         tests/syntax.test, tests/tags.test, tests/tagsub.test,
438         tests/tar.test, tests/tar2.test, tests/tar3.test,
439         tests/target-cflags.test, tests/targetclash.test,
440         tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
441         tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
442         tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
443         tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
444         tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
445         tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
446         tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
447         tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
448         tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
449         tests/vars.test, tests/vars3.test, tests/vartar.test,
450         tests/version.test, tests/version2.test, tests/version3.test,
451         tests/version4.test, tests/version6.test, tests/version7.test,
452         tests/version8.test, tests/vpath.test, tests/vtexi.test,
453         tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
454         tests/werror2.test, tests/whoami.test, tests/xsource.test,
455         tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
456         tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
457         tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
458         tests/yaccvpath.test: Update FSF postal mail address.
459
460         * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
461         Autoconf currently defines a CCC variable.
462
463         * tests/output11.test, tests/output12.test: Use rm -f.
464
465 2005-04-25  Gary V. Vaughan  <gary@gnu.org>
466             Alexandre Duret-Lutz  <adl@gnu.org>
467
468         Support for remote LIBOBJS (and friends) with subdir-objects.
469         Fixes PR automake/401.
470
471         * automake.in (config_libobj_dir): New variable.
472         (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
473         (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
474         (handle_LIBOBJS, handle_ALLOCA): Use them.  Adjust location of
475         dependency files, possibly in a subdirectory.
476         * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
477         * tests/Makefile.am (TESTS): Add them.
478         * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
479         (LIBOBJS): Document changes in behaviour of
480         LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
481         subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
482
483 2005-04-18  Jim Meyering  <jim@meyering.net>
484
485         * doc/automake.texi (Dist): Correct English.
486
487 2005-03-31  Stepan Kasal  <kasal@ucw.cz>
488
489         * doc/automake.texi: When the phrase "for instance" introduces a
490         sentence, it should be delimited by a comma.
491
492         * doc/automake.texi: Fix a few typos.
493
494 2005-03-30  Alexandre Duret-Lutz  <adl@gnu.org>
495
496         * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
497         example, since the GCS now define htmldir.
498         (Auxiliary Programs): Mention config-ml.in and symlink-tree.
499         Give a URL for texinfo.tex.
500         (Public macros): Sort alphabetically, and move obsolete macros...
501         (Obsolete macros): ... here.
502         Prompted by Karl Berry.
503
504 2005-03-29  Alexandre Duret-Lutz  <adl@gnu.org>
505
506         * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
507         Jim Meyering.
508
509         * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
510         rule is run with `make -j'.
511         * doc/automake.texi (Multiple Outputs): Adjust.
512         * tests/lisp6.test: Augment it.
513         * tests/lisp8.test: New file.
514         * tests/Makefile.am (TESTS): Add lisp8.test.
515         Suggested by Bruno Haible.
516
517 2005-03-27  Alexandre Duret-Lutz  <adl@gnu.org>
518
519         * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
520
521 2005-03-16  Alexandre Duret-Lutz  <adl@gnu.org>
522
523         * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
524         a missing *.elc file if it cannot be created because emacs does
525         not exist.
526         * tests/lisp7.test: New file.
527         * tests/Makefile.am (TESTS): Add lisp7.test.
528         Report from Greg Schafer.
529
530 2005-03-05  Alexandre Duret-Lutz  <adl@gnu.org>
531
532         * doc/automake.texi: Replace wicked whiches by thats.
533
534 2005-03-04  Alexandre Duret-Lutz  <adl@gnu.org>
535
536         * aclocal.in (scan_configure_dep, scan_file): Include file names
537         are relative to the directory of configure.ac, not to the
538         directory of the file doing the include.  Remove code for this
539         latter case.
540         * tests/acloca13.test: Run distcheck and make sure all macros are
541         actually distributed.
542
543 2005-03-03  Alexandre Duret-Lutz  <adl@gnu.org>
544
545         For PR automake/450:
546         * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
547         files.
548         * automake.in (scan_autoconf_traces): Likewise.
549         * tests/sinclude.test: Augment.
550         Report from Peter Breitenlohner.
551
552         For PR automake/450:
553         * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
554         acinclude.m4 and configure.ac to the include map in these two
555         places ...
556         (strip_redundant_includes): ... do it here.  This completes the
557         previous change from 2005-03-01, that did not update
558         write_aclocal.
559         * tests/acloca19.test: Augment.
560         Report from Peter Breitenlohner.
561
562 2005-03-02  Alexandre Duret-Lutz  <adl@gnu.org>
563
564         * tests/comment9.test: Typo.
565
566 2005-03-01  Alexandre Duret-Lutz  <adl@gnu.org>
567
568         * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
569         * tests/comment9.test: New file.
570         * tests/Makefile.am (TESTS): Add comment9.test.
571         Report from Julien Sopena.
572
573         For PR automake/450:
574         * aclocal.in (trace_used_macros): Do not explicitly trace files
575         included by configure.ac.
576         * tests/acloca19.test: New file.
577         * tests/Makefile.am (TESTS): Add acloca19.test.
578         Report from Peter Breitenlohner.
579
580 2005-02-27  Alexandre Duret-Lutz  <adl@gnu.org>
581
582         Fix for PR automake/448:
583         * automake.in (handle_factored_dependencies): Flag install-hook as
584         an error.
585         * tests/insthook.test: Exercise this.
586
587         * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
588         * doc/automake.texi (Hard-Coded Install Paths): Adjust.
589
590         * doc/automake.texi: Replace many uses of @samp by @code, and
591         vice versa.  Use @command, @option, and @env where appropriate.
592
593 2005-02-26  Alexandre Duret-Lutz  <adl@gnu.org>
594
595         * doc/automake.texi: "filename" -> "file name", for consistency
596         with GNU Coding Standards.  See also Paul's change on 2004-08-20
597         in Autoconf.
598
599         * doc/automake.texi (A Library, Libtool Libraries): Show how to link
600         a program with a static or libtool library.
601         (Program and Library Variables): Make clearer that _LDADD and
602         _LIBADD may also list libraries.
603         Prompted by a mail from Bruce Korb.
604
605         * doc/automake.texi (Alternative): Show how to rewrite nobase_
606         variables using custom directory variables, and link to node
607         Uniform.  Suggested by Leonardo Boiko.
608
609         * doc/automake.texi (Flag Variables Ordering, User Variables):
610         Make clearer who the maintainer is, and that he can AC_SUBST AM_
611         variables in configure.ac.  Suggested by Norman Gray.
612         (Uniform, Public macros, Libtool Issues, Java Support,
613         Conditionals): Use `---' for em dash, and stick them to the
614         enclosing text.
615
616         * doc/automake.texi: Reword a few sentences to fix all underflow
617         and overflow warnings during `make dvi'.
618         (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
619         (Public macros) <AM_WITH_DMALLOC>: Likewise.
620
621 2005-02-12  Alexandre Duret-Lutz  <adl@gnu.org>
622
623         * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
624         lib/texinfo.tex: New upstream versions.
625
626         * doc/automake.texi (Hard-Coded Install Paths): New node.
627         (Extending, Extending aclocal, Python): Link to it.
628         (Extending): Don't show how to install a file in /etc/ directly,
629         this is insane.
630
631         * automake.in (read_am_file): Define variables containing long
632         lines as VAR_PRETTY to work around tools with limited input width.
633         * tests/longlin2.test: New file.
634         * tests/Makefile.am (TESTS): Add it.
635         Report from Albert Chin.
636
637 2005-02-09  Alexandre Duret-Lutz  <adl@gnu.org>
638
639         Fix for PR automake/447:
640         * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
641         Report from Mathias Doreille.  Add some old comments from
642         Nicolas Joly for reference.
643
644 2005-02-08  Stepan Kasal  <kasal@ucw.cz>
645
646         * lib/mdate-sh: Check the size of the word following the month to
647         catch Darwin.  This way the filename can contain spaces.
648
649         * doc/automake.texi (Requirements, Options): Typos.
650
651 2005-02-08  Alexandre Duret-Lutz  <adl@gnu.org>
652
653         * lib/missing (makeinfo): Compute the output file if neither -o
654         nor @setfilename is used.
655         Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
656
657 2005-02-07  Alexandre Duret-Lutz  <adl@gnu.org>
658
659         * doc/automake.texi (Requirements): Show one example of
660         AC_CONFIG_FILES with multiple outputs, and correct a few typos.
661
662         * aclocal.in ($serial_line_rx): Expect at least one space between
663         `serial' and the following number.
664         Report from Jim Meyering.
665
666         * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
667         Report from Peter O'Gorman.
668
669 2005-02-06  Alexandre Duret-Lutz  <adl@gnu.org>
670
671         * aclocal.in (usage, parse_arguments): New --dry-run and --diff
672         options.
673         (install_file, write_aclocal): Honor --dry-run and --diff.
674         * doc/automake.texi (aclocal options): Document --dry-run and --diff.
675         (Serials): Mention --diff.
676         * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
677         $expected_exit_code argument.
678         (xsystem): Take a list of arguments, not a string.
679         * tests/acloca18.test: Use --dry-run and --diff.
680         Suggested by Paul Eggert.
681
682         * doc/automake.texi (aclocal options, Macro search path,
683         Extending aclocal, Local Macros, Serials, Future of aclocal): Make
684         these subsection of ...
685         (Invoking aclocal): ... this.
686
687         * aclocal.in ($serial_line_rx): Allow trailing garbage after the
688         serial number.
689         (scan_file): Explicitly mark the "ill-formed serial" message
690         as a warning.
691         * doc/automake.texi (aclocal options, Local Macros): Link to...
692         (Serials): ... this new section.
693
694 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
695
696         * lib/compile: Likewise.
697
698 2005-02-02  Alexandre Duret-Lutz  <adl@gnu.org>
699
700         * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
701         see 2004-12-17.
702         * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
703         status if a write failure occurs with --help or --version option,
704         as below.
705
706 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
707
708         * lib/depcomp: Exit with nonzero status if a write failure occurs
709         with --help or --version option.
710         * lib/elisp-comp: Likewise.
711         * lib/gnupload: Likewise.
712         * lib/install-sh: Likewise.
713         * lib/missing: Likewise.
714         * lib/mkinstalldirs: Likewise.
715
716 2005-02-01  Alexandre Duret-Lutz  <adl@gnu.org>
717
718         * doc/automake.texi (aclocal options): Typo.
719
720         * aclocal.in (list_compare): New functions.
721         (scan_file): Honor #serial lines.
722         * tests/acloca18.test: New test.
723         * tests/Makefile.am (TESTS): Add it.
724         * doc/automake.texi (aclocal options, Local Macros): Document
725         #serial.
726
727 2005-01-30  Alexandre Duret-Lutz  <adl@gnu.org>
728
729         Preliminary support for `aclocal --install'.
730         This still lacks #serial support.
731         * aclocal.in (reset_maps, install_file): New functions.
732         (write_aclocal): Copy files if --install.
733         (usage, parse_arguments): Recognize --install.
734         ("MAIN"): Start aclocal again if some file were installed.
735         * tests/acloca10.test: Augment to test --install.
736         * tests/aclocal.in, tests/defs.in: Add support for
737         ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
738         * doc/automake.texi (aclocal options, Local Macros): Document
739         --install.
740         (Future of aclocal): Adjust.
741
742         * doc/automake.texi (Macro search path): Using --acdir is not
743         obvious, it's erroneous.
744
745         * doc/automake.texi (direntry): Let `info Automake' point to the
746         manual, and `info automake' to the `Invoking automake' node.  Like
747         in Autoconf.
748
749 2005-01-27  Akim Demaille  <akim@epita.fr>
750
751         * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
752         From Paul Eggert.
753
754 2005-01-24  Akim Demaille  <akim@epita.fr>
755
756         * lib/Automake/FileUtils.pm: Rename filename as file_name to be
757         consistent with the terminology of the GNU coding standards.
758         From Paul Eggert.
759         (update_file): Accept a $force argument, so that --force always
760         updates the time stamps.
761
762 2005-01-23  Alexandre Duret-Lutz  <adl@gnu.org>
763
764         * doc/automake.texi (How the Linker is Chosen): Explain how the
765         linker is chosen without diagram, and update to match the code.
766         Suggestion from Adrian Bunk.
767
768 2005-01-16  Alexandre Duret-Lutz  <adl@gnu.org>
769
770         * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
771         Process all words of $MAKEFLAGS when checking for -k.
772         * tests/check4.test: New file.
773         * tests/Makefile.am (TESTS): Add check4.test.
774         Report from Eric Blake.
775
776 2005-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
777
778         * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
779         AM_INIT_AUTOMAKE if the version passed is incorrect.
780         * tests/version8.test: New file.
781         * tests/Makefile.am (TESTS): Add version8.test.
782
783 2005-01-09  Alexandre Duret-Lutz  <adl@gnu.org>
784
785         * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
786         m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
787         m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
788         m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
789         m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
790         m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
791         m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
792         m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
793         license that is used in aclocal.m4.  Relicensing backed by RMS.
794
795         * doc/automake.texi (A Library, LIBOBJS): Mention that empty
796         libraries are not portable.
797
798 2005-01-05  Akim Demaille  <akim@epita.fr>
799
800         * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
801         * tests/aclocal5.test (MORE_DEFS): Rename as...
802         (AM_TEST): this so that undefined macros are caught.
803         And make it an alias of AC_SUBST.
804         Test AU_ALIAS.
805         Reported by Martin Bravenboer.
806
807 2005-01-03  Alexandre Duret-Lutz  <adl@gnu.org>
808
809         Fix handling of per-target flags in link rules.
810         * automake.in (define_per_target_linker_variable): New function.
811         (handle_programs, handle_ltlibraries): Use it.
812         (%link_languages): New map.
813         (register_language): Fill it.
814         * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
815         $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
816         define_per_target_linker_variable if needed.
817         * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
818         $(%XPROGRAM%_LDFLAGS).
819         * doc/automake.texi (Program and Library Variables): Mention
820         AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
821         and maude_LIBTOOLFLAGS.
822         * tests/libtool9.test: New file.
823         * tests/Makefile.am (TESTS): Add it.
824         * NEWS: Explain the backward incompatibility.
825         Report from Akim Demaille.
826
827 2005-01-01  Alexandre Duret-Lutz  <adl@gnu.org>
828
829         * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
830         specifications with shell variables.
831         (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
832         AC_CONFIG_FILES for this explanation.
833         * automake.in (substitute_ac_subst_variables_worker,
834         substitute_ac_subst_variables): Mew functions.
835         (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
836         to ignore dependencies that contain unAC_SUBSTed shell variables.
837         (handle_configure): Likewise, do not output rules for
838         AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
839         unAC_SUBSTed contain shell variables.
840         * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
841         * tests/output11.test, tests/output12.test: New files.
842         * tests/Makefile.am (TESTS): Add output11.test and output12.test.
843
844         * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
845         * automake.in ($gen_copyright, version): Likewise.
846
847 2004-12-31  Alexandre Duret-Lutz  <adl@gnu.org>
848
849         * tests/man2.test, tests/transform.test: Specify --mandir, in order
850         not to fail when Autoconf changes its $mandir default.
851
852 2004-12-30  Alexandre Duret-Lutz  <adl@gnu.org>
853
854         Support for `install-dvi', `install-html', `install-ps', and
855         `install-pdf', as recently introduced into the GNU Coding
856         Standard.
857
858         * automake.in (handle_factored_dependencies): Reject
859         uninstall-dvi-local, uninstall-html-local, uninstall-info-local,
860         uninstall-ps-local, and uninstall-pdf-local.  Allow
861         install-info-local even when no-installinfo is not used.
862         (handle_data): Allow datarootdir, dvidir, htmldir, pdfdir, and psdir.
863         (%standard_prefix): Declare these new standard directory variables.
864         * doc/automake.texi (Texinfo, Third-Party Makefiles): Document
865         install-dvi, install-html, install-pdf, and install-ps.
866         (Extending): Document install-local-dvi, install-local-html,
867         install-local-info, install-local-pdf, and install-local-ps.
868         * lib/Automake/Rule.pm (%dependencies): Add new install rules,
869         and remove uninstall-info.
870         * /cvs/automake/automake/lib/am/texinfos.am (install-dvi,
871         install-dvi-am, install-dvi-recursive, install-html,
872         install-html-am, install-html-recursive, install-pdf,
873         install-pdf-am, install-pdf-recursive, install-ps, install-ps-am,
874         install-ps-recursive, uninstall-dvi-am, uninstall-html-am,
875         uninstall-pdf-am, uninstall-ps-am): New rules.
876         (uninstall-info): Delete.
877         * tests/txinfo21.test: Augment to check for these new rules.
878         * tests/exdir2.test: Do not use `htmldir' as example of
879         undefined directory.
880         * tests/overrid.test: Do not be fooled by install-ps and
881         install-html.
882         * tests/txinfo10.test: Do not grep for uninstall-info-recursive.
883
884 2004-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
885
886         * automake.in (Preprocessed Fortran): Fix the definition of FCLINK.
887
888         * Makefile.am (maintainer-check): Refine check for @_ in scalar
889         context.  Check for correct use of PRE_INSTALL, NORMAL_INSTALL,
890         POST_INSTALL, PRE_UNINSTALL, NORMAL_UNINSTALL, and POST_UNINSTALL.
891         * lib/am/texinfos.am (uninstall-info-am): Hide the invocation of
892         $(PRE_UNINSTALL).
893
894 2004-12-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
895
896         * lib/am/texinfos.am (uninstall-info-am): Show change of
897         directory while uninstalling DJGPP-style info files.
898
899 2004-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
900
901         Declare recursive install targets as dependencies of `.MAKE', so
902         that `make -n install' works with BSD Make too.
903
904         * lib/Automake/Rule.pm (reset) <%dependencies>: Add `.MAKE'.
905         * automake.in (target_cmp): Move all `.XYZ' target last, not
906         only `.PHONY'.
907         (handle_factored_dependencies): Add target with hooks to `.MAKE'.
908         Do not let a user definition of .MAKE override ours.
909         * lib/am/install.am (install-am, install-strip): Mark as `.MAKE'.
910         * lib/am/multilib.am (all-multi, install-multi, mostlyclean-multi,
911         clean-multi, distclean-multi, maintainer-clean-multi): Likewise.
912         * lib/am/subdirs.am (mostlyclean-recursive, clean-recursive,
913         distclean-recursive, maintainer-clean-recursive): Likewise.
914
915 2004-12-18  Alexandre Duret-Lutz  <adl@gnu.org>
916
917         * lib/config-ml.in, lib/config.guess, lib/config.sub,
918         lib/texinfo.tex: New upstream versions.
919
920         * doc/automake.texi (gettext): Move the paragraph about
921         dist_list_LISP...
922         (Emacs Lisp): ... here.
923         Report from Bruno Haible.
924
925         * doc/automake.texi: Bump GFDL version to 1.2, since that is
926         what we distribute.
927
928         * doc/automake.texi: Fix more misuses of @ref, @xref and @pxref,
929         including some of the "corrections" below.  Thanks to Karl Berry.
930
931         * doc/automake.texi: Correct several misuses of @xref and @pxref.
932
933 2004-12-17  Jim Meyering  <jim@meyering.net>
934
935         * install-sh: Use `(exit N); exit N', not `(exit N); exit'.
936         Otherwise, install-sh could exit with improper exit status when
937         exiting via a trapped interrupt.  Thanks to a report from Bob Proulx.
938
939 2004-12-14  Akim Demaille  <akim@epita.fr>
940
941         * doc/automake.texi (Options): Englishoes.
942         (Options): And another.
943
944 2004-12-13  Alexandre Duret-Lutz  <adl@gnu.org>
945
946         * ChangeLog.03: New file, extracted from ChangeLog.
947         * Makefile.am (EXTRA_DIST): Add it.
948
949 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
950
951         * automake.in (check_user_variables): New function, extracted
952         from ...
953         (handle_languages): ... here.
954         (handle_languages, define_compiler_variable, define_link_variable):
955         Honore LIBTOOLFLAGS.
956         (handle_single_transform): Check _LIBTOOLFLAGS in
957         addition to other per-target flags for Libtool objects.
958         (handle_libtool): Warn if LIBTOOLFLAGS is defined.
959         * doc/automake.texi (Libtool Flags, Program and Library Variables,
960         Flag Variables Ordering): Document LIBTOOLFLAGS.
961         * tests/libtool7.test: Check basic support for LIBTOOLFLAGS.
962         * tests/libtool8.test: Make sure Automake warns about LIBTOOLFLAGS
963         definitions.
964         * tests/subobj9.test: Adjust.
965
966 2004-12-11  Alexandre Duret-Lutz  <adl@gnu.org>
967
968         * doc/automake.texi (Per-Object Flags): New node.
969
970 2004-12-09  Alexandre Duret-Lutz  <adl@gnu.org>
971
972         Fix PR automake/441:
973         * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Do
974         not install *.class if "$(%DIR%_JAVA)" is empty.
975         * tests/java3.test: New file.
976         * tests/Makefile.am (TESTS): Add it.
977         Report from Johannes Nicolai.
978
979         * doc/automake.texi (Java): Mention dist_ and add an example.
980         * tests/java.test: Do actually compile java files and run distcheck.
981
982 2004-12-08  Peter O'Gorman  <peter@pogma.com>
983             Alexandre Duret-Lutz  <adl@gnu.org>
984
985         * lib/Automake/FileUtils.pm (dir_has_case_matching_file,
986         reset_dir_cache): New functions.
987         * automake.in (handle_dist, require_file_internal): Use them, so
988         that CHANGELOG is not confused with ChangeLog on case-insensitive
989         case-preserving file systems.
990         * tests/hfs.test: New file.
991         * tests/Makefile.am (TESTS): Add hfs.test.
992
993 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
994
995         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
996         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
997         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
998         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
999
1000 2004-12-05  Toshio Kuratomi  <toshio@tiki-lounge.com>
1001
1002         * lib/py-compile: Add --destdir switch to py-compile that takes a
1003         path argument that is not compiled into the file when byte compiling.
1004         * lib/am/python.am: Use the new py-compile arguments to not include
1005         DESTDIR in the byte compiled files.
1006         * tests/python12.test: Test that DESTDIR won't be byte compiled into
1007         python files.
1008
1009 2004-12-05  Alexandre Duret-Lutz  <adl@gnu.org>
1010
1011         * doc/automake.texi (Clean): Typo.
1012
1013         * doc/automake.texi: Use @acindex for Autoconf macros, and @vindex
1014         for variables (@cvindex was previously used for both).  Separate
1015         these two indices in the output.  Use @code, @file, and @command
1016         in @cindex lines wherever appropriate so they render nicely.
1017
1018 2004-12-05  Stepan Kasal  <kasal@ucw.cz>
1019
1020         * doc/automake.texi (renamed objects, CVS): Typos.
1021
1022 2004-12-05  Alexandre Duret-Lutz  <adl@gnu.org>
1023
1024         * doc/automake.texi (Flag Variables Ordering): New section.
1025         (User Variables, Program and Library Variables): @xref it.
1026
1027 2004-11-24  Alexandre Duret-Lutz  <adl@gnu.org>
1028
1029         * doc/automake.texi (Conditional Subdirectories): More comments
1030         about non-distributed subdirectories.
1031
1032         * Makefile.am (maintainer-clean): Check for unescaped @ in manual.
1033
1034 2004-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1035
1036         * doc/automake.texi (Built sources example): Fix typo.
1037
1038 2004-11-22  Alexandre Duret-Lutz  <adl@gnu.org>
1039
1040         * aclocal.in (parse_arguments): Diagnose abbreviation ambiguous with
1041         --help or --version.
1042         * automake.in (parse_arguments): Likewise.
1043         * tests/aclocal.test, tests/automake.test: Check this.
1044         Report from Eric Blake.
1045
1046 2004-11-21  Alexandre Duret-Lutz  <adl@gnu.org>
1047
1048         * automake.in (parse_arguments): Diagnose empty arguments, options
1049         with missing argument, and support `--'.
1050         * aclocal.in (parse_arguments): Diagnose options with missing
1051         argument.
1052         * tests/aclocal.test: More checks.
1053         * tests/automake.test: New file.
1054         * tests/postprog.test: Use `--' for fun.
1055         * tests/Makefile.am (TESTS): Add automake.test.
1056         Report from Eric Blake.
1057
1058         * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Run programs with
1059         /dev/null as input, so we do not hang on programs that read their
1060         input without supporting --help and --version.
1061         * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise for scripts.
1062         * tests/gnits2.test: Change scriptnok.sh to cat its input.
1063         Report and fix from James Youngman.
1064
1065 2004-11-17  Alexandre Duret-Lutz  <adl@gnu.org>
1066
1067         * aclocal.in (%file_seen): Rename as ...
1068         (%file_added): ... this, and move it close to add_file(), the only
1069         function that uses it.
1070
1071         * aclocal.in (version): Remove initial blank line and reproduce
1072         the layout of automake --version.  From Art Haas.
1073
1074         * aclocal.in (%file_type, FT_USER, FT_AUTOMAKE_SYSTEM): New variables.
1075         (scan_m4_dirs): New function, extracted from ...
1076         (scan_m4_files): ... here.  Call scan_m4_files three times, for each
1077         FT_ constant.
1078         (scan_file): Take a file type argument to update %file_type.
1079         (write_aclocal): Do not m4_include files that are not of type FT_USER.
1080         * tests/dirlist.test: Make sure m4_include is not used for --acdir
1081         files.
1082
1083         * tests/defs.in (testaclocaldir): New variable.
1084         * tests/aclocal.test: Use it to fix the test.  Report from
1085         Patrick Welche.
1086
1087 2004-11-10  Alexandre Duret-Lutz  <adl@gnu.org>
1088
1089         * m4/python.m4 (AM_PATH_PYTHON): Fix the invocation of
1090         AC_PATH_PROGS to correctly define PYTHON as `:' when no interpreter
1091         is found (this worked correctly only when a minimal version was
1092         passed to AM_PATH_PYTHON).  Report from Stepan Kasal.
1093         (_AM_PYTHON_INTERPRETER_LIST): Define using m4_define_default,
1094         so we can easily override the list from the test suite.
1095         * tests/python11.test: New file.
1096         * tests/Makefile.am (TESTS): Add python11.test.
1097
1098         * doc/automake.texi (Libtool Modules): Make clearer that -module
1099         should appear explicitly in _LDFLAGS.
1100
1101 2004-11-09  Alexandre Duret-Lutz  <adl@gnu.org>
1102
1103         * aclocal.in (parse_arguments): Correctly recognize --print-ac-dir.
1104         * tests/aclocal.test: Check --print-ac-dir and a unknown option.
1105
1106         * aclocal.in (parse_arguments): Fix detection of unexisting default
1107         $(datadir)/aclocal.  Report from Akim.
1108
1109 2004-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
1110
1111         * aclocal.in ($acdir): Rename as ...
1112         (@system_includes): ... this.
1113         (@user_includes, @automake_includes): New variables.
1114         ($default_acdir, $default_dirlist): Remove.
1115         (parse_arguments): Populate @user_includes, @automake_includes, and
1116         @system_includes instead of filling a unique @dirlist array.
1117         ("MAIN"): Adjust to scan m4 files in @user_includes,
1118         @automake_includes, and @system_includes.
1119
1120 2004-11-06  Alexandre Duret-Lutz  <adl@gnu.org>
1121
1122         * aclocal.in (parse_arguments): Correct comment.  From Akim.
1123
1124 2004-11-04  Alexandre Duret-Lutz  <adl@gnu.org>
1125
1126         * aclocal.in: Use Automake::ChannelDefs, and adjust all output
1127         to be done via `fatal', `msg', `verb', or `prog_error'.
1128         (version): New function.
1129         (parse_arguments): Rewrite using Getopt::Long, call &version, and
1130         honor -W and --warning.
1131         ($verbose): Remove.
1132         (trace_used_macros): Do not trace the first arguments of macros
1133         for which we do not need it.  This caused failures because of
1134         unexpected newlines in the output.
1135         * doc/automake.texi (aclocal options): Document -W and --warning.
1136         * tests/defs.in (ACLOCAL): Always use -Werror, to catch Perl
1137         warnings about uninitialized variables.
1138
1139 2004-11-03  Alexandre Duret-Lutz  <adl@gnu.org>
1140
1141         * tests/defs.in: Do not distinguish VERBOSE=x from
1142         VERBOSE=anything_but_x, always turn on shell traces.
1143
1144         * aclocal.in (write_aclocal): Make sure $map_traced_defs{$m} exists
1145         before using it.  Suppress a warning observable in test/acloca16.test.
1146         Report from Ralf Wildenhues.
1147
1148 2004-11-01  Alexandre Duret-Lutz  <adl@gnu.org>
1149
1150         * lib/Automake/XFile.pm (lock): Make sure $ENV{'MAKEFLAGS'} exists
1151         before inspecting it; this fixes "uninitialized value in
1152         concatenation" diagnostics when flock fails.
1153         Report from Gary V. Vaughan.
1154
1155         * aclocal.in: Use strict and -w.  Declare local variables with `my',
1156         and get rid of `local'.
1157         (scan_m4_files, add_macro): Reindent these functions while we are
1158         at it.
1159
1160         * lib/config.guess, lib/texinfo.tex: New upstream versions.
1161
1162         * doc/automake.texi (LIBOBJS): Spelling and grammar corrections
1163         from Ralf Wildenhues.
1164
1165 2004-10-31  Alexandre Duret-Lutz  <adl@gnu.org>
1166
1167         * doc/automake.texi (LIBOBJS): Augment with an example setup.
1168         (LTLIBOBJ): Rename as ...
1169         (LTLIBOBJS): ... this.  Link to LIBOBJS, and mention LTALLOCA.
1170
1171 2004-10-25  Alexandre Duret-Lutz  <adl@gnu.org>
1172
1173         * doc/automake.texi: Untabify, tabs in the examples are poorly
1174         rendered.
1175         * Makefile.am (maintainer-check): Grep tabs in the manual.
1176
1177         * tests/comment8.test: Use $MAKE, not make.
1178
1179 2004-10-24  Alexandre Duret-Lutz  <adl@gnu.org>
1180
1181         * tests/distcom3.test: Typo.
1182
1183 2004-10-22  Alexandre Duret-Lutz  <adl@gnu.org>
1184
1185         * doc/automake.texi (Libtool Convenience Libraries): Explain how
1186         to force the linker selection.
1187
1188         * lib/install-sh: Fix the dirname emulation to ignore trailing
1189         slashes, i.e., the direname of `a/b/' is `a', not `a/b/'.  This
1190         caused `install-sh a/b/' to fail.
1191         * tests/instsh2.test: Augment.
1192         Report from Пухальский Юрий Андреевич.
1193
1194 2004-10-21  Alexandre Duret-Lutz  <adl@gnu.org>
1195
1196         * automake.in (get_object_extension): The extension to use is know
1197         by the caller, and cannot be selected by looking only at the
1198         target name.  Simplify this function to simply conditionally
1199         prepend $U to the given extension.
1200         (handle_programs, handle_libraries, handle_ltlibraries): Hard-code
1201         the extension to use.  This way Automake won't mistake a program
1202         named `foo.la' as a libtool library.
1203         * tests/primary3.test: New file.
1204         * tests/Makefile.am (TESTS): Add primary3.test.
1205
1206 2004-10-12  Alexandre Duret-Lutz  <adl@gnu.org>
1207
1208         * doc/automake.texi (Install): Link to node Extending for examples.
1209         (Extending): More comments about install-data-hook vs
1210         install-exec-hook, and link to Install.
1211
1212         * configure.ac: Export @am_AUTOCONF@.
1213         * tests/defs.in (AUTOCONF): Define as @am_AUTOCONF@, not @AUTOCONF@,
1214         so the test suite runs `autoconf' and not `missing --run autoconf'.
1215         * tests/missing.test, tests/missing2.test: Arrange for missing
1216         to be used in front of autoconf even if the user has exported
1217         AUTOCONF.  This fixes two spurious failures reported by
1218         Mark D. Baushke.
1219
1220         * lib/compile: Handle output.obj in addition to output.o.
1221         * tests/compile.test: Check for this.
1222
1223 2004-10-11  Alexandre Duret-Lutz  <adl@gnu.org>
1224
1225         * doc/automake.texi (Sources): Typo, reported by Karl Berry.
1226
1227 2004-10-10  Kelley Cook  <kcook@gcc.gnu.org>  (tiny change)
1228             Alexandre Duret-Lutz  <adl@gnu.org>
1229
1230         * aclocal.in ($ac_defun_rx): Match AC_DEFUN_ONCE.
1231         (trace_used_macros): Trace AC_DEFUN_ONCE.
1232         * tests/aclocal5.test: Use AC_DEFUN_ONCE.
1233
1234 2004-10-10  Stepan Kasal  <kasal@ucw.cz>  (tiny change)
1235
1236         * doc/automake.texi (Extending): Typo.
1237
1238 2004-10-10  Martin Waitz  <tali@admingilde.org>  (tiny change)
1239
1240         * m4/as.m4 (AM_PROG_AS): Check dependency tracking mode for CCAS.
1241         * automake.in (cppasm): Use the dependency tracking more for CCAS.
1242         * doc/automake.texi (Assembly Support): Note that *.S are
1243         preprocessed with CPPFLAGS.
1244
1245 2004-10-10  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1246
1247         * automake.in (Languages): Split .s (asm) and .S (cppasm) into
1248         separate languages.  Make cppasm (Preprocessed Assembler) aware
1249         of CPPFLAGS, AM_CPPFLAGS.
1250         (handle_languages): Fix typo.
1251         (lang_cppasm_rewrite): New function.
1252
1253 2004-09-29  Alexandre Duret-Lutz  <adl@gnu.org>
1254
1255         * tests/subobj9.test: Adjust regexes after previous patch.
1256
1257 2004-09-28  Alexandre Duret-Lutz  <adl@gnu.org>
1258
1259         * automake.in (handle_languages, define_compiler_variable): Output
1260         Libtool's --tag= option before --mode=compile, because depcomp use
1261         --mode=compile as end marker for libtool arguments.
1262         (define_linker_variable): Likewise before --mode=link, for
1263         uniformity.
1264         * tests/pr307.test: Make sure dependency files are updated.  That
1265         was not the case because depcomp thought `--tag=CC' was the
1266         compiler to get dependencies from.
1267         Report from Пухальский Юрий Андреевич.
1268
1269 2004-09-26  Alexandre Duret-Lutz  <adl@gnu.org>
1270
1271         * configure.ac: Require Perl 5.6.
1272         * lib/Automake/Config.in: Require Perl 5.6 (not done in
1273         lib/Automake/General.pm because it is shared with Autoconf),
1274         and use `our' instead of `use vars'.
1275         * aclocal.in (rel2abs): Remove.
1276         (scan_configure_dep): Use File::Spec->rel2abs instead.
1277
1278         * tests/compile.test, tests/instsh2.test, tests/instspc.test: Use
1279         two consecutive spaces in filename instead of one, to catch mistake
1280         like `echo $val | ...`.
1281         * tests/README: Suggest this.
1282         Suggested by Ralf Wildenhues.
1283
1284 2004-09-25  Alexandre Duret-Lutz  <adl@gnu.org>
1285
1286         * doc/automake.texi (Clean): Document -local targets.
1287
1288 2004-09-25  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1289
1290         * doc/automake.texi: Typos.
1291
1292 2004-09-21  Alexandre Duret-Lutz  <adl@gnu.org>
1293
1294         * doc/automake.texi (Timeline): Typos and other English mistakes
1295         reported by Jim and Gary.
1296
1297         * lib/Automake/VarDef.pm (append): Strip comments from augmented
1298         variables.
1299         * tests/comment8.test: New file.
1300         * tests/Makefile.am (TESTS): Add comment8.test.
1301         Report from Stepan Kasal.
1302
1303 2004-09-19  Alexandre Duret-Lutz  <adl@gnu.org>
1304
1305         * tests/compile.test: Fix rm usage.
1306
1307         * INSTALL, lib/INSTALL, lib/config.sub, lib/config.guess,
1308         lib/texinfo.tex: New upstream versions.
1309
1310         * doc/automake.texi (Timeline): New node.  Thanks to Karl and Tom
1311         for their comments on a preliminary version of this, Akim for
1312         digging out some old mails, and Jason Molenda for sending the note
1313         about Automake in Alias to Tom.
1314         (Releases): Rename `ac' to `acl', suggested by Akim.
1315
1316 2004-09-19  Akim Demaille  <akim@epita.fr>
1317
1318         * AUTHORS, automake.in, aclocal.in: Add Alexandre Duret-Lutz as
1319         author.
1320
1321 2004-09-15  Alexandre Duret-Lutz  <adl@gnu.org>
1322
1323         * doc/automake.texi (Releases): New node.
1324
1325         * doc/automake.texi (Dependencies): Link to Dependency Tracking
1326         Evolution.
1327         (Dependency Tracking Evolution): Link to GNU make, Sources (for
1328         BUILT_SOURCES), and update the paragraph about the "plan" to
1329         inline dependency tracking with gcc3.
1330
1331         * doc/automake.texi (History): New node.
1332         (Dependency Tracking Evolution): New node, filled with a Texinfo
1333         version of Tom Tromey's ``Dependency Tracking in Automake''
1334         document, initially published on the Automake homepage on
1335         2001-06-29.
1336
1337 2004-09-10  Alexandre Duret-Lutz  <adl@gnu.org>
1338
1339         * m4/minuso.m4 (AM_PROG_CC_C_O): Make sure AC_PROG_CC is never
1340         called after this macro.
1341         * tests/distname.test, tests/subdir5.test, tests/subdir8.test,
1342         tests/subobj.test, tests/subobj4.test, tests/subobj5.test,
1343         tests/subobj6.test: Adjust.
1344         Report from Ralf Wildenhues.
1345
1346         * lib/Automake/Channels.pm (_print_message): Handle uniq_part with
1347         arbitrary string.
1348         * automake.in (lang_c_rewrite): Set uniq_part so that the
1349         AM_PROG_CC_C_O diagnostic is output only once for subdir objects
1350         and only once for objects with per-target flags.
1351
1352         * automake.in (lang_c_rewrite): Print files and locations
1353         for AM_PROG_CC_C_O errors.
1354         (handle_single_transform): Pass $var to &$subr so it can
1355         print locations.
1356
1357         * lib/compile, lib/elisp-comp, lib/install-sh, lib/ylwrap: Use $ret
1358         instead of $status which is read-only in Zsh.
1359
1360 2004-09-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1361             Alexandre Duret-Lutz  <adl@gnu.org>
1362
1363         * lib/compile: Preserve spaces in arguments (for example
1364         -DPACKAGE_STRING="foo 0.1").
1365         * tests/compile.test: New file.
1366         * tests/Makefile.am (TESTS): Add compile.test.
1367
1368 2004-09-07  Alexandre Duret-Lutz  <adl@gnu.org>
1369
1370         * automake.in (handle_clean): Sort rm commands output for
1371         mostlyclean-generic, clean-generic, distclean-generic, and
1372         maintainer-clean-generic.
1373         Report from Bob Friesenhahn.
1374
1375         * automake.in (lang_c_rewrite): Do not require AM_PROG_CC_C_O for
1376         libtool objects.
1377         (handle_single_transform): Pass nonansi_obj to &$subr so
1378         lang_c_rewrite can distinguish libtool objects.
1379         * tests/libtool7.test: Use subdir-objects without using AM_PROG_CC_C_O.
1380         Report from Gary V. Vaughan and Patrick Welche.
1381
1382 2004-09-07  Andreas Schwab  <schwab@suse.de>
1383
1384         * automake.in ($PATH_PATTERN): Add `+'.
1385
1386 2004-09-07  Alexandre Duret-Lutz  <adl@gnu.org>
1387
1388         * tests/missing3.test: New file (check for Paolo's change below).
1389         * tests/Makefile.am (TESTS): Add missing3.test.
1390
1391 2004-09-07  Paolo Bonzini  <bonzini@gnu.org>
1392
1393         * missing: Handle all command line options together.  Add a
1394         separate case statement to detect failed runs, and fail
1395         silently there if --help or --version is passed to the program.
1396
1397 2004-08-11  Alexandre Duret-Lutz  <adl@gnu.org>
1398
1399         * lib/config.guess, lib/texinfo.tex: New upstream versions.
1400
1401         For PR automake/433:
1402         * configure.ac (pkgvdatadir): Define using "$PACKAGE", not "automake".
1403
1404         Fix PR automake/432:
1405         * lib/am/yacc.am [!%?MORE-THAN-ONE%]: Replace `#line's in y.tab.h too.
1406         * tests/yacc7.test: Check this.
1407
1408 2004-08-08  Alexandre Duret-Lutz  <adl@gnu.org>
1409
1410         * lib/Automake/DisjConditions.pm (new): Precompute 'string' and 'conds'
1411         in place instead of as a side-effect of calling ->string and ->conds.
1412         This saves method-lookup time, simplify ->string and ->conds, and
1413         allows to create the object only when necessary.
1414         (string, conds): Simplify, now that the result is precomputed.
1415
1416         * automake.in (%am_file_cache): New hash.
1417         (make_paragraphs): Cache .am files with comments stripped to save
1418         some useless input and substitutions.
1419
1420         * lib/Automake/Variable.pm (%_primary_dict): New hash.
1421         (_new, variable_delete): Update %_primary_dict.
1422         (variables): Accept an optional $suffix argument.
1423         * automake.in (check_typos, am_primary_prefixes): Use that
1424         optional argument to restrict the loops over the variables we are
1425         interested in.
1426
1427 2004-08-06  Alexandre Duret-Lutz  <adl@gnu.org>
1428
1429         * lib/Automake/Item.pm (def): Rewrite more concisely, it's faster
1430         this way.
1431
1432 2004-08-05  Alexandre Duret-Lutz  <adl@gnu.org>
1433
1434         Speed up make_paragraphs.
1435         * automake.in (handle_languages): Always define SUBDIROBJ,
1436         DERIVED-EXT, and DIST_SOURCE, because the new transform() will
1437         abort on unknown tokens.
1438         (transform): Rewrite with different semantics.
1439         (make_paragraphs): Make a single pass over the paragraph to
1440         transform all template tokens instead of doing as much passes as
1441         possible token.
1442
1443         * automake.in ($libtool_new_api): New variable.
1444         (handle_libtool): Do not libtool's aux files if $libtool_new_api.
1445         (scan_autoconf_traces) <LT_SUPPORTED_TAG>: Set $libtool_new_api.
1446         (scan_autoconf_traces) <AC_REQUIRE_AUX_FILE>: Remember only the
1447         first location for required files.
1448
1449 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
1450
1451         Support AC_REQUIRE_AUX_FILE, and fix requirement of AM_PROG_CC_C_O.
1452         * automake.in (%required_aux_file): New hash.
1453         (handle_single_transform, lang_c_rewrite): Do not explicitly
1454         require 'compile', this is now an internal detail of
1455         AM_PROG_CC_C_O.
1456         (scan_autoconf_traces): Trace AC_REQUIRE_AUX_FILE and fill
1457         %required_aux_file.
1458         (scan_autoconf_files): Require all %required_aux_file instead
1459         of explicitly requiring install-sh and missing.
1460         (generate_makefile): Do not require config.sub and config.guess.
1461         (handle_single_transform): Pass $have_per_exec_flags to
1462         &lang_c_rewrite.
1463         * configure.ac, m4/init.m4: Require Autoconf 2.59a.
1464         * doc/automake.texi (Optional): Document AC_REQUIRE_AUX_FILE.
1465         (Program and Library Variables, Options, Public macros):
1466         AM_PROG_CC_C_O is required when per-target flags or subdir-objects
1467         are used with C sources.
1468         * m4/minuso.m4: Require `compile' using AC_REQUIRE_AUX_FILE.
1469         * m4/missing.m4: Require `missing' similarly.
1470         * tests/acsubst2.test, tests/distcom2.test, tests/distcom6.test,
1471         tests/specflg.test, tests/specflg2.test, tests/specflg3.test,
1472         tests/specflg6.test, tests/specflg7.test, tests/specflg8.test,
1473         tests/specflg9.test, tests/subobj7.test, tests/target-cflags.test,
1474         tests/yacc6.test: Fix to use AM_PROG_CC_C_O.
1475
1476 2004-08-03  Alexandre Duret-Lutz  <adl@gnu.org>
1477
1478         * automake.in (yacc_lex_finish_helper): Fix definition of YLWRAP
1479         when ylwrap is installed in a default aux dir found in a parent
1480         package.
1481         * tests/subpkg.test: Augment to check that YLWRAP is installed
1482         properly.
1483         * doc/automake.texi (Yacc and Lex): ylwrap is not sought is the
1484         current directory.
1485         Report from Norman Gray.
1486
1487 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
1488
1489         * doc/automake.texi (Optional): Update documentation for
1490         AC_CANONICAL_BUILD, AC_CANONICAL_HOST, and AC_CANONICAL_TARGET.
1491
1492         * automake.in (AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM): Replace by ...
1493         (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET): ... these.
1494         (scan_autoconf_traces): Scan for the latter three macros instead of
1495         the former two.
1496         (make_paragraphs): Adjust definitions of %BUILD%, %HOST%, and %TARGET%.
1497         * tests/hosts.test: New file.
1498         * tests/Makefile.am (TESTS): Add hosts.test.
1499         Report and test case from Norman Gray.
1500
1501 2004-08-01  Alexandre Duret-Lutz  <adl@gnu.org>
1502
1503         * aclocal.in (scan_file): Update "#Extending%20aclocal" URL, makeinfo
1504         4.7 now outputs "#Extending-aclocal".
1505
1506 2004-08-01  Alexandre Duret-Lutz  <adl@gnu.org>
1507             Derek R. Price  <derek@ximbiot.com>
1508
1509         Disable Lex and Yacc rules whenever possible if AM_MAINTAINER_MODE
1510         is used and maintainer-mode disabled.
1511         * automake.in (Automake::struct): Define nodist_specific.
1512         Set it in languages yacc, yaccxx, lex, and lexxx.
1513         (register_language): Default nodist_specific to 0.
1514         (handle_single_transform): Honor nodist_specific.
1515         * lib/am/yacc.am (am__skipyacc): Define this in maintainer mode.
1516         (%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skipyacc) to disable these
1517         rules when needed.
1518         * lib/am/lex.am (am__skiplex): Define this in maintainer mode.
1519         (%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skiplex) to disable these
1520         rules when needed.
1521         * tests/mmodely.test: New file.
1522         * tests/pr204.test: Augment to check AM_MAINTAINER_MODE and nodist_
1523         parsers.
1524         * tests/Makefile.am (TESTS): ADd mmodely.test.
1525         * doc/automake.texi (Yacc and Lex): Note dependence on maintainer mode.
1526
1527 2004-07-28  Alexandre Duret-Lutz  <adl@gnu.org>
1528
1529         * configure.ac, NEWS: Bump version to 1.9a.
1530
1531         * configure.ac, NEWS: Bump version to 1.9.
1532
1533         * automake.in (generate_makefile): Update misleading comment about
1534         libtool scripts.
1535
1536         * lib/texinfo.tex: New upstream version.
1537
1538 2004-07-25  Alexandre Duret-Lutz  <adl@gnu.org>
1539
1540         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Remove `.' from the mkdir_p
1541         definition, it causes `make install' to fails for user with no
1542         right to write in the source-tree.
1543         * automake.in (handle_configure): Do not use mkdir_p in the
1544         definition for $(mkdir_p).
1545         Report from Harlan Stenn.
1546
1547         * lib/am/texi-vers.am (%STAMPVTI%): Typo in comment.
1548
1549 2004-07-22  Alexandre Duret-Lutz  <adl@gnu.org>
1550
1551         * doc/automake.texi (Libtool Modules): Typo in example.
1552         Report from Ulrich Eckhardt.
1553
1554 2004-07-21  Andreas Schwab  <schwab@suse.de>  (tiny change)
1555
1556         * automake.in (check_directory): Quote $dir in regexp.
1557
1558 2004-07-17  Alexandre Duret-Lutz  <adl@gnu.org>
1559
1560         * configure.ac, NEWS: Bump version to 1.8e.
1561
1562         * configure.ac, NEWS: Bump version to 1.8d.
1563
1564         * lib/config-ml.in, lib/config.sub, lib/config.guess, lib/texinfo.tex:
1565         New upstream versions.
1566
1567         * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
1568         ?!GENERIC?%DEST_PREFIX%.html): Use $(X), not ${X}.
1569
1570         * tests/installdir.test: installdirs-local should appear three times,
1571         since the change from 2004-07-11 will make it PHONY.
1572
1573         * lib/am/distdir.am (distdir): Always use $(DIST_SUBDIRS) now
1574         that it is always defined.  This is less confusing for users
1575         reading the generated Makefiles.
1576         * automake.in (handle_dist): Do not substitute DIST_SUBDIR_NAME.
1577
1578         * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
1579         ?!GENERIC?%DEST_PREFIX%.html): Output .htp, and then rename to .html
1580         on success.  In case the target is a directory, this ensures its
1581         time stamp is updated and the no files are left over inside.
1582         * tests/txinfo21.test: Augment to test missing timestamp update
1583         reported by Akim Demaille.
1584
1585         * doc/automake.texi (Top level): Rename as ...
1586         (Directories): ... this, and split into ...
1587         (Subdirectories, Conditional Subdirectories): ... these.
1588         (Subdirectories): Illustrate the use of `.'.
1589         (Conditional Subdirectories): Describe SUBDIRS and DIST_SUBDIRS
1590         before the example.  Append a discussion about non-configured
1591         conditional directories.
1592         (Alternative): Move as a child of Directories.
1593         (Subpackages): New section.
1594         (Dist): Adjust links to Subdirectories, a Subpackages.
1595         (Third-Party Makefiles): Link to Conditional Subdirectories.
1596
1597 2004-07-14  Alexandre Duret-Lutz  <adl@gnu.org>
1598
1599         * automake.in (target_hook): Accept %transform as last argument.
1600         (handle_single_transform): Pass %transform to target_hook.
1601         (handle_source_transform): Define DIST_SOURCE to tell whether
1602         a the source of a file is distributed or not.
1603         (lang_yacc_target_hook): Check DIST_SOURCE, and do not distribute
1604         the generated header if the .y source is not distributed.
1605         * tests/pr204.test: Use AM_YFLAGS = -d and make sure generated
1606         headers are not distributed.
1607
1608 2004-07-12  Simon Josefsson  <jas@extundo.com>  (tiny change)
1609
1610         * doc/automake.texi (Options): Improve ustar file name length
1611         discussion.  Reference tar manual.
1612
1613 2004-07-12  Ray Simard  <rhs.techlists@sylvan-glade.com>  (tiny change)
1614
1615         * lib/Automake/Variable.pm (define): Fix precondition check.
1616
1617 2004-07-11  Alexandre Duret-Lutz  <adl@gnu.org>
1618
1619         For PR automake/428:
1620         Support for conditionally defined -hook and -local rules.
1621         * automake.in (user_phony_rule): New function.
1622         (handle_dist, handle_install, handle_all, do_check_merge_target,
1623         handle_factored_dependencies): Use user_phony_rule before
1624         adding a user -hook or -local rule as a dependency to ensure
1625         it is always defined an phony.
1626         * tests/cond37.test, tests/condhook.test: New files.
1627         * tests/Makefile.am (TESTS): Add them.
1628         Report from Simon Josefsson and Nik A. Melchior.
1629
1630 2004-07-05  Paul Eggert  <eggert@cs.ucla.edu>
1631
1632         * doc/automake.texi (Install): Warn that you should create
1633         /tmp/staging before installing into it, to avoid security problems.
1634         * lib/install-sh: Remove support for -b= and -t= options; this
1635         has been moribund for a decade.
1636         Add support for -t and -T options (new in coreutils install).
1637         -c option now does nothing (the default is to copy), for
1638         compatibility with BSD and coreutils 'install'.
1639         Fix usage message; it referred to nonexistent variables.
1640         Don't assume 'lasterr' is unset in environment.
1641         * tests/instsh2.test: Don't assume that install-sh without -c
1642         moves (it now copies).  Add tests for new -t and -T options.
1643
1644 2004-06-16  Alexandre Duret-Lutz  <adl@gnu.org>
1645
1646         For Debian Bug#254372:
1647         * doc/automake.texi (Invoking aclocal): Rewrite the paragraph
1648         explaining m4_include is used for relative files.
1649
1650 2004-06-10  Alexandre Duret-Lutz  <adl@gnu.org>
1651
1652         For Debian Bug #251820:
1653         * aclocal.in (scan_file): Keep track of the location where each
1654         file is included, and display it when reporting a missing file.
1655         Pass this location to scan_file as a second argument.
1656         (scan_m4_files): Adjust calls to scan_file.
1657         * tests/acloca14.test: Add a test for this diagnostic.
1658
1659 2004-06-07  Alexandre Duret-Lutz  <adl@gnu.org>
1660
1661         * m4/tar.m4 (_AM_PROG_TAR): Split the definition of $_am_tools
1662         so it works with Solaris and Tru64 /bin/sh.
1663         Report from Nicolas Joly.
1664
1665 2004-06-06  Alexandre Duret-Lutz  <adl@gnu.org>
1666
1667         * m4/tar.m4 (_AM_PROG_TAR): Introduce $_am_tools to work around a
1668         bug in NetBSD /bin/sh.
1669         Report from Nicolas Joly.
1670
1671 2004-06-03  Alexandre Duret-Lutz  <adl@gnu.org>
1672
1673         * tests/defs.in (required=icc): Use `-V -help' instead of
1674         `-V -dryrun'.  icc 8.0 fails on the latter.
1675         * tests/depcomp5.test: Require depmode=icc for icc 7.x, and
1676         depmod=gcc otherwise.
1677         Report from Ralf Wildenhues.
1678
1679         * lib/am/clean.am (distclean-generic): Do no
1680         `rm -f $(CONFIG_CLEAN_FILES)' if `$(CONFIG_CLEAN_FILES)' is empty.
1681         Report from Nicolas Joly.
1682
1683 2004-05-31  Alexandre Duret-Lutz  <adl@gnu.org>
1684
1685         * NEWS: Make clearer that we do not output partial Makefile.ins on
1686         error.
1687         Suggested by Akim Demaille.
1688
1689         * lib/depcomp (tru64) [libtool]: Use $dir$base.o.d instead
1690         of $dir.libs/$base.o.d.  Libtool 1.5 causes both to be output,
1691         and we will clean the second automatically during distclean.
1692         Using the latter and leaving the former as we did before cause
1693         "files left in build directory" failures during distcheck.
1694         Suggested by Nicolas Joly.
1695
1696         * doc/automake.texi (Built sources example): Explain what
1697         nodist_foo_SOURCES is (not) useful to, and use it in all the
1698         examples.
1699         (Tags): Mention nodist_noinst_HEADERS and nodist_prog_SOURCES.
1700         Suggested by Akim Demaille.
1701
1702 2004-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
1703
1704         * configure.ac, NEWS: Bump version to 1.8c.
1705
1706         * configure.ac, NEWS: Bump version to 1.8b.
1707
1708         * m4/tar.m4 (_AM_PROG_TAR) <cpio>: Specify -o and -i option first,
1709         by POSIX; and use option -d in am_untar.
1710
1711         * tests/defs.in (PATH): Export it.
1712
1713         * lib/am/multilib.am: Add $(MAKE) comments to multido and
1714         multiclean lines, to enable parallel make.  Based on a patch
1715         by Alexandre Oliva applied to newlib on 2003-10-15.
1716
1717 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
1718
1719         * automake.in (scan_autoconf_traces): Trace for LT_SUPPORTED_TAG
1720         instead of AC_LIBTOOL_TAGS, since that how CVS Libtool has been
1721         changed.
1722         * tests/libtool3.test: Do not grep for --tag=CC, since CVS
1723         Libtool (unlike Libtool 1.5) does not has any CC tag.
1724
1725         * tests/tar2.test: Skip the test if no pax archiver were found.
1726
1727         * NEWS: Sync with branch-1-8, and reorganize current entry.
1728
1729         * automake.in (handle_libraries): Make the diagnostic about
1730         non standard libraries a warning in foreign packages.  This
1731         is already the case in handle_ltlibraries.
1732         (handle_libraries, handle_ltlibraries): Suggest a standard
1733         library name in the diagnostic, to help newcomers.
1734         * tests/stdlib.test, tests/stdlib2.test: Check for these
1735         suggestions.
1736
1737         Check directory names for unportable names.  Shaking the code
1738         to check this also led to the removal of the no-"/"-in-SUBDIRS
1739         restriction, and a fix to _do_recursive_traversal.
1740
1741         * automake.in (check_directory): New function extracted from
1742         handle_subdirs, and augmented to check for reserved W32/DOS name.
1743         (check_directories_in_var): New function.
1744         (handle_subdirs): Call check_directories_in_var.  Doing so also
1745         suppress the restriction that SUBDIRS should not contain slashes.
1746         (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Call check_directory
1747         to ensure the argument exists and is safe.
1748         * doc/automake.texi (Top level): Do not say that src/subdir
1749         cannot be put in SUBDIRS.
1750         (Dist): Mention that distdir and top_distdir can be absolute.
1751         * lib/Automake/Variable.pm (_do_recursive_traversal) Support
1752         undefined $fun_collect, and fix two bugs introduced with
1753         skip_ac_subst on 2004-03-07.
1754         * lib/am/distdir.am (distdir): Use absolute distdir and
1755         top_distdir when recursing, because we can no longer prepend only
1756         `..' in case of SUBDIRS with `/'.
1757         * tests/auxdir4.test, tests/subdir9.test: New files.
1758         * tests/Makefile.am (TESTS): Add auxdir4.test.
1759         * tests/cond2.test, tests/subdir7.test: Augment to check location
1760         in diagnostics.
1761
1762 2004-05-21  Eric Blake  <ebb9@byu.net>  (tiny changes)
1763
1764         * tests/txinfo22.test (AC_CONFIG_AUX_DIR): Use aux1, not aux, for
1765         cygwin compatibility.
1766         * tests/yacc6.test (AC_CONFIG_AUX_DIR): Likewise.
1767
1768         * tests/conflnk3.test: Isolate checking for working `test -e' into
1769         a subshell, to skip this test on broken /bin/sh of solaris.
1770
1771 2004-05-17  Alexandre Duret-Lutz  <adl@gnu.org>
1772
1773         * m4/cond.m4 (AM_CONDITIONAL): Double-quote diagnostic.
1774         * tests/condd.test: Define a macro with the same name as a
1775         conditional.
1776         * tests/pr220.test: Modernize, and make sure the diagnostics
1777         contains the macro name.
1778         Report from Volker Boerchers.
1779
1780 2004-05-16  Alexandre Duret-Lutz  <adl@gnu.org>
1781
1782         * lib/texinfo.tex: New upstream version.
1783
1784 2004-05-15  Alexandre Duret-Lutz  <adl@gnu.org>
1785
1786         * automake.in (handle_dist): Always define DIST_SUBDIRS, even when
1787         the no-dist or cygnus options are used.
1788         * tests/clean2.test: New file.
1789         * tests/Makefile.am (TESTS): Add clean2.test.
1790         Report from Daniel Jacobowitz.
1791
1792         * aclocal.in (add_macro): Do not error out on undefined required
1793         macros.  We are not sure they are really used, and Autoconf
1794         already diagnoses them.
1795         (scan_configure_dep): Diagnose missing AM_ macros as warnings rather
1796         than errors.
1797         * tests/aclocal3.test, tests/ammissing.test: Adjust to expect a
1798         warning instead of an error.
1799         * tests/aclocal8.test: AC_REQUIRE an undefined macro in an unused
1800         macro, and ensure aclocal works anyway.
1801         * tests/acloca17.test: New file.
1802         * tests/error.test: Delete, superseded by tests/acloca17.test.
1803         * tests/Makefile.am (TESTS): Add acloca17.test and remove error.test.
1804         Report from Jim Meyering.
1805
1806         * lib/am/texibuild.am (?!GENERIC_INFO?%DEST_INFO_PREFIX%%DEST_SUFFIX%):
1807         Fold a few lines to reduce the output by 5 lines.
1808         Suggested by Karl Berry.
1809
1810         * automake.in (parse_arguments, MAIN): Give more precise
1811         diagnostics when no input file is found.
1812         * tests/output5.test: Adjust.
1813         Suggested by Jens Petersen.
1814
1815 2004-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
1816
1817         * lib/am/libs.am (AR, ARFLAGS): Move these definition ...
1818         * automake.in (handle_libraries): ... here, so that they are
1819         output even for EXTRA_LIBRARIES.
1820         * tests/ar2.test: New file.
1821         * tests/Makefile.am (TESTS): Add it.
1822         Report from Kevin Ryde.
1823
1824 2004-05-13  Alexandre Duret-Lutz  <adl@gnu.org>
1825
1826         * automake.in (generate_makefile): Do not output Makefile.in on
1827         errors.
1828         * tests/werror2.test: New file.
1829         * tests/Makefile.am (TESTS): Add werror2.test.
1830         * tests/substtarg.test, tests/cond36.test, tests/backsl4.test:
1831         Adjust to run automake with -Wno-error when the output is expected
1832         in spite of the error.
1833         Report from Harlan Stenn.
1834
1835         * doc/automake.texi (Program and Library Variables): Remove
1836         doubled word in footnote.
1837
1838         * automake.in (handle_source_transform): Also check for a
1839         $(srcdir)/old_source rule when computing the default source name.
1840         Propagate this $(srcdir) prefix in Automake variables.
1841         * tests/ltlibsrc.test (noinst_LTLIBRARIES): Explicitly refer to
1842         $(srcdir)/zoo_d_old2_la.c.  This fixes another failure with BSD Make.
1843
1844 2004-05-13  Paul Eggert  <eggert@cs.ucla.edu>
1845
1846         * Makefile.am (fetch): Work even with FreeBSD "make", which
1847         uses sh -e and thus errors-out if a simple-command fails.
1848         * lib/am/check.am (check-TESTS): Likewise.
1849         * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Likewise.
1850         * lib/am/tags.am (TAGS): Likewise.
1851
1852 2004-05-13  Alexandre Duret-Lutz  <adl@gnu.org>
1853
1854         * tests/lex3.test, tests/yacc6.test: Require GNU Make.
1855         Fixing these for BSD Make requires invasive changes (lexers and
1856         parsers must be built into $srcdir, and--most annoyingly--all
1857         references to parse.h must be changed to $(srcdir)/parse.h).
1858         Report from Mark D. Baushke.
1859
1860 2004-05-10  Alexandre Duret-Lutz  <adl@gnu.org>
1861
1862         * tests/defs.in (GNUmake): Grep for GNU to parry FreeBSD make.
1863         Report from Mark D. Baushke.
1864
1865 2004-04-25  Alexandre Duret-Lutz  <adl@gnu.org>
1866
1867         * lib/texinfo.tex: New upstream version.
1868
1869         * lib/depcomp (tru64): Clarify comments.  Thanks to Nicolas Joly.
1870
1871         * doc/automake.texi (Headers): Revamp.
1872
1873 2004-04-24  Alexandre Duret-Lutz  <adl@gnu.org>
1874
1875         * automake.in (check_typos): Clarify the diagnostic.
1876         * tests/warnopts.test: Adjust.
1877
1878         * lib/Automake/VarDef.pm (append): Turn VAR_ASIS variables into
1879         VAR_PRETTY variables to work around make implementation with
1880         limited line length, such as OSF1/Tru64 make.
1881         * tests/longline.test: New file.
1882         * tests/Makefile.am (TESTS): Add it.
1883         * tests/pluseq3.test, tests/pluseq8.test: Adjust.
1884         Report from Simon Josefsson.
1885
1886         * lib/am/tags.am (TAGS): Pass `.' to Exuberant Ctags if
1887         --etags-include is used but no other files are supplied, so it
1888         creates the TAGS file anyway.
1889         Report from Akim Demaille.
1890
1891         * lib/depcomp (tru64) [libtool]: Nicolas Joly reported on
1892         2002-06-12 that dependencies were output in $dir.libs/$base.lo.d.
1893         Teun Burgers reported on 2004-03-30 they were in
1894         $dir.libs/$base.o.d.  Try both.
1895
1896 2004-04-23  Alexandre Duret-Lutz  <adl@gnu.org>
1897
1898         For PR automake/414:
1899         Introduce option filename-length-max=99.
1900         * doc/automake.texi (Options): Document it.
1901         * configure.ac (AM_INIT_AUTOMAKE): Use it.
1902         * lib/Automake/Options.pm (_process_option_list): Recognize it.
1903         * automake.in (handle_dist): Set FILENAME_FILTER.
1904         * lib/am/distdir.am (distdir) [FILENAME_FILTER]: Diagnose long
1905         filenames.
1906         * tests/fn99.test: New file.
1907         * tests/Makefile.am (TESTS): Add fn99.test.
1908
1909 2004-04-20  Alexandre Duret-Lutz  <adl@gnu.org>
1910
1911         For PR automake/414:
1912         Introduce options tar-v7, tar-ustar, and tar-pax to select
1913         tar format.
1914         * doc/automake.texi (Options): Document them.
1915         * lib/Automake/Options.pm (_process_option_list): Process
1916         these new options.
1917         * lib/am/distdir.am (dist-gzip, dist-bzip2, dist-tarZ, dist,
1918         distcheck): Adjust to use am__tar and am__untar.
1919         * m4/tar.m4: New file.
1920         * m4/Makefile.am (dist_m4data_DATA): Add tar.m4.
1921         * m4/init.m4 (AM_INIT_AUTOMAKE): Support the new options
1922         and call _AM_PROG_TAR.
1923         * tests/tar.test, tests/tar2.test, tests/tar3.test: New files.
1924         * tests/Makefile.am (TESTS): Add them.
1925
1926 2004-04-18  Alexandre Duret-Lutz  <adl@gnu.org>
1927
1928         * lib/am/distdir.am (distcheck): Typo in shar decompression.
1929
1930         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1931         versions.
1932
1933 2004-04-17  Alexandre Duret-Lutz  <adl@gnu.org>
1934
1935         Fix PR automake/49:
1936         * automake.in (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Diagnose
1937         calls to AC_CONFIG_AUX_DIR followings calls to AM_INIT_AUTOMAKE.
1938         * tests/auxdir.test, tests/auxdir2.test, tests/lex5.test,
1939         tests/mdate3.test, tests/multlib.test, tests/reqd2.test,
1940         tests/symlink.test, tests/txinfo8.test, tests/txinfo22.test,
1941         tests/yacc6.test, tests/yacc8.test: Fix to call AC_CONFIG_AUX_DIR
1942         before AM_INIT_AUTOMAKE.
1943         * tests/auxdir3.test: New file (exercise this diagnostic).
1944         * tests/Makefile.am (TESTS): Add auxdir3.test.
1945
1946 2004-04-15  Alexandre Duret-Lutz  <adl@gnu.org>
1947
1948         * aclocal.in (%map_traced_defs): New variable.
1949         (scan_m4_files): Normalize filenames.
1950         (trace_used_macros): Trace for AC_DEFUN and AU_DEFUN, also
1951         ask for the filename and the first argument.  Populate
1952         %map_traced_defs.
1953         (write_aclocal): Use $map_traced_defs to filter out unused
1954         definitions.
1955         * tests/acloca16.test: New file.
1956         * tests/Makefile.am (TESTS): Add acloca16.test.
1957
1958 2004-04-12  Alexandre Duret-Lutz  <adl@gnu.org>
1959
1960         * automake.in ($automake_needs_to_reprocess_all_files): Remove.
1961         ($automake_will_process_aux_dir): New variable.
1962         (scan_autoconf_traces): Reorder @input_files so that the Makefile
1963         that distributes aux files is processed last.  This way we do not
1964         have to process all files twice using
1965         $automake_will_process_aux_dir.
1966         (require_file_internal): Suggest a full run of automake when
1967         appropriate.
1968         (MAIN): Remove the loop on $automake_needs_to_reprocess_all_files.
1969         * tests/distcom7.test: New file.
1970         * tests/reqd2.test: Do not check for the "running more than two"
1971         message.
1972         * tests/Makefile.am (TESTS): Add distcom7.test.
1973
1974         * automake.in (@config_aux_path, $config_aux_dir): Rename as ...
1975         ($config_aux_dir, $am_config_aux_dir): ... these.
1976         ($config_aux_dir_set_in_configure_in): Rename as ...
1977         ($config_aux_dir_set_in_configure_ac): ... this.
1978         (%require_file_found): Rename as ...
1979         (%required_file_not_found): ... this.
1980         (handle_languages, handle_texinfo_helper, handle_dist,
1981         handle_configure, handle_emacs_lisp, handle_python,
1982         scan_autoconf_traces, yacc_lex_finish_helper): Adjust to new names.
1983         (scan_autoconf_traces): Call locate_aux_dir.
1984         (locate_aux_dir): New function.
1985         (@require_file_paths): Remove, not used anymore.
1986         (require_file_internal): Look files in only one directory (instead
1987         of @require_file_internal) passed in argument.
1988         (require_file, require_conf_file): Pass the destination directory
1989         to require_file_internal.
1990
1991         Fix for PR automake/416:
1992         * m4/depend.m4 (_AM_DEPENDENCIES): Catch `not supported' ICC 8.0
1993         remarks.
1994         From Peter Seiderer.
1995
1996 2004-04-10  Andreas Buening  <andreas.buening@nexgo.de>
1997
1998         * aclocal.in, automake.in, configure.ac, Makefile.am,
1999         tests/aclocal.in, tests/automake.in, tests/defs.in:
2000         Use PATH_SEPARATOR from autoconf instead of ':'.
2001
2002 2004-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
2003
2004         * automake.in (handle_lib_objects): Pass the condition of
2005         the variable definition to handle_LIBOBJS and handle_ALLOCA,
2006         not the aggregated conditions.
2007         * tests/Makefile.am (TESTS): Add libobj14.test.
2008         * tests/libobj14.test: New file.
2009         Report from Bill Davidson.
2010
2011 2004-04-02  Mike Nolta  <mike@nolta.net>
2012
2013         Better support for Fortran 9x.
2014         * automake.in: Add "fc" and "ppfc" languages for Fortran 9x.
2015         * doc/automake.texi (Fortran 9x Support): New section.
2016         * lib/Automake/Variable.pm (%_ac_macro_for_var): Add AC_PROG_FC.
2017         * tests/compile_f90_c_cxx.test: New file.
2018         * tests/ext.test: Add AC_PROG_FC.
2019         * tests/f90only.test: New file.
2020         * tests/link_f90_only.test: New file.
2021         * tests/Makefile.am (TESTS): Add new tests.
2022
2023 2004-04-01  Paul Eggert  <eggert@twinsun.com>
2024
2025         * lib/install-sh: If "mv -f" works, use it, and fall back to
2026         the old "test -f" + "rm -f" + "mv" method only if "mv -f" does
2027         not work.  This improves performance in the usual case where
2028         "mv -f" works.  It also lets us install the "mv" command
2029         without worrying about a small window where "mv" does not
2030         exist (this problem was reported by Raul Nunez de Arenas
2031         Coronado).
2032
2033 2004-03-26  Alexandre Duret-Lutz  <adl@gnu.org>
2034
2035         * m4/python.m4 (AM_PATH_PYTHON): Make sure am_display_PYTHON is
2036         set when $PYTHON has been set by the user.
2037         From Esben Haabendal Soerensen.
2038
2039 2004-03-22  Alexandre Duret-Lutz  <adl@gnu.org>
2040
2041         * doc/automake.texi (Default _SOURCES): Typo.
2042         (true): Correct _'s placement in example.
2043         Report from Stepan Kasal.
2044
2045 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
2046
2047         Overriding JAVAROOT is legitimate, do not warn about it.
2048         * lib/Automake/Variable.pm (%_silent_variable_override): Add JAVAROOT.
2049         * tests/java2.test: Run automake without -Wno-override.
2050         Report from Simon Josefsson.
2051
2052 2004-03-14  Alexandre Duret-Lutz  <adl@gnu.org>
2053
2054         * automake.in (handle_texinfo_helper): Typos in comment.
2055
2056 2004-03-07  Alexandre Duret-Lutz  <adl@gnu.org>
2057
2058         * lib/config.guess: New upstream version.
2059
2060         Fix for PR automake/285:
2061         * automake.in (handle_ltlibraries): Keep track of installation
2062         directories for each condition, then define a $(am_TARGET_rpath)
2063         variable to hold the -rpath flags of Libtool libraries conditionally
2064         installed in different directories.
2065         * lib/Automake/DisjConditions.pm (merge): New function.
2066         * tests/libtool6.test: Adjust.
2067         * tests/libtool8.test: New file.
2068         * tests/Makefile.am (TEST): Add libtool8.test.
2069
2070         * lib/Automake/Variable.pm (traverse_recursively,
2071         _do_recursive_traversal): Honor the skip_ac_subst option.
2072         * automake.in (handle_dist): Use skip_ac_subst.
2073
2074 2004-02-29  Alexandre Duret-Lutz  <adl@gnu.org>
2075
2076         * Makefile.am (cvs-release): Upload to ~ftp/pub/automake, not
2077         ~ftp/automake.
2078         * lib/gnupload (Example): Update example.
2079
2080         * lib/config-ml.in, lib/config.guess, lib/config.sub,
2081         lib/texinfo.tex: New upstream versions.
2082
2083         * m4/depend.m4 (_AM_DEPENDENCIES): Use `touch' rather than `: >'
2084         to create numbered dependencies.  This fixes a portability issue
2085         when CONFIG_SHELL is forced to /bin/sh on Solaris 8.
2086         Reported by Mark Phillips.
2087
2088         * automake.in (lang_yacc_target_hook): Use Automake::Rule::define
2089         so that rules for the same headers are not output twice.
2090         * lib/Automake/Variable.pm (value_as_list_recursive): Do not
2091         call `return' inside `map'.
2092         * tests/cond30.test: Make sure `a.c' and `b.c' both appear
2093         in the Makefile.in.
2094         * tests/cond35.test, tests/cond36.test: New files.
2095         * tests/Makefile.am (TESTS): Add cond35.test and cond36.test.
2096         Report from Roman Fietze.
2097
2098         Fix for PR/413:
2099         * lib/am/distdir.am (distcheck): Create $dc_destdir with `umask
2100         077 && mkdir' instead of `$(mkdir_p)'.  This prevents possible
2101         symlink attacks reported by Stefan Nordhausen.
2102
2103 2004-02-16  Alexandre Duret-Lutz  <adl@gnu.org>
2104
2105         * doc/automake.texi (Multiple Outputs): More text, based on
2106         comments from Eric Siegerman, Tim Van Holder, and Oren Ben-Kiki.
2107
2108 2004-02-15  Alexandre Duret-Lutz  <adl@gnu.org>
2109
2110         * m4/mkdirp.m4: Use `mkdir -p' only with GNU mkdir, because
2111         Solaris 8's mkdir is not thread-safe.
2112         * lib/mkinstalldirs: Likewise.
2113         * lib/install-sh: Abort when mkdir fails to create a directory.
2114         Report from Nathanael Nerode.
2115
2116 2004-02-07  Alexandre Duret-Lutz  <adl@gnu.org>
2117
2118         * aclocal.in (rel2abs): New function.
2119         (scan_configure_dep): Use rel2abs instead of File::Spec->rel2abs,
2120         the later does was introduced in Perl 5.6 so using it breaks with
2121         Perl 5.005.
2122         Report from Werner John.
2123
2124 2004-02-03  Alexandre Duret-Lutz  <adl@gnu.org>
2125
2126         * doc/automake.texi (Future of aclocal): Make clearer that
2127         it's ok to install macros into /usr/share/aclocal/.
2128
2129 2004-02-01  Alexandre Duret-Lutz  <adl@gnu.org>
2130
2131         * tests/lisp.test: Delete (pointless).
2132         * tests/Makefile.am (TESTS): Remove lisp.test.
2133
2134         * lib/Automake/Variable.pm (transform_variable_recursively):
2135         Define rewritten variables in all conditions not *covered* by user
2136         definitions, not simply in conditions without a previous
2137         definition.
2138         * tests/cond34.test: New file.
2139         * tests/Makefile.am (TESTS): Add cond34.test.
2140         Report from Elena A. Vengerova
2141
2142         * doc/automake.texi (Multiple Outputs): Typo.
2143
2144         * doc/automake.texi (Emacs Lisp): Typos.
2145
2146         Support for conditional _LISP.
2147         * automake.in (handle_emacs_lisp): Define $(ELCFILES) from LISP, not
2148         from $(am__ELCFILES).
2149         * lib/am/lisp.am (elc-stamp): Use $(LISP) instead of $(am__ELFILES).
2150         * tests/lisp6.test: New file.
2151         * tests/Makefile.am (TESTS): Add it.
2152
2153         * automake.in (handle_emacs_lisp): Define $(ELCFILES) as
2154         $(am__ELCFILES), and always push it on @all.  Do not mention
2155         elc-stamp.
2156         * lib/am/lisp.am (.el.elc): Rewrite as ...
2157         ($(am__ELCFILES)): ... this, and depend on elc-stamp.
2158         (elc-stamp): Make sure elc-stamp is older that all .elc files, as
2159         explained in the manual entry below.
2160
2161         * doc/automake.texi (Multiple Outputs): New node.
2162
2163 2004-01-31  Alexandre Duret-Lutz  <adl@gnu.org>
2164
2165         * m4/regex.m4: Do not AC_SUBST(LIBOBJS), and quote most arguments.
2166         * tests/regex.test: New file.
2167         * tests/Makefile.am (TESTS): Add regex.test.
2168
2169 2004-01-28  Alexandre Duret-Lutz  <adl@gnu.org>
2170
2171         * Makefile.am (maintainer-check): Check for unquoted $(DESTDIR) uses.
2172         * lib/am/data.am, lib/am/distdir.am, lib/am/java.am, lib/am/libs.am,
2173         lib/am/lisp.am, lib/am/ltlib.am, lib/am/mans.am, lib/am/progs.am,
2174         lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Quote
2175         installation paths in install, uninstall, and installcheck rules,
2176         as well as in am__installdirs variables.  This is for the sake
2177         of paths containing spaces.
2178         * lib/am/install.am (installdirs-am, installdirs): Do not try
2179         to create "" directories.
2180         * test/instspc.test: New file.
2181         * test/Makefile.am (TESTS): Add instspc.test.
2182         Report from James Amundson.
2183
2184         * doc/automake.texi (Not Enough, Third-Party Makefiles): New nodes.
2185         (Extending): Make it a subsection of Not Enough.
2186
2187         * lib/gnupload (GPG): Use an absolute path.  Suggestion from Gary
2188         V. Vaughan.
2189         (passphrase): Unset it this variable before using it, in case it
2190         was exported.  Report from Scott James Remnant.
2191
2192 2004-01-25  Alexandre Duret-Lutz  <adl@gnu.org>
2193
2194         * lib/gnupload (usage): Fix example.
2195         * Makefile.am (cvs-release): Fix call to gnupload.
2196         From Jim Meyering.
2197
2198 2004-01-24  Alexandre Duret-Lutz  <adl@gnu.org>
2199
2200         * lib/gnupload: New script.
2201         * lib/Makefile.am (EXTRA_DIST): Distribute gnupload.
2202         * Makefile.am (cvs-release): New target.
2203
2204 2004-01-23  Alexandre Duret-Lutz  <adl@gnu.org>
2205
2206         * lib/am/python.am (uninstall-%DIR%PYTHON): Remove extra `;'s.
2207         Fix python10.test.
2208
2209         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use `s/xx//p'
2210         instead of `/xx/ s///p'; the latter fails when GNU sed is run with
2211         POSIXLY_CORRECT.  Also strip superfluous -e.
2212         Report from Miloslav Trmac.
2213
2214 2004-01-22  Alexandre Duret-Lutz  <adl@gnu.org>
2215
2216         * tests/lex5.test: Sleep before calling AUTOMAKE the second time,
2217         this fixes a spurious failure reported by Andreas Schwab.  Also
2218         make sure ylwrap is not installed unless needed, and exercise
2219         --no-force.
2220
2221 2004-01-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
2222
2223         * doc/automake.texi (Dist): Document limitations of distcheck-hook
2224         and DISTCHECK_CONFIGURE_FLAGS with regard to subdirs and
2225         subpackages.
2226
2227 2004-01-20  Alexandre Duret-Lutz  <adl@gnu.org>
2228
2229         * doc/automake.texi (Upgrading): New node.
2230
2231 2004-01-20  Gary V. Vaughan  <gary@gnu.org>
2232
2233         * automake.in (scan_autoconf_traces): AC_LIBTOOL_TAGS can be
2234         correctly called without arguments as evidenced by the libtool
2235         demo directories.
2236
2237 2004-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
2238
2239         * tests/conflnk3.test: Skip if `test -e' does not work.
2240         Report from Lars Hecking.
2241
2242 2004-01-13  Jim Meyering  <jim@meyering.net>
2243
2244         * lib/install-sh: Change `\n \t' to `\n\t ' in `defaultIFS'
2245         assignment.  Remove spurious SPACEs before TABs.
2246
2247 2004-01-12  Alexandre Duret-Lutz  <adl@gnu.org>
2248
2249         * lib/py-compile: Check input files after option processing.
2250         Ensure --basedir has an argument.
2251         * lib/am/python.am (install-%DIR%PYTHON): Do not run py-compile
2252         if nothing was installed.
2253         * tests/python10.test: New file.
2254         * tests/Makefile.am (TESTS): Add python10.test.
2255         Suggested by Sander Niemeijer.
2256
2257         * tests/txinfo29.test: Remove autom4te.cache.
2258         Report from Greg Schafer.
2259
2260         * lib/install-sh: Do not use "$@" in a context where it may be empty,
2261         for the sake of OSF1/Tru64's shell.
2262         Report from He Li.
2263
2264 2004-01-11  Alexandre Duret-Lutz  <adl@gnu.org>
2265
2266         * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
2267         versions.
2268
2269         * m4/as.m4, m4/depend.m4, m4/maintainer.m4, m4/multi.m4: Update
2270         copyright years and serial.
2271
2272         * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.4.
2273
2274 2004-01-10  Peter Eisentraut  <peter_e@gmx.net>  (tiny change)
2275
2276         * m4/as.m4 (AM_PROG_AS): Format and align help string more
2277         consistently.
2278         * m4/depend.m4 (AM_DEP_TRACK): Likewise.
2279         * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
2280         * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
2281         * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise.
2282
2283 2004-01-10  Paul Eggert  <eggert@twinsun.com>
2284
2285         * m4/lispdir.m4 (AM_PATH_LISPDIR): Don't use \? in sed regular
2286         expressions; it doesn't conform to POSIX.
2287
2288 2004-01-10  Alexandre Duret-Lutz  <adl@gnu.org>
2289
2290         * automake.in (shadow_unconditionally): New function...
2291         (handle_source_transform): ... extracted from here.
2292         (am_install_var): Use shadow_unconditionally to define %DISTVAR%.
2293         * lib/am/data.am, lib/am/java.am, lib/am/lisp.am, lib/am/python.am,
2294         lib/am/script.am: Add %DISTVAR% to DIST_COMMON.
2295         * tests/cond33.test: Make sure all conditional files are distributed.
2296         Report from Ralf Corsepius.
2297
2298 2004-01-08  Alexandre Duret-Lutz  <adl@gnu.org>
2299
2300         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Append `.' to $(mkdir_p).
2301         * lib/install-sh: Accept `install-sh -d' with 0..n arguments,
2302         as well as `install-sh sources... dest' with multiple sources.
2303         * tests/cond33.test: New file.
2304         * tests/instsh2.test: Add more checks for install-sh.
2305         * tests/transform.test: Test for installdirs.
2306         * tests/Makefile.am (TESTS): Add cond33.test
2307         Report from Ralf Corsepius.
2308
2309         * automake.in (handle_configure): Skip AC_CONFIG_LINKS items which
2310         do not look like DEST:SRC.
2311         * tests/conflnk3.test: Check for AC_CONFIG_LINKS($computed).
2312
2313 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
2314
2315         Fix for PR automake/289:
2316         * automake.in (Automake::Struct::libtool_tag): New attribute.  Define
2317         it for the language that have a Libtool tag.
2318         (%libtool_tags): New variable.
2319         (handle_languages, define_compiler_variable)
2320         (define_linker_variable): Pass --tag=XXX to libtool if supported.
2321         (scan_autoconf_traces): Scan for _LT_AC_TAGCONFIG and AC_LIBTOOL_TAGS.
2322         * tests/libtool3.test, tests/subobj9.test: Check that --tag=XXX is
2323         output.
2324
2325 2003-01-07  Eric Sunshine  <sunshine@sunshineco.com>  (tiny change)
2326
2327         * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
2328         config.status.lineno.
2329
2330 2004-01-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
2331
2332         * doc/automake.texi (Rebuilding): Typo.
2333
2334 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
2335
2336         * lib/am/Makefile.am (dist_am_DATA): Really add inst-vars.am.
2337
2338 2004-01-06  Alexandre Duret-Lutz  <adl@gnu.org>
2339
2340         * THANKS: Add Bruce Korb.
2341
2342 2004-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
2343
2344         Mimic Paul Eggert's changes to Autoconf.
2345         * Makefile.am (automake, aclocal): Use `chmod a-w', not `chmod -w'.
2346         * lib/Automake/Makefile.am (Config.pm): Likewise.
2347         * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Likewise.
2348
2349         * lib/am/inst-vars.am: New file, define am__vpath_adj_setup,
2350         am__vpath_adj, and am__strip_dir.
2351         * lib/am/Makefile.am (dist_am_DATA): Add inst-vars.am.
2352         * lib/am/data.am, lib/am/lisp.am, lib/am/python.am,
2353         lib/am/scripts.am: Include inst-vars.am, and use $(am__vpath_adj),
2354         $(am__vpath_adj_setup), and $(am__strip_dir) in install and
2355         uninstall rules.  This fixes installation of nobase_ files in
2356         VPATH setups with Sun and OSF1/Tru64 Make.
2357         * lib/am/libs.am, lib/am/ltlib.am: Include inst-vars.am, and use
2358         $(am__strip_dir) to simplify install and uninstall rules.
2359         * tests/nobase.test: Augment to check installation from VPATH builds.
2360
2361         * automake.in (%transformed_files): New variable.
2362         (initialize_per_input): Reset it.
2363         (make_paragraphs): Fill %transformed_files, and define %FIRST%
2364         each time a file is transformed for the first time.
2365         (handle_configure): Do not define %FIRST_CONFIG_HIN%.
2366         (am_install_var): Do not define %FIRST%.
2367         * lib/am/remake-hdr.am: Use %?FIRST% instead of %?FIRST_CONFIG_HIN%.
2368
2369 2004-01-04  Alexandre Duret-Lutz  <adl@gnu.org>
2370
2371         * lib/texinfo.tex: New upstream version.
2372
2373         * m4/mkdirp.m4: Do not use `-m 0755'.  This overrides special bits
2374         and break setups where 775 directories are expected.  Just obey
2375         umask as we did in the past.
2376         Report from Harlan Stenn.
2377
2378 2004-01-03  Alexandre Duret-Lutz  <adl@gnu.org>
2379
2380         * automake.in (scan_texinfo_file): Do not compare $outfile to ''
2381         as $outfile might not be defined at all.
2382
2383         * lib/Automake/Variable.pm (define): Rework the way we check
2384         Automake variable definition.  Ensure consistent :=/+=/=
2385         definitions only for variables that have been and are defined by
2386         Automake, and make it an internal error.  Ignore Automake
2387         attempts to touch a user variable, even with += assignments.
2388         * tests/txinfo29.test: New file.
2389         * tests/Makefile.am (TESTS): Add txinfo29.test.
2390         Reported by Bruce Korb.
2391
2392 2004-01-02  Tom Tromey  <tromey@redhat.com>
2393
2394         * automake.in (handle_source_transform): Don't generate dist
2395         variables when no-dist is set.
2396         (generate_makefile): Likewise.
2397         * tests/nodist3.test: Ensure that DIST_SOURCES is not created,
2398         and that dist target does not exist.
2399         Reported by Tom Fitzsimmons.
2400
2401 2004-01-02  Alexandre Duret-Lutz  <adl@gnu.org>
2402
2403         * tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
2404         * tests/ltconv.test: Run automake with --add-missing, because
2405         the CVS version of libtoolize no longer install config.sub and
2406         config.guess by default.
2407
2408         Fix for PR automake/319:
2409         * aclocal.in (scan_m4_files): Scan configure.ac.
2410         (trace_used_macros, write_aclocal): Remove configure.ac from the
2411         list of files to include.
2412         * tests/Makefile.am (TESTS): Add acloca15.test.
2413         * tests/acloca15.test: New file.
2414
2415         * aclocal.in (%file_includes): New variable.
2416         (scan_configure_dep): Compile $m4_include_rx and $ac_require_rx once.
2417         (scan_file): Scan for included files, and process these files
2418         recursively.  Fill %file_includes and %file_contents.  Return the
2419         list of included files, not the contents.
2420         (scan_m4_files): Adjust calls to scan_files.
2421         (strip_redundant_includes): New function.
2422         (trace_used_macros): Call it.
2423         (write_aclocal): Likewise.  Also check the mtime of included files.
2424         * tests/Makefile.am (TESTS): Add acloca14.test.
2425         * tests/acloca14.test: New file.
2426         Report from Phil Edwards.
2427
2428 2004-01-01  Alexandre Duret-Lutz  <adl@gnu.org>
2429
2430         * automake.in (handle_languages): Do not define DEP_FILES.
2431         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Extract included
2432         files with $(DEPDIR) in their name instead of DEP_FILES.
2433         * tests/depend.test, tests/depend4.test, tests/exsource.test:
2434         Adjust.
2435         Suggested by Tom Tromey.
2436
2437         Do not output .lo rules for programs and static libraries objects,
2438         and do not output .o/.obj rules for libtool libraries.  This is
2439         about explicit rules only, not inference rules.
2440         * automake.in (handle_single_transform_list): Rename as ...
2441         (handle_single_transform): ... this.  Take a single file
2442         to transform (it was only called this way) and accept a new
2443         %transform argument.  Fill %lang_specific_files with list
2444         references instead of strings, and append %transform to each
2445         of these lists.
2446         (define_objects_from_sources, handle_source_transform):
2447         Take a %transform argument, and forward it to &handle_single_transform.
2448         (handle_languages): Adjust to the new format of
2449         %lang_specific_files, and honor its %transform part.
2450         (handle_programs, handle_libraries, handle_ltlibraries): Override
2451         %NONLIBTOOL% and %LIBTOOL% while calling handle_source_transform.
2452         (make_paragraphs): Define %NONLIBTOOL% by default.  Make sure
2453         %transform settings override global settings.
2454         * lib/am/depend2.am (%OBJ%, %OBJOBJ%): Define only if %NONLIBTOOL%.
2455         * tests/libtool3.test: Augment to check Makefile.ins for unneeded
2456         rules.
2457         Suggested by Thomas Fitzsimmons.
2458
2459         * automake.in, aclocal.in: Bump copyright years.
2460
2461 -----
2462
2463 Copyright (C) 2004, 2005  Free Software Foundation, Inc.
2464
2465 This file is part of GNU Automake.
2466
2467 GNU Automake is free software; you can redistribute it and/or modify
2468 it under the terms of the GNU General Public License as published by
2469 the Free Software Foundation; either version 2, or (at your option)
2470 any later version.
2471
2472 GNU Automake is distributed in the hope that it will be useful,
2473 but WITHOUT ANY WARRANTY; without even the implied warranty of
2474 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2475 GNU General Public License for more details.
2476
2477 You should have received a copy of the GNU General Public License
2478 along with autoconf; see the file COPYING.  If not, write to
2479 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
2480 Boston, MA 02110-1301, USA.
2481
2482 ;; Variables:
2483 ;; coding: utf-8
2484 ;; End: