source: trunk/essentials/sys-devel/automake-1.9/ChangeLog@ 3441

Last change on this file since 3441 was 3086, checked in by bird, 18 years ago

automake 1.9.6

File size: 190.3 KB
Line 
12005-07-10 Alexandre Duret-Lutz <adl@gnu.org>
2
3 * configure.ac, NEWS: Bump version to 1.9.6.
4
5 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
6 versions.
7
82005-07-09 Stepan Kasal <kasal@ucw.cz>
9
10 * doc/automake.texi (Public macros): Typo.
11 * aclocal.in: Typo in comment.
12
132005-07-09 Zack Weinberg <zack@codesourcery.com> (tiny change)
14
15 * lib/depcomp: Handle "#line" markers as well as "# " markers in
16 "cpp" style, so it can work with newer HP compilers (for their
17 ia64 systems).
18
192005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
20
21 * configure.ac, NEWS: Bump version to 1.9.5c.
22
23 * configure.ac, NEWS: Bump version to 1.9.5b.
24
25 * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
26 fix an underful hbox.
27 * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
28 New upstream versions.
29
302005-07-01 Alexandre Duret-Lutz <adl@gnu.org>
31
32 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
33
342005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
35
36 * automake.in (read_am_file): Correctly diagnose comments following
37 trailing backslash.
38 * tests/commen10.test: New file.
39 * tests/Makefile.am (TESTS): Add commen10.test.
40 Report from Harald Dunkel.
41
422005-06-29 Alexandre Duret-Lutz <adl@gnu.org>
43
44 * lib/mkinstalldirs: Fix support for directory name with spaces if
45 `mkdir -p' does not work.
46 * tests/Makefile.am (TESTS): Add mkinst3.test.
47 * tests/mkinst3.test: New file.
48 Report from Noah Friedman.
49
50 * doc/automake.texi (Include, Extending aclocal): Typos.
51 Report from Karl Berry.
52
532005-06-28 Stepan Kasal <kasal@ucw.cz>
54 Alexandre Duret-Lutz <adl@gnu.org>
55
56 * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
57 * tests/txinfo28.test: Set TIME_STYLE.
58 Report from Vincent Lefevre and James Youngman.
59
602005-06-24 Alexandre Duret-Lutz <adl@gnu.org>
61
62 * lib/Automake/Variable.pm (define, _new): Remember the helper
63 variable created for the last conditional += on each variable, and
64 only append further += in the same condition to this last helper
65 variable, not to older helper variables. This way the order of
66 the items appended to the variable is preserved.
67 * tests/cond21.test: Adjust.
68 * tests/cond38.test: New file.
69 * tests/Makefile.am (TESTS): Add cond38.test.
70 Report from Ed Hartnett.
71
722005-06-22 Alexandre Duret-Lutz <adl@gnu.org>
73
74 * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
75
76 * automake.in (handle_footer): Do not output an unformatted
77 definition of SOURCES, it is already done correctly in
78 generate_makefile. This superfluous definition introduced long
79 lines in some Makefiles, hence breakages in tools with a limited
80 line length. Report from Mathias Froehlich.
81
822005-06-11 Alexandre Duret-Lutz <adl@gnu.org>
83
84 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
85 Fix redirections in previous patch.
86
872005-06-08 Alexandre Duret-Lutz <adl@gnu.org>
88
89 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
90 Do not backup any file if makeinfo is not installed.
91 * lib/missing (makeinfo): Do not touch a missing info file.
92 * tests/txinfo30.test: New file.
93 * tests/Makefile.am (TESTS): Add txinfo30.test.
94 Report from Bob Proulx.
95
96 * doc/automake.texi (Extending aclocal): Typo.
97
982005-05-24 Brian Gough <bjg@network-theory.co.uk> (tiny change)
99
100 * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
101
1022005-05-15 Alexandre Duret-Lutz <adl@gnu.org>
103
104 Fix PR automake/461:
105 * automake.in (require_build_directory): Canonicalize directories
106 with different names, such as `foo/bar' and `./foo//bar'.
107 * tests/subobj9.test: Augment to test that.
108 Report from Tom Tromey.
109
1102005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
111
112 * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
113 ChangeLog.96, ChangeLog.98, HACKING, Makefile.am, NEWS, README,
114 TODO, aclocal.in, automake.in, bootstrap, configure, configure.ac,
115 doc/Makefile.am, doc/fdl.texi, lib/COPYING, lib/Makefile.am,
116 lib/acinstall, lib/compile, lib/config-ml.in, lib/config.guess,
117 lib/config.sub, lib/depcomp, lib/elisp-comp, lib/gnupload,
118 lib/install-sh, lib/mdate-sh, lib/missing, lib/mkinstalldirs,
119 lib/py-compile, lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
120 lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
121 lib/Automake/Condition.pm, lib/Automake/Config.in,
122 lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
123 lib/Automake/FileUtils.pm, lib/Automake/General.pm,
124 lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
125 lib/Automake/Location.pm, lib/Automake/Makefile.am,
126 lib/Automake/Options.pm, lib/Automake/Rule.pm,
127 lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
128 lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
129 lib/Automake/Version.pm, lib/Automake/Wrap.pm,
130 lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
131 lib/Automake/tests/DisjConditions.pl,
132 lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
133 lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
134 lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
135 lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
136 lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
137 lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
138 lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
139 lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
140 lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
141 lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
142 lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
143 lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
144 lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
145 lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
146 lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
147 m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
148 tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
149 tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
150 tests/acloca17.test, tests/acloca19.test, tests/aclocal.test,
151 tests/aclocal3.test, tests/aclocal4.test, tests/aclocal5.test,
152 tests/aclocal6.test, tests/aclocal7.test, tests/aclocal8.test,
153 tests/aclocal9.test, tests/acoutbs.test, tests/acoutbs2.test,
154 tests/acoutnoq.test, tests/acoutpt.test, tests/acoutpt2.test,
155 tests/acoutqnl.test, tests/acsilent.test, tests/acsubst.test,
156 tests/acsubst2.test, tests/all.test, tests/alloca.test,
157 tests/alloca2.test, tests/alpha.test, tests/alpha2.test,
158 tests/amassign.test, tests/ammissing.test, tests/ansi.test,
159 tests/ansi10.test, tests/ansi2.test, tests/ansi3.test,
160 tests/ansi3b.test, tests/ansi4.test, tests/ansi5.test,
161 tests/ansi6.test, tests/ansi7.test, tests/ansi8.test,
162 tests/ansi9.test, tests/ar.test, tests/ar2.test, tests/asm.test,
163 tests/autohdr.test, tests/autohdr2.test, tests/autohdr3.test,
164 tests/autohdr4.test, tests/auxdir.test, tests/auxdir2.test,
165 tests/auxdir3.test, tests/auxdir4.test, tests/backsl.test,
166 tests/backsl2.test, tests/backsl3.test, tests/backsl4.test,
167 tests/badline.test, tests/badopt.test, tests/badprog.test,
168 tests/block.test, tests/bsource.test, tests/canon.test,
169 tests/canon2.test, tests/canon3.test, tests/canon4.test,
170 tests/canon5.test, tests/ccnoco.test, tests/check.test,
171 tests/check2.test, tests/check3.test, tests/check4.test,
172 tests/checkall.test, tests/clean.test, tests/clean2.test,
173 tests/colneq.test, tests/colneq2.test, tests/colon.test,
174 tests/colon2.test, tests/colon3.test, tests/colon4.test,
175 tests/colon5.test, tests/colon6.test, tests/colon7.test,
176 tests/comment.test, tests/comment2.test, tests/comment3.test,
177 tests/comment4.test, tests/comment5.test, tests/comment6.test,
178 tests/comment7.test, tests/comment8.test, tests/comment9.test,
179 tests/compile.test, tests/compile_f90_c_cxx.test,
180 tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
181 tests/cond11.test, tests/cond13.test, tests/cond14.test,
182 tests/cond15.test, tests/cond16.test, tests/cond17.test,
183 tests/cond18.test, tests/cond19.test, tests/cond2.test,
184 tests/cond20.test, tests/cond21.test, tests/cond22.test,
185 tests/cond23.test, tests/cond24.test, tests/cond25.test,
186 tests/cond26.test, tests/cond27.test, tests/cond28.test,
187 tests/cond29.test, tests/cond3.test, tests/cond30.test,
188 tests/cond31.test, tests/cond32.test, tests/cond33.test,
189 tests/cond34.test, tests/cond35.test, tests/cond36.test,
190 tests/cond37.test, tests/cond4.test, tests/cond5.test,
191 tests/cond6.test, tests/cond7.test, tests/cond8.test,
192 tests/cond9.test, tests/condd.test, tests/condhook.test,
193 tests/condinc.test, tests/condinc2.test, tests/condlib.test,
194 tests/condman.test, tests/condman2.test, tests/conf2.test,
195 tests/confdeps.test, tests/conff.test, tests/conff2.test,
196 tests/confh.test, tests/confh4.test, tests/confh5.test,
197 tests/config.test, tests/confincl.test, tests/conflnk.test,
198 tests/conflnk2.test, tests/conflnk3.test, tests/confsub.test,
199 tests/confvar.test, tests/confvar2.test, tests/copy.test,
200 tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
201 tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
202 tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
203 tests/cygwin32.test, tests/dash.test, tests/defs.in,
204 tests/defun.test, tests/defun2.test, tests/dejagnu.test,
205 tests/dejagnu2.test, tests/dejagnu3.test, tests/dejagnu4.test,
206 tests/dejagnu5.test, tests/dejagnu6.test, tests/dejagnu7.test,
207 tests/depacl2.test, tests/depcomp.test, tests/depcomp2.test,
208 tests/depcomp3.test, tests/depcomp4.test, tests/depcomp5.test,
209 tests/depdist.test, tests/depend.test, tests/depend2.test,
210 tests/depend3.test, tests/depend4.test, tests/destdir.test,
211 tests/dirforbid.test, tests/dirlist.test, tests/discover.test,
212 tests/distcom2.test, tests/distcom3.test, tests/distcom4.test,
213 tests/distcom5.test, tests/distcom6.test, tests/distcom7.test,
214 tests/distdir.test, tests/distname.test, tests/dollar.test,
215 tests/double.test, tests/dup2.test, tests/else.test,
216 tests/empty.test, tests/empty2.test, tests/empty3.test,
217 tests/empty4.test, tests/exdir.test, tests/exdir2.test,
218 tests/exeext.test, tests/exeext2.test, tests/exeext3.test,
219 tests/exeext4.test, tests/exsource.test, tests/ext.test,
220 tests/ext2.test, tests/extra.test, tests/extra2.test,
221 tests/extra3.test, tests/extra4.test, tests/extra5.test,
222 tests/extra6.test, tests/extra7.test, tests/f90only.test,
223 tests/flibs.test, tests/fn99.test, tests/fnoc.test, tests/fo.test,
224 tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
225 tests/fpinstall.test, tests/gcj.test, tests/gcj2.test,
226 tests/gcj3.test, tests/gcj4.test, tests/gcj5.test,
227 tests/getopt.test, tests/gettext.test, tests/gettext2.test,
228 tests/gnits.test, tests/gnits2.test, tests/gnits3.test,
229 tests/gnumake.test, tests/gnuwarn.test, tests/gnuwarn2.test,
230 tests/header.test, tests/help.test, tests/hfs.test,
231 tests/hosts.test, tests/implicit.test, tests/include.test,
232 tests/include2.test, tests/info.test, tests/insh2.test,
233 tests/install2.test, tests/installdir.test, tests/instdat.test,
234 tests/instdat2.test, tests/instexec.test, tests/insthook.test,
235 tests/instman.test, tests/instman2.test, tests/instsh.test,
236 tests/instsh2.test, tests/instspc.test, tests/interp.test,
237 tests/interp2.test, tests/java.test, tests/java2.test,
238 tests/java3.test, tests/javaprim.test, tests/javasubst.test,
239 tests/ldadd.test, tests/ldflags.test, tests/lex.test,
240 tests/lex2.test, tests/lex3.test, tests/lex4.test,
241 tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
242 tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
243 tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
244 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
245 tests/library.test, tests/library2.test, tests/library3.test,
246 tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
247 tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
248 tests/libtool7.test, tests/libtool8.test, tests/license.test,
249 tests/link_c_cxx.test, tests/link_dist.test,
250 tests/link_f90_only.test, tests/link_f_only.test,
251 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
252 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
253 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
254 tests/lisp8.test, tests/listval.test, tests/location.test,
255 tests/longlin2.test, tests/longline.test, tests/ltcond.test,
256 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
257 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
258 tests/make.test, tests/makej.test, tests/makevars.test,
259 tests/man.test, tests/man2.test, tests/mclean.test,
260 tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
261 tests/mdate4.test, tests/missing.test, tests/missing2.test,
262 tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
263 tests/multlib.test, tests/nobase.test, tests/nodef.test,
264 tests/nodef2.test, tests/nodep.test, tests/nodepcomp.test,
265 tests/nodist.test, tests/nodist2.test, tests/nodist3.test,
266 tests/nogzip.test, tests/nogzip2.test, tests/noinst.test,
267 tests/noinstdir.test, tests/nolink.test, tests/nostdinc.test,
268 tests/number.test, tests/obsolete.test, tests/order.test,
269 tests/outdir.test, tests/output.test, tests/output10.test,
270 tests/output2.test, tests/output3.test, tests/output4.test,
271 tests/output5.test, tests/output6.test, tests/output7.test,
272 tests/output8.test, tests/output9.test, tests/overrid.test,
273 tests/parse.test, tests/percent.test, tests/percent2.test,
274 tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
275 tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
276 tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
277 tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
278 tests/ppf77.test, tests/pr2.test, tests/pr204.test,
279 tests/pr211.test, tests/pr220.test, tests/pr224.test,
280 tests/pr229.test, tests/pr243.test, tests/pr266.test,
281 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
282 tests/pr300-lib.test, tests/pr300-ltlib.test,
283 tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
284 tests/pr87.test, tests/pr9.test, tests/prefix.test,
285 tests/primary.test, tests/primary2.test, tests/primary3.test,
286 tests/proginst.test, tests/python.test, tests/python10.test,
287 tests/python11.test, tests/python12.test, tests/python2.test,
288 tests/python3.test, tests/python4.test, tests/python5.test,
289 tests/python6.test, tests/python7.test, tests/python8.test,
290 tests/python9.test, tests/recurs.test, tests/recurs2.test,
291 tests/regex.test, tests/remake.test, tests/remake2.test,
292 tests/remake3.test, tests/remake4.test, tests/remake5.test,
293 tests/req.test, tests/reqd.test, tests/reqd2.test,
294 tests/rulepat.test, tests/scripts.test, tests/seenc.test,
295 tests/sinclude.test, tests/space.test, tests/specflg.test,
296 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
297 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
298 tests/spell.test, tests/spell2.test, tests/spell3.test,
299 tests/spelling.test, tests/spy.test, tests/srcsub.test,
300 tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
301 tests/stdlib2.test, tests/strip.test, tests/subcond.test,
302 tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
303 tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
304 tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
305 tests/subdir8.test, tests/subdir9.test,
306 tests/subdirbuiltsources.test, tests/subobj.test,
307 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
308 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
309 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
310 tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
311 tests/subst2.test, tests/substre2.test, tests/substref.test,
312 tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
313 tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
314 tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
315 tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
316 tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
317 tests/syntax.test, tests/tags.test, tests/tagsub.test,
318 tests/tar.test, tests/tar2.test, tests/tar3.test,
319 tests/target-cflags.test, tests/targetclash.test,
320 tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
321 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
322 tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
323 tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
324 tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
325 tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
326 tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
327 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
328 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
329 tests/vars.test, tests/vars3.test, tests/vartar.test,
330 tests/version.test, tests/version2.test, tests/version3.test,
331 tests/version4.test, tests/version6.test, tests/version7.test,
332 tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
333 tests/warnopts.test, tests/werror.test, tests/werror2.test,
334 tests/whoami.test, tests/xsource.test, tests/yacc.test,
335 tests/yacc2.test, tests/yacc3.test, tests/yacc4.test,
336 tests/yacc5.test, tests/yacc6.test, tests/yacc7.test,
337 tests/yacc8.test, tests/yaccpp.test, tests/yaccvpath.test:
338 Update FSF postal mail address.
339
340 * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
341 Autoconf currently defines a CCC variable.
342
3432005-04-18 Jim Meyering <jim@meyering.net>
344
345 * doc/automake.texi (Dist): Correct English.
346
3472005-03-31 Stepan Kasal <kasal@ucw.cz>
348
349 * doc/automake.texi: When the phrase "for instance" introduces a
350 sentence, it should be delimited by a comma.
351
352 * doc/automake.texi: Fix a few typos.
353
3542005-03-30 Alexandre Duret-Lutz <adl@gnu.org>
355
356 * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
357 example, since the GCS now define htmldir.
358 (Auxiliary Programs): Mention config-ml.in and symlink-tree.
359 Give a URL for texinfo.tex.
360 (Public macros): Sort alphabetically, and move obsolete macros...
361 (Obsolete macros): ... here.
362 Prompted by Karl Berry.
363
3642005-03-29 Alexandre Duret-Lutz <adl@gnu.org>
365
366 * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
367 Jim Meyering.
368
369 * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
370 rule is run with `make -j'.
371 * doc/automake.texi (Multiple Outputs): Adjust.
372 * tests/lisp6.test: Augment it.
373 * tests/lisp8.test: New file.
374 * tests/Makefile.am (TESTS): Add lisp8.test.
375 Suggested by Bruno Haible.
376
3772005-03-27 Alexandre Duret-Lutz <adl@gnu.org>
378
379 * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
380
3812005-03-16 Alexandre Duret-Lutz <adl@gnu.org>
382
383 * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
384 a missing *.elc file if it cannot be created because emacs does
385 not exist.
386 * tests/lisp7.test: New file.
387 * tests/Makefile.am (TESTS): Add lisp7.test.
388 Report from Greg Schafer.
389
3902005-03-05 Alexandre Duret-Lutz <adl@gnu.org>
391
392 * doc/automake.texi: Replace wicked whiches by thats.
393
3942005-03-04 Alexandre Duret-Lutz <adl@gnu.org>
395
396 * aclocal.in (scan_configure_dep, scan_file): Include file names
397 are relative to the directory of configure.ac, not to the
398 directory of the file doing the include. Remove code for this
399 latter case.
400 (rel2abs): Remove, unused.
401 * tests/acloca13.test: Run distcheck and make sure all macros are
402 actually distributed.
403
4042005-03-03 Alexandre Duret-Lutz <adl@gnu.org>
405
406 For PR automake/450:
407 * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
408 files.
409 * automake.in (scan_autoconf_traces): Likewise.
410 * tests/sinclude.test: Augment.
411 Report from Peter Breitenlohner.
412
413 For PR automake/450:
414 * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
415 acinclude.m4 and configure.ac to the include map in these two
416 places ...
417 (strip_redundant_includes): ... do it here. This completes the
418 previous change from 2005-03-01, that did not update
419 write_aclocal.
420 * tests/acloca19.test: Augment.
421 Report from Peter Breitenlohner.
422
4232005-03-02 Alexandre Duret-Lutz <adl@gnu.org>
424
425 * tests/comment9.test: Typo.
426
4272005-03-01 Alexandre Duret-Lutz <adl@gnu.org>
428
429 * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
430 * tests/comment9.test: New file.
431 * tests/Makefile.am (TESTS): Add comment9.test.
432 Report from Julien Sopena.
433
434 For PR automake/450:
435 * aclocal.in (trace_used_macros): Do not explicitly trace files
436 included by configure.ac.
437 * tests/acloca19.test: New file.
438 * tests/Makefile.am (TESTS): Add acloca19.test.
439 Report from Peter Breitenlohner.
440
4412005-02-27 Alexandre Duret-Lutz <adl@gnu.org>
442
443 * doc/automake.texi: Replace many uses of @samp by @code, and
444 vice versa. Use @command, @option, and @env where appropriate.
445
4462005-02-26 Alexandre Duret-Lutz <adl@gnu.org>
447
448 * doc/automake.texi: "filename" -> "file name", for consistency
449 with GNU Coding Standards. See also Paul's change on 2004-08-20
450 in Autoconf.
451
452 * doc/automake.texi (A Library, Libtool Libraries): Show how to link
453 a program with a static or libtool library.
454 (Program and Library Variables): Make clearer that _LDADD and
455 _LIBADD may also list libraries.
456 Prompted by a mail from Bruce Korb.
457
458 * doc/automake.texi (Alternative): Show how to rewrite nobase_
459 variables using custom directory variables, and link to node
460 Uniform. Suggested by Leonardo Boiko.
461
462 * doc/automake.texi (Flag Variables Ordering, User Variables):
463 Make clearer who the maintainer is, and that he can AC_SUBST AM_
464 variables in configure.ac. Suggested by Norman Gray.
465 (Uniform, Public macros, Libtool Issues, Java Support,
466 Conditionals): Use `---' for em dash, and stick them to the
467 enclosing text.
468
469 * doc/automake.texi: Reword a few sentences to fix all underflow
470 and overflow warnings during `make dvi'.
471 (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
472 (Public macros) <AM_WITH_DMALLOC>: Likewise.
473
4742005-02-13 Alexandre Duret-Lutz <adl@gnu.org>
475
476 * configure.ac, NEWS: Bump version to 1.9.5a.
477
478 * configure.ac, NEWS: Bump version to 1.9.5.
479
4802005-02-12 Alexandre Duret-Lutz <adl@gnu.org>
481
482 * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
483 lib/texinfo.tex: New upstream versions.
484
485 * doc/automake.texi (Hard-Coded Install Paths): New node.
486 (Extending, Extending aclocal, Python): Link to it.
487 (Extending): Don't show how to install a file in /etc/ directly,
488 this is insane.
489
490 * automake.in (read_am_file): Define variables containing long
491 lines as VAR_PRETTY to work around tools with limited input width.
492 * tests/longlin2.test: New file.
493 * tests/Makefile.am (TESTS): Add it.
494 Report from Albert Chin.
495
4962005-02-09 Alexandre Duret-Lutz <adl@gnu.org>
497
498 Fix for PR automake/447:
499 * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
500 Report from Mathias Doreille. Add some old comments from
501 Nicolas Joly for reference.
502
5032005-02-08 Stepan Kasal <kasal@ucw.cz>
504
505 * lib/mdate-sh: Check the size of the word following the month to
506 catch Darwin. This way the filename can contain spaces.
507
508 * doc/automake.texi (Options): Typo.
509
5102005-02-08 Alexandre Duret-Lutz <adl@gnu.org>
511
512 * lib/missing (makeinfo): Compute the output file if neither -o
513 nor @setfilename is used.
514 Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
515
5162005-02-07 Alexandre Duret-Lutz <adl@gnu.org>
517
518 * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
519 Report from Peter O'Gorman.
520
5212005-02-02 Paul Eggert <eggert@cs.ucla.edu>
522
523 * lib/compile: Likewise.
524
5252005-02-02 Alexandre Duret-Lutz <adl@gnu.org>
526
527 * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
528 see 2004-12-17.
529 * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
530 status if a write failure occurs with --help or --version option,
531 as below.
532
5332005-02-02 Paul Eggert <eggert@cs.ucla.edu>
534
535 * lib/depcomp: Exit with nonzero status if a write failure occurs
536 with --help or --version option.
537 * lib/elisp-comp: Likewise.
538 * lib/gnupload: Likewise.
539 * lib/install-sh: Likewise.
540 * lib/missing: Likewise.
541 * lib/mkinstalldirs: Likewise.
542
5432005-01-30 Alexandre Duret-Lutz <adl@gnu.org>
544
545 * doc/automake.texi (Macro search path): Using --acdir is not
546 obvious, it's erroneous.
547
5482005-01-27 Akim Demaille <akim@epita.fr>
549
550 * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
551 From Paul Eggert.
552
5532005-01-24 Akim Demaille <akim@epita.fr>
554
555 * lib/Automake/FileUtils.pm: Rename filename as file_name to be
556 consistent with the terminology of the GNU coding standards.
557 From Paul Eggert.
558 (update_file): Accept a $force argument, so that --force always
559 updates the time stamps.
560
5612005-01-23 Alexandre Duret-Lutz <adl@gnu.org>
562
563 * doc/automake.texi (How the Linker is Chosen): Explain how the
564 linker is chosen without diagram, and update to match the code.
565 Suggestion from Adrian Bunk.
566
5672005-01-16 Alexandre Duret-Lutz <adl@gnu.org>
568
569 * lib/am/subdirs.am ($(RECURSIVE_TARGETS), mostlyclean-recursive,
570 clean-recursive, distclean-recursive, maintainer-clean-recursive):
571 Process all words of $MAKEFLAGS when checking for -k.
572 * tests/check4.test: New file.
573 * tests/Makefile.am (TESTS): Add check4.test.
574 Report from Eric Blake.
575
5762005-01-09 Alexandre Duret-Lutz <adl@gnu.org>
577
578 * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
579 m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
580 m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
581 m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
582 m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
583 m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
584 m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
585 m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
586 license that is used in aclocal.m4. Relicensing backed by RMS.
587
588 * doc/automake.texi (A Library, LIBOBJS): Mention that empty
589 libraries are not portable.
590
5912005-01-05 Akim Demaille <akim@epita.fr>
592
593 * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
594 * tests/aclocal5.test (MORE_DEFS): Rename as...
595 (AM_TEST): this so that undefined macros are caught.
596 And make it an alias of AC_SUBST.
597 Test AU_ALIAS.
598 Reported by Martin Bravenboer.
599
6002005-01-01 Alexandre Duret-Lutz <adl@gnu.org>
601
602 * tests/exdir2.test: Do not use `htmldir' as example of
603 undefined directory.
604
605 * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
606 * automake.in ($gen_copyright, version): Likewise.
607
6082004-12-31 Alexandre Duret-Lutz <adl@gnu.org>
609
610 * tests/man2.test, tests/transform.test: Specify --mandir, in order
611 not to fail when Autoconf changes its $mandir default.
612
6132004-12-27 Alexandre Duret-Lutz <adl@gnu.org>
614
615 * automake.in (Preprocessed Fortran): Fix the definition of FCLINK.
616
617 * lib/am/texinfos.am (uninstall-info-am): Hide the invocation of
618 $(PRE_UNINSTALL).
619
6202004-12-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
621
622 * lib/am/texinfos.am (uninstall-info-am): Show change of
623 directory while uninstalling DJGPP-style info files.
624
6252004-12-18 Alexandre Duret-Lutz <adl@gnu.org>
626
627 * configure.ac, NEWS: Bump version to 1.9.4a.
628
629 * configure.ac, NEWS: Bump version to 1.9.4.
630
631 * lib/config-ml.in, lib/config.guess, lib/config.sub,
632 lib/texinfo.tex: New upstream versions.
633
634 * doc/automake.texi (gettext): Move the paragraph about
635 dist_list_LISP...
636 (Emacs Lisp): ... here.
637 Report from Bruno Haible.
638
639 * doc/automake.texi: Bump GFDL version to 1.2, since that is
640 what we distribute.
641
642 * doc/automake.texi: Fix more misuses of @ref, @xref and @pxref,
643 including some of the "corrections" below. Thanks to Karl Berry.
644
645 * doc/automake.texi: Correct several misuses of @xref and @pxref.
646
6472004-12-17 Jim Meyering <jim@meyering.net>
648
649 * install-sh: Use `(exit N); exit N', not `(exit N); exit'.
650 Otherwise, install-sh could exit with improper exit status when
651 exiting via a trapped interrupt. Thanks to a report from Bob Proulx.
652
6532004-12-14 Akim Demaille <akim@epita.fr>
654
655 * doc/automake.texi (Options): Englishoes.
656 (Options): And another.
657
6582004-12-11 Alexandre Duret-Lutz <adl@gnu.org>
659
660 * doc/automake.texi (Per-Object Flags): New node.
661
6622004-12-09 Alexandre Duret-Lutz <adl@gnu.org>
663
664 Fix PR automake/441:
665 * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Do
666 not install *.class if "$(%DIR%_JAVA)" is empty.
667 * tests/java3.test: New file.
668 * tests/Makefile.am (TESTS): Add it.
669 Report from Johannes Nicolai.
670
671 * doc/automake.texi (Java): Mention dist_ and add an example.
672 * tests/java.test: Do actually compile java files and run distcheck.
673
6742004-12-08 Peter O'Gorman <peter@pogma.com>
675 Alexandre Duret-Lutz <adl@gnu.org>
676
677 * lib/Automake/FileUtils.pm (dir_has_case_matching_file,
678 reset_dir_cache): New functions.
679 * automake.in (handle_dist, require_file_internal): Use them, so
680 that CHANGELOG is not confused with ChangeLog on case-insensitive
681 case-preserving file systems.
682 * tests/hfs.test: New file.
683 * tests/Makefile.am (TESTS): Add hfs.test.
684
6852004-12-08 Paul Eggert <eggert@cs.ucla.edu>
686
687 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
688 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
689 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
690 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
691
6922004-12-05 Toshio Kuratomi <toshio@tiki-lounge.com>
693
694 * lib/py-compile: Add --destdir switch to py-compile that takes a
695 path argument that is not compiled into the file when byte compiling.
696 * lib/am/python.am: Use the new py-compile arguments to not include
697 DESTDIR in the byte compiled files.
698 * tests/python12.test: Test that DESTDIR won't be byte compiled into
699 python files.
700
7012004-12-05 Alexandre Duret-Lutz <adl@gnu.org>
702
703 * doc/automake.texi (Clean): Typo.
704
705 * doc/automake.texi: Use @acindex for Autoconf macros, and @vindex
706 for variables (@cvindex was previously used for both). Separate
707 these two indices in the output. Use @code, @file, and @command
708 in @cindex lines wherever appropriate so they render nicely.
709
7102004-12-05 Stepan Kasal <kasal@ucw.cz>
711
712 * doc/automake.texi (renamed objects, CVS): Typos.
713
7142004-12-05 Alexandre Duret-Lutz <adl@gnu.org>
715
716 * doc/automake.texi (Flag Variables Ordering): New section.
717 (User Variables, Program and Library Variables): @xref it.
718
7192004-11-24 Alexandre Duret-Lutz <adl@gnu.org>
720
721 * doc/automake.texi (Conditional Subdirectories): More comments
722 about non-distributed subdirectories.
723
7242004-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
725
726 * doc/automake.texi (Built sources example): Fix typo.
727
7282004-11-21 Alexandre Duret-Lutz <adl@gnu.org>
729
730 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Run programs with
731 /dev/null as input, so we do not hang on programs that read their
732 input without supporting --help and --version.
733 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise for scripts.
734 * tests/gnits2.test: Change scriptnok.sh to cat its input.
735 Report and fix from James Youngman.
736
7372004-11-10 Alexandre Duret-Lutz <adl@gnu.org>
738
739 * m4/python.m4 (AM_PATH_PYTHON): Fix the invocation of
740 AC_PATH_PROGS to correctly define PYTHON as `:' when no interpreter
741 is found (this worked correctly only when a minimal version was
742 passed to AM_PATH_PYTHON). Report from Stepan Kasal.
743 (_AM_PYTHON_INTERPRETER_LIST): Define using m4_define_default,
744 so we can easily override the list from the test suite.
745 * tests/python11.test: New file.
746 * tests/Makefile.am (TESTS): Add python11.test.
747
748 * doc/automake.texi (Libtool Modules): Make clearer that -module
749 should appear explicitly in _LDFLAGS.
750
7512004-11-01 Alexandre Duret-Lutz <adl@gnu.org>
752
753 * configure.ac, NEWS: Bump version to 1.9.3a.
754
755 * configure.ac, NEWS: Bump version to 1.9.3.
756
757 * lib/config.guess, lib/texinfo.tex: New upstream versions.
758
759 * doc/automake.texi (LIBOBJS): Spelling and grammar corrections
760 from Ralf Wildenhues.
761
7622004-10-31 Alexandre Duret-Lutz <adl@gnu.org>
763
764 * doc/automake.texi (LIBOBJS): Augment with an example setup.
765 (LTLIBOBJ): Rename as ...
766 (LTLIBOBJS): ... this. Link to LIBOBJS, and mention LTALLOCA.
767
7682004-10-25 Alexandre Duret-Lutz <adl@gnu.org>
769
770 * doc/automake.texi: Untabify, tabs in the examples are poorly
771 rendered.
772 * Makefile.am (maintainer-check): Grep tabs in the manual.
773
774 * tests/comment8.test: Use $MAKE, not make.
775
7762004-10-24 Alexandre Duret-Lutz <adl@gnu.org>
777
778 * tests/distcom3.test: Typo.
779
7802004-10-22 Alexandre Duret-Lutz <adl@gnu.org>
781
782 * doc/automake.texi (Libtool Convenience Libraries): Explain how
783 to force the linker selection.
784
785 * lib/install-sh: Fix the dirname emulation to ignore trailing
786 slashes, i.e., the direname of `a/b/' is `a', not `a/b/'. This
787 caused `install-sh a/b/' to fail.
788 * tests/instsh2.test: Augment.
789 Report from Пух
790альскОй ЮрОй АМЎреевОч.
791
7922004-10-21 Alexandre Duret-Lutz <adl@gnu.org>
793
794 * automake.in (get_object_extension): The extension to use is know
795 by the caller, and cannot be selected by looking only at the
796 target name. Simplify this function to simply conditionally
797 prepend $U to the given extension.
798 (handle_programs, handle_libraries, handle_ltlibraries): Hard-code
799 the extension to use. This way Automake won't mistake a program
800 named `foo.la' as a libtool library.
801 * tests/primary3.test: New file.
802 * tests/Makefile.am (TESTS): Add primary3.test.
803
8042004-10-12 Alexandre Duret-Lutz <adl@gnu.org>
805
806 * doc/automake.texi (Install): Link to node Extending for examples.
807 (Extending): More comments about install-data-hook vs
808 install-exec-hook, and link to Install.
809
810 * configure.ac: Export @am_AUTOCONF@.
811 * tests/defs.in (AUTOCONF): Define as @am_AUTOCONF@, not @AUTOCONF@,
812 so the test suite runs `autoconf' and not `missing --run autoconf'.
813 * tests/missing.test, tests/missing2.test: Arrange for missing
814 to be used in front of autoconf even if the user has exported
815 AUTOCONF. This fixes two spurious failures reported by
816 Mark D. Baushke.
817
818 * lib/compile: Handle output.obj in addition to output.o.
819 * tests/compile.test: Check for this.
820
8212004-10-11 Alexandre Duret-Lutz <adl@gnu.org>
822
823 * doc/automake.texi (Sources): Typo, reported by Karl Berry.
824
8252004-10-10 Kelley Cook <kcook@gcc.gnu.org> (tiny change)
826 Alexandre Duret-Lutz <adl@gnu.org>
827
828 * aclocal.in ($ac_defun_rx): Match AC_DEFUN_ONCE.
829 (trace_used_macros): Trace AC_DEFUN_ONCE.
830 * tests/aclocal5.test: Use AC_DEFUN_ONCE.
831
8322004-10-10 Stepan Kasal <kasal@ucw.cz> (tiny change)
833
834 * doc/automake.texi (Extending): Typo.
835
8362004-09-29 Alexandre Duret-Lutz <adl@gnu.org>
837
838 * tests/subobj9.test: Adjust regexes after previous patch.
839
8402004-09-28 Alexandre Duret-Lutz <adl@gnu.org>
841
842 * automake.in (handle_languages, define_compiler_variable): Output
843 Libtool's --tag= option before --mode=compile, because depcomp use
844 --mode=compile as end marker for libtool arguments.
845 (define_linker_variable): Likewise before --mode=link, for
846 uniformity.
847 * tests/pr307.test: Make sure dependency files are updated. That
848 was not the case because depcomp thought `--tag=CC' was the
849 compiler to get dependencies from.
850 Report from Пух
851альскОй ЮрОй АМЎреевОч.
852
8532004-09-25 Alexandre Duret-Lutz <adl@gnu.org>
854
855 * doc/automake.texi (Clean): Document -local targets.
856
8572004-09-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
858
859 * doc/automake.texi: Typos.
860
8612004-09-21 Alexandre Duret-Lutz <adl@gnu.org>
862
863 Typos and other English mistakes reported...
864 * doc/automake.texi (Timeline): ... by Jim and Gary.
865 * NEWS: ... by Richard Dawe.
866
867 * lib/Automake/VarDef.pm (append): Strip comments from augmented
868 variables.
869 * tests/comment8.test: New file.
870 * tests/Makefile.am (TESTS): Add comment8.test.
871 Report from Stepan Kasal.
872
8732004-09-20 Alexandre Duret-Lutz <adl@gnu.org>
874
875 * configure.ac, NEWS: Bump version to 1.9.2a.
876
8772004-09-19 Alexandre Duret-Lutz <adl@gnu.org>
878
879 * configure.ac, NEWS: Bump version to 1.9.2.
880
881 * tests/compile.test: Fix rm usage.
882
883 * INSTALL, lib/INSTALL, lib/config.sub, lib/config.guess,
884 lib/texinfo.tex: New upstream versions.
885
886 * doc/automake.texi (Timeline): New node. Thanks to Karl and Tom
887 for their comments on a preliminary version of this, Akim for
888 digging out some old mails, and Jason Molenda for sending the note
889 about Automake in Alias to Tom.
890 (Releases): Rename `ac' to `acl', suggested by Akim.
891
8922004-09-15 Alexandre Duret-Lutz <adl@gnu.org>
893
894 * doc/automake.texi (Releases): New node.
895
896 * doc/automake.texi (Dependencies): Link to Dependency Tracking
897 Evolution.
898 (Dependency Tracking Evolution): Link to GNU make, Sources (for
899 BUILT_SOURCES), and update the paragraph about the "plan" to
900 inline dependency tracking with gcc3.
901
902 * doc/automake.texi (History): New node.
903 (Dependency Tracking Evolution): New node, filled with a Texinfo
904 version of Tom Tromey's ``Dependency Tracking in Automake''
905 document, initially published on the Automake homepage on
906 2001-06-29.
907
9082004-09-10 Alexandre Duret-Lutz <adl@gnu.org>
909
910 * lib/compile, lib/elisp-comp, lib/install-sh, lib/ylwrap: Use $ret
911 instead of $status which is read-only in Zsh.
912
9132004-09-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
914 Alexandre Duret-Lutz <adl@gnu.org>
915
916 * lib/compile: Preserve spaces in arguments (for example
917 -DPACKAGE_STRING="foo 0.1").
918 * tests/compile.test: New file.
919 * tests/Makefile.am (TESTS): Add compile.test.
920
9212004-09-07 Alexandre Duret-Lutz <adl@gnu.org>
922
923 * automake.in (handle_clean): Sort rm commands output for
924 mostlyclean-generic, clean-generic, distclean-generic, and
925 maintainer-clean-generic.
926 Report from Bob Friesenhahn.
927
9282004-09-07 Andreas Schwab <schwab@suse.de>
929
930 * automake.in ($PATH_PATTERN): Add `+'.
931
9322004-09-07 Alexandre Duret-Lutz <adl@gnu.org>
933
934 * tests/missing3.test: New file (check for Paolo's change below).
935 * tests/Makefile.am (TESTS): Add missing3.test.
936
9372004-09-07 Paolo Bonzini <bonzini@gnu.org>
938
939 * missing: Handle all command line options together. Add a
940 separate case statement to detect failed runs, and fail
941 silently there if --help or --version is passed to the program.
942
9432004-08-12 Alexandre Duret-Lutz <adl@gnu.org>
944
945 * configure.ac, NEWS: Bump version to 1.9.1a.
946
9472004-08-11 Alexandre Duret-Lutz <adl@gnu.org>
948
949 * configure.ac, NEWS: Bump version to 1.9.1.
950
951 * lib/config.guess, lib/texinfo.tex: New upstream versions.
952
953 For PR automake/433:
954 * configure.ac (pkgvdatadir): Define using "$PACKAGE", not "automake".
955
956 Fix PR automake/432:
957 * lib/am/yacc.am [!%?MORE-THAN-ONE%]: Replace `#line's in y.tab.h too.
958 * tests/yacc7.test: Check this.
959
9602004-08-03 Alexandre Duret-Lutz <adl@gnu.org>
961
962 * automake.in (yacc_lex_finish_helper): Fix definition of YLWRAP
963 when ylwrap is installed in a default aux dir found in a parent
964 package.
965 * tests/subpkg.test: Augment to check that YLWRAP is installed
966 properly.
967 * doc/automake.texi (Yacc and Lex): ylwrap is not sought is the
968 current directory.
969 Report from Norman Gray.
970
9712004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
972
973 * doc/automake.texi (Optional): Update documentation for
974 AC_CANONICAL_BUILD, AC_CANONICAL_HOST, and AC_CANONICAL_TARGET.
975
976 * automake.in (AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM): Replace by ...
977 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET): ... these.
978 (scan_autoconf_traces): Scan for the latter three macros instead of
979 the former two.
980 (make_paragraphs): Adjust definitions of %BUILD%, %HOST%, and %TARGET%.
981 * tests/hosts.test: New file.
982 * tests/Makefile.am (TESTS): Add hosts.test.
983 Report and test case from Norman Gray.
984
9852004-08-01 Alexandre Duret-Lutz <adl@gnu.org>
986
987 * aclocal.in (scan_file): Update "#Extending%20aclocal" URL, makeinfo
988 4.7 now outputs "#Extending-aclocal".
989
9902004-07-28 Alexandre Duret-Lutz <adl@gnu.org>
991
992 * configure.ac, NEWS: Bump version to 1.9.0a.
993
994 * configure.ac, NEWS: Bump version to 1.9.
995
996 * automake.in (generate_makefile): Update misleading comment about
997 libtool scripts.
998
999 * lib/texinfo.tex: New upstream version.
1000
10012004-07-25 Alexandre Duret-Lutz <adl@gnu.org>
1002
1003 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Remove `.' from the mkdir_p
1004 definition, it causes `make install' to fails for user with no
1005 right to write in the source-tree.
1006 * automake.in (handle_configure): Do not use mkdir_p in the
1007 definition for $(mkdir_p).
1008 Report from Harlan Stenn.
1009
1010 * lib/am/texi-vers.am (%STAMPVTI%): Typo in comment.
1011
10122004-07-22 Alexandre Duret-Lutz <adl@gnu.org>
1013
1014 * doc/automake.texi (Libtool Modules): Typo in example.
1015 Report from Ulrich Eckhardt.
1016
10172004-07-21 Andreas Schwab <schwab@suse.de> (tiny change)
1018
1019 * automake.in (check_directory): Quote $dir in regexp.
1020
10212004-07-17 Alexandre Duret-Lutz <adl@gnu.org>
1022
1023 * configure.ac, NEWS: Bump version to 1.8e.
1024
1025 * configure.ac, NEWS: Bump version to 1.8d.
1026
1027 * lib/config-ml.in, lib/config.sub, lib/config.guess, lib/texinfo.tex:
1028 New upstream versions.
1029
1030 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
1031 ?!GENERIC?%DEST_PREFIX%.html): Use $(X), not ${X}.
1032
1033 * tests/installdir.test: installdirs-local should appear three times,
1034 since the change from 2004-07-11 will make it PHONY.
1035
1036 * lib/am/distdir.am (distdir): Always use $(DIST_SUBDIRS) now
1037 that it is always defined. This is less confusing for users
1038 reading the generated Makefiles.
1039 * automake.in (handle_dist): Do not substitute DIST_SUBDIR_NAME.
1040
1041 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
1042 ?!GENERIC?%DEST_PREFIX%.html): Output .htp, and then rename to .html
1043 on success. In case the target is a directory, this ensures its
1044 time stamp is updated and the no files are left over inside.
1045 * tests/txinfo21.test: Augment to test missing timestamp update
1046 reported by Akim Demaille.
1047
1048 * doc/automake.texi (Top level): Rename as ...
1049 (Directories): ... this, and split into ...
1050 (Subdirectories, Conditional Subdirectories): ... these.
1051 (Subdirectories): Illustrate the use of `.'.
1052 (Conditional Subdirectories): Describe SUBDIRS and DIST_SUBDIRS
1053 before the example. Append a discussion about non-configured
1054 conditional directories.
1055 (Alternative): Move as a child of Directories.
1056 (Subpackages): New section.
1057 (Dist): Adjust links to Subdirectories, a Subpackages.
1058 (Third-Party Makefiles): Link to Conditional Subdirectories.
1059
10602004-07-14 Alexandre Duret-Lutz <adl@gnu.org>
1061
1062 * automake.in (target_hook): Accept %transform as last argument.
1063 (handle_single_transform): Pass %transform to target_hook.
1064 (handle_source_transform): Define DIST_SOURCE to tell whether
1065 a the source of a file is distributed or not.
1066 (lang_yacc_target_hook): Check DIST_SOURCE, and do not distribute
1067 the generated header if the .y source is not distributed.
1068 * tests/pr204.test: Use AM_YFLAGS = -d and make sure generated
1069 headers are not distributed.
1070
10712004-07-12 Simon Josefsson <jas@extundo.com> (tiny change)
1072
1073 * doc/automake.texi (Options): Improve ustar file name length
1074 discussion. Reference tar manual.
1075
10762004-07-12 Ray Simard <rhs.techlists@sylvan-glade.com> (tiny change)
1077
1078 * lib/Automake/Variable.pm (define): Fix precondition check.
1079
10802004-07-11 Alexandre Duret-Lutz <adl@gnu.org>
1081
1082 For PR automake/428:
1083 Support for conditionally defined -hook and -local rules.
1084 * automake.in (user_phony_rule): New function.
1085 (handle_dist, handle_install, handle_all, do_check_merge_target,
1086 handle_factored_dependencies): Use user_phony_rule before
1087 adding a user -hook or -local rule as a dependency to ensure
1088 it is always defined an phony.
1089 * tests/cond37.test, tests/condhook.test: New files.
1090 * tests/Makefile.am (TESTS): Add them.
1091 Report from Simon Josefsson and Nik A. Melchior.
1092
10932004-07-05 Paul Eggert <eggert@cs.ucla.edu>
1094
1095 * doc/automake.texi (Install): Warn that you should create
1096 /tmp/staging before installing into it, to avoid security problems.
1097 * lib/install-sh: Remove support for -b= and -t= options; this
1098 has been moribund for a decade.
1099 Add support for -t and -T options (new in coreutils install).
1100 -c option now does nothing (the default is to copy), for
1101 compatibility with BSD and coreutils 'install'.
1102 Fix usage message; it referred to nonexistent variables.
1103 Don't assume 'lasterr' is unset in environment.
1104 * tests/instsh2.test: Don't assume that install-sh without -c
1105 moves (it now copies). Add tests for new -t and -T options.
1106
11072004-06-16 Alexandre Duret-Lutz <adl@gnu.org>
1108
1109 For Debian Bug#254372:
1110 * doc/automake.texi (Invoking aclocal): Rewrite the paragraph
1111 explaining m4_include is used for relative files.
1112
11132004-06-10 Alexandre Duret-Lutz <adl@gnu.org>
1114
1115 For Debian Bug #251820:
1116 * aclocal.in (scan_file): Keep track of the location where each
1117 file is included, and display it when reporting a missing file.
1118 Pass this location to scan_file as a second argument.
1119 (scan_m4_files): Adjust calls to scan_file.
1120 * tests/acloca14.test: Add a test for this diagnostic.
1121
11222004-06-07 Alexandre Duret-Lutz <adl@gnu.org>
1123
1124 * m4/tar.m4 (_AM_PROG_TAR): Split the definition of $_am_tools
1125 so it works with Solaris and Tru64 /bin/sh.
1126 Report from Nicolas Joly.
1127
11282004-06-06 Alexandre Duret-Lutz <adl@gnu.org>
1129
1130 * m4/tar.m4 (_AM_PROG_TAR): Introduce $_am_tools to work around a
1131 bug in NetBSD /bin/sh.
1132 Report from Nicolas Joly.
1133
11342004-06-03 Alexandre Duret-Lutz <adl@gnu.org>
1135
1136 * tests/defs.in (required=icc): Use `-V -help' instead of
1137 `-V -dryrun'. icc 8.0 fails on the latter.
1138 * tests/depcomp5.test: Require depmode=icc for icc 7.x, and
1139 depmod=gcc otherwise.
1140 Report from Ralf Wildenhues.
1141
1142 * lib/am/clean.am (distclean-generic): Do no
1143 `rm -f $(CONFIG_CLEAN_FILES)' if `$(CONFIG_CLEAN_FILES)' is empty.
1144 Report from Nicolas Joly.
1145
11462004-05-31 Alexandre Duret-Lutz <adl@gnu.org>
1147
1148 * NEWS: Make clearer that we do not output partial Makefile.ins on
1149 error.
1150 Suggested by Akim Demaille.
1151
1152 * lib/depcomp (tru64) [libtool]: Use $dir$base.o.d instead
1153 of $dir.libs/$base.o.d. Libtool 1.5 causes both to be output,
1154 and we will clean the second automatically during distclean.
1155 Using the latter and leaving the former as we did before cause
1156 "files left in build directory" failures during distcheck.
1157 Suggested by Nicolas Joly.
1158
1159 * doc/automake.texi (Built sources example): Explain what
1160 nodist_foo_SOURCES is (not) useful to, and use it in all the
1161 examples.
1162 (Tags): Mention nodist_noinst_HEADERS and nodist_prog_SOURCES.
1163 Suggested by Akim Demaille.
1164
11652004-05-23 Alexandre Duret-Lutz <adl@gnu.org>
1166
1167 * configure.ac, NEWS: Bump version to 1.8c.
1168
1169 * configure.ac, NEWS: Bump version to 1.8b.
1170
1171 * m4/tar.m4 (_AM_PROG_TAR) <cpio>: Specify -o and -i option first,
1172 by POSIX; and use option -d in am_untar.
1173
1174 * tests/defs.in (PATH): Export it.
1175
1176 * lib/am/multilib.am: Add $(MAKE) comments to multido and
1177 multiclean lines, to enable parallel make. Based on a patch
1178 by Alexandre Oliva applied to newlib on 2003-10-15.
1179
11802004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
1181
1182 * automake.in (scan_autoconf_traces): Trace for LT_SUPPORTED_TAG
1183 instead of AC_LIBTOOL_TAGS, since that how CVS Libtool has been
1184 changed.
1185 * tests/libtool3.test: Do not grep for --tag=CC, since CVS
1186 Libtool (unlike Libtool 1.5) does not has any CC tag.
1187
1188 * tests/tar2.test: Skip the test if no pax archiver were found.
1189
1190 * NEWS: Sync with branch-1-8, and reorganize current entry.
1191
1192 * automake.in (handle_libraries): Make the diagnostic about
1193 non standard libraries a warning in foreign packages. This
1194 is already the case in handle_ltlibraries.
1195 (handle_libraries, handle_ltlibraries): Suggest a standard
1196 library name in the diagnostic, to help newcomers.
1197 * tests/stdlib.test, tests/stdlib2.test: Check for these
1198 suggestions.
1199
1200 Check directory names for unportable names. Shaking the code
1201 to check this also led to the removal of the no-"/"-in-SUBDIRS
1202 restriction, and a fix to _do_recursive_traversal.
1203
1204 * automake.in (check_directory): New function extracted from
1205 handle_subdirs, and augmented to check for reserved W32/DOS name.
1206 (check_directories_in_var): New function.
1207 (handle_subdirs): Call check_directories_in_var. Doing so also
1208 suppress the restriction that SUBDIRS should not contain slashes.
1209 (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Call check_directory
1210 to ensure the argument exists and is safe.
1211 * doc/automake.texi (Top level): Do not say that src/subdir
1212 cannot be put in SUBDIRS.
1213 (Dist): Mention that distdir and top_distdir can be absolute.
1214 * lib/Automake/Variable.pm (_do_recursive_traversal) Support
1215 undefined $fun_collect, and fix two bugs introduced with
1216 skip_ac_subst on 2004-03-07.
1217 * lib/am/distdir.am (distdir): Use absolute distdir and
1218 top_distdir when recursing, because we can no longer prepend only
1219 `..' in case of SUBDIRS with `/'.
1220 * tests/auxdir4.test, tests/subdir9.test: New files.
1221 * tests/Makefile.am (TESTS): Add auxdir4.test.
1222 * tests/cond2.test, tests/subdir7.test: Augment to check location
1223 in diagnostics.
1224
12252004-05-21 Eric Blake <ebb9@byu.net> (tiny changes)
1226
1227 * tests/txinfo22.test (AC_CONFIG_AUX_DIR): Use aux1, not aux, for
1228 cygwin compatibility.
1229 * tests/yacc6.test (AC_CONFIG_AUX_DIR): Likewise.
1230
1231 * tests/conflnk3.test: Isolate checking for working `test -e' into
1232 a subshell, to skip this test on broken /bin/sh of solaris.
1233
12342004-05-17 Alexandre Duret-Lutz <adl@gnu.org>
1235
1236 * m4/cond.m4 (AM_CONDITIONAL): Double-quote diagnostic.
1237 * tests/condd.test: Define a macro with the same name as a
1238 conditional.
1239 * tests/pr220.test: Modernize, and make sure the diagnostics
1240 contains the macro name.
1241 Report from Volker Boerchers.
1242
12432004-05-16 Alexandre Duret-Lutz <adl@gnu.org>
1244
1245 * lib/texinfo.tex: New upstream version.
1246
12472004-05-15 Alexandre Duret-Lutz <adl@gnu.org>
1248
1249 * automake.in (handle_dist): Always define DIST_SUBDIRS, even when
1250 the no-dist or cygnus options are used.
1251 * tests/clean2.test: New file.
1252 * tests/Makefile.am (TESTS): Add clean2.test.
1253 Report from Daniel Jacobowitz.
1254
1255 * aclocal.in (add_macro): Do not error out on undefined required
1256 macros. We are not sure they are really used, and Autoconf
1257 already diagnoses them.
1258 (scan_configure_dep): Diagnose missing AM_ macros as warnings rather
1259 than errors.
1260 * tests/aclocal3.test, tests/ammissing.test: Adjust to expect a
1261 warning instead of an error.
1262 * tests/aclocal8.test: AC_REQUIRE an undefined macro in an unused
1263 macro, and ensure aclocal works anyway.
1264 * tests/acloca17.test: New file.
1265 * tests/error.test: Delete, superseded by tests/acloca17.test.
1266 * tests/Makefile.am (TESTS): Add acloca17.test and remove error.test.
1267 Report from Jim Meyering.
1268
1269 * lib/am/texibuild.am (?!GENERIC_INFO?%DEST_INFO_PREFIX%%DEST_SUFFIX%):
1270 Fold a few lines to reduce the output by 5 lines.
1271 Suggested by Karl Berry.
1272
1273 * automake.in (parse_arguments, MAIN): Give more precise
1274 diagnostics when no input file is found.
1275 * tests/output5.test: Adjust.
1276 Suggested by Jens Petersen.
1277
12782004-05-14 Alexandre Duret-Lutz <adl@gnu.org>
1279
1280 * lib/am/libs.am (AR, ARFLAGS): Move these definition ...
1281 * automake.in (handle_libraries): ... here, so that they are
1282 output even for EXTRA_LIBRARIES.
1283 * tests/ar2.test: New file.
1284 * tests/Makefile.am (TESTS): Add it.
1285 Report from Kevin Ryde.
1286
12872004-05-13 Alexandre Duret-Lutz <adl@gnu.org>
1288
1289 * automake.in (generate_makefile): Do not output Makefile.in on
1290 errors.
1291 * tests/werror2.test: New file.
1292 * tests/Makefile.am (TESTS): Add werror2.test.
1293 * tests/substtarg.test, tests/cond36.test, tests/backsl4.test:
1294 Adjust to run automake with -Wno-error when the output is expected
1295 in spite of the error.
1296 Report from Harlan Stenn.
1297
1298 * doc/automake.texi (Program and Library Variables): Remove
1299 doubled word in footnote.
1300
1301 * automake.in (handle_source_transform): Also check for a
1302 $(srcdir)/old_source rule when computing the default source name.
1303 Propagate this $(srcdir) prefix in Automake variables.
1304 * tests/ltlibsrc.test (noinst_LTLIBRARIES): Explicitly refer to
1305 $(srcdir)/zoo_d_old2_la.c. This fixes another failure with BSD Make.
1306
13072004-05-13 Paul Eggert <eggert@cs.ucla.edu>
1308
1309 * Makefile.am (fetch): Work even with FreeBSD "make", which
1310 uses sh -e and thus errors-out if a simple-command fails.
1311 * lib/am/check.am (check-TESTS): Likewise.
1312 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Likewise.
1313 * lib/am/tags.am (TAGS): Likewise.
1314
13152004-05-13 Alexandre Duret-Lutz <adl@gnu.org>
1316
1317 * tests/lex3.test, tests/yacc6.test: Require GNU Make.
1318 Fixing these for BSD Make requires invasive changes (lexers and
1319 parsers must be built into $srcdir, and--most annoyingly--all
1320 references to parse.h must be changed to $(srcdir)/parse.h).
1321 Report from Mark D. Baushke.
1322
13232004-05-10 Alexandre Duret-Lutz <adl@gnu.org>
1324
1325 * tests/defs.in (GNUmake): Grep for GNU to parry FreeBSD make.
1326 Report from Mark D. Baushke.
1327
13282004-04-25 Alexandre Duret-Lutz <adl@gnu.org>
1329
1330 * lib/texinfo.tex: New upstream version.
1331
1332 * lib/depcomp (tru64): Clarify comments. Thanks to Nicolas Joly.
1333
1334 * doc/automake.texi (Headers): Revamp.
1335
13362004-04-24 Alexandre Duret-Lutz <adl@gnu.org>
1337
1338 * automake.in (check_typos): Clarify the diagnostic.
1339 * tests/warnopts.test: Adjust.
1340
1341 * lib/Automake/VarDef.pm (append): Turn VAR_ASIS variables into
1342 VAR_PRETTY variables to work around make implementation with
1343 limited line length, such as OSF1/Tru64 make.
1344 * tests/longline.test: New file.
1345 * tests/Makefile.am (TESTS): Add it.
1346 * tests/pluseq3.test, tests/pluseq8.test: Adjust.
1347 Report from Simon Josefsson.
1348
1349 * lib/am/tags.am (TAGS): Pass `.' to Exuberant Ctags if
1350 --etags-include is used but no other files are supplied, so it
1351 creates the TAGS file anyway.
1352 Report from Akim Demaille.
1353
1354 * lib/depcomp (tru64) [libtool]: Nicolas Joly reported on
1355 2002-06-12 that dependencies were output in $dir.libs/$base.lo.d.
1356 Teun Burgers reported on 2004-03-30 they were in
1357 $dir.libs/$base.o.d. Try both.
1358
13592004-04-23 Alexandre Duret-Lutz <adl@gnu.org>
1360
1361 For PR automake/414:
1362 Introduce option filename-length-max=99.
1363 * doc/automake.texi (Options): Document it.
1364 * configure.ac (AM_INIT_AUTOMAKE): Use it.
1365 * lib/Automake/Options.pm (_process_option_list): Recognize it.
1366 * automake.in (handle_dist): Set FILENAME_FILTER.
1367 * lib/am/distdir.am (distdir) [FILENAME_FILTER]: Diagnose long
1368 filenames.
1369 * tests/fn99.test: New file.
1370 * tests/Makefile.am (TESTS): Add fn99.test.
1371
13722004-04-20 Alexandre Duret-Lutz <adl@gnu.org>
1373
1374 For PR automake/414:
1375 Introduce options tar-v7, tar-ustar, and tar-pax to select
1376 tar format.
1377 * doc/automake.texi (Options): Document them.
1378 * lib/Automake/Options.pm (_process_option_list): Process
1379 these new options.
1380 * lib/am/distdir.am (dist-gzip, dist-bzip2, dist-tarZ, dist,
1381 distcheck): Adjust to use am__tar and am__untar.
1382 * m4/tar.m4: New file.
1383 * m4/Makefile.am (dist_m4data_DATA): Add tar.m4.
1384 * m4/init.m4 (AM_INIT_AUTOMAKE): Support the new options
1385 and call _AM_PROG_TAR.
1386 * tests/tar.test, tests/tar2.test, tests/tar3.test: New files.
1387 * tests/Makefile.am (TESTS): Add them.
1388
13892004-04-18 Alexandre Duret-Lutz <adl@gnu.org>
1390
1391 * lib/am/distdir.am (distcheck): Typo in shar decompression.
1392
1393 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1394 versions.
1395
13962004-04-17 Alexandre Duret-Lutz <adl@gnu.org>
1397
1398 Fix PR automake/49:
1399 * automake.in (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Diagnose
1400 calls to AC_CONFIG_AUX_DIR followings calls to AM_INIT_AUTOMAKE.
1401 * tests/auxdir.test, tests/auxdir2.test, tests/lex5.test,
1402 tests/mdate3.test, tests/multlib.test, tests/reqd2.test,
1403 tests/symlink.test, tests/txinfo8.test, tests/txinfo22.test,
1404 tests/yacc6.test, tests/yacc8.test: Fix to call AC_CONFIG_AUX_DIR
1405 before AM_INIT_AUTOMAKE.
1406 * tests/auxdir3.test: New file (exercise this diagnostic).
1407 * tests/Makefile.am (TESTS): Add auxdir3.test.
1408
14092004-04-15 Alexandre Duret-Lutz <adl@gnu.org>
1410
1411 * aclocal.in (%map_traced_defs): New variable.
1412 (scan_m4_files): Normalize filenames.
1413 (trace_used_macros): Trace for AC_DEFUN and AU_DEFUN, also
1414 ask for the filename and the first argument. Populate
1415 %map_traced_defs.
1416 (write_aclocal): Use $map_traced_defs to filter out unused
1417 definitions.
1418 * tests/acloca15.test: New file.
1419 * tests/Makefile.am (TESTS): Add acloca15.test.
1420
14212004-04-12 Alexandre Duret-Lutz <adl@gnu.org>
1422
1423 * automake.in ($automake_needs_to_reprocess_all_files): Remove.
1424 ($automake_will_process_aux_dir): New variable.
1425 (scan_autoconf_traces): Reorder @input_files so that the Makefile
1426 that distributes aux files is processed last. This way we do not
1427 have to process all files twice using
1428 $automake_will_process_aux_dir.
1429 (require_file_internal): Suggest a full run of automake when
1430 appropriate.
1431 (MAIN): Remove the loop on $automake_needs_to_reprocess_all_files.
1432 * tests/distcom7.test: New file.
1433 * tests/reqd2.test: Do not check for the "running more than two"
1434 message.
1435 * tests/Makefile.am (TESTS): Add distcom7.test.
1436
1437 * automake.in (@config_aux_path, $config_aux_dir): Rename as ...
1438 ($config_aux_dir, $am_config_aux_dir): ... these.
1439 ($config_aux_dir_set_in_configure_in): Rename as ...
1440 ($config_aux_dir_set_in_configure_ac): ... this.
1441 (%require_file_found): Rename as ...
1442 (%required_file_not_found): ... this.
1443 (handle_languages, handle_texinfo_helper, handle_dist,
1444 handle_configure, handle_emacs_lisp, handle_python,
1445 scan_autoconf_traces, yacc_lex_finish_helper): Adjust to new names.
1446 (scan_autoconf_traces): Call locate_aux_dir.
1447 (locate_aux_dir): New function.
1448 (@require_file_paths): Remove, not used anymore.
1449 (require_file_internal): Look files in only one directory (instead
1450 of @require_file_internal) passed in argument.
1451 (require_file, require_conf_file): Pass the destination directory
1452 to require_file_internal.
1453
1454 Fix for PR automake/416:
1455 * m4/depend.m4 (_AM_DEPENDENCIES): Catch `not supported' ICC 8.0
1456 remarks.
1457 From Peter Seiderer.
1458
14592004-04-10 Andreas Buening <andreas.buening@nexgo.de>
1460
1461 * aclocal.in, automake.in, configure.ac, Makefile.am,
1462 tests/aclocal.in, tests/automake.in, tests/defs.in:
1463 Use PATH_SEPARATOR from autoconf instead of ':'.
1464
14652004-04-09 Alexandre Duret-Lutz <adl@gnu.org>
1466
1467 * automake.in (handle_lib_objects): Pass the condition of
1468 the variable definition to handle_LIBOBJS and handle_ALLOCA,
1469 not the aggregated conditions.
1470 * tests/Makefile.am (TESTS): Add libobj14.test.
1471 * tests/libobj14.test: New file.
1472 Report from Bill Davidson.
1473
14742004-04-02 Mike Nolta <mike@nolta.net>
1475
1476 Better support for Fortran 9x.
1477 * automake.in: Add "fc" and "ppfc" languages for Fortran 9x.
1478 * doc/automake.texi (Fortran 9x Support): New section.
1479 * lib/Automake/Variable.pm (%_ac_macro_for_var): Add AC_PROG_FC.
1480 * tests/compile_f90_c_cxx.test: New file.
1481 * tests/ext.test: Add AC_PROG_FC.
1482 * tests/f90only.test: New file.
1483 * tests/link_f90_only.test: New file.
1484 * tests/Makefile.am (TESTS): Add new tests.
1485
14862004-04-01 Paul Eggert <eggert@twinsun.com>
1487
1488 * lib/install-sh: If "mv -f" works, use it, and fall back to
1489 the old "test -f" + "rm -f" + "mv" method only if "mv -f" does
1490 not work. This improves performance in the usual case where
1491 "mv -f" works. It also lets us install the "mv" command
1492 without worrying about a small window where "mv" does not
1493 exist (this problem was reported by Raul Nunez de Arenas
1494 Coronado).
1495
14962004-03-26 Alexandre Duret-Lutz <adl@gnu.org>
1497
1498 * m4/python.m4 (AM_PATH_PYTHON): Make sure am_display_PYTHON is
1499 set when $PYTHON has been set by the user.
1500 From Esben Haabendal Soerensen.
1501
15022004-03-22 Alexandre Duret-Lutz <adl@gnu.org>
1503
1504 * doc/automake.texi (Default _SOURCES): Typo.
1505 (true): Correct _'s placement in example.
1506 Report from Stepan Kasal.
1507
15082004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
1509
1510 Overriding JAVAROOT is legitimate, do not warn about it.
1511 * lib/Automake/Variable.pm (%_silent_variable_override): Add JAVAROOT.
1512 * tests/java2.test: Run automake without -Wno-override.
1513 Report from Simon Josefsson.
1514
15152004-03-14 Alexandre Duret-Lutz <adl@gnu.org>
1516
1517 * automake.in (handle_texinfo_helper): Typos in comment.
1518
15192004-03-07 Alexandre Duret-Lutz <adl@gnu.org>
1520
1521 * lib/config.guess: New upstream version.
1522
1523 Fix for PR automake/285:
1524 * automake.in (handle_ltlibraries): Keep track of installation
1525 directories for each condition, then define a $(am_TARGET_rpath)
1526 variable to hold the -rpath flags of Libtool libraries conditionally
1527 installed in different directories.
1528 * lib/Automake/DisjConditions.pm (merge): New function.
1529 * tests/libtool6.test: Adjust.
1530 * tests/libtool8.test: New file.
1531 * tests/Makefile.am (TEST): Add libtool8.test.
1532
1533 * lib/Automake/Variable.pm (traverse_recursively,
1534 _do_recursive_traversal): Honor the skip_ac_subst option.
1535 * automake.in (handle_dist): Use skip_ac_subst.
1536
15372004-02-29 Alexandre Duret-Lutz <adl@gnu.org>
1538
1539 * Makefile.am (cvs-release): Upload to ~ftp/pub/automake, not
1540 ~ftp/automake.
1541 * lib/gnupload (Example): Update example.
1542
1543 * lib/config-ml.in, lib/config.guess, lib/config.sub,
1544 lib/texinfo.tex: New upstream versions.
1545
1546 * m4/depend.m4 (_AM_DEPENDENCIES): Use `touch' rather than `: >'
1547 to create numbered dependencies. This fixes a portability issue
1548 when CONFIG_SHELL is forced to /bin/sh on Solaris 8.
1549 Reported by Mark Phillips.
1550
1551 * automake.in (lang_yacc_target_hook): Use Automake::Rule::define
1552 so that rules for the same headers are not output twice.
1553 * lib/Automake/Variable.pm (value_as_list_recursive): Do not
1554 call `return' inside `map'.
1555 * tests/cond30.test: Make sure `a.c' and `b.c' both appear
1556 in the Makefile.in.
1557 * tests/cond35.test, tests/cond36.test: New files.
1558 * tests/Makefile.am (TESTS): Add cond35.test and cond36.test.
1559 Report from Roman Fietze.
1560
1561 Fix for PR/413:
1562 * lib/am/distdir.am (distcheck): Create $dc_destdir with `umask
1563 077 && mkdir' instead of `$(mkdir_p)'. This prevents possible
1564 symlink attacks reported by Stefan Nordhausen.
1565
15662004-02-16 Alexandre Duret-Lutz <adl@gnu.org>
1567
1568 * doc/automake.texi (Multiple Outputs): More text, based on
1569 comments from Eric Siegerman, Tim Van Holder, and Oren Ben-Kiki.
1570
15712004-02-15 Alexandre Duret-Lutz <adl@gnu.org>
1572
1573 * m4/mkdirp.m4: Use `mkdir -p' only with GNU mkdir, because
1574 Solaris 8's mkdir is not thread-safe.
1575 * lib/mkinstalldirs: Likewise.
1576 * lib/install-sh: Abort when mkdir fails to create a directory.
1577 Report from Nathanael Nerode.
1578
15792004-02-07 Alexandre Duret-Lutz <adl@gnu.org>
1580
1581 * aclocal.in (rel2abs): New function.
1582 (scan_configure_dep): Use rel2abs instead of File::Spec->rel2abs,
1583 the later does was introduced in Perl 5.6 so using it breaks with
1584 Perl 5.005.
1585 Report from Werner John.
1586
15872004-02-03 Alexandre Duret-Lutz <adl@gnu.org>
1588
1589 * doc/automake.texi (Future of aclocal): Make clearer that
1590 it's ok to install macros into /usr/share/aclocal/.
1591
15922004-02-01 Alexandre Duret-Lutz <adl@gnu.org>
1593
1594 * tests/lisp.test: Delete (pointless).
1595 * tests/Makefile.am (TESTS): Remove lisp.test.
1596
1597 * lib/Automake/Variable.pm (transform_variable_recursively):
1598 Define rewritten variables in all conditions not *covered* by user
1599 definitions, not simply in conditions without a previous
1600 definition.
1601 * tests/cond34.test: New file.
1602 * tests/Makefile.am (TESTS): Add cond34.test.
1603 Report from Elena A. Vengerova
1604
1605 * doc/automake.texi (Multiple Outputs): Typo.
1606
1607 * doc/automake.texi (Emacs Lisp): Typos.
1608
1609 Support for conditional _LISP.
1610 * automake.in (handle_emacs_lisp): Define $(ELCFILES) from LISP, not
1611 from $(am__ELCFILES).
1612 * lib/am/lisp.am (elc-stamp): Use $(LISP) instead of $(am__ELFILES).
1613 * tests/lisp6.test: New file.
1614 * tests/Makefile.am (TESTS): Add it.
1615
1616 * automake.in (handle_emacs_lisp): Define $(ELCFILES) as
1617 $(am__ELCFILES), and always push it on @all. Do not mention
1618 elc-stamp.
1619 * lib/am/lisp.am (.el.elc): Rewrite as ...
1620 ($(am__ELCFILES)): ... this, and depend on elc-stamp.
1621 (elc-stamp): Make sure elc-stamp is older that all .elc files, as
1622 explained in the manual entry below.
1623
1624 * doc/automake.texi (Multiple Outputs): New node.
1625
16262004-01-31 Alexandre Duret-Lutz <adl@gnu.org>
1627
1628 * m4/regex.m4: Do not AC_SUBST(LIBOBJS), and quote most arguments.
1629 * tests/regex.test: New file.
1630 * tests/Makefile.am (TESTS): Add regex.test.
1631
16322004-01-28 Alexandre Duret-Lutz <adl@gnu.org>
1633
1634 * Makefile.am (maintainer-check): Check for unquoted $(DESTDIR) uses.
1635 * lib/am/data.am, lib/am/distdir.am, lib/am/java.am, lib/am/libs.am,
1636 lib/am/lisp.am, lib/am/ltlib.am, lib/am/mans.am, lib/am/progs.am,
1637 lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Quote
1638 installation paths in install, uninstall, and installcheck rules,
1639 as well as in am__installdirs variables. This is for the sake
1640 of paths containing spaces.
1641 * lib/am/install.am (installdirs-am, installdirs): Do not try
1642 to create "" directories.
1643 * test/instspc.test: New file.
1644 * test/Makefile.am (TESTS): Add instspc.test.
1645 Report from James Amundson.
1646
1647 * doc/automake.texi (Not Enough, Third-Party Makefiles): New nodes.
1648 (Extending): Make it a subsection of Not Enough.
1649
1650 * lib/gnupload (GPG): Use an absolute path. Suggestion from Gary
1651 V. Vaughan.
1652 (passphrase): Unset it this variable before using it, in case it
1653 was exported. Report from Scott James Remnant.
1654
16552004-01-25 Alexandre Duret-Lutz <adl@gnu.org>
1656
1657 * lib/gnupload (usage): Fix example.
1658 * Makefile.am (cvs-release): Fix call to gnupload.
1659 From Jim Meyering.
1660
16612004-01-24 Alexandre Duret-Lutz <adl@gnu.org>
1662
1663 * lib/gnupload: New script.
1664 * lib/Makefile.am (EXTRA_DIST): Distribute gnupload.
1665 * Makefile.am (cvs-release): New target.
1666
16672004-01-23 Alexandre Duret-Lutz <adl@gnu.org>
1668
1669 * lib/am/python.am (uninstall-%DIR%PYTHON): Remove extra `;'s.
1670 Fix python10.test.
1671
1672 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use `s/xx//p'
1673 instead of `/xx/ s///p'; the latter fails when GNU sed is run with
1674 POSIXLY_CORRECT. Also strip superfluous -e.
1675 Report from Miloslav Trmac.
1676
16772004-01-22 Alexandre Duret-Lutz <adl@gnu.org>
1678
1679 * tests/lex5.test: Sleep before calling AUTOMAKE the second time,
1680 this fixes a spurious failure reported by Andreas Schwab. Also
1681 make sure ylwrap is not installed unless needed, and exercise
1682 --no-force.
1683
16842004-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
1685
1686 * doc/automake.texi (Dist): Document limitations of distcheck-hook
1687 and DISTCHECK_CONFIGURE_FLAGS with regard to subdirs and
1688 subpackages.
1689
16902004-01-20 Alexandre Duret-Lutz <adl@gnu.org>
1691
1692 * doc/automake.texi (Upgrading): New node.
1693
16942004-01-20 Gary V. Vaughan <gary@gnu.org>
1695
1696 * automake.in (scan_autoconf_traces): AC_LIBTOOL_TAGS can be
1697 correctly called without arguments as evidenced by the libtool
1698 demo directories.
1699
17002004-01-13 Alexandre Duret-Lutz <adl@gnu.org>
1701
1702 * tests/conflnk3.test: Skip if `test -e' does not work.
1703 Report from Lars Hecking.
1704
17052004-01-13 Jim Meyering <jim@meyering.net>
1706
1707 * lib/install-sh: Change `\n \t' to `\n\t ' in `defaultIFS'
1708 assignment. Remove spurious SPACEs before TABs.
1709
17102004-01-12 Alexandre Duret-Lutz <adl@gnu.org>
1711
1712 * lib/py-compile: Check input files after option processing.
1713 Ensure --basedir has an argument.
1714 * lib/am/python.am (install-%DIR%PYTHON): Do not run py-compile
1715 if nothing was installed.
1716 * tests/python10.test: New file.
1717 * tests/Makefile.am (TESTS): Add python10.test.
1718 Suggested by Sander Niemeijer.
1719
1720 * tests/txinfo29.test: Remove autom4te.cache.
1721 Report from Greg Schafer.
1722
1723 * lib/install-sh: Do not use "$@" in a context where it may be empty,
1724 for the sake of OSF1/Tru64's shell.
1725 Report from He Li.
1726
17272004-01-11 Alexandre Duret-Lutz <adl@gnu.org>
1728
1729 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
1730 versions.
1731
1732 * m4/as.m4, m4/depend.m4, m4/maintainer.m4, m4/multi.m4: Update
1733 copyright years and serial.
1734
1735 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.4.
1736
17372004-01-10 Peter Eisentraut <peter_e@gmx.net> (tiny change)
1738
1739 * m4/as.m4 (AM_PROG_AS): Format and align help string more
1740 consistently.
1741 * m4/depend.m4 (AM_DEP_TRACK): Likewise.
1742 * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
1743 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
1744 * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise.
1745
17462004-01-10 Paul Eggert <eggert@twinsun.com>
1747
1748 * m4/lispdir.m4 (AM_PATH_LISPDIR): Don't use \? in sed regular
1749 expressions; it doesn't conform to POSIX.
1750
17512004-01-10 Alexandre Duret-Lutz <adl@gnu.org>
1752
1753 * automake.in (shadow_unconditionally): New function...
1754 (handle_source_transform): ... extracted from here.
1755 (am_install_var): Use shadow_unconditionally to define %DISTVAR%.
1756 * lib/am/data.am, lib/am/java.am, lib/am/lisp.am, lib/am/python.am,
1757 lib/am/script.am: Add %DISTVAR% to DIST_COMMON.
1758 * tests/cond33.test: Make sure all conditional files are distributed.
1759 Report from Ralf Corsepius.
1760
17612004-01-08 Alexandre Duret-Lutz <adl@gnu.org>
1762
1763 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Append `.' to $(mkdir_p).
1764 * lib/install-sh: Accept `install-sh -d' with 0..n arguments,
1765 as well as `install-sh sources... dest' with multiple sources.
1766 * tests/cond33.test: New file.
1767 * tests/instsh2.test: Add more checks for install-sh.
1768 * tests/transform.test: Test for installdirs.
1769 * tests/Makefile.am (TESTS): Add cond33.test
1770 Report from Ralf Corsepius.
1771
1772 * automake.in (handle_configure): Skip AC_CONFIG_LINKS items which
1773 do not look like DEST:SRC.
1774 * tests/conflnk3.test: Check for AC_CONFIG_LINKS($computed).
1775
17762004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
1777
1778 Fix for PR automake/289:
1779 * automake.in (Automake::Struct::libtool_tag): New attribute. Define
1780 it for the language that have a Libtool tag.
1781 (%libtool_tags): New variable.
1782 (handle_languages, define_compiler_variable)
1783 (define_linker_variable): Pass --tag=XXX to libtool if supported.
1784 (scan_autoconf_traces): Scan for _LT_AC_TAGCONFIG and AC_LIBTOOL_TAGS.
1785 * tests/libtool3.test, tests/subobj9.test: Check that --tag=XXX is
1786 output.
1787
17882003-01-07 Eric Sunshine <sunshine@sunshineco.com> (tiny change)
1789
1790 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
1791 config.status.lineno.
1792
17932004-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
1794
1795 * doc/automake.texi (Rebuilding): Typo.
1796
17972004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
1798
1799 * lib/am/Makefile.am (dist_am_DATA): Really add inst-vars.am.
1800
18012004-01-06 Alexandre Duret-Lutz <adl@gnu.org>
1802
1803 * THANKS: Add Bruce Korb.
1804
18052004-01-05 Alexandre Duret-Lutz <adl@gnu.org>
1806
1807 Mimic Paul Eggert's changes to Autoconf.
1808 * Makefile.am (automake, aclocal): Use `chmod a-w', not `chmod -w'.
1809 * lib/Automake/Makefile.am (Config.pm): Likewise.
1810 * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Likewise.
1811
1812 * lib/am/inst-vars.am: New file, define am__vpath_adj_setup,
1813 am__vpath_adj, and am__strip_dir.
1814 * lib/am/Makefile.am (dist_am_DATA): Add inst-vars.am.
1815 * lib/am/data.am, lib/am/lisp.am, lib/am/python.am,
1816 lib/am/scripts.am: Include inst-vars.am, and use $(am__vpath_adj),
1817 $(am__vpath_adj_setup), and $(am__strip_dir) in install and
1818 uninstall rules. This fixes installation of nobase_ files in
1819 VPATH setups with Sun and OSF1/Tru64 Make.
1820 * lib/am/libs.am, lib/am/ltlib.am: Include inst-vars.am, and use
1821 $(am__strip_dir) to simplify install and uninstall rules.
1822 * tests/nobase.test: Augment to check installation from VPATH builds.
1823
1824 * automake.in (%transformed_files): New variable.
1825 (initialize_per_input): Reset it.
1826 (make_paragraphs): Fill %transformed_files, and define %FIRST%
1827 each time a file is transformed for the first time.
1828 (handle_configure): Do not define %FIRST_CONFIG_HIN%.
1829 (am_install_var): Do not define %FIRST%.
1830 * lib/am/remake-hdr.am: Use %?FIRST% instead of %?FIRST_CONFIG_HIN%.
1831
18322004-01-04 Alexandre Duret-Lutz <adl@gnu.org>
1833
1834 * lib/texinfo.tex: New upstream version.
1835
1836 * m4/mkdirp.m4: Do not use `-m 0755'. This overrides special bits
1837 and break setups where 775 directories are expected. Just obey
1838 umask as we did in the past.
1839 Report from Harlan Stenn.
1840
18412004-01-03 Alexandre Duret-Lutz <adl@gnu.org>
1842
1843 * automake.in (scan_texinfo_file): Do not compare $outfile to ''
1844 as $outfile might not be defined at all.
1845
1846 * lib/Automake/Variable.pm (define): Rework the way we check
1847 Automake variable definition. Ensure consistent :=/+=/=
1848 definitions only for variables that have been and are defined by
1849 Automake, and make it an internal error. Ignore Automake
1850 attempts to touch a user variable, even with += assignments.
1851 * tests/txinfo29.test: New file.
1852 * tests/Makefile.am (TESTS): Add txinfo29.test.
1853 Reported by Bruce Korb.
1854
18552004-01-02 Tom Tromey <tromey@redhat.com>
1856
1857 * automake.in (handle_source_transform): Don't generate dist
1858 variables when no-dist is set.
1859 (generate_makefile): Likewise.
1860 * tests/nodist3.test: Ensure that DIST_SOURCES is not created,
1861 and that dist target does not exist.
1862 Reported by Tom Fitzsimmons.
1863
18642004-01-02 Alexandre Duret-Lutz <adl@gnu.org>
1865
1866 * tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
1867 * tests/ltconv.test: Run automake with --add-missing, because
1868 the CVS version of libtoolize no longer install config.sub and
1869 config.guess by default.
1870
1871 Fix for PR automake/319:
1872 * aclocal.in (scan_m4_files): Scan configure.ac.
1873 (trace_used_macros, write_aclocal): Remove configure.ac from the
1874 list of files to include.
1875 * tests/Makefile.am (TESTS): Add acloca15.test.
1876 * tests/acloca15.test: New file.
1877
1878 * aclocal.in (%file_includes): New variable.
1879 (scan_configure_dep): Compile $m4_include_rx and $ac_require_rx once.
1880 (scan_file): Scan for included files, and process these files
1881 recursively. Fill %file_includes and %file_contents. Return the
1882 list of included files, not the contents.
1883 (scan_m4_files): Adjust calls to scan_files.
1884 (strip_redundant_includes): New function.
1885 (trace_used_macros): Call it.
1886 (write_aclocal): Likewise. Also check the mtime of included files.
1887 * tests/Makefile.am (TESTS): Add acloca14.test.
1888 * tests/acloca14.test: New file.
1889 Report from Phil Edwards.
1890
18912004-01-01 Alexandre Duret-Lutz <adl@gnu.org>
1892
1893 * automake.in (handle_languages): Do not define DEP_FILES.
1894 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Extract included
1895 files with $(DEPDIR) in their name instead of DEP_FILES.
1896 * tests/depend.test, tests/depend4.test, tests/exsource.test:
1897 Adjust.
1898 Suggested by Tom Tromey.
1899
1900 Do not output .lo rules for programs and static libraries objects,
1901 and do not output .o/.obj rules for libtool libraries. This is
1902 about explicit rules only, not inference rules.
1903 * automake.in (handle_single_transform_list): Rename as ...
1904 (handle_single_transform): ... this. Take a single file
1905 to transform (it was only called this way) and accept a new
1906 %transform argument. Fill %lang_specific_files with list
1907 references instead of strings, and append %transform to each
1908 of these lists.
1909 (define_objects_from_sources, handle_source_transform):
1910 Take a %transform argument, and forward it to &handle_single_transform.
1911 (handle_languages): Adjust to the new format of
1912 %lang_specific_files, and honor its %transform part.
1913 (handle_programs, handle_libraries, handle_ltlibraries): Override
1914 %NONLIBTOOL% and %LIBTOOL% while calling handle_source_transform.
1915 (make_paragraphs): Define %NONLIBTOOL% by default. Make sure
1916 %transform settings override global settings.
1917 * lib/am/depend2.am (%OBJ%, %OBJOBJ%): Define only if %NONLIBTOOL%.
1918 * tests/libtool3.test: Augment to check Makefile.ins for unneeded
1919 rules.
1920 Suggested by Thomas Fitzsimmons.
1921
1922 * automake.in, aclocal.in: Bump copyright years.
1923
19242003-12-31 Alexandre Duret-Lutz <adl@gnu.org>
1925
1926 * automake.in (generate_makefile): Update misleading comment.
1927
1928 * automake.in (handle_languages): Define %DEPBASE% conditionally
1929 on subdir-objects. Define SUBDIROBJ. Do not clean *_.c files
1930 here ...
1931 (lang_c_finish): ... do it here.
1932 (handle_single_transform_list): Do not output specific rules for
1933 subdir-objects files which are not renamed. This should reduce
1934 the size of Makefiles with lots of subdirectory sources.
1935 * lib/depcomp: Simplify computation of dependency output, and use
1936 DEPDIR.
1937 * lib/am/depend2.am (%EXT%.o, %EXT%.obj, %EXT%.lo): Adjust call
1938 to depcomp. Compute depbase on-the-fly in generic fastdep rules
1939 for subdir-objects.
1940 * tests/ansi9.test: Do not grep for an explicit rule that
1941 we no longer expect. Really run $MAKE to make sure the chain
1942 of rules works.
1943 * tests/yacc5.test: Do not grep for an explicit rule that
1944 we no longer expect. Adjust to use set -e.
1945
19462003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
1947
1948 * automake.in (@common_files): Move configure, configure.ac, and
1949 configure.in ...
1950 (@common_sometimes): ... here so that these files do not appear
1951 twice in DIST_COMMON.
1952
1953 * automake.in (maybe_push_required_file): Add $(srcdir) in front
1954 a required files outside the current directory or its subdirectories.
1955 * lib/am/distdir.am (distdir): Update comment.
1956 Report from Nicolas Joly.
1957
19582003-12-26 Alexandre Duret-Lutz <adl@gnu.org>
1959
1960 * doc/automake.texi (@copying): Do not repeat the version.
1961 (Top): Use @insertcopying. Add a @detailmenu, this works around
1962 Emacs 21's inability to lookup indices in sub-nodes (reported
1963 by Kevin Ryde).
1964 (C++ Support, Assembly Support, Fortran 77 Support, Java Support,
1965 Support for Other Languages, Preprocessing Fortran 77, Compiling
1966 Fortran 77 Files, Mixing Fortran 77 With C and C++, How the Linker
1967 is Chosen): Add missing descriptions in menus.
1968 (Fortran 77 and Autoconf): Remove, this node was just saying "use
1969 Autoconf 2.53 or greater".
1970
19712003-12-26 Santiago Vila <sanvila@unex.es> (tiny change)
1972
1973 * NEWS: s/Gettext 1.12.1/Gettext 0.12.1/
1974
19752003-12-25 Nicolas Joly <njoly@pasteur.fr> (tiny change)
1976
1977 * doc/automake.texi (Conditional Sources): Typo.
1978
19792003-12-25 Alexandre Duret-Lutz <adl@gnu.org>
1980
1981 * lib/Automake/Config.in: Require Exporter.
1982 Report from Kevin Ryde (failure with Perl 5.005_03).
1983
19842003-12-15 Alexandre Duret-Lutz <adl@gnu.org>
1985
1986 * tests/aclocal6.test: Check for autom4te.cache only if it has
1987 been created.
1988 * tests/maintclean.test: Update comment.
1989 Report from Bruno Haible.
1990
1991 * tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
1992 Require texi2dvi-o.
1993 Report from Václav Haisman.
1994
19952003-12-10 Alexandre Duret-Lutz <adl@gnu.org>
1996
1997 * configure.ac, NEWS: Bump version to 1.8a.
1998
1999 * configure.ac, NEWS: Bump version to 1.8.
2000
2001 * lib/texinfo.tex: New upstream version.
2002
2003 * Makefile.am (INSTALL): Copy the source from $(srcdir).
2004
20052003-12-09 Alexandre Duret-Lutz <adl@gnu.org>
2006
2007 * lib/Automake/Rule.pm (define): Remove debugging traces.
2008 Report from Akim Demaille.
2009
20102003-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
2011 Alexandre Duret-Lutz <adl@gnu.org>
2012
2013 * Makefile.am (do_subst): Fix the substitution of @configure_input@.
2014 (automake, aclocal): Create the output atomically and make it
2015 read-only, as done in the Autoconf package.
2016 * lib/Automake/Makefile.am (do_subst): Fix the substitution of
2017 @configure_input@.
2018 (Config.pm): Create the output atomically and make it read-only.
2019 * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Substitute
2020 @configure_input@ and make the output read-only.
2021 * lib/Automake/Config.in, m4/amversion.in, tests/aclocal.in,
2022 tests/automake.in, tests/defs.in: Add a @configure_input@ line.
2023
20242003-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
2025
2026 * doc/automake.texi (Local Macros, CVS): Typos.
2027
20282003-12-08 Alexandre Duret-Lutz <adl@gnu.org>
2029
2030 * lib/Automake/Variable.pm (hook): Use $$ as prototype, not $\&.
2031 Perl 5.6.0 will not accept a reference sub reference for the
2032 latter.
2033 * automake.in (var_SUFFIXES_trigger): Adjust registration via
2034 Automake::Variable::hook.
2035 (handle_texinfo_helper): Make sure `inner_expand => 1' appears
2036 on one line, so that Perl 5.6.0 does not complain about
2037 inner_expand being a bare identifier.
2038
20392003-12-05 Alexandre Duret-Lutz <adl@gnu.org>
2040
2041 * aclocal.in (check_acinclude, scan_file): Output `warning:' in
2042 front of warnings.
2043 Report from Pavel Roskin.
2044
20452003-12-04 Alexandre Duret-Lutz <adl@gnu.org>
2046
2047 * TODO: Remove some old entries.
2048
2049 * doc/automake.texi (Rebuilding): Document CONFIGURE_DEPENDENCIES
2050 and CONFIG_STATUS_DEPENDENCIES. Move this sections later
2051 in the manual since it's pretty advanced material.
2052
2053 * automake.in ($config_header_location): Remove. Use
2054 %ac_config_files_location instead.
2055 (rewrite_inputs_into_dependencies): Do not prepend $(top_builddir)/
2056 at the top-level.
2057 (handle_configure): Use rewrite_inputs_into_dependencies to
2058 distribute and compute AC_CONFIG_HEADERS dependencies.
2059 (scan_autoconf_traces) <AC_CONFIG_HEADERS>: Fill
2060 %ac_config_files_location.
2061 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Rename as ...
2062 (%CONFIG_HIN%): ... this. $(srcdir) is already added in
2063 scan_autoconf_traces.
2064 * tests/Makefile.am (TESTS): Add confh5.test.
2065 * tests/confh5.test: New file.
2066
2067 * tests/ltlibsrc.test: Fix the zoo_d_old2_la.c rule in Makefile.am,
2068 $< is not portable and the source is in $(srcdir).
2069
20702003-12-03 Paolo Bonzini <bonzini@gnu.org>
2071 Alexandre Duret-Lutz <adl@gnu.org>
2072
2073 * automake.in (handle_configure): Do not require link sources if
2074 they contain a dollar, or if they were built. Likewise, do not
2075 clean link destination if they contain a dollar.
2076 (scan_autoconf_traces) <AC_CONFIG_LINKS>: Populate
2077 %ac_config_files_location with link destinations. Do not
2078 store locations in @config_links, now that %ac_config_files_location
2079 have them.
2080 * tests/conflnk3.test: New file.
2081 * tests/Makefile.am (TESTS): Add conflnk3.test.
2082
20832003-12-02 Alexandre Duret-Lutz <adl@gnu.org>
2084
2085 * configure.ac, NEWS: Bump version to 1.7i.
2086
2087 * configure.ac, NEWS: Bump version to 1.7h.
2088
2089 * doc/automake.texi (Default _SOURCES): Fix reference to true.
2090
2091 * lib/texinfo.tex: New upstream version.
2092
20932003-11-30 Alexandre Duret-Lutz <adl@gnu.org>
2094
2095 * automake.in (handle_source_transform): If it's present, use
2096 libfoo_la.c instead of libfoo.c as the default source of
2097 libfoo.la, and issue an -Wobsolete diagnostic. Do not be
2098 greedy in the suffix replacement regex.
2099 * doc/automake.texi (Default _SOURCES): New node.
2100 (Program Sources, Libtool Modules): Refer to it.
2101 * tests/ltlibsrc.test: Update to check for old default source files.
2102
21032003-11-30 Gary V. Vaughan <gary@gnu.org>
2104
2105 * automake.in (&handle_source_transform): Calculate a default file
2106 for use in the absence of an appropriate _SOURCES declaration by
2107 first stripping any suffix from the unxformed target name, and
2108 appending `.c'.
2109 * doc/automake.texi (Program Sources, Libtool Modules): Document this.
2110 * tests/ltlibsrc.test: New file.
2111 * tests/Makefile.am (TESTS): Add ltlibsrc.test.
2112
21132003-11-29 Alexandre Duret-Lutz <adl@gnu.org>
2114
2115 * lib/Automake/Variable.pm (loc_and_value_as_list_recursive,
2116 _value_as_list_recursive_worker): Merge into ...
2117 (value_as_list_recursive): ... this function. Pass options
2118 as a hash argument, and use the `location' option to trigger
2119 the behavior of loc_and_value_as_list_recursive.
2120 (traverse_recursively, transform_variable_recursively): Take
2121 options as a %options argument.
2122 (_do_recursive_traversal): Perform expansion of inner variables
2123 (as in `$(FILE).ext') on request.
2124 * automake.in (handle_options, check_libobjs_sources)
2125 (handle_source_transform, handle_LIBOBJS, handle_ltlibraries)
2126 (handle_ltlibraries, handle_man_pages, handle_dist)
2127 (handle_gettext, am_install_var): Adjust usage of
2128 value_as_list_recursive.
2129 (handle_texinfo_helper): Pass inner_expand to
2130 value_as_list_recursive.
2131 * tests/txinfo28.test: New file.
2132 * tests/Makefile.am (TESTS): Add txinfo28.test.
2133 Report from Ralf Corsepius.
2134
2135 * lib/Automake/Variable.pm (_do_recursive_traversal): Do not
2136 update @_substfroms and @_substfroms for undefined variables.
2137 * tests/substre2.test: New file.
2138 * tests/Makefile.am (TESTS): Add substre2.test.
2139
2140 * lib/Automake/VarDef.pm (value): Rename as ...
2141 (raw_value): ... this.
2142 (value): New method, strip # and \\\n.
2143 (dump): Use raw_value.
2144 * lib/Automake/Variable.pm (output): Use raw_value.
2145 (value_as_list): Simplify, now that backslash and comments
2146 are already removed.
2147 * tests/txinfo22.test: Make sure Automake isn't confused
2148 by comments in variables.
2149
21502003-11-27 Alexandre Duret-Lutz <adl@gnu.org>
2151
2152 * doc/automake.texi: More target vs. rule editing. Back out some
2153 of the previous changes. It's OK to talk about targets as "entry
2154 points", or as thing to build, but targets cannot be run: rules
2155 are run.
2156
2157 * doc/automake.texi: s/target/rule/ where appropriate. A target
2158 is the destination of a target rule, not the rule itself.
2159 Suggested by Bruno Haible.
2160
21612003-11-25 Alexandre Duret-Lutz <adl@gnu.org>
2162
2163 * configure.ac, NEWS: Bump version to 1.7g.
2164
2165 * configure.ac, NEWS: Bump version to 1.7f.
2166
2167 * automake.in (prepend_srcdir): Parenthesize @inputs to remove
2168 a maintainer-check warning.
2169 * tests/subst2.test: Rewrite the $MAKE invocation to please
2170 maintainer-check.
2171
2172 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
2173 versions.
2174
2175 * doc/automake.texi (Program variables): Mention per-target
2176 _CPPFLAGS in the documentation of INCLUDES.
2177 * automake.in (generate_makefile): Likewise in the INCLUDES diagnostic.
2178 Report from Bob Friesenhahn.
2179
2180 * doc/automake.texi (Extending): Elaborate on overriding.
2181 * NEWS: Likewise.
2182 Suggested by Bruno Haible.
2183
21842003-11-24 Alexandre Duret-Lutz <adl@gnu.org>
2185
2186 * lib/Automake/Variable.pm (output): Add $(am__empty) to variable
2187 definitions that end with a line full of @substitutions@ that
2188 would confuse HP-UX Make if it were blank.
2189 (transform_variable_recursively): Make sure not to erase empty
2190 variables.
2191 * tests/Makefile.am (TESTS): Add subst2.test.
2192 * tests/subst2.test: New file.
2193 Report from Harlan Stenn.
2194
2195 * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Work around a
2196 Texinfo 4.1 bug.
2197 Report from Dalibor Topic.
2198
21992003-11-22 Alexandre Duret-Lutz <adl@gnu.org>
2200
2201 Fix for PR automake/411:
2202 * automake.in (rewrite_inputs_into_dependencies): Simplify, and rename
2203 into ...
2204 (prepend_srcdir): ... this.
2205 (rewrite_inputs_into_dependencies): New function, extracted from ...
2206 (handle_configure): ... here. Adjust to use prepend_srcdir
2207 or rewrite_inputs_into_dependencies where needed. Especially,
2208 using (the new) rewrite_inputs_into_dependencies to compute
2209 Makefile dependencies will fix PR/411.
2210 * lib/am/configure.am (DIST_COMMON): Remove %MAKEFILE-IN%, it's
2211 already distributed by rewrite_inputs_into_dependencies.
2212 * tests/Makefile.am (TESTS): Add output10.test, remove distcom.test.
2213 * tests/colon3.test: Use set -e. Don't allow any AUTOMAKE
2214 invocation refer to zardoz. Make sure two.in and three.in
2215 appear as $(srcdir)/two.in and $(srcdir)/three.in dependencies.
2216 * tests/distcom.test: Delete. This is covered by tests/output9.test.
2217 * tests/output10.test: New file, for PR/411.
2218
22192003-11-21 Alexandre Duret-Lutz <adl@gnu.org>
2220
2221 * automake.in (append_exeext): Do not append $(EXEEXT) to
2222 @substitutions@.
2223 * tests/exeext4.test: New file.
2224 * tests/Makefile.am (TESTS): Add exeext4.test.
2225
22262003-11-19 Alexandre Duret-Lutz <adl@gnu.org>
2227
2228 * lib/am/configure.am (%MAKEFILE%): Remove %MAINTAINER-MODE%,
2229 mistakenly added on 2001-03-05.
2230 * tests/remake5.test: New file.
2231 * tests/Makefile.am (TESTS): Add remake5.test.
2232 Report from Ralf Corsepius.
2233
22342003-11-18 Alexandre Duret-Lutz <adl@gnu.org>
2235
2236 * configure.ac, NEWS: Bump version to 1.7e.
2237
2238 * configure.ac, NEWS: Bump version to 1.7d.
2239
2240 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New
2241 upstream versions.
2242
22432003-11-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> (tiny change)
2244 Alexandre Duret-Lutz <adl@gnu.org>
2245
2246 * lib/am/texinfos.am (install-info): Depend on
2247 install-info-recursive or install-info-am even if no-installinfo.
2248 * tests/txinfo27.test: New file.
2249 * tests/Makefile.am (TESTS): Add txinfo26.test.
2250
22512003-11-18 Paolo Bonzini <bonzini@gnu.org>
2252 Alexandre Duret-Lutz <adl@gnu.org>
2253
2254 * lib/ylwrap: Do not overwrite headers if they haven't changed.
2255 Fix the include guard substitution.
2256 * tests/yacc6.test: Augment to run ylwrap, and make sure it
2257 does not needlessly update headers.
2258 * tests/yacc8.test: Make sure headers are not needlessly updated
2259 with ylwrap is not used. Move `test -f foo.o' into the
2260 Makefile as `test -f foo.$(OBJEXT)' for portability.
2261
22622003-11-17 Alexandre Duret-Lutz <adl@gnu.org>
2263
2264 * automake.in (generate_makefile): Define SUBDIRS if it is
2265 not defined and DIST_SUBDIRS is.
2266 * tests/subpkg2.test: New file.
2267 * tests/Makefile.am (TESTS): Add subpkg2.test.
2268 Report from Gary V. Vaughan.
2269
2270 * tests/suffix11.test: Check for suffixes containing `-'.
2271 * lib/Automake/Rule.pm ($_SUFFIX_RULE_PATTERN): Accept `-' in
2272 suffixes.
2273
2274 * lib/Automake/Rule.pm (define): Suggest using target-local instead
2275 of target-am, not target-am-local.
2276 * tests/overrid.test: Check the diagnostic for clean-am.
2277 Report from Bruno Haible.
2278
22792003-11-17 Jim Meyering <jim@meyering.net>
2280
2281 * bootstrap: Require not only that `perl' have the executable
2282 bit set, but also that it is not a directory.
2283
2284 * lib/am/configure.am: Mark %MAKEFILE% as `.PRECIOUS'.
2285
22862003-11-17 Alexandre Duret-Lutz <adl@gnu.org>
2287
2288 * automake.in (ac_config_files_location): Declare as a hash.
2289 (handle_configure): Rewrite the computation of AC_CONFIG_FILES
2290 dependencies; make sure we don't use $(srcdir) or $(top_srcdir)
2291 for inputs which are also outputs, and do not check inputs
2292 relatively to the current directory.
2293 (scan_autoconf_config_files): Take $where as argument, and
2294 fill $ac_config_files_location.
2295 * tests/output8.test, tests/output9.test: New files.
2296 * tests/Makefile.am (TESTS): Add output8.test and output9.test.
2297 Report from Bruno Haible.
2298
22992003-11-14 Alexandre Duret-Lutz <adl@gnu.org>
2300
2301 * tests/aclibobj.test, tests/aclocal.test, tests/aclocal3.test,
2302 tests/acoutbs.test, tests/acoutbs2.test, tests/acoutnoq.test,
2303 tests/acoutpt.test, tests/acoutpt2.test, tests/acoutqnl.test,
2304 tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
2305 tests/all.test, tests/alpha.test, tests/amassign.test,
2306 tests/ammissing.test, tests/ansi.test, tests/ansi10.test,
2307 tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
2308 tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
2309 tests/ansi7.test, tests/ansi9.test, tests/ar.test,
2310 tests/autohdr.test, tests/autohdr2.test, tests/auxdir.test,
2311 tests/auxdir2.test, tests/backsl.test, tests/backsl2.test,
2312 tests/badprog.test, tests/block.test, tests/canon2.test,
2313 tests/canon3.test, tests/canon4.test, tests/canon5.test,
2314 tests/ccnoco.test, tests/check.test, tests/check2.test,
2315 tests/check3.test, tests/checkall.test, tests/clean.test,
2316 tests/colneq2.test, tests/colon.test, tests/colon2.test,
2317 tests/colon3.test, tests/colon4.test, tests/colon5.test,
2318 tests/colon6.test, tests/colon7.test, tests/comment.test,
2319 tests/comment2.test, tests/comment4.test, tests/comment6.test,
2320 tests/comment7.test, tests/compile_f_c_cxx.test, tests/cond.test,
2321 tests/cond10.test, tests/cond11.test, tests/cond13.test,
2322 tests/cond14.test, tests/cond15.test, tests/cond16.test,
2323 tests/cond17.test, tests/cond18.test, tests/cond19.test,
2324 tests/cond21.test, tests/cond22.test, tests/cond25.test,
2325 tests/cond26.test, tests/cond28.test, tests/cond3.test,
2326 tests/cond4.test, tests/cond5.test, tests/cond6.test,
2327 tests/cond7.test, tests/cond8.test, tests/cond9.test,
2328 tests/condd.test, tests/condinc.test, tests/condlib.test,
2329 tests/condman.test, tests/condman2.test, tests/conf2.test,
2330 tests/confdeps.test, tests/confh.test, tests/confh4.test,
2331 tests/config.test, tests/confincl.test, tests/conflnk.test,
2332 tests/conflnk2.test, tests/confsub.test, tests/confvar.test,
2333 tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
2334 tests/cxx.test, tests/cxxansi.test, tests/cxxcpp.test,
2335 tests/cxxlibobj.test, tests/cxxlink.test, tests/cxxnoc.test,
2336 tests/cxxo.test, tests/cygwin32.test, tests/dash.test,
2337 tests/defun.test, tests/defun2.test, tests/dejagnu.test,
2338 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
2339 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
2340 tests/depcomp.test, tests/depcomp2.test, tests/depcomp4.test,
2341 tests/depdist.test, tests/depend.test, tests/depend2.test,
2342 tests/depend3.test, tests/depend4.test, tests/destdir.test,
2343 tests/dirlist.test, tests/discover.test, tests/distcom.test,
2344 tests/distcom2.test, tests/distdir.test, tests/distname.test,
2345 tests/dollar.test, tests/double.test, tests/dup2.test,
2346 tests/empty.test, tests/empty2.test, tests/empty3.test,
2347 tests/empty4.test, tests/error.test, tests/exdir.test,
2348 tests/exeext.test, tests/exeext3.test, tests/exsource.test,
2349 tests/ext.test, tests/ext2.test, tests/extra.test,
2350 tests/extra2.test, tests/extra3.test, tests/extra4.test,
2351 tests/extra5.test, tests/extra6.test, tests/extra7.test,
2352 tests/flibs.test, tests/fnoc.test, tests/fo.test,
2353 tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
2354 tests/fpinstall.test, tests/gcj.test, tests/gcj3.test,
2355 tests/gcj4.test, tests/gnits2.test, tests/gnits3.test,
2356 tests/header.test, tests/implicit.test, tests/include.test,
2357 tests/include2.test, tests/info.test, tests/insh2.test,
2358 tests/install2.test, tests/installdir.test, tests/instdat.test,
2359 tests/instdat2.test, tests/instexec.test, tests/insthook.test,
2360 tests/instman.test, tests/instman2.test, tests/instsh.test,
2361 tests/instsh2.test, tests/interp.test, tests/interp2.test,
2362 tests/java.test, tests/java2.test, tests/javaprim.test,
2363 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
2364 tests/lex.test, tests/lex3.test, tests/lex4.test, tests/lex5.test,
2365 tests/libobj11.test, tests/libobj2.test, tests/libobj4.test,
2366 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
2367 tests/library.test, tests/libtool.test, tests/libtool2.test,
2368 tests/libtool3.test, tests/libtool5.test, tests/link_c_cxx.test,
2369 tests/link_dist.test, tests/link_f_only.test, tests/link_fc.test,
2370 tests/link_fccxx.test, tests/link_fcxx.test, tests/lisp.test,
2371 tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
2372 tests/maintclean.test, tests/make.test, tests/makej.test,
2373 tests/makevars.test, tests/man.test, tests/man2.test,
2374 tests/mclean.test, tests/mdate.test, tests/mdate2.test,
2375 tests/mdate3.test, tests/mdate4.test, tests/mkinst2.test,
2376 tests/mkinstall.test, tests/nobase.test, tests/nodef.test,
2377 tests/nodef2.test, tests/nodep.test, tests/nodepcomp.test,
2378 tests/nodist.test, tests/nodist2.test, tests/nodist3.test,
2379 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
2380 tests/nostdinc.test, tests/number.test, tests/obsolete.test,
2381 tests/order.test, tests/outdir.test, tests/output.test,
2382 tests/output2.test, tests/output3.test, tests/output4.test,
2383 tests/parse.test, tests/phony.test, tests/pluseq.test,
2384 tests/pluseq10.test, tests/pluseq2.test, tests/pluseq3.test,
2385 tests/pluseq4.test, tests/pluseq6.test, tests/pluseq8.test,
2386 tests/postproc.test, tests/ppf77.test, tests/pr2.test,
2387 tests/pr204.test, tests/pr220.test, tests/pr224.test,
2388 tests/pr229.test, tests/pr243.test, tests/pr266.test,
2389 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
2390 tests/pr300-lib.test, tests/pr300-ltlib.test,
2391 tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
2392 tests/pr87.test, tests/pr9.test, tests/prefix.test,
2393 tests/proginst.test, tests/python.test, tests/python3.test,
2394 tests/python4.test, tests/python5.test, tests/python6.test,
2395 tests/python7.test, tests/python8.test, tests/python9.test,
2396 tests/recurs2.test, tests/remake.test, tests/remake2.test,
2397 tests/remake3.test, tests/req.test, tests/reqd.test,
2398 tests/rulepat.test, tests/scripts.test, tests/sinclude.test,
2399 tests/space.test, tests/specflg3.test, tests/specflg6.test,
2400 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
2401 tests/spell3.test, tests/spelling.test, tests/spy.test,
2402 tests/stamph2.test, tests/stdlib2.test, tests/strip.test,
2403 tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
2404 tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
2405 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
2406 tests/subdirbuiltsources.test, tests/subobj.test,
2407 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
2408 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
2409 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
2410 tests/subpkg.test, tests/subst.test, tests/substref.test,
2411 tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
2412 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
2413 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
2414 tests/suffix9.test, tests/symlink2.test, tests/symlink3.test,
2415 tests/tags.test, tests/tagsub.test, tests/target-cflags.test,
2416 tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
2417 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
2418 tests/txinfo18.test, tests/txinfo2.test, tests/txinfo23.test,
2419 tests/txinfo24.test, tests/txinfo25.test, tests/txinfo26.test,
2420 tests/txinfo3.test, tests/txinfo5.test, tests/txinfo6.test,
2421 tests/txinfo7.test, tests/txinfo8.test, tests/txinfo9.test,
2422 tests/unused.test, tests/vars.test, tests/vars3.test,
2423 tests/vartar.test, tests/version.test, tests/version2.test,
2424 tests/version4.test, tests/version6.test, tests/version7.test,
2425 tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
2426 tests/werror.test, tests/whoami.test, tests/yacc.test,
2427 tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
2428 tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
2429 tests/yaccpp.test, tests/yaccvpath.test: Fix license to refer
2430 to Automake, not autoconf.
2431
2432 Fix for PR automake/408:
2433 * lib/am/texinfos.am (install-info-am): Strip any $(srcdir)/ prefix
2434 from $file, as already done for dist-info.
2435 * tests/Makefile.am (TESTS): Add txinfo26.test.
2436 * tests/txinfo26.test: New file.
2437 Report from Nicholas Wourms.
2438
24392003-11-13 Alexandre Duret-Lutz <adl@gnu.org>
2440
2441 * m4/lispdir.m4 (AM_PATH_LISPDIR): If EMACS=t, empty it before
2442 running AC_CHECK_PROGS(EMACS).
2443 * lib/am/lisp.am (elc-stamp): Quote $(EMACS).
2444 Report from Jens Petersen.
2445
2446 * tests/mkinst2.test: Rewrite.
2447
2448 * m4/mkdirp.m4: Do not require AM_AUX_DIR_EXPAND.
2449
24502003-11-12 Alexandre Duret-Lutz <adl@gnu.org>
2451
2452 * automake.in (scan_autoconf_traces): Honor sinclude.
2453 * tests/sinclude.test: Check for sinclude.
2454 Report from Roberto Bagnara.
2455
24562003-11-11 Alexandre Duret-Lutz <adl@gnu.org>
2457
2458 * Makefile.am: Do not rerun `make dist' after tagging, `make distcheck'
2459 already build the tarballs. Commit files right before tagging.
2460 Check NEWS before running distcheck.
2461
2462 * m4/amversion.in (AM_AUTOMAKE_VERSION): Missing cosmetic space.
2463
2464 * configure.ac, NEWS: Bump version to 1.7c.
2465
2466 * configure.ac, NEWS: Bump version to 1.7b.
2467 * Makefile.am (maintainer-check): Ignore comments while
2468 scanning for rm without -f.
2469
2470 * Makefile.am (fetch): Get all files from savannah. Do not
2471 postprocess Struct.pm and XFiles.pm, since we now are the master
2472 of these.
2473 * lib/config.sub, lib/config.guess, lib/config-ml.in,
2474 lib/texinfo.tex: New upstream versions.
2475
2476 * configure.ac: Check that autoconf is installed, that it works,
2477 and that it is recent enough in three steps, not one.
2478
2479 * NEWS: Minor edits.
2480
2481 * lib/Makefile.am (dist_script_DATA): Move config-ml.in ...
2482 (dist_pkgvdata_DATA): ... here.
2483
2484 * tests/spy.test: Document overlapping ::-rules incompatibilities,
2485 and check only non-overlapping ::-rules.
2486
2487 * doc/automake.texi (Texinfo): Define MAKEINFO, MAKEINFOHTML,
2488 MAKEINFOFLAGS, AM_MAKEINFOFLAGS, AM_MAKEINFOHTMLFLAGS, TEXI2DVI,
2489 TEXI2PDF, DVIPS, and TEXINFO_TEX in a table.
2490 (Uniform): Do not speak of missing HTML support, this is
2491 confusing.
2492 * lib/Automake/Variable.pm (_silent_variable_override): Add
2493 AM_MAKEINFOHTMLFLAGS.
2494 * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Use MAKEINFOHTML and
2495 AM_MAKEINFOHTMLFLAGS instead of MAKEINFO and AM_MAKEINFOFLAGS.
2496 * lib/am/texinfos.am (MAKEINFOHTML, AM_MAKEINFOHTMLFLAGS): Define.
2497 * tests/txinfo21.test: Add a test with AM_MAKEINFOHTMLFLAGS.
2498
24992003-11-10 Alexandre Duret-Lutz <adl@gnu.org>
2500
2501 * tests/spy.test: New file.
2502 * tests/Makefile.am (TESTS): Add spy.test.
2503
2504 * automake.in (handle_configure): Distribute and define mkinstalldirs
2505 only if it is already present in the package.
2506 (scan_autoconf_files): Do not require mkinstalldirs.
2507 (require_build_directory): Use $(mkdir_p), not $(mkinstalldirs).
2508 * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
2509 lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/mans.am,
2510 lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
2511 lib/am/texinfos.am: Use $(mkdir_p) instead of $(mkinstalldirs).
2512 * m4/mkdirp.m4: New file.
2513 * m4/Makefile.am (dist_m4data_DATA): Add mkdirp.m4.
2514 * m4/init.m4 (AM_INIT_AUTOMAKE): Call AM_PROG_MKDIR_P.
2515 * tests/Makefile.am (TESTS): Remove insh.test.
2516 * tests/insh.test: Delete.
2517 * tests/defs.in, tests/instsh.test: Do not install mkinstalldirs.
2518 * tests/auxdir.test: Install mkinstalldirs.
2519 * tests/distdir.test, tests/instman.test, tests/pr2.test: Use
2520 $(mkdir_p), not $(mkinstalldirs).
2521 * tests/empty.test: Run configure, do not substitute things by hand.
2522 * doc/automake.texi (Optional) <AC_CONFIG_FILES>: Take install-sh
2523 as an example, not mkinstalldirs.
2524 (Auxiliary Programs) <mkinstalldirs>: Update.
2525
2526 * tests/defs.in: Handle required=bzip2.
2527
2528 * tests/defs.in: Export SHELL.
2529 * tests/cond11.test: Missing quotes.
2530 * tests/nogzip2.test: Require bzip2.
2531
25322003-11-09 Alexandre Duret-Lutz <adl@gnu.org>
2533
2534 * NEWS: Add news entries from 1.6.x and 1.7.x.
2535
2536 * automake.texi (Optional) <AC_SUBST>: Grammar fixes.
2537
2538 * automake.in (check_gnu_standards): Install COPYING only if
2539 none of COPYING, COPYING.LIB, or COPYING.LESSER exist. Do not
2540 overwrite the license otherwise.
2541 * tests/Makefile.am (TESTS): Add license.test.
2542 * tests/license.test: New file.
2543
2544 * lib/mkinstalldirs: Mention automake-patches@gnu.org and
2545 bug-automake@gnu.org.
2546 * lib/compile, lib/depcomp, lib/elisp-comp, lib/mdate-sh:
2547 Likewise. Also add support for --help and --version.
2548 * lib/py-compile, lib/ylwrap: Likewise, and reindent.
2549
25502003-11-08 Alexandre Duret-Lutz <adl@gnu.org>
2551
2552 * lib/am/tags.am (ETAGSFLAGS, CTAGSFLAGS): Remove.
2553 * lib/am/dejagnu.am (RUNTESTFLAGS): Remove.
2554 * lib/am/java.am (JAVACFLAGS): Remove.
2555 * tests/dejagnu3.test: Check that the environment value
2556 of RUNTESTFLAGS get passed down to runtest.
2557 Suggested by Mark Mitchell.
2558
2559 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
2560 (?GENERIC?%EXT%.lo): Do not echo compile command manually, this
2561 breaks `make -s'. Instead, fold the compile command on two lines,
2562 so that it take less space on the display.
2563 Suggested by Karl Berry and William Fulton.
2564
2565 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Rename as ...
2566 (%DEST_INFO_PREFIX%%DEST_SUFFIX%): ... this, and honor ?INSRC?
2567 to select $(srcdir) or `.' builds.
2568 (INFO_DEPS): Define here.
2569 * lib/am/texinfos.am (dist-info): Strip filename starting with
2570 "$(srcdir)/".
2571 * automake.in (output_texinfo_build_rules): Take a new argument
2572 $insrc, and adjust substitutions in 'texibuild'.
2573 (handle_texinfo_helper): Compute a regex of all user-cleaned
2574 files, and use this to select whether to build .info files in `.'
2575 or $(srcdir). Give an account of the $(srcdir) vs `.' debacle.
2576 Alway build the version.texi and stamp files in $(srcdir). Do not
2577 define INFO_DEPS.
2578 * tests/Makefile.am (TESTS): Add txinfo23.test, txinfo24.test,
2579 and txinfo25.test.
2580 * tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test:
2581 New files.
2582 * tests/txinfo13.test, tests/txinfo16.test, tests/txinfo3.test,
2583 tests/vtexi.test: Adjust to new rules.
2584
25852003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
2586
2587 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.58.
2588 * configure.ac: Require Autoconf 2.58a, and check for 2.58.
2589
25902003-10-27 Alexandre Duret-Lutz <adl@gnu.org>
2591
2592 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Erase %STAMP%.
2593 * tests/Makefile.am (TESTS): Add autohdr3.test
2594 * tests/autohdr3.test: New file.
2595
2596 * automake.in (handle_configure): Rename am__configure_deps
2597 as am__aclocal_m4_deps and include $(ACLOCAL_M4_SOURCES) and
2598 $configure_ac. Define am__configure_deps as am__aclocal_m4_deps
2599 + $(CONFIGURE_DEPENDENCIES) + $(ACLOCAL_M4). Do not define
2600 ACLOCAL_M4_DEPS while processing configure.am.
2601 (make_paragraphs): Do not define %CONFIGURE_AC%, now unused.
2602 (scan_aclocal_m4): Do not distribute aclocal.m4, this
2603 is done from lib/am/configure.am.
2604 * lib/am/configure.am (%MAKEFILE-IN%, DIST_COMMON,
2605 $(top_srcdir)/configure, $(ACLOCAL_M4)): Simplify using
2606 $(am__configure_deps) or $(am__aclocal_m4_deps).
2607 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Likewise.
2608
26092003-10-26 Alexandre Duret-Lutz <adl@gnu.org>
2610
2611 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Depend on
2612 $(am__configure_deps).
2613
2614 * automake.in (handle_configure): Distribute all AC_CONFIG_HEADERS
2615 sources, and without using require_file. Define %CONFIG_H_DEPS%
2616 and %FIRST_CONFIG_HIN% while processing remake-hdr.am.
2617 * lib/am/remake-hdr.am (%STAMP%): Use %CONFIG_H_DEPS% instead
2618 of (srcdir)/%CONFIG_HIN%. Output the $(srcdir)/%CONFIG_HIN%
2619 rule only for the first header (i.e., if %FIRST_CONFIG_HIN%).
2620 * tests/autohdr4.test: New file.
2621 * tests/Makefile.am (TESTS): Add autohdr4.test.
2622 * tests/config.test: Do not grep, run things to see if they work.
2623
26242003-10-25 Alexandre Duret-Lutz <adl@gnu.org>
2625
2626 * tests/output7.test: Populate sub/ with a dummy file, so that it
2627 is not empty. This fixes a failure reported by Patrick Welche.
2628 * lib/am/distdir.am: Add note about tar's `-o' option and empty
2629 directories.
2630
26312003-10-24 Didier Cassirame <faded@free.fr> (tiny change)
2632
2633 * lib/ylwrap: Typo in regex.
2634
26352003-10-23 Paul Eggert <eggert@twinsun.com>
2636
2637 * lib/Automake/XFile.pm: Don't assume -j is solo.
2638 Issue a more-informative diagnostic.
2639 Problems reported by Eric Sunshine.
2640
26412003-10-21 Alexandre Duret-Lutz <adl@gnu.org>
2642
2643 * m4/lispdir.m4 (AM_PATH_LISPDIR): Always check for Emacs.
2644 Always define lispdir.
2645 * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Check
2646 $(EMACS) to decide whether _LISP files must be installed,
2647 not $(lispdir).
2648 * doc/automake.texi (Emacs Lisp): Mention the two ways to install
2649 non byte-compiled Emacs lisp files.
2650 * tests/lisp4.test, tests/lisp5.test: Check "make install"
2651 when EMACS=no.
2652 Suggested by Simon Josefsson.
2653
2654 * NEWS: Clarify the entry about multiple conditional definitions
2655 of _PROGRAMS, _LDADD, and _LIBADD.
2656 Report from Simon Josefsson.
2657
2658 * lib/am/install.am (install-strip): Override install_sh_PROGRAM
2659 too.
2660 Report from Elmar Hoffmann.
2661
26622003-10-07 Alexandre Duret-Lutz <adl@gnu.org>
2663
2664 * aclocal.in ("MAIN", usage, parse_arguments): Move near
2665 the end, so "MAIN" can use prototypes.
2666 (scan_configure): Move later too, for the sake of prototypes.
2667 (scan_configure_dep): Fix setting of $scanned_configure_dep.
2668 (trace_used_macros): Do not take any argument.
2669
26702003-10-06 Alexandre Duret-Lutz <adl@gnu.org>
2671
2672 * tests/stdlib2.test: Check AM_LDFLAGS alone.
2673
2674 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
2675 versions.
2676
2677 * automake.in (handle_ltlibraries): Also grep AM_LDFLAGS for `-module'.
2678 * tests/stdlib2.test: New file.
2679 * tests/Makefile.am (TESTS): Add stdlib2.test.
2680 Report from Kevin P. Fleming.
2681
26822003-10-03 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
2683
2684 * tests/defs.in: For required=runtest, check that we are using
2685 a DejaGnu that supports specifying the program on the command-line.
2686
26872003-10-03 Alexandre Duret-Lutz <adl@gnu.org>
2688
2689 For Debian Bug #213524:
2690 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Merge
2691 stderr and stdout, and grep only the first line while testing
2692 install-info --version's output. This revert part of the change
2693 from 2001-05-18.
2694
26952003-10-01 Akim Demaille <akim@epita.fr>
2696
2697 * m4/amversion.in: Add (C) to the Copyright notice.
2698
26992003-10-01 Paul Eggert <eggert@twinsun.com>
2700
2701 * lib/Automake/XFile.pm: Use Errno.
2702 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
2703 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
2704
27052003-09-30 Tom Tromey <tromey@redhat.com>
2706
2707 * lib/Automake/Options.pm (_process_option_list): Recognize
2708 no-dist.
2709 * NEWS: Update.
2710 * doc/automake.texi (Options): Document no-dist.
2711 * automake.in (check_cygnus): Set no-dist option.
2712 (handle_dist): Recognize no-dist.
2713 * tests/nodist3.test: New file.
2714 * tests/Makefile.am (TESTS): Added nodist3.test.
2715
27162003-09-29 Alexandre Duret-Lutz <adl@gnu.org>
2717
2718 * automake.in (handle_clean): Take $makefile as argument, and
2719 define %MAKEFILE% while processing clean.am.
2720 (generate_makefile): Pass $makefile to handle_clean.
2721 * lib/am/clean.am (distclean, maintainer-clean): Erase %MAKEFILE%,
2722 not Makefile.
2723 * tests/gnumake.test: New file.
2724 * tests/Makefile.am (TESTS): Add gnumake.test.
2725 Report from Braden N. McDaniel.
2726
27272003-09-26 Alexandre Duret-Lutz <adl@gnu.org>
2728
2729 * doc/automake.texi (Scripts): Update the example about automake.
2730 Mention `dist_' for distributed scripts.
2731
2732 * lib/mkinstalldirs: Clean up after NextStep and OpenStep mkdir.
2733 Suggested by Eric Sunshine.
2734
27352003-09-25 Alexandre Duret-Lutz <adl@gnu.org>
2736
2737 * README: More mailing lists.
2738
2739 * NEWS: Mention the switch to GNU FDL for the manual.
2740
27412003-09-24 Alexandre Duret-Lutz <adl@gnu.org>
2742
2743 * lib/install-sh (src, dst): Protect names starting with `-',
2744 as in mkinstalldirs.
2745
2746 * configure.in: Rename as ...
2747 * configure.ac: ... this.
2748 * README: s/configure.in/configure.ac/.
2749
2750 * doc/fdl.texi: New file.
2751 * doc/Makefile.am (automake_TEXINFOS): New variable.
2752 * doc/automake.texi (Copying This Manual): New appendix, include
2753 fdl.texi.
2754 (Macro and Variable Index, General Index): Move as subsections of ...
2755 (Indices): This new appendix.
2756
2757 * doc/automake.texi: Refer to configure.ac instead of configure.in.
2758
2759 * automake.texi: Move ...
2760 * doc/automake.texi: ... here.
2761 * doc/Makefile.am: New file.
2762 * configure.in: Output doc/Makefile.
2763 * Makefile.am (SUBDIRS): Add doc.
2764 (ETAGS_ARGS, TAGS_DEPENDENCIES): Move to doc/Makefile.am.
2765
27662003-09-23 Alexandre Duret-Lutz <adl@gnu.org>
2767
2768 * aclocal.in (write_aclocal): Consider files with relative
2769 paths as local to the project, i.e., subject to m4_include.
2770 * tests/subpkg.test (ACLOCAL_AMFLAGS): Make sure m4_include
2771 is also used for .m4 files in the outer project.
2772
2773 Support for multiple inputs in AC_CONFIG_FILES.
2774 Requested long ago by Harlan Stenn.
2775 * automake.in (handle_dist): Remove unused argument $makefile.
2776 (handle_subdirs): Expect SUBDIRS elements in $relative_dir,
2777 not $am_relative_dir.
2778 (rewrite_inputs_into_dependencies): Allow $add_srcdir to
2779 be a filename that must always be prefixed by $(srcdir) or
2780 $(top_srcdir).
2781 (handle_configure, generate_makefile): Revamp to make the
2782 Makefile.am, Makefile.in, Makefile more independent.
2783 (locate_am): New function.
2784 (scan_configure_dep, parse_arguments): Use locate_am.
2785 (MAIN): Adjust call to generate_makefile.
2786 * lib/am/configure.am: Remove %MAKEFILE-IN% from the dependencies
2787 of %MAKEFILE%. %MAKEFILE-IN% is already in %MAKEFILE-DEPS%.
2788 * tests/output6.test, tests/output7.test: New files.
2789 * tests/Makefile.am (TESTS): Add them.
2790 * automake.texi (Requirements) <AC_CONFIG_FILES>: Document how
2791 multiple inputs are scanned.
2792
27932003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
2794
2795 * Makefile.am (FETCHFILES, fetch): Do not fetch lib/Automake/XFile.pm
2796 and lib/Automake/Struct.pm from Autoconf.
2797 * lib/Automake/XFile.pm: Update comment, Automake is now
2798 the master for this file. Cosmetic changes.
2799
28002003-09-09 Akim Demaille <akim@epita.fr>
2801
2802 * lib/Automake/FileUtils.pm (&update_file): s/cannot not/cannot/g.
2803 Reported by Gary Vaughan.
2804 (&find_file): Walk the @include in forward order.
2805
28062003-09-09 Akim Demaille <akim@epita.fr>
2807
2808 * lib/Automake/FileUtils.pm (&update_file): Be sure not to leave
2809 trailing files.
2810
28112003-09-07 Alexandre Duret-Lutz <adl@gnu.org>
2812
2813 Changes to m4_included files should also cause aclocal.m4 to change.
2814 * aclocal.in (m4_include_rx): New variable.
2815 (scan_configure_dep): New function.
2816 (scan_configure, add_file): Simplify using scan_configure_dep.
2817 * tests/Makefile.am (TESTS): Add acloca13.test.
2818 * tests/aclocal13.test: New file.
2819
2820 * tests/instsh.test: Do not reset $ACLOCAL and $AUTOMAKE now
2821 that we have fake version in the $PATH.
2822
2823 * aclocal.in (add_file): Remove useless filling of $output, probably
2824 left a after CVS conflict. This code is now in write_aclocal.
2825
2826 * aclocal.in (configure_ac): Do not call require_configure_ac
2827 before parsing the options.
2828 * automake.in (configure_ac): Likewise.
2829 * lib/Automake/Variable.pm (configure_ac): Do not require configure.ac,
2830 find it.
2831 * lib/Automake/Configure_ac.pm (require_configure_ac):
2832 find_configure_ac never return an undefined value, so test
2833 the file's existence instead.
2834 * tests/Makefile.am (TESTS): Add help.test.
2835 * tests/help.test: New file.
2836
28372003-09-06 Alexandre Duret-Lutz <adl@gnu.org>
2838
2839 * lib/Automake/XFile.pm: Update to use ChannelDefs.
2840 (close): Call Automake::FileUtils::handle_exec_errors on errors.
2841 * automake.in (scan_autoconf_files): Exit with $?=63 on version
2842 mismatch.
2843 (scan_autoconf_traces): Likewise. Close the autoconf pipe to
2844 capture abnormal exits.
2845 * aclocal.in ($exit_status): Remove, and use Channels.pm's $exit_code
2846 instead.
2847 (trace_used_macros): Close the autom4te pipe to capture abnormal exits.
2848 * lib/missing: When a tool has run and exited with $?=63, emulate
2849 it. Adjust the diagnostic and pretend the tool is tool old in this
2850 case. Use an emacs-updated "scriptversion" variable.
2851 * configure.in: Output tests/aclocal-${APIVERSION} and
2852 tests/automake-${APIVERSION}.
2853 * tests/aclocal.in, tests/automake.in,
2854 tests/missing.test, tests/missing2.test: New files.
2855 * tests/defs.in (AUTOMAKE, ACLOCAL, PATH): Define
2856 to use tests/aclocal-$APIVERSION and tests/automake-$APIVERSION.
2857 * tests/dup3.test: Remove. alocal9.test, acloca10.test, and others are
2858 already testing for this.
2859 * tests/depacl2.test, tests/dup2.test, tests/order.test: Fix
2860 configure.in so that aclocal works.
2861 * tests/defun.test: Quote the AC_DEFUN body.
2862 * tests/Makefile.am (TESTS): Add missing.test and missing2.test,
2863 and remove dup3.test.
2864 (check_SCRIPTS): Add aclocal and automake.
2865
2866 * tests/unused.test: Quote AC_DEFUN arguments.
2867
28682003-09-05 Paul Eggert <eggert@twinsun.com>
2869
2870 * NEWS, aclocal.in, automake.in, automake.texi, lib/ansi2knr.c,
2871 lib/depcomp, lib/missing, lib/py-compile,
2872 lib/Automake/Channels.pm, lib/Automake/Rule.pm,
2873 lib/Automake/Variable.pm, lib/Automake/tests/Condition.pl,
2874 lib/am/dejagnu.am, lib/am/depend.am, lib/am/lisp.am,
2875 lib/am/remake-hdr.am, lib/am/texi-vers.am, m4/obsolete.m4,
2876 m4/python.m4, tests/backsl4.test, tests/defs.in,
2877 tests/dejagnu7.test, tests/depacl2.test, tests/dirlist.test,
2878 tests/error.test, tests/getopt.test, tests/gnuwarn.test,
2879 tests/include2.test, tests/libobj10.test, tests/libtool5.test,
2880 tests/libtool6.test, tests/lisp3.test, tests/phony.test,
2881 tests/pr220.test, tests/subcond2.test, tests/subcond3.test,
2882 tests/vtexi.test:
2883 Spelling and minor grammar fixes.
2884
28852003-09-01 Alexandre Duret-Lutz <adl@gnu.org>
2886
2887 * lib/config.sub, lib/config.guess, lib/texinfo.tex,
2888 lib/config-ml.in, lib/symlink-tree: New upstream versions.
2889
28902003-08-31 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
2891
2892 * tests/yacc7.test: Require bison.
2893
28942003-08-31 Alexandre Duret-Lutz <adl@gnu.org>
2895
2896 * aclocal.in (scan_file): Warn about underquoted AC_DEFUN.
2897 ($underquoted_manual_once): New variable.
2898 * automake.texi (Extending aclocal): Document this.
2899
29002003-08-29 Alexandre Duret-Lutz <adl@gnu.org>
2901
2902 * aclocal.in (@file_order): New variable, to make sure
2903 files are output in the opposite order of the -I arguments.
2904 (scan_file): Fill it.
2905 (trace_used_macros, write_aclocal): Use it.
2906 (scan_m4_files): Reverse the directory contents, so that
2907 macros from the lexicographically greatest files are preferred.
2908 * tests/aclocal9.test, tests/acloca10.test, tests/acloca11.test:
2909 New files.
2910 * tests/Makefile.am (TESTS): Add them.
2911
29122003-08-24 Alexandre Duret-Lutz <adl@gnu.org>
2913
2914 For Debian Bug #206299:
2915 * automake.in ($configure_deps_greatest_timestamp,
2916 $output_deps_greatest_timestamp): New variables.
2917 (initialize_per_input): Reset $output_deps_greatest_timestamp.
2918 (scan_autoconf_traces, scan_autoconf_files, read_am_file):
2919 Update $configure_deps_greatest_timestamp and
2920 $output_deps_greatest_timestamp
2921 (generate_makefile): Rewrite the logic to decide whether
2922 to rewrite the output. Move the leading dup_channel_setup
2923 and trailing drop_channel_setup to MAIN, so that
2924 drop_channel_setup is executed for all exit paths.
2925 * tests/aclocal7.test: Update to check for $AUTOMAKE --no-force
2926 * tests/distcom6.test: New file. Report from Scott James Remnant.
2927 * tests/Makefile.am (TESTS): Add distcom6.test.
2928
2929 * configure.in: Require Autoconf 2.57b to be sure
2930 aclocal can use autom4te --language Autoconf-without-aclocal-m4.
2931 * m4/init.m4: Likewise. Move the AC_PREREQ and m4_pattern_allow
2932 calls inside the AM_INIT_AUTOMAKE macro.
2933 * m4/auxdir.m4, m4/cond.m4, m4/lex.m4, m4/regex.m4: Move
2934 AC_PREREQ calls inside the macros.
2935 * m4/header.m4: Remove AC_PREREQ.
2936
2937 * automake.in (file_contents_internal): Do not add newlines before
2938 empty actions.
2939
2940 * aclocal.in (write_aclocal): Take an output file and list of
2941 used macros in arguments and make up the file contents here.
2942 (trace_used_macros): New function.
2943 (add_file): Do not update $output.
2944 ($output): Delete.
2945 (MAIN): Call trace_used_macros. Then rewrite aclocal.m4 only
2946 for these traced macros. This should shorten aclocal.m4 by
2947 stripping out unused macros.
2948 * automake.texi (Invoking aclocal): Document ${AUTOM4TE}.
2949 * tests/aclibobj.test: Make sure configure.in exists by the time
2950 aclocal runs.
2951 * tests/aclocal8.test: New file.
2952 * tests/Makefile.am (TESTS): Add aclocal8.test.
2953 Suggested by Bruno Haible and Akim Demaille.
2954
29552003-08-21 Akim Demaille <akim@epita.fr>
2956
2957 * lib/Automake/Configure_ac.pm (&find_configure_ac)
2958 (&require_configure_ac): Accept an optional directory argument.
2959 ($configure_ac): Remove.
2960 * aclocal.in, automake.in ($configure_ac): New.
2961 * lib/Automake/Variable.pm: Don't use $configure_ac, just
2962 configure.ac.
2963
29642003-08-20 Akim Demaille <akim@epita.fr>
2965
2966 * lib/Automake/FileUtils.pm: More perldoc.
2967 (&up_to_date_p): New.
2968
29692003-08-17 Alexandre Duret-Lutz <adl@gnu.org>
2970
2971 Fix for PR automake/398:
2972 * m4/python.m4: Do not call AC_PATH_PROGS if $PYTHON is already
2973 set. Display `none' instead of `:' and $PYTHON is set to `:'
2974 when no suitable interpreter is found. Honor ACTION-IF-FOUND and
2975 ACTION-IF-NOT-FOUND.
2976 * automake.texi (Python): Document ACTION-IF-FOUND and
2977 ACTION-IF-NOT-FOUND.
2978 * tests/python4.test, tests/python5.test, tests/python6.test,
2979 tests/python7.test, tests/python8.test, tests/python9.test: New
2980 files.
2981 * tests/Makefile.am (TESTS): Add them.
2982 Report from Per Cederqvist.
2983
29842003-08-13 Alexandre Duret-Lutz <adl@gnu.org>
2985
2986 Fix for PR automake/399:
2987 * m4/python.m4: Use AC_PATH_PROGS, not AC_PATH_PROG.
2988 Report from Per Cederqvist.
2989
29902003-08-12 Raja R Harinath <harinath@acm.org>
2991
2992 * lib/Automake/Condition.pm (strip): Replace loop with 'grep'.
2993 (not): Replace loop with 'map'.
2994 * lib/Automake/DisjConditions.pm (sub_conditions): Likewise.
2995 * lib/Automake/Item.pm (not_alwasy_defined_in_cond):
2996 Don't 'simplify' result of 'invert', since it's already in
2997 canonical form.
2998 * lib/Automake/Rule.pm (define): Replace loop with
2999 'not_always_defined_in_cond'.
3000
3001 * lib/Automake/DisjConditions.pm (ambiguous_p): Typo in comment.
3002 * lib/Automake/Rule.pm (accept_extensions, msg_cond_rule): Likewise.
3003 (define): Reword comment slightly.
3004 * Variable.pm (_var_order, msg_cond_var): Typo in comment.
3005 * tests/cond20.test (var2): Use foo.c instead of foo.cc to avoid
3006 spurious automake error exit.
3007
30082003-08-12 Alexandre Duret-Lutz <adl@gnu.org>
3009
3010 * lib/Automake/Item.pm, lib/Automake/ItemDef.pm: New files.
3011 * lib/Automake/Rule.pm, lib/Automake/RuleDef.pm: New files.
3012 * lib/Automake/Makefile.am (dist_perllib_DATA): Add them.
3013 * lib/Automake/VarDef.pm: Make this a subclass of Automake::ItemDef.
3014 (new): Adjust to call Automake::ItemDef::new.
3015 (comment, location, owner): Delete. Now inherited from ItemDef.
3016 * lib/Automake/Variable.pm: Make this a subclass of Automake::Item.
3017 (_new): Adjust to call Automake::Item::new.
3018 (name, def, rdef, _set, conditions, not_always_defined_in_cond):
3019 Delete. How inherited from Item, where `_set' is called `set'.
3020 * automake.in (SUFFIX_RULE_PATTERN): Delete. Now in Automake::Rule.
3021 (suffix_rules_default): Delete. Now
3022 Automake::Rule::_suffix_rules_default
3023 (suffixes): Delete. Now Automake::Rule::suffixes.
3024 (TARGET_AUTOMAKE, TARGET_USER): Delete. Now
3025 Automake::RuleDef::RULE_AUTOMAKE and Automake::RuleDef::RULE_USER.
3026 (%targets, %target_source, %target_name, %target_owner): Delete,
3027 replaced by the Rule and RuleDef classes.
3028 (dependencies, depend, actions): Delete. Now in Automake::Rule.
3029 (suffix_rules, register_suffix_rule): Likewise.
3030 (KNOWN_EXTENSIONS_PATTERN, accept_extensions): Likewise.
3031 (known_extensions_list): Delete. Now
3032 Automake::Rule::_known_extensions_list.
3033 (target_conditions): Delete. Now inherited by Automake::Rule
3034 from Automake::Item::conditions.
3035 (rule_define): Delete. Now Automake::Rule::define. Adjust all
3036 callers.
3037 (target_defined): Delete. Now Automake::Rule::rule. Adjust all
3038 callers.
3039 (initialize_per_input): Adjust to call Automake::Rule::reset.
3040 (err_target, err_cond_target, msg_cond_target, msg_target,
3041 reject_target): Delete. Now defined in Automake::Rule as
3042 err_rule, err_cond_rule, msg_cond_rule, msg_rule and reject_target.
3043 Adjust all callers.
3044 (handle_languages): Call suffix_rules_count.
3045 * tests/location.test: Adjust expected diagnostics. We now display
3046 $(EXEEXT) accurately.
3047
30482003-08-10 Alexandre Duret-Lutz <adl@gnu.org>
3049
3050 Revert the fix for PR automake/291:
3051 * lib/Automake/Variable.pm (define): Do not warn about variables
3052 starting with `_' which are an issue on NEWS-OS 4.2R. According
3053 to Paul Eggert, NEWS-OS 4.2R is ten years old, the latest version
3054 was released on 1996 and is not in wide use. On the other hand,
3055 variables starting with `_' are mandatory in several situations,
3056 so diagnosing them is more annoying than useful.
3057 * tests/canon5.test: Do not use -Wno-portability.
3058 * tests/vars2.test: Delete.
3059 * tests/Makefile.am (TESTS): Remove vars2.test.
3060 Suggested by Jim Meyering.
3061
30622003-08-09 Raja R Harinath <harinath@acm.org>
3063
3064 * lib/Automake/DisjConditions.pm (ambiguous_p): Simplify slightly.
3065 * lib/Automake/tests/DisjConditions.pl (test_ambig): Test
3066 Automake::Disjunctions::ambiguous_p.
3067
30682003-08-07 Alexandre Duret-Lutz <adl@gnu.org>
3069
3070 * lib/Automake/Variable.pm (condition_ambiguous_p): Move ...
3071 * lib/Automake/DisjConditions.pm (ambiguous_p): ... here.
3072 * automake.in (rule_define): Adjust usage.
3073 * lib/Automake/Variable.pm (_check_ambiguous_condition): Likewise.
3074
3075 * lib/Automake/Options.pm: New file.
3076 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Options.pm.
3077 * automake.in (FOREIGN, GNU, GNITS, $default_strictness)
3078 ($default_strictness_name, $strictness, $strictness_name)
3079 (%options, %global_options, process_option_list)
3080 (set_strictness): Remove, now in Options.pm.
3081 (initialize_per_input): Call Automake::Options::reset.
3082 (handle_options, get_object_extension, get_object_extension)
3083 (handle_languages, handle_single_transform_list, handle_compile)
3084 (handle_texinfo_helper, handle_man_pages, handle_dist)
3085 (handle_configure, do_check_merge_target)
3086 (handle_factored_dependencies, handle_tests)
3087 (handle_minor_options, scan_autoconf_traces, check_cygnus)
3088 (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define)
3089 (make_paragraphs, am_install_var, parse_arguments): Adjust
3090 to set and read options via the new interface.
3091
30922003-08-07 Raja R Harinath <harinath@acm.org>
3093
3094 * Makefile.am (maintainer-check): Update perllibdir.
3095 * lib/Automake/Makefile.am (Config.pm): Depend on Makefile too.
3096 (EXTRA_DIST): Add Config.in.
3097 * Makefile.in, lib/Automake/Makefile.in: Regenerate.
3098 * tests/defs.in (AUTOMAKE, ACLOCAL): Use absolute paths in
3099 $perllibdir.
3100
31012003-08-06 Raja R Harinath <harinath@acm.org>
3102
3103 * configure.in (AUTOMAKE, ACLOCAL): Search the 'lib' directory
3104 from the builddir too, to pick up Automake::Config.
3105 * tests/defs.in (AUTOMAKE, ACLOCAL): Likewise.
3106 * configure: Regenerate.
3107 * automake.in (BEGIN): Handle multiple directories in $perllibdir.
3108 * aclocal.in (BEGIN): Likewise.
3109
31102003-08-07 Alexandre Duret-Lutz <adl@gnu.org>
3111
3112 * tests/ltcond.test: Thinko.
3113
31142003-08-06 Alexandre Duret-Lutz <adl@gnu.org>
3115
3116 * lib/Automake/Config.in: New file.
3117 * lib/Automake/Makefile.am (nodist_perllib_DATA, do_subst,
3118 CLEANFILES): New variables.
3119 (Config.pm): New rule.
3120 * Makefile.am (maintainer-check): Adjust expected differences
3121 between automake.in and automake.
3122 * aclocal.in, automake.in: Use Automake::Config.
3123
31242003-08-05 Alexandre Duret-Lutz <adl@gnu.org>
3125
3126 * tests/ltconv.test: s/rm/rm -f/ to placate maintainer-check.
3127
3128 * automake.in (handle_texinfo_helper): Use the user definition
3129 of TEXINFO_TEX before checking for cygnus or AC_CONFIG_AUX_DIR.
3130 * tests/txinfo22.test: New file.
3131 * tests/Makefile.am (TESTS): Add txinfo22.test.
3132 Report from Tom Tromey.
3133
31342003-08-03 Raja R Harinath <harinath@acm.org>
3135
3136 * lib/Automake/Variable.pm (@EXPORT): Remove
3137 traverse_variable_recursively and
3138 require_variables_for_variable.
3139 (require_variables_for_variable, traverse_variable_recursively)
3140 (_traverse_variable_recursively_worker): Convert to
3141 Automake::Variable methods, remove support for being
3142 invoked with variable names, and rename to ...
3143 (requires_variables, traverse_recursively)
3144 (_do_recursive_traversal): ... these.
3145 (_value_as_list_recursive_worker, transform_variable_recursively):
3146 Update to reflect changes.
3147 * automake.in (handle_LIBOBJS, handle_ALLOCA)
3148 (handle_libraries, handle_ltlibraries, am_primary_prefixes):
3149 Likewise.
3150 (define_objects_from_sources): Fix typo in comment.
3151
31522003-08-02 Raja R Harinath <harinath@acm.org>
3153
3154 * automake.in (handle_source_transform): Replace 'grep' with 'map'.
3155 (register_language): Replace 'grep' with 'foreach' modifier.
3156
31572003-08-01 Raja R Harinath <harinath@acm.org>
3158
3159 * lib/Automake/Variables.pm (variables): Return a list of
3160 Automake::Variable instances, not a list of strings.
3161 (dump): Remove support for being invoked with a string.
3162 (variables_dump): Adapt to these changes.
3163 * automake.in (check_typos): Likewise.
3164 (am_primary_prefixes): Likewise.
3165
31662003-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
3167
3168 * lib/depcomp (aix): Support AIX Compiler version 6.
3169
31702003-07-31 Alexandre Duret-Lutz <adl@gnu.org>
3171
3172 * automake.texi (A Shared Library): Rewrite and split into
3173 subsections. Valuable comments from Norman Gray, Harlan Stenn,
3174 Tim Van Holder, and Guido Draheim.
3175 * tests/ltcond.test, tests/ltcond2.test, tests/ltconv.test: New files.
3176 * tests/Makefile.am (TESTS): Add them.
3177
31782003-07-30 Alexandre Duret-Lutz <adl@gnu.org>
3179
3180 * automake.in (handle_single_transform_list): Complain about
3181 foo.$(OBJEXT) being created both with libtool and without, not
3182 about foo.lo.
3183 Report from Tim Van Holder.
3184
31852003-07-29 Alexandre Duret-Lutz <adl@gnu.org>
3186
3187 * Makefile.am (FETCHFILES, fetch): Add config-ml.in and
3188 symlink-tree.
3189 * lib/config.sub, lib/config-ml.in, lib/texinfo.tex: New
3190 upstream versions.
3191
31922003-07-28 Alexandre Duret-Lutz <adl@gnu.org>
3193
3194 * automake.in (handle_configure): Cosmetic change to avoid
3195 a maintainer-check complaint.
3196
31972003-07-27 Alexandre Duret-Lutz <adl@gnu.org>
3198
3199 * lib/Automake/Variable.pm (@EXPORT): Remove variable_dump.
3200 (variable_dump): Replace by ...
3201 (dump): ... this method.
3202 (rdef, _check_ambiguous_condition): Adjust to use ->dump.
3203 (define, variables_dump): Adjust to use Automake::Variable::dump
3204
3205 * lib/am/compile.am (mostlyclean-compile): Do not erase core dumps.
3206 * automake.texi (Built sources example): Adjust example.
3207
32082003-07-26 Alexandre Duret-Lutz <adl@gnu.org>
3209
3210 * automake.in (get_object_extension, handle_languages)
3211 (handle_single_transform_list, handle_compile, handle_compile)
3212 (handle_texinfo_helper, handle_texinfo_helper, handle_man_pages)
3213 (handle_tests, handle_minor_options, check_gnu_standards)
3214 (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define):
3215 Simplify "if (defined $options{'X'})" into "if ($options{'X'})".
3216
3217 Complete changes from 2003-07-08.
3218 * automake.in ($cmdline_use_dependencies, $use_dependencies): Remove,
3219 replaced by $options{'no-dependencies'}.
3220 ($global_options): Remove.
3221 (%global_options): New variable.
3222 (initialize_per_input): Empty %options.
3223 (process_option_list): Take a location and %options ref argument,
3224 process no-dependencies as other options.
3225 (handle_options): Do not reparse the global options, just initialize
3226 %options from %global_options and fill it with local options.
3227 (handle_languages, handle_single_transform_list)
3228 (handle_configure, check_cygnus): Adjust usage of
3229 $options{'no-dependencies'}.
3230 (make_paragraphs): Adjust usage of $options{'cygnus'}.
3231 (parse_arguments): Set cygnus and no-dependencies in %global_options.
3232 (scan_autoconf_traces) <AM_INIT_AUTOMAKE>: Call process_option_list
3233 to fill %global_options.
3234
32352003-07-25 Alexandre Duret-Lutz <adl@gnu.org>
3236
3237 * tests/remake4.test: Use `$MAKE distdir' instead of `$MAKE dist' to
3238 avoid the use of tar.
3239
32402003-07-24 Alexandre Duret-Lutz <adl@gnu.org>
3241
3242 * tests/gnuwarn2.test: Typo.
3243
3244 * tests/insthook.test: Use $MAKE, not make.
3245
3246 Fix missing rebuilds during `make dist' with BSD make.
3247 * automake.in (generate_makefile): Do not push Makefile.in, and
3248 Makefile.am into DIST_COMMON here.
3249 * lib/am/configure.am (DIST_COMMON): Do it here, and use
3250 %MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON
3251 actually match the targets. Prefix `configure' with `$(srcdir)/'
3252 to match the target.
3253 * tests/remake4.test: New file.
3254 * tests/Makefile.am (TESTS): Add remake4.test.
3255 Report from Akim Demaille.
3256
32572003-07-23 Alexandre Duret-Lutz <adl@gnu.org>
3258
3259 * automake.in (handle_multilib): Register all-multi.
3260 (file_contents_internal): Insert \n when concatenating actions
3261 from "factored" rules.
3262 * lib/config-ml.in: New file, from GCC, including a patch
3263 from Ralf Corsepius (see GCC's PR 11526).
3264 * lib/symlink-tree.in: New file, from GCC.
3265 * lib/Makefile.am (dist_script_DATA): Add config-ml.in and
3266 symlink-tree.
3267 * lib/am/clean.am (distclean-generic): Do not delete Makefile here...
3268 (distclean, maintainer-clean): ... do it here.
3269 * lib/am/depend.am (distclean-depend): Likewise, replace by
3270 (distclean, maintainer-clean): ... these.
3271 * lib/am/multilib.am (all-recursive, install-recursive,
3272 mostlyclean-recursive, clean-recursive, distclean-recursive,
3273 maintainer-clean-recursive): Remove these rules.
3274 (mostlyclean-am, clean-am, distclean-am, maintainer-clean-am): Replace
3275 by ...
3276 (mostlyclean, clean, distclean, maintainer-clean): ... these.
3277 (all-am): Remove, done in handle_multilib.
3278 (install-am): Replace by ...
3279 (install-exec-am): ... this.
3280 * tests/Makefile.am (TESTS): Add multlib.test.
3281 * tests/multlib.test: New file, based on a test case by
3282 Ralf Corsepius
3283
32842003-07-23 Tom Tromey <tromey@redhat.com>
3285
3286 * lib/missing (autom4te): Typo.
3287
32882003-07-16 Derek Price <derek@ximbiot.com>
3289
3290 * automake.in (scan_autoconf_traces): Handle AC_CONFIG_LINKS.
3291 (handle_configure): Handle adding AC_CONFIG_LINKS arguments to
3292 distclean targets (CONFIG_CLEAN_FILES makefile var).
3293 * NEWS: Note new handling of AC_CONFIG_LINKS.
3294 * automake.texi (Other things Automake recognizes): Ditto.
3295 * tests/Makefile.am (TESTS): Add new tests.
3296 * tests/conflnk.test: New test that links are cleaned on distclean.
3297 * tests/conflnk2.test: New test that source files for links are
3298 distributed.
3299
33002003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
3301
3302 * automake.in (scan_autoconf_traces): Trace AM_ENABLE_MULTILIB to
3303 render $seen_multilib functional again.
3304
33052003-07-10 Raja R Harinath <harinath@cs.umn.edu>
3306
3307 Avoid using refs as hash keys.
3308 * lib/Automake/Variable.pm ($_traversal): New.
3309 (reset): Reset $_traversal.
3310 (_new): New attribute 'scanned'.
3311 (%_vars_scanned): Remove.
3312 (traverse_variable_recursively)
3313 (traverse_variable_recursively_worker):
3314 Use $_traversal instead of %_vars_scanned to detect recursively
3315 defined variables.
3316
3317 * lib/am/configure.am (am--refresh): Silence.
3318
33192003-07-10 Alexandre Duret-Lutz <adl@gnu.org>
3320
3321 * lib/Automake/Variable.pm (define): Make clear the diagnostic
3322 about variable names starting with `_' is about *Make* variables.
3323
3324 For Debian Bug #193907:
3325 * automake.texi (Clean): make maintainer-clean should still
3326 allow ./configure && make to run.
3327
3328 * automake.texi (CVS): Typo.
3329
33302003-07-09 Alexandre Duret-Lutz <adl@gnu.org>
3331
3332 * aclocal.in: Use Automake::FileUtils.
3333 (parse_arguments, scan_configure, scan_m4_files): Never call
3334 "die" to print an error message. Use print and exit.
3335 * automake.in: Use Automake::FileUtils.
3336 * lib/Automake/General.pm ($debug, $help, $tmp, $verbose,
3337 $version, &debug, &getopt, &mktmpdir, &verbose): Remove.
3338 (END): Do not massage Perl's exit code. Do not clean any temporary
3339 directory.
3340 (find_file, mtime, update_file, xsystem, contents): Move to ...
3341 * lib/Automake/FileUtils.pm: ... this new file. Adjust to
3342 report errors using Channels.
3343 (handle_exec_errors, xqx): New functions, from Autoconf.
3344 * lib/Automake/Makefile.am (dist_perllib_DATA): Add FileUtils.pm.
3345
3346 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
3347 Return the empty list on recursively defined variable. This
3348 supersedes my change of 2003-07-02.
3349
33502003-07-08 Akim Demaille <akim@epita.fr>
3351
3352 * automake.in ($cygnus_mode): Replace with $options{'cygnus'}.
3353 Adjust all dependencies.
3354 (&depend): Move next to %dependencies and prototype.
3355 (&initialize_per_input): Initialize the 'cygnus' field of
3356 '%options' to spare the code from 'exists' or 'defined' when
3357 testing it.
3358 (&handle_configure, &do_check_merge_target, &check_cygnus): Prototype.
3359 (&parse_arguments): Rename '%options' and '%options_1st_pass' as
3360 '%cli_options' and '%cli_options_1st_pass' to avoid clashes and
3361 inconsistencies.
3362
33632003-07-07 Alexandre Duret-Lutz <adl@gnu.org>
3364
3365 * automake.in (generate_makefile): Move near the end of the
3366 file, after the definition of all called functions, so that
3367 prototypes can be enforced.
3368
33692003-07-06 Akim Demaille <akim@epita.fr>
3370
3371 * lib/am/subdirs.am (RECURSIVE_TARGETS): Move install-recursive,
3372 install-exec-recursive, install-data-recursive and
3373 uninstall-recursive addition to...
3374 * lib/am/texinfos.am: here.
3375 * lib/am/texinfos.am, lib/am/subdirs.am: Remove the .PHONY
3376 declaration of RECURSIVE_TARGETS.
3377
33782003-07-06 Akim Demaille <akim@epita.fr>
3379
3380 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm (VAR_SORTED):
3381 New variable type.
3382 Handle it.
3383 * automake.in (&handle_subdirs): Prototype.
3384 Adjust callers.
3385 Make RECURSIVE_TARGETS a VAR_SORTED.
3386
33872003-07-06 Akim Demaille <akim@epita.fr>
3388
3389 * automake.in (&define_files_variable): New.
3390 (&handle_texinfo_helper): Move the handling of user variables from
3391 here, to...
3392 (&handle_texinfo): here.
3393 This is to balance the size of these functions, and to match the
3394 convention of other _helper functions.
3395 (&handle_texinfo_helper): Use &define_files_variable.
3396 Move some code to use less variables.
3397 Rename $info_cursor as $texi.
3398 (&handle_texinfo): Do not call handle_texinfo_helper if there are
3399 no TEXINFOS.
3400 * lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps
3401 and html.
3402 Remove *-recursive targets from .PHONY, they are part of
3403 $(RECURSIVE_TARGETS) anyway.
3404 (install-info, mostlyclean-aminfo): Are .PHONY.
3405
34062003-07-05 Akim Demaille <akim@epita.fr>
3407
3408 * lib/am/distdir.am: Use ';' as a terminator, not a separator, for
3409 sed complex commands, as required by NetBSD sed.
3410 Reported by Patrick Welche.
3411
34122003-07-05 Alexandre Duret-Lutz <adl@gnu.org>
3413
3414 * lib/config.guess, lib/config.sub: New upstream version.
3415
34162003-07-04 Alexandre Duret-Lutz <adl@gnu.org>
3417
3418 * automake.texi (Optional, Dist): AC_CONFIG_AUX_DIR files
3419 are automatically distributed.
3420
3421 * lib/depcomp (icc): Update to grok ICC 7.1's output.
3422 * m4/depend.m4 (_AM_DEPENDENCIES): Check dependency generation
3423 in a subdirectory, and with many dependencies. This
3424 catches more failures of depcomp.
3425 Reports from Ralf Wildenhues and Akim Demaille.
3426
34272003-07-04 Akim Demaille <akim@epita.fr>
3428
3429 * automake.in (&scan_texinfo_file, &output_texinfo_build_rules,
3430 (&handle_texinfo_helper, &handle_texinfo): Formatting changes.
3431 Prototype properly.
3432 Don't use & when calling functions.
3433
34342003-07-03 Alexandre Duret-Lutz <adl@gnu.org>
3435
3436 * NEWS: Categorize entries.
3437 Suggested by Jim Meyering.
3438
3439 * Makefile.am (maintainer-clean): Disallow '$AUTOMAKE && exit 1'.
3440 Ignore @...@ substitutions in comments.
3441 * tests/defs.in: Try to make the shell more POSIX compliant.
3442 (AUTOMAKE_run, AUTOMAKE_fails): New functions.
3443 * tests/README: Mention AUTOMAKE_fails.
3444 * tests/alloca.test, tests/alloca2.test, tests/ansi8.test,
3445 * tests/asm.test, tests/backsl3.test, tests/backsl4.test,
3446 * tests/badline.test, tests/badopt.test, tests/canon.test,
3447 * tests/canon5.test, tests/colneq.test, tests/comment3.test,
3448 * tests/comment5.test, tests/cond2.test, tests/cond20.test,
3449 * tests/cond23.test, tests/cond24.test, tests/cond27.test,
3450 * tests/condinc2.test, tests/conff2.test, tests/cxx2.test,
3451 * tests/dejagnu2.test, tests/dirforbid.test,
3452 * tests/distcom3.test, tests/else.test, tests/exdir2.test,
3453 * tests/exeext2.test, tests/gcj2.test, tests/gcj5.test,
3454 * tests/getopt.test, tests/gettext.test, tests/gettext2.test,
3455 * tests/gnits.test, tests/gnuwarn.test, tests/gnuwarn2.test,
3456 * tests/insh.test, tests/lex2.test, tests/libobj10.test,
3457 * tests/libobj12.test, tests/libobj13.test,
3458 * tests/libobj3.test, tests/library2.test,
3459 * tests/library3.test, tests/libtool4.test,
3460 * tests/libtool6.test, tests/lisp2.test, tests/location.test,
3461 * tests/nogzip2.test, tests/output5.test, tests/overrid.test,
3462 * tests/percent.test, tests/percent2.test,
3463 * tests/pluseq5.test, tests/pluseq7.test, tests/pluseq9.test,
3464 * tests/pr211.test, tests/primary.test, tests/primary2.test,
3465 * tests/python2.test, tests/recurs.test, tests/reqd2.test,
3466 * tests/seenc.test, tests/specflg.test, tests/specflg2.test,
3467 * tests/spell.test, tests/spell2.test, tests/srcsub.test,
3468 * tests/srcsub2.test, tests/stdlib.test, tests/subdir7.test,
3469 * tests/substtarg.test, tests/suffix11.test,
3470 * tests/symlink.test, tests/syntax.test,
3471 * tests/targetclash.test, tests/txinfo4.test,
3472 * tests/version3.test, tests/warnopts.test,
3473 * tests/xsource.test, tests/yacc2.test: Use set -e,
3474 AUTOMAKE_fails, and always grep error message.
3475
3476 * automake.in (handle_ltlibraries): Fix call to msg.
3477
3478 * tests/stamph.test: Delete.
3479 * tests/Makefile.am (TESTS): Remove stamph.test.
3480
3481 * automake.in (handle_single_transform_list): Use $var->name
3482 to print variable in the configure-substitution diagnostic.
3483 Do not mention the parent when it is the variable itself.
3484
3485 * tests/package.test: Delete.
3486 * tests/Makefile.am (TESTS): Remove package.test.
3487
3488 * automake.in (cond_stack_else): Return FALSE if `if' was not
3489 used.
3490 (cond_stack_endif): Return TRUE if `if' was not used. Do not
3491 display $negate and $cond, they are irrelevant and maybe undefined.
3492
34932003-07-02 Alexandre Duret-Lutz <adl@gnu.org>
3494
3495 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
3496 Do not return undef when a variable is recursively defined, this
3497 causes warnings all over the place. Return the empty string instead.
3498
3499 * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES
3500 from empty DIST_ARCHIVES.
3501
35022003-07-01 Alexandre Duret-Lutz <adl@gnu.org>
3503
3504 * automake.in (scan_autoconf_traces): Check the expected
3505 number of arguments of each traced macro.
3506 * tests/overrid.test: Fix call to AM_CONDITIONAL.
3507 * tests/conff2.test: New files.
3508 * tests/Makefile.am (TESTS): Add conff2.test.
3509 Report from Paolo Bonzini.
3510
35112003-06-30 Alexandre Duret-Lutz <adl@gnu.org>
3512
3513 * automake.in ($SUBST_REF_PATTERN): Do not define.
3514 (%gen_varname): Move to Variable.pm, as %_gen_varname.
3515 (initialize_per_input): Do not clean %gen_varname.
3516 (handle_options, check_libobjs_sources, handle_source_transform,
3517 handle_LIBOBJS, handle_ltlibraries, handle_texinfo_helper,
3518 handle_man_pages, handle_dist, handle_subdirs, handle_gettext,
3519 am_install_var): Adjust to use value_as_list_recursive,
3520 loc_and_value_as_list_recursive, and has_conditional_contents.
3521 (require_file_with_macro): Accept an Automake::Variable as argument.
3522 (traverse_variable_recursively,
3523 traverse_variable_recursively_worker, gen_varname,
3524 transform_variable_recursively): Move ...
3525 * lib/Automake/Variable.pm (traverse_variable_recursively,
3526 _traverse_variable_recursively_worker,
3527 _gen_varname, transform_variable_recursively): ... here.
3528 * automake.in (variable_conditionally_defined,
3529 variable_value_as_list_recursive_worker,
3530 variable_value_as_list_recursive
3531 variable_loc_and_value_as_list_recursive): Move ...
3532 * lib/Automake/Variable.pm (has_conditional_contents,
3533 _value_as_list_recursive_worker,
3534 value_as_list_recursive, loc_and_value_as_list_recursive): ... here.
3535 (reset): Reset %_gen_varname.
3536 (require_variables_for_variable): Accept an Automake::Variable
3537 as argument.
3538
35392003-06-27 Alexandre Duret-Lutz <adl@gnu.org>
3540
3541 * tests/aclocal6.test: Test maintainer-clean in VPATH
3542 builds. (For Ralf's fix.)
3543
35442003-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
3545
3546 * lib/am/configure.am (maintainer-clean): Remove
3547 $(top_srcdir)/autom4te.cache, not autom4te.cache.
3548
35492003-06-27 Akim Demaille <akim@epita.fr>
3550
3551 * automake.texi: Use @node with a single argument.
3552
35532003-06-27 Alexandre Duret-Lutz <adl@gnu.org>
3554
3555 * m4/Makefile.am (dist_m4data_DATA): Add $(top_srcdir)/m4/amversion.m4.
3556
3557 * lib/am/distdir.am (distcheck): Run $(am__remove_distdir)
3558 at the end of distcheck. This was mistakenly removed on
3559 2003-06-15.
3560 * tests/subpkg.test: Make sure distcheck cleans up after itself.
3561
3562 * m4/Makefile.am ($(srcdir)/amversion.m4): Rename as ...
3563 ($(top_srcdir)/m4/amversion.m4): ... this.
3564 (DISTCLEANFILES): Remove.
3565 (nodist_m4data_DATA): Remove. amversion.m4 is automatically
3566 distributed.
3567 (EXTRA_DIST): Add amversion.in.
3568
35692003-06-25 Akim Demaille <akim@epita.fr>
3570
3571 * automake.texi (Top): Use @copying and @insertcopying.
3572 Make Alexandre an author.
3573 * automake.in ($gen_copyright): Add the "(C)" to Copyright.
3574 * lib/depcomp: Likewise.
3575
35762003-06-23 Alexandre Duret-Lutz <adl@gnu.org>
3577
3578 * lib/Automake/Variable.pm (vardef, rvardef, set_seen): New functions.
3579 (variable_defined, examine_variable): Remove.
3580 (%_ac_macro_for_var): Add an entry for ALLOCA.
3581 (require_variables): Use vardef instead of variable_defined.
3582 Do not use _cvar.
3583 * automake.in (generate_makefile): Do not push $(SOURCE) into
3584 @sources. Use define_pretty_variable to define SOURCES.
3585 (handle_LIBOBJS, handle_ALLOCA): Use require_variables_for_variable
3586 to require LIBOBJS, LTLIBOBJS and ALLOCA.
3587 (handle_programs, handle_ltlibraries): Do not define an empty
3588 _DEPENDENCIES or _LDFLAGS variable when none is defined.
3589 (define_configure_variable): Do not check whether the variable
3590 already exists (it's Automake::Variable::define's job).
3591 (require_build_directory): Likewise, do not check
3592 the existence of am__dirstamp.
3593 (generate_makefile, handle_options, handle_languages)
3594 (check_libobjs_sources, handle_single_transform_list)
3595 (traverse_variable_recursively_worker, handle_source_transform)
3596 (handle_lib_objects, handle_LIBOBJS, handle_compile)
3597 (handle_libtool, handle_programs, handle_libraries)
3598 (handle_ltlibraries, check_typos, handle_texinfo_helper)
3599 (handle_man_pages, handle_tags, handle_dist, handle_subdirs)
3600 (scan_aclocal_m4, handle_gettext, handle_footer, handle_install)
3601 (handle_all, do_check_merge_target, handle_clean, lang_c_finish)
3602 (handle_tests, lang_yacc_target_hook, define_pretty_variable)
3603 (define_compiler_variable, define_linker_variable)
3604 (make_paragraphs, am_primary_prefixes, am_install_var): Adjust to
3605 call var, vardef, or set_seen, instead of variable_defined. Use
3606 set_seen only for variables which are actually checked by
3607 check_typos.
3608 * tests/target.test: Delete.
3609 * tests/alloca.test, tests/alloca2.test: New files.
3610 * tests/libobj3.test: Check error message.
3611 * tests/distcom4.test: Make sure configure is in DIST_COMMON.
3612 This replace confdist.test.
3613 * tests/Makefile.am (TESTS, XFAIL_TESTS): Remove target.test.
3614 (TESTS): Add alloca.test and alloca2.test. Remove confdist.test.
3615
36162003-06-20 Alexandre Duret-Lutz <adl@gnu.org>
3617
3618 * automake.in (handle_dist): Delete DIST_COMMON before redefining
3619 it. Bug report from Akim Demaille.
3620 (rewrite_inputs_into_dependencies): Make sure we always return
3621 something, even when $add_srcdir is 0.
3622 * tests/distcom4.test, tests/distcom5.test: New files.
3623 * tests/Makefile.am (TESTS): Add distcom4.test and distcom5.test.
3624
3625 * tests/cond29.test: Also check for _SOURCES.
3626 Report from Paolo Bonzini.
3627
36282003-06-20 Akim Demaille <akim@epita.fr>
3629
3630 * lib/am/configure.am: Replace leading spaces with a real tab.
3631
36322003-06-15 Alexandre Duret-Lutz <adl@gnu.org>
3633
3634 * tests/nogzip.test, tests/nogzip2.test: New files.
3635 * tests/Makefile.am (TESTS): Add nogzip.test and nogzip2.test
3636
36372003-06-15 Akim Demaille <akim@epita.fr>
3638
3639 * automake.in (&make_paragraphs): Define %GZIP%.
3640 (&process_option_list): Accept no-dist-gzip2.
3641 (&handle_dist): Complain when no archive format is enabled.
3642 * lib/am/distdir.am (DIST_ARCHIVES): New variable.
3643 (dist-gzip, dist-bzip2, dist-tarZ, dist-zip): No longer
3644 conditioned.
3645 (dist): Build $(distdir).tar.gz conditionally.
3646 (distcheck): Use DIST_ARCHIVES to find an archive to unpack, and
3647 to list built archives. Run $(MAKE) dist instead of dist-gzip.
3648 * automake.texi (Options, The types of distributions): Adjust.
3649
36502003-06-15 Jens Elkner <elkner@imsgroup.de> (tiny change)
3651
3652 * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with
3653 POSIXLY_CORRECT=1.
3654
36552003-06-14 Karl Berry <karl@gnu.org>
3656 Alexandre Duret-Lutz <adl@gnu.org>
3657
3658 * mkinstalldirs (scriptversion): New variable. Setup emacs hooks
3659 to update it each time the file is written, as in install-sh.
3660 (usage): Improve message.
3661 (--version): New option.
3662 (--help): Output to stdout, not stderr.
3663
36642003-06-13 Paul Eggert <eggert@twinsun.com>
3665
3666 * lib/install-sh (dsttmp, rmtmp): Do not use '#' in file names;
3667 it's not guaranteed by POSIX and it doesn't work on OpenVMS.
3668 Bug reported by Bernard Giroud in:
3669 http://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html
3670
36712003-06-05 Alexandre Duret-Lutz <adl@gnu.org>
3672
3673 * automake.in (check_gnu_standards): Use no-installman and
3674 no-installinfo's locations.
3675 (process_option_list): Fill %options with locations.
3676 (check_cygnus) Fill $options{'no-installinfo'} and
3677 $options{'no-dependencies'} with $cygnus_mode, so that it
3678 remains a Location.
3679 * tests/gnuwarn2.test: New file.
3680 * tests/Makefile.am (TESTS): Add gnuwarn2.test.
3681
36822003-06-04 Alexandre Duret-Lutz <adl@gnu.org>
3683
3684 * automake.in (process_option_list): Record the location
3685 of ansi2knr's definition.
3686 (handle_compile): Use it.
3687 * tests/ansi3.test: Make sure the location appears correctly.
3688 Update to use set -e.
3689 * tests/ansi3b.test: New file.
3690 * tests/Makefile.am (TESTS): Add ansi3b.test.
3691
3692 * tests/alpha.test: Really run $MAKE. Augment to test
3693 subdirectories, and check-news report.
3694 * tests/alpha2.test: New file. Bug report from Akim Demaille.
3695 * tests/gnits2.test: Make sure README-alpha is not distributed.
3696 * tests/Makefile.am (TESTS): Add alpha2.test.
3697 * automake.in (handle_minor_options): Distribute README-alpha
3698 using push_dist_common, not require_file_with_macro.
3699
37002003-06-03 Alexandre Duret-Lutz <adl@gnu.org>
3701
3702 * lib/Automake/Configure_ac.pm
3703 (search_configure_ac, find_configure_ac): Rename as ...
3704 (find_configure_ac, require_configure_ac): ... these.
3705 * aclocal.in (scan_configure): Adjust call to require_configure_ac.
3706 * automake.in (scan_autoconf_files): Likewise.
3707 Suggested by Tim Van Holder.
3708
3709 * alocal.in: Use Automake::Configure_ac.
3710 ($configure_ac): Delete.
3711 (scan_configure): Adjust use of find_configure_ac;
3712 * automake.in: Use Automake::Configure_ac.
3713 ($configure_ac): Delete.
3714 (scan_autoconf_files): Adjust use of find_configure_ac;
3715 * lib/Automake/Configure_ac.pm: New file.
3716 * lib/Automake/General.pm (find_configure_ac): Delete. Now
3717 replaced by Automake::Configure_ac::search_configure_ac.
3718 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Configure_ac.pm.
3719 * lib/Automake/Variable.pm: Use Automake::Configure_ac.
3720 (require_variables): Adjust use of $configure_ac.
3721
37222003-06-02 Akim Demaille <akim@epita.fr>
3723
3724 * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am,
3725 * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am,
3726 * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am,
3727 * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am,
3728 * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am,
3729 * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am,
3730 * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am,
3731 * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am,
3732 * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am,
3733 * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am,
3734 * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4,
3735 * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4,
3736 * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4,
3737 * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4,
3738 * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4,
3739 * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4,
3740 * m4/Makefile.am: White space changes and Copyright updates.
3741
37422003-05-29 Alexandre Duret-Lutz <adl@gnu.org>
3743
3744 * lib/Automake/Variable.pm (check_defined_unconditionally): Add
3745 the $parent_cond argument.
3746 (output): Use $self->name in diagnostic not $self.
3747 (variable_value_as_list): Rename as ...
3748 (value_as_list): ... this. Declare as a method. Take a $parent_cond
3749 argument and pass it to check_defined_unconditionally. Do not call
3750 variable_assert, now that this is a method.
3751 (variable_assert): Delete (unused).
3752 * automake.in (traverse_variable_recursively_worker): Adjust to
3753 use check_defined_unconditionally and value_as_list as a methods.
3754
3755 * lib/Automake/Variable.pm (output): Declare as a method, since it
3756 is only used this way.
3757 (define): Fix documentation of $cond.
3758 Suggested by Raja R. Harinath.
3759
37602003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
3761
3762 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm: New files.
3763 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Variable.pm
3764 and VarDef.pm.
3765 * automake.in: Use Automake::Variable and Automake::VarDef.
3766 (MACRO_PATTERN): Delete. Now Automake::Variable::_MACRO_PATTERN.
3767 (am_macro_for_var): Delete. Now Automake::Variable::_am_macro_for_var.
3768 (ac_macro_for_var): Delete. Now Automake::Variable::_ac_macro_for_var.
3769 (silent_variable_override): Delete. Now
3770 Automake::Variable::_silent_variable_override.
3771 (var_value, var_location, var_comment, var_type, var_owner,
3772 var_pretty, content_seen): Delete. This functionality is now
3773 offered by Automake::Variable and Automake::VarDef.
3774 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE, VAR_ASIS, VAR_PRETTY):
3775 Delete. Now defined in Automake::VarDef.
3776 (var_order): Delete. Now Automake::Variable::_var_order.
3777 (appendvar): Delete. Now Automake::Variable::_appendvar.
3778 (var_SUFFIX_trigger): Register using Automake::Variable::hook.
3779 (initialize_per_input): Call Automake::Variable::reset.
3780 (err_var, msg_cond_var, msg_var, reject_var): Delete. Now
3781 defined in Automake::Variable.
3782 (generate_makefile, process_option_list, handle_languages)
3783 (traverse_variable_recursively_worker)
3784 (transform_variable_recursively, handle_compile)
3785 (handle_libraries, handle_ltlibraries)
3786 (check_typos, handle_dist, handle_subdirs, scan_autoconf_files):
3787 Adjust to use Automake::Variable functions.
3788 (check_ambiguous_condition): Delete. Now
3789 Automake::Variable::_check_ambiguous_condition.
3790 (condition_ambiguous_p): Delete. Now
3791 Automake::Variable::condition_ambiguous_p.
3792 (variable_not_always_defined_in_cond): Delete. Now
3793 Automake::Variable::not_always_defined_in_cond.
3794 (macro_define): Delete. Now Automake::Variable::define.
3795 (macro_delete): Delete. Now Automake::Variable::variable_delete.
3796 (macro_dump): Delete. Now Automake::Variable::variable_dump.
3797 (macros_dump): Delete. Now Automake::Variable::variables_dump.
3798 (variable_defined): Delete. Now
3799 Automake::Variable::variable_defined, with the target check
3800 temporarily disabled.
3801 (variable_assert): Delete. Now Automake::Variable::variable_assert.
3802 (examine_variable): Delete. Now
3803 Automake::Variable::examine_variable.
3804 (variable_conditions): Delete. Now Automake::Variable::conditions.
3805 (scan_variable_expansions): Delete. Now
3806 Automake::Variable::scan_variable_expansions.
3807 (check_variable_expansions): Delete. Now
3808 Automake::Variable::check_variable_expansions.
3809 (check_variable_defined_unconditionally): Delete. Now
3810 Automake::Variable::check_defined_unconditionally.
3811 (variable_value): Delete. Now Automake::Variable::variable_value.
3812 (variable_value_as_list): Delete. Now
3813 Automake::Variable::variable_value_as_list.
3814 (variable_value_as_list_recursive_worker): Adjust to use
3815 Automake::Variable functions.
3816 (variable_output): Delete. Now Automake::Variable::output.
3817 (define_pretty_variable, define_configure_variable, read_am_file)
3818 (define_standard_variables, read_main_am_file): Adjust to use
3819 Automake::Variable functions.
3820 (handle_variables): Delete. Now Automake::Variable::output_variables.
3821 (file_contents_internal, am_primary_prefixes, am_install_var)
3822 (require_file_with_macro, require_conf_file_with_macro)
3823 (push_dist_common): : Adjust to use
3824 Automake::Variable functions.
3825 (require_variables): Delete. Now
3826 Automake::Variable::require_variables.
3827 (require_variables_for_macro): Delete. Now
3828 Automake::Variable::require_variables_for_variable.
3829 * tests/Makefile.am (XFAIL_TESTS): Add target.test.
3830
38312003-05-25 Christian Cornelssen <ccorn@cs.tu-berlin.de> (tiny change)
3832
3833 * tests/dejagnu7.test: Check if runtest supports --status.
3834
38352003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
3836
3837 * lib/Automake/Location.pm (dump): Output 'INTERNAL' when position
3838 is undefined.
3839
3840 * lib/Automake/DisjConditions.pm (human): Fix infinite loop when
3841 $self contains only one Condition.
3842
3843 * automake.in: Use plain strict, including refs.
3844 (macro_define, handle_single_transform_list): Use \&{'name'} to
3845 build references to named subroutines.
3846
38472003-05-22 Karl Berry <karl@gnu.org>
3848
3849 * automake.texi: Update @dircategory to match the Free Software
3850 Directory. End directory entries with dots.
3851
38522003-05-22 Alexandre Duret-Lutz <adl@gnu.org>
3853
3854 * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/.
3855
3856 * lib/elisp-comp: s/François/Franc,ois/.
3857 Suggested by Paul Eggert.
3858
3859 * automake.in: Move the "main" code at the end.
3860 (parse_arguments): Move near the end.
3861 ($KNOWN_EXTENSIONS_PATTERN, @known_extensions_list,
3862 accept_extensions, var_SUFFIXES_trigger): Move these definitions
3863 before any call to register_language.
3864 (am_file): Move the definition with all other global variables,
3865 do not use local to define it.
3866 * Makefile.am (maintainer-check): Expect no `local' in Automake.
3867
38682003-05-21 Alexandre Duret-Lutz <adl@gnu.org>
3869
3870 * lib/Automake/Wrap.pm, lib/Automake/tests/Wrap.pl: New files.
3871 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Wrap.pm.
3872 * lib/Automake/tests/Makefile.am (TESTS): Add Wrap.pl.
3873 * automake.in (handle_texinfo_helper, pretty_print_rule)
3874 (variable_output): Adjust to use makefile_wrap instead of
3875 pretty_print_internal.
3876 (pretty_print_internal): Remove. Renamed as Automake::Wrap::wrap
3877 and augmented to accept the $eol and $max_len arguments.
3878
38792003-05-18 Alexandre Duret-Lutz <adl@gnu.org>
3880
3881 * lib/Autom4te/XFile.pm, lib/config.guess, lib/config.sub,
3882 lib/texinfo.tex: New upstream versions.
3883
38842003-05-17 Alexandre Duret-Lutz <adl@gnu.org>
3885
3886 * lib/am/install.am (install, install-exec, install-data, uninstall):
3887 Declare conditionally using a if/else/endif block instead of
3888 using ?SUBDIRS?-style conditions. The latter fail when
3889 %maybe_BUILT_SOURCES% is replaced by several lines.
3890 This fixes a bug introduced on 2003-04-06.
3891 * tests/bsource.test: New file.
3892 * tests/Makefile.am (TESTS): Add bsource.test.
3893 Reported by Bruno Haible.
3894
38952003-05-11 Alexandre Duret-Lutz <adl@gnu.org>
3896
3897 * automake.texi (renamed objects): New node.
3898 (Program and Library Variables): Move maude_DEPENDENCIES closer
3899 to maude_LDADD. Define and use `per-target compilation flags' in the
3900 explanation for maude_CFLAGS et al. Link to the `renamed objects'
3901 node. Illustrate maude_SHORTNAME.
3902
39032003-05-09 Alexandre Duret-Lutz <adl@gnu.org>
3904
3905 * lib/install-sh: Update copyright notice and license to that of
3906 X11R6. This removes an advertising clause reported as Debian bug
3907 #191717.
3908
39092003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
3910
3911 * configure.in (ACLOCAL): Do not use -I, --acdir is enough.
3912
3913 * m4/make.m4: Rename the doit target as am__doit,
3914 and make it phony.
3915 Reported by Philip S Tellis.
3916
39172003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
3918
3919 * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit
3920 status.
3921 * tests/makej.test: New file (test Autom4te's cache locking,
3922 new in CVS Autoconf).
3923 * tests/Makefile.am (TESTS): Add makej.test.
3924
39252003-05-06 Alexandre Duret-Lutz <adl@gnu.org>
3926
3927 * lib/Automake/General.pm (contents): New function.
3928 * aclocal.in (greatest_mtime, force_output): New globals.
3929 (scan_configure, add_file): Update $greatest_mtime.
3930 (parse_arguments): Parse --force.
3931 (write_aclocal): Do not overwrite $output_file unless needed.
3932 * automake.texi (aclocal options): Document --force.
3933 * tests/aclocal7.test: New file.
3934 * tests/Makefile.am (TESTS): Add aclocal7.test.
3935
39362003-05-05 Alexandre Duret-Lutz <adl@gnu.org>
3937
3938 * automake.texi (Optional): Document m4_include.
3939 (Invoking aclocal): Shake a bit to introduce the various uses
3940 of aclocal and explain that aclocal will use m4_include for
3941 local files.
3942 (Extending aclocal): Show how to install installable macros
3943 in $(datadir)/aclocal, and make it clearer that writing installable
3944 macros is not the only way to extend aclocal.
3945 (Local Macros, Future of aclocal): New sections.
3946
39472003-04-27 Alexandre Duret-Lutz <adl@gnu.org>
3948
3949 * automake.in (@common_files): Remove acinclude.m4 since
3950 it will be m4_included by aclocal.m4 and files are always
3951 distributed.
3952 (scan_aclocal_m4): Do not bother about acinclude.m4 anymore.
3953 We will get this dependency when tracing m4_includes.
3954 * tests/aclocal6.test: Make sure acinclude.m4 is distributed
3955 when used.
3956 * tests/acinclude.test: Delete.
3957 * tests/Makefile.am (TESTS): Remove acinclude.test.
3958
39592003-04-25 Alexandre Duret-Lutz <adl@gnu.org>
3960
3961 * automake.in (handle_configure): Don't add @configure_deps to
3962 DIST_COMMON, we do this from lib/am/configure.am now.
3963 Define the am__configure_deps variable instead of substituing
3964 %CONFIGURE_DEPS%.
3965 * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure,
3966 $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%.
3967 (DIST_COMMON): Add $(am__configure_deps).
3968
3969 * tests/aclocal6.test: New file.
3970 * lib/am/configure.am (am--refresh): New rule.
3971 (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status,
3972 $(top_srcdir)/configure): Call the top-level am--refresh from
3973 subdirectories.
3974 ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%. Call the
3975 top-level am--refresh when not in the top-level directory.
3976 Fix jump directories for VPATH builds.
3977 Suggested by Raja R. Harinath.
3978
39792003-04-24 Alexandre Duret-Lutz <adl@gnu.org>
3980
3981 * automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS
3982 and glob for m4_files (We've got all local m4 files while
3983 tracing m4_include's). Diagnose ACLOCAL_M4_SOURCES as obsolete.
3984 Distribute aclocal.m4 only at the top-level.
3985 (my_glob): Remove. This fixes PR automake/11.
3986 (handle_dist): Strip leading `./' from directories.
3987 * aclocal.in (add_file): Output 'm4_include([file.m4])' instead
3988 of copying local files.
3989 (write_aclocal, parse_arguments): Bump copyright date.
3990 * configure.in: De not build m4/amversion.m4 from here ...
3991 * m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here.
3992 (nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead
3993 of amversion.m4.
3994 * tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test.
3995 (TESTS): Remove aclocal2.test. Do not test aclocal.test twice.
3996 * tests/aclocal2.test: Delete (pointless).
3997 * tests/aclocal5.test: Make sure configure's dependencies are
3998 distributed.
3999 * tests/acinclude.test: Adjust to search for m4_include.
4000 * tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep
4001 configure instead of aclocal.m4.
4002
4003 For PR automake/46:
4004 * automake.in (scan_aclocal_m4): Work in all directories, not only
4005 the top-level. Prepend $(top_srcdir) in front of each aclocal.m4
4006 dependency.
4007 * lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)):
4008 Define rebuild rules in each directory.
4009 * tests/subdir8.test: Augment to exercise aclocal.m4's dependencies
4010 from the top-level directory.
4011 * tests/aclocal5.test: New file. Exercise aclocal.m4's dependencies
4012 from a subdirectory.
4013 * tests/Makefile.am (TESTS): Add aclocal5.test.
4014 (XFAIL_TESTS): Replace subdir8.test by aclocal5.test.
4015
40162003-04-24 Akim Demaille <akim@epita.fr>
4017 Alexandre Duret-Lutz <adl@gnu.org>
4018
4019 For PR automake/46:
4020 * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt
4021 because of one of configure's dependencies, run automake without
4022 argument to update the whole tree at once. Depend upon
4023 %CONFIGURE_DEPS%.
4024 (%MAKEFILE%): If Makefile is rebuilt because config.status has
4025 been updated, run config.status without arguments.
4026 * automake.in (scan_autoconf_traces): Prepend $(top_srcdir)
4027 before all files in @configure_deps.
4028 * tests/subdir5.test: Modernize configure.in, make sure
4029 maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%.
4030 * tests/subdir8.test: New file.
4031 * tests/Makefile.am (TESTS): Add subdir8.test.
4032 (XFAIL_TESTS): Replace subdir5.test by subdir8.test.
4033
40342003-04-23 Alexandre Duret-Lutz <adl@gnu.org>
4035
4036 * automake.texi (Requirements): Typo in index
4037 s/AC_CONFIG_FILE/AC_CONFIG_FILES/.
4038
4039 * lib/texinfo.tex: New upstream version.
4040
40412003-04-21 Jim Meyering <jim@meyering.net>
4042
4043 * lib/mkinstalldirs: Remove each sequence of spaces before a
4044 TAB character.
4045 * lib/depcomp: Search for TAB-SPC, not SPC-TAB.
4046
40472003-04-19 Alexandre Duret-Lutz <adl@gnu.org>
4048
4049 Fix for PR automake/389:
4050 * automake.in (handle_configure): Don't put $colon_infile in
4051 CONFIG-MAKEFILE.
4052 * tests/conff.test: New file.
4053 * tests/Makefile.am (TESTS): Add conff.test.
4054 Reported by Alexander Turbov.
4055
40562003-04-18 Alexandre Duret-Lutz <adl@gnu.org>
4057
4058 * tests/defs.in: Handle required=etags to work around
4059 Exuberant Ctags.
4060
4061 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
4062 versions.
4063
4064 * tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test:
4065 Distribute dejagnu test cases, so that distcheck actually runs them.
4066
40672003-04-18 Richard Dawe <rich@phekda.freeserve.co.uk>
4068
4069 * lib/am/dejagnu.am (site.exp): Don't define tool in site.exp,
4070 because we set that by invoking runtest with --tool.
4071 * tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test,
4072 dejagnu6.test, dejagnu7.test.
4073 * tests/dejagnu4.test: New test.
4074 * tests/dejagnu5.test: New test.
4075 * tests/dejagnu6.test: New test.
4076 * tests/dejagnu7.test: New test.
4077
4078 * tests/dejagnu3.test: Make sure the DejaGnu test is actually run.
4079
40802003-04-18 Jim Meyering <jim@meyering.net>
4081
4082 * automake.in (variable_output): Fix typo in comment s/is/if/.
4083
4084 * lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect
4085 directly to $@. Instead, redirect to $@t and rename upon success.
4086 Also, move the commands that update $@ so they are last. Otherwise,
4087 this rule could leave the user with an up to date target (.c file)
4088 but with a missing or corrupted corresponding .h file.
4089
40902003-04-17 Richard Dawe <rich@phekda.freeserve.co.uk>
4091
4092 * tests/defs.in: Handle required=runtest, to detect runtest
4093 from DejaGnu.
4094 * tests/Makefile.am (TESTS): Add dejagnu3.test.
4095 * tests/dejagnu3.test: New test.
4096
40972003-04-16 Alexandre Duret-Lutz <adl@gnu.org>
4098
4099 * automake.in (rule_define): If the user tries to override
4100 an Automake which has a -local variant, suggest using the
4101 -local variant in the -Woverride diagnostic.
4102 (handle_factored_dependencies): Register factored
4103 rules with rule_define, and define them only in undefined
4104 conditions.
4105 * tests/Makefile.am (TESTS): Add override.test.
4106 * tests/overrid.test: New file.
4107 * tests/phony.test: Count the number of .PHONY targets.
4108
41092003-04-15 Alexandre Duret-Lutz <adl@gnu.org>
4110
4111 * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silence
4112 these rules, so that we don't confuse users by echoing
4113 "echo ERROR:" commands which are not run.
4114
41152003-03-14 Richard Dawe <rich@phekda.freeserve.co.uk>
4116 Alexandre Duret-Lutz <adl@gnu.org>
4117
4118 * automake.in (output_texinfo_build_rules, handle_texinfo_helper,
4119 initialize_per_input): Add infrastructure for generating HTML
4120 documentation from texinfo source.
4121 * lib/am/texinfos.am: Add rules for building HTML documentation
4122 from texinfo source.
4123 * lib/am/texibuild.am: Likewise.
4124 * automake.texi (Texinfo): Document rules for building
4125 HTML documentation from texinfo source.
4126 * tests/txinfo21.test: New file.
4127 * tests/Makefile.am (TESTS): Add txinfo21.test.
4128 * tests/defs.in: Handle required=makeinfo-html.
4129
41302003-04-14 Alexandre Duret-Lutz <adl@gnu.org>
4131
4132 * automake.in (%silent_variable_override): New variable.
4133 (macro_define): Warn about variable definitions overriding
4134 Automake variables.
4135 (rule_define): Warn about target definitions overriding
4136 Automake variables. Fix $condmsg definition.
4137 * automake.texi (Invoking Automake): Document the `override'
4138 category.
4139 * lib/Automake/ChannelDefs.pm (usage): Likewise.
4140 * lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define,
4141 this is already done in m4/init.m4.
4142 * tests/dejagnu2.test: Run $MAKE, don't only grep. Use
4143 -Wno-override, and make sure we get a warning without.
4144 * tests/exeext2.test, tests/substtarg.test: Use -Wno-override,
4145 and make sure we get a warning without.
4146 * tests/exeext3.test, tests/java2.test, tests/nolink.test,
4147 tests/subpkg.test, tests/vartest.test: Use -Wno-override.
4148 * tests/txinfo13.test: Use installcheck-local instead of overriding
4149 installcheck.
4150 * tests/txinfo2.test: Run $MAKE on the real Makefile (this test
4151 used to succeed thanks to a failure...)
4152 * tests/location.test: Adjust expected messages.
4153 * tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test.
4154
41552003-04-12 Raja R Harinath <harinath@acm.org>
4156
4157 * lib/Automake/DisjConditions.pm (true): Don't cache answer.
4158 (invert): Update comment.
4159 (_simplify): Remove.
4160 (simplify): Implement using invert().
4161 * lib/Automake/tests/DisjConditions.pl (test_simplify):
4162 Update to reflect changes.
4163
41642003-04-12 Alexandre Duret-Lutz <adl@gnu.org>
4165
4166 * automake.in (scan_autoconf_files): Augment the error message
4167 about AM_INIT_AUTOMAKE not found.
4168 Suggested by Bruno Haible.
4169
4170 * lib/Automake/Version.pm: New file.
4171 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm.
4172 * lib/Automake/tests/Version.pl: New file.
4173 * lib/Automake/tests/Makefile.am (TESTS): Add Version.pl.
4174 * tests/Makefile.am (TESTS): Remove version5.test.
4175 * tests/version5.test: Delete. Move the tests to Version.pl.
4176 * automake.in (version_split, version_compare, version_check): Move ...
4177 * lib/Automake/Version.pm (split, compare, check): ... here.
4178
41792003-04-11 Alexandre Duret-Lutz <adl@gnu.org>
4180
4181 * lib/Automake/tests/Condition.pl (test_reduce_and)
4182 (test_reduce_or): Cosmetics.
4183 * lib/Automake/tests/DisjConditions.pl (test_sub_conditions):
4184 Fix a comment.
4185 * lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...>
4186 in comment.
4187 * tests/yacc8.test, configure.in: Update copyright year.
4188
41892003-04-10 Richard Dawe <rich@phekda.freeserve.co.uk>
4190
4191 * configure.in: Get the build platform name. Define
4192 MODIFICATION_DELAY as the time to wait after modifying a file,
4193 to cope with timestamp granularity issues, depending
4194 on the platform.
4195 * tests/defs.in: Define `sleep' using MODIFICATION_DELAY.
4196
41972003-04-10 Eric Siegerman <eric_97@pobox.com> (tiny change)
4198
4199 * automake.texi (Public macros): Clarify that the new
4200 AM_INIT_AUTOMAKE variant is preferred, and the old one
4201 deprecated. Copy-edit the rest of the AM_INIT_AUTOMAKE item.
4202 (Hello): Caution that the example uses the deprecated
4203 AC_INIT/AM_INIT_AUTOMAKE syntax, and xref to the discussion.
4204
42052003-04-10 Alexandre Duret-Lutz <adl@gnu.org>
4206
4207 Retain all variable definitions until the whole Makefile.am has
4208 been processed, then output all variables in one step, at the top
4209 of Makefile.in. (Older revisions used to output user variables
4210 before generating Automake targets, and to mix Automake variables
4211 with Automake targets, preventing redefinitions of previously
4212 output variables.)
4213
4214 * automake.in (%var_pretty): New variable.
4215 (VAR_ASIS, VAR_PRETTY): New constants.
4216 (@var_list): Rename as ...
4217 (@var_order): ... this.
4218 (initialize_per_input): Clear %var_pretty.
4219 (handle_variables): New function, extracted from ...
4220 (read_main_am_file): ... here.
4221 (generate_makefile): Call handle_variable after everything else.
4222 (handle_dist): Use define_pretty_variable, not pretty_print.
4223 (pretty_print): Delete.
4224 (macro_define): Augment with $COMMENT and $PRETTY parameters.
4225 Update %var_comment, %var_pretty, and @var_order. Adjust callers.
4226 (variable_pretty_output): Merge with ...
4227 (variable_output): ... this, and choose the prettiness on a
4228 per-condition basis.
4229 (append_comments): Delete. This work is now done by macro_define.
4230 (read_am_file, file_contents_internal): Don't call append_comments
4231 nor update @var_list, adjust calls to macro_define.
4232 (handle_subdirs): Don't explicitly output RECURSIVE_TARGETS,
4233 just mark it as VAR_PRETTY.
4234 * tests/exeext.test: Make sure bin_PROGRAMS is output only once.
4235 Report from Jim Meyering.
4236
42372003-04-06 Alexandre Duret-Lutz <adl@gnu.org>
4238
4239 * automake.in (handle_installdirs): Rename as ...
4240 (handle_install): ... this. Define maybe_BUILT_SOURCES.
4241 (generate_makefile): Adjust call to handle_install.
4242 * lib/am/install.am (install): Use %maybe_BUILT_SOURCES%.
4243 * automake.texi (Sources, Built sources example): BUILT_SOURCES
4244 is honored by `make install' too.
4245 * tests/check3.test: Make sure that `make install' also depends
4246 upon BUILT_SOURCES.
4247 Report from Alexander Turbov.
4248
4249 * lib/am/libs.am (ARFLAGS): Define.
4250 * automake.in (handle_libraries): Use `$(ARFLAGS)' instead of
4251 hard-coding `cru'.
4252 * automake.texi (A Library): Explain how AR, ARFLAGS and RANLIB
4253 are used, and how they can be overridden.
4254 (Program and Library Variables): Adjust to show `$(ARFLAGS)'
4255 instead of `cru'
4256 * tests/ar.test: Rewrite to test for AR, ARFLAGS, and RANLIB.
4257 * tests/ranlib.test: Delete, obsoleted by ar.test.
4258 * tests/Makefile.am (TESTS): Remove ranlib.test.
4259 Report from Paul Thomas.
4260
42612003-04-03 Alexandre Duret-Lutz <adl@gnu.org>
4262
4263 * automake.in (check_trailing_slash): New function (variation on
4264 a patch by Peter Muir). Diagnose whitespaces following trailing
4265 backslash.
4266 (read_am_file): Use it.
4267 * tests/backsl4.test: New file.
4268 * tests/Makefile.am (TESTS): Add backsl4.test.
4269 Reported by Peter Muir.
4270
42712003-03-29 Raja R Harinath <harinath@acm.org>
4272
4273 Speedup Automake::DisjConditions::invert().
4274 * lib/Automake/Condition.pm (multiply): New.
4275 * lib/Automake/DisjConditions.pm (_multiply): Use it.
4276 (sub_conditions): Likewise.
4277
4278 * lib/Automake/Condition.pm (reduce): Rename to ...
4279 (reduce_and): ... this.
4280 (reduce_or): New.
4281 * lib/Automake/DisjConditions.pm (_multiply): Use reduce_or().
4282 * lib/Automake/tests/Condition.pl (test_reduce): Rename to ...
4283 (test_reduce_and): ... this.
4284 (test_reduce_or): New.
4285 * lib/Automake/tests/DisjConditions.pl
4286 (test_invert): Update to reflect effect of reduce_or().
4287 (test_simplify): Don't skip invert() on larger inputs.
4288
42892003-03-29 Raja R Harinath <harinath@cs.umn.edu>
4290
4291 * tests/yacc8.test: Add a $sleep before modifying Makefile.am so
4292 that timestamp will change.
4293
42942003-03-23 Akim Demaille <akim@epita.fr>
4295 Alexandre Duret-Lutz <adl@gnu.org>
4296
4297 * lib/am/tags.am (TAGS): Use --etags-include instead of --include,
4298 when supported by etags (Exuberant Ctags).
4299 * tests/tagsub.test: Rewrite to _run_ the `tags' rule.
4300
43012003-03-20 Alexandre Duret-Lutz <adl@gnu.org>
4302
4303 For Debian Bug #185388:
4304 * automake.texi (Extending): Augment the install-exec-hook
4305 discussion with an example how to symlink a versioned binary.
4306 * tests/insthook.test: Rewrite to test the above example.
4307 Report from James R. Van Zandt.
4308
43092003-03-19 Alexandre Duret-Lutz <adl@gnu.org>
4310
4311 * Makefile.am (maintainer-check): Allow `automake:' tokens,
4312 occuring in location.test. Automake now has 5 legitimate
4313 unsubstituted @strings@.
4314
4315 * tests/aclocal4.test: Require GNU make.
4316
43172003-03-14 Alexandre Duret-Lutz <adl@gnu.org>
4318
4319 * tests/aclocal4.test: New file. Test for the ACLOCAL_M4 bug below.
4320 * tests/Makefile.am (TESTS): Add aclocal4.test.
4321
43222003-03-14 Jim Meyering <jim@meyering.net>
4323
4324 * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
4325 subdirectories. Makefile.in depends on that variable.
4326
43272003-03-13 Alexandre Duret-Lutz <adl@gnu.org>
4328
4329 * m4/init.m4: Remove a leftover comment from the pre-1.7 era.
4330
4331 Fix for PR automake/386:
4332 * m4/init.m4: Require Autoconf 2.55.
4333 Reported by Owen Taylor.
4334
4335 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
4336 (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode.
4337 Suggested by Matthias Andree.
4338
4339 * tests/README: Typo.
4340
43412003-03-08 Alexandre Duret-Lutz <adl@gnu.org>
4342
4343 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
4344 (?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP.
4345 Just echo the gcc command.
4346 Suggested by Karl Berry.
4347
43482003-03-06 Alexandre Duret-Lutz <adl@gnu.org>
4349
4350 * lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
4351 `test -f foo || echo $(srcdir)/` to emulate a VPATH search when
4352 outputing suffix rules. This follows 2003-02-25's change.
4353 * lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
4354 * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
4355
43562003-03-05 Alexandre Duret-Lutz <adl@gnu.org>
4357
4358 * automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed
4359 with AC_CONFIG_FILES are cleaned by `make distclean'. Don't
4360 pretend otherwise.
4361 Reported by Rafael Laboissiere.
4362
43632003-03-04 Andreas Buening <andreas.buening@nexgo.de>
4364
4365 * lib/mdate-sh: Find out which column of the ls -l output contains
4366 the month. Do not assume it is at least the fifth column.
4367
43682003-02-26 Alexandre Duret-Lutz <adl@gnu.org>
4369
4370 * automake.texi (Emacs Lisp): Mention that `dist_' can be used.
4371
4372 * automake.texi (Emacs Lisp): Instruct people to use lisp_DATA
4373 instead of lisp_LISP when they don't want byte-compilation.
4374 Don't mention ELCFILES anymore.
4375 * automake.in (handle_data): Allow lisp_DATA.
4376 * tests/lisp5.test: New file.
4377 * tests/Makefile.am (TESTS): Add lisp5.test.
4378
4379 * automake.in (handle_emacs_lisp): Don't build *.elc files
4380 if ELCFILES was set empty.
4381 * tests/lisp4.test: New file.
4382 * tests/Makefile.am (TESTS): Add lisp4.test.
4383 Reported by Simon Josefsson.
4384
4385 * tests/lex3.test, tests/lex5.test: Require flex.
4386 Reported by Leo Davis.
4387
43882003-02-25 Alexandre Duret-Lutz <adl@gnu.org>
4389
4390 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not
4391 use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search
4392 when outputing suffix rules.
4393 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi)
4394 (?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise.
4395 Suggested by Bruno Haible.
4396
4397 * automake.in (read_am_file): Catch trailing backslashes on last line.
4398 * tests/backsl3.test: New file.
4399 * tests/Makefile.am (TESTS): Add backsl3.test.
4400 Reported by Akim Demaille.
4401
44022003-02-24 Alexandre Duret-Lutz <adl@gnu.org>
4403
4404 * ChangeLog: Move 2002's entries to ...
4405 * ChangeLog.02: ... this new file.
4406 * Makefile.am (EXTRA_DIST): Add ChangeLog.02.
4407
44082003-02-24 Richard Dawe <rich@phekda.freeserve.co.uk>
4409
4410 * tests/version7.test: Use $sleep to sleep before updating
4411 the version, to work around timestamp inconsistencies in Windows.
4412
44132003-02-24 Bruno Haible <bruno@clisp.org>
4414 Alexandre Duret-Lutz <adl@gnu.org>
4415
4416 * lib/am/texibuild.am: Don't remove the target info files. Instead,
4417 back up and restore them if makeinfo fails.
4418 * tests/txinfo20.test: New file.
4419 * tests/Makefile.am (TESTS): Add txinfo20.test.
4420
44212003-02-23 Alexandre Duret-Lutz <adl@gnu.org>
4422
4423 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
4424 (distcleancheck): Fix typos and other errors reported by Karl
4425 Berry.
4426
44272003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
4428
4429 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
4430 instead of ${...}.
4431
4432 * tests/defs.in: Handle required=ro-dir.
4433 * tests/destdir.test: Use this.
4434
44352003-02-19 Richard Dawe <rich@phekda.freeserve.co.uk>
4436
4437 * lib/am/distdir.am (distcheck): Strip any leading DOS drive
4438 from dc_install_base.
4439
44402003-02-19 Alexandre Duret-Lutz <adl@gnu.org>
4441
4442 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
4443 DJGPP-style *.iNN info files.
4444 (maintainer-clean-aminfo): Rewrite using the same pattern
4445 as in uninstall-info-am.
4446 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase
4447 DJGPP-style *.iNN info files before running $(MAKEINFO).
4448 * tests/txinfo19.test: New file.
4449 * tests/Makefile.am (TESTS): Add txinfo19.test.
4450
44512003-02-18 Richard Dawe <rich@phekda.freeserve.co.uk>
4452
4453 * lib/depcomp (dashmstdout): Cope with DOS filenames in
4454 dependencies.
4455
44562003-02-17 Alexandre Duret-Lutz <adl@gnu.org>
4457
4458 * lib/depcomp (makedepend): Don't pass $object to makedepend.
4459 Reported by Stepan Kasal.
4460
44612003-02-12 Alexandre Duret-Lutz <adl@gnu.org>
4462
4463 * tests/defs.in: Handle required=makedepend.
4464
4465 * Makefile.am (maintainer-check): Update the diff check
4466 to account for the recent @SHELL@ substitution.
4467
44682003-02-11 Alexandre Duret-Lutz <adl@gnu.org>
4469
4470 * lib/depcomp: Do not put comments on the `icc)' line.
4471
4472 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
4473 versions.
4474
4475 Fix for PR automake/381:
4476 * automake.in (handle_gettext): Do not print diagnostics
4477 about po/ and intl/ missing from SUBDIRS if po/ does not
4478 exist. Warn if `SUBDIRS = intl' is used although libintl
4479 is 'external'.
4480 * tests/gettext.test: Make sure diagnostics are not output
4481 when po/ does not exist.
4482 * tests/gettext2.test: Test for unwanted intl/.
4483 PR from Alexander Turbov, fix suggested by Bruno Haible.
4484
4485 * m4/depend.m4: Grep depcomp's stderr for icc warnings about
4486 ignored options.
4487 * lib/depcomp (icc): New mode.
4488 * tests/depcomp5.test: New file.
4489 * tests/defs.in: Handle required=icc.
4490 * tests/Makefile.am (TESTS): Add it.
4491
4492 Temporary hack for PR automake/381:
4493 * automake.in (handle_gettext): Turn missing po/ and intl/ errors
4494 into -Wsyntax warnings.
4495
44962003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk>
4497
4498 * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
4499 This makes the setting of SHELL work for DJGPP.
4500
45012003-02-10 Alexandre Duret-Lutz <adl@gnu.org>
4502
4503 For PR automake/385:
4504 * lib/depcomp (makedepend): Strip any libtool call, before
4505 running makedepends.
4506 * tests/depcomp4.test: New file.
4507 * tests/Makefile.am (TESTS): Add it.
4508 Reported by Jeff Squyres.
4509
4510 Related to PR automake/385:
4511 * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will
4512 write dependencies to /dev/null. `-o /dev/null' was added
4513 on 2002-06-13 just because I tried to replace `-o foo.o' by something
4514 else and didn't thought about removing it entirely.
4515 * tests/depcomp3.test: New file.
4516 * tests/Makefile.am (TESTS): Add it.
4517
4518 * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
4519 SHELL for DJGPP.
4520 Suggested by Richard Dawe.
4521
45222003-02-09 Alexandre Duret-Lutz <adl@gnu.org>
4523
4524 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
4525 (distcleancheck): New nodes.
4526
45272003-02-06 Alexandre Duret-Lutz <adl@gnu.org>
4528
4529 * automake.in (scan_autoconf_files): Don't complain that
4530 AM_INIT_AUTOMAKE comes from an old version if it was not found.
4531
45322003-02-05 Alexandre Duret-Lutz <adl@gnu.org>
4533
4534 * automake.in (am_install_var): Simplify filtering of
4535 variable_loc_and_value_as_list_recursive's output.
4536
45372003-02-04 Alexandre Duret-Lutz <adl@gnu.org>
4538
4539 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute
4540 indexes of header files so we create stamp files with
4541 the right numbers when config.status is run on some headers.
4542 * tests/stamph2.test: Check for this.
4543 Reported by Sander Niemeijer.
4544
45452003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
4546
4547 * automake.in (vars_scanned): Move near traverse_variable_recursively.
4548 (traverse_variable_recursively,
4549 traverse_variable_recursively_worker): Accept a $COND_FILTER argument
4550 to filter out conditions during recursion. Don't recurse into
4551 undefined variables. Don't pass empty results to &FUN_COLLECT.
4552 (value_to_list): Remove, was used by
4553 variable_value_as_list_recursive_worker only.
4554 (variable_value_as_list_recursive_worker): Rewrite using
4555 traverse_variable_recursively. Remove the $parent argument.
4556 (variable_value_as_list_recursive,
4557 variable_loc_and_value_as_list_recursive): Adjust calls
4558 to variable_value_as_list_recursive_worker. Don't reset
4559 %vars_scanned.
4560 * tests/cond3.test: Don't expect empty helper variables,
4561 we don't output them anymore.
4562 * tests/cond30.test: Use an undefined variable.
4563
4564 * automake.in (handle_programs): Strip $(EXEEXT) before
4565 calling &check_canonical_spelling.
4566 * tests/exeext.test: Make sure we don't use a
4567 maude3__EXEEXT__OBJECTS variable.
4568
45692003-02-02 Jeremy Nimmer <jwnimmer@alum.mit.edu> (tiny change)
4570
4571 For Debian Bug #39542:
4572 * automake.texi (Invoking Automake, Optional): Document how
4573 AC_CONFIG_AUX_DIR interacts with missing files.
4574
45752003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
4576
4577 * lib/Automake/DisjConditions.pm (_permutations_worker)
4578 (permutations): Remove, so that people aren't tempted to use it.
4579 * lib/Automake/tests/DisjConditions.pl (tests_permutations): Remove.
4580
4581 * automake.in (variable_conditions_recursive): Remove.
4582 (variable_conditionally_defined): Rewrite using
4583 traverse_variable_recursively.
4584
4585 * automake.in (traverse_variable_recursively,
4586 traverse_variable_recursively_worker): Pass one merged Condition
4587 instead of a stack of conditions to &FUN_STORE and &FUN_COLLECT.
4588 (transform_variable_recursively, define_objects_from_sources)
4589 (handle_lib_objects, variable_conditions_recursive): Adjust usage.
4590
45912003-02-01 Alexandre Duret-Lutz <adl@gnu.org>
4592
4593 * automake.in (handle_lib_objects): Compute _DEPENDENCIES variables
4594 using transform_variable_recursively instead of
4595 variable_conditions_recursive and variable_value_as_list_recursive
4596 to avoid combinatorial explosion.
4597 (handle_lib_objects_cond): Merge into handle_lib_objects.
4598 * tests/cond11.test: Don't grep internal details in Makefile.in,
4599 run $MAKE to make sure the resulting Makefile runs as expected.
4600 * tests/cond29.test: Also exercise conditional _LDADD.
4601 * tests/cond31.test, tests/cond32.test: New files.
4602 * tests/Makefile.am (TESTS): Add tests/cond31.test and
4603 tests/cond32.test.
4604
46052003-01-31 Alexandre Duret-Lutz <adl@gnu.org>
4606
4607 * automake.in (handle_lib_objects_cond): Ignore -dlopen and
4608 -dlpreopen in _LIBADD variables too.
4609 (handle_LIBOBJS, handle_ALLOCA): New functions, extracted from
4610 handle_lib_objects_cond.
4611 * tests/libtool7.test: New file.
4612 * tests/Makefile.am (TESTS): Add libtool7.test.
4613
4614 * automake.texi (Program and Library Variables): Clarify that
4615 _LIBADD is for libraries and _LDADD for programs.
4616
4617 * automake.in (handle_source_transform): Correct typo from 2003-01-23.
4618
46192003-01-28 Alexandre Duret-Lutz <adl@gnu.org>
4620
4621 Fix for PR automake/352:
4622 * automake.in (transform_variable_recursively): If the destination
4623 and the source variables are the same, delete the source variable
4624 before defining the destination variable.
4625 (handle_programs): Strip any $(EXEEXT) suffix from $one_file,
4626 or this will confuse handle_source_transform.
4627 (append_exeext): Rewrite using transform_variable_recursively.
4628 * tests/cond29.test, tests/cond30.test: New files.
4629 * tests/exeext.test: Run ./configure and make, this uncovered
4630 the above handle_programs issue.
4631 * tests/Makefile.am (TESTS): Add cond29.test and cond20.test.
4632
4633 * automake.in (%subobjvar): Replace by ...
4634 (%gen_varname): ... this.
4635 (subobjname): Replace by ...
4636 (gen_varname): ... this.
4637 (initialize_per_input): Clean gen_varname instead of subobjname.
4638 (transform_variable_recursively): New function, extracted
4639 from define_objects_from_sources.
4640 (define_objects_from_sources): Use transform_variable_recursively.
4641 Remove the unused $parent argument.
4642 (handle_source_transform): Adjust call to define_objects_from_sources.
4643
46442003-01-23 Alexandre Duret-Lutz <adl@gnu.org>
4645
4646 * automake.in (@substfroms, @substtos): Move near
4647 traverse_variable_recursively.
4648 (traverse_variable_recursively, traverse_variable_recursively_worker):
4649 New functions, extracted from define_objects_from_sources.
4650 (define_objects_from_sources): Rewrite using
4651 traverse_variable_recursively.
4652 (handle_source_transform): Use variables_conditionally_defined
4653 instead of calling variable_conditions_recursive directly.
4654 Adjust the call to define_objects_from_sources; there is no need
4655 to reset @substtos, @substfroms, and %vars_scanned now.
4656 (variable_conditions_recursive): Rewrite using
4657 traverse_variable_recursively.
4658 (variable_conditions_recursive_sub): Remove.
4659 (variable_conditionally_defined): Fix condition comparison (the
4660 consequence was that DIST_SUBDIRS was always output).
4661 * lib/Automake/Condition.pm (merge): Allow merging several
4662 conditions at once.
4663
46642003-01-22 Alexandre Duret-Lutz <adl@gnu.org>
4665
4666 * automake.texi (Python): Explain that directory variables start
4667 with either ${prefix} or ${exec_prefix}, and point to the
4668 `Installation Directory Variables' section of the Autoconf manual.
4669
46702003-01-21 Alexandre Duret-Lutz <adl@gnu.org>
4671
4672 * lib/am/distdir.am (top_distdir, distdir): Define these
4673 variables only in top level Makefile. Redefine $(top_distdir)
4674 as $(distdir).
4675 (distdir): Fix passing of $(top_distdir) to sub-makes.
4676 * automake.in (handle_dist): Do not define the DISTDIR and
4677 TOP_DISTDIR transformations. We don't need them anymore.
4678 * automake.texi (Dist): Reorder the dist-hook section, and move
4679 the DIST_SUBDIRS paragraph earlier. Document distdir and
4680 top_distdir.
4681 * tests/subpkg.test: Update to check for $(distdir) and
4682 $(top_distdir).
4683
46842003-01-19 Alexandre Duret-Lutz <adl@gnu.org>
4685
4686 Rename more files to accomodate 8+3 file systems, and adjust the
4687 vocabulary at the same time: AM_CONDITIONAL defines "conditionals",
4688 and we call "condition" a conjunction of "conditionals".
4689 * lib/am/Conditional.pm: Rename to lib/am/Condition.pm.
4690 * lib/am/tests/Conditional.pl: Rename to lib/am/tests/Condition.pl.
4691 * lib/am/ConditionalSet.pm: Rename to lib/am/DisjConditions.pm.
4692 * lib/am/tests/ConditionalSet.pl: Rename to
4693 lib/am/tests/DisjConditions.pl
4694 * lib/am/Conditional.pm (condition_negate): Rename to ...
4695 * lib/am/Condition.pm (conditional_negate): ... this.
4696 * automake.in: Adjust references to Condition and DisjConditions.
4697 (check_ambiguous_conditional, conditional_ambiguous_p): Rename to ...
4698 (check_ambiguous_condition, condition_ambiguous_p): ... these.
4699
4700 * tests/README: New file.
4701
4702 * automake.texi (Conditional Programs): Show a sample Makefile.am.
4703 Remind $(EXEEXT) must be appended to configure substitutions.
4704 Show how Automake conditionals can be used instead.
4705 * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also
4706 appended to conditionally defined programs.
4707
47082003-01-16 Jim Meyering <jim@meyering.net>
4709
4710 Accept --help and --version, and lots of syntactic clean-up.
4711 * lib/install-sh: Use consistent indentation, two spaces per level.
4712 (scriptversion): New variable.
4713 Change initializations like `variable=""' to `variable='.
4714 (usage): New variable.
4715 Use `test', not `['.
4716 Use `test -z "$var"', not `[ x"$var" = x ]'.
4717 Use `test -n "$var"', not `[ x"$var" != x ]'.
4718 Alphabetize case entries.
4719 Accept --help and --version options.
4720 Remove unnecessary `else :' clauses.
4721 Add a `Local variables' eval block to help emacs users update
4722 the time-stamp variable added above.
4723 Mostly from Karl Berry.
4724
47252003-01-16 Alexandre Duret-Lutz <adl@gnu.org>
4726
4727 * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add
4728 python2.3.
4729
4730 * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir'
4731 or `pyexecdir', for the sake of 64-bit distributions that usually
4732 use lib64/ instead of lib/. Fall back to the default directory
4733 if it doesn't work.
4734 Suggested by Gwenole Beauchesne.
4735
47362003-01-14 Alexandre Duret-Lutz <adl@gnu.org>
4737
4738 For PR automake/382:
4739 * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'.
4740 Explain BUILT_SOURCES is usually needed in this case.
4741 Reported by William S Fulton.
4742
47432003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
4744
4745 Rename some files for the sake of 8+3 file systems.
4746 * tests/aclocali.test: Rename to tests/aclocal.test.
4747 * tests/aclocali1.test: Rename to tests/aclocal2.test.
4748 * tests/aclocalii.test: Rename to tests/aclocal3.test.
4749 * tests/acoutput.test: Rename to tests/acoutpt.test.
4750 * tests/acoutput2.test: Rename to tests/acoutpt2.test.
4751 * tests/acouttbs.test: Rename to tests/acoutbs.test.
4752 * tests/acouttbs2.test: Rename to tests/acoutbs2.test.
4753 * tests/autoheader.test: Rename to tests/autohdr.test.
4754 * tests/autoheader2.test: Rename to tests/autohdr2.test.
4755 * tests/condincl.test: Rename to tests/condinc.test.
4756 * tests/condincl2.test: Rename to tests/condinc2.test.
4757 * tests/distcommon.test: Rename to tests/distcom.test.
4758 * tests/distcommon2.test: Rename to tests/distcom2.test.
4759 * tests/distcommon3.test: Rename to tests/distcom3.test.
4760 * tests/installsh.test: Rename to tests/instsh.test.
4761 * tests/installsh2.test: Rename to tests/instsh2.test.
4762 * tests/instdata.test: Rename to tests/instdat.test.
4763 * tests/instdata2.test: Rename to tests/instdat2.test.
4764 * tests/libobj12b.test: Rename to tests/libobj13.test.
4765 * tests/link_f_c.test: Rename to tests/link_fc.test.
4766 * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test.
4767 * tests/link_f_cxx.test: Rename to tests/link_fcxx.test.
4768 * tests/nodefine.test: Rename to tests/nodef.test.
4769 * tests/nodefine2.test: Rename to tests/nodef2.test.
4770 * tests/required.test: Rename to tests/reqd.test.
4771 * tests/required2.test: Rename to tests/reqd2.test.
4772 * tests/sourcesub.test: Rename to tests/srcsub.test.
4773 * tests/sourcesub2.test: Rename to tests/srcsub2.test.
4774 * tests/specflags.test: Rename to tests/specflg.test.
4775 * tests/specflags2.test: Rename to tests/specflg2.test.
4776 * tests/specflags3.test: Rename to tests/specflg3.test.
4777 * tests/specflags6.test: Rename to tests/specflg6.test.
4778 * tests/specflags7.test: Rename to tests/specflg7.test.
4779 * tests/specflags8.test: Rename to tests/specflg8.test.
4780 * tests/specflags9.test: Rename to tests/specflg9.test.
4781 * tests/subdircond.test: Rename to tests/subcond.test.
4782 * tests/subdircond2.test: Rename to tests/subcond2.test.
4783 * tests/subdircond3.test: Rename to tests/subcond3.test.
4784 * tests/texinfo.test: Rename to tests/txinfo.test.
4785 * tests/texinfo2.test: Rename to tests/txinfo2.test.
4786 * tests/texinfo3.test: Rename to tests/txinfo3.test.
4787 * tests/texinfo4.test: Rename to tests/txinfo4.test.
4788 * tests/texinfo5.test: Rename to tests/txinfo5.test.
4789 * tests/texinfo6.test: Rename to tests/txinfo6.test.
4790 * tests/texinfo7.test: Rename to tests/txinfo7.test.
4791 * tests/texinfo8.test: Rename to tests/txinfo8.test.
4792 * tests/texinfo9.test: Rename to tests/txinfo9.test.
4793 * tests/texinfo10.test: Rename to tests/txinfo10.test.
4794 * tests/texinfo13.test: Rename to tests/txinfo13.test.
4795 * tests/texinfo16.test: Rename to tests/txinfo16.test.
4796 * tests/texinfo17.test: Rename to tests/txinfo17.test.
4797 * tests/texinfo18.test: Rename to tests/txinfo18.test.
4798 * tests/Makefile.am (TESTS): Adjust.
4799 * ChangeLog.1996: Rename to ChangeLog.96.
4800 * ChangeLog.1998: Rename to ChangeLog.98.
4801 * ChangeLog.2000: Rename to ChangeLog.00.
4802 * ChangeLog.2001: Rename to ChangeLog.01.
4803 * Makefile.am (EXTRA_DIST): Adjust.
4804 Reported by Richard Dawe.
4805
48062003-01-13 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
4807
4808 * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames.
4809 Use '_build' and '_inst' instead of '=build' and '=inst'.
4810 * tests/man2.test: Reflect change automake: check for files in
4811 '_build' and '_inst' directories instead of '=build' and '=inst'.
4812
48132003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
4814
4815 Use `_dirstamp' when the file-system doesn't support `.dirstamp'.
4816 * m4/lead-dot.m4: New file.
4817 * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4
4818 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.:
4819 * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define
4820 DEPDIR using am__leading_dot.
4821 * automake.in (require_build_directory): Define am__dirstamp, a new
4822 variable for the dirstamp basename, based on am__leading_dot.
4823 * tests/subobj6.test: Move all `test -f' into Makefiles, so we can
4824 use $(am__dirstamp).
4825 Reported by Richard Dawe.
4826
4827 * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test:
4828 Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when
4829 testing for programs.
4830 Reported by Richard Dawe.
4831
48322003-01-10 Alexandre Duret-Lutz <adl@gnu.org>
4833
4834 * Makefile.am (maintainer-check): Suggest using $sleep instead of
4835 sleep 2.
4836 * tests/defs.in (sleep): New variable.
4837 * tests/asm.test, tests/confsub.test, tests/lisp3.test,
4838 tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test:
4839 Use $sleep instead of sleep 2, to work around timestamp
4840 inconsistencies in Windows.
4841 Reported by Richard Dawe.
4842
4843 * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh
4844 after $MAKE -e.
4845 * tests/ansi3.test, tests/ansi5.test, tests/cond22.test,
4846 tests/man2.test, tests/subobj3.test, tests/suffix8.test,
4847 tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e.
4848 $SHELL is overridden by tests/defs, so it won't hurt even
4849 if $MAKE -e uses the $SHELL envvar.
4850 * tests/ansi.test, tests/insh2.test, tests/texinfo.test,
4851 tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh.
4852 Reported by Richard Dawe.
4853
4854 Build elisp files all at once instead of one by one.
4855 * automake.in (handle_emacs_lisp): Define am__ELFILES. Add
4856 elc-stamp to all's dependencies.
4857 * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files.
4858 (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist.
4859 (clean-lisp): Clean elc-stamp.
4860 * lib/elisp-comp: Reindent. Erase the temporatry directory
4861 from a trap. Propagate Emacs's exit status.
4862 * tests/lisp3.test: New file.
4863 * tests/Makefile.am (TESTS): Add lisp3.test.
4864 Reported by Ryan T. Sammartino.
4865
48662003-01-09 Akim Demaille <akim@epita.fr>
4867
4868 * automake.texi: Prefer $(FOO) to @FOO@ in the documentation.
4869
48702003-01-08 Alexandre Duret-Lutz <adl@gnu.org>
4871
4872 * m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious
4873 variables. Suggested by Ryan T. Sammartino.
4874
48752003-01-05 Alexandre Duret-Lutz <adl@gnu.org>
4876
4877 * automake.in (macro_define): Add missing `{$cond}' (typo from
4878 2002-09-18).
4879 ($gen_copyright): Append year 2003.
4880 (version): Increase year.
4881
4882 * tests/defs.in: Substitute aclocaldir instead of running
4883 the installed aclocal. Otherwise Libtool and Gettext
4884 tests get skipped when aclocal doesn't preexist.
4885 Reported by Imacat.
4886 * tests/listval.test, tests/suffix2.test: Remove pointless -I
4887 argument to aclocal.
4888
4889-----
4890
4891Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
4892
4893This file is part of GNU Automake.
4894
4895GNU Automake is free software; you can redistribute it and/or modify
4896it under the terms of the GNU General Public License as published by
4897the Free Software Foundation; either version 2, or (at your option)
4898any later version.
4899
4900GNU Automake is distributed in the hope that it will be useful,
4901but WITHOUT ANY WARRANTY; without even the implied warranty of
4902MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4903GNU General Public License for more details.
4904
4905You should have received a copy of the GNU General Public License
4906along with autoconf; see the file COPYING. If not, write to
4907the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
4908Boston, MA 02110-1301, USA.
4909
4910;; Local Variables:
4911;; coding: utf-8
4912;; End:
Note: See TracBrowser for help on using the repository browser.