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