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