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