* m4/mkdirp.m4 (AM_PROG_MKDIR_P): Append `.' to $(mkdir_p).
[automake.git] / ChangeLog
blob1ae01fcc352cc1990b98f5814120ef8fa1a91ada
1 2004-01-08  Alexandre Duret-Lutz  <adl@gnu.org>
3         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Append `.' to $(mkdir_p).
4         * lib/install-sh: Accept `install-sh -d' with 0..n arguments,
5         as well as `install-sh sources... dest' with multiple sources.
6         * tests/cond33.test: New file.
7         * tests/instsh2.test: Add more checks for install-sh.
8         * tests/transform.test: Test for installdirs.
9         * tests/Makefile.am (TESTS): Add cond33.test
10         Report from Ralf Corsepius.
12         * automake.in (handle_configure): Skip AC_CONFIG_LINKS items which
13         do not look like DEST:SRC.
14         * tests/conflnk3.test: Check for AC_CONFIG_LINKS($computed).
16 2003-01-07  Eric Sunshine  <sunshine@sunshineco.com>  (tiny change)
18         * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
19         config.status.lineno.
21 2004-01-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
23         * doc/automake.texi (Rebuilding): Typo.
25 2004-01-06  Alexandre Duret-Lutz  <adl@gnu.org>
27         * THANKS: Add Bruce Korb.
29         * automake.in, aclocal.in: Bump copyright years.
31         * configure.ac, NEWS: Bump version to 1.8.0c.
33         * configure.ac, NEWS: Bump version to 1.8.0b.
35 2004-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
37         Mimic Paul Eggert's changes to Autoconf.
38         * Makefile.am (automake, aclocal): Use `chmod a-w', not `chmod -w'.
39         * lib/Automake/Makefile.am (Config.pm): Likewise.
40         * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Likewise.
42         * lib/am/data.am, lib/am/lisp.am, lib/am/python.am,
43         lib/am/scripts.am: Strip any leading $(srcdir) from nobase_ files.
44         This fixes installation of nobase_ files in VPATH setups with Sun
45         and OSF1/Tru64 Make.
46         * tests/nobase.test: Augment to check installation from VPATH
47         builds.
49 2004-01-04  Alexandre Duret-Lutz  <adl@gnu.org>
51         * lib/texinfo.tex: New upstream version.
53         * NEWS: Summarize recent fixes.
55         * m4/mkdirp.m4: Do not use `-m 0755'.  This overrides special bits
56         and break setups where 775 directories are expected.  Just obey
57         umask as we did in the past.
58         Report from Harlan Stenn.
60 2004-01-03  Alexandre Duret-Lutz  <adl@gnu.org>
62         * automake.in (scan_texinfo_file): Do not compare $outfile to ''
63         as $outfile might not be defined at all.
65         * lib/Automake/Variable.pm (define): Rework the way we check
66         Automake variable definition.  Ensure consistent :=/+=/=
67         definitions only for variables that have been and are defined by
68         Automake, and make it an internal error.  Ignore Automake
69         attempts to touch a user variable, even with += assignments.
70         * tests/txinfo29.test: New file.
71         * tests/Makefile.am (TESTS): Add txinfo29.test.
72         Reported by Bruce Korb.
74 2004-01-02  Alexandre Duret-Lutz  <adl@gnu.org>
76         * tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
77         * tests/ltconv.test: Run automake with --add-missing, because
78         the CVS version of libtoolize no longer install config.sub and
79         config.guess by default.
81         Fix for PR automake/319:
82         * aclocal.in (scan_m4_files): Scan configure.ac.
83         (trace_used_macros, write_aclocal): Remove configure.ac from the
84         list of files to include.
85         * tests/Makefile.am (TESTS): Add acloca15.test.
86         * tests/acloca15.test: New file.
88         * aclocal.in (%file_includes): New variable.
89         (scan_configure_dep): Compile $m4_include_rx and $ac_require_rx once.
90         (scan_file): Scan for included files, and process these files
91         recursively.  Fill %file_includes and %file_contents.  Return the
92         list of included files, not the contents.
93         (scan_m4_files): Adjust calls to scan_files.
94         (strip_redundant_includes): New function.
95         (trace_used_macros): Call it.
96         (write_aclocal): Likewise.  Also check the mtime of included files.
97         * tests/Makefile.am (TESTS): Add acloca14.test.
98         * tests/acloca14.test: New file.
99         Report from Phil Edwards.
101 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
103         * automake.in (@common_files): Move configure, configure.ac, and
104         configure.in ...
105         (@common_sometimes): ... here so that these files do not appear
106         twice in DIST_COMMON.
108         * automake.in (maybe_push_required_file): Add $(srcdir) in front
109         a required files outside the current directory or its subdirectories.
110         * lib/am/distdir.am (distdir): Update comment.
111         Report from Nicolas Joly.
113 2003-12-26  Alexandre Duret-Lutz  <adl@gnu.org>
115         * doc/automake.texi (@copying): Do not repeat the version.
116         (Top): Use @insertcopying.  Add a @detailmenu, this works around
117         Emacs 21's inability to lookup indices in sub-nodes (reported
118         by Kevin Ryde).
119         (C++ Support, Assembly Support, Fortran 77 Support, Java Support,
120         Support for Other Languages, Preprocessing Fortran 77, Compiling
121         Fortran 77 Files, Mixing Fortran 77 With C and C++, How the Linker
122         is Chosen): Add missing descriptions in menus.
123         (Fortran 77 and Autoconf): Remove, this node was just saying "use
124         Autoconf 2.53 or greater".
126 2003-12-26  Santiago Vila  <sanvila@unex.es>  (tiny change)
128         * NEWS: s/Gettext 1.12.1/Gettext 0.12.1/
130 2003-12-25  Nicolas Joly  <njoly@pasteur.fr>  (tiny change)
132         * doc/automake.texi (Conditional Sources): Typo.
134 2003-12-25  Alexandre Duret-Lutz  <adl@gnu.org>
136         * lib/Automake/Config.in: Require Exporter.
137         Report from Kevin Ryde (failure with Perl 5.005_03).
139 2003-12-15  Alexandre Duret-Lutz  <adl@gnu.org>
141         * tests/aclocal6.test: Check for autom4te.cache only if it has
142         been created.
143         * tests/maintclean.test: Update comment.
144         Report from Bruno Haible.
146         * tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
147         Require texi2dvi-o.
148         Report from Václav Haisman.
150 2003-12-10  Alexandre Duret-Lutz  <adl@gnu.org>
152         * configure.ac, NEWS: Bump version to 1.8.0a.
154         * configure.ac, NEWS: Bump version to 1.8.
156         * lib/texinfo.tex: New upstream version.
158         * Makefile.am (INSTALL): Copy the source from $(srcdir).
160 2003-12-09  Alexandre Duret-Lutz  <adl@gnu.org>
162         * lib/Automake/Rule.pm (define): Remove debugging traces.
163         Report from Akim Demaille.
165 2003-12-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
166             Alexandre Duret-Lutz  <adl@gnu.org>
168         * Makefile.am (do_subst): Fix the substitution of @configure_input@.
169         (automake, aclocal): Create the output atomically and make it
170         read-only, as done in the Autoconf package.
171         * lib/Automake/Makefile.am (do_subst): Fix the substitution of
172         @configure_input@.
173         (Config.pm): Create the output atomically and make it read-only.
174         * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Substitute
175         @configure_input@ and make the output read-only.
176         * lib/Automake/Config.in, m4/amversion.in, tests/aclocal.in,
177         tests/automake.in, tests/defs.in: Add a @configure_input@ line.
179 2003-12-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
181         * doc/automake.texi (Local Macros, CVS): Typos.
183 2003-12-08  Alexandre Duret-Lutz  <adl@gnu.org>
185         * lib/Automake/Variable.pm (hook): Use $$ as prototype, not $\&.
186         Perl 5.6.0 will not accept a reference sub reference for the
187         latter.
188         * automake.in (var_SUFFIXES_trigger): Adjust registration via
189         Automake::Variable::hook.
190         (handle_texinfo_helper): Make sure `inner_expand => 1' appears
191         on one line, so that Perl 5.6.0 does not complain about
192         inner_expand being a bare identifier.
194 2003-12-05  Alexandre Duret-Lutz  <adl@gnu.org>
196         * aclocal.in (check_acinclude, scan_file): Output `warning:' in
197         front of warnings.
198         Report from Pavel Roskin.
200 2003-12-04  Alexandre Duret-Lutz  <adl@gnu.org>
202         * TODO: Remove some old entries.
204         * doc/automake.texi (Rebuilding): Document CONFIGURE_DEPENDENCIES
205         and CONFIG_STATUS_DEPENDENCIES.  Move this sections later
206         in the manual since it's pretty advanced material.
208         * automake.in ($config_header_location): Remove.  Use
209         %ac_config_files_location instead.
210         (rewrite_inputs_into_dependencies): Do not prepend $(top_builddir)/
211         at the top-level.
212         (handle_configure): Use rewrite_inputs_into_dependencies to
213         distribute and compute AC_CONFIG_HEADERS dependencies.
214         (scan_autoconf_traces) <AC_CONFIG_HEADERS>: Fill
215         %ac_config_files_location.
216         * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Rename as ...
217         (%CONFIG_HIN%): ... this.  $(srcdir) is already added in
218         scan_autoconf_traces.
219         * tests/Makefile.am (TESTS): Add confh5.test.
220         * tests/confh5.test: New file.
222         * tests/ltlibsrc.test: Fix the zoo_d_old2_la.c rule in Makefile.am,
223         $< is not portable and the source is in $(srcdir).
225 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
226             Alexandre Duret-Lutz  <adl@gnu.org>
228         * automake.in (handle_configure): Do not require link sources if
229         they contain a dollar, or if they were built.  Likewise, do not
230         clean link destination if they contain a dollar.
231         (scan_autoconf_traces) <AC_CONFIG_LINKS>: Populate
232         %ac_config_files_location with link destinations.  Do not
233         store locations in @config_links, now that %ac_config_files_location
234         have them.
235         * tests/conflnk3.test: New file.
236         * tests/Makefile.am (TESTS): Add conflnk3.test.
238 2003-12-02  Alexandre Duret-Lutz  <adl@gnu.org>
240         * configure.ac, NEWS: Bump version to 1.7i.
242         * configure.ac, NEWS: Bump version to 1.7h.
244         * doc/automake.texi (Default _SOURCES): Fix reference to true.
246         * lib/texinfo.tex: New upstream version.
248 2003-11-30  Alexandre Duret-Lutz  <adl@gnu.org>
250         * automake.in (handle_source_transform): If it's present, use
251         libfoo_la.c instead of libfoo.c as the default source of
252         libfoo.la, and issue an -Wobsolete diagnostic.  Do not be
253         greedy in the suffix replacement regex.
254         * doc/automake.texi (Default _SOURCES): New node.
255         (Program Sources, Libtool Modules): Refer to it.
256         * tests/ltlibsrc.test: Update to check for old default source files.
258 2003-11-30  Gary V. Vaughan  <gary@gnu.org>
260         * automake.in (&handle_source_transform): Calculate a default file
261         for use in the absence of an appropriate _SOURCES declaration by
262         first stripping any suffix from the unxformed target name, and
263         appending `.c'.
264         * doc/automake.texi (Program Sources, Libtool Modules): Document this.
265         * tests/ltlibsrc.test: New file.
266         * tests/Makefile.am (TESTS): Add ltlibsrc.test.
268 2003-11-29  Alexandre Duret-Lutz  <adl@gnu.org>
270         * lib/Automake/Variable.pm (loc_and_value_as_list_recursive,
271         _value_as_list_recursive_worker): Merge into ...
272         (value_as_list_recursive): ... this function.  Pass options
273         as a hash argument, and use the `location' option to trigger
274         the behavior of loc_and_value_as_list_recursive.
275         (traverse_recursively, transform_variable_recursively): Take
276         options as a %options argument.
277         (_do_recursive_traversal): Perform expansion of inner variables
278         (as in `$(FILE).ext') on request.
279         * automake.in (handle_options, check_libobjs_sources)
280         (handle_source_transform, handle_LIBOBJS, handle_ltlibraries)
281         (handle_ltlibraries, handle_man_pages, handle_dist)
282         (handle_gettext, am_install_var): Adjust usage of
283         value_as_list_recursive.
284         (handle_texinfo_helper): Pass inner_expand to
285         value_as_list_recursive.
286         * tests/txinfo28.test: New file.
287         * tests/Makefile.am (TESTS): Add txinfo28.test.
288         Report from Ralf Corsepius.
290         * lib/Automake/Variable.pm (_do_recursive_traversal): Do not
291         update @_substfroms and @_substfroms for undefined variables.
292         * tests/substre2.test: New file.
293         * tests/Makefile.am (TESTS): Add substre2.test.
295         * lib/Automake/VarDef.pm (value): Rename as ...
296         (raw_value): ... this.
297         (value): New method, strip # and \\\n.
298         (dump): Use raw_value.
299         * lib/Automake/Variable.pm (output): Use raw_value.
300         (value_as_list): Simplify, now that backslash and comments
301         are already removed.
302         * tests/txinfo22.test: Make sure Automake isn't confused
303         by comments in variables.
305 2003-11-27  Alexandre Duret-Lutz  <adl@gnu.org>
307         * doc/automake.texi: More target vs. rule editing.  Back out some
308         of the previous changes.  It's OK to talk about targets as "entry
309         points", or as thing to build, but targets cannot be run: rules
310         are run.
312         * doc/automake.texi: s/target/rule/ where appropriate.  A target
313         is the destination of a target rule, not the rule itself.
314         Suggested by Bruno Haible.
316 2003-11-25  Alexandre Duret-Lutz  <adl@gnu.org>
318         * configure.ac, NEWS: Bump version to 1.7g.
320         * configure.ac, NEWS: Bump version to 1.7f.
322         * automake.in (prepend_srcdir): Parenthesize @inputs to remove
323         a maintainer-check warning.
324         * tests/subst2.test: Rewrite the $MAKE invocation to please
325         maintainer-check.
327         * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
328         versions.
330         * doc/automake.texi (Program variables): Mention per-target
331         _CPPFLAGS in the documentation of INCLUDES.
332         * automake.in (generate_makefile): Likewise in the INCLUDES diagnostic.
333         Report from Bob Friesenhahn.
335         * doc/automake.texi (Extending): Elaborate on overriding.
336         * NEWS: Likewise.
337         Suggested by Bruno Haible.
339 2003-11-24  Alexandre Duret-Lutz  <adl@gnu.org>
341         * lib/Automake/Variable.pm (output): Add $(am__empty) to variable
342         definitions that end with a line full of @substitutions@ that
343         would confuse HP-UX Make if it were blank.
344         (transform_variable_recursively): Make sure not to erase empty
345         variables.
346         * tests/Makefile.am (TESTS): Add subst2.test.
347         * tests/subst2.test: New file.
348         Report from Harlan Stenn.
350         * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Work around a
351         Texinfo 4.1 bug.
352         Report from Dalibor Topic.
354 2003-11-22  Alexandre Duret-Lutz  <adl@gnu.org>
356         Fix for PR automake/411:
357         * automake.in (rewrite_inputs_into_dependencies): Simplify, and rename
358         into ...
359         (prepend_srcdir): ... this.
360         (rewrite_inputs_into_dependencies): New function, extracted from ...
361         (handle_configure): ... here.  Adjust to use prepend_srcdir
362         or rewrite_inputs_into_dependencies where needed.  Especially,
363         using (the new) rewrite_inputs_into_dependencies to compute
364         Makefile dependencies will fix PR/411.
365         * lib/am/configure.am (DIST_COMMON): Remove %MAKEFILE-IN%, it's
366         already distributed by rewrite_inputs_into_dependencies.
367         * tests/Makefile.am (TESTS): Add output10.test, remove distcom.test.
368         * tests/colon3.test: Use set -e.  Don't allow any AUTOMAKE
369         invocation refer to zardoz.  Make sure two.in and three.in
370         appear as $(srcdir)/two.in and $(srcdir)/three.in dependencies.
371         * tests/distcom.test: Delete.  This is covered by tests/output9.test.
372         * tests/output10.test: New file, for PR/411.
374 2003-11-21  Alexandre Duret-Lutz  <adl@gnu.org>
376         * automake.in (append_exeext): Do not append $(EXEEXT) to
377         @substitutions@.
378         * tests/exeext4.test: New file.
379         * tests/Makefile.am (TESTS): Add exeext4.test.
381 2003-11-19  Alexandre Duret-Lutz  <adl@gnu.org>
383         * lib/am/configure.am (%MAKEFILE%): Remove %MAINTAINER-MODE%,
384         mistakenly added on 2001-03-05.
385         * tests/remake5.test: New file.
386         * tests/Makefile.am (TESTS): Add remake5.test.
387         Report from Ralf Corsepius.
389 2003-11-18  Alexandre Duret-Lutz  <adl@gnu.org>
391         * configure.ac, NEWS: Bump version to 1.7e.
393         * configure.ac, NEWS: Bump version to 1.7d.
395         * lib/config.sub, lib/config.guess, lib/texinfo.tex: New
396         upstream versions.
398 2003-11-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>  (tiny change)
399             Alexandre Duret-Lutz  <adl@gnu.org>
401         * lib/am/texinfos.am (install-info): Depend on
402         install-info-recursive or install-info-am even if no-installinfo.
403         * tests/txinfo27.test: New file.
404         * tests/Makefile.am (TESTS): Add txinfo26.test.
406 2003-11-18  Paolo Bonzini  <bonzini@gnu.org>
407             Alexandre Duret-Lutz  <adl@gnu.org>
409         * lib/ylwrap: Do not overwrite headers if they haven't changed.
410         Fix the include guard substitution.
411         * tests/yacc6.test: Augment to run ylwrap, and make sure it
412         does not needlessly update headers.
413         * tests/yacc8.test: Make sure headers are not needlessly updated
414         with ylwrap is not used.  Move `test -f foo.o' into the
415         Makefile as `test -f foo.$(OBJEXT)' for portability.
417 2003-11-17  Alexandre Duret-Lutz  <adl@gnu.org>
419         * automake.in (generate_makefile): Define SUBDIRS if it is
420         not defined and DIST_SUBDIRS is.
421         * tests/subpkg2.test: New file.
422         * tests/Makefile.am (TESTS): Add subpkg2.test.
423         Report from Gary V. Vaughan.
425         * tests/suffix11.test: Check for suffixes containing `-'.
426         * lib/Automake/Rule.pm ($_SUFFIX_RULE_PATTERN): Accept `-' in
427         suffixes.
429         * lib/Automake/Rule.pm (define): Suggest using target-local instead
430         of target-am, not target-am-local.
431         * tests/overrid.test: Check the diagnostic for clean-am.
432         Report from Bruno Haible.
434 2003-11-17  Jim Meyering  <jim@meyering.net>
436         * bootstrap: Require not only that `perl' have the executable
437         bit set, but also that it is not a directory.
439         * lib/am/configure.am: Mark %MAKEFILE% as `.PRECIOUS'.
441 2003-11-17  Alexandre Duret-Lutz  <adl@gnu.org>
443         * automake.in (ac_config_files_location): Declare as a hash.
444         (handle_configure): Rewrite the computation of AC_CONFIG_FILES
445         dependencies; make sure we don't use $(srcdir) or $(top_srcdir)
446         for inputs which are also outputs, and do not check inputs
447         relatively to the current directory.
448         (scan_autoconf_config_files): Take $where as argument, and
449         fill $ac_config_files_location.
450         * tests/output8.test, tests/output9.test: New files.
451         * tests/Makefile.am (TESTS): Add output8.test and output9.test.
452         Report from Bruno Haible.
454 2003-11-14  Alexandre Duret-Lutz  <adl@gnu.org>
456         * tests/aclibobj.test, tests/aclocal.test, tests/aclocal3.test,
457         tests/acoutbs.test, tests/acoutbs2.test, tests/acoutnoq.test,
458         tests/acoutpt.test, tests/acoutpt2.test, tests/acoutqnl.test,
459         tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
460         tests/all.test, tests/alpha.test, tests/amassign.test,
461         tests/ammissing.test, tests/ansi.test, tests/ansi10.test,
462         tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
463         tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
464         tests/ansi7.test, tests/ansi9.test, tests/ar.test,
465         tests/autohdr.test, tests/autohdr2.test, tests/auxdir.test,
466         tests/auxdir2.test, tests/backsl.test, tests/backsl2.test,
467         tests/badprog.test, tests/block.test, tests/canon2.test,
468         tests/canon3.test, tests/canon4.test, tests/canon5.test,
469         tests/ccnoco.test, tests/check.test, tests/check2.test,
470         tests/check3.test, tests/checkall.test, tests/clean.test,
471         tests/colneq2.test, tests/colon.test, tests/colon2.test,
472         tests/colon3.test, tests/colon4.test, tests/colon5.test,
473         tests/colon6.test, tests/colon7.test, tests/comment.test,
474         tests/comment2.test, tests/comment4.test, tests/comment6.test,
475         tests/comment7.test, tests/compile_f_c_cxx.test, tests/cond.test,
476         tests/cond10.test, tests/cond11.test, tests/cond13.test,
477         tests/cond14.test, tests/cond15.test, tests/cond16.test,
478         tests/cond17.test, tests/cond18.test, tests/cond19.test,
479         tests/cond21.test, tests/cond22.test, tests/cond25.test,
480         tests/cond26.test, tests/cond28.test, tests/cond3.test,
481         tests/cond4.test, tests/cond5.test, tests/cond6.test,
482         tests/cond7.test, tests/cond8.test, tests/cond9.test,
483         tests/condd.test, tests/condinc.test, tests/condlib.test,
484         tests/condman.test, tests/condman2.test, tests/conf2.test,
485         tests/confdeps.test, tests/confh.test, tests/confh4.test,
486         tests/config.test, tests/confincl.test, tests/conflnk.test,
487         tests/conflnk2.test, tests/confsub.test, tests/confvar.test,
488         tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
489         tests/cxx.test, tests/cxxansi.test, tests/cxxcpp.test,
490         tests/cxxlibobj.test, tests/cxxlink.test, tests/cxxnoc.test,
491         tests/cxxo.test, tests/cygwin32.test, tests/dash.test,
492         tests/defun.test, tests/defun2.test, tests/dejagnu.test,
493         tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
494         tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
495         tests/depcomp.test, tests/depcomp2.test, tests/depcomp4.test,
496         tests/depdist.test, tests/depend.test, tests/depend2.test,
497         tests/depend3.test, tests/depend4.test, tests/destdir.test,
498         tests/dirlist.test, tests/discover.test, tests/distcom.test,
499         tests/distcom2.test, tests/distdir.test, tests/distname.test,
500         tests/dollar.test, tests/double.test, tests/dup2.test,
501         tests/empty.test, tests/empty2.test, tests/empty3.test,
502         tests/empty4.test, tests/error.test, tests/exdir.test,
503         tests/exeext.test, tests/exeext3.test, tests/exsource.test,
504         tests/ext.test, tests/ext2.test, tests/extra.test,
505         tests/extra2.test, tests/extra3.test, tests/extra4.test,
506         tests/extra5.test, tests/extra6.test, tests/extra7.test,
507         tests/flibs.test, tests/fnoc.test, tests/fo.test,
508         tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
509         tests/fpinstall.test, tests/gcj.test, tests/gcj3.test,
510         tests/gcj4.test, tests/gnits2.test, tests/gnits3.test,
511         tests/header.test, tests/implicit.test, tests/include.test,
512         tests/include2.test, tests/info.test, tests/insh2.test,
513         tests/install2.test, tests/installdir.test, tests/instdat.test,
514         tests/instdat2.test, tests/instexec.test, tests/insthook.test,
515         tests/instman.test, tests/instman2.test, tests/instsh.test,
516         tests/instsh2.test, tests/interp.test, tests/interp2.test,
517         tests/java.test, tests/java2.test, tests/javaprim.test,
518         tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
519         tests/lex.test, tests/lex3.test, tests/lex4.test, tests/lex5.test,
520         tests/libobj11.test, tests/libobj2.test, tests/libobj4.test,
521         tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
522         tests/library.test, tests/libtool.test, tests/libtool2.test,
523         tests/libtool3.test, tests/libtool5.test, tests/link_c_cxx.test,
524         tests/link_dist.test, tests/link_f_only.test, tests/link_fc.test,
525         tests/link_fccxx.test, tests/link_fcxx.test, tests/lisp.test,
526         tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
527         tests/maintclean.test, tests/make.test, tests/makej.test,
528         tests/makevars.test, tests/man.test, tests/man2.test,
529         tests/mclean.test, tests/mdate.test, tests/mdate2.test,
530         tests/mdate3.test, tests/mdate4.test, tests/mkinst2.test,
531         tests/mkinstall.test, tests/nobase.test, tests/nodef.test,
532         tests/nodef2.test, tests/nodep.test, tests/nodepcomp.test,
533         tests/nodist.test, tests/nodist2.test, tests/nodist3.test,
534         tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
535         tests/nostdinc.test, tests/number.test, tests/obsolete.test,
536         tests/order.test, tests/outdir.test, tests/output.test,
537         tests/output2.test, tests/output3.test, tests/output4.test,
538         tests/parse.test, tests/phony.test, tests/pluseq.test,
539         tests/pluseq10.test, tests/pluseq2.test, tests/pluseq3.test,
540         tests/pluseq4.test, tests/pluseq6.test, tests/pluseq8.test,
541         tests/postproc.test, tests/ppf77.test, tests/pr2.test,
542         tests/pr204.test, tests/pr220.test, tests/pr224.test,
543         tests/pr229.test, tests/pr243.test, tests/pr266.test,
544         tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
545         tests/pr300-lib.test, tests/pr300-ltlib.test,
546         tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
547         tests/pr87.test, tests/pr9.test, tests/prefix.test,
548         tests/proginst.test, tests/python.test, tests/python3.test,
549         tests/python4.test, tests/python5.test, tests/python6.test,
550         tests/python7.test, tests/python8.test, tests/python9.test,
551         tests/recurs2.test, tests/remake.test, tests/remake2.test,
552         tests/remake3.test, tests/req.test, tests/reqd.test,
553         tests/rulepat.test, tests/scripts.test, tests/sinclude.test,
554         tests/space.test, tests/specflg3.test, tests/specflg6.test,
555         tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
556         tests/spell3.test, tests/spelling.test, tests/spy.test,
557         tests/stamph2.test, tests/stdlib2.test, tests/strip.test,
558         tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
559         tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
560         tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
561         tests/subdirbuiltsources.test, tests/subobj.test,
562         tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
563         tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
564         tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
565         tests/subpkg.test, tests/subst.test, tests/substref.test,
566         tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
567         tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
568         tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
569         tests/suffix9.test, tests/symlink2.test, tests/symlink3.test,
570         tests/tags.test, tests/tagsub.test, tests/target-cflags.test,
571         tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
572         tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
573         tests/txinfo18.test, tests/txinfo2.test, tests/txinfo23.test,
574         tests/txinfo24.test, tests/txinfo25.test, tests/txinfo26.test,
575         tests/txinfo3.test, tests/txinfo5.test, tests/txinfo6.test,
576         tests/txinfo7.test, tests/txinfo8.test, tests/txinfo9.test,
577         tests/unused.test, tests/vars.test, tests/vars3.test,
578         tests/vartar.test, tests/version.test, tests/version2.test,
579         tests/version4.test, tests/version6.test, tests/version7.test,
580         tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
581         tests/werror.test, tests/whoami.test, tests/yacc.test,
582         tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
583         tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
584         tests/yaccpp.test, tests/yaccvpath.test: Fix license to refer
585         to Automake, not autoconf.
587         Fix for PR automake/408:
588         * lib/am/texinfos.am (install-info-am): Strip any $(srcdir)/ prefix
589         from $file, as already done for dist-info.
590         * tests/Makefile.am (TESTS): Add txinfo26.test.
591         * tests/txinfo26.test: New file.
592         Report from Nicholas Wourms.
594 2003-11-13  Alexandre Duret-Lutz  <adl@gnu.org>
596         * m4/lispdir.m4 (AM_PATH_LISPDIR): If EMACS=t, empty it before
597         running AC_CHECK_PROGS(EMACS).
598         * lib/am/lisp.am (elc-stamp): Quote $(EMACS).
599         Report from Jens Petersen.
601         * tests/mkinst2.test: Rewrite.
603         * m4/mkdirp.m4: Do not require AM_AUX_DIR_EXPAND.
605 2003-11-12  Alexandre Duret-Lutz  <adl@gnu.org>
607         * automake.in (scan_autoconf_traces): Honor sinclude.
608         * tests/sinclude.test: Check for sinclude.
609         Report from Roberto Bagnara.
611 2003-11-11  Alexandre Duret-Lutz  <adl@gnu.org>
613         * Makefile.am: Do not rerun `make dist' after tagging, `make distcheck'
614         already build the tarballs.  Commit files right before tagging.
615         Check NEWS before running distcheck.
617         * m4/amversion.in (AM_AUTOMAKE_VERSION): Missing cosmetic space.
619         * configure.ac, NEWS: Bump version to 1.7c.
621         * configure.ac, NEWS: Bump version to 1.7b.
622         * Makefile.am (maintainer-check): Ignore comments while
623         scanning for rm without -f.
625         * Makefile.am (fetch): Get all files from savannah.  Do not
626         postprocess Struct.pm and XFiles.pm, since we now are the master
627         of these.
628         * lib/config.sub, lib/config.guess, lib/config-ml.in,
629         lib/texinfo.tex: New upstream versions.
631         * configure.ac: Check that autoconf is installed, that it works,
632         and that it is recent enough in three steps, not one.
634         * NEWS: Minor edits.
636         * lib/Makefile.am (dist_script_DATA): Move config-ml.in ...
637         (dist_pkgvdata_DATA): ... here.
639         * tests/spy.test: Document overlapping ::-rules incompatibilities,
640         and check only non-overlapping ::-rules.
642         * doc/automake.texi (Texinfo): Define MAKEINFO, MAKEINFOHTML,
643         MAKEINFOFLAGS, AM_MAKEINFOFLAGS, AM_MAKEINFOHTMLFLAGS, TEXI2DVI,
644         TEXI2PDF, DVIPS, and TEXINFO_TEX in a table.
645         (Uniform): Do not speak of missing HTML support, this is
646         confusing.
647         * lib/Automake/Variable.pm (_silent_variable_override): Add
648         AM_MAKEINFOHTMLFLAGS.
649         * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Use MAKEINFOHTML and
650         AM_MAKEINFOHTMLFLAGS instead of MAKEINFO and AM_MAKEINFOFLAGS.
651         * lib/am/texinfos.am (MAKEINFOHTML, AM_MAKEINFOHTMLFLAGS): Define.
652         * tests/txinfo21.test: Add a test with AM_MAKEINFOHTMLFLAGS.
654 2003-11-10  Alexandre Duret-Lutz  <adl@gnu.org>
656         * tests/spy.test: New file.
657         * tests/Makefile.am (TESTS): Add spy.test.
659         * automake.in (handle_configure): Distribute and define mkinstalldirs
660         only if it is already present in the package.
661         (scan_autoconf_files): Do not require mkinstalldirs.
662         (require_build_directory): Use $(mkdir_p), not $(mkinstalldirs).
663         * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
664         lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/mans.am,
665         lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
666         lib/am/texinfos.am: Use $(mkdir_p) instead of $(mkinstalldirs).
667         * m4/mkdirp.m4: New file.
668         * m4/Makefile.am (dist_m4data_DATA): Add mkdirp.m4.
669         * m4/init.m4 (AM_INIT_AUTOMAKE): Call AM_PROG_MKDIR_P.
670         * tests/Makefile.am (TESTS): Remove insh.test.
671         * tests/insh.test: Delete.
672         * tests/defs.in, tests/instsh.test: Do not install mkinstalldirs.
673         * tests/auxdir.test: Install mkinstalldirs.
674         * tests/distdir.test, tests/instman.test, tests/pr2.test: Use
675         $(mkdir_p), not $(mkinstalldirs).
676         * tests/empty.test: Run configure, do not substitute things by hand.
677         * doc/automake.texi (Optional) <AC_CONFIG_FILES>: Take install-sh
678         as an example, not mkinstalldirs.
679         (Auxiliary Programs) <mkinstalldirs>: Update.
681         * tests/defs.in: Handle required=bzip2.
683         * tests/defs.in: Export SHELL.
684         * tests/cond11.test: Missing quotes.
685         * tests/nogzip2.test: Require bzip2.
687 2003-11-09  Alexandre Duret-Lutz  <adl@gnu.org>
689         * NEWS: Add news entries from 1.6.x and 1.7.x.
691         * automake.texi (Optional) <AC_SUBST>: Grammar fixes.
693         * automake.in (check_gnu_standards): Install COPYING only if
694         none of COPYING, COPYING.LIB, or COPYING.LESSER exist.  Do not
695         overwrite the license otherwise.
696         * tests/Makefile.am (TESTS): Add license.test.
697         * tests/license.test: New file.
699         * lib/mkinstalldirs: Mention automake-patches@gnu.org and
700         bug-automake@gnu.org.
701         * lib/compile, lib/depcomp, lib/elisp-comp, lib/mdate-sh:
702         Likewise.  Also add support for --help and --version.
703         * lib/py-compile, lib/ylwrap: Likewise, and reindent.
705 2003-11-08  Alexandre Duret-Lutz  <adl@gnu.org>
707         * lib/am/tags.am (ETAGSFLAGS, CTAGSFLAGS): Remove.
708         * lib/am/dejagnu.am (RUNTESTFLAGS): Remove.
709         * lib/am/java.am (JAVACFLAGS): Remove.
710         * tests/dejagnu3.test: Check that the environment value
711         of RUNTESTFLAGS get passed down to runtest.
712         Suggested by Mark Mitchell.
714         * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
715         (?GENERIC?%EXT%.lo): Do not echo compile command manually, this
716         breaks `make -s'.  Instead, fold the compile command on two lines,
717         so that it take less space on the display.
718         Suggested by Karl Berry and William Fulton.
720         * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Rename as ...
721         (%DEST_INFO_PREFIX%%DEST_SUFFIX%): ... this, and honor ?INSRC?
722         to select $(srcdir) or `.' builds.
723         (INFO_DEPS): Define here.
724         * lib/am/texinfos.am (dist-info): Strip filename starting with
725         "$(srcdir)/".
726         * automake.in (output_texinfo_build_rules): Take a new argument
727         $insrc, and adjust substitutions in 'texibuild'.
728         (handle_texinfo_helper): Compute a regex of all user-cleaned
729         files, and use this to select whether to build .info files in `.'
730         or $(srcdir).  Give an account of the $(srcdir) vs `.' debacle.
731         Alway build the version.texi and stamp files in $(srcdir).  Do not
732         define INFO_DEPS.
733         * tests/Makefile.am (TESTS): Add txinfo23.test, txinfo24.test,
734         and txinfo25.test.
735         * tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test:
736         New files.
737         * tests/txinfo13.test, tests/txinfo16.test, tests/txinfo3.test,
738         tests/vtexi.test: Adjust to new rules.
740 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
742         * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.58.
743         * configure.ac: Require Autoconf 2.58a, and check for 2.58.
745 2003-10-27  Alexandre Duret-Lutz  <adl@gnu.org>
747         * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Erase %STAMP%.
748         * tests/Makefile.am (TESTS): Add autohdr3.test
749         * tests/autohdr3.test: New file.
751         * automake.in (handle_configure): Rename am__configure_deps
752         as am__aclocal_m4_deps and include $(ACLOCAL_M4_SOURCES) and
753         $configure_ac.  Define am__configure_deps as am__aclocal_m4_deps
754         + $(CONFIGURE_DEPENDENCIES) + $(ACLOCAL_M4).  Do not define
755         ACLOCAL_M4_DEPS while processing configure.am.
756         (make_paragraphs): Do not define %CONFIGURE_AC%, now unused.
757         (scan_aclocal_m4): Do not distribute aclocal.m4, this
758         is done from lib/am/configure.am.
759         * lib/am/configure.am (%MAKEFILE-IN%, DIST_COMMON,
760         $(top_srcdir)/configure, $(ACLOCAL_M4)): Simplify using
761         $(am__configure_deps) or $(am__aclocal_m4_deps).
762         * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Likewise.
764 2003-10-26  Alexandre Duret-Lutz  <adl@gnu.org>
766         * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Depend on
767         $(am__configure_deps).
769         * automake.in (handle_configure): Distribute all AC_CONFIG_HEADERS
770         sources, and without using require_file.  Define %CONFIG_H_DEPS%
771         and %FIRST_CONFIG_HIN% while processing remake-hdr.am.
772         * lib/am/remake-hdr.am (%STAMP%): Use %CONFIG_H_DEPS% instead
773         of (srcdir)/%CONFIG_HIN%.  Output the $(srcdir)/%CONFIG_HIN%
774         rule only for the first header (i.e., if %FIRST_CONFIG_HIN%).
775         * tests/autohdr4.test: New file.
776         * tests/Makefile.am (TESTS): Add autohdr4.test.
777         * tests/config.test: Do not grep, run things to see if they work.
779 2003-10-25  Alexandre Duret-Lutz  <adl@gnu.org>
781         * tests/output7.test: Populate sub/ with a dummy file, so that it
782         is not empty.  This fixes a failure reported by Patrick Welche.
783         * lib/am/distdir.am: Add note about tar's `-o' option and empty
784         directories.
786 2003-10-24  Didier Cassirame  <faded@free.fr>  (tiny change)
788         * lib/ylwrap: Typo in regex.
790 2003-10-23  Paul Eggert  <eggert@twinsun.com>
792         * lib/Automake/XFile.pm: Don't assume -j is solo.
793         Issue a more-informative diagnostic.
794         Problems reported by Eric Sunshine.
796 2003-10-21  Alexandre Duret-Lutz  <adl@gnu.org>
798         * m4/lispdir.m4 (AM_PATH_LISPDIR): Always check for Emacs.
799         Always define lispdir.
800         * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Check
801         $(EMACS) to decide whether _LISP files must be installed,
802         not $(lispdir).
803         * doc/automake.texi (Emacs Lisp): Mention the two ways to install
804         non byte-compiled Emacs lisp files.
805         * tests/lisp4.test, tests/lisp5.test: Check "make install"
806         when EMACS=no.
807         Suggested by Simon Josefsson.
809         * NEWS: Clarify the entry about multiple conditional definitions
810         of _PROGRAMS, _LDADD, and _LIBADD.
811         Report from Simon Josefsson.
813         * lib/am/install.am (install-strip): Override install_sh_PROGRAM
814         too.
815         Report from Elmar Hoffmann.
817 2003-10-07  Alexandre Duret-Lutz  <adl@gnu.org>
819         * aclocal.in ("MAIN", usage, parse_arguments): Move near
820         the end, so "MAIN" can use prototypes.
821         (scan_configure): Move later too, for the sake of prototypes.
822         (scan_configure_dep): Fix setting of $scanned_configure_dep.
823         (trace_used_macros): Do not take any argument.
825 2003-10-06  Alexandre Duret-Lutz  <adl@gnu.org>
827         * tests/stdlib2.test: Check AM_LDFLAGS alone.
829         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
830         versions.
832         * automake.in (handle_ltlibraries): Also grep AM_LDFLAGS for `-module'.
833         * tests/stdlib2.test: New file.
834         * tests/Makefile.am (TESTS): Add stdlib2.test.
835         Report from Kevin P. Fleming.
837 2003-10-03  Richard Dawe  <rich@phekda.freeserve.co.uk>  (tiny change)
839         * tests/defs.in: For required=runtest, check that we are using
840         a DejaGnu that supports specifying the program on the command-line.
842 2003-10-03  Alexandre Duret-Lutz  <adl@gnu.org>
844         For Debian Bug #213524:
845         * lib/am/texinfos.am (install-info-am, uninstall-info-am): Merge
846         stderr and stdout, and grep only the first line while testing
847         install-info --version's output.  This revert part of the change
848         from 2001-05-18.
850 2003-10-01  Akim Demaille  <akim@epita.fr>
852         * m4/amversion.in: Add (C) to the Copyright notice.
854 2003-10-01  Paul Eggert  <eggert@twinsun.com>
856         * lib/Automake/XFile.pm: Use Errno.
857         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
858         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
860 2003-09-30  Tom Tromey  <tromey@redhat.com>
862         * lib/Automake/Options.pm (_process_option_list): Recognize
863         no-dist.
864         * NEWS: Update.
865         * doc/automake.texi (Options): Document no-dist.
866         * automake.in (check_cygnus): Set no-dist option.
867         (handle_dist): Recognize no-dist.
868         * tests/nodist3.test: New file.
869         * tests/Makefile.am (TESTS): Added nodist3.test.
871 2003-09-29  Alexandre Duret-Lutz  <adl@gnu.org>
873         * automake.in (handle_clean): Take $makefile as argument, and
874         define %MAKEFILE% while processing clean.am.
875         (generate_makefile): Pass $makefile to handle_clean.
876         * lib/am/clean.am (distclean, maintainer-clean): Erase %MAKEFILE%,
877         not Makefile.
878         * tests/gnumake.test: New file.
879         * tests/Makefile.am (TESTS): Add gnumake.test.
880         Report from Braden N. McDaniel.
882 2003-09-26  Alexandre Duret-Lutz  <adl@gnu.org>
884         * doc/automake.texi (Scripts): Update the example about automake.
885         Mention `dist_' for distributed scripts.
887         * lib/mkinstalldirs: Clean up after NextStep and OpenStep mkdir.
888         Suggested by Eric Sunshine.
890 2003-09-25  Alexandre Duret-Lutz  <adl@gnu.org>
892         * README: More mailing lists.
894         * NEWS: Mention the switch to GNU FDL for the manual.
896 2003-09-24  Alexandre Duret-Lutz  <adl@gnu.org>
898         * lib/install-sh (src, dst): Protect names starting with `-',
899         as in mkinstalldirs.
901         * configure.in: Rename as ...
902         * configure.ac: ... this.
903         * README: s/configure.in/configure.ac/.
905         * doc/fdl.texi: New file.
906         * doc/Makefile.am (automake_TEXINFOS): New variable.
907         * doc/automake.texi (Copying This Manual): New appendix, include
908         fdl.texi.
909         (Macro and Variable Index, General Index): Move as subsections of ...
910         (Indices): This new appendix.
912         * doc/automake.texi: Refer to configure.ac instead of configure.in.
914         * automake.texi: Move ...
915         * doc/automake.texi: ... here.
916         * doc/Makefile.am: New file.
917         * configure.in: Output doc/Makefile.
918         * Makefile.am (SUBDIRS): Add doc.
919         (ETAGS_ARGS, TAGS_DEPENDENCIES): Move to doc/Makefile.am.
921 2003-09-23  Alexandre Duret-Lutz  <adl@gnu.org>
923         * aclocal.in (write_aclocal): Consider files with relative
924         paths as local to the project, i.e., subject to m4_include.
925         * tests/subpkg.test (ACLOCAL_AMFLAGS): Make sure m4_include
926         is also used for .m4 files in the outer project.
928         Support for multiple inputs in AC_CONFIG_FILES.
929         Requested long ago by Harlan Stenn.
930         * automake.in (handle_dist): Remove unused argument $makefile.
931         (handle_subdirs): Expect SUBDIRS elements in $relative_dir,
932         not $am_relative_dir.
933         (rewrite_inputs_into_dependencies): Allow $add_srcdir to
934         be a filename that must always be prefixed by $(srcdir) or
935         $(top_srcdir).
936         (handle_configure, generate_makefile): Revamp to make the
937         Makefile.am, Makefile.in, Makefile more independent.
938         (locate_am): New function.
939         (scan_configure_dep, parse_arguments): Use locate_am.
940         (MAIN): Adjust call to generate_makefile.
941         * lib/am/configure.am: Remove %MAKEFILE-IN% from the dependencies
942         of %MAKEFILE%.  %MAKEFILE-IN% is already in %MAKEFILE-DEPS%.
943         * tests/output6.test, tests/output7.test: New files.
944         * tests/Makefile.am (TESTS): Add them.
945         * automake.texi (Requirements) <AC_CONFIG_FILES>: Document how
946         multiple inputs are scanned.
948 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
950         * Makefile.am (FETCHFILES, fetch): Do not fetch lib/Automake/XFile.pm
951         and lib/Automake/Struct.pm from Autoconf.
952         * lib/Automake/XFile.pm: Update comment, Automake is now
953         the master for this file.  Cosmetic changes.
955 2003-09-09  Akim Demaille  <akim@epita.fr>
957         * lib/Automake/FileUtils.pm (&update_file): s/cannot not/cannot/g.
958         Reported by Gary Vaughan.
959         (&find_file): Walk the @include in forward order.
961 2003-09-09  Akim Demaille  <akim@epita.fr>
963         * lib/Automake/FileUtils.pm (&update_file): Be sure not to leave
964         trailing files.
966 2003-09-07  Alexandre Duret-Lutz  <adl@gnu.org>
968         Changes to m4_included files should also cause aclocal.m4 to change.
969         * aclocal.in (m4_include_rx): New variable.
970         (scan_configure_dep): New function.
971         (scan_configure, add_file): Simplify using scan_configure_dep.
972         * tests/Makefile.am (TESTS): Add acloca13.test.
973         * tests/aclocal13.test: New file.
975         * tests/instsh.test: Do not reset $ACLOCAL and $AUTOMAKE now
976         that we have fake version in the $PATH.
978         * aclocal.in (add_file): Remove useless filling of $output, probably
979         left a after CVS conflict.  This code is now in write_aclocal.
981         * aclocal.in (configure_ac): Do not call require_configure_ac
982         before parsing the options.
983         * automake.in (configure_ac): Likewise.
984         * lib/Automake/Variable.pm (configure_ac): Do not require configure.ac,
985         find it.
986         * lib/Automake/Configure_ac.pm (require_configure_ac):
987         find_configure_ac never return an undefined value, so test
988         the file's existence instead.
989         * tests/Makefile.am (TESTS): Add help.test.
990         * tests/help.test: New file.
992 2003-09-06  Alexandre Duret-Lutz  <adl@gnu.org>
994         * lib/Automake/XFile.pm: Update to use ChannelDefs.
995         (close): Call Automake::FileUtils::handle_exec_errors on errors.
996         * automake.in (scan_autoconf_files): Exit with $?=63 on version
997         mismatch.
998         (scan_autoconf_traces): Likewise.  Close the autoconf pipe to
999         capture abnormal exits.
1000         * aclocal.in ($exit_status): Remove, and use Channels.pm's $exit_code
1001         instead.
1002         (trace_used_macros): Close the autom4te pipe to capture abnormal exits.
1003         * lib/missing: When a tool has run and exited with $?=63, emulate
1004         it.  Adjust the diagnostic and pretend the tool is tool old in this
1005         case.  Use an emacs-updated "scriptversion" variable.
1006         * configure.in: Output tests/aclocal-${APIVERSION} and
1007         tests/automake-${APIVERSION}.
1008         * tests/aclocal.in, tests/automake.in,
1009         tests/missing.test, tests/missing2.test: New files.
1010         * tests/defs.in (AUTOMAKE, ACLOCAL, PATH): Define
1011         to use tests/aclocal-$APIVERSION and tests/automake-$APIVERSION.
1012         * tests/dup3.test: Remove. alocal9.test, acloca10.test, and others are
1013         already testing for this.
1014         * tests/depacl2.test, tests/dup2.test, tests/order.test: Fix
1015         configure.in so that aclocal works.
1016         * tests/defun.test: Quote the AC_DEFUN body.
1017         * tests/Makefile.am (TESTS): Add missing.test and missing2.test,
1018         and remove dup3.test.
1019         (check_SCRIPTS): Add aclocal and automake.
1021         * tests/unused.test: Quote AC_DEFUN arguments.
1023 2003-09-05  Paul Eggert  <eggert@twinsun.com>
1025         * NEWS, aclocal.in, automake.in, automake.texi, lib/ansi2knr.c,
1026         lib/depcomp, lib/missing, lib/py-compile,
1027         lib/Automake/Channels.pm, lib/Automake/Rule.pm,
1028         lib/Automake/Variable.pm, lib/Automake/tests/Condition.pl,
1029         lib/am/dejagnu.am, lib/am/depend.am, lib/am/lisp.am,
1030         lib/am/remake-hdr.am, lib/am/texi-vers.am, m4/obsolete.m4,
1031         m4/python.m4, tests/backsl4.test, tests/defs.in,
1032         tests/dejagnu7.test, tests/depacl2.test, tests/dirlist.test,
1033         tests/error.test, tests/getopt.test, tests/gnuwarn.test,
1034         tests/include2.test, tests/libobj10.test, tests/libtool5.test,
1035         tests/libtool6.test, tests/lisp3.test, tests/phony.test,
1036         tests/pr220.test, tests/subcond2.test, tests/subcond3.test,
1037         tests/vtexi.test:
1038         Spelling and minor grammar fixes.
1040 2003-09-01  Alexandre Duret-Lutz  <adl@gnu.org>
1042         * lib/config.sub, lib/config.guess, lib/texinfo.tex,
1043         lib/config-ml.in, lib/symlink-tree: New upstream versions.
1045 2003-08-31  Thien-Thi Nguyen  <ttn@gnu.org>  (tiny change)
1047         * tests/yacc7.test: Require bison.
1049 2003-08-31  Alexandre Duret-Lutz  <adl@gnu.org>
1051         * aclocal.in (scan_file): Warn about underquoted AC_DEFUN.
1052         ($underquoted_manual_once): New variable.
1053         * automake.texi (Extending aclocal): Document this.
1055 2003-08-29  Alexandre Duret-Lutz  <adl@gnu.org>
1057         * aclocal.in (@file_order): New variable, to make sure
1058         files are output in the opposite order of the -I arguments.
1059         (scan_file): Fill it.
1060         (trace_used_macros, write_aclocal): Use it.
1061         (scan_m4_files): Reverse the directory contents, so that
1062         macros from the lexicographically greatest files are preferred.
1063         * tests/aclocal9.test, tests/acloca10.test, tests/acloca11.test:
1064         New files.
1065         * tests/Makefile.am (TESTS): Add them.
1067 2003-08-24  Alexandre Duret-Lutz  <adl@gnu.org>
1069         For Debian Bug #206299:
1070         * automake.in ($configure_deps_greatest_timestamp,
1071         $output_deps_greatest_timestamp): New variables.
1072         (initialize_per_input): Reset $output_deps_greatest_timestamp.
1073         (scan_autoconf_traces, scan_autoconf_files, read_am_file):
1074         Update $configure_deps_greatest_timestamp and
1075         $output_deps_greatest_timestamp
1076         (generate_makefile): Rewrite the logic to decide whether
1077         to rewrite the output.  Move the leading dup_channel_setup
1078         and trailing drop_channel_setup to MAIN, so that
1079         drop_channel_setup is executed for all exit paths.
1080         * tests/aclocal7.test: Update to check for $AUTOMAKE --no-force
1081         * tests/distcom6.test: New file.  Report from Scott James Remnant.
1082         * tests/Makefile.am (TESTS): Add distcom6.test.
1084         * configure.in: Require Autoconf 2.57b to be sure
1085         aclocal can use autom4te --language Autoconf-without-aclocal-m4.
1086         * m4/init.m4: Likewise.  Move the AC_PREREQ and m4_pattern_allow
1087         calls inside the AM_INIT_AUTOMAKE macro.
1088         * m4/auxdir.m4, m4/cond.m4, m4/lex.m4, m4/regex.m4: Move
1089         AC_PREREQ calls inside the macros.
1090         * m4/header.m4: Remove AC_PREREQ.
1092         * automake.in (file_contents_internal): Do not add newlines before
1093         empty actions.
1095         * aclocal.in (write_aclocal): Take an output file and list of
1096         used macros in arguments and make up the file contents here.
1097         (trace_used_macros): New function.
1098         (add_file): Do not update $output.
1099         ($output): Delete.
1100         (MAIN): Call trace_used_macros.  Then rewrite aclocal.m4 only
1101         for these traced macros.  This should shorten aclocal.m4 by
1102         stripping out unused macros.
1103         * automake.texi (Invoking aclocal): Document ${AUTOM4TE}.
1104         * tests/aclibobj.test: Make sure configure.in exists by the time
1105         aclocal runs.
1106         * tests/aclocal8.test: New file.
1107         * tests/Makefile.am (TESTS): Add aclocal8.test.
1108         Suggested by Bruno Haible and Akim Demaille.
1110 2003-08-21  Akim Demaille  <akim@epita.fr>
1112         * lib/Automake/Configure_ac.pm (&find_configure_ac)
1113         (&require_configure_ac): Accept an optional directory argument.
1114         ($configure_ac): Remove.
1115         * aclocal.in, automake.in ($configure_ac): New.
1116         * lib/Automake/Variable.pm: Don't use $configure_ac, just
1117         configure.ac.
1119 2003-08-20  Akim Demaille  <akim@epita.fr>
1121         * lib/Automake/FileUtils.pm: More perldoc.
1122         (&up_to_date_p): New.
1124 2003-08-17  Alexandre Duret-Lutz  <adl@gnu.org>
1126         Fix for PR automake/398:
1127         * m4/python.m4: Do not call AC_PATH_PROGS if $PYTHON is already
1128         set.  Display `none' instead of `:' and $PYTHON is set to `:'
1129         when no suitable interpreter is found.  Honor ACTION-IF-FOUND and
1130         ACTION-IF-NOT-FOUND.
1131         * automake.texi (Python): Document ACTION-IF-FOUND and
1132         ACTION-IF-NOT-FOUND.
1133         * tests/python4.test, tests/python5.test, tests/python6.test,
1134         tests/python7.test, tests/python8.test, tests/python9.test: New
1135         files.
1136         * tests/Makefile.am (TESTS): Add them.
1137         Report from Per Cederqvist.
1139 2003-08-13  Alexandre Duret-Lutz  <adl@gnu.org>
1141         Fix for PR automake/399:
1142         * m4/python.m4: Use AC_PATH_PROGS, not AC_PATH_PROG.
1143         Report from Per Cederqvist.
1145 2003-08-12  Raja R Harinath  <harinath@acm.org>
1147         * lib/Automake/Condition.pm (strip): Replace loop with 'grep'.
1148         (not): Replace loop with 'map'.
1149         * lib/Automake/DisjConditions.pm (sub_conditions): Likewise.
1150         * lib/Automake/Item.pm (not_alwasy_defined_in_cond):
1151         Don't 'simplify' result of 'invert', since it's already in
1152         canonical form.
1153         * lib/Automake/Rule.pm (define): Replace loop with
1154         'not_always_defined_in_cond'.
1156         * lib/Automake/DisjConditions.pm (ambiguous_p): Typo in comment.
1157         * lib/Automake/Rule.pm (accept_extensions, msg_cond_rule): Likewise.
1158         (define): Reword comment slightly.
1159         * Variable.pm (_var_order, msg_cond_var): Typo in comment.
1160         * tests/cond20.test (var2): Use foo.c instead of foo.cc to avoid
1161         spurious automake error exit.
1163 2003-08-12  Alexandre Duret-Lutz  <adl@gnu.org>
1165         * lib/Automake/Item.pm, lib/Automake/ItemDef.pm: New files.
1166         * lib/Automake/Rule.pm, lib/Automake/RuleDef.pm: New files.
1167         * lib/Automake/Makefile.am (dist_perllib_DATA): Add them.
1168         * lib/Automake/VarDef.pm: Make this a subclass of Automake::ItemDef.
1169         (new): Adjust to call Automake::ItemDef::new.
1170         (comment, location, owner): Delete.  Now inherited from ItemDef.
1171         * lib/Automake/Variable.pm: Make this a subclass of Automake::Item.
1172         (_new): Adjust to call Automake::Item::new.
1173         (name, def, rdef, _set, conditions, not_always_defined_in_cond):
1174         Delete.  How inherited from Item, where `_set' is called `set'.
1175         * automake.in (SUFFIX_RULE_PATTERN): Delete. Now in Automake::Rule.
1176         (suffix_rules_default): Delete.  Now
1177         Automake::Rule::_suffix_rules_default
1178         (suffixes): Delete.  Now Automake::Rule::suffixes.
1179         (TARGET_AUTOMAKE, TARGET_USER): Delete.  Now
1180         Automake::RuleDef::RULE_AUTOMAKE and Automake::RuleDef::RULE_USER.
1181         (%targets, %target_source, %target_name, %target_owner): Delete,
1182         replaced by the Rule and RuleDef classes.
1183         (dependencies, depend, actions): Delete.  Now in Automake::Rule.
1184         (suffix_rules, register_suffix_rule): Likewise.
1185         (KNOWN_EXTENSIONS_PATTERN, accept_extensions): Likewise.
1186         (known_extensions_list): Delete.  Now
1187         Automake::Rule::_known_extensions_list.
1188         (target_conditions): Delete.  Now inherited by Automake::Rule
1189         from Automake::Item::conditions.
1190         (rule_define): Delete.  Now Automake::Rule::define.  Adjust all
1191         callers.
1192         (target_defined): Delete.  Now Automake::Rule::rule.  Adjust all
1193         callers.
1194         (initialize_per_input): Adjust to call Automake::Rule::reset.
1195         (err_target, err_cond_target, msg_cond_target, msg_target,
1196         reject_target): Delete.  Now defined in Automake::Rule as
1197         err_rule, err_cond_rule, msg_cond_rule, msg_rule and reject_target.
1198         Adjust all callers.
1199         (handle_languages): Call suffix_rules_count.
1200         * tests/location.test: Adjust expected diagnostics.  We now display
1201         $(EXEEXT) accurately.
1203 2003-08-10  Alexandre Duret-Lutz  <adl@gnu.org>
1205         Revert the fix for PR automake/291:
1206         * lib/Automake/Variable.pm (define): Do not warn about variables
1207         starting with `_' which are an issue on NEWS-OS 4.2R.  According
1208         to Paul Eggert, NEWS-OS 4.2R is ten years old, the latest version
1209         was released on 1996 and is not in wide use.  On the other hand,
1210         variables starting with `_' are mandatory in several situations,
1211         so diagnosing them is more annoying than useful.
1212         * tests/canon5.test: Do not use -Wno-portability.
1213         * tests/vars2.test: Delete.
1214         * tests/Makefile.am (TESTS): Remove vars2.test.
1215         Suggested by Jim Meyering.
1217 2003-08-09  Raja R Harinath  <harinath@acm.org>
1219         * lib/Automake/DisjConditions.pm (ambiguous_p): Simplify slightly.
1220         * lib/Automake/tests/DisjConditions.pl (test_ambig): Test
1221         Automake::Disjunctions::ambiguous_p.
1223 2003-08-07  Alexandre Duret-Lutz  <adl@gnu.org>
1225         * lib/Automake/Variable.pm (condition_ambiguous_p): Move ...
1226         * lib/Automake/DisjConditions.pm (ambiguous_p): ... here.
1227         * automake.in (rule_define): Adjust usage.
1228         * lib/Automake/Variable.pm (_check_ambiguous_condition): Likewise.
1230         * lib/Automake/Options.pm: New file.
1231         * lib/Automake/Makefile.am (dist_perllib_DATA): Add Options.pm.
1232         * automake.in (FOREIGN, GNU, GNITS, $default_strictness)
1233         ($default_strictness_name, $strictness, $strictness_name)
1234         (%options, %global_options, process_option_list)
1235         (set_strictness): Remove, now in Options.pm.
1236         (initialize_per_input): Call Automake::Options::reset.
1237         (handle_options, get_object_extension, get_object_extension)
1238         (handle_languages, handle_single_transform_list, handle_compile)
1239         (handle_texinfo_helper, handle_man_pages, handle_dist)
1240         (handle_configure, do_check_merge_target)
1241         (handle_factored_dependencies, handle_tests)
1242         (handle_minor_options, scan_autoconf_traces, check_cygnus)
1243         (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define)
1244         (make_paragraphs, am_install_var, parse_arguments): Adjust
1245         to set and read options via the new interface.
1247 2003-08-07  Raja R Harinath  <harinath@acm.org>
1249         * Makefile.am (maintainer-check): Update perllibdir.
1250         * lib/Automake/Makefile.am (Config.pm): Depend on Makefile too.
1251         (EXTRA_DIST): Add Config.in.
1252         * Makefile.in, lib/Automake/Makefile.in: Regenerate.
1253         * tests/defs.in (AUTOMAKE, ACLOCAL): Use absolute paths in
1254         $perllibdir.
1256 2003-08-06  Raja R Harinath  <harinath@acm.org>
1258         * configure.in (AUTOMAKE, ACLOCAL): Search the 'lib' directory
1259         from the builddir too, to pick up Automake::Config.
1260         * tests/defs.in (AUTOMAKE, ACLOCAL): Likewise.
1261         * configure: Regenerate.
1262         * automake.in (BEGIN): Handle multiple directories in $perllibdir.
1263         * aclocal.in (BEGIN): Likewise.
1265 2003-08-07  Alexandre Duret-Lutz  <adl@gnu.org>
1267         * tests/ltcond.test: Thinko.
1269 2003-08-06  Alexandre Duret-Lutz  <adl@gnu.org>
1271         * lib/Automake/Config.in: New file.
1272         * lib/Automake/Makefile.am (nodist_perllib_DATA, do_subst,
1273         CLEANFILES): New variables.
1274         (Config.pm): New rule.
1275         * Makefile.am (maintainer-check): Adjust expected differences
1276         between automake.in and automake.
1277         * aclocal.in, automake.in: Use Automake::Config.
1279 2003-08-05  Alexandre Duret-Lutz  <adl@gnu.org>
1281         * tests/ltconv.test: s/rm/rm -f/ to placate maintainer-check.
1283         * automake.in (handle_texinfo_helper): Use the user definition
1284         of TEXINFO_TEX before checking for cygnus or AC_CONFIG_AUX_DIR.
1285         * tests/txinfo22.test: New file.
1286         * tests/Makefile.am (TESTS): Add txinfo22.test.
1287         Report from Tom Tromey.
1289 2003-08-03  Raja R Harinath  <harinath@acm.org>
1291         * lib/Automake/Variable.pm (@EXPORT): Remove
1292         traverse_variable_recursively and
1293         require_variables_for_variable.
1294         (require_variables_for_variable, traverse_variable_recursively)
1295         (_traverse_variable_recursively_worker): Convert to
1296         Automake::Variable methods, remove support for being
1297         invoked with variable names, and rename to ...
1298         (requires_variables, traverse_recursively)
1299         (_do_recursive_traversal): ... these.
1300         (_value_as_list_recursive_worker, transform_variable_recursively):
1301         Update to reflect changes.
1302         * automake.in (handle_LIBOBJS, handle_ALLOCA)
1303         (handle_libraries, handle_ltlibraries, am_primary_prefixes):
1304         Likewise.
1305         (define_objects_from_sources): Fix typo in comment.
1307 2003-08-02  Raja R Harinath  <harinath@acm.org>
1309         * automake.in (handle_source_transform): Replace 'grep' with 'map'.
1310         (register_language): Replace 'grep' with 'foreach' modifier.
1312 2003-08-01  Raja R Harinath  <harinath@acm.org>
1314         * lib/Automake/Variables.pm (variables): Return a list of
1315         Automake::Variable instances, not a list of strings.
1316         (dump): Remove support for being invoked with a string.
1317         (variables_dump): Adapt to these changes.
1318         * automake.in (check_typos): Likewise.
1319         (am_primary_prefixes): Likewise.
1321 2003-07-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
1323         * lib/depcomp (aix): Support AIX Compiler version 6.
1325 2003-07-31  Alexandre Duret-Lutz  <adl@gnu.org>
1327         * automake.texi (A Shared Library): Rewrite and split into
1328         subsections.  Valuable comments from Norman Gray, Harlan Stenn,
1329         Tim Van Holder, and Guido Draheim.
1330         * tests/ltcond.test, tests/ltcond2.test, tests/ltconv.test: New files.
1331         * tests/Makefile.am (TESTS): Add them.
1333 2003-07-30  Alexandre Duret-Lutz  <adl@gnu.org>
1335         * automake.in (handle_single_transform_list): Complain about
1336         foo.$(OBJEXT) being created both with libtool and without, not
1337         about foo.lo.
1338         Report from Tim Van Holder.
1340 2003-07-29  Alexandre Duret-Lutz  <adl@gnu.org>
1342         * Makefile.am (FETCHFILES, fetch): Add config-ml.in and
1343         symlink-tree.
1344         * lib/config.sub, lib/config-ml.in, lib/texinfo.tex: New
1345         upstream versions.
1347 2003-07-28  Alexandre Duret-Lutz  <adl@gnu.org>
1349         * automake.in (handle_configure): Cosmetic change to avoid
1350         a maintainer-check complaint.
1352 2003-07-27  Alexandre Duret-Lutz  <adl@gnu.org>
1354         * lib/Automake/Variable.pm (@EXPORT): Remove variable_dump.
1355         (variable_dump): Replace by ...
1356         (dump): ... this method.
1357         (rdef, _check_ambiguous_condition): Adjust to use ->dump.
1358         (define, variables_dump): Adjust to use Automake::Variable::dump
1360         * lib/am/compile.am (mostlyclean-compile): Do not erase core dumps.
1361         * automake.texi (Built sources example): Adjust example.
1363 2003-07-26  Alexandre Duret-Lutz  <adl@gnu.org>
1365         * automake.in (get_object_extension, handle_languages)
1366         (handle_single_transform_list, handle_compile, handle_compile)
1367         (handle_texinfo_helper, handle_texinfo_helper, handle_man_pages)
1368         (handle_tests, handle_minor_options, check_gnu_standards)
1369         (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define):
1370         Simplify "if (defined $options{'X'})" into "if ($options{'X'})".
1372         Complete changes from 2003-07-08.
1373         * automake.in ($cmdline_use_dependencies, $use_dependencies): Remove,
1374         replaced by $options{'no-dependencies'}.
1375         ($global_options): Remove.
1376         (%global_options): New variable.
1377         (initialize_per_input): Empty %options.
1378         (process_option_list): Take a location and %options ref argument,
1379         process no-dependencies as other options.
1380         (handle_options): Do not reparse the global options, just initialize
1381         %options from %global_options and fill it with local options.
1382         (handle_languages, handle_single_transform_list)
1383         (handle_configure, check_cygnus): Adjust usage of
1384         $options{'no-dependencies'}.
1385         (make_paragraphs): Adjust usage of $options{'cygnus'}.
1386         (parse_arguments): Set cygnus and no-dependencies in %global_options.
1387         (scan_autoconf_traces) <AM_INIT_AUTOMAKE>: Call process_option_list
1388         to fill %global_options.
1390 2003-07-25  Alexandre Duret-Lutz  <adl@gnu.org>
1392         * tests/remake4.test: Use `$MAKE distdir' instead of `$MAKE dist' to
1393         avoid the use of tar.
1395 2003-07-24  Alexandre Duret-Lutz  <adl@gnu.org>
1397         * tests/gnuwarn2.test: Typo.
1399         * tests/insthook.test: Use $MAKE, not make.
1401         Fix missing rebuilds during `make dist' with BSD make.
1402         * automake.in (generate_makefile): Do not push Makefile.in, and
1403         Makefile.am into DIST_COMMON here.
1404         * lib/am/configure.am (DIST_COMMON): Do it here, and use
1405         %MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON
1406         actually match the targets.   Prefix `configure' with `$(srcdir)/'
1407         to match the target.
1408         * tests/remake4.test: New file.
1409         * tests/Makefile.am (TESTS): Add remake4.test.
1410         Report from Akim Demaille.
1412 2003-07-23  Alexandre Duret-Lutz  <adl@gnu.org>
1414         * automake.in (handle_multilib): Register all-multi.
1415         (file_contents_internal): Insert \n when concatenating actions
1416         from "factored" rules.
1417         * lib/config-ml.in: New file, from GCC, including a patch
1418         from Ralf Corsepius (see GCC's PR 11526).
1419         * lib/symlink-tree.in: New file, from GCC.
1420         * lib/Makefile.am (dist_script_DATA): Add config-ml.in and
1421         symlink-tree.
1422         * lib/am/clean.am (distclean-generic): Do not delete Makefile here...
1423         (distclean, maintainer-clean): ... do it here.
1424         * lib/am/depend.am (distclean-depend): Likewise, replace by
1425         (distclean, maintainer-clean): ... these.
1426         * lib/am/multilib.am (all-recursive, install-recursive,
1427         mostlyclean-recursive, clean-recursive, distclean-recursive,
1428         maintainer-clean-recursive): Remove these rules.
1429         (mostlyclean-am, clean-am, distclean-am, maintainer-clean-am): Replace
1430         by ...
1431         (mostlyclean, clean, distclean, maintainer-clean): ... these.
1432         (all-am): Remove, done in handle_multilib.
1433         (install-am): Replace by ...
1434         (install-exec-am): ... this.
1435         * tests/Makefile.am (TESTS): Add multlib.test.
1436         * tests/multlib.test: New file, based on a test case by
1437         Ralf Corsepius
1439 2003-07-23  Tom Tromey  <tromey@redhat.com>
1441         * lib/missing (autom4te): Typo.
1443 2003-07-16  Derek Price  <derek@ximbiot.com>
1445         * automake.in (scan_autoconf_traces): Handle AC_CONFIG_LINKS.
1446         (handle_configure): Handle adding AC_CONFIG_LINKS arguments to
1447         distclean targets (CONFIG_CLEAN_FILES makefile var).
1448         * NEWS: Note new handling of AC_CONFIG_LINKS.
1449         * automake.texi (Other things Automake recognizes): Ditto.
1450         * tests/Makefile.am (TESTS): Add new tests.
1451         * tests/conflnk.test: New test that links are cleaned on distclean.
1452         * tests/conflnk2.test: New test that source files for links are
1453         distributed.
1455 2003-07-15  Ralf Corsepius <corsepiu@faw.uni-ulm.de>  (tiny change)
1457         * automake.in (scan_autoconf_traces): Trace AM_ENABLE_MULTILIB to
1458         render $seen_multilib functional again.
1460 2003-07-10  Raja R Harinath  <harinath@cs.umn.edu>
1462         Avoid using refs as hash keys.
1463         * lib/Automake/Variable.pm ($_traversal): New.
1464         (reset): Reset $_traversal.
1465         (_new): New attribute 'scanned'.
1466         (%_vars_scanned): Remove.
1467         (traverse_variable_recursively)
1468         (traverse_variable_recursively_worker):
1469         Use $_traversal instead of %_vars_scanned to detect recursively
1470         defined variables.
1472         * lib/am/configure.am (am--refresh): Silence.
1474 2003-07-10  Alexandre Duret-Lutz  <adl@gnu.org>
1476         * lib/Automake/Variable.pm (define): Make clear the diagnostic
1477         about variable names starting with `_' is about *Make* variables.
1479         For Debian Bug #193907:
1480         * automake.texi (Clean): make maintainer-clean should still
1481         allow ./configure && make to run.
1483         * automake.texi (CVS): Typo.
1485 2003-07-09  Alexandre Duret-Lutz  <adl@gnu.org>
1487         * aclocal.in: Use Automake::FileUtils.
1488         (parse_arguments, scan_configure, scan_m4_files): Never call
1489         "die" to print an error message.  Use print and exit.
1490         * automake.in: Use Automake::FileUtils.
1491         * lib/Automake/General.pm ($debug, $help, $tmp, $verbose,
1492         $version, &debug, &getopt, &mktmpdir, &verbose): Remove.
1493         (END): Do not massage Perl's exit code.  Do not clean any temporary
1494         directory.
1495         (find_file, mtime, update_file, xsystem, contents): Move to ...
1496         * lib/Automake/FileUtils.pm: ... this new file.  Adjust to
1497         report errors using Channels.
1498         (handle_exec_errors, xqx): New functions, from Autoconf.
1499         * lib/Automake/Makefile.am (dist_perllib_DATA): Add FileUtils.pm.
1501         * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
1502         Return the empty list on recursively defined variable.  This
1503         supersedes my change of 2003-07-02.
1505 2003-07-08  Akim Demaille  <akim@epita.fr>
1507         * automake.in ($cygnus_mode): Replace with $options{'cygnus'}.
1508         Adjust all dependencies.
1509         (&depend): Move next to %dependencies and prototype.
1510         (&initialize_per_input): Initialize the 'cygnus' field of
1511         '%options' to spare the code from 'exists' or 'defined' when
1512         testing it.
1513         (&handle_configure, &do_check_merge_target, &check_cygnus): Prototype.
1514         (&parse_arguments): Rename '%options' and '%options_1st_pass' as
1515         '%cli_options' and '%cli_options_1st_pass' to avoid clashes and
1516         inconsistencies.
1518 2003-07-07  Alexandre Duret-Lutz  <adl@gnu.org>
1520         * automake.in (generate_makefile): Move near the end of the
1521         file, after the definition of all called functions, so that
1522         prototypes can be enforced.
1524 2003-07-06  Akim Demaille  <akim@epita.fr>
1526         * lib/am/subdirs.am (RECURSIVE_TARGETS): Move install-recursive,
1527         install-exec-recursive, install-data-recursive and
1528         uninstall-recursive addition to...
1529         * lib/am/texinfos.am: here.
1530         * lib/am/texinfos.am, lib/am/subdirs.am: Remove the .PHONY
1531         declaration of RECURSIVE_TARGETS.
1533 2003-07-06  Akim Demaille  <akim@epita.fr>
1535         * lib/Automake/Variable.pm, lib/Automake/VarDef.pm (VAR_SORTED):
1536         New variable type.
1537         Handle it.
1538         * automake.in (&handle_subdirs): Prototype.
1539         Adjust callers.
1540         Make RECURSIVE_TARGETS a VAR_SORTED.
1542 2003-07-06  Akim Demaille  <akim@epita.fr>
1544         * automake.in (&define_files_variable): New.
1545         (&handle_texinfo_helper): Move the handling of user variables from
1546         here, to...
1547         (&handle_texinfo): here.
1548         This is to balance the size of these functions, and to match the
1549         convention of other _helper functions.
1550         (&handle_texinfo_helper): Use &define_files_variable.
1551         Move some code to use less variables.
1552         Rename $info_cursor as $texi.
1553         (&handle_texinfo): Do not call handle_texinfo_helper if there are
1554         no TEXINFOS.
1555         * lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps
1556         and html.
1557         Remove *-recursive targets from .PHONY, they are part of
1558         $(RECURSIVE_TARGETS) anyway.
1559         (install-info, mostlyclean-aminfo): Are .PHONY.
1561 2003-07-05  Akim Demaille  <akim@epita.fr>
1563         * lib/am/distdir.am: Use ';' as a terminator, not a separator, for
1564         sed complex commands, as required by NetBSD sed.
1565         Reported by Patrick Welche.
1567 2003-07-05  Alexandre Duret-Lutz  <adl@gnu.org>
1569         * lib/config.guess, lib/config.sub: New upstream version.
1571 2003-07-04  Alexandre Duret-Lutz  <adl@gnu.org>
1573         * automake.texi (Optional, Dist): AC_CONFIG_AUX_DIR files
1574         are automatically distributed.
1576         * lib/depcomp (icc): Update to grok ICC 7.1's output.
1577         * m4/depend.m4 (_AM_DEPENDENCIES): Check dependency generation
1578         in a subdirectory, and with many dependencies.  This
1579         catches more failures of depcomp.
1580         Reports from Ralf Wildenhues and Akim Demaille.
1582 2003-07-04  Akim Demaille  <akim@epita.fr>
1584         * automake.in (&scan_texinfo_file, &output_texinfo_build_rules,
1585         (&handle_texinfo_helper, &handle_texinfo): Formatting changes.
1586         Prototype properly.
1587         Don't use & when calling functions.
1589 2003-07-03  Alexandre Duret-Lutz  <adl@gnu.org>
1591         * NEWS: Categorize entries.
1592         Suggested by Jim Meyering.
1594         * Makefile.am (maintainer-clean): Disallow '$AUTOMAKE && exit 1'.
1595         Ignore @...@ substitutions in comments.
1596         * tests/defs.in: Try to make the shell more POSIX compliant.
1597         (AUTOMAKE_run, AUTOMAKE_fails): New functions.
1598         * tests/README: Mention AUTOMAKE_fails.
1599         * tests/alloca.test, tests/alloca2.test, tests/ansi8.test,
1600         * tests/asm.test, tests/backsl3.test, tests/backsl4.test,
1601         * tests/badline.test, tests/badopt.test, tests/canon.test,
1602         * tests/canon5.test, tests/colneq.test, tests/comment3.test,
1603         * tests/comment5.test, tests/cond2.test, tests/cond20.test,
1604         * tests/cond23.test, tests/cond24.test, tests/cond27.test,
1605         * tests/condinc2.test, tests/conff2.test, tests/cxx2.test,
1606         * tests/dejagnu2.test, tests/dirforbid.test,
1607         * tests/distcom3.test, tests/else.test, tests/exdir2.test,
1608         * tests/exeext2.test, tests/gcj2.test, tests/gcj5.test,
1609         * tests/getopt.test, tests/gettext.test, tests/gettext2.test,
1610         * tests/gnits.test, tests/gnuwarn.test, tests/gnuwarn2.test,
1611         * tests/insh.test, tests/lex2.test, tests/libobj10.test,
1612         * tests/libobj12.test, tests/libobj13.test,
1613         * tests/libobj3.test, tests/library2.test,
1614         * tests/library3.test, tests/libtool4.test,
1615         * tests/libtool6.test, tests/lisp2.test, tests/location.test,
1616         * tests/nogzip2.test, tests/output5.test, tests/overrid.test,
1617         * tests/percent.test, tests/percent2.test,
1618         * tests/pluseq5.test, tests/pluseq7.test, tests/pluseq9.test,
1619         * tests/pr211.test, tests/primary.test, tests/primary2.test,
1620         * tests/python2.test, tests/recurs.test, tests/reqd2.test,
1621         * tests/seenc.test, tests/specflg.test, tests/specflg2.test,
1622         * tests/spell.test, tests/spell2.test, tests/srcsub.test,
1623         * tests/srcsub2.test, tests/stdlib.test, tests/subdir7.test,
1624         * tests/substtarg.test, tests/suffix11.test,
1625         * tests/symlink.test, tests/syntax.test,
1626         * tests/targetclash.test, tests/txinfo4.test,
1627         * tests/version3.test, tests/warnopts.test,
1628         * tests/xsource.test, tests/yacc2.test: Use set -e,
1629         AUTOMAKE_fails, and always grep error message.
1631         * automake.in (handle_ltlibraries): Fix call to msg.
1633         * tests/stamph.test: Delete.
1634         * tests/Makefile.am (TESTS): Remove stamph.test.
1636         * automake.in (handle_single_transform_list): Use $var->name
1637         to print variable in the configure-substitution diagnostic.
1638         Do not mention the parent when it is the variable itself.
1640         * tests/package.test: Delete.
1641         * tests/Makefile.am (TESTS): Remove package.test.
1643         * automake.in (cond_stack_else): Return FALSE if `if' was not
1644         used.
1645         (cond_stack_endif): Return TRUE if `if' was not used.  Do not
1646         display $negate and $cond, they are irrelevant and maybe undefined.
1648 2003-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
1650         * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
1651         Do not return undef when a variable is recursively defined, this
1652         causes warnings all over the place.  Return the empty string instead.
1654         * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES
1655         from empty DIST_ARCHIVES.
1657 2003-07-01  Alexandre Duret-Lutz  <adl@gnu.org>
1659         * automake.in (scan_autoconf_traces): Check the expected
1660         number of arguments of each traced macro.
1661         * tests/overrid.test: Fix call to AM_CONDITIONAL.
1662         * tests/conff2.test: New files.
1663         * tests/Makefile.am (TESTS): Add conff2.test.
1664         Report from Paolo Bonzini.
1666 2003-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
1668         * automake.in ($SUBST_REF_PATTERN): Do not define.
1669         (%gen_varname): Move to Variable.pm, as %_gen_varname.
1670         (initialize_per_input): Do not clean %gen_varname.
1671         (handle_options, check_libobjs_sources, handle_source_transform,
1672         handle_LIBOBJS, handle_ltlibraries, handle_texinfo_helper,
1673         handle_man_pages, handle_dist, handle_subdirs, handle_gettext,
1674         am_install_var): Adjust to use value_as_list_recursive,
1675         loc_and_value_as_list_recursive, and has_conditional_contents.
1676         (require_file_with_macro): Accept an Automake::Variable as argument.
1677         (traverse_variable_recursively,
1678         traverse_variable_recursively_worker, gen_varname,
1679         transform_variable_recursively): Move ...
1680         * lib/Automake/Variable.pm (traverse_variable_recursively,
1681         _traverse_variable_recursively_worker,
1682         _gen_varname, transform_variable_recursively): ... here.
1683         * automake.in (variable_conditionally_defined,
1684         variable_value_as_list_recursive_worker,
1685         variable_value_as_list_recursive
1686         variable_loc_and_value_as_list_recursive): Move ...
1687         * lib/Automake/Variable.pm (has_conditional_contents,
1688         _value_as_list_recursive_worker,
1689         value_as_list_recursive, loc_and_value_as_list_recursive): ... here.
1690         (reset): Reset %_gen_varname.
1691         (require_variables_for_variable): Accept an Automake::Variable
1692         as argument.
1694 2003-06-27  Alexandre Duret-Lutz  <adl@gnu.org>
1696         * tests/aclocal6.test: Test maintainer-clean in VPATH
1697         builds. (For Ralf's fix.)
1699 2003-06-27  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>  (tiny change)
1701         * lib/am/configure.am (maintainer-clean): Remove
1702         $(top_srcdir)/autom4te.cache, not autom4te.cache.
1704 2003-06-27  Akim Demaille  <akim@epita.fr>
1706         * automake.texi: Use @node with a single argument.
1708 2003-06-27  Alexandre Duret-Lutz  <adl@gnu.org>
1710         * m4/Makefile.am (dist_m4data_DATA): Add $(top_srcdir)/m4/amversion.m4.
1712         * lib/am/distdir.am (distcheck): Run $(am__remove_distdir)
1713         at the end of distcheck.  This was mistakenly removed on
1714         2003-06-15.
1715         * tests/subpkg.test: Make sure distcheck cleans up after itself.
1717         * m4/Makefile.am ($(srcdir)/amversion.m4): Rename as ...
1718         ($(top_srcdir)/m4/amversion.m4): ... this.
1719         (DISTCLEANFILES): Remove.
1720         (nodist_m4data_DATA): Remove. amversion.m4 is automatically
1721         distributed.
1722         (EXTRA_DIST): Add amversion.in.
1724 2003-06-25  Akim Demaille  <akim@epita.fr>
1726         * automake.texi (Top): Use @copying and @insertcopying.
1727         Make Alexandre an author.
1728         * automake.in ($gen_copyright): Add the "(C)" to Copyright.
1729         * lib/depcomp: Likewise.
1731 2003-06-23  Alexandre Duret-Lutz  <adl@gnu.org>
1733         * lib/Automake/Variable.pm (vardef, rvardef, set_seen): New functions.
1734         (variable_defined, examine_variable): Remove.
1735         (%_ac_macro_for_var): Add an entry for ALLOCA.
1736         (require_variables): Use vardef instead of variable_defined.
1737         Do not use _cvar.
1738         * automake.in (generate_makefile): Do not push $(SOURCE) into
1739         @sources.  Use define_pretty_variable to define SOURCES.
1740         (handle_LIBOBJS, handle_ALLOCA): Use require_variables_for_variable
1741         to require LIBOBJS, LTLIBOBJS and ALLOCA.
1742         (handle_programs, handle_ltlibraries): Do not define an empty
1743         _DEPENDENCIES or _LDFLAGS variable when none is defined.
1744         (define_configure_variable): Do not check whether the variable
1745         already exists (it's Automake::Variable::define's job).
1746         (require_build_directory): Likewise, do not check
1747         the existence of am__dirstamp.
1748         (generate_makefile, handle_options, handle_languages)
1749         (check_libobjs_sources, handle_single_transform_list)
1750         (traverse_variable_recursively_worker, handle_source_transform)
1751         (handle_lib_objects, handle_LIBOBJS, handle_compile)
1752         (handle_libtool, handle_programs, handle_libraries)
1753         (handle_ltlibraries, check_typos, handle_texinfo_helper)
1754         (handle_man_pages, handle_tags, handle_dist, handle_subdirs)
1755         (scan_aclocal_m4, handle_gettext, handle_footer, handle_install)
1756         (handle_all, do_check_merge_target, handle_clean, lang_c_finish)
1757         (handle_tests, lang_yacc_target_hook, define_pretty_variable)
1758         (define_compiler_variable, define_linker_variable)
1759         (make_paragraphs, am_primary_prefixes, am_install_var): Adjust to
1760         call var, vardef, or set_seen, instead of variable_defined.  Use
1761         set_seen only for variables which are actually checked by
1762         check_typos.
1763         * tests/target.test: Delete.
1764         * tests/alloca.test, tests/alloca2.test: New files.
1765         * tests/libobj3.test: Check error message.
1766         * tests/distcom4.test: Make sure configure is in DIST_COMMON.
1767         This replace confdist.test.
1768         * tests/Makefile.am (TESTS, XFAIL_TESTS): Remove target.test.
1769         (TESTS): Add alloca.test and alloca2.test.  Remove confdist.test.
1771 2003-06-20  Alexandre Duret-Lutz  <adl@gnu.org>
1773         * automake.in (handle_dist): Delete DIST_COMMON before redefining
1774         it.  Bug report from Akim Demaille.
1775         (rewrite_inputs_into_dependencies): Make sure we always return
1776         something, even when $add_srcdir is 0.
1777         * tests/distcom4.test, tests/distcom5.test: New files.
1778         * tests/Makefile.am (TESTS): Add distcom4.test and distcom5.test.
1780         * tests/cond29.test: Also check for _SOURCES.
1781         Report from Paolo Bonzini.
1783 2003-06-20  Akim Demaille  <akim@epita.fr>
1785         * lib/am/configure.am: Replace leading spaces with a real tab.
1787 2003-06-15  Alexandre Duret-Lutz  <adl@gnu.org>
1789         * tests/nogzip.test, tests/nogzip2.test: New files.
1790         * tests/Makefile.am (TESTS): Add nogzip.test and nogzip2.test
1792 2003-06-15  Akim Demaille  <akim@epita.fr>
1794         * automake.in (&make_paragraphs): Define %GZIP%.
1795         (&process_option_list): Accept no-dist-gzip2.
1796         (&handle_dist): Complain when no archive format is enabled.
1797         * lib/am/distdir.am (DIST_ARCHIVES): New variable.
1798         (dist-gzip, dist-bzip2, dist-tarZ, dist-zip): No longer
1799         conditioned.
1800         (dist): Build $(distdir).tar.gz conditionally.
1801         (distcheck): Use DIST_ARCHIVES to find an archive to unpack, and
1802         to list built archives.  Run $(MAKE) dist instead of dist-gzip.
1803         * automake.texi (Options, The types of distributions): Adjust.
1805 2003-06-15  Jens Elkner  <elkner@imsgroup.de>  (tiny change)
1807         * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with
1808         POSIXLY_CORRECT=1.
1810 2003-06-14  Karl Berry  <karl@gnu.org>
1811             Alexandre Duret-Lutz  <adl@gnu.org>
1813         * mkinstalldirs (scriptversion): New variable.  Setup emacs hooks
1814         to update it each time the file is written, as in install-sh.
1815         (usage): Improve message.
1816         (--version): New option.
1817         (--help): Output to stdout, not stderr.
1819 2003-06-13  Paul Eggert  <eggert@twinsun.com>
1821         * lib/install-sh (dsttmp, rmtmp): Do not use '#' in file names;
1822         it's not guaranteed by POSIX and it doesn't work on OpenVMS.
1823         Bug reported by Bernard Giroud in:
1824         http://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html
1826 2003-06-05  Alexandre Duret-Lutz  <adl@gnu.org>
1828         * automake.in (check_gnu_standards): Use no-installman and
1829         no-installinfo's locations.
1830         (process_option_list): Fill %options with locations.
1831         (check_cygnus) Fill $options{'no-installinfo'} and
1832         $options{'no-dependencies'} with $cygnus_mode, so that it
1833         remains a Location.
1834         * tests/gnuwarn2.test: New file.
1835         * tests/Makefile.am (TESTS): Add gnuwarn2.test.
1837 2003-06-04  Alexandre Duret-Lutz  <adl@gnu.org>
1839         * automake.in (process_option_list): Record the location
1840         of ansi2knr's definition.
1841         (handle_compile): Use it.
1842         * tests/ansi3.test: Make sure the location appears correctly.
1843         Update to use set -e.
1844         * tests/ansi3b.test: New file.
1845         * tests/Makefile.am (TESTS): Add ansi3b.test.
1847         * tests/alpha.test: Really run $MAKE.  Augment to test
1848         subdirectories, and check-news report.
1849         * tests/alpha2.test: New file.  Bug report from Akim Demaille.
1850         * tests/gnits2.test: Make sure README-alpha is not distributed.
1851         * tests/Makefile.am (TESTS): Add alpha2.test.
1852         * automake.in (handle_minor_options): Distribute README-alpha
1853         using push_dist_common, not require_file_with_macro.
1855 2003-06-03  Alexandre Duret-Lutz  <adl@gnu.org>
1857         * lib/Automake/Configure_ac.pm
1858         (search_configure_ac, find_configure_ac): Rename as ...
1859         (find_configure_ac, require_configure_ac): ... these.
1860         * aclocal.in (scan_configure): Adjust call to require_configure_ac.
1861         * automake.in (scan_autoconf_files): Likewise.
1862         Suggested by Tim Van Holder.
1864         * alocal.in: Use Automake::Configure_ac.
1865         ($configure_ac): Delete.
1866         (scan_configure): Adjust use of find_configure_ac;
1867         * automake.in: Use Automake::Configure_ac.
1868         ($configure_ac): Delete.
1869         (scan_autoconf_files): Adjust use of find_configure_ac;
1870         * lib/Automake/Configure_ac.pm: New file.
1871         * lib/Automake/General.pm (find_configure_ac): Delete.  Now
1872         replaced by Automake::Configure_ac::search_configure_ac.
1873         * lib/Automake/Makefile.am (dist_perllib_DATA): Add Configure_ac.pm.
1874         * lib/Automake/Variable.pm: Use Automake::Configure_ac.
1875         (require_variables): Adjust use of $configure_ac.
1877 2003-06-02  Akim Demaille  <akim@epita.fr>
1879         * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am,
1880         * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am,
1881         * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am,
1882         * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am,
1883         * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am,
1884         * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am,
1885         * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am,
1886         * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am,
1887         * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am,
1888         * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am,
1889         * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4,
1890         * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4,
1891         * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4,
1892         * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4,
1893         * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4,
1894         * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4,
1895         * m4/Makefile.am: White space changes and Copyright updates.
1897 2003-05-29  Alexandre Duret-Lutz  <adl@gnu.org>
1899         * lib/Automake/Variable.pm (check_defined_unconditionally): Add
1900         the $parent_cond argument.
1901         (output): Use $self->name in diagnostic not $self.
1902         (variable_value_as_list): Rename as ...
1903         (value_as_list): ... this.  Declare as a method.  Take a $parent_cond
1904         argument and pass it to check_defined_unconditionally.  Do not call
1905         variable_assert, now that this is a method.
1906         (variable_assert): Delete (unused).
1907         * automake.in (traverse_variable_recursively_worker): Adjust to
1908         use check_defined_unconditionally and value_as_list as a methods.
1910         * lib/Automake/Variable.pm (output): Declare as a method, since it
1911         is only used this way.
1912         (define): Fix documentation of $cond.
1913         Suggested by Raja R. Harinath.
1915 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
1917         * lib/Automake/Variable.pm, lib/Automake/VarDef.pm: New files.
1918         * lib/Automake/Makefile.am (dist_perllib_DATA): Add Variable.pm
1919         and VarDef.pm.
1920         * automake.in: Use Automake::Variable and Automake::VarDef.
1921         (MACRO_PATTERN): Delete. Now Automake::Variable::_MACRO_PATTERN.
1922         (am_macro_for_var): Delete. Now Automake::Variable::_am_macro_for_var.
1923         (ac_macro_for_var): Delete. Now Automake::Variable::_ac_macro_for_var.
1924         (silent_variable_override): Delete.  Now
1925         Automake::Variable::_silent_variable_override.
1926         (var_value, var_location, var_comment, var_type, var_owner,
1927         var_pretty, content_seen): Delete.  This functionality is now
1928         offered by Automake::Variable and Automake::VarDef.
1929         (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE, VAR_ASIS, VAR_PRETTY):
1930         Delete.  Now defined in Automake::VarDef.
1931         (var_order): Delete.  Now Automake::Variable::_var_order.
1932         (appendvar): Delete.  Now Automake::Variable::_appendvar.
1933         (var_SUFFIX_trigger): Register using Automake::Variable::hook.
1934         (initialize_per_input): Call Automake::Variable::reset.
1935         (err_var, msg_cond_var, msg_var, reject_var): Delete.  Now
1936         defined in Automake::Variable.
1937         (generate_makefile, process_option_list, handle_languages)
1938         (traverse_variable_recursively_worker)
1939         (transform_variable_recursively, handle_compile)
1940         (handle_libraries, handle_ltlibraries)
1941         (check_typos, handle_dist, handle_subdirs, scan_autoconf_files):
1942         Adjust to use Automake::Variable functions.
1943         (check_ambiguous_condition): Delete.  Now
1944         Automake::Variable::_check_ambiguous_condition.
1945         (condition_ambiguous_p): Delete.  Now
1946         Automake::Variable::condition_ambiguous_p.
1947         (variable_not_always_defined_in_cond): Delete.  Now
1948         Automake::Variable::not_always_defined_in_cond.
1949         (macro_define): Delete.  Now Automake::Variable::define.
1950         (macro_delete): Delete.  Now Automake::Variable::variable_delete.
1951         (macro_dump): Delete.  Now Automake::Variable::variable_dump.
1952         (macros_dump): Delete.  Now Automake::Variable::variables_dump.
1953         (variable_defined): Delete.  Now
1954         Automake::Variable::variable_defined, with the target check
1955         temporarily disabled.
1956         (variable_assert): Delete.  Now Automake::Variable::variable_assert.
1957         (examine_variable): Delete.  Now
1958         Automake::Variable::examine_variable.
1959         (variable_conditions): Delete.  Now Automake::Variable::conditions.
1960         (scan_variable_expansions): Delete.  Now
1961         Automake::Variable::scan_variable_expansions.
1962         (check_variable_expansions): Delete.  Now
1963         Automake::Variable::check_variable_expansions.
1964         (check_variable_defined_unconditionally): Delete.  Now
1965         Automake::Variable::check_defined_unconditionally.
1966         (variable_value): Delete.  Now Automake::Variable::variable_value.
1967         (variable_value_as_list): Delete.  Now
1968         Automake::Variable::variable_value_as_list.
1969         (variable_value_as_list_recursive_worker): Adjust to use
1970         Automake::Variable functions.
1971         (variable_output): Delete.  Now Automake::Variable::output.
1972         (define_pretty_variable, define_configure_variable, read_am_file)
1973         (define_standard_variables, read_main_am_file): Adjust to use
1974         Automake::Variable functions.
1975         (handle_variables): Delete.  Now Automake::Variable::output_variables.
1976         (file_contents_internal, am_primary_prefixes, am_install_var)
1977         (require_file_with_macro, require_conf_file_with_macro)
1978         (push_dist_common): : Adjust to use
1979         Automake::Variable functions.
1980         (require_variables): Delete.  Now
1981         Automake::Variable::require_variables.
1982         (require_variables_for_macro): Delete.  Now
1983         Automake::Variable::require_variables_for_variable.
1984         * tests/Makefile.am (XFAIL_TESTS): Add target.test.
1986 2003-05-25  Christian Cornelssen  <ccorn@cs.tu-berlin.de>  (tiny change)
1988         * tests/dejagnu7.test: Check if runtest supports --status.
1990 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
1992         * lib/Automake/Location.pm (dump): Output 'INTERNAL' when position
1993         is undefined.
1995         * lib/Automake/DisjConditions.pm (human): Fix infinite loop when
1996         $self contains only one Condition.
1998         * automake.in: Use plain strict, including refs.
1999         (macro_define, handle_single_transform_list): Use \&{'name'} to
2000         build references to named subroutines.
2002 2003-05-22  Karl Berry  <karl@gnu.org>
2004         * automake.texi: Update @dircategory to match the Free Software
2005         Directory.  End directory entries with dots.
2007 2003-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
2009         * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/.
2011         * lib/elisp-comp: s/François/Franc,ois/.
2012         Suggested by Paul Eggert.
2014         * automake.in: Move the "main" code at the end.
2015         (parse_arguments): Move near the end.
2016         ($KNOWN_EXTENSIONS_PATTERN, @known_extensions_list,
2017         accept_extensions, var_SUFFIXES_trigger): Move these definitions
2018         before any call to register_language.
2019         (am_file): Move the definition with all other global variables,
2020         do not use local to define it.
2021         * Makefile.am (maintainer-check): Expect no `local' in Automake.
2023 2003-05-21  Alexandre Duret-Lutz  <adl@gnu.org>
2025         * lib/Automake/Wrap.pm, lib/Automake/tests/Wrap.pl: New files.
2026         * lib/Automake/Makefile.am (dist_perllib_DATA): Add Wrap.pm.
2027         * lib/Automake/tests/Makefile.am (TESTS): Add Wrap.pl.
2028         * automake.in (handle_texinfo_helper, pretty_print_rule)
2029         (variable_output): Adjust to use makefile_wrap instead of
2030         pretty_print_internal.
2031         (pretty_print_internal): Remove.  Renamed as Automake::Wrap::wrap
2032         and augmented to accept the $eol and $max_len arguments.
2034 2003-05-18  Alexandre Duret-Lutz  <adl@gnu.org>
2036         * lib/Autom4te/XFile.pm, lib/config.guess, lib/config.sub,
2037         lib/texinfo.tex: New upstream versions.
2039 2003-05-17  Alexandre Duret-Lutz  <adl@gnu.org>
2041         * lib/am/install.am (install, install-exec, install-data, uninstall):
2042         Declare conditionally using a if/else/endif block instead of
2043         using ?SUBDIRS?-style conditions.  The latter fail when
2044         %maybe_BUILT_SOURCES% is replaced by several lines.
2045         This fixes a bug introduced on 2003-04-06.
2046         * tests/bsource.test: New file.
2047         * tests/Makefile.am (TESTS): Add bsource.test.
2048         Reported by Bruno Haible.
2050 2003-05-11  Alexandre Duret-Lutz  <adl@gnu.org>
2052         * automake.texi (renamed objects): New node.
2053         (Program and Library Variables): Move maude_DEPENDENCIES closer
2054         to maude_LDADD.  Define and use `per-target compilation flags' in the
2055         explanation for maude_CFLAGS et al.  Link to the `renamed objects'
2056         node.  Illustrate maude_SHORTNAME.
2058 2003-05-09  Alexandre Duret-Lutz  <adl@gnu.org>
2060         * lib/install-sh: Update copyright notice and license to that of
2061         X11R6.  This removes an advertising clause reported as Debian bug
2062         #191717.
2064 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
2066         * configure.in (ACLOCAL): Do not use -I, --acdir is enough.
2068         * m4/make.m4: Rename the doit target as am__doit,
2069         and make it phony.
2070         Reported by Philip S Tellis.
2072 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
2074         * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit
2075         status.
2076         * tests/makej.test: New file (test Autom4te's cache locking,
2077         new in CVS Autoconf).
2078         * tests/Makefile.am (TESTS): Add makej.test.
2080 2003-05-06  Alexandre Duret-Lutz  <adl@gnu.org>
2082         * lib/Automake/General.pm (contents): New function.
2083         * aclocal.in (greatest_mtime, force_output): New globals.
2084         (scan_configure, add_file): Update $greatest_mtime.
2085         (parse_arguments): Parse --force.
2086         (write_aclocal): Do not overwrite $output_file unless needed.
2087         * automake.texi (aclocal options): Document --force.
2088         * tests/aclocal7.test: New file.
2089         * tests/Makefile.am (TESTS): Add aclocal7.test.
2091 2003-05-05  Alexandre Duret-Lutz  <adl@gnu.org>
2093         * automake.texi (Optional): Document m4_include.
2094         (Invoking aclocal): Shake a bit to introduce the various uses
2095         of aclocal and explain that aclocal will use m4_include for
2096         local files.
2097         (Extending aclocal): Show how to install installable macros
2098         in $(datadir)/aclocal, and make it clearer that writing installable
2099         macros is not the only way to extend aclocal.
2100         (Local Macros, Future of aclocal): New sections.
2102 2003-04-27  Alexandre Duret-Lutz  <adl@gnu.org>
2104         * automake.in (@common_files): Remove acinclude.m4 since
2105         it will be m4_included by aclocal.m4 and files are always
2106         distributed.
2107         (scan_aclocal_m4): Do not bother about acinclude.m4 anymore.
2108         We will get this dependency when tracing m4_includes.
2109         * tests/aclocal6.test: Make sure acinclude.m4 is distributed
2110         when used.
2111         * tests/acinclude.test: Delete.
2112         * tests/Makefile.am (TESTS): Remove acinclude.test.
2114 2003-04-25  Alexandre Duret-Lutz  <adl@gnu.org>
2116         * automake.in (handle_configure): Don't add @configure_deps to
2117         DIST_COMMON, we do this from lib/am/configure.am now.
2118         Define the am__configure_deps variable instead of substituing
2119         %CONFIGURE_DEPS%.
2120         * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure,
2121         $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%.
2122         (DIST_COMMON): Add $(am__configure_deps).
2124         * tests/aclocal6.test: New file.
2125         * lib/am/configure.am (am--refresh): New rule.
2126         (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status,
2127         $(top_srcdir)/configure): Call the top-level am--refresh from
2128         subdirectories.
2129         ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%.  Call the
2130         top-level am--refresh when not in the top-level directory.
2131         Fix jump directories for VPATH builds.
2132         Suggested by Raja R. Harinath.
2134 2003-04-24  Alexandre Duret-Lutz  <adl@gnu.org>
2136         * automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS
2137         and glob for m4_files (We've got all local m4 files while
2138         tracing m4_include's).  Diagnose ACLOCAL_M4_SOURCES as obsolete.
2139         Distribute aclocal.m4 only at the top-level.
2140         (my_glob): Remove.  This fixes PR automake/11.
2141         (handle_dist): Strip leading `./' from directories.
2142         * aclocal.in (add_file): Output 'm4_include([file.m4])' instead
2143         of copying local files.
2144         (write_aclocal, parse_arguments): Bump copyright date.
2145         * configure.in: De not build m4/amversion.m4 from here ...
2146         * m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here.
2147         (nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead
2148         of amversion.m4.
2149         * tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test.
2150         (TESTS): Remove aclocal2.test.  Do not test aclocal.test twice.
2151         * tests/aclocal2.test: Delete (pointless).
2152         * tests/aclocal5.test: Make sure configure's dependencies are
2153         distributed.
2154         * tests/acinclude.test: Adjust to search for m4_include.
2155         * tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep
2156         configure instead of aclocal.m4.
2158         For PR automake/46:
2159         * automake.in (scan_aclocal_m4): Work in all directories, not only
2160         the top-level.  Prepend $(top_srcdir) in front of each aclocal.m4
2161         dependency.
2162         * lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)):
2163         Define rebuild rules in each directory.
2164         * tests/subdir8.test: Augment to exercise aclocal.m4's dependencies
2165         from the top-level directory.
2166         * tests/aclocal5.test: New file.  Exercise aclocal.m4's dependencies
2167         from a subdirectory.
2168         * tests/Makefile.am (TESTS): Add aclocal5.test.
2169         (XFAIL_TESTS): Replace subdir8.test by aclocal5.test.
2171 2003-04-24  Akim Demaille  <akim@epita.fr>
2172             Alexandre Duret-Lutz  <adl@gnu.org>
2174         For PR automake/46:
2175         * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt
2176         because of one of configure's dependencies, run automake without
2177         argument to update the whole tree at once.  Depend upon
2178         %CONFIGURE_DEPS%.
2179         (%MAKEFILE%): If Makefile is rebuilt because config.status has
2180         been updated, run config.status without arguments.
2181         * automake.in (scan_autoconf_traces): Prepend $(top_srcdir)
2182         before all files in @configure_deps.
2183         * tests/subdir5.test: Modernize configure.in, make sure
2184         maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%.
2185         * tests/subdir8.test: New file.
2186         * tests/Makefile.am (TESTS): Add subdir8.test.
2187         (XFAIL_TESTS): Replace subdir5.test by subdir8.test.
2189 2003-04-23  Alexandre Duret-Lutz  <adl@gnu.org>
2191         * automake.texi (Requirements): Typo in index
2192         s/AC_CONFIG_FILE/AC_CONFIG_FILES/.
2194         * lib/texinfo.tex: New upstream version.
2196 2003-04-21  Jim Meyering  <jim@meyering.net>
2198         * lib/mkinstalldirs: Remove each sequence of spaces before a
2199         TAB character.
2200         * lib/depcomp: Search for TAB-SPC, not SPC-TAB.
2202 2003-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
2204         Fix for PR automake/389:
2205         * automake.in (handle_configure): Don't put $colon_infile in
2206         CONFIG-MAKEFILE.
2207         * tests/conff.test: New file.
2208         * tests/Makefile.am (TESTS): Add conff.test.
2209         Reported by Alexander Turbov.
2211 2003-04-18  Alexandre Duret-Lutz  <adl@gnu.org>
2213         * tests/defs.in: Handle required=etags to work around
2214         Exuberant Ctags.
2216         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
2217         versions.
2219         * tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test:
2220         Distribute dejagnu test cases, so that distcheck actually runs them.
2222 2003-04-18  Richard Dawe  <rich@phekda.freeserve.co.uk>
2224         * lib/am/dejagnu.am (site.exp): Don't define tool in site.exp,
2225         because we set that by invoking runtest with --tool.
2226         * tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test,
2227         dejagnu6.test, dejagnu7.test.
2228         * tests/dejagnu4.test: New test.
2229         * tests/dejagnu5.test: New test.
2230         * tests/dejagnu6.test: New test.
2231         * tests/dejagnu7.test: New test.
2233         * tests/dejagnu3.test: Make sure the DejaGnu test is actually run.
2235 2003-04-18  Jim Meyering  <jim@meyering.net>
2237         * automake.in (variable_output): Fix typo in comment s/is/if/.
2239         * lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect
2240         directly to $@.  Instead, redirect to $@t and rename upon success.
2241         Also, move the commands that update $@ so they are last.  Otherwise,
2242         this rule could leave the user with an up to date target (.c file)
2243         but with a missing or corrupted corresponding .h file.
2245 2003-04-17  Richard Dawe  <rich@phekda.freeserve.co.uk>
2247         * tests/defs.in: Handle required=runtest, to detect runtest
2248         from DejaGnu.
2249         * tests/Makefile.am (TESTS): Add dejagnu3.test.
2250         * tests/dejagnu3.test: New test.
2252 2003-04-16  Alexandre Duret-Lutz  <adl@gnu.org>
2254         * automake.in (rule_define): If the user tries to override
2255         an Automake which has a -local variant, suggest using the
2256         -local variant in the -Woverride diagnostic.
2257         (handle_factored_dependencies): Register factored
2258         rules with rule_define, and define them only in undefined
2259         conditions.
2260         * tests/Makefile.am (TESTS): Add override.test.
2261         * tests/overrid.test: New file.
2262         * tests/phony.test: Count the number of .PHONY targets.
2264 2003-04-15  Alexandre Duret-Lutz  <adl@gnu.org>
2266         * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silence
2267         these rules, so that we don't confuse users by echoing
2268         "echo ERROR:" commands which are not run.
2270 2003-03-14  Richard Dawe  <rich@phekda.freeserve.co.uk>
2271             Alexandre Duret-Lutz  <adl@gnu.org>
2273         * automake.in (output_texinfo_build_rules, handle_texinfo_helper,
2274         initialize_per_input):  Add infrastructure for generating HTML
2275         documentation from texinfo source.
2276         * lib/am/texinfos.am: Add rules for building HTML documentation
2277         from texinfo source.
2278         * lib/am/texibuild.am: Likewise.
2279         * automake.texi (Texinfo): Document rules for building
2280         HTML documentation from texinfo source.
2281         * tests/txinfo21.test: New file.
2282         * tests/Makefile.am (TESTS): Add txinfo21.test.
2283         * tests/defs.in: Handle required=makeinfo-html.
2285 2003-04-14  Alexandre Duret-Lutz  <adl@gnu.org>
2287         * automake.in (%silent_variable_override): New variable.
2288         (macro_define): Warn about variable definitions overriding
2289         Automake variables.
2290         (rule_define): Warn about target definitions overriding
2291         Automake variables.  Fix $condmsg definition.
2292         * automake.texi (Invoking Automake): Document the `override'
2293         category.
2294         * lib/Automake/ChannelDefs.pm (usage): Likewise.
2295         * lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define,
2296         this is already done in m4/init.m4.
2297         * tests/dejagnu2.test: Run $MAKE, don't only grep.  Use
2298         -Wno-override, and make sure we get a warning without.
2299         * tests/exeext2.test, tests/substtarg.test: Use -Wno-override,
2300         and make sure we get a warning without.
2301         * tests/exeext3.test, tests/java2.test, tests/nolink.test,
2302         tests/subpkg.test, tests/vartest.test: Use -Wno-override.
2303         * tests/txinfo13.test: Use installcheck-local instead of overriding
2304         installcheck.
2305         * tests/txinfo2.test: Run $MAKE on the real Makefile (this test
2306         used to succeed thanks to a failure...)
2307         * tests/location.test: Adjust expected messages.
2308         * tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test.
2310 2003-04-12  Raja R Harinath  <harinath@acm.org>
2312         * lib/Automake/DisjConditions.pm (true): Don't cache answer.
2313         (invert): Update comment.
2314         (_simplify): Remove.
2315         (simplify): Implement using invert().
2316         * lib/Automake/tests/DisjConditions.pl (test_simplify):
2317         Update to reflect changes.
2319 2003-04-12  Alexandre Duret-Lutz  <adl@gnu.org>
2321         * automake.in (scan_autoconf_files): Augment the error message
2322         about AM_INIT_AUTOMAKE not found.
2323         Suggested by Bruno Haible.
2325         * lib/Automake/Version.pm: New file.
2326         * lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm.
2327         * lib/Automake/tests/Version.pl: New file.
2328         * lib/Automake/tests/Makefile.am (TESTS): Add Version.pl.
2329         * tests/Makefile.am (TESTS): Remove version5.test.
2330         * tests/version5.test: Delete.  Move the tests to Version.pl.
2331         * automake.in (version_split, version_compare, version_check): Move ...
2332         * lib/Automake/Version.pm (split, compare, check): ... here.
2334 2003-04-11  Alexandre Duret-Lutz  <adl@gnu.org>
2336         * lib/Automake/tests/Condition.pl (test_reduce_and)
2337         (test_reduce_or): Cosmetics.
2338         * lib/Automake/tests/DisjConditions.pl (test_sub_conditions):
2339         Fix a comment.
2340         * lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...>
2341         in comment.
2342         * tests/yacc8.test, configure.in: Update copyright year.
2344 2003-04-10  Richard Dawe  <rich@phekda.freeserve.co.uk>
2346         * configure.in: Get the build platform name.  Define
2347         MODIFICATION_DELAY as the time to wait after modifying a file,
2348         to cope with timestamp granularity issues, depending
2349         on the platform.
2350         * tests/defs.in: Define `sleep' using MODIFICATION_DELAY.
2352 2003-04-10  Eric Siegerman  <eric_97@pobox.com>  (tiny change)
2354         * automake.texi (Public macros): Clarify that the new
2355         AM_INIT_AUTOMAKE variant is preferred, and the old one
2356         deprecated.  Copy-edit the rest of the AM_INIT_AUTOMAKE item.
2357         (Hello): Caution that the example uses the deprecated
2358         AC_INIT/AM_INIT_AUTOMAKE syntax, and xref to the discussion.
2360 2003-04-10  Alexandre Duret-Lutz  <adl@gnu.org>
2362         Retain all variable definitions until the whole Makefile.am has
2363         been processed, then output all variables in one step, at the top
2364         of Makefile.in.  (Older revisions used to output user variables
2365         before generating Automake targets, and to mix Automake variables
2366         with Automake targets, preventing redefinitions of previously
2367         output variables.)
2369         * automake.in (%var_pretty): New variable.
2370         (VAR_ASIS, VAR_PRETTY): New constants.
2371         (@var_list): Rename as ...
2372         (@var_order): ... this.
2373         (initialize_per_input): Clear %var_pretty.
2374         (handle_variables): New function, extracted from ...
2375         (read_main_am_file): ... here.
2376         (generate_makefile): Call handle_variable after everything else.
2377         (handle_dist): Use define_pretty_variable, not pretty_print.
2378         (pretty_print): Delete.
2379         (macro_define): Augment with $COMMENT and $PRETTY parameters.
2380         Update %var_comment, %var_pretty, and @var_order.  Adjust callers.
2381         (variable_pretty_output): Merge with ...
2382         (variable_output): ... this, and choose the prettiness on a
2383         per-condition basis.
2384         (append_comments): Delete.  This work is now done by macro_define.
2385         (read_am_file, file_contents_internal): Don't call append_comments
2386         nor update @var_list, adjust calls to macro_define.
2387         (handle_subdirs): Don't explicitly output RECURSIVE_TARGETS,
2388         just mark it as VAR_PRETTY.
2389         * tests/exeext.test: Make sure bin_PROGRAMS is output only once.
2390         Report from Jim Meyering.
2392 2003-04-06  Alexandre Duret-Lutz  <adl@gnu.org>
2394         * automake.in (handle_installdirs): Rename as ...
2395         (handle_install): ... this.  Define maybe_BUILT_SOURCES.
2396         (generate_makefile): Adjust call to handle_install.
2397         * lib/am/install.am (install): Use %maybe_BUILT_SOURCES%.
2398         * automake.texi (Sources, Built sources example): BUILT_SOURCES
2399         is honored by `make install' too.
2400         * tests/check3.test: Make sure that `make install' also depends
2401         upon BUILT_SOURCES.
2402         Report from Alexander Turbov.
2404         * lib/am/libs.am (ARFLAGS): Define.
2405         * automake.in (handle_libraries): Use `$(ARFLAGS)' instead of
2406         hard-coding `cru'.
2407         * automake.texi (A Library): Explain how AR, ARFLAGS and RANLIB
2408         are used, and how they can be overridden.
2409         (Program and Library Variables): Adjust to show `$(ARFLAGS)'
2410         instead of `cru'
2411         * tests/ar.test: Rewrite to test for AR, ARFLAGS, and RANLIB.
2412         * tests/ranlib.test: Delete, obsoleted by ar.test.
2413         * tests/Makefile.am (TESTS): Remove ranlib.test.
2414         Report from Paul Thomas.
2416 2003-04-03  Alexandre Duret-Lutz  <adl@gnu.org>
2418         * automake.in (check_trailing_slash): New function (variation on
2419         a patch by Peter Muir).  Diagnose whitespaces following trailing
2420         backslash.
2421         (read_am_file): Use it.
2422         * tests/backsl4.test: New file.
2423         * tests/Makefile.am (TESTS): Add backsl4.test.
2424         Reported by Peter Muir.
2426 2003-03-29  Raja R Harinath  <harinath@acm.org>
2428         Speedup Automake::DisjConditions::invert().
2429         * lib/Automake/Condition.pm (multiply): New.
2430         * lib/Automake/DisjConditions.pm (_multiply): Use it.
2431         (sub_conditions): Likewise.
2433         * lib/Automake/Condition.pm (reduce): Rename to ...
2434         (reduce_and): ... this.
2435         (reduce_or): New.
2436         * lib/Automake/DisjConditions.pm (_multiply): Use reduce_or().
2437         * lib/Automake/tests/Condition.pl (test_reduce): Rename to ...
2438         (test_reduce_and): ... this.
2439         (test_reduce_or): New.
2440         * lib/Automake/tests/DisjConditions.pl
2441         (test_invert): Update to reflect effect of reduce_or().
2442         (test_simplify): Don't skip invert() on larger inputs.
2444 2003-03-29  Raja R Harinath  <harinath@cs.umn.edu>
2446         * tests/yacc8.test: Add a $sleep before modifying Makefile.am so
2447         that timestamp will change.
2449 2003-03-23  Akim Demaille  <akim@epita.fr>
2450             Alexandre Duret-Lutz  <adl@gnu.org>
2452         * lib/am/tags.am (TAGS): Use --etags-include instead of --include,
2453         when supported by etags (Exuberant Ctags).
2454         * tests/tagsub.test: Rewrite to _run_ the `tags' rule.
2456 2003-03-20  Alexandre Duret-Lutz  <adl@gnu.org>
2458         For Debian Bug #185388:
2459         * automake.texi (Extending): Augment the install-exec-hook
2460         discussion with an example how to symlink a versioned binary.
2461         * tests/insthook.test: Rewrite to test the above example.
2462         Report from James R. Van Zandt.
2464 2003-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
2466         * Makefile.am (maintainer-check): Allow `automake:' tokens,
2467         occuring in location.test.  Automake now has 5 legitimate
2468         unsubstituted @strings@.
2470         * tests/aclocal4.test: Require GNU make.
2472 2003-03-14  Alexandre Duret-Lutz  <adl@gnu.org>
2474         * tests/aclocal4.test: New file.  Test for the ACLOCAL_M4 bug below.
2475         * tests/Makefile.am (TESTS): Add aclocal4.test.
2477 2003-03-14  Jim Meyering  <jim@meyering.net>
2479         * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
2480         subdirectories.  Makefile.in depends on that variable.
2482 2003-03-13  Alexandre Duret-Lutz  <adl@gnu.org>
2484         * m4/init.m4: Remove a leftover comment from the pre-1.7 era.
2486         Fix for PR automake/386:
2487         * m4/init.m4: Require Autoconf 2.55.
2488         Reported by Owen Taylor.
2490         * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
2491         (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode.
2492         Suggested by Matthias Andree.
2494         * tests/README: Typo.
2496 2003-03-08  Alexandre Duret-Lutz  <adl@gnu.org>
2498         * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
2499         (?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP.
2500         Just echo the gcc command.
2501         Suggested by Karl Berry.
2503 2003-03-06  Alexandre Duret-Lutz  <adl@gnu.org>
2505         * lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
2506         `test -f foo || echo $(srcdir)/` to emulate a VPATH search when
2507         outputing suffix rules.  This follows 2003-02-25's change.
2508         * lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
2509         * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
2511 2003-03-05  Alexandre Duret-Lutz  <adl@gnu.org>
2513         * automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed
2514         with AC_CONFIG_FILES are cleaned by `make distclean'.  Don't
2515         pretend otherwise.
2516         Reported by Rafael Laboissiere.
2518 2003-03-04  Andreas Buening  <andreas.buening@nexgo.de>
2520         * lib/mdate-sh: Find out which column of the ls -l output contains
2521         the month. Do not assume it is at least the fifth column.
2523 2003-02-26  Alexandre Duret-Lutz  <adl@gnu.org>
2525         * automake.texi (Emacs Lisp): Mention that `dist_' can be used.
2527         * automake.texi (Emacs Lisp): Instruct people to use lisp_DATA
2528         instead of lisp_LISP when they don't want byte-compilation.
2529         Don't mention ELCFILES anymore.
2530         * automake.in (handle_data): Allow lisp_DATA.
2531         * tests/lisp5.test: New file.
2532         * tests/Makefile.am (TESTS): Add lisp5.test.
2534         * automake.in (handle_emacs_lisp): Don't build *.elc files
2535         if ELCFILES was set empty.
2536         * tests/lisp4.test: New file.
2537         * tests/Makefile.am (TESTS): Add lisp4.test.
2538         Reported by Simon Josefsson.
2540         * tests/lex3.test, tests/lex5.test: Require flex.
2541         Reported by Leo Davis.
2543 2003-02-25  Alexandre Duret-Lutz  <adl@gnu.org>
2545         * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not
2546         use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search
2547         when outputing suffix rules.
2548         * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi)
2549         (?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise.
2550         Suggested by Bruno Haible.
2552         * automake.in (read_am_file): Catch trailing backslashes on last line.
2553         * tests/backsl3.test: New file.
2554         * tests/Makefile.am (TESTS): Add backsl3.test.
2555         Reported by Akim Demaille.
2557 2003-02-24  Alexandre Duret-Lutz  <adl@gnu.org>
2559         * ChangeLog: Move 2002's entries to ...
2560         * ChangeLog.02: ... this new file.
2561         * Makefile.am (EXTRA_DIST): Add ChangeLog.02.
2563 2003-02-24  Richard Dawe  <rich@phekda.freeserve.co.uk>
2565         * tests/version7.test: Use $sleep to sleep before updating
2566         the version, to work around timestamp inconsistencies in Windows.
2568 2003-02-24  Bruno Haible  <bruno@clisp.org>
2569             Alexandre Duret-Lutz  <adl@gnu.org>
2571         * lib/am/texibuild.am: Don't remove the target info files. Instead,
2572         back up and restore them if makeinfo fails.
2573         * tests/txinfo20.test: New file.
2574         * tests/Makefile.am (TESTS): Add txinfo20.test.
2576 2003-02-23  Alexandre Duret-Lutz  <adl@gnu.org>
2578         * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
2579         (distcleancheck): Fix typos and other errors reported by Karl
2580         Berry.
2582 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
2584         * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
2585         instead of ${...}.
2587         * tests/defs.in: Handle required=ro-dir.
2588         * tests/destdir.test: Use this.
2590 2003-02-19  Richard Dawe  <rich@phekda.freeserve.co.uk>
2592         * lib/am/distdir.am (distcheck): Strip any leading DOS drive
2593         from dc_install_base.
2595 2003-02-19  Alexandre Duret-Lutz  <adl@gnu.org>
2597         * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
2598         DJGPP-style *.iNN info files.
2599         (maintainer-clean-aminfo): Rewrite using the same pattern
2600         as in uninstall-info-am.
2601         * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase
2602         DJGPP-style *.iNN info files before running $(MAKEINFO).
2603         * tests/txinfo19.test: New file.
2604         * tests/Makefile.am (TESTS): Add txinfo19.test.
2606 2003-02-18  Richard Dawe  <rich@phekda.freeserve.co.uk>
2608         * lib/depcomp (dashmstdout): Cope with DOS filenames in
2609         dependencies.
2611 2003-02-17  Alexandre Duret-Lutz  <adl@gnu.org>
2613         * lib/depcomp (makedepend): Don't pass $object to makedepend.
2614         Reported by Stepan Kasal.
2616 2003-02-12  Alexandre Duret-Lutz  <adl@gnu.org>
2618         * tests/defs.in: Handle required=makedepend.
2620         * Makefile.am (maintainer-check): Update the diff check
2621         to account for the recent @SHELL@ substitution.
2623 2003-02-11  Alexandre Duret-Lutz  <adl@gnu.org>
2625         * lib/depcomp: Do not put comments on the `icc)' line.
2627         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
2628         versions.
2630         Fix for PR automake/381:
2631         * automake.in (handle_gettext): Do not print diagnostics
2632         about po/ and intl/ missing from SUBDIRS if po/ does not
2633         exist.  Warn if `SUBDIRS = intl' is used although libintl
2634         is 'external'.
2635         * tests/gettext.test: Make sure diagnostics are not output
2636         when po/ does not exist.
2637         * tests/gettext2.test: Test for unwanted intl/.
2638         PR from Alexander Turbov, fix suggested by Bruno Haible.
2640         * m4/depend.m4: Grep depcomp's stderr for icc warnings about
2641         ignored options.
2642         * lib/depcomp (icc): New mode.
2643         * tests/depcomp5.test: New file.
2644         * tests/defs.in: Handle required=icc.
2645         * tests/Makefile.am (TESTS): Add it.
2647         Temporary hack for PR automake/381:
2648         * automake.in (handle_gettext): Turn missing po/ and intl/ errors
2649         into -Wsyntax warnings.
2651 2003-02-10  Richard Dawe  <rich@phekda.freeserve.co.uk>
2653         * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
2654         This makes the setting of SHELL work for DJGPP.
2656 2003-02-10  Alexandre Duret-Lutz  <adl@gnu.org>
2658         For PR automake/385:
2659         * lib/depcomp (makedepend): Strip any libtool call, before
2660         running makedepends.
2661         * tests/depcomp4.test: New file.
2662         * tests/Makefile.am (TESTS): Add it.
2663         Reported by Jeff Squyres.
2665         Related to PR automake/385:
2666         * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will
2667         write dependencies to /dev/null.  `-o /dev/null' was added
2668         on 2002-06-13 just because I tried to replace `-o foo.o' by something
2669         else and didn't thought about removing it entirely.
2670         * tests/depcomp3.test: New file.
2671         * tests/Makefile.am (TESTS): Add it.
2673         * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
2674         SHELL for DJGPP.
2675         Suggested by Richard Dawe.
2677 2003-02-09  Alexandre Duret-Lutz  <adl@gnu.org>
2679         * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
2680         (distcleancheck): New nodes.
2682 2003-02-06  Alexandre Duret-Lutz  <adl@gnu.org>
2684         * automake.in (scan_autoconf_files): Don't complain that
2685         AM_INIT_AUTOMAKE comes from an old version if it was not found.
2687 2003-02-05  Alexandre Duret-Lutz  <adl@gnu.org>
2689         * automake.in (am_install_var): Simplify filtering of
2690         variable_loc_and_value_as_list_recursive's output.
2692 2003-02-04  Alexandre Duret-Lutz  <adl@gnu.org>
2694         * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute
2695         indexes of header files so we create stamp files with
2696         the right numbers when config.status is run on some headers.
2697         * tests/stamph2.test: Check for this.
2698         Reported by Sander Niemeijer.
2700 2003-02-02  Alexandre Duret-Lutz  <adl@gnu.org>
2702         * automake.in (vars_scanned): Move near traverse_variable_recursively.
2703         (traverse_variable_recursively,
2704         traverse_variable_recursively_worker): Accept a $COND_FILTER argument
2705         to filter out conditions during recursion.  Don't recurse into
2706         undefined variables.  Don't pass empty results to &FUN_COLLECT.
2707         (value_to_list): Remove, was used by
2708         variable_value_as_list_recursive_worker only.
2709         (variable_value_as_list_recursive_worker): Rewrite using
2710         traverse_variable_recursively.  Remove the $parent argument.
2711         (variable_value_as_list_recursive,
2712         variable_loc_and_value_as_list_recursive): Adjust calls
2713         to variable_value_as_list_recursive_worker.  Don't reset
2714         %vars_scanned.
2715         * tests/cond3.test: Don't expect empty helper variables,
2716         we don't output them anymore.
2717         * tests/cond30.test: Use an undefined variable.
2719         * automake.in (handle_programs): Strip $(EXEEXT) before
2720         calling &check_canonical_spelling.
2721         * tests/exeext.test: Make sure we don't use a
2722         maude3__EXEEXT__OBJECTS variable.
2724 2003-02-02  Jeremy Nimmer  <jwnimmer@alum.mit.edu>  (tiny change)
2726         For Debian Bug #39542:
2727         * automake.texi (Invoking Automake, Optional): Document how
2728         AC_CONFIG_AUX_DIR interacts with missing files.
2730 2003-02-02  Alexandre Duret-Lutz  <adl@gnu.org>
2732         * lib/Automake/DisjConditions.pm (_permutations_worker)
2733         (permutations): Remove, so that people aren't tempted to use it.
2734         * lib/Automake/tests/DisjConditions.pl (tests_permutations): Remove.
2736         * automake.in (variable_conditions_recursive): Remove.
2737         (variable_conditionally_defined): Rewrite using
2738         traverse_variable_recursively.
2740         * automake.in (traverse_variable_recursively,
2741         traverse_variable_recursively_worker): Pass one merged Condition
2742         instead of a stack of conditions to &FUN_STORE and &FUN_COLLECT.
2743         (transform_variable_recursively, define_objects_from_sources)
2744         (handle_lib_objects, variable_conditions_recursive): Adjust usage.
2746 2003-02-01  Alexandre Duret-Lutz  <adl@gnu.org>
2748         * automake.in (handle_lib_objects): Compute _DEPENDENCIES variables
2749         using transform_variable_recursively instead of
2750         variable_conditions_recursive and variable_value_as_list_recursive
2751         to avoid combinatorial explosion.
2752         (handle_lib_objects_cond): Merge into handle_lib_objects.
2753         * tests/cond11.test: Don't grep internal details in Makefile.in,
2754         run $MAKE to make sure the resulting Makefile runs as expected.
2755         * tests/cond29.test: Also exercise conditional _LDADD.
2756         * tests/cond31.test, tests/cond32.test: New files.
2757         * tests/Makefile.am (TESTS): Add tests/cond31.test and
2758         tests/cond32.test.
2760 2003-01-31  Alexandre Duret-Lutz  <adl@gnu.org>
2762         * automake.in (handle_lib_objects_cond): Ignore -dlopen and
2763         -dlpreopen in _LIBADD variables too.
2764         (handle_LIBOBJS, handle_ALLOCA): New functions, extracted from
2765         handle_lib_objects_cond.
2766         * tests/libtool7.test: New file.
2767         * tests/Makefile.am (TESTS): Add libtool7.test.
2769         * automake.texi (Program and Library Variables): Clarify that
2770         _LIBADD is for libraries and _LDADD for programs.
2772         * automake.in (handle_source_transform): Correct typo from 2003-01-23.
2774 2003-01-28  Alexandre Duret-Lutz  <adl@gnu.org>
2776         Fix for PR automake/352:
2777         * automake.in (transform_variable_recursively): If the destination
2778         and the source variables are the same, delete the source variable
2779         before defining the destination variable.
2780         (handle_programs): Strip any $(EXEEXT) suffix from $one_file,
2781         or this will confuse handle_source_transform.
2782         (append_exeext): Rewrite using transform_variable_recursively.
2783         * tests/cond29.test, tests/cond30.test: New files.
2784         * tests/exeext.test: Run ./configure and make, this uncovered
2785         the above handle_programs issue.
2786         * tests/Makefile.am (TESTS): Add cond29.test and cond20.test.
2788         * automake.in (%subobjvar): Replace by ...
2789         (%gen_varname): ... this.
2790         (subobjname): Replace by ...
2791         (gen_varname): ... this.
2792         (initialize_per_input): Clean gen_varname instead of subobjname.
2793         (transform_variable_recursively): New function, extracted
2794         from define_objects_from_sources.
2795         (define_objects_from_sources): Use transform_variable_recursively.
2796         Remove the unused $parent argument.
2797         (handle_source_transform): Adjust call to define_objects_from_sources.
2799 2003-01-23  Alexandre Duret-Lutz  <adl@gnu.org>
2801         * automake.in (@substfroms, @substtos): Move near
2802         traverse_variable_recursively.
2803         (traverse_variable_recursively, traverse_variable_recursively_worker):
2804         New functions, extracted from define_objects_from_sources.
2805         (define_objects_from_sources): Rewrite using
2806         traverse_variable_recursively.
2807         (handle_source_transform): Use variables_conditionally_defined
2808         instead of calling variable_conditions_recursive directly.
2809         Adjust the call to define_objects_from_sources; there is no need
2810         to reset @substtos, @substfroms, and %vars_scanned now.
2811         (variable_conditions_recursive): Rewrite using
2812         traverse_variable_recursively.
2813         (variable_conditions_recursive_sub): Remove.
2814         (variable_conditionally_defined): Fix condition comparison (the
2815         consequence was that DIST_SUBDIRS was always output).
2816         * lib/Automake/Condition.pm (merge): Allow merging several
2817         conditions at once.
2819 2003-01-22  Alexandre Duret-Lutz  <adl@gnu.org>
2821         * automake.texi (Python): Explain that directory variables start
2822         with either ${prefix} or ${exec_prefix}, and point to the
2823         `Installation Directory Variables' section of the Autoconf manual.
2825 2003-01-21  Alexandre Duret-Lutz  <adl@gnu.org>
2827         * lib/am/distdir.am (top_distdir, distdir): Define these
2828         variables only in top level Makefile.  Redefine $(top_distdir)
2829         as $(distdir).
2830         (distdir): Fix passing of $(top_distdir) to sub-makes.
2831         * automake.in (handle_dist): Do not define the DISTDIR and
2832         TOP_DISTDIR transformations.  We don't need them anymore.
2833         * automake.texi (Dist): Reorder the dist-hook section, and move
2834         the DIST_SUBDIRS paragraph earlier.  Document distdir and
2835         top_distdir.
2836         * tests/subpkg.test: Update to check for $(distdir) and
2837         $(top_distdir).
2839 2003-01-19  Alexandre Duret-Lutz  <adl@gnu.org>
2841         Rename more files to accomodate 8+3 file systems, and adjust the
2842         vocabulary at the same time: AM_CONDITIONAL defines "conditionals",
2843         and we call "condition" a conjunction of "conditionals".
2844         * lib/am/Conditional.pm: Rename to lib/am/Condition.pm.
2845         * lib/am/tests/Conditional.pl: Rename to lib/am/tests/Condition.pl.
2846         * lib/am/ConditionalSet.pm: Rename to lib/am/DisjConditions.pm.
2847         * lib/am/tests/ConditionalSet.pl: Rename to
2848         lib/am/tests/DisjConditions.pl
2849         * lib/am/Conditional.pm (condition_negate): Rename to ...
2850         * lib/am/Condition.pm (conditional_negate): ... this.
2851         * automake.in: Adjust references to Condition and DisjConditions.
2852         (check_ambiguous_conditional, conditional_ambiguous_p): Rename to ...
2853         (check_ambiguous_condition, condition_ambiguous_p): ... these.
2855         * tests/README: New file.
2857         * automake.texi (Conditional Programs): Show a sample Makefile.am.
2858         Remind $(EXEEXT) must be appended to configure substitutions.
2859         Show how Automake conditionals can be used instead.
2860         * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also
2861         appended to conditionally defined programs.
2863 2003-01-16  Jim Meyering  <jim@meyering.net>
2865         Accept --help and --version, and lots of syntactic clean-up.
2866         * lib/install-sh: Use consistent indentation, two spaces per level.
2867         (scriptversion): New variable.
2868         Change initializations like `variable=""' to `variable='.
2869         (usage): New variable.
2870         Use `test', not `['.
2871         Use `test -z "$var"', not `[ x"$var" = x ]'.
2872         Use `test -n "$var"', not `[ x"$var" != x ]'.
2873         Alphabetize case entries.
2874         Accept --help and --version options.
2875         Remove unnecessary `else :' clauses.
2876         Add a `Local variables' eval block to help emacs users update
2877         the time-stamp variable added above.
2878         Mostly from Karl Berry.
2880 2003-01-16  Alexandre Duret-Lutz  <adl@gnu.org>
2882         * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add
2883         python2.3.
2885         * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir'
2886         or `pyexecdir', for the sake of 64-bit distributions that usually
2887         use lib64/ instead of lib/.  Fall back to the default directory
2888         if it doesn't work.
2889         Suggested by Gwenole Beauchesne.
2891 2003-01-14  Alexandre Duret-Lutz  <adl@gnu.org>
2893         For PR automake/382:
2894         * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'.
2895         Explain BUILT_SOURCES is usually needed in this case.
2896         Reported by William S Fulton.
2898 2003-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
2900         Rename some files for the sake of 8+3 file systems.
2901         * tests/aclocali.test:     Rename to tests/aclocal.test.
2902         * tests/aclocali1.test:    Rename to tests/aclocal2.test.
2903         * tests/aclocalii.test:    Rename to tests/aclocal3.test.
2904         * tests/acoutput.test:     Rename to tests/acoutpt.test.
2905         * tests/acoutput2.test:    Rename to tests/acoutpt2.test.
2906         * tests/acouttbs.test:     Rename to tests/acoutbs.test.
2907         * tests/acouttbs2.test:    Rename to tests/acoutbs2.test.
2908         * tests/autoheader.test:   Rename to tests/autohdr.test.
2909         * tests/autoheader2.test:  Rename to tests/autohdr2.test.
2910         * tests/condincl.test:     Rename to tests/condinc.test.
2911         * tests/condincl2.test:    Rename to tests/condinc2.test.
2912         * tests/distcommon.test:   Rename to tests/distcom.test.
2913         * tests/distcommon2.test:  Rename to tests/distcom2.test.
2914         * tests/distcommon3.test:  Rename to tests/distcom3.test.
2915         * tests/installsh.test:    Rename to tests/instsh.test.
2916         * tests/installsh2.test:   Rename to tests/instsh2.test.
2917         * tests/instdata.test:     Rename to tests/instdat.test.
2918         * tests/instdata2.test:    Rename to tests/instdat2.test.
2919         * tests/libobj12b.test:    Rename to tests/libobj13.test.
2920         * tests/link_f_c.test:     Rename to tests/link_fc.test.
2921         * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test.
2922         * tests/link_f_cxx.test:   Rename to tests/link_fcxx.test.
2923         * tests/nodefine.test:     Rename to tests/nodef.test.
2924         * tests/nodefine2.test:    Rename to tests/nodef2.test.
2925         * tests/required.test:     Rename to tests/reqd.test.
2926         * tests/required2.test:    Rename to tests/reqd2.test.
2927         * tests/sourcesub.test:    Rename to tests/srcsub.test.
2928         * tests/sourcesub2.test:   Rename to tests/srcsub2.test.
2929         * tests/specflags.test:    Rename to tests/specflg.test.
2930         * tests/specflags2.test:   Rename to tests/specflg2.test.
2931         * tests/specflags3.test:   Rename to tests/specflg3.test.
2932         * tests/specflags6.test:   Rename to tests/specflg6.test.
2933         * tests/specflags7.test:   Rename to tests/specflg7.test.
2934         * tests/specflags8.test:   Rename to tests/specflg8.test.
2935         * tests/specflags9.test:   Rename to tests/specflg9.test.
2936         * tests/subdircond.test:   Rename to tests/subcond.test.
2937         * tests/subdircond2.test:  Rename to tests/subcond2.test.
2938         * tests/subdircond3.test:  Rename to tests/subcond3.test.
2939         * tests/texinfo.test:      Rename to tests/txinfo.test.
2940         * tests/texinfo2.test:     Rename to tests/txinfo2.test.
2941         * tests/texinfo3.test:     Rename to tests/txinfo3.test.
2942         * tests/texinfo4.test:     Rename to tests/txinfo4.test.
2943         * tests/texinfo5.test:     Rename to tests/txinfo5.test.
2944         * tests/texinfo6.test:     Rename to tests/txinfo6.test.
2945         * tests/texinfo7.test:     Rename to tests/txinfo7.test.
2946         * tests/texinfo8.test:     Rename to tests/txinfo8.test.
2947         * tests/texinfo9.test:     Rename to tests/txinfo9.test.
2948         * tests/texinfo10.test:    Rename to tests/txinfo10.test.
2949         * tests/texinfo13.test:    Rename to tests/txinfo13.test.
2950         * tests/texinfo16.test:    Rename to tests/txinfo16.test.
2951         * tests/texinfo17.test:    Rename to tests/txinfo17.test.
2952         * tests/texinfo18.test:    Rename to tests/txinfo18.test.
2953         * tests/Makefile.am (TESTS): Adjust.
2954         * ChangeLog.1996: Rename to ChangeLog.96.
2955         * ChangeLog.1998: Rename to ChangeLog.98.
2956         * ChangeLog.2000: Rename to ChangeLog.00.
2957         * ChangeLog.2001: Rename to ChangeLog.01.
2958         * Makefile.am (EXTRA_DIST): Adjust.
2959         Reported by Richard Dawe.
2961 2003-01-13  Richard Dawe  <rich@phekda.freeserve.co.uk>  (tiny change)
2963         * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames.
2964         Use '_build' and '_inst' instead of '=build' and '=inst'.
2965         * tests/man2.test: Reflect change automake: check for files in
2966         '_build' and '_inst' directories instead of '=build' and '=inst'.
2968 2003-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
2970         Use `_dirstamp' when the file-system doesn't support `.dirstamp'.
2971         * m4/lead-dot.m4: New file.
2972         * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4
2973         * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.:
2974         * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define
2975         DEPDIR using am__leading_dot.
2976         * automake.in (require_build_directory): Define am__dirstamp, a new
2977         variable for the dirstamp basename, based on am__leading_dot.
2978         * tests/subobj6.test: Move all `test -f' into Makefiles, so we can
2979         use $(am__dirstamp).
2980         Reported by Richard Dawe.
2982         * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test:
2983         Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when
2984         testing for programs.
2985         Reported by Richard Dawe.
2987 2003-01-10  Alexandre Duret-Lutz  <adl@gnu.org>
2989         * Makefile.am (maintainer-check): Suggest using $sleep instead of
2990         sleep 2.
2991         * tests/defs.in (sleep): New variable.
2992         * tests/asm.test, tests/confsub.test, tests/lisp3.test,
2993         tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test:
2994         Use $sleep instead of sleep 2, to work around timestamp
2995         inconsistencies in Windows.
2996         Reported by Richard Dawe.
2998         * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh
2999         after $MAKE -e.
3000         * tests/ansi3.test, tests/ansi5.test, tests/cond22.test,
3001         tests/man2.test, tests/subobj3.test, tests/suffix8.test,
3002         tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e.
3003         $SHELL is overridden by tests/defs, so it won't hurt even
3004         if $MAKE -e uses the $SHELL envvar.
3005         * tests/ansi.test, tests/insh2.test, tests/texinfo.test,
3006         tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh.
3007         Reported by Richard Dawe.
3009         Build elisp files all at once instead of one by one.
3010         * automake.in (handle_emacs_lisp): Define am__ELFILES.  Add
3011         elc-stamp to all's dependencies.
3012         * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files.
3013         (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist.
3014         (clean-lisp): Clean elc-stamp.
3015         * lib/elisp-comp: Reindent.  Erase the temporatry directory
3016         from a trap.  Propagate Emacs's exit status.
3017         * tests/lisp3.test: New file.
3018         * tests/Makefile.am (TESTS): Add lisp3.test.
3019         Reported by Ryan T. Sammartino.
3021 2003-01-09  Akim Demaille  <akim@epita.fr>
3023         * automake.texi: Prefer $(FOO) to @FOO@ in the documentation.
3025 2003-01-08  Alexandre Duret-Lutz  <adl@gnu.org>
3027         * m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious
3028         variables.  Suggested by Ryan T. Sammartino.
3030 2003-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
3032         * automake.in (macro_define): Add missing `{$cond}' (typo from
3033         2002-09-18).
3034         ($gen_copyright): Append year 2003.
3035         (version): Increase year.
3037         * tests/defs.in: Substitute aclocaldir instead of running
3038         the installed aclocal.  Otherwise Libtool and Gettext
3039         tests get skipped when aclocal doesn't preexist.
3040         Reported by Imacat.
3041         * tests/listval.test, tests/suffix2.test: Remove pointless -I
3042         argument to aclocal.
3044 -----
3046 Copyright (C) 2003  Free Software Foundation, Inc.
3048 This file is part of GNU Automake.
3050 GNU Automake is free software; you can redistribute it and/or modify
3051 it under the terms of the GNU General Public License as published by
3052 the Free Software Foundation; either version 2, or (at your option)
3053 any later version.
3055 GNU Automake is distributed in the hope that it will be useful,
3056 but WITHOUT ANY WARRANTY; without even the implied warranty of
3057 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3058 GNU General Public License for more details.
3060 You should have received a copy of the GNU General Public License
3061 along with autoconf; see the file COPYING.  If not, write to
3062 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3063 Boston, MA 02111-1307, USA.