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