1 2003-12-26 Alexandre Duret-Lutz <adl@gnu.org>
3 * doc/automake.texi (@copying): Do not repeat the version.
4 (Top): Use @insertcopying. Add a @detailmenu, this works around
5 Emacs 21's inability to lookup indices in sub-nodes (reported
7 (C++ Support, Assembly Support, Fortran 77 Support, Java Support,
8 Support for Other Languages, Preprocessing Fortran 77, Compiling
9 Fortran 77 Files, Mixing Fortran 77 With C and C++, How the Linker
10 is Chosen): Add missing descriptions in menus.
11 (Fortran 77 and Autoconf): Remove, this node was just saying "use
12 Autoconf 2.53 or greater".
14 2003-12-26 Santiago Vila <sanvila@unex.es> (tiny change)
16 * NEWS: s/Gettext 1.12.1/Gettext 0.12.1/
18 2003-12-25 Nicolas Joly <njoly@pasteur.fr> (tiny change)
20 * doc/automake.texi (Conditional Sources): Typo.
22 2003-12-25 Alexandre Duret-Lutz <adl@gnu.org>
24 * lib/Automake/Config.in: Require Exporter.
25 Report from Kevin Ryde (failure with Perl 5.005_03).
27 2003-12-15 Alexandre Duret-Lutz <adl@gnu.org>
29 * tests/aclocal6.test: Check for autom4te.cache only if it has
31 * tests/maintclean.test: Update comment.
32 Report from Bruno Haible.
34 * tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
36 Report from Václav Haisman.
38 2003-12-10 Alexandre Duret-Lutz <adl@gnu.org>
40 * configure.ac, NEWS: Bump version to 1.8.0a.
42 * configure.ac, NEWS: Bump version to 1.8.
44 * lib/texinfo.tex: New upstream version.
46 * Makefile.am (INSTALL): Copy the source from $(srcdir).
48 2003-12-09 Alexandre Duret-Lutz <adl@gnu.org>
50 * lib/Automake/Rule.pm (define): Remove debugging traces.
51 Report from Akim Demaille.
53 2003-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
54 Alexandre Duret-Lutz <adl@gnu.org>
56 * Makefile.am (do_subst): Fix the substitution of @configure_input@.
57 (automake, aclocal): Create the output atomically and make it
58 read-only, as done in the Autoconf package.
59 * lib/Automake/Makefile.am (do_subst): Fix the substitution of
61 (Config.pm): Create the output atomically and make it read-only.
62 * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Substitute
63 @configure_input@ and make the output read-only.
64 * lib/Automake/Config.in, m4/amversion.in, tests/aclocal.in,
65 tests/automake.in, tests/defs.in: Add a @configure_input@ line.
67 2003-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
69 * doc/automake.texi (Local Macros, CVS): Typos.
71 2003-12-08 Alexandre Duret-Lutz <adl@gnu.org>
73 * lib/Automake/Variable.pm (hook): Use $$ as prototype, not $\&.
74 Perl 5.6.0 will not accept a reference sub reference for the
76 * automake.in (var_SUFFIXES_trigger): Adjust registration via
77 Automake::Variable::hook.
78 (handle_texinfo_helper): Make sure `inner_expand => 1' appears
79 on one line, so that Perl 5.6.0 does not complain about
80 inner_expand being a bare identifier.
82 2003-12-05 Alexandre Duret-Lutz <adl@gnu.org>
84 * aclocal.in (check_acinclude, scan_file): Output `warning:' in
86 Report from Pavel Roskin.
88 2003-12-04 Alexandre Duret-Lutz <adl@gnu.org>
90 * TODO: Remove some old entries.
92 * doc/automake.texi (Rebuilding): Document CONFIGURE_DEPENDENCIES
93 and CONFIG_STATUS_DEPENDENCIES. Move this sections later
94 in the manual since it's pretty advanced material.
96 * automake.in ($config_header_location): Remove. Use
97 %ac_config_files_location instead.
98 (rewrite_inputs_into_dependencies): Do not prepend $(top_builddir)/
100 (handle_configure): Use rewrite_inputs_into_dependencies to
101 distribute and compute AC_CONFIG_HEADERS dependencies.
102 (scan_autoconf_traces) <AC_CONFIG_HEADERS>: Fill
103 %ac_config_files_location.
104 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Rename as ...
105 (%CONFIG_HIN%): ... this. $(srcdir) is already added in
106 scan_autoconf_traces.
107 * tests/Makefile.am (TESTS): Add confh5.test.
108 * tests/confh5.test: New file.
110 * tests/ltlibsrc.test: Fix the zoo_d_old2_la.c rule in Makefile.am,
111 $< is not portable and the source is in $(srcdir).
113 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
114 Alexandre Duret-Lutz <adl@gnu.org>
116 * automake.in (handle_configure): Do not require link sources if
117 they contain a dollar, or if they were built. Likewise, do not
118 clean link destination if they contain a dollar.
119 (scan_autoconf_traces) <AC_CONFIG_LINKS>: Populate
120 %ac_config_files_location with link destinations. Do not
121 store locations in @config_links, now that %ac_config_files_location
123 * tests/conflnk3.test: New file.
124 * tests/Makefile.am (TESTS): Add conflnk3.test.
126 2003-12-02 Alexandre Duret-Lutz <adl@gnu.org>
128 * configure.ac, NEWS: Bump version to 1.7i.
130 * configure.ac, NEWS: Bump version to 1.7h.
132 * doc/automake.texi (Default _SOURCES): Fix reference to true.
134 * lib/texinfo.tex: New upstream version.
136 2003-11-30 Alexandre Duret-Lutz <adl@gnu.org>
138 * automake.in (handle_source_transform): If it's present, use
139 libfoo_la.c instead of libfoo.c as the default source of
140 libfoo.la, and issue an -Wobsolete diagnostic. Do not be
141 greedy in the suffix replacement regex.
142 * doc/automake.texi (Default _SOURCES): New node.
143 (Program Sources, Libtool Modules): Refer to it.
144 * tests/ltlibsrc.test: Update to check for old default source files.
146 2003-11-30 Gary V. Vaughan <gary@gnu.org>
148 * automake.in (&handle_source_transform): Calculate a default file
149 for use in the absence of an appropriate _SOURCES declaration by
150 first stripping any suffix from the unxformed target name, and
152 * doc/automake.texi (Program Sources, Libtool Modules): Document this.
153 * tests/ltlibsrc.test: New file.
154 * tests/Makefile.am (TESTS): Add ltlibsrc.test.
156 2003-11-29 Alexandre Duret-Lutz <adl@gnu.org>
158 * lib/Automake/Variable.pm (loc_and_value_as_list_recursive,
159 _value_as_list_recursive_worker): Merge into ...
160 (value_as_list_recursive): ... this function. Pass options
161 as a hash argument, and use the `location' option to trigger
162 the behavior of loc_and_value_as_list_recursive.
163 (traverse_recursively, transform_variable_recursively): Take
164 options as a %options argument.
165 (_do_recursive_traversal): Perform expansion of inner variables
166 (as in `$(FILE).ext') on request.
167 * automake.in (handle_options, check_libobjs_sources)
168 (handle_source_transform, handle_LIBOBJS, handle_ltlibraries)
169 (handle_ltlibraries, handle_man_pages, handle_dist)
170 (handle_gettext, am_install_var): Adjust usage of
171 value_as_list_recursive.
172 (handle_texinfo_helper): Pass inner_expand to
173 value_as_list_recursive.
174 * tests/txinfo28.test: New file.
175 * tests/Makefile.am (TESTS): Add txinfo28.test.
176 Report from Ralf Corsepius.
178 * lib/Automake/Variable.pm (_do_recursive_traversal): Do not
179 update @_substfroms and @_substfroms for undefined variables.
180 * tests/substre2.test: New file.
181 * tests/Makefile.am (TESTS): Add substre2.test.
183 * lib/Automake/VarDef.pm (value): Rename as ...
184 (raw_value): ... this.
185 (value): New method, strip # and \\\n.
186 (dump): Use raw_value.
187 * lib/Automake/Variable.pm (output): Use raw_value.
188 (value_as_list): Simplify, now that backslash and comments
190 * tests/txinfo22.test: Make sure Automake isn't confused
191 by comments in variables.
193 2003-11-27 Alexandre Duret-Lutz <adl@gnu.org>
195 * doc/automake.texi: More target vs. rule editing. Back out some
196 of the previous changes. It's OK to talk about targets as "entry
197 points", or as thing to build, but targets cannot be run: rules
200 * doc/automake.texi: s/target/rule/ where appropriate. A target
201 is the destination of a target rule, not the rule itself.
202 Suggested by Bruno Haible.
204 2003-11-25 Alexandre Duret-Lutz <adl@gnu.org>
206 * configure.ac, NEWS: Bump version to 1.7g.
208 * configure.ac, NEWS: Bump version to 1.7f.
210 * automake.in (prepend_srcdir): Parenthesize @inputs to remove
211 a maintainer-check warning.
212 * tests/subst2.test: Rewrite the $MAKE invocation to please
215 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
218 * doc/automake.texi (Program variables): Mention per-target
219 _CPPFLAGS in the documentation of INCLUDES.
220 * automake.in (generate_makefile): Likewise in the INCLUDES diagnostic.
221 Report from Bob Friesenhahn.
223 * doc/automake.texi (Extending): Elaborate on overriding.
225 Suggested by Bruno Haible.
227 2003-11-24 Alexandre Duret-Lutz <adl@gnu.org>
229 * lib/Automake/Variable.pm (output): Add $(am__empty) to variable
230 definitions that end with a line full of @substitutions@ that
231 would confuse HP-UX Make if it were blank.
232 (transform_variable_recursively): Make sure not to erase empty
234 * tests/Makefile.am (TESTS): Add subst2.test.
235 * tests/subst2.test: New file.
236 Report from Harlan Stenn.
238 * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Work around a
240 Report from Dalibor Topic.
242 2003-11-22 Alexandre Duret-Lutz <adl@gnu.org>
244 Fix for PR automake/411:
245 * automake.in (rewrite_inputs_into_dependencies): Simplify, and rename
247 (prepend_srcdir): ... this.
248 (rewrite_inputs_into_dependencies): New function, extracted from ...
249 (handle_configure): ... here. Adjust to use prepend_srcdir
250 or rewrite_inputs_into_dependencies where needed. Especially,
251 using (the new) rewrite_inputs_into_dependencies to compute
252 Makefile dependencies will fix PR/411.
253 * lib/am/configure.am (DIST_COMMON): Remove %MAKEFILE-IN%, it's
254 already distributed by rewrite_inputs_into_dependencies.
255 * tests/Makefile.am (TESTS): Add output10.test, remove distcom.test.
256 * tests/colon3.test: Use set -e. Don't allow any AUTOMAKE
257 invocation refer to zardoz. Make sure two.in and three.in
258 appear as $(srcdir)/two.in and $(srcdir)/three.in dependencies.
259 * tests/distcom.test: Delete. This is covered by tests/output9.test.
260 * tests/output10.test: New file, for PR/411.
262 2003-11-21 Alexandre Duret-Lutz <adl@gnu.org>
264 * automake.in (append_exeext): Do not append $(EXEEXT) to
266 * tests/exeext4.test: New file.
267 * tests/Makefile.am (TESTS): Add exeext4.test.
269 2003-11-19 Alexandre Duret-Lutz <adl@gnu.org>
271 * lib/am/configure.am (%MAKEFILE%): Remove %MAINTAINER-MODE%,
272 mistakenly added on 2001-03-05.
273 * tests/remake5.test: New file.
274 * tests/Makefile.am (TESTS): Add remake5.test.
275 Report from Ralf Corsepius.
277 2003-11-18 Alexandre Duret-Lutz <adl@gnu.org>
279 * configure.ac, NEWS: Bump version to 1.7e.
281 * configure.ac, NEWS: Bump version to 1.7d.
283 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New
286 2003-11-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> (tiny change)
287 Alexandre Duret-Lutz <adl@gnu.org>
289 * lib/am/texinfos.am (install-info): Depend on
290 install-info-recursive or install-info-am even if no-installinfo.
291 * tests/txinfo27.test: New file.
292 * tests/Makefile.am (TESTS): Add txinfo26.test.
294 2003-11-18 Paolo Bonzini <bonzini@gnu.org>
295 Alexandre Duret-Lutz <adl@gnu.org>
297 * lib/ylwrap: Do not overwrite headers if they haven't changed.
298 Fix the include guard substitution.
299 * tests/yacc6.test: Augment to run ylwrap, and make sure it
300 does not needlessly update headers.
301 * tests/yacc8.test: Make sure headers are not needlessly updated
302 with ylwrap is not used. Move `test -f foo.o' into the
303 Makefile as `test -f foo.$(OBJEXT)' for portability.
305 2003-11-17 Alexandre Duret-Lutz <adl@gnu.org>
307 * automake.in (generate_makefile): Define SUBDIRS if it is
308 not defined and DIST_SUBDIRS is.
309 * tests/subpkg2.test: New file.
310 * tests/Makefile.am (TESTS): Add subpkg2.test.
311 Report from Gary V. Vaughan.
313 * tests/suffix11.test: Check for suffixes containing `-'.
314 * lib/Automake/Rule.pm ($_SUFFIX_RULE_PATTERN): Accept `-' in
317 * lib/Automake/Rule.pm (define): Suggest using target-local instead
318 of target-am, not target-am-local.
319 * tests/overrid.test: Check the diagnostic for clean-am.
320 Report from Bruno Haible.
322 2003-11-17 Jim Meyering <jim@meyering.net>
324 * bootstrap: Require not only that `perl' have the executable
325 bit set, but also that it is not a directory.
327 * lib/am/configure.am: Mark %MAKEFILE% as `.PRECIOUS'.
329 2003-11-17 Alexandre Duret-Lutz <adl@gnu.org>
331 * automake.in (ac_config_files_location): Declare as a hash.
332 (handle_configure): Rewrite the computation of AC_CONFIG_FILES
333 dependencies; make sure we don't use $(srcdir) or $(top_srcdir)
334 for inputs which are also outputs, and do not check inputs
335 relatively to the current directory.
336 (scan_autoconf_config_files): Take $where as argument, and
337 fill $ac_config_files_location.
338 * tests/output8.test, tests/output9.test: New files.
339 * tests/Makefile.am (TESTS): Add output8.test and output9.test.
340 Report from Bruno Haible.
342 2003-11-14 Alexandre Duret-Lutz <adl@gnu.org>
344 * tests/aclibobj.test, tests/aclocal.test, tests/aclocal3.test,
345 tests/acoutbs.test, tests/acoutbs2.test, tests/acoutnoq.test,
346 tests/acoutpt.test, tests/acoutpt2.test, tests/acoutqnl.test,
347 tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
348 tests/all.test, tests/alpha.test, tests/amassign.test,
349 tests/ammissing.test, tests/ansi.test, tests/ansi10.test,
350 tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
351 tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
352 tests/ansi7.test, tests/ansi9.test, tests/ar.test,
353 tests/autohdr.test, tests/autohdr2.test, tests/auxdir.test,
354 tests/auxdir2.test, tests/backsl.test, tests/backsl2.test,
355 tests/badprog.test, tests/block.test, tests/canon2.test,
356 tests/canon3.test, tests/canon4.test, tests/canon5.test,
357 tests/ccnoco.test, tests/check.test, tests/check2.test,
358 tests/check3.test, tests/checkall.test, tests/clean.test,
359 tests/colneq2.test, tests/colon.test, tests/colon2.test,
360 tests/colon3.test, tests/colon4.test, tests/colon5.test,
361 tests/colon6.test, tests/colon7.test, tests/comment.test,
362 tests/comment2.test, tests/comment4.test, tests/comment6.test,
363 tests/comment7.test, tests/compile_f_c_cxx.test, tests/cond.test,
364 tests/cond10.test, tests/cond11.test, tests/cond13.test,
365 tests/cond14.test, tests/cond15.test, tests/cond16.test,
366 tests/cond17.test, tests/cond18.test, tests/cond19.test,
367 tests/cond21.test, tests/cond22.test, tests/cond25.test,
368 tests/cond26.test, tests/cond28.test, tests/cond3.test,
369 tests/cond4.test, tests/cond5.test, tests/cond6.test,
370 tests/cond7.test, tests/cond8.test, tests/cond9.test,
371 tests/condd.test, tests/condinc.test, tests/condlib.test,
372 tests/condman.test, tests/condman2.test, tests/conf2.test,
373 tests/confdeps.test, tests/confh.test, tests/confh4.test,
374 tests/config.test, tests/confincl.test, tests/conflnk.test,
375 tests/conflnk2.test, tests/confsub.test, tests/confvar.test,
376 tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
377 tests/cxx.test, tests/cxxansi.test, tests/cxxcpp.test,
378 tests/cxxlibobj.test, tests/cxxlink.test, tests/cxxnoc.test,
379 tests/cxxo.test, tests/cygwin32.test, tests/dash.test,
380 tests/defun.test, tests/defun2.test, tests/dejagnu.test,
381 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
382 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
383 tests/depcomp.test, tests/depcomp2.test, tests/depcomp4.test,
384 tests/depdist.test, tests/depend.test, tests/depend2.test,
385 tests/depend3.test, tests/depend4.test, tests/destdir.test,
386 tests/dirlist.test, tests/discover.test, tests/distcom.test,
387 tests/distcom2.test, tests/distdir.test, tests/distname.test,
388 tests/dollar.test, tests/double.test, tests/dup2.test,
389 tests/empty.test, tests/empty2.test, tests/empty3.test,
390 tests/empty4.test, tests/error.test, tests/exdir.test,
391 tests/exeext.test, tests/exeext3.test, tests/exsource.test,
392 tests/ext.test, tests/ext2.test, tests/extra.test,
393 tests/extra2.test, tests/extra3.test, tests/extra4.test,
394 tests/extra5.test, tests/extra6.test, tests/extra7.test,
395 tests/flibs.test, tests/fnoc.test, tests/fo.test,
396 tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
397 tests/fpinstall.test, tests/gcj.test, tests/gcj3.test,
398 tests/gcj4.test, tests/gnits2.test, tests/gnits3.test,
399 tests/header.test, tests/implicit.test, tests/include.test,
400 tests/include2.test, tests/info.test, tests/insh2.test,
401 tests/install2.test, tests/installdir.test, tests/instdat.test,
402 tests/instdat2.test, tests/instexec.test, tests/insthook.test,
403 tests/instman.test, tests/instman2.test, tests/instsh.test,
404 tests/instsh2.test, tests/interp.test, tests/interp2.test,
405 tests/java.test, tests/java2.test, tests/javaprim.test,
406 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
407 tests/lex.test, tests/lex3.test, tests/lex4.test, tests/lex5.test,
408 tests/libobj11.test, tests/libobj2.test, tests/libobj4.test,
409 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
410 tests/library.test, tests/libtool.test, tests/libtool2.test,
411 tests/libtool3.test, tests/libtool5.test, tests/link_c_cxx.test,
412 tests/link_dist.test, tests/link_f_only.test, tests/link_fc.test,
413 tests/link_fccxx.test, tests/link_fcxx.test, tests/lisp.test,
414 tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
415 tests/maintclean.test, tests/make.test, tests/makej.test,
416 tests/makevars.test, tests/man.test, tests/man2.test,
417 tests/mclean.test, tests/mdate.test, tests/mdate2.test,
418 tests/mdate3.test, tests/mdate4.test, tests/mkinst2.test,
419 tests/mkinstall.test, tests/nobase.test, tests/nodef.test,
420 tests/nodef2.test, tests/nodep.test, tests/nodepcomp.test,
421 tests/nodist.test, tests/nodist2.test, tests/nodist3.test,
422 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
423 tests/nostdinc.test, tests/number.test, tests/obsolete.test,
424 tests/order.test, tests/outdir.test, tests/output.test,
425 tests/output2.test, tests/output3.test, tests/output4.test,
426 tests/parse.test, tests/phony.test, tests/pluseq.test,
427 tests/pluseq10.test, tests/pluseq2.test, tests/pluseq3.test,
428 tests/pluseq4.test, tests/pluseq6.test, tests/pluseq8.test,
429 tests/postproc.test, tests/ppf77.test, tests/pr2.test,
430 tests/pr204.test, tests/pr220.test, tests/pr224.test,
431 tests/pr229.test, tests/pr243.test, tests/pr266.test,
432 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
433 tests/pr300-lib.test, tests/pr300-ltlib.test,
434 tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
435 tests/pr87.test, tests/pr9.test, tests/prefix.test,
436 tests/proginst.test, tests/python.test, tests/python3.test,
437 tests/python4.test, tests/python5.test, tests/python6.test,
438 tests/python7.test, tests/python8.test, tests/python9.test,
439 tests/recurs2.test, tests/remake.test, tests/remake2.test,
440 tests/remake3.test, tests/req.test, tests/reqd.test,
441 tests/rulepat.test, tests/scripts.test, tests/sinclude.test,
442 tests/space.test, tests/specflg3.test, tests/specflg6.test,
443 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
444 tests/spell3.test, tests/spelling.test, tests/spy.test,
445 tests/stamph2.test, tests/stdlib2.test, tests/strip.test,
446 tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
447 tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
448 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
449 tests/subdirbuiltsources.test, tests/subobj.test,
450 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
451 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
452 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
453 tests/subpkg.test, tests/subst.test, tests/substref.test,
454 tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
455 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
456 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
457 tests/suffix9.test, tests/symlink2.test, tests/symlink3.test,
458 tests/tags.test, tests/tagsub.test, tests/target-cflags.test,
459 tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
460 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
461 tests/txinfo18.test, tests/txinfo2.test, tests/txinfo23.test,
462 tests/txinfo24.test, tests/txinfo25.test, tests/txinfo26.test,
463 tests/txinfo3.test, tests/txinfo5.test, tests/txinfo6.test,
464 tests/txinfo7.test, tests/txinfo8.test, tests/txinfo9.test,
465 tests/unused.test, tests/vars.test, tests/vars3.test,
466 tests/vartar.test, tests/version.test, tests/version2.test,
467 tests/version4.test, tests/version6.test, tests/version7.test,
468 tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
469 tests/werror.test, tests/whoami.test, tests/yacc.test,
470 tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
471 tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
472 tests/yaccpp.test, tests/yaccvpath.test: Fix license to refer
473 to Automake, not autoconf.
475 Fix for PR automake/408:
476 * lib/am/texinfos.am (install-info-am): Strip any $(srcdir)/ prefix
477 from $file, as already done for dist-info.
478 * tests/Makefile.am (TESTS): Add txinfo26.test.
479 * tests/txinfo26.test: New file.
480 Report from Nicholas Wourms.
482 2003-11-13 Alexandre Duret-Lutz <adl@gnu.org>
484 * m4/lispdir.m4 (AM_PATH_LISPDIR): If EMACS=t, empty it before
485 running AC_CHECK_PROGS(EMACS).
486 * lib/am/lisp.am (elc-stamp): Quote $(EMACS).
487 Report from Jens Petersen.
489 * tests/mkinst2.test: Rewrite.
491 * m4/mkdirp.m4: Do not require AM_AUX_DIR_EXPAND.
493 2003-11-12 Alexandre Duret-Lutz <adl@gnu.org>
495 * automake.in (scan_autoconf_traces): Honor sinclude.
496 * tests/sinclude.test: Check for sinclude.
497 Report from Roberto Bagnara.
499 2003-11-11 Alexandre Duret-Lutz <adl@gnu.org>
501 * Makefile.am: Do not rerun `make dist' after tagging, `make distcheck'
502 already build the tarballs. Commit files right before tagging.
503 Check NEWS before running distcheck.
505 * m4/amversion.in (AM_AUTOMAKE_VERSION): Missing cosmetic space.
507 * configure.ac, NEWS: Bump version to 1.7c.
509 * configure.ac, NEWS: Bump version to 1.7b.
510 * Makefile.am (maintainer-check): Ignore comments while
511 scanning for rm without -f.
513 * Makefile.am (fetch): Get all files from savannah. Do not
514 postprocess Struct.pm and XFiles.pm, since we now are the master
516 * lib/config.sub, lib/config.guess, lib/config-ml.in,
517 lib/texinfo.tex: New upstream versions.
519 * configure.ac: Check that autoconf is installed, that it works,
520 and that it is recent enough in three steps, not one.
524 * lib/Makefile.am (dist_script_DATA): Move config-ml.in ...
525 (dist_pkgvdata_DATA): ... here.
527 * tests/spy.test: Document overlapping ::-rules incompatibilities,
528 and check only non-overlapping ::-rules.
530 * doc/automake.texi (Texinfo): Define MAKEINFO, MAKEINFOHTML,
531 MAKEINFOFLAGS, AM_MAKEINFOFLAGS, AM_MAKEINFOHTMLFLAGS, TEXI2DVI,
532 TEXI2PDF, DVIPS, and TEXINFO_TEX in a table.
533 (Uniform): Do not speak of missing HTML support, this is
535 * lib/Automake/Variable.pm (_silent_variable_override): Add
536 AM_MAKEINFOHTMLFLAGS.
537 * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Use MAKEINFOHTML and
538 AM_MAKEINFOHTMLFLAGS instead of MAKEINFO and AM_MAKEINFOFLAGS.
539 * lib/am/texinfos.am (MAKEINFOHTML, AM_MAKEINFOHTMLFLAGS): Define.
540 * tests/txinfo21.test: Add a test with AM_MAKEINFOHTMLFLAGS.
542 2003-11-10 Alexandre Duret-Lutz <adl@gnu.org>
544 * tests/spy.test: New file.
545 * tests/Makefile.am (TESTS): Add spy.test.
547 * automake.in (handle_configure): Distribute and define mkinstalldirs
548 only if it is already present in the package.
549 (scan_autoconf_files): Do not require mkinstalldirs.
550 (require_build_directory): Use $(mkdir_p), not $(mkinstalldirs).
551 * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
552 lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/mans.am,
553 lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
554 lib/am/texinfos.am: Use $(mkdir_p) instead of $(mkinstalldirs).
555 * m4/mkdirp.m4: New file.
556 * m4/Makefile.am (dist_m4data_DATA): Add mkdirp.m4.
557 * m4/init.m4 (AM_INIT_AUTOMAKE): Call AM_PROG_MKDIR_P.
558 * tests/Makefile.am (TESTS): Remove insh.test.
559 * tests/insh.test: Delete.
560 * tests/defs.in, tests/instsh.test: Do not install mkinstalldirs.
561 * tests/auxdir.test: Install mkinstalldirs.
562 * tests/distdir.test, tests/instman.test, tests/pr2.test: Use
563 $(mkdir_p), not $(mkinstalldirs).
564 * tests/empty.test: Run configure, do not substitute things by hand.
565 * doc/automake.texi (Optional) <AC_CONFIG_FILES>: Take install-sh
566 as an example, not mkinstalldirs.
567 (Auxiliary Programs) <mkinstalldirs>: Update.
569 * tests/defs.in: Handle required=bzip2.
571 * tests/defs.in: Export SHELL.
572 * tests/cond11.test: Missing quotes.
573 * tests/nogzip2.test: Require bzip2.
575 2003-11-09 Alexandre Duret-Lutz <adl@gnu.org>
577 * NEWS: Add news entries from 1.6.x and 1.7.x.
579 * automake.texi (Optional) <AC_SUBST>: Grammar fixes.
581 * automake.in (check_gnu_standards): Install COPYING only if
582 none of COPYING, COPYING.LIB, or COPYING.LESSER exist. Do not
583 overwrite the license otherwise.
584 * tests/Makefile.am (TESTS): Add license.test.
585 * tests/license.test: New file.
587 * lib/mkinstalldirs: Mention automake-patches@gnu.org and
588 bug-automake@gnu.org.
589 * lib/compile, lib/depcomp, lib/elisp-comp, lib/mdate-sh:
590 Likewise. Also add support for --help and --version.
591 * lib/py-compile, lib/ylwrap: Likewise, and reindent.
593 2003-11-08 Alexandre Duret-Lutz <adl@gnu.org>
595 * lib/am/tags.am (ETAGSFLAGS, CTAGSFLAGS): Remove.
596 * lib/am/dejagnu.am (RUNTESTFLAGS): Remove.
597 * lib/am/java.am (JAVACFLAGS): Remove.
598 * tests/dejagnu3.test: Check that the environment value
599 of RUNTESTFLAGS get passed down to runtest.
600 Suggested by Mark Mitchell.
602 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
603 (?GENERIC?%EXT%.lo): Do not echo compile command manually, this
604 breaks `make -s'. Instead, fold the compile command on two lines,
605 so that it take less space on the display.
606 Suggested by Karl Berry and William Fulton.
608 * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Rename as ...
609 (%DEST_INFO_PREFIX%%DEST_SUFFIX%): ... this, and honor ?INSRC?
610 to select $(srcdir) or `.' builds.
611 (INFO_DEPS): Define here.
612 * lib/am/texinfos.am (dist-info): Strip filename starting with
614 * automake.in (output_texinfo_build_rules): Take a new argument
615 $insrc, and adjust substitutions in 'texibuild'.
616 (handle_texinfo_helper): Compute a regex of all user-cleaned
617 files, and use this to select whether to build .info files in `.'
618 or $(srcdir). Give an account of the $(srcdir) vs `.' debacle.
619 Alway build the version.texi and stamp files in $(srcdir). Do not
621 * tests/Makefile.am (TESTS): Add txinfo23.test, txinfo24.test,
623 * tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test:
625 * tests/txinfo13.test, tests/txinfo16.test, tests/txinfo3.test,
626 tests/vtexi.test: Adjust to new rules.
628 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
630 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.58.
631 * configure.ac: Require Autoconf 2.58a, and check for 2.58.
633 2003-10-27 Alexandre Duret-Lutz <adl@gnu.org>
635 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Erase %STAMP%.
636 * tests/Makefile.am (TESTS): Add autohdr3.test
637 * tests/autohdr3.test: New file.
639 * automake.in (handle_configure): Rename am__configure_deps
640 as am__aclocal_m4_deps and include $(ACLOCAL_M4_SOURCES) and
641 $configure_ac. Define am__configure_deps as am__aclocal_m4_deps
642 + $(CONFIGURE_DEPENDENCIES) + $(ACLOCAL_M4). Do not define
643 ACLOCAL_M4_DEPS while processing configure.am.
644 (make_paragraphs): Do not define %CONFIGURE_AC%, now unused.
645 (scan_aclocal_m4): Do not distribute aclocal.m4, this
646 is done from lib/am/configure.am.
647 * lib/am/configure.am (%MAKEFILE-IN%, DIST_COMMON,
648 $(top_srcdir)/configure, $(ACLOCAL_M4)): Simplify using
649 $(am__configure_deps) or $(am__aclocal_m4_deps).
650 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Likewise.
652 2003-10-26 Alexandre Duret-Lutz <adl@gnu.org>
654 * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Depend on
655 $(am__configure_deps).
657 * automake.in (handle_configure): Distribute all AC_CONFIG_HEADERS
658 sources, and without using require_file. Define %CONFIG_H_DEPS%
659 and %FIRST_CONFIG_HIN% while processing remake-hdr.am.
660 * lib/am/remake-hdr.am (%STAMP%): Use %CONFIG_H_DEPS% instead
661 of (srcdir)/%CONFIG_HIN%. Output the $(srcdir)/%CONFIG_HIN%
662 rule only for the first header (i.e., if %FIRST_CONFIG_HIN%).
663 * tests/autohdr4.test: New file.
664 * tests/Makefile.am (TESTS): Add autohdr4.test.
665 * tests/config.test: Do not grep, run things to see if they work.
667 2003-10-25 Alexandre Duret-Lutz <adl@gnu.org>
669 * tests/output7.test: Populate sub/ with a dummy file, so that it
670 is not empty. This fixes a failure reported by Patrick Welche.
671 * lib/am/distdir.am: Add note about tar's `-o' option and empty
674 2003-10-24 Didier Cassirame <faded@free.fr> (tiny change)
676 * lib/ylwrap: Typo in regex.
678 2003-10-23 Paul Eggert <eggert@twinsun.com>
680 * lib/Automake/XFile.pm: Don't assume -j is solo.
681 Issue a more-informative diagnostic.
682 Problems reported by Eric Sunshine.
684 2003-10-21 Alexandre Duret-Lutz <adl@gnu.org>
686 * m4/lispdir.m4 (AM_PATH_LISPDIR): Always check for Emacs.
687 Always define lispdir.
688 * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Check
689 $(EMACS) to decide whether _LISP files must be installed,
691 * doc/automake.texi (Emacs Lisp): Mention the two ways to install
692 non byte-compiled Emacs lisp files.
693 * tests/lisp4.test, tests/lisp5.test: Check "make install"
695 Suggested by Simon Josefsson.
697 * NEWS: Clarify the entry about multiple conditional definitions
698 of _PROGRAMS, _LDADD, and _LIBADD.
699 Report from Simon Josefsson.
701 * lib/am/install.am (install-strip): Override install_sh_PROGRAM
703 Report from Elmar Hoffmann.
705 2003-10-07 Alexandre Duret-Lutz <adl@gnu.org>
707 * aclocal.in ("MAIN", usage, parse_arguments): Move near
708 the end, so "MAIN" can use prototypes.
709 (scan_configure): Move later too, for the sake of prototypes.
710 (scan_configure_dep): Fix setting of $scanned_configure_dep.
711 (trace_used_macros): Do not take any argument.
713 2003-10-06 Alexandre Duret-Lutz <adl@gnu.org>
715 * tests/stdlib2.test: Check AM_LDFLAGS alone.
717 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
720 * automake.in (handle_ltlibraries): Also grep AM_LDFLAGS for `-module'.
721 * tests/stdlib2.test: New file.
722 * tests/Makefile.am (TESTS): Add stdlib2.test.
723 Report from Kevin P. Fleming.
725 2003-10-03 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
727 * tests/defs.in: For required=runtest, check that we are using
728 a DejaGnu that supports specifying the program on the command-line.
730 2003-10-03 Alexandre Duret-Lutz <adl@gnu.org>
732 For Debian Bug #213524:
733 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Merge
734 stderr and stdout, and grep only the first line while testing
735 install-info --version's output. This revert part of the change
738 2003-10-01 Akim Demaille <akim@epita.fr>
740 * m4/amversion.in: Add (C) to the Copyright notice.
742 2003-10-01 Paul Eggert <eggert@twinsun.com>
744 * lib/Automake/XFile.pm: Use Errno.
745 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
746 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
748 2003-09-30 Tom Tromey <tromey@redhat.com>
750 * lib/Automake/Options.pm (_process_option_list): Recognize
753 * doc/automake.texi (Options): Document no-dist.
754 * automake.in (check_cygnus): Set no-dist option.
755 (handle_dist): Recognize no-dist.
756 * tests/nodist3.test: New file.
757 * tests/Makefile.am (TESTS): Added nodist3.test.
759 2003-09-29 Alexandre Duret-Lutz <adl@gnu.org>
761 * automake.in (handle_clean): Take $makefile as argument, and
762 define %MAKEFILE% while processing clean.am.
763 (generate_makefile): Pass $makefile to handle_clean.
764 * lib/am/clean.am (distclean, maintainer-clean): Erase %MAKEFILE%,
766 * tests/gnumake.test: New file.
767 * tests/Makefile.am (TESTS): Add gnumake.test.
768 Report from Braden N. McDaniel.
770 2003-09-26 Alexandre Duret-Lutz <adl@gnu.org>
772 * doc/automake.texi (Scripts): Update the example about automake.
773 Mention `dist_' for distributed scripts.
775 * lib/mkinstalldirs: Clean up after NextStep and OpenStep mkdir.
776 Suggested by Eric Sunshine.
778 2003-09-25 Alexandre Duret-Lutz <adl@gnu.org>
780 * README: More mailing lists.
782 * NEWS: Mention the switch to GNU FDL for the manual.
784 2003-09-24 Alexandre Duret-Lutz <adl@gnu.org>
786 * lib/install-sh (src, dst): Protect names starting with `-',
789 * configure.in: Rename as ...
790 * configure.ac: ... this.
791 * README: s/configure.in/configure.ac/.
793 * doc/fdl.texi: New file.
794 * doc/Makefile.am (automake_TEXINFOS): New variable.
795 * doc/automake.texi (Copying This Manual): New appendix, include
797 (Macro and Variable Index, General Index): Move as subsections of ...
798 (Indices): This new appendix.
800 * doc/automake.texi: Refer to configure.ac instead of configure.in.
802 * automake.texi: Move ...
803 * doc/automake.texi: ... here.
804 * doc/Makefile.am: New file.
805 * configure.in: Output doc/Makefile.
806 * Makefile.am (SUBDIRS): Add doc.
807 (ETAGS_ARGS, TAGS_DEPENDENCIES): Move to doc/Makefile.am.
809 2003-09-23 Alexandre Duret-Lutz <adl@gnu.org>
811 * aclocal.in (write_aclocal): Consider files with relative
812 paths as local to the project, i.e., subject to m4_include.
813 * tests/subpkg.test (ACLOCAL_AMFLAGS): Make sure m4_include
814 is also used for .m4 files in the outer project.
816 Support for multiple inputs in AC_CONFIG_FILES.
817 Requested long ago by Harlan Stenn.
818 * automake.in (handle_dist): Remove unused argument $makefile.
819 (handle_subdirs): Expect SUBDIRS elements in $relative_dir,
820 not $am_relative_dir.
821 (rewrite_inputs_into_dependencies): Allow $add_srcdir to
822 be a filename that must always be prefixed by $(srcdir) or
824 (handle_configure, generate_makefile): Revamp to make the
825 Makefile.am, Makefile.in, Makefile more independent.
826 (locate_am): New function.
827 (scan_configure_dep, parse_arguments): Use locate_am.
828 (MAIN): Adjust call to generate_makefile.
829 * lib/am/configure.am: Remove %MAKEFILE-IN% from the dependencies
830 of %MAKEFILE%. %MAKEFILE-IN% is already in %MAKEFILE-DEPS%.
831 * tests/output6.test, tests/output7.test: New files.
832 * tests/Makefile.am (TESTS): Add them.
833 * automake.texi (Requirements) <AC_CONFIG_FILES>: Document how
834 multiple inputs are scanned.
836 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
838 * Makefile.am (FETCHFILES, fetch): Do not fetch lib/Automake/XFile.pm
839 and lib/Automake/Struct.pm from Autoconf.
840 * lib/Automake/XFile.pm: Update comment, Automake is now
841 the master for this file. Cosmetic changes.
843 2003-09-09 Akim Demaille <akim@epita.fr>
845 * lib/Automake/FileUtils.pm (&update_file): s/cannot not/cannot/g.
846 Reported by Gary Vaughan.
847 (&find_file): Walk the @include in forward order.
849 2003-09-09 Akim Demaille <akim@epita.fr>
851 * lib/Automake/FileUtils.pm (&update_file): Be sure not to leave
854 2003-09-07 Alexandre Duret-Lutz <adl@gnu.org>
856 Changes to m4_included files should also cause aclocal.m4 to change.
857 * aclocal.in (m4_include_rx): New variable.
858 (scan_configure_dep): New function.
859 (scan_configure, add_file): Simplify using scan_configure_dep.
860 * tests/Makefile.am (TESTS): Add acloca13.test.
861 * tests/aclocal13.test: New file.
863 * tests/instsh.test: Do not reset $ACLOCAL and $AUTOMAKE now
864 that we have fake version in the $PATH.
866 * aclocal.in (add_file): Remove useless filling of $output, probably
867 left a after CVS conflict. This code is now in write_aclocal.
869 * aclocal.in (configure_ac): Do not call require_configure_ac
870 before parsing the options.
871 * automake.in (configure_ac): Likewise.
872 * lib/Automake/Variable.pm (configure_ac): Do not require configure.ac,
874 * lib/Automake/Configure_ac.pm (require_configure_ac):
875 find_configure_ac never return an undefined value, so test
876 the file's existence instead.
877 * tests/Makefile.am (TESTS): Add help.test.
878 * tests/help.test: New file.
880 2003-09-06 Alexandre Duret-Lutz <adl@gnu.org>
882 * lib/Automake/XFile.pm: Update to use ChannelDefs.
883 (close): Call Automake::FileUtils::handle_exec_errors on errors.
884 * automake.in (scan_autoconf_files): Exit with $?=63 on version
886 (scan_autoconf_traces): Likewise. Close the autoconf pipe to
887 capture abnormal exits.
888 * aclocal.in ($exit_status): Remove, and use Channels.pm's $exit_code
890 (trace_used_macros): Close the autom4te pipe to capture abnormal exits.
891 * lib/missing: When a tool has run and exited with $?=63, emulate
892 it. Adjust the diagnostic and pretend the tool is tool old in this
893 case. Use an emacs-updated "scriptversion" variable.
894 * configure.in: Output tests/aclocal-${APIVERSION} and
895 tests/automake-${APIVERSION}.
896 * tests/aclocal.in, tests/automake.in,
897 tests/missing.test, tests/missing2.test: New files.
898 * tests/defs.in (AUTOMAKE, ACLOCAL, PATH): Define
899 to use tests/aclocal-$APIVERSION and tests/automake-$APIVERSION.
900 * tests/dup3.test: Remove. alocal9.test, acloca10.test, and others are
901 already testing for this.
902 * tests/depacl2.test, tests/dup2.test, tests/order.test: Fix
903 configure.in so that aclocal works.
904 * tests/defun.test: Quote the AC_DEFUN body.
905 * tests/Makefile.am (TESTS): Add missing.test and missing2.test,
906 and remove dup3.test.
907 (check_SCRIPTS): Add aclocal and automake.
909 * tests/unused.test: Quote AC_DEFUN arguments.
911 2003-09-05 Paul Eggert <eggert@twinsun.com>
913 * NEWS, aclocal.in, automake.in, automake.texi, lib/ansi2knr.c,
914 lib/depcomp, lib/missing, lib/py-compile,
915 lib/Automake/Channels.pm, lib/Automake/Rule.pm,
916 lib/Automake/Variable.pm, lib/Automake/tests/Condition.pl,
917 lib/am/dejagnu.am, lib/am/depend.am, lib/am/lisp.am,
918 lib/am/remake-hdr.am, lib/am/texi-vers.am, m4/obsolete.m4,
919 m4/python.m4, tests/backsl4.test, tests/defs.in,
920 tests/dejagnu7.test, tests/depacl2.test, tests/dirlist.test,
921 tests/error.test, tests/getopt.test, tests/gnuwarn.test,
922 tests/include2.test, tests/libobj10.test, tests/libtool5.test,
923 tests/libtool6.test, tests/lisp3.test, tests/phony.test,
924 tests/pr220.test, tests/subcond2.test, tests/subcond3.test,
926 Spelling and minor grammar fixes.
928 2003-09-01 Alexandre Duret-Lutz <adl@gnu.org>
930 * lib/config.sub, lib/config.guess, lib/texinfo.tex,
931 lib/config-ml.in, lib/symlink-tree: New upstream versions.
933 2003-08-31 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
935 * tests/yacc7.test: Require bison.
937 2003-08-31 Alexandre Duret-Lutz <adl@gnu.org>
939 * aclocal.in (scan_file): Warn about underquoted AC_DEFUN.
940 ($underquoted_manual_once): New variable.
941 * automake.texi (Extending aclocal): Document this.
943 2003-08-29 Alexandre Duret-Lutz <adl@gnu.org>
945 * aclocal.in (@file_order): New variable, to make sure
946 files are output in the opposite order of the -I arguments.
947 (scan_file): Fill it.
948 (trace_used_macros, write_aclocal): Use it.
949 (scan_m4_files): Reverse the directory contents, so that
950 macros from the lexicographically greatest files are preferred.
951 * tests/aclocal9.test, tests/acloca10.test, tests/acloca11.test:
953 * tests/Makefile.am (TESTS): Add them.
955 2003-08-24 Alexandre Duret-Lutz <adl@gnu.org>
957 For Debian Bug #206299:
958 * automake.in ($configure_deps_greatest_timestamp,
959 $output_deps_greatest_timestamp): New variables.
960 (initialize_per_input): Reset $output_deps_greatest_timestamp.
961 (scan_autoconf_traces, scan_autoconf_files, read_am_file):
962 Update $configure_deps_greatest_timestamp and
963 $output_deps_greatest_timestamp
964 (generate_makefile): Rewrite the logic to decide whether
965 to rewrite the output. Move the leading dup_channel_setup
966 and trailing drop_channel_setup to MAIN, so that
967 drop_channel_setup is executed for all exit paths.
968 * tests/aclocal7.test: Update to check for $AUTOMAKE --no-force
969 * tests/distcom6.test: New file. Report from Scott James Remnant.
970 * tests/Makefile.am (TESTS): Add distcom6.test.
972 * configure.in: Require Autoconf 2.57b to be sure
973 aclocal can use autom4te --language Autoconf-without-aclocal-m4.
974 * m4/init.m4: Likewise. Move the AC_PREREQ and m4_pattern_allow
975 calls inside the AM_INIT_AUTOMAKE macro.
976 * m4/auxdir.m4, m4/cond.m4, m4/lex.m4, m4/regex.m4: Move
977 AC_PREREQ calls inside the macros.
978 * m4/header.m4: Remove AC_PREREQ.
980 * automake.in (file_contents_internal): Do not add newlines before
983 * aclocal.in (write_aclocal): Take an output file and list of
984 used macros in arguments and make up the file contents here.
985 (trace_used_macros): New function.
986 (add_file): Do not update $output.
988 (MAIN): Call trace_used_macros. Then rewrite aclocal.m4 only
989 for these traced macros. This should shorten aclocal.m4 by
990 stripping out unused macros.
991 * automake.texi (Invoking aclocal): Document ${AUTOM4TE}.
992 * tests/aclibobj.test: Make sure configure.in exists by the time
994 * tests/aclocal8.test: New file.
995 * tests/Makefile.am (TESTS): Add aclocal8.test.
996 Suggested by Bruno Haible and Akim Demaille.
998 2003-08-21 Akim Demaille <akim@epita.fr>
1000 * lib/Automake/Configure_ac.pm (&find_configure_ac)
1001 (&require_configure_ac): Accept an optional directory argument.
1002 ($configure_ac): Remove.
1003 * aclocal.in, automake.in ($configure_ac): New.
1004 * lib/Automake/Variable.pm: Don't use $configure_ac, just
1007 2003-08-20 Akim Demaille <akim@epita.fr>
1009 * lib/Automake/FileUtils.pm: More perldoc.
1010 (&up_to_date_p): New.
1012 2003-08-17 Alexandre Duret-Lutz <adl@gnu.org>
1014 Fix for PR automake/398:
1015 * m4/python.m4: Do not call AC_PATH_PROGS if $PYTHON is already
1016 set. Display `none' instead of `:' and $PYTHON is set to `:'
1017 when no suitable interpreter is found. Honor ACTION-IF-FOUND and
1018 ACTION-IF-NOT-FOUND.
1019 * automake.texi (Python): Document ACTION-IF-FOUND and
1020 ACTION-IF-NOT-FOUND.
1021 * tests/python4.test, tests/python5.test, tests/python6.test,
1022 tests/python7.test, tests/python8.test, tests/python9.test: New
1024 * tests/Makefile.am (TESTS): Add them.
1025 Report from Per Cederqvist.
1027 2003-08-13 Alexandre Duret-Lutz <adl@gnu.org>
1029 Fix for PR automake/399:
1030 * m4/python.m4: Use AC_PATH_PROGS, not AC_PATH_PROG.
1031 Report from Per Cederqvist.
1033 2003-08-12 Raja R Harinath <harinath@acm.org>
1035 * lib/Automake/Condition.pm (strip): Replace loop with 'grep'.
1036 (not): Replace loop with 'map'.
1037 * lib/Automake/DisjConditions.pm (sub_conditions): Likewise.
1038 * lib/Automake/Item.pm (not_alwasy_defined_in_cond):
1039 Don't 'simplify' result of 'invert', since it's already in
1041 * lib/Automake/Rule.pm (define): Replace loop with
1042 'not_always_defined_in_cond'.
1044 * lib/Automake/DisjConditions.pm (ambiguous_p): Typo in comment.
1045 * lib/Automake/Rule.pm (accept_extensions, msg_cond_rule): Likewise.
1046 (define): Reword comment slightly.
1047 * Variable.pm (_var_order, msg_cond_var): Typo in comment.
1048 * tests/cond20.test (var2): Use foo.c instead of foo.cc to avoid
1049 spurious automake error exit.
1051 2003-08-12 Alexandre Duret-Lutz <adl@gnu.org>
1053 * lib/Automake/Item.pm, lib/Automake/ItemDef.pm: New files.
1054 * lib/Automake/Rule.pm, lib/Automake/RuleDef.pm: New files.
1055 * lib/Automake/Makefile.am (dist_perllib_DATA): Add them.
1056 * lib/Automake/VarDef.pm: Make this a subclass of Automake::ItemDef.
1057 (new): Adjust to call Automake::ItemDef::new.
1058 (comment, location, owner): Delete. Now inherited from ItemDef.
1059 * lib/Automake/Variable.pm: Make this a subclass of Automake::Item.
1060 (_new): Adjust to call Automake::Item::new.
1061 (name, def, rdef, _set, conditions, not_always_defined_in_cond):
1062 Delete. How inherited from Item, where `_set' is called `set'.
1063 * automake.in (SUFFIX_RULE_PATTERN): Delete. Now in Automake::Rule.
1064 (suffix_rules_default): Delete. Now
1065 Automake::Rule::_suffix_rules_default
1066 (suffixes): Delete. Now Automake::Rule::suffixes.
1067 (TARGET_AUTOMAKE, TARGET_USER): Delete. Now
1068 Automake::RuleDef::RULE_AUTOMAKE and Automake::RuleDef::RULE_USER.
1069 (%targets, %target_source, %target_name, %target_owner): Delete,
1070 replaced by the Rule and RuleDef classes.
1071 (dependencies, depend, actions): Delete. Now in Automake::Rule.
1072 (suffix_rules, register_suffix_rule): Likewise.
1073 (KNOWN_EXTENSIONS_PATTERN, accept_extensions): Likewise.
1074 (known_extensions_list): Delete. Now
1075 Automake::Rule::_known_extensions_list.
1076 (target_conditions): Delete. Now inherited by Automake::Rule
1077 from Automake::Item::conditions.
1078 (rule_define): Delete. Now Automake::Rule::define. Adjust all
1080 (target_defined): Delete. Now Automake::Rule::rule. Adjust all
1082 (initialize_per_input): Adjust to call Automake::Rule::reset.
1083 (err_target, err_cond_target, msg_cond_target, msg_target,
1084 reject_target): Delete. Now defined in Automake::Rule as
1085 err_rule, err_cond_rule, msg_cond_rule, msg_rule and reject_target.
1087 (handle_languages): Call suffix_rules_count.
1088 * tests/location.test: Adjust expected diagnostics. We now display
1089 $(EXEEXT) accurately.
1091 2003-08-10 Alexandre Duret-Lutz <adl@gnu.org>
1093 Revert the fix for PR automake/291:
1094 * lib/Automake/Variable.pm (define): Do not warn about variables
1095 starting with `_' which are an issue on NEWS-OS 4.2R. According
1096 to Paul Eggert, NEWS-OS 4.2R is ten years old, the latest version
1097 was released on 1996 and is not in wide use. On the other hand,
1098 variables starting with `_' are mandatory in several situations,
1099 so diagnosing them is more annoying than useful.
1100 * tests/canon5.test: Do not use -Wno-portability.
1101 * tests/vars2.test: Delete.
1102 * tests/Makefile.am (TESTS): Remove vars2.test.
1103 Suggested by Jim Meyering.
1105 2003-08-09 Raja R Harinath <harinath@acm.org>
1107 * lib/Automake/DisjConditions.pm (ambiguous_p): Simplify slightly.
1108 * lib/Automake/tests/DisjConditions.pl (test_ambig): Test
1109 Automake::Disjunctions::ambiguous_p.
1111 2003-08-07 Alexandre Duret-Lutz <adl@gnu.org>
1113 * lib/Automake/Variable.pm (condition_ambiguous_p): Move ...
1114 * lib/Automake/DisjConditions.pm (ambiguous_p): ... here.
1115 * automake.in (rule_define): Adjust usage.
1116 * lib/Automake/Variable.pm (_check_ambiguous_condition): Likewise.
1118 * lib/Automake/Options.pm: New file.
1119 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Options.pm.
1120 * automake.in (FOREIGN, GNU, GNITS, $default_strictness)
1121 ($default_strictness_name, $strictness, $strictness_name)
1122 (%options, %global_options, process_option_list)
1123 (set_strictness): Remove, now in Options.pm.
1124 (initialize_per_input): Call Automake::Options::reset.
1125 (handle_options, get_object_extension, get_object_extension)
1126 (handle_languages, handle_single_transform_list, handle_compile)
1127 (handle_texinfo_helper, handle_man_pages, handle_dist)
1128 (handle_configure, do_check_merge_target)
1129 (handle_factored_dependencies, handle_tests)
1130 (handle_minor_options, scan_autoconf_traces, check_cygnus)
1131 (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define)
1132 (make_paragraphs, am_install_var, parse_arguments): Adjust
1133 to set and read options via the new interface.
1135 2003-08-07 Raja R Harinath <harinath@acm.org>
1137 * Makefile.am (maintainer-check): Update perllibdir.
1138 * lib/Automake/Makefile.am (Config.pm): Depend on Makefile too.
1139 (EXTRA_DIST): Add Config.in.
1140 * Makefile.in, lib/Automake/Makefile.in: Regenerate.
1141 * tests/defs.in (AUTOMAKE, ACLOCAL): Use absolute paths in
1144 2003-08-06 Raja R Harinath <harinath@acm.org>
1146 * configure.in (AUTOMAKE, ACLOCAL): Search the 'lib' directory
1147 from the builddir too, to pick up Automake::Config.
1148 * tests/defs.in (AUTOMAKE, ACLOCAL): Likewise.
1149 * configure: Regenerate.
1150 * automake.in (BEGIN): Handle multiple directories in $perllibdir.
1151 * aclocal.in (BEGIN): Likewise.
1153 2003-08-07 Alexandre Duret-Lutz <adl@gnu.org>
1155 * tests/ltcond.test: Thinko.
1157 2003-08-06 Alexandre Duret-Lutz <adl@gnu.org>
1159 * lib/Automake/Config.in: New file.
1160 * lib/Automake/Makefile.am (nodist_perllib_DATA, do_subst,
1161 CLEANFILES): New variables.
1162 (Config.pm): New rule.
1163 * Makefile.am (maintainer-check): Adjust expected differences
1164 between automake.in and automake.
1165 * aclocal.in, automake.in: Use Automake::Config.
1167 2003-08-05 Alexandre Duret-Lutz <adl@gnu.org>
1169 * tests/ltconv.test: s/rm/rm -f/ to placate maintainer-check.
1171 * automake.in (handle_texinfo_helper): Use the user definition
1172 of TEXINFO_TEX before checking for cygnus or AC_CONFIG_AUX_DIR.
1173 * tests/txinfo22.test: New file.
1174 * tests/Makefile.am (TESTS): Add txinfo22.test.
1175 Report from Tom Tromey.
1177 2003-08-03 Raja R Harinath <harinath@acm.org>
1179 * lib/Automake/Variable.pm (@EXPORT): Remove
1180 traverse_variable_recursively and
1181 require_variables_for_variable.
1182 (require_variables_for_variable, traverse_variable_recursively)
1183 (_traverse_variable_recursively_worker): Convert to
1184 Automake::Variable methods, remove support for being
1185 invoked with variable names, and rename to ...
1186 (requires_variables, traverse_recursively)
1187 (_do_recursive_traversal): ... these.
1188 (_value_as_list_recursive_worker, transform_variable_recursively):
1189 Update to reflect changes.
1190 * automake.in (handle_LIBOBJS, handle_ALLOCA)
1191 (handle_libraries, handle_ltlibraries, am_primary_prefixes):
1193 (define_objects_from_sources): Fix typo in comment.
1195 2003-08-02 Raja R Harinath <harinath@acm.org>
1197 * automake.in (handle_source_transform): Replace 'grep' with 'map'.
1198 (register_language): Replace 'grep' with 'foreach' modifier.
1200 2003-08-01 Raja R Harinath <harinath@acm.org>
1202 * lib/Automake/Variables.pm (variables): Return a list of
1203 Automake::Variable instances, not a list of strings.
1204 (dump): Remove support for being invoked with a string.
1205 (variables_dump): Adapt to these changes.
1206 * automake.in (check_typos): Likewise.
1207 (am_primary_prefixes): Likewise.
1209 2003-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
1211 * lib/depcomp (aix): Support AIX Compiler version 6.
1213 2003-07-31 Alexandre Duret-Lutz <adl@gnu.org>
1215 * automake.texi (A Shared Library): Rewrite and split into
1216 subsections. Valuable comments from Norman Gray, Harlan Stenn,
1217 Tim Van Holder, and Guido Draheim.
1218 * tests/ltcond.test, tests/ltcond2.test, tests/ltconv.test: New files.
1219 * tests/Makefile.am (TESTS): Add them.
1221 2003-07-30 Alexandre Duret-Lutz <adl@gnu.org>
1223 * automake.in (handle_single_transform_list): Complain about
1224 foo.$(OBJEXT) being created both with libtool and without, not
1226 Report from Tim Van Holder.
1228 2003-07-29 Alexandre Duret-Lutz <adl@gnu.org>
1230 * Makefile.am (FETCHFILES, fetch): Add config-ml.in and
1232 * lib/config.sub, lib/config-ml.in, lib/texinfo.tex: New
1235 2003-07-28 Alexandre Duret-Lutz <adl@gnu.org>
1237 * automake.in (handle_configure): Cosmetic change to avoid
1238 a maintainer-check complaint.
1240 2003-07-27 Alexandre Duret-Lutz <adl@gnu.org>
1242 * lib/Automake/Variable.pm (@EXPORT): Remove variable_dump.
1243 (variable_dump): Replace by ...
1244 (dump): ... this method.
1245 (rdef, _check_ambiguous_condition): Adjust to use ->dump.
1246 (define, variables_dump): Adjust to use Automake::Variable::dump
1248 * lib/am/compile.am (mostlyclean-compile): Do not erase core dumps.
1249 * automake.texi (Built sources example): Adjust example.
1251 2003-07-26 Alexandre Duret-Lutz <adl@gnu.org>
1253 * automake.in (get_object_extension, handle_languages)
1254 (handle_single_transform_list, handle_compile, handle_compile)
1255 (handle_texinfo_helper, handle_texinfo_helper, handle_man_pages)
1256 (handle_tests, handle_minor_options, check_gnu_standards)
1257 (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define):
1258 Simplify "if (defined $options{'X'})" into "if ($options{'X'})".
1260 Complete changes from 2003-07-08.
1261 * automake.in ($cmdline_use_dependencies, $use_dependencies): Remove,
1262 replaced by $options{'no-dependencies'}.
1263 ($global_options): Remove.
1264 (%global_options): New variable.
1265 (initialize_per_input): Empty %options.
1266 (process_option_list): Take a location and %options ref argument,
1267 process no-dependencies as other options.
1268 (handle_options): Do not reparse the global options, just initialize
1269 %options from %global_options and fill it with local options.
1270 (handle_languages, handle_single_transform_list)
1271 (handle_configure, check_cygnus): Adjust usage of
1272 $options{'no-dependencies'}.
1273 (make_paragraphs): Adjust usage of $options{'cygnus'}.
1274 (parse_arguments): Set cygnus and no-dependencies in %global_options.
1275 (scan_autoconf_traces) <AM_INIT_AUTOMAKE>: Call process_option_list
1276 to fill %global_options.
1278 2003-07-25 Alexandre Duret-Lutz <adl@gnu.org>
1280 * tests/remake4.test: Use `$MAKE distdir' instead of `$MAKE dist' to
1281 avoid the use of tar.
1283 2003-07-24 Alexandre Duret-Lutz <adl@gnu.org>
1285 * tests/gnuwarn2.test: Typo.
1287 * tests/insthook.test: Use $MAKE, not make.
1289 Fix missing rebuilds during `make dist' with BSD make.
1290 * automake.in (generate_makefile): Do not push Makefile.in, and
1291 Makefile.am into DIST_COMMON here.
1292 * lib/am/configure.am (DIST_COMMON): Do it here, and use
1293 %MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON
1294 actually match the targets. Prefix `configure' with `$(srcdir)/'
1295 to match the target.
1296 * tests/remake4.test: New file.
1297 * tests/Makefile.am (TESTS): Add remake4.test.
1298 Report from Akim Demaille.
1300 2003-07-23 Alexandre Duret-Lutz <adl@gnu.org>
1302 * automake.in (handle_multilib): Register all-multi.
1303 (file_contents_internal): Insert \n when concatenating actions
1304 from "factored" rules.
1305 * lib/config-ml.in: New file, from GCC, including a patch
1306 from Ralf Corsepius (see GCC's PR 11526).
1307 * lib/symlink-tree.in: New file, from GCC.
1308 * lib/Makefile.am (dist_script_DATA): Add config-ml.in and
1310 * lib/am/clean.am (distclean-generic): Do not delete Makefile here...
1311 (distclean, maintainer-clean): ... do it here.
1312 * lib/am/depend.am (distclean-depend): Likewise, replace by
1313 (distclean, maintainer-clean): ... these.
1314 * lib/am/multilib.am (all-recursive, install-recursive,
1315 mostlyclean-recursive, clean-recursive, distclean-recursive,
1316 maintainer-clean-recursive): Remove these rules.
1317 (mostlyclean-am, clean-am, distclean-am, maintainer-clean-am): Replace
1319 (mostlyclean, clean, distclean, maintainer-clean): ... these.
1320 (all-am): Remove, done in handle_multilib.
1321 (install-am): Replace by ...
1322 (install-exec-am): ... this.
1323 * tests/Makefile.am (TESTS): Add multlib.test.
1324 * tests/multlib.test: New file, based on a test case by
1327 2003-07-23 Tom Tromey <tromey@redhat.com>
1329 * lib/missing (autom4te): Typo.
1331 2003-07-16 Derek Price <derek@ximbiot.com>
1333 * automake.in (scan_autoconf_traces): Handle AC_CONFIG_LINKS.
1334 (handle_configure): Handle adding AC_CONFIG_LINKS arguments to
1335 distclean targets (CONFIG_CLEAN_FILES makefile var).
1336 * NEWS: Note new handling of AC_CONFIG_LINKS.
1337 * automake.texi (Other things Automake recognizes): Ditto.
1338 * tests/Makefile.am (TESTS): Add new tests.
1339 * tests/conflnk.test: New test that links are cleaned on distclean.
1340 * tests/conflnk2.test: New test that source files for links are
1343 2003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
1345 * automake.in (scan_autoconf_traces): Trace AM_ENABLE_MULTILIB to
1346 render $seen_multilib functional again.
1348 2003-07-10 Raja R Harinath <harinath@cs.umn.edu>
1350 Avoid using refs as hash keys.
1351 * lib/Automake/Variable.pm ($_traversal): New.
1352 (reset): Reset $_traversal.
1353 (_new): New attribute 'scanned'.
1354 (%_vars_scanned): Remove.
1355 (traverse_variable_recursively)
1356 (traverse_variable_recursively_worker):
1357 Use $_traversal instead of %_vars_scanned to detect recursively
1360 * lib/am/configure.am (am--refresh): Silence.
1362 2003-07-10 Alexandre Duret-Lutz <adl@gnu.org>
1364 * lib/Automake/Variable.pm (define): Make clear the diagnostic
1365 about variable names starting with `_' is about *Make* variables.
1367 For Debian Bug #193907:
1368 * automake.texi (Clean): make maintainer-clean should still
1369 allow ./configure && make to run.
1371 * automake.texi (CVS): Typo.
1373 2003-07-09 Alexandre Duret-Lutz <adl@gnu.org>
1375 * aclocal.in: Use Automake::FileUtils.
1376 (parse_arguments, scan_configure, scan_m4_files): Never call
1377 "die" to print an error message. Use print and exit.
1378 * automake.in: Use Automake::FileUtils.
1379 * lib/Automake/General.pm ($debug, $help, $tmp, $verbose,
1380 $version, &debug, &getopt, &mktmpdir, &verbose): Remove.
1381 (END): Do not massage Perl's exit code. Do not clean any temporary
1383 (find_file, mtime, update_file, xsystem, contents): Move to ...
1384 * lib/Automake/FileUtils.pm: ... this new file. Adjust to
1385 report errors using Channels.
1386 (handle_exec_errors, xqx): New functions, from Autoconf.
1387 * lib/Automake/Makefile.am (dist_perllib_DATA): Add FileUtils.pm.
1389 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
1390 Return the empty list on recursively defined variable. This
1391 supersedes my change of 2003-07-02.
1393 2003-07-08 Akim Demaille <akim@epita.fr>
1395 * automake.in ($cygnus_mode): Replace with $options{'cygnus'}.
1396 Adjust all dependencies.
1397 (&depend): Move next to %dependencies and prototype.
1398 (&initialize_per_input): Initialize the 'cygnus' field of
1399 '%options' to spare the code from 'exists' or 'defined' when
1401 (&handle_configure, &do_check_merge_target, &check_cygnus): Prototype.
1402 (&parse_arguments): Rename '%options' and '%options_1st_pass' as
1403 '%cli_options' and '%cli_options_1st_pass' to avoid clashes and
1406 2003-07-07 Alexandre Duret-Lutz <adl@gnu.org>
1408 * automake.in (generate_makefile): Move near the end of the
1409 file, after the definition of all called functions, so that
1410 prototypes can be enforced.
1412 2003-07-06 Akim Demaille <akim@epita.fr>
1414 * lib/am/subdirs.am (RECURSIVE_TARGETS): Move install-recursive,
1415 install-exec-recursive, install-data-recursive and
1416 uninstall-recursive addition to...
1417 * lib/am/texinfos.am: here.
1418 * lib/am/texinfos.am, lib/am/subdirs.am: Remove the .PHONY
1419 declaration of RECURSIVE_TARGETS.
1421 2003-07-06 Akim Demaille <akim@epita.fr>
1423 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm (VAR_SORTED):
1426 * automake.in (&handle_subdirs): Prototype.
1428 Make RECURSIVE_TARGETS a VAR_SORTED.
1430 2003-07-06 Akim Demaille <akim@epita.fr>
1432 * automake.in (&define_files_variable): New.
1433 (&handle_texinfo_helper): Move the handling of user variables from
1435 (&handle_texinfo): here.
1436 This is to balance the size of these functions, and to match the
1437 convention of other _helper functions.
1438 (&handle_texinfo_helper): Use &define_files_variable.
1439 Move some code to use less variables.
1440 Rename $info_cursor as $texi.
1441 (&handle_texinfo): Do not call handle_texinfo_helper if there are
1443 * lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps
1445 Remove *-recursive targets from .PHONY, they are part of
1446 $(RECURSIVE_TARGETS) anyway.
1447 (install-info, mostlyclean-aminfo): Are .PHONY.
1449 2003-07-05 Akim Demaille <akim@epita.fr>
1451 * lib/am/distdir.am: Use ';' as a terminator, not a separator, for
1452 sed complex commands, as required by NetBSD sed.
1453 Reported by Patrick Welche.
1455 2003-07-05 Alexandre Duret-Lutz <adl@gnu.org>
1457 * lib/config.guess, lib/config.sub: New upstream version.
1459 2003-07-04 Alexandre Duret-Lutz <adl@gnu.org>
1461 * automake.texi (Optional, Dist): AC_CONFIG_AUX_DIR files
1462 are automatically distributed.
1464 * lib/depcomp (icc): Update to grok ICC 7.1's output.
1465 * m4/depend.m4 (_AM_DEPENDENCIES): Check dependency generation
1466 in a subdirectory, and with many dependencies. This
1467 catches more failures of depcomp.
1468 Reports from Ralf Wildenhues and Akim Demaille.
1470 2003-07-04 Akim Demaille <akim@epita.fr>
1472 * automake.in (&scan_texinfo_file, &output_texinfo_build_rules,
1473 (&handle_texinfo_helper, &handle_texinfo): Formatting changes.
1475 Don't use & when calling functions.
1477 2003-07-03 Alexandre Duret-Lutz <adl@gnu.org>
1479 * NEWS: Categorize entries.
1480 Suggested by Jim Meyering.
1482 * Makefile.am (maintainer-clean): Disallow '$AUTOMAKE && exit 1'.
1483 Ignore @...@ substitutions in comments.
1484 * tests/defs.in: Try to make the shell more POSIX compliant.
1485 (AUTOMAKE_run, AUTOMAKE_fails): New functions.
1486 * tests/README: Mention AUTOMAKE_fails.
1487 * tests/alloca.test, tests/alloca2.test, tests/ansi8.test,
1488 * tests/asm.test, tests/backsl3.test, tests/backsl4.test,
1489 * tests/badline.test, tests/badopt.test, tests/canon.test,
1490 * tests/canon5.test, tests/colneq.test, tests/comment3.test,
1491 * tests/comment5.test, tests/cond2.test, tests/cond20.test,
1492 * tests/cond23.test, tests/cond24.test, tests/cond27.test,
1493 * tests/condinc2.test, tests/conff2.test, tests/cxx2.test,
1494 * tests/dejagnu2.test, tests/dirforbid.test,
1495 * tests/distcom3.test, tests/else.test, tests/exdir2.test,
1496 * tests/exeext2.test, tests/gcj2.test, tests/gcj5.test,
1497 * tests/getopt.test, tests/gettext.test, tests/gettext2.test,
1498 * tests/gnits.test, tests/gnuwarn.test, tests/gnuwarn2.test,
1499 * tests/insh.test, tests/lex2.test, tests/libobj10.test,
1500 * tests/libobj12.test, tests/libobj13.test,
1501 * tests/libobj3.test, tests/library2.test,
1502 * tests/library3.test, tests/libtool4.test,
1503 * tests/libtool6.test, tests/lisp2.test, tests/location.test,
1504 * tests/nogzip2.test, tests/output5.test, tests/overrid.test,
1505 * tests/percent.test, tests/percent2.test,
1506 * tests/pluseq5.test, tests/pluseq7.test, tests/pluseq9.test,
1507 * tests/pr211.test, tests/primary.test, tests/primary2.test,
1508 * tests/python2.test, tests/recurs.test, tests/reqd2.test,
1509 * tests/seenc.test, tests/specflg.test, tests/specflg2.test,
1510 * tests/spell.test, tests/spell2.test, tests/srcsub.test,
1511 * tests/srcsub2.test, tests/stdlib.test, tests/subdir7.test,
1512 * tests/substtarg.test, tests/suffix11.test,
1513 * tests/symlink.test, tests/syntax.test,
1514 * tests/targetclash.test, tests/txinfo4.test,
1515 * tests/version3.test, tests/warnopts.test,
1516 * tests/xsource.test, tests/yacc2.test: Use set -e,
1517 AUTOMAKE_fails, and always grep error message.
1519 * automake.in (handle_ltlibraries): Fix call to msg.
1521 * tests/stamph.test: Delete.
1522 * tests/Makefile.am (TESTS): Remove stamph.test.
1524 * automake.in (handle_single_transform_list): Use $var->name
1525 to print variable in the configure-substitution diagnostic.
1526 Do not mention the parent when it is the variable itself.
1528 * tests/package.test: Delete.
1529 * tests/Makefile.am (TESTS): Remove package.test.
1531 * automake.in (cond_stack_else): Return FALSE if `if' was not
1533 (cond_stack_endif): Return TRUE if `if' was not used. Do not
1534 display $negate and $cond, they are irrelevant and maybe undefined.
1536 2003-07-02 Alexandre Duret-Lutz <adl@gnu.org>
1538 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
1539 Do not return undef when a variable is recursively defined, this
1540 causes warnings all over the place. Return the empty string instead.
1542 * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES
1543 from empty DIST_ARCHIVES.
1545 2003-07-01 Alexandre Duret-Lutz <adl@gnu.org>
1547 * automake.in (scan_autoconf_traces): Check the expected
1548 number of arguments of each traced macro.
1549 * tests/overrid.test: Fix call to AM_CONDITIONAL.
1550 * tests/conff2.test: New files.
1551 * tests/Makefile.am (TESTS): Add conff2.test.
1552 Report from Paolo Bonzini.
1554 2003-06-30 Alexandre Duret-Lutz <adl@gnu.org>
1556 * automake.in ($SUBST_REF_PATTERN): Do not define.
1557 (%gen_varname): Move to Variable.pm, as %_gen_varname.
1558 (initialize_per_input): Do not clean %gen_varname.
1559 (handle_options, check_libobjs_sources, handle_source_transform,
1560 handle_LIBOBJS, handle_ltlibraries, handle_texinfo_helper,
1561 handle_man_pages, handle_dist, handle_subdirs, handle_gettext,
1562 am_install_var): Adjust to use value_as_list_recursive,
1563 loc_and_value_as_list_recursive, and has_conditional_contents.
1564 (require_file_with_macro): Accept an Automake::Variable as argument.
1565 (traverse_variable_recursively,
1566 traverse_variable_recursively_worker, gen_varname,
1567 transform_variable_recursively): Move ...
1568 * lib/Automake/Variable.pm (traverse_variable_recursively,
1569 _traverse_variable_recursively_worker,
1570 _gen_varname, transform_variable_recursively): ... here.
1571 * automake.in (variable_conditionally_defined,
1572 variable_value_as_list_recursive_worker,
1573 variable_value_as_list_recursive
1574 variable_loc_and_value_as_list_recursive): Move ...
1575 * lib/Automake/Variable.pm (has_conditional_contents,
1576 _value_as_list_recursive_worker,
1577 value_as_list_recursive, loc_and_value_as_list_recursive): ... here.
1578 (reset): Reset %_gen_varname.
1579 (require_variables_for_variable): Accept an Automake::Variable
1582 2003-06-27 Alexandre Duret-Lutz <adl@gnu.org>
1584 * tests/aclocal6.test: Test maintainer-clean in VPATH
1585 builds. (For Ralf's fix.)
1587 2003-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
1589 * lib/am/configure.am (maintainer-clean): Remove
1590 $(top_srcdir)/autom4te.cache, not autom4te.cache.
1592 2003-06-27 Akim Demaille <akim@epita.fr>
1594 * automake.texi: Use @node with a single argument.
1596 2003-06-27 Alexandre Duret-Lutz <adl@gnu.org>
1598 * m4/Makefile.am (dist_m4data_DATA): Add $(top_srcdir)/m4/amversion.m4.
1600 * lib/am/distdir.am (distcheck): Run $(am__remove_distdir)
1601 at the end of distcheck. This was mistakenly removed on
1603 * tests/subpkg.test: Make sure distcheck cleans up after itself.
1605 * m4/Makefile.am ($(srcdir)/amversion.m4): Rename as ...
1606 ($(top_srcdir)/m4/amversion.m4): ... this.
1607 (DISTCLEANFILES): Remove.
1608 (nodist_m4data_DATA): Remove. amversion.m4 is automatically
1610 (EXTRA_DIST): Add amversion.in.
1612 2003-06-25 Akim Demaille <akim@epita.fr>
1614 * automake.texi (Top): Use @copying and @insertcopying.
1615 Make Alexandre an author.
1616 * automake.in ($gen_copyright): Add the "(C)" to Copyright.
1617 * lib/depcomp: Likewise.
1619 2003-06-23 Alexandre Duret-Lutz <adl@gnu.org>
1621 * lib/Automake/Variable.pm (vardef, rvardef, set_seen): New functions.
1622 (variable_defined, examine_variable): Remove.
1623 (%_ac_macro_for_var): Add an entry for ALLOCA.
1624 (require_variables): Use vardef instead of variable_defined.
1626 * automake.in (generate_makefile): Do not push $(SOURCE) into
1627 @sources. Use define_pretty_variable to define SOURCES.
1628 (handle_LIBOBJS, handle_ALLOCA): Use require_variables_for_variable
1629 to require LIBOBJS, LTLIBOBJS and ALLOCA.
1630 (handle_programs, handle_ltlibraries): Do not define an empty
1631 _DEPENDENCIES or _LDFLAGS variable when none is defined.
1632 (define_configure_variable): Do not check whether the variable
1633 already exists (it's Automake::Variable::define's job).
1634 (require_build_directory): Likewise, do not check
1635 the existence of am__dirstamp.
1636 (generate_makefile, handle_options, handle_languages)
1637 (check_libobjs_sources, handle_single_transform_list)
1638 (traverse_variable_recursively_worker, handle_source_transform)
1639 (handle_lib_objects, handle_LIBOBJS, handle_compile)
1640 (handle_libtool, handle_programs, handle_libraries)
1641 (handle_ltlibraries, check_typos, handle_texinfo_helper)
1642 (handle_man_pages, handle_tags, handle_dist, handle_subdirs)
1643 (scan_aclocal_m4, handle_gettext, handle_footer, handle_install)
1644 (handle_all, do_check_merge_target, handle_clean, lang_c_finish)
1645 (handle_tests, lang_yacc_target_hook, define_pretty_variable)
1646 (define_compiler_variable, define_linker_variable)
1647 (make_paragraphs, am_primary_prefixes, am_install_var): Adjust to
1648 call var, vardef, or set_seen, instead of variable_defined. Use
1649 set_seen only for variables which are actually checked by
1651 * tests/target.test: Delete.
1652 * tests/alloca.test, tests/alloca2.test: New files.
1653 * tests/libobj3.test: Check error message.
1654 * tests/distcom4.test: Make sure configure is in DIST_COMMON.
1655 This replace confdist.test.
1656 * tests/Makefile.am (TESTS, XFAIL_TESTS): Remove target.test.
1657 (TESTS): Add alloca.test and alloca2.test. Remove confdist.test.
1659 2003-06-20 Alexandre Duret-Lutz <adl@gnu.org>
1661 * automake.in (handle_dist): Delete DIST_COMMON before redefining
1662 it. Bug report from Akim Demaille.
1663 (rewrite_inputs_into_dependencies): Make sure we always return
1664 something, even when $add_srcdir is 0.
1665 * tests/distcom4.test, tests/distcom5.test: New files.
1666 * tests/Makefile.am (TESTS): Add distcom4.test and distcom5.test.
1668 * tests/cond29.test: Also check for _SOURCES.
1669 Report from Paolo Bonzini.
1671 2003-06-20 Akim Demaille <akim@epita.fr>
1673 * lib/am/configure.am: Replace leading spaces with a real tab.
1675 2003-06-15 Alexandre Duret-Lutz <adl@gnu.org>
1677 * tests/nogzip.test, tests/nogzip2.test: New files.
1678 * tests/Makefile.am (TESTS): Add nogzip.test and nogzip2.test
1680 2003-06-15 Akim Demaille <akim@epita.fr>
1682 * automake.in (&make_paragraphs): Define %GZIP%.
1683 (&process_option_list): Accept no-dist-gzip2.
1684 (&handle_dist): Complain when no archive format is enabled.
1685 * lib/am/distdir.am (DIST_ARCHIVES): New variable.
1686 (dist-gzip, dist-bzip2, dist-tarZ, dist-zip): No longer
1688 (dist): Build $(distdir).tar.gz conditionally.
1689 (distcheck): Use DIST_ARCHIVES to find an archive to unpack, and
1690 to list built archives. Run $(MAKE) dist instead of dist-gzip.
1691 * automake.texi (Options, The types of distributions): Adjust.
1693 2003-06-15 Jens Elkner <elkner@imsgroup.de> (tiny change)
1695 * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with
1698 2003-06-14 Karl Berry <karl@gnu.org>
1699 Alexandre Duret-Lutz <adl@gnu.org>
1701 * mkinstalldirs (scriptversion): New variable. Setup emacs hooks
1702 to update it each time the file is written, as in install-sh.
1703 (usage): Improve message.
1704 (--version): New option.
1705 (--help): Output to stdout, not stderr.
1707 2003-06-13 Paul Eggert <eggert@twinsun.com>
1709 * lib/install-sh (dsttmp, rmtmp): Do not use '#' in file names;
1710 it's not guaranteed by POSIX and it doesn't work on OpenVMS.
1711 Bug reported by Bernard Giroud in:
1712 http://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html
1714 2003-06-05 Alexandre Duret-Lutz <adl@gnu.org>
1716 * automake.in (check_gnu_standards): Use no-installman and
1717 no-installinfo's locations.
1718 (process_option_list): Fill %options with locations.
1719 (check_cygnus) Fill $options{'no-installinfo'} and
1720 $options{'no-dependencies'} with $cygnus_mode, so that it
1722 * tests/gnuwarn2.test: New file.
1723 * tests/Makefile.am (TESTS): Add gnuwarn2.test.
1725 2003-06-04 Alexandre Duret-Lutz <adl@gnu.org>
1727 * automake.in (process_option_list): Record the location
1728 of ansi2knr's definition.
1729 (handle_compile): Use it.
1730 * tests/ansi3.test: Make sure the location appears correctly.
1731 Update to use set -e.
1732 * tests/ansi3b.test: New file.
1733 * tests/Makefile.am (TESTS): Add ansi3b.test.
1735 * tests/alpha.test: Really run $MAKE. Augment to test
1736 subdirectories, and check-news report.
1737 * tests/alpha2.test: New file. Bug report from Akim Demaille.
1738 * tests/gnits2.test: Make sure README-alpha is not distributed.
1739 * tests/Makefile.am (TESTS): Add alpha2.test.
1740 * automake.in (handle_minor_options): Distribute README-alpha
1741 using push_dist_common, not require_file_with_macro.
1743 2003-06-03 Alexandre Duret-Lutz <adl@gnu.org>
1745 * lib/Automake/Configure_ac.pm
1746 (search_configure_ac, find_configure_ac): Rename as ...
1747 (find_configure_ac, require_configure_ac): ... these.
1748 * aclocal.in (scan_configure): Adjust call to require_configure_ac.
1749 * automake.in (scan_autoconf_files): Likewise.
1750 Suggested by Tim Van Holder.
1752 * alocal.in: Use Automake::Configure_ac.
1753 ($configure_ac): Delete.
1754 (scan_configure): Adjust use of find_configure_ac;
1755 * automake.in: Use Automake::Configure_ac.
1756 ($configure_ac): Delete.
1757 (scan_autoconf_files): Adjust use of find_configure_ac;
1758 * lib/Automake/Configure_ac.pm: New file.
1759 * lib/Automake/General.pm (find_configure_ac): Delete. Now
1760 replaced by Automake::Configure_ac::search_configure_ac.
1761 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Configure_ac.pm.
1762 * lib/Automake/Variable.pm: Use Automake::Configure_ac.
1763 (require_variables): Adjust use of $configure_ac.
1765 2003-06-02 Akim Demaille <akim@epita.fr>
1767 * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am,
1768 * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am,
1769 * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am,
1770 * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am,
1771 * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am,
1772 * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am,
1773 * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am,
1774 * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am,
1775 * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am,
1776 * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am,
1777 * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4,
1778 * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4,
1779 * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4,
1780 * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4,
1781 * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4,
1782 * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4,
1783 * m4/Makefile.am: White space changes and Copyright updates.
1785 2003-05-29 Alexandre Duret-Lutz <adl@gnu.org>
1787 * lib/Automake/Variable.pm (check_defined_unconditionally): Add
1788 the $parent_cond argument.
1789 (output): Use $self->name in diagnostic not $self.
1790 (variable_value_as_list): Rename as ...
1791 (value_as_list): ... this. Declare as a method. Take a $parent_cond
1792 argument and pass it to check_defined_unconditionally. Do not call
1793 variable_assert, now that this is a method.
1794 (variable_assert): Delete (unused).
1795 * automake.in (traverse_variable_recursively_worker): Adjust to
1796 use check_defined_unconditionally and value_as_list as a methods.
1798 * lib/Automake/Variable.pm (output): Declare as a method, since it
1799 is only used this way.
1800 (define): Fix documentation of $cond.
1801 Suggested by Raja R. Harinath.
1803 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
1805 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm: New files.
1806 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Variable.pm
1808 * automake.in: Use Automake::Variable and Automake::VarDef.
1809 (MACRO_PATTERN): Delete. Now Automake::Variable::_MACRO_PATTERN.
1810 (am_macro_for_var): Delete. Now Automake::Variable::_am_macro_for_var.
1811 (ac_macro_for_var): Delete. Now Automake::Variable::_ac_macro_for_var.
1812 (silent_variable_override): Delete. Now
1813 Automake::Variable::_silent_variable_override.
1814 (var_value, var_location, var_comment, var_type, var_owner,
1815 var_pretty, content_seen): Delete. This functionality is now
1816 offered by Automake::Variable and Automake::VarDef.
1817 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE, VAR_ASIS, VAR_PRETTY):
1818 Delete. Now defined in Automake::VarDef.
1819 (var_order): Delete. Now Automake::Variable::_var_order.
1820 (appendvar): Delete. Now Automake::Variable::_appendvar.
1821 (var_SUFFIX_trigger): Register using Automake::Variable::hook.
1822 (initialize_per_input): Call Automake::Variable::reset.
1823 (err_var, msg_cond_var, msg_var, reject_var): Delete. Now
1824 defined in Automake::Variable.
1825 (generate_makefile, process_option_list, handle_languages)
1826 (traverse_variable_recursively_worker)
1827 (transform_variable_recursively, handle_compile)
1828 (handle_libraries, handle_ltlibraries)
1829 (check_typos, handle_dist, handle_subdirs, scan_autoconf_files):
1830 Adjust to use Automake::Variable functions.
1831 (check_ambiguous_condition): Delete. Now
1832 Automake::Variable::_check_ambiguous_condition.
1833 (condition_ambiguous_p): Delete. Now
1834 Automake::Variable::condition_ambiguous_p.
1835 (variable_not_always_defined_in_cond): Delete. Now
1836 Automake::Variable::not_always_defined_in_cond.
1837 (macro_define): Delete. Now Automake::Variable::define.
1838 (macro_delete): Delete. Now Automake::Variable::variable_delete.
1839 (macro_dump): Delete. Now Automake::Variable::variable_dump.
1840 (macros_dump): Delete. Now Automake::Variable::variables_dump.
1841 (variable_defined): Delete. Now
1842 Automake::Variable::variable_defined, with the target check
1843 temporarily disabled.
1844 (variable_assert): Delete. Now Automake::Variable::variable_assert.
1845 (examine_variable): Delete. Now
1846 Automake::Variable::examine_variable.
1847 (variable_conditions): Delete. Now Automake::Variable::conditions.
1848 (scan_variable_expansions): Delete. Now
1849 Automake::Variable::scan_variable_expansions.
1850 (check_variable_expansions): Delete. Now
1851 Automake::Variable::check_variable_expansions.
1852 (check_variable_defined_unconditionally): Delete. Now
1853 Automake::Variable::check_defined_unconditionally.
1854 (variable_value): Delete. Now Automake::Variable::variable_value.
1855 (variable_value_as_list): Delete. Now
1856 Automake::Variable::variable_value_as_list.
1857 (variable_value_as_list_recursive_worker): Adjust to use
1858 Automake::Variable functions.
1859 (variable_output): Delete. Now Automake::Variable::output.
1860 (define_pretty_variable, define_configure_variable, read_am_file)
1861 (define_standard_variables, read_main_am_file): Adjust to use
1862 Automake::Variable functions.
1863 (handle_variables): Delete. Now Automake::Variable::output_variables.
1864 (file_contents_internal, am_primary_prefixes, am_install_var)
1865 (require_file_with_macro, require_conf_file_with_macro)
1866 (push_dist_common): : Adjust to use
1867 Automake::Variable functions.
1868 (require_variables): Delete. Now
1869 Automake::Variable::require_variables.
1870 (require_variables_for_macro): Delete. Now
1871 Automake::Variable::require_variables_for_variable.
1872 * tests/Makefile.am (XFAIL_TESTS): Add target.test.
1874 2003-05-25 Christian Cornelssen <ccorn@cs.tu-berlin.de> (tiny change)
1876 * tests/dejagnu7.test: Check if runtest supports --status.
1878 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
1880 * lib/Automake/Location.pm (dump): Output 'INTERNAL' when position
1883 * lib/Automake/DisjConditions.pm (human): Fix infinite loop when
1884 $self contains only one Condition.
1886 * automake.in: Use plain strict, including refs.
1887 (macro_define, handle_single_transform_list): Use \&{'name'} to
1888 build references to named subroutines.
1890 2003-05-22 Karl Berry <karl@gnu.org>
1892 * automake.texi: Update @dircategory to match the Free Software
1893 Directory. End directory entries with dots.
1895 2003-05-22 Alexandre Duret-Lutz <adl@gnu.org>
1897 * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/.
1899 * lib/elisp-comp: s/François/Franc,ois/.
1900 Suggested by Paul Eggert.
1902 * automake.in: Move the "main" code at the end.
1903 (parse_arguments): Move near the end.
1904 ($KNOWN_EXTENSIONS_PATTERN, @known_extensions_list,
1905 accept_extensions, var_SUFFIXES_trigger): Move these definitions
1906 before any call to register_language.
1907 (am_file): Move the definition with all other global variables,
1908 do not use local to define it.
1909 * Makefile.am (maintainer-check): Expect no `local' in Automake.
1911 2003-05-21 Alexandre Duret-Lutz <adl@gnu.org>
1913 * lib/Automake/Wrap.pm, lib/Automake/tests/Wrap.pl: New files.
1914 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Wrap.pm.
1915 * lib/Automake/tests/Makefile.am (TESTS): Add Wrap.pl.
1916 * automake.in (handle_texinfo_helper, pretty_print_rule)
1917 (variable_output): Adjust to use makefile_wrap instead of
1918 pretty_print_internal.
1919 (pretty_print_internal): Remove. Renamed as Automake::Wrap::wrap
1920 and augmented to accept the $eol and $max_len arguments.
1922 2003-05-18 Alexandre Duret-Lutz <adl@gnu.org>
1924 * lib/Autom4te/XFile.pm, lib/config.guess, lib/config.sub,
1925 lib/texinfo.tex: New upstream versions.
1927 2003-05-17 Alexandre Duret-Lutz <adl@gnu.org>
1929 * lib/am/install.am (install, install-exec, install-data, uninstall):
1930 Declare conditionally using a if/else/endif block instead of
1931 using ?SUBDIRS?-style conditions. The latter fail when
1932 %maybe_BUILT_SOURCES% is replaced by several lines.
1933 This fixes a bug introduced on 2003-04-06.
1934 * tests/bsource.test: New file.
1935 * tests/Makefile.am (TESTS): Add bsource.test.
1936 Reported by Bruno Haible.
1938 2003-05-11 Alexandre Duret-Lutz <adl@gnu.org>
1940 * automake.texi (renamed objects): New node.
1941 (Program and Library Variables): Move maude_DEPENDENCIES closer
1942 to maude_LDADD. Define and use `per-target compilation flags' in the
1943 explanation for maude_CFLAGS et al. Link to the `renamed objects'
1944 node. Illustrate maude_SHORTNAME.
1946 2003-05-09 Alexandre Duret-Lutz <adl@gnu.org>
1948 * lib/install-sh: Update copyright notice and license to that of
1949 X11R6. This removes an advertising clause reported as Debian bug
1952 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
1954 * configure.in (ACLOCAL): Do not use -I, --acdir is enough.
1956 * m4/make.m4: Rename the doit target as am__doit,
1958 Reported by Philip S Tellis.
1960 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
1962 * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit
1964 * tests/makej.test: New file (test Autom4te's cache locking,
1965 new in CVS Autoconf).
1966 * tests/Makefile.am (TESTS): Add makej.test.
1968 2003-05-06 Alexandre Duret-Lutz <adl@gnu.org>
1970 * lib/Automake/General.pm (contents): New function.
1971 * aclocal.in (greatest_mtime, force_output): New globals.
1972 (scan_configure, add_file): Update $greatest_mtime.
1973 (parse_arguments): Parse --force.
1974 (write_aclocal): Do not overwrite $output_file unless needed.
1975 * automake.texi (aclocal options): Document --force.
1976 * tests/aclocal7.test: New file.
1977 * tests/Makefile.am (TESTS): Add aclocal7.test.
1979 2003-05-05 Alexandre Duret-Lutz <adl@gnu.org>
1981 * automake.texi (Optional): Document m4_include.
1982 (Invoking aclocal): Shake a bit to introduce the various uses
1983 of aclocal and explain that aclocal will use m4_include for
1985 (Extending aclocal): Show how to install installable macros
1986 in $(datadir)/aclocal, and make it clearer that writing installable
1987 macros is not the only way to extend aclocal.
1988 (Local Macros, Future of aclocal): New sections.
1990 2003-04-27 Alexandre Duret-Lutz <adl@gnu.org>
1992 * automake.in (@common_files): Remove acinclude.m4 since
1993 it will be m4_included by aclocal.m4 and files are always
1995 (scan_aclocal_m4): Do not bother about acinclude.m4 anymore.
1996 We will get this dependency when tracing m4_includes.
1997 * tests/aclocal6.test: Make sure acinclude.m4 is distributed
1999 * tests/acinclude.test: Delete.
2000 * tests/Makefile.am (TESTS): Remove acinclude.test.
2002 2003-04-25 Alexandre Duret-Lutz <adl@gnu.org>
2004 * automake.in (handle_configure): Don't add @configure_deps to
2005 DIST_COMMON, we do this from lib/am/configure.am now.
2006 Define the am__configure_deps variable instead of substituing
2008 * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure,
2009 $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%.
2010 (DIST_COMMON): Add $(am__configure_deps).
2012 * tests/aclocal6.test: New file.
2013 * lib/am/configure.am (am--refresh): New rule.
2014 (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status,
2015 $(top_srcdir)/configure): Call the top-level am--refresh from
2017 ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%. Call the
2018 top-level am--refresh when not in the top-level directory.
2019 Fix jump directories for VPATH builds.
2020 Suggested by Raja R. Harinath.
2022 2003-04-24 Alexandre Duret-Lutz <adl@gnu.org>
2024 * automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS
2025 and glob for m4_files (We've got all local m4 files while
2026 tracing m4_include's). Diagnose ACLOCAL_M4_SOURCES as obsolete.
2027 Distribute aclocal.m4 only at the top-level.
2028 (my_glob): Remove. This fixes PR automake/11.
2029 (handle_dist): Strip leading `./' from directories.
2030 * aclocal.in (add_file): Output 'm4_include([file.m4])' instead
2031 of copying local files.
2032 (write_aclocal, parse_arguments): Bump copyright date.
2033 * configure.in: De not build m4/amversion.m4 from here ...
2034 * m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here.
2035 (nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead
2037 * tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test.
2038 (TESTS): Remove aclocal2.test. Do not test aclocal.test twice.
2039 * tests/aclocal2.test: Delete (pointless).
2040 * tests/aclocal5.test: Make sure configure's dependencies are
2042 * tests/acinclude.test: Adjust to search for m4_include.
2043 * tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep
2044 configure instead of aclocal.m4.
2047 * automake.in (scan_aclocal_m4): Work in all directories, not only
2048 the top-level. Prepend $(top_srcdir) in front of each aclocal.m4
2050 * lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)):
2051 Define rebuild rules in each directory.
2052 * tests/subdir8.test: Augment to exercise aclocal.m4's dependencies
2053 from the top-level directory.
2054 * tests/aclocal5.test: New file. Exercise aclocal.m4's dependencies
2055 from a subdirectory.
2056 * tests/Makefile.am (TESTS): Add aclocal5.test.
2057 (XFAIL_TESTS): Replace subdir8.test by aclocal5.test.
2059 2003-04-24 Akim Demaille <akim@epita.fr>
2060 Alexandre Duret-Lutz <adl@gnu.org>
2063 * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt
2064 because of one of configure's dependencies, run automake without
2065 argument to update the whole tree at once. Depend upon
2067 (%MAKEFILE%): If Makefile is rebuilt because config.status has
2068 been updated, run config.status without arguments.
2069 * automake.in (scan_autoconf_traces): Prepend $(top_srcdir)
2070 before all files in @configure_deps.
2071 * tests/subdir5.test: Modernize configure.in, make sure
2072 maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%.
2073 * tests/subdir8.test: New file.
2074 * tests/Makefile.am (TESTS): Add subdir8.test.
2075 (XFAIL_TESTS): Replace subdir5.test by subdir8.test.
2077 2003-04-23 Alexandre Duret-Lutz <adl@gnu.org>
2079 * automake.texi (Requirements): Typo in index
2080 s/AC_CONFIG_FILE/AC_CONFIG_FILES/.
2082 * lib/texinfo.tex: New upstream version.
2084 2003-04-21 Jim Meyering <jim@meyering.net>
2086 * lib/mkinstalldirs: Remove each sequence of spaces before a
2088 * lib/depcomp: Search for TAB-SPC, not SPC-TAB.
2090 2003-04-19 Alexandre Duret-Lutz <adl@gnu.org>
2092 Fix for PR automake/389:
2093 * automake.in (handle_configure): Don't put $colon_infile in
2095 * tests/conff.test: New file.
2096 * tests/Makefile.am (TESTS): Add conff.test.
2097 Reported by Alexander Turbov.
2099 2003-04-18 Alexandre Duret-Lutz <adl@gnu.org>
2101 * tests/defs.in: Handle required=etags to work around
2104 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
2107 * tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test:
2108 Distribute dejagnu test cases, so that distcheck actually runs them.
2110 2003-04-18 Richard Dawe <rich@phekda.freeserve.co.uk>
2112 * lib/am/dejagnu.am (site.exp): Don't define tool in site.exp,
2113 because we set that by invoking runtest with --tool.
2114 * tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test,
2115 dejagnu6.test, dejagnu7.test.
2116 * tests/dejagnu4.test: New test.
2117 * tests/dejagnu5.test: New test.
2118 * tests/dejagnu6.test: New test.
2119 * tests/dejagnu7.test: New test.
2121 * tests/dejagnu3.test: Make sure the DejaGnu test is actually run.
2123 2003-04-18 Jim Meyering <jim@meyering.net>
2125 * automake.in (variable_output): Fix typo in comment s/is/if/.
2127 * lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect
2128 directly to $@. Instead, redirect to $@t and rename upon success.
2129 Also, move the commands that update $@ so they are last. Otherwise,
2130 this rule could leave the user with an up to date target (.c file)
2131 but with a missing or corrupted corresponding .h file.
2133 2003-04-17 Richard Dawe <rich@phekda.freeserve.co.uk>
2135 * tests/defs.in: Handle required=runtest, to detect runtest
2137 * tests/Makefile.am (TESTS): Add dejagnu3.test.
2138 * tests/dejagnu3.test: New test.
2140 2003-04-16 Alexandre Duret-Lutz <adl@gnu.org>
2142 * automake.in (rule_define): If the user tries to override
2143 an Automake which has a -local variant, suggest using the
2144 -local variant in the -Woverride diagnostic.
2145 (handle_factored_dependencies): Register factored
2146 rules with rule_define, and define them only in undefined
2148 * tests/Makefile.am (TESTS): Add override.test.
2149 * tests/overrid.test: New file.
2150 * tests/phony.test: Count the number of .PHONY targets.
2152 2003-04-15 Alexandre Duret-Lutz <adl@gnu.org>
2154 * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silence
2155 these rules, so that we don't confuse users by echoing
2156 "echo ERROR:" commands which are not run.
2158 2003-03-14 Richard Dawe <rich@phekda.freeserve.co.uk>
2159 Alexandre Duret-Lutz <adl@gnu.org>
2161 * automake.in (output_texinfo_build_rules, handle_texinfo_helper,
2162 initialize_per_input): Add infrastructure for generating HTML
2163 documentation from texinfo source.
2164 * lib/am/texinfos.am: Add rules for building HTML documentation
2165 from texinfo source.
2166 * lib/am/texibuild.am: Likewise.
2167 * automake.texi (Texinfo): Document rules for building
2168 HTML documentation from texinfo source.
2169 * tests/txinfo21.test: New file.
2170 * tests/Makefile.am (TESTS): Add txinfo21.test.
2171 * tests/defs.in: Handle required=makeinfo-html.
2173 2003-04-14 Alexandre Duret-Lutz <adl@gnu.org>
2175 * automake.in (%silent_variable_override): New variable.
2176 (macro_define): Warn about variable definitions overriding
2178 (rule_define): Warn about target definitions overriding
2179 Automake variables. Fix $condmsg definition.
2180 * automake.texi (Invoking Automake): Document the `override'
2182 * lib/Automake/ChannelDefs.pm (usage): Likewise.
2183 * lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define,
2184 this is already done in m4/init.m4.
2185 * tests/dejagnu2.test: Run $MAKE, don't only grep. Use
2186 -Wno-override, and make sure we get a warning without.
2187 * tests/exeext2.test, tests/substtarg.test: Use -Wno-override,
2188 and make sure we get a warning without.
2189 * tests/exeext3.test, tests/java2.test, tests/nolink.test,
2190 tests/subpkg.test, tests/vartest.test: Use -Wno-override.
2191 * tests/txinfo13.test: Use installcheck-local instead of overriding
2193 * tests/txinfo2.test: Run $MAKE on the real Makefile (this test
2194 used to succeed thanks to a failure...)
2195 * tests/location.test: Adjust expected messages.
2196 * tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test.
2198 2003-04-12 Raja R Harinath <harinath@acm.org>
2200 * lib/Automake/DisjConditions.pm (true): Don't cache answer.
2201 (invert): Update comment.
2202 (_simplify): Remove.
2203 (simplify): Implement using invert().
2204 * lib/Automake/tests/DisjConditions.pl (test_simplify):
2205 Update to reflect changes.
2207 2003-04-12 Alexandre Duret-Lutz <adl@gnu.org>
2209 * automake.in (scan_autoconf_files): Augment the error message
2210 about AM_INIT_AUTOMAKE not found.
2211 Suggested by Bruno Haible.
2213 * lib/Automake/Version.pm: New file.
2214 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm.
2215 * lib/Automake/tests/Version.pl: New file.
2216 * lib/Automake/tests/Makefile.am (TESTS): Add Version.pl.
2217 * tests/Makefile.am (TESTS): Remove version5.test.
2218 * tests/version5.test: Delete. Move the tests to Version.pl.
2219 * automake.in (version_split, version_compare, version_check): Move ...
2220 * lib/Automake/Version.pm (split, compare, check): ... here.
2222 2003-04-11 Alexandre Duret-Lutz <adl@gnu.org>
2224 * lib/Automake/tests/Condition.pl (test_reduce_and)
2225 (test_reduce_or): Cosmetics.
2226 * lib/Automake/tests/DisjConditions.pl (test_sub_conditions):
2228 * lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...>
2230 * tests/yacc8.test, configure.in: Update copyright year.
2232 2003-04-10 Richard Dawe <rich@phekda.freeserve.co.uk>
2234 * configure.in: Get the build platform name. Define
2235 MODIFICATION_DELAY as the time to wait after modifying a file,
2236 to cope with timestamp granularity issues, depending
2238 * tests/defs.in: Define `sleep' using MODIFICATION_DELAY.
2240 2003-04-10 Eric Siegerman <eric_97@pobox.com> (tiny change)
2242 * automake.texi (Public macros): Clarify that the new
2243 AM_INIT_AUTOMAKE variant is preferred, and the old one
2244 deprecated. Copy-edit the rest of the AM_INIT_AUTOMAKE item.
2245 (Hello): Caution that the example uses the deprecated
2246 AC_INIT/AM_INIT_AUTOMAKE syntax, and xref to the discussion.
2248 2003-04-10 Alexandre Duret-Lutz <adl@gnu.org>
2250 Retain all variable definitions until the whole Makefile.am has
2251 been processed, then output all variables in one step, at the top
2252 of Makefile.in. (Older revisions used to output user variables
2253 before generating Automake targets, and to mix Automake variables
2254 with Automake targets, preventing redefinitions of previously
2257 * automake.in (%var_pretty): New variable.
2258 (VAR_ASIS, VAR_PRETTY): New constants.
2259 (@var_list): Rename as ...
2260 (@var_order): ... this.
2261 (initialize_per_input): Clear %var_pretty.
2262 (handle_variables): New function, extracted from ...
2263 (read_main_am_file): ... here.
2264 (generate_makefile): Call handle_variable after everything else.
2265 (handle_dist): Use define_pretty_variable, not pretty_print.
2266 (pretty_print): Delete.
2267 (macro_define): Augment with $COMMENT and $PRETTY parameters.
2268 Update %var_comment, %var_pretty, and @var_order. Adjust callers.
2269 (variable_pretty_output): Merge with ...
2270 (variable_output): ... this, and choose the prettiness on a
2271 per-condition basis.
2272 (append_comments): Delete. This work is now done by macro_define.
2273 (read_am_file, file_contents_internal): Don't call append_comments
2274 nor update @var_list, adjust calls to macro_define.
2275 (handle_subdirs): Don't explicitly output RECURSIVE_TARGETS,
2276 just mark it as VAR_PRETTY.
2277 * tests/exeext.test: Make sure bin_PROGRAMS is output only once.
2278 Report from Jim Meyering.
2280 2003-04-06 Alexandre Duret-Lutz <adl@gnu.org>
2282 * automake.in (handle_installdirs): Rename as ...
2283 (handle_install): ... this. Define maybe_BUILT_SOURCES.
2284 (generate_makefile): Adjust call to handle_install.
2285 * lib/am/install.am (install): Use %maybe_BUILT_SOURCES%.
2286 * automake.texi (Sources, Built sources example): BUILT_SOURCES
2287 is honored by `make install' too.
2288 * tests/check3.test: Make sure that `make install' also depends
2290 Report from Alexander Turbov.
2292 * lib/am/libs.am (ARFLAGS): Define.
2293 * automake.in (handle_libraries): Use `$(ARFLAGS)' instead of
2295 * automake.texi (A Library): Explain how AR, ARFLAGS and RANLIB
2296 are used, and how they can be overridden.
2297 (Program and Library Variables): Adjust to show `$(ARFLAGS)'
2299 * tests/ar.test: Rewrite to test for AR, ARFLAGS, and RANLIB.
2300 * tests/ranlib.test: Delete, obsoleted by ar.test.
2301 * tests/Makefile.am (TESTS): Remove ranlib.test.
2302 Report from Paul Thomas.
2304 2003-04-03 Alexandre Duret-Lutz <adl@gnu.org>
2306 * automake.in (check_trailing_slash): New function (variation on
2307 a patch by Peter Muir). Diagnose whitespaces following trailing
2309 (read_am_file): Use it.
2310 * tests/backsl4.test: New file.
2311 * tests/Makefile.am (TESTS): Add backsl4.test.
2312 Reported by Peter Muir.
2314 2003-03-29 Raja R Harinath <harinath@acm.org>
2316 Speedup Automake::DisjConditions::invert().
2317 * lib/Automake/Condition.pm (multiply): New.
2318 * lib/Automake/DisjConditions.pm (_multiply): Use it.
2319 (sub_conditions): Likewise.
2321 * lib/Automake/Condition.pm (reduce): Rename to ...
2322 (reduce_and): ... this.
2324 * lib/Automake/DisjConditions.pm (_multiply): Use reduce_or().
2325 * lib/Automake/tests/Condition.pl (test_reduce): Rename to ...
2326 (test_reduce_and): ... this.
2327 (test_reduce_or): New.
2328 * lib/Automake/tests/DisjConditions.pl
2329 (test_invert): Update to reflect effect of reduce_or().
2330 (test_simplify): Don't skip invert() on larger inputs.
2332 2003-03-29 Raja R Harinath <harinath@cs.umn.edu>
2334 * tests/yacc8.test: Add a $sleep before modifying Makefile.am so
2335 that timestamp will change.
2337 2003-03-23 Akim Demaille <akim@epita.fr>
2338 Alexandre Duret-Lutz <adl@gnu.org>
2340 * lib/am/tags.am (TAGS): Use --etags-include instead of --include,
2341 when supported by etags (Exuberant Ctags).
2342 * tests/tagsub.test: Rewrite to _run_ the `tags' rule.
2344 2003-03-20 Alexandre Duret-Lutz <adl@gnu.org>
2346 For Debian Bug #185388:
2347 * automake.texi (Extending): Augment the install-exec-hook
2348 discussion with an example how to symlink a versioned binary.
2349 * tests/insthook.test: Rewrite to test the above example.
2350 Report from James R. Van Zandt.
2352 2003-03-19 Alexandre Duret-Lutz <adl@gnu.org>
2354 * Makefile.am (maintainer-check): Allow `automake:' tokens,
2355 occuring in location.test. Automake now has 5 legitimate
2356 unsubstituted @strings@.
2358 * tests/aclocal4.test: Require GNU make.
2360 2003-03-14 Alexandre Duret-Lutz <adl@gnu.org>
2362 * tests/aclocal4.test: New file. Test for the ACLOCAL_M4 bug below.
2363 * tests/Makefile.am (TESTS): Add aclocal4.test.
2365 2003-03-14 Jim Meyering <jim@meyering.net>
2367 * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
2368 subdirectories. Makefile.in depends on that variable.
2370 2003-03-13 Alexandre Duret-Lutz <adl@gnu.org>
2372 * m4/init.m4: Remove a leftover comment from the pre-1.7 era.
2374 Fix for PR automake/386:
2375 * m4/init.m4: Require Autoconf 2.55.
2376 Reported by Owen Taylor.
2378 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
2379 (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode.
2380 Suggested by Matthias Andree.
2382 * tests/README: Typo.
2384 2003-03-08 Alexandre Duret-Lutz <adl@gnu.org>
2386 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
2387 (?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP.
2388 Just echo the gcc command.
2389 Suggested by Karl Berry.
2391 2003-03-06 Alexandre Duret-Lutz <adl@gnu.org>
2393 * lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
2394 `test -f foo || echo $(srcdir)/` to emulate a VPATH search when
2395 outputing suffix rules. This follows 2003-02-25's change.
2396 * lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
2397 * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
2399 2003-03-05 Alexandre Duret-Lutz <adl@gnu.org>
2401 * automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed
2402 with AC_CONFIG_FILES are cleaned by `make distclean'. Don't
2404 Reported by Rafael Laboissiere.
2406 2003-03-04 Andreas Buening <andreas.buening@nexgo.de>
2408 * lib/mdate-sh: Find out which column of the ls -l output contains
2409 the month. Do not assume it is at least the fifth column.
2411 2003-02-26 Alexandre Duret-Lutz <adl@gnu.org>
2413 * automake.texi (Emacs Lisp): Mention that `dist_' can be used.
2415 * automake.texi (Emacs Lisp): Instruct people to use lisp_DATA
2416 instead of lisp_LISP when they don't want byte-compilation.
2417 Don't mention ELCFILES anymore.
2418 * automake.in (handle_data): Allow lisp_DATA.
2419 * tests/lisp5.test: New file.
2420 * tests/Makefile.am (TESTS): Add lisp5.test.
2422 * automake.in (handle_emacs_lisp): Don't build *.elc files
2423 if ELCFILES was set empty.
2424 * tests/lisp4.test: New file.
2425 * tests/Makefile.am (TESTS): Add lisp4.test.
2426 Reported by Simon Josefsson.
2428 * tests/lex3.test, tests/lex5.test: Require flex.
2429 Reported by Leo Davis.
2431 2003-02-25 Alexandre Duret-Lutz <adl@gnu.org>
2433 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not
2434 use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search
2435 when outputing suffix rules.
2436 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi)
2437 (?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise.
2438 Suggested by Bruno Haible.
2440 * automake.in (read_am_file): Catch trailing backslashes on last line.
2441 * tests/backsl3.test: New file.
2442 * tests/Makefile.am (TESTS): Add backsl3.test.
2443 Reported by Akim Demaille.
2445 2003-02-24 Alexandre Duret-Lutz <adl@gnu.org>
2447 * ChangeLog: Move 2002's entries to ...
2448 * ChangeLog.02: ... this new file.
2449 * Makefile.am (EXTRA_DIST): Add ChangeLog.02.
2451 2003-02-24 Richard Dawe <rich@phekda.freeserve.co.uk>
2453 * tests/version7.test: Use $sleep to sleep before updating
2454 the version, to work around timestamp inconsistencies in Windows.
2456 2003-02-24 Bruno Haible <bruno@clisp.org>
2457 Alexandre Duret-Lutz <adl@gnu.org>
2459 * lib/am/texibuild.am: Don't remove the target info files. Instead,
2460 back up and restore them if makeinfo fails.
2461 * tests/txinfo20.test: New file.
2462 * tests/Makefile.am (TESTS): Add txinfo20.test.
2464 2003-02-23 Alexandre Duret-Lutz <adl@gnu.org>
2466 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
2467 (distcleancheck): Fix typos and other errors reported by Karl
2470 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
2472 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
2475 * tests/defs.in: Handle required=ro-dir.
2476 * tests/destdir.test: Use this.
2478 2003-02-19 Richard Dawe <rich@phekda.freeserve.co.uk>
2480 * lib/am/distdir.am (distcheck): Strip any leading DOS drive
2481 from dc_install_base.
2483 2003-02-19 Alexandre Duret-Lutz <adl@gnu.org>
2485 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
2486 DJGPP-style *.iNN info files.
2487 (maintainer-clean-aminfo): Rewrite using the same pattern
2488 as in uninstall-info-am.
2489 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase
2490 DJGPP-style *.iNN info files before running $(MAKEINFO).
2491 * tests/txinfo19.test: New file.
2492 * tests/Makefile.am (TESTS): Add txinfo19.test.
2494 2003-02-18 Richard Dawe <rich@phekda.freeserve.co.uk>
2496 * lib/depcomp (dashmstdout): Cope with DOS filenames in
2499 2003-02-17 Alexandre Duret-Lutz <adl@gnu.org>
2501 * lib/depcomp (makedepend): Don't pass $object to makedepend.
2502 Reported by Stepan Kasal.
2504 2003-02-12 Alexandre Duret-Lutz <adl@gnu.org>
2506 * tests/defs.in: Handle required=makedepend.
2508 * Makefile.am (maintainer-check): Update the diff check
2509 to account for the recent @SHELL@ substitution.
2511 2003-02-11 Alexandre Duret-Lutz <adl@gnu.org>
2513 * lib/depcomp: Do not put comments on the `icc)' line.
2515 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
2518 Fix for PR automake/381:
2519 * automake.in (handle_gettext): Do not print diagnostics
2520 about po/ and intl/ missing from SUBDIRS if po/ does not
2521 exist. Warn if `SUBDIRS = intl' is used although libintl
2523 * tests/gettext.test: Make sure diagnostics are not output
2524 when po/ does not exist.
2525 * tests/gettext2.test: Test for unwanted intl/.
2526 PR from Alexander Turbov, fix suggested by Bruno Haible.
2528 * m4/depend.m4: Grep depcomp's stderr for icc warnings about
2530 * lib/depcomp (icc): New mode.
2531 * tests/depcomp5.test: New file.
2532 * tests/defs.in: Handle required=icc.
2533 * tests/Makefile.am (TESTS): Add it.
2535 Temporary hack for PR automake/381:
2536 * automake.in (handle_gettext): Turn missing po/ and intl/ errors
2537 into -Wsyntax warnings.
2539 2003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk>
2541 * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
2542 This makes the setting of SHELL work for DJGPP.
2544 2003-02-10 Alexandre Duret-Lutz <adl@gnu.org>
2546 For PR automake/385:
2547 * lib/depcomp (makedepend): Strip any libtool call, before
2548 running makedepends.
2549 * tests/depcomp4.test: New file.
2550 * tests/Makefile.am (TESTS): Add it.
2551 Reported by Jeff Squyres.
2553 Related to PR automake/385:
2554 * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will
2555 write dependencies to /dev/null. `-o /dev/null' was added
2556 on 2002-06-13 just because I tried to replace `-o foo.o' by something
2557 else and didn't thought about removing it entirely.
2558 * tests/depcomp3.test: New file.
2559 * tests/Makefile.am (TESTS): Add it.
2561 * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
2563 Suggested by Richard Dawe.
2565 2003-02-09 Alexandre Duret-Lutz <adl@gnu.org>
2567 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
2568 (distcleancheck): New nodes.
2570 2003-02-06 Alexandre Duret-Lutz <adl@gnu.org>
2572 * automake.in (scan_autoconf_files): Don't complain that
2573 AM_INIT_AUTOMAKE comes from an old version if it was not found.
2575 2003-02-05 Alexandre Duret-Lutz <adl@gnu.org>
2577 * automake.in (am_install_var): Simplify filtering of
2578 variable_loc_and_value_as_list_recursive's output.
2580 2003-02-04 Alexandre Duret-Lutz <adl@gnu.org>
2582 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute
2583 indexes of header files so we create stamp files with
2584 the right numbers when config.status is run on some headers.
2585 * tests/stamph2.test: Check for this.
2586 Reported by Sander Niemeijer.
2588 2003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
2590 * automake.in (vars_scanned): Move near traverse_variable_recursively.
2591 (traverse_variable_recursively,
2592 traverse_variable_recursively_worker): Accept a $COND_FILTER argument
2593 to filter out conditions during recursion. Don't recurse into
2594 undefined variables. Don't pass empty results to &FUN_COLLECT.
2595 (value_to_list): Remove, was used by
2596 variable_value_as_list_recursive_worker only.
2597 (variable_value_as_list_recursive_worker): Rewrite using
2598 traverse_variable_recursively. Remove the $parent argument.
2599 (variable_value_as_list_recursive,
2600 variable_loc_and_value_as_list_recursive): Adjust calls
2601 to variable_value_as_list_recursive_worker. Don't reset
2603 * tests/cond3.test: Don't expect empty helper variables,
2604 we don't output them anymore.
2605 * tests/cond30.test: Use an undefined variable.
2607 * automake.in (handle_programs): Strip $(EXEEXT) before
2608 calling &check_canonical_spelling.
2609 * tests/exeext.test: Make sure we don't use a
2610 maude3__EXEEXT__OBJECTS variable.
2612 2003-02-02 Jeremy Nimmer <jwnimmer@alum.mit.edu> (tiny change)
2614 For Debian Bug #39542:
2615 * automake.texi (Invoking Automake, Optional): Document how
2616 AC_CONFIG_AUX_DIR interacts with missing files.
2618 2003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
2620 * lib/Automake/DisjConditions.pm (_permutations_worker)
2621 (permutations): Remove, so that people aren't tempted to use it.
2622 * lib/Automake/tests/DisjConditions.pl (tests_permutations): Remove.
2624 * automake.in (variable_conditions_recursive): Remove.
2625 (variable_conditionally_defined): Rewrite using
2626 traverse_variable_recursively.
2628 * automake.in (traverse_variable_recursively,
2629 traverse_variable_recursively_worker): Pass one merged Condition
2630 instead of a stack of conditions to &FUN_STORE and &FUN_COLLECT.
2631 (transform_variable_recursively, define_objects_from_sources)
2632 (handle_lib_objects, variable_conditions_recursive): Adjust usage.
2634 2003-02-01 Alexandre Duret-Lutz <adl@gnu.org>
2636 * automake.in (handle_lib_objects): Compute _DEPENDENCIES variables
2637 using transform_variable_recursively instead of
2638 variable_conditions_recursive and variable_value_as_list_recursive
2639 to avoid combinatorial explosion.
2640 (handle_lib_objects_cond): Merge into handle_lib_objects.
2641 * tests/cond11.test: Don't grep internal details in Makefile.in,
2642 run $MAKE to make sure the resulting Makefile runs as expected.
2643 * tests/cond29.test: Also exercise conditional _LDADD.
2644 * tests/cond31.test, tests/cond32.test: New files.
2645 * tests/Makefile.am (TESTS): Add tests/cond31.test and
2648 2003-01-31 Alexandre Duret-Lutz <adl@gnu.org>
2650 * automake.in (handle_lib_objects_cond): Ignore -dlopen and
2651 -dlpreopen in _LIBADD variables too.
2652 (handle_LIBOBJS, handle_ALLOCA): New functions, extracted from
2653 handle_lib_objects_cond.
2654 * tests/libtool7.test: New file.
2655 * tests/Makefile.am (TESTS): Add libtool7.test.
2657 * automake.texi (Program and Library Variables): Clarify that
2658 _LIBADD is for libraries and _LDADD for programs.
2660 * automake.in (handle_source_transform): Correct typo from 2003-01-23.
2662 2003-01-28 Alexandre Duret-Lutz <adl@gnu.org>
2664 Fix for PR automake/352:
2665 * automake.in (transform_variable_recursively): If the destination
2666 and the source variables are the same, delete the source variable
2667 before defining the destination variable.
2668 (handle_programs): Strip any $(EXEEXT) suffix from $one_file,
2669 or this will confuse handle_source_transform.
2670 (append_exeext): Rewrite using transform_variable_recursively.
2671 * tests/cond29.test, tests/cond30.test: New files.
2672 * tests/exeext.test: Run ./configure and make, this uncovered
2673 the above handle_programs issue.
2674 * tests/Makefile.am (TESTS): Add cond29.test and cond20.test.
2676 * automake.in (%subobjvar): Replace by ...
2677 (%gen_varname): ... this.
2678 (subobjname): Replace by ...
2679 (gen_varname): ... this.
2680 (initialize_per_input): Clean gen_varname instead of subobjname.
2681 (transform_variable_recursively): New function, extracted
2682 from define_objects_from_sources.
2683 (define_objects_from_sources): Use transform_variable_recursively.
2684 Remove the unused $parent argument.
2685 (handle_source_transform): Adjust call to define_objects_from_sources.
2687 2003-01-23 Alexandre Duret-Lutz <adl@gnu.org>
2689 * automake.in (@substfroms, @substtos): Move near
2690 traverse_variable_recursively.
2691 (traverse_variable_recursively, traverse_variable_recursively_worker):
2692 New functions, extracted from define_objects_from_sources.
2693 (define_objects_from_sources): Rewrite using
2694 traverse_variable_recursively.
2695 (handle_source_transform): Use variables_conditionally_defined
2696 instead of calling variable_conditions_recursive directly.
2697 Adjust the call to define_objects_from_sources; there is no need
2698 to reset @substtos, @substfroms, and %vars_scanned now.
2699 (variable_conditions_recursive): Rewrite using
2700 traverse_variable_recursively.
2701 (variable_conditions_recursive_sub): Remove.
2702 (variable_conditionally_defined): Fix condition comparison (the
2703 consequence was that DIST_SUBDIRS was always output).
2704 * lib/Automake/Condition.pm (merge): Allow merging several
2707 2003-01-22 Alexandre Duret-Lutz <adl@gnu.org>
2709 * automake.texi (Python): Explain that directory variables start
2710 with either ${prefix} or ${exec_prefix}, and point to the
2711 `Installation Directory Variables' section of the Autoconf manual.
2713 2003-01-21 Alexandre Duret-Lutz <adl@gnu.org>
2715 * lib/am/distdir.am (top_distdir, distdir): Define these
2716 variables only in top level Makefile. Redefine $(top_distdir)
2718 (distdir): Fix passing of $(top_distdir) to sub-makes.
2719 * automake.in (handle_dist): Do not define the DISTDIR and
2720 TOP_DISTDIR transformations. We don't need them anymore.
2721 * automake.texi (Dist): Reorder the dist-hook section, and move
2722 the DIST_SUBDIRS paragraph earlier. Document distdir and
2724 * tests/subpkg.test: Update to check for $(distdir) and
2727 2003-01-19 Alexandre Duret-Lutz <adl@gnu.org>
2729 Rename more files to accomodate 8+3 file systems, and adjust the
2730 vocabulary at the same time: AM_CONDITIONAL defines "conditionals",
2731 and we call "condition" a conjunction of "conditionals".
2732 * lib/am/Conditional.pm: Rename to lib/am/Condition.pm.
2733 * lib/am/tests/Conditional.pl: Rename to lib/am/tests/Condition.pl.
2734 * lib/am/ConditionalSet.pm: Rename to lib/am/DisjConditions.pm.
2735 * lib/am/tests/ConditionalSet.pl: Rename to
2736 lib/am/tests/DisjConditions.pl
2737 * lib/am/Conditional.pm (condition_negate): Rename to ...
2738 * lib/am/Condition.pm (conditional_negate): ... this.
2739 * automake.in: Adjust references to Condition and DisjConditions.
2740 (check_ambiguous_conditional, conditional_ambiguous_p): Rename to ...
2741 (check_ambiguous_condition, condition_ambiguous_p): ... these.
2743 * tests/README: New file.
2745 * automake.texi (Conditional Programs): Show a sample Makefile.am.
2746 Remind $(EXEEXT) must be appended to configure substitutions.
2747 Show how Automake conditionals can be used instead.
2748 * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also
2749 appended to conditionally defined programs.
2751 2003-01-16 Jim Meyering <jim@meyering.net>
2753 Accept --help and --version, and lots of syntactic clean-up.
2754 * lib/install-sh: Use consistent indentation, two spaces per level.
2755 (scriptversion): New variable.
2756 Change initializations like `variable=""' to `variable='.
2757 (usage): New variable.
2758 Use `test', not `['.
2759 Use `test -z "$var"', not `[ x"$var" = x ]'.
2760 Use `test -n "$var"', not `[ x"$var" != x ]'.
2761 Alphabetize case entries.
2762 Accept --help and --version options.
2763 Remove unnecessary `else :' clauses.
2764 Add a `Local variables' eval block to help emacs users update
2765 the time-stamp variable added above.
2766 Mostly from Karl Berry.
2768 2003-01-16 Alexandre Duret-Lutz <adl@gnu.org>
2770 * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add
2773 * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir'
2774 or `pyexecdir', for the sake of 64-bit distributions that usually
2775 use lib64/ instead of lib/. Fall back to the default directory
2777 Suggested by Gwenole Beauchesne.
2779 2003-01-14 Alexandre Duret-Lutz <adl@gnu.org>
2781 For PR automake/382:
2782 * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'.
2783 Explain BUILT_SOURCES is usually needed in this case.
2784 Reported by William S Fulton.
2786 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
2788 Rename some files for the sake of 8+3 file systems.
2789 * tests/aclocali.test: Rename to tests/aclocal.test.
2790 * tests/aclocali1.test: Rename to tests/aclocal2.test.
2791 * tests/aclocalii.test: Rename to tests/aclocal3.test.
2792 * tests/acoutput.test: Rename to tests/acoutpt.test.
2793 * tests/acoutput2.test: Rename to tests/acoutpt2.test.
2794 * tests/acouttbs.test: Rename to tests/acoutbs.test.
2795 * tests/acouttbs2.test: Rename to tests/acoutbs2.test.
2796 * tests/autoheader.test: Rename to tests/autohdr.test.
2797 * tests/autoheader2.test: Rename to tests/autohdr2.test.
2798 * tests/condincl.test: Rename to tests/condinc.test.
2799 * tests/condincl2.test: Rename to tests/condinc2.test.
2800 * tests/distcommon.test: Rename to tests/distcom.test.
2801 * tests/distcommon2.test: Rename to tests/distcom2.test.
2802 * tests/distcommon3.test: Rename to tests/distcom3.test.
2803 * tests/installsh.test: Rename to tests/instsh.test.
2804 * tests/installsh2.test: Rename to tests/instsh2.test.
2805 * tests/instdata.test: Rename to tests/instdat.test.
2806 * tests/instdata2.test: Rename to tests/instdat2.test.
2807 * tests/libobj12b.test: Rename to tests/libobj13.test.
2808 * tests/link_f_c.test: Rename to tests/link_fc.test.
2809 * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test.
2810 * tests/link_f_cxx.test: Rename to tests/link_fcxx.test.
2811 * tests/nodefine.test: Rename to tests/nodef.test.
2812 * tests/nodefine2.test: Rename to tests/nodef2.test.
2813 * tests/required.test: Rename to tests/reqd.test.
2814 * tests/required2.test: Rename to tests/reqd2.test.
2815 * tests/sourcesub.test: Rename to tests/srcsub.test.
2816 * tests/sourcesub2.test: Rename to tests/srcsub2.test.
2817 * tests/specflags.test: Rename to tests/specflg.test.
2818 * tests/specflags2.test: Rename to tests/specflg2.test.
2819 * tests/specflags3.test: Rename to tests/specflg3.test.
2820 * tests/specflags6.test: Rename to tests/specflg6.test.
2821 * tests/specflags7.test: Rename to tests/specflg7.test.
2822 * tests/specflags8.test: Rename to tests/specflg8.test.
2823 * tests/specflags9.test: Rename to tests/specflg9.test.
2824 * tests/subdircond.test: Rename to tests/subcond.test.
2825 * tests/subdircond2.test: Rename to tests/subcond2.test.
2826 * tests/subdircond3.test: Rename to tests/subcond3.test.
2827 * tests/texinfo.test: Rename to tests/txinfo.test.
2828 * tests/texinfo2.test: Rename to tests/txinfo2.test.
2829 * tests/texinfo3.test: Rename to tests/txinfo3.test.
2830 * tests/texinfo4.test: Rename to tests/txinfo4.test.
2831 * tests/texinfo5.test: Rename to tests/txinfo5.test.
2832 * tests/texinfo6.test: Rename to tests/txinfo6.test.
2833 * tests/texinfo7.test: Rename to tests/txinfo7.test.
2834 * tests/texinfo8.test: Rename to tests/txinfo8.test.
2835 * tests/texinfo9.test: Rename to tests/txinfo9.test.
2836 * tests/texinfo10.test: Rename to tests/txinfo10.test.
2837 * tests/texinfo13.test: Rename to tests/txinfo13.test.
2838 * tests/texinfo16.test: Rename to tests/txinfo16.test.
2839 * tests/texinfo17.test: Rename to tests/txinfo17.test.
2840 * tests/texinfo18.test: Rename to tests/txinfo18.test.
2841 * tests/Makefile.am (TESTS): Adjust.
2842 * ChangeLog.1996: Rename to ChangeLog.96.
2843 * ChangeLog.1998: Rename to ChangeLog.98.
2844 * ChangeLog.2000: Rename to ChangeLog.00.
2845 * ChangeLog.2001: Rename to ChangeLog.01.
2846 * Makefile.am (EXTRA_DIST): Adjust.
2847 Reported by Richard Dawe.
2849 2003-01-13 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
2851 * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames.
2852 Use '_build' and '_inst' instead of '=build' and '=inst'.
2853 * tests/man2.test: Reflect change automake: check for files in
2854 '_build' and '_inst' directories instead of '=build' and '=inst'.
2856 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
2858 Use `_dirstamp' when the file-system doesn't support `.dirstamp'.
2859 * m4/lead-dot.m4: New file.
2860 * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4
2861 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.:
2862 * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define
2863 DEPDIR using am__leading_dot.
2864 * automake.in (require_build_directory): Define am__dirstamp, a new
2865 variable for the dirstamp basename, based on am__leading_dot.
2866 * tests/subobj6.test: Move all `test -f' into Makefiles, so we can
2867 use $(am__dirstamp).
2868 Reported by Richard Dawe.
2870 * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test:
2871 Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when
2872 testing for programs.
2873 Reported by Richard Dawe.
2875 2003-01-10 Alexandre Duret-Lutz <adl@gnu.org>
2877 * Makefile.am (maintainer-check): Suggest using $sleep instead of
2879 * tests/defs.in (sleep): New variable.
2880 * tests/asm.test, tests/confsub.test, tests/lisp3.test,
2881 tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test:
2882 Use $sleep instead of sleep 2, to work around timestamp
2883 inconsistencies in Windows.
2884 Reported by Richard Dawe.
2886 * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh
2888 * tests/ansi3.test, tests/ansi5.test, tests/cond22.test,
2889 tests/man2.test, tests/subobj3.test, tests/suffix8.test,
2890 tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e.
2891 $SHELL is overridden by tests/defs, so it won't hurt even
2892 if $MAKE -e uses the $SHELL envvar.
2893 * tests/ansi.test, tests/insh2.test, tests/texinfo.test,
2894 tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh.
2895 Reported by Richard Dawe.
2897 Build elisp files all at once instead of one by one.
2898 * automake.in (handle_emacs_lisp): Define am__ELFILES. Add
2899 elc-stamp to all's dependencies.
2900 * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files.
2901 (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist.
2902 (clean-lisp): Clean elc-stamp.
2903 * lib/elisp-comp: Reindent. Erase the temporatry directory
2904 from a trap. Propagate Emacs's exit status.
2905 * tests/lisp3.test: New file.
2906 * tests/Makefile.am (TESTS): Add lisp3.test.
2907 Reported by Ryan T. Sammartino.
2909 2003-01-09 Akim Demaille <akim@epita.fr>
2911 * automake.texi: Prefer $(FOO) to @FOO@ in the documentation.
2913 2003-01-08 Alexandre Duret-Lutz <adl@gnu.org>
2915 * m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious
2916 variables. Suggested by Ryan T. Sammartino.
2918 2003-01-05 Alexandre Duret-Lutz <adl@gnu.org>
2920 * automake.in (macro_define): Add missing `{$cond}' (typo from
2922 ($gen_copyright): Append year 2003.
2923 (version): Increase year.
2925 * tests/defs.in: Substitute aclocaldir instead of running
2926 the installed aclocal. Otherwise Libtool and Gettext
2927 tests get skipped when aclocal doesn't preexist.
2929 * tests/listval.test, tests/suffix2.test: Remove pointless -I
2930 argument to aclocal.
2934 Copyright (C) 2003 Free Software Foundation, Inc.
2936 This file is part of GNU Automake.
2938 GNU Automake is free software; you can redistribute it and/or modify
2939 it under the terms of the GNU General Public License as published by
2940 the Free Software Foundation; either version 2, or (at your option)
2943 GNU Automake is distributed in the hope that it will be useful,
2944 but WITHOUT ANY WARRANTY; without even the implied warranty of
2945 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2946 GNU General Public License for more details.
2948 You should have received a copy of the GNU General Public License
2949 along with autoconf; see the file COPYING. If not, write to
2950 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
2951 Boston, MA 02111-1307, USA.