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