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