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