* lib/texinfo.tex: New upstream version.
[automake.git] / ChangeLog
blob8828d17fc1f3b354588a578ff6707d64076f67cb
1 2004-04-25  Alexandre Duret-Lutz  <adl@gnu.org>
3         * lib/texinfo.tex: New upstream version.
5         * lib/depcomp (tru64): Clarify comments.  Thanks to Nicolas Joly.
7         * doc/automake.texi (Headers): Revamp.
9 2004-04-24  Alexandre Duret-Lutz  <adl@gnu.org>
11         * automake.in (check_typos): Clarify the diagnostic.
12         * tests/warnopts.test: Adjust.
14         * lib/Automake/VarDef.pm (append): Turn VAR_ASIS variables into
15         VAR_PRETTY variables to work around make implementation with
16         limited line length, such as OSF1/Tru64 make.
17         * tests/longline.test: New file.
18         * tests/Makefile.am (TESTS): Add it.
19         * tests/pluseq3.test, tests/pluseq8.test: Adjust.
20         Report from Simon Josefsson.
22         * lib/am/tags.am (TAGS): Pass `.' to Exuberant Ctags if
23         --etags-include is used but no other files are supplied, so it
24         creates the TAGS file anyway.
25         Report from Akim Demaille.
27         * lib/depcomp (tru64) [libtool]: Nicolas Joly reported on
28         2002-06-12 that dependencies were output in $dir.libs/$base.lo.d.
29         Teun Burgers reported on 2004-03-30 they were in
30         $dir.libs/$base.o.d.  Try both.
32 2004-04-23  Alexandre Duret-Lutz  <adl@gnu.org>
34         For PR automake/414:
35         Introduce option filename-length-max=99.
36         * doc/automake.texi (Options): Document it.
37         * configure.ac (AM_INIT_AUTOMAKE): Use it.
38         * lib/Automake/Options.pm (_process_option_list): Recognize it.
39         * automake.in (handle_dist): Set FILENAME_FILTER.
40         * lib/am/distdir.am (distdir) [FILENAME_FILTER]: Diagnose long
41         filenames.
42         * tests/fn99.test: New file.
43         * tests/Makefile.am (TESTS): Add fn99.test.
45 2004-04-20  Alexandre Duret-Lutz  <adl@gnu.org>
47         For PR automake/414:
48         Introduce options tar-v7, tar-ustar, and tar-pax to select
49         tar format.
50         * doc/automake.texi (Options): Document them.
51         * lib/Automake/Options.pm (_process_option_list): Process
52         these new options.
53         * lib/am/distdir.am (dist-gzip, dist-bzip2, dist-tarZ, dist,
54         distcheck): Adjust to use am__tar and am__untar.
55         * m4/tar.m4: New file.
56         * m4/Makefile.am (dist_m4data_DATA): Add tar.m4.
57         * m4/init.m4 (AM_INIT_AUTOMAKE): Support the new options
58         and call _AM_PROG_TAR.
59         * tests/tar.test, tests/tar2.test, tests/tar3.test: New files.
60         * tests/Makefile.am (TESTS): Add them.
62 2004-04-18  Alexandre Duret-Lutz  <adl@gnu.org>
64         * lib/am/distdir.am (distcheck): Typo in shar decompression.
66         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
67         versions.
69 2004-04-17  Alexandre Duret-Lutz  <adl@gnu.org>
71         Fix PR automake/49:
72         * automake.in (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Diagnose
73         calls to AC_CONFIG_AUX_DIR followings calls to AM_INIT_AUTOMAKE.
74         * tests/auxdir.test, tests/auxdir2.test, tests/lex5.test,
75         tests/mdate3.test, tests/multlib.test, tests/reqd2.test,
76         tests/symlink.test, tests/txinfo8.test, tests/txinfo22.test,
77         tests/yacc6.test, tests/yacc8.test: Fix to call AC_CONFIG_AUX_DIR
78         before AM_INIT_AUTOMAKE.
79         * tests/auxdir3.test: New file (exercise this diagnostic).
80         * tests/Makefile.am (TESTS): Add auxdir3.test.
82 2004-04-15  Alexandre Duret-Lutz  <adl@gnu.org>
84         * aclocal.in (%map_traced_defs): New variable.
85         (scan_m4_files): Normalize filenames.
86         (trace_used_macros): Trace for AC_DEFUN and AU_DEFUN, also
87         ask for the filename and the first argument.  Populate
88         %map_traced_defs.
89         (write_aclocal): Use $map_traced_defs to filter out unused
90         definitions.
91         * tests/acloca15.test: New file.
92         * tests/Makefile.am (TESTS): Add acloca15.test.
94 2004-04-12  Alexandre Duret-Lutz  <adl@gnu.org>
96         * automake.in ($automake_needs_to_reprocess_all_files): Remove.
97         ($automake_will_process_aux_dir): New variable.
98         (scan_autoconf_traces): Reorder @input_files so that the Makefile
99         that distributes aux files is processed last.  This way we do not
100         have to process all files twice using
101         $automake_will_process_aux_dir.
102         (require_file_internal): Suggest a full run of automake when
103         appropriate.
104         (MAIN): Remove the loop on $automake_needs_to_reprocess_all_files.
105         * tests/distcom7.test: New file.
106         * tests/reqd2.test: Do not check for the "running more than two"
107         message.
108         * tests/Makefile.am (TESTS): Add distcom7.test.
110         * automake.in (@config_aux_path, $config_aux_dir): Rename as ...
111         ($config_aux_dir, $am_config_aux_dir): ... these.
112         ($config_aux_dir_set_in_configure_in): Rename as ...
113         ($config_aux_dir_set_in_configure_ac): ... this.
114         (%require_file_found): Rename as ...
115         (%required_file_not_found): ... this.
116         (handle_languages, handle_texinfo_helper, handle_dist,
117         handle_configure, handle_emacs_lisp, handle_python,
118         scan_autoconf_traces, yacc_lex_finish_helper): Adjust to new names.
119         (scan_autoconf_traces): Call locate_aux_dir.
120         (locate_aux_dir): New function.
121         (@require_file_paths): Remove, not used anymore.
122         (require_file_internal): Look files in only one directory (instead
123         of @require_file_internal) passed in argument.
124         (require_file, require_conf_file): Pass the destination directory
125         to require_file_internal.
127         Fix for PR automake/416:
128         * m4/depend.m4 (_AM_DEPENDENCIES): Catch `not supported' ICC 8.0
129         remarks.
130         From Peter Seiderer.
132 2004-04-10  Andreas Buening  <andreas.buening@nexgo.de>
134         * aclocal.in, automake.in, configure.ac, Makefile.am,
135         tests/aclocal.in, tests/automake.in, tests/defs.in:
136         Use PATH_SEPARATOR from autoconf instead of ':'.
138 2004-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
140         * automake.in (handle_lib_objects): Pass the condition of
141         the variable definition to handle_LIBOBJS and handle_ALLOCA,
142         not the aggregated conditions.
143         * tests/Makefile.am (TESTS): Add libobj14.test.
144         * tests/libobj14.test: New file.
145         Report from Bill Davidson.
147 2004-04-02  Mike Nolta  <mike@nolta.net>
149         Better support for Fortran 9x.
150         * automake.in: Add "fc" and "ppfc" languages for Fortran 9x.
151         * doc/automake.texi (Fortran 9x Support): New section.
152         * lib/Automake/Variable.pm (%_ac_macro_for_var): Add AC_PROG_FC.
153         * tests/compile_f90_c_cxx.test: New file.
154         * tests/ext.test: Add AC_PROG_FC.
155         * tests/f90only.test: New file.
156         * tests/link_f90_only.test: New file.
157         * tests/Makefile.am (TESTS): Add new tests.
159 2004-04-01  Paul Eggert  <eggert@twinsun.com>
161         * lib/install-sh: If "mv -f" works, use it, and fall back to
162         the old "test -f" + "rm -f" + "mv" method only if "mv -f" does
163         not work.  This improves performance in the usual case where
164         "mv -f" works.  It also lets us install the "mv" command
165         without worrying about a small window where "mv" does not
166         exist (this problem was reported by Raul Nunez de Arenas
167         Coronado).
169 2004-03-26  Alexandre Duret-Lutz  <adl@gnu.org>
171         * m4/python.m4 (AM_PATH_PYTHON): Make sure am_display_PYTHON is
172         set when $PYTHON has been set by the user.
173         From Esben Haabendal Soerensen.
175 2004-03-22  Alexandre Duret-Lutz  <adl@gnu.org>
177         * doc/automake.texi (Default _SOURCES): Typo.
178         (true): Correct _'s placement in example.
179         Report from Stepan Kasal.
181 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
183         Overriding JAVAROOT is legitimate, do not warn about it.
184         * lib/Automake/Variable.pm (%_silent_variable_override): Add JAVAROOT.
185         * tests/java2.test: Run automake without -Wno-override.
186         Report from Simon Josefsson.
188 2004-03-14  Alexandre Duret-Lutz  <adl@gnu.org>
190         * automake.in (handle_texinfo_helper): Typos in comment.
192 2004-03-07  Alexandre Duret-Lutz  <adl@gnu.org>
194         * lib/config.guess: New upstream version.
196         Fix for PR automake/285:
197         * automake.in (handle_ltlibraries): Keep track of installation
198         directories for each condition, then define a $(am_TARGET_rpath)
199         variable to hold the -rpath flags of Libtool libraries conditionally
200         installed in different directories.
201         * lib/Automake/DisjConditions.pm (merge): New function.
202         * tests/libtool6.test: Adjust.
203         * tests/libtool8.test: New file.
204         * tests/Makefile.am (TEST): Add libtool8.test.
206         * lib/Automake/Variable.pm (traverse_recursively,
207         _do_recursive_traversal): Honor the skip_ac_subst option.
208         * automake.in (handle_dist): Use skip_ac_subst.
210 2004-02-29  Alexandre Duret-Lutz  <adl@gnu.org>
212         * Makefile.am (cvs-release): Upload to ~ftp/pub/automake, not
213         ~ftp/automake.
214         * lib/gnupload (Example): Update example.
216         * lib/config-ml.in, lib/config.guess, lib/config.sub,
217         lib/texinfo.tex: New upstream versions.
219         * m4/depend.m4 (_AM_DEPENDENCIES): Use `touch' rather than `: >'
220         to create numbered dependencies.  This fixes a portability issue
221         when CONFIG_SHELL is forced to /bin/sh on Solaris 8.
222         Reported by Mark Phillips.
224         * automake.in (lang_yacc_target_hook): Use Automake::Rule::define
225         so that rules for the same headers are not output twice.
226         * lib/Automake/Variable.pm (value_as_list_recursive): Do not
227         call `return' inside `map'.
228         * tests/cond30.test: Make sure `a.c' and `b.c' both appear
229         in the Makefile.in.
230         * tests/cond35.test, tests/cond36.test: New files.
231         * tests/Makefile.am (TESTS): Add cond35.test and cond36.test.
232         Report from Roman Fietze.
234         Fix for PR/413:
235         * lib/am/distdir.am (distcheck): Create $dc_destdir with `umask
236         077 && mkdir' instead of `$(mkdir_p)'.  This prevents possible
237         symlink attacks reported by Stefan Nordhausen.
239 2004-02-16  Alexandre Duret-Lutz  <adl@gnu.org>
241         * doc/automake.texi (Multiple Outputs): More text, based on
242         comments from Eric Siegerman, Tim Van Holder, and Oren Ben-Kiki.
244 2004-02-15  Alexandre Duret-Lutz  <adl@gnu.org>
246         * m4/mkdirp.m4: Use `mkdir -p' only with GNU mkdir, because
247         Solaris 8's mkdir is not thread-safe.
248         * lib/mkinstalldirs: Likewise.
249         * lib/install-sh: Abort when mkdir fails to create a directory.
250         Report from Nathanael Nerode.
252 2004-02-07  Alexandre Duret-Lutz  <adl@gnu.org>
254         * aclocal.in (rel2abs): New function.
255         (scan_configure_dep): Use rel2abs instead of File::Spec->rel2abs,
256         the later does was introduced in Perl 5.6 so using it breaks with
257         Perl 5.005.
258         Report from Werner John.
260 2004-02-03  Alexandre Duret-Lutz  <adl@gnu.org>
262         * doc/automake.texi (Future of aclocal): Make clearer that
263         it's ok to install macros into /usr/share/aclocal/.
265 2004-02-01  Alexandre Duret-Lutz  <adl@gnu.org>
267         * tests/lisp.test: Delete (pointless).
268         * tests/Makefile.am (TESTS): Remove lisp.test.
270         * lib/Automake/Variable.pm (transform_variable_recursively):
271         Define rewritten variables in all conditions not *covered* by user
272         definitions, not simply in conditions without a previous
273         definition.
274         * tests/cond34.test: New file.
275         * tests/Makefile.am (TESTS): Add cond34.test.
276         Report from Elena A. Vengerova
278         * doc/automake.texi (Multiple Outputs): Typo.
280         * doc/automake.texi (Emacs Lisp): Typos.
282         Support for conditional _LISP.
283         * automake.in (handle_emacs_lisp): Define $(ELCFILES) from LISP, not
284         from $(am__ELCFILES).
285         * lib/am/lisp.am (elc-stamp): Use $(LISP) instead of $(am__ELFILES).
286         * tests/lisp6.test: New file.
287         * tests/Makefile.am (TESTS): Add it.
289         * automake.in (handle_emacs_lisp): Define $(ELCFILES) as
290         $(am__ELCFILES), and always push it on @all.  Do not mention
291         elc-stamp.
292         * lib/am/lisp.am (.el.elc): Rewrite as ...
293         ($(am__ELCFILES)): ... this, and depend on elc-stamp.
294         (elc-stamp): Make sure elc-stamp is older that all .elc files, as
295         explained in the manual entry below.
297         * doc/automake.texi (Multiple Outputs): New node.
299 2004-01-31  Alexandre Duret-Lutz  <adl@gnu.org>
301         * m4/regex.m4: Do not AC_SUBST(LIBOBJS), and quote most arguments.
302         * tests/regex.test: New file.
303         * tests/Makefile.am (TESTS): Add regex.test.
305 2004-01-28  Alexandre Duret-Lutz  <adl@gnu.org>
307         * Makefile.am (maintainer-check): Check for unquoted $(DESTDIR) uses.
308         * lib/am/data.am, lib/am/distdir.am, lib/am/java.am, lib/am/libs.am,
309         lib/am/lisp.am, lib/am/ltlib.am, lib/am/mans.am, lib/am/progs.am,
310         lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Quote
311         installation paths in install, uninstall, and installcheck rules,
312         as well as in am__installdirs variables.  This is for the sake
313         of paths containing spaces.
314         * lib/am/install.am (installdirs-am, installdirs): Do not try
315         to create "" directories.
316         * test/instspc.test: New file.
317         * test/Makefile.am (TESTS): Add instspc.test.
318         Report from James Amundson.
320         * doc/automake.texi (Not Enough, Third-Party Makefiles): New nodes.
321         (Extending): Make it a subsection of Not Enough.
323         * lib/gnupload (GPG): Use an absolute path.  Suggestion from Gary
324         V. Vaughan.
325         (passphrase): Unset it this variable before using it, in case it
326         was exported.  Report from Scott James Remnant.
328 2004-01-25  Alexandre Duret-Lutz  <adl@gnu.org>
330         * lib/gnupload (usage): Fix example.
331         * Makefile.am (cvs-release): Fix call to gnupload.
332         From Jim Meyering.
334 2004-01-24  Alexandre Duret-Lutz  <adl@gnu.org>
336         * lib/gnupload: New script.
337         * lib/Makefile.am (EXTRA_DIST): Distribute gnupload.
338         * Makefile.am (cvs-release): New target.
340 2004-01-23  Alexandre Duret-Lutz  <adl@gnu.org>
342         * lib/am/python.am (uninstall-%DIR%PYTHON): Remove extra `;'s.
343         Fix python10.test.
345         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use `s/xx//p'
346         instead of `/xx/ s///p'; the latter fails when GNU sed is run with
347         POSIXLY_CORRECT.  Also strip superfluous -e.
348         Report from Miloslav Trmac.
350 2004-01-22  Alexandre Duret-Lutz  <adl@gnu.org>
352         * tests/lex5.test: Sleep before calling AUTOMAKE the second time,
353         this fixes a spurious failure reported by Andreas Schwab.  Also
354         make sure ylwrap is not installed unless needed, and exercise
355         --no-force.
357 2004-01-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
359         * doc/automake.texi (Dist): Document limitations of distcheck-hook
360         and DISTCHECK_CONFIGURE_FLAGS with regard to subdirs and
361         subpackages.
363 2004-01-20  Alexandre Duret-Lutz  <adl@gnu.org>
365         * doc/automake.texi (Upgrading): New node.
367 2004-01-20  Gary V. Vaughan  <gary@gnu.org>
369         * automake.in (scan_autoconf_traces): AC_LIBTOOL_TAGS can be
370         correctly called without arguments as evidenced by the libtool
371         demo directories.
373 2004-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
375         * tests/conflnk3.test: Skip if `test -e' does not work.
376         Report from Lars Hecking.
378 2004-01-13  Jim Meyering  <jim@meyering.net>
380         * lib/install-sh: Change `\n \t' to `\n\t ' in `defaultIFS'
381         assignment.  Remove spurious SPACEs before TABs.
383 2004-01-12  Alexandre Duret-Lutz  <adl@gnu.org>
385         * lib/py-compile: Check input files after option processing.
386         Ensure --basedir has an argument.
387         * lib/am/python.am (install-%DIR%PYTHON): Do not run py-compile
388         if nothing was installed.
389         * tests/python10.test: New file.
390         * tests/Makefile.am (TESTS): Add python10.test.
391         Suggested by Sander Niemeijer.
393         * tests/txinfo29.test: Remove autom4te.cache.
394         Report from Greg Schafer.
396         * lib/install-sh: Do not use "$@" in a context where it may be empty,
397         for the sake of OSF1/Tru64's shell.
398         Report from He Li.
400 2004-01-11  Alexandre Duret-Lutz  <adl@gnu.org>
402         * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
403         versions.
405         * m4/as.m4, m4/depend.m4, m4/maintainer.m4, m4/multi.m4: Update
406         copyright years and serial.
408         * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.4.
410 2004-01-10  Peter Eisentraut  <peter_e@gmx.net>  (tiny change)
412         * m4/as.m4 (AM_PROG_AS): Format and align help string more
413         consistently.
414         * m4/depend.m4 (AM_DEP_TRACK): Likewise.
415         * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
416         * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
417         * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise.
419 2004-01-10  Paul Eggert  <eggert@twinsun.com>
421         * m4/lispdir.m4 (AM_PATH_LISPDIR): Don't use \? in sed regular
422         expressions; it doesn't conform to POSIX.
424 2004-01-10  Alexandre Duret-Lutz  <adl@gnu.org>
426         * automake.in (shadow_unconditionally): New function...
427         (handle_source_transform): ... extracted from here.
428         (am_install_var): Use shadow_unconditionally to define %DISTVAR%.
429         * lib/am/data.am, lib/am/java.am, lib/am/lisp.am, lib/am/python.am,
430         lib/am/script.am: Add %DISTVAR% to DIST_COMMON.
431         * tests/cond33.test: Make sure all conditional files are distributed.
432         Report from Ralf Corsepius.
434 2004-01-08  Alexandre Duret-Lutz  <adl@gnu.org>
436         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Append `.' to $(mkdir_p).
437         * lib/install-sh: Accept `install-sh -d' with 0..n arguments,
438         as well as `install-sh sources... dest' with multiple sources.
439         * tests/cond33.test: New file.
440         * tests/instsh2.test: Add more checks for install-sh.
441         * tests/transform.test: Test for installdirs.
442         * tests/Makefile.am (TESTS): Add cond33.test
443         Report from Ralf Corsepius.
445         * automake.in (handle_configure): Skip AC_CONFIG_LINKS items which
446         do not look like DEST:SRC.
447         * tests/conflnk3.test: Check for AC_CONFIG_LINKS($computed).
449 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
451         Fix for PR automake/289:
452         * automake.in (Automake::Struct::libtool_tag): New attribute.  Define
453         it for the language that have a Libtool tag.
454         (%libtool_tags): New variable.
455         (handle_languages, define_compiler_variable)
456         (define_linker_variable): Pass --tag=XXX to libtool if supported.
457         (scan_autoconf_traces): Scan for _LT_AC_TAGCONFIG and AC_LIBTOOL_TAGS.
458         * tests/libtool3.test, tests/subobj9.test: Check that --tag=XXX is
459         output.
461 2003-01-07  Eric Sunshine  <sunshine@sunshineco.com>  (tiny change)
463         * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
464         config.status.lineno.
466 2004-01-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
468         * doc/automake.texi (Rebuilding): Typo.
470 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
472         * lib/am/Makefile.am (dist_am_DATA): Really add inst-vars.am.
474 2004-01-06  Alexandre Duret-Lutz  <adl@gnu.org>
476         * THANKS: Add Bruce Korb.
478 2004-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
480         Mimic Paul Eggert's changes to Autoconf.
481         * Makefile.am (automake, aclocal): Use `chmod a-w', not `chmod -w'.
482         * lib/Automake/Makefile.am (Config.pm): Likewise.
483         * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Likewise.
485         * lib/am/inst-vars.am: New file, define am__vpath_adj_setup,
486         am__vpath_adj, and am__strip_dir.
487         * lib/am/Makefile.am (dist_am_DATA): Add inst-vars.am.
488         * lib/am/data.am, lib/am/lisp.am, lib/am/python.am,
489         lib/am/scripts.am: Include inst-vars.am, and use $(am__vpath_adj),
490         $(am__vpath_adj_setup), and $(am__strip_dir) in install and
491         uninstall rules.  This fixes installation of nobase_ files in
492         VPATH setups with Sun and OSF1/Tru64 Make.
493         * lib/am/libs.am, lib/am/ltlib.am: Include inst-vars.am, and use
494         $(am__strip_dir) to simplify install and uninstall rules.
495         * tests/nobase.test: Augment to check installation from VPATH builds.
497         * automake.in (%transformed_files): New variable.
498         (initialize_per_input): Reset it.
499         (make_paragraphs): Fill %transformed_files, and define %FIRST%
500         each time a file is transformed for the first time.
501         (handle_configure): Do not define %FIRST_CONFIG_HIN%.
502         (am_install_var): Do not define %FIRST%.
503         * lib/am/remake-hdr.am: Use %?FIRST% instead of %?FIRST_CONFIG_HIN%.
505 2004-01-04  Alexandre Duret-Lutz  <adl@gnu.org>
507         * lib/texinfo.tex: New upstream version.
509         * m4/mkdirp.m4: Do not use `-m 0755'.  This overrides special bits
510         and break setups where 775 directories are expected.  Just obey
511         umask as we did in the past.
512         Report from Harlan Stenn.
514 2004-01-03  Alexandre Duret-Lutz  <adl@gnu.org>
516         * automake.in (scan_texinfo_file): Do not compare $outfile to ''
517         as $outfile might not be defined at all.
519         * lib/Automake/Variable.pm (define): Rework the way we check
520         Automake variable definition.  Ensure consistent :=/+=/=
521         definitions only for variables that have been and are defined by
522         Automake, and make it an internal error.  Ignore Automake
523         attempts to touch a user variable, even with += assignments.
524         * tests/txinfo29.test: New file.
525         * tests/Makefile.am (TESTS): Add txinfo29.test.
526         Reported by Bruce Korb.
528 2004-01-02  Tom Tromey  <tromey@redhat.com>
530         * automake.in (handle_source_transform): Don't generate dist
531         variables when no-dist is set.
532         (generate_makefile): Likewise.
533         * tests/nodist3.test: Ensure that DIST_SOURCES is not created,
534         and that dist target does not exist.
535         Reported by Tom Fitzsimmons.
537 2004-01-02  Alexandre Duret-Lutz  <adl@gnu.org>
539         * tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
540         * tests/ltconv.test: Run automake with --add-missing, because
541         the CVS version of libtoolize no longer install config.sub and
542         config.guess by default.
544         Fix for PR automake/319:
545         * aclocal.in (scan_m4_files): Scan configure.ac.
546         (trace_used_macros, write_aclocal): Remove configure.ac from the
547         list of files to include.
548         * tests/Makefile.am (TESTS): Add acloca15.test.
549         * tests/acloca15.test: New file.
551         * aclocal.in (%file_includes): New variable.
552         (scan_configure_dep): Compile $m4_include_rx and $ac_require_rx once.
553         (scan_file): Scan for included files, and process these files
554         recursively.  Fill %file_includes and %file_contents.  Return the
555         list of included files, not the contents.
556         (scan_m4_files): Adjust calls to scan_files.
557         (strip_redundant_includes): New function.
558         (trace_used_macros): Call it.
559         (write_aclocal): Likewise.  Also check the mtime of included files.
560         * tests/Makefile.am (TESTS): Add acloca14.test.
561         * tests/acloca14.test: New file.
562         Report from Phil Edwards.
564 2004-01-01  Alexandre Duret-Lutz  <adl@gnu.org>
566         * automake.in (handle_languages): Do not define DEP_FILES.
567         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Extract included
568         files with $(DEPDIR) in their name instead of DEP_FILES.
569         * tests/depend.test, tests/depend4.test, tests/exsource.test:
570         Adjust.
571         Suggested by Tom Tromey.
573         Do not output .lo rules for programs and static libraries objects,
574         and do not output .o/.obj rules for libtool libraries.  This is
575         about explicit rules only, not inference rules.
576         * automake.in (handle_single_transform_list): Rename as ...
577         (handle_single_transform): ... this.  Take a single file
578         to transform (it was only called this way) and accept a new
579         %transform argument.  Fill %lang_specific_files with list
580         references instead of strings, and append %transform to each
581         of these lists.
582         (define_objects_from_sources, handle_source_transform):
583         Take a %transform argument, and forward it to &handle_single_transform.
584         (handle_languages): Adjust to the new format of
585         %lang_specific_files, and honor its %transform part.
586         (handle_programs, handle_libraries, handle_ltlibraries): Override
587         %NONLIBTOOL% and %LIBTOOL% while calling handle_source_transform.
588         (make_paragraphs): Define %NONLIBTOOL% by default.  Make sure
589         %transform settings override global settings.
590         * lib/am/depend2.am (%OBJ%, %OBJOBJ%): Define only if %NONLIBTOOL%.
591         * tests/libtool3.test: Augment to check Makefile.ins for unneeded
592         rules.
593         Suggested by Thomas Fitzsimmons.
595         * automake.in, aclocal.in: Bump copyright years.
597 2003-12-31  Alexandre Duret-Lutz  <adl@gnu.org>
599         * automake.in (generate_makefile): Update misleading comment.
601         * automake.in (handle_languages): Define %DEPBASE% conditionally
602         on subdir-objects.  Define SUBDIROBJ.  Do not clean *_.c files
603         here ...
604         (lang_c_finish): ... do it here.
605         (handle_single_transform_list): Do not output specific rules for
606         subdir-objects files which are not renamed.  This should reduce
607         the size of Makefiles with lots of subdirectory sources.
608         * lib/depcomp: Simplify computation of dependency output, and use
609         DEPDIR.
610         * lib/am/depend2.am (%EXT%.o, %EXT%.obj, %EXT%.lo): Adjust call
611         to depcomp.  Compute depbase on-the-fly in generic fastdep rules
612         for subdir-objects.
613         * tests/ansi9.test: Do not grep for an explicit rule that
614         we no longer expect.  Really run $MAKE to make sure the chain
615         of rules works.
616         * tests/yacc5.test: Do not grep for an explicit rule that
617         we no longer expect.  Adjust to use set -e.
619 2003-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
621         * automake.in (@common_files): Move configure, configure.ac, and
622         configure.in ...
623         (@common_sometimes): ... here so that these files do not appear
624         twice in DIST_COMMON.
626         * automake.in (maybe_push_required_file): Add $(srcdir) in front
627         a required files outside the current directory or its subdirectories.
628         * lib/am/distdir.am (distdir): Update comment.
629         Report from Nicolas Joly.
631 2003-12-26  Alexandre Duret-Lutz  <adl@gnu.org>
633         * doc/automake.texi (@copying): Do not repeat the version.
634         (Top): Use @insertcopying.  Add a @detailmenu, this works around
635         Emacs 21's inability to lookup indices in sub-nodes (reported
636         by Kevin Ryde).
637         (C++ Support, Assembly Support, Fortran 77 Support, Java Support,
638         Support for Other Languages, Preprocessing Fortran 77, Compiling
639         Fortran 77 Files, Mixing Fortran 77 With C and C++, How the Linker
640         is Chosen): Add missing descriptions in menus.
641         (Fortran 77 and Autoconf): Remove, this node was just saying "use
642         Autoconf 2.53 or greater".
644 2003-12-26  Santiago Vila  <sanvila@unex.es>  (tiny change)
646         * NEWS: s/Gettext 1.12.1/Gettext 0.12.1/
648 2003-12-25  Nicolas Joly  <njoly@pasteur.fr>  (tiny change)
650         * doc/automake.texi (Conditional Sources): Typo.
652 2003-12-25  Alexandre Duret-Lutz  <adl@gnu.org>
654         * lib/Automake/Config.in: Require Exporter.
655         Report from Kevin Ryde (failure with Perl 5.005_03).
657 2003-12-15  Alexandre Duret-Lutz  <adl@gnu.org>
659         * tests/aclocal6.test: Check for autom4te.cache only if it has
660         been created.
661         * tests/maintclean.test: Update comment.
662         Report from Bruno Haible.
664         * tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
665         Require texi2dvi-o.
666         Report from Václav Haisman.
668 2003-12-10  Alexandre Duret-Lutz  <adl@gnu.org>
670         * configure.ac, NEWS: Bump version to 1.8a.
672         * configure.ac, NEWS: Bump version to 1.8.
674         * lib/texinfo.tex: New upstream version.
676         * Makefile.am (INSTALL): Copy the source from $(srcdir).
678 2003-12-09  Alexandre Duret-Lutz  <adl@gnu.org>
680         * lib/Automake/Rule.pm (define): Remove debugging traces.
681         Report from Akim Demaille.
683 2003-12-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
684             Alexandre Duret-Lutz  <adl@gnu.org>
686         * Makefile.am (do_subst): Fix the substitution of @configure_input@.
687         (automake, aclocal): Create the output atomically and make it
688         read-only, as done in the Autoconf package.
689         * lib/Automake/Makefile.am (do_subst): Fix the substitution of
690         @configure_input@.
691         (Config.pm): Create the output atomically and make it read-only.
692         * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Substitute
693         @configure_input@ and make the output read-only.
694         * lib/Automake/Config.in, m4/amversion.in, tests/aclocal.in,
695         tests/automake.in, tests/defs.in: Add a @configure_input@ line.
697 2003-12-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
699         * doc/automake.texi (Local Macros, CVS): Typos.
701 2003-12-08  Alexandre Duret-Lutz  <adl@gnu.org>
703         * lib/Automake/Variable.pm (hook): Use $$ as prototype, not $\&.
704         Perl 5.6.0 will not accept a reference sub reference for the
705         latter.
706         * automake.in (var_SUFFIXES_trigger): Adjust registration via
707         Automake::Variable::hook.
708         (handle_texinfo_helper): Make sure `inner_expand => 1' appears
709         on one line, so that Perl 5.6.0 does not complain about
710         inner_expand being a bare identifier.
712 2003-12-05  Alexandre Duret-Lutz  <adl@gnu.org>
714         * aclocal.in (check_acinclude, scan_file): Output `warning:' in
715         front of warnings.
716         Report from Pavel Roskin.
718 2003-12-04  Alexandre Duret-Lutz  <adl@gnu.org>
720         * TODO: Remove some old entries.
722         * doc/automake.texi (Rebuilding): Document CONFIGURE_DEPENDENCIES
723         and CONFIG_STATUS_DEPENDENCIES.  Move this sections later
724         in the manual since it's pretty advanced material.
726         * automake.in ($config_header_location): Remove.  Use
727         %ac_config_files_location instead.
728         (rewrite_inputs_into_dependencies): Do not prepend $(top_builddir)/
729         at the top-level.
730         (handle_configure): Use rewrite_inputs_into_dependencies to
731         distribute and compute AC_CONFIG_HEADERS dependencies.
732         (scan_autoconf_traces) <AC_CONFIG_HEADERS>: Fill
733         %ac_config_files_location.
734         * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Rename as ...
735         (%CONFIG_HIN%): ... this.  $(srcdir) is already added in
736         scan_autoconf_traces.
737         * tests/Makefile.am (TESTS): Add confh5.test.
738         * tests/confh5.test: New file.
740         * tests/ltlibsrc.test: Fix the zoo_d_old2_la.c rule in Makefile.am,
741         $< is not portable and the source is in $(srcdir).
743 2003-12-03  Paolo Bonzini  <bonzini@gnu.org>
744             Alexandre Duret-Lutz  <adl@gnu.org>
746         * automake.in (handle_configure): Do not require link sources if
747         they contain a dollar, or if they were built.  Likewise, do not
748         clean link destination if they contain a dollar.
749         (scan_autoconf_traces) <AC_CONFIG_LINKS>: Populate
750         %ac_config_files_location with link destinations.  Do not
751         store locations in @config_links, now that %ac_config_files_location
752         have them.
753         * tests/conflnk3.test: New file.
754         * tests/Makefile.am (TESTS): Add conflnk3.test.
756 2003-12-02  Alexandre Duret-Lutz  <adl@gnu.org>
758         * configure.ac, NEWS: Bump version to 1.7i.
760         * configure.ac, NEWS: Bump version to 1.7h.
762         * doc/automake.texi (Default _SOURCES): Fix reference to true.
764         * lib/texinfo.tex: New upstream version.
766 2003-11-30  Alexandre Duret-Lutz  <adl@gnu.org>
768         * automake.in (handle_source_transform): If it's present, use
769         libfoo_la.c instead of libfoo.c as the default source of
770         libfoo.la, and issue an -Wobsolete diagnostic.  Do not be
771         greedy in the suffix replacement regex.
772         * doc/automake.texi (Default _SOURCES): New node.
773         (Program Sources, Libtool Modules): Refer to it.
774         * tests/ltlibsrc.test: Update to check for old default source files.
776 2003-11-30  Gary V. Vaughan  <gary@gnu.org>
778         * automake.in (&handle_source_transform): Calculate a default file
779         for use in the absence of an appropriate _SOURCES declaration by
780         first stripping any suffix from the unxformed target name, and
781         appending `.c'.
782         * doc/automake.texi (Program Sources, Libtool Modules): Document this.
783         * tests/ltlibsrc.test: New file.
784         * tests/Makefile.am (TESTS): Add ltlibsrc.test.
786 2003-11-29  Alexandre Duret-Lutz  <adl@gnu.org>
788         * lib/Automake/Variable.pm (loc_and_value_as_list_recursive,
789         _value_as_list_recursive_worker): Merge into ...
790         (value_as_list_recursive): ... this function.  Pass options
791         as a hash argument, and use the `location' option to trigger
792         the behavior of loc_and_value_as_list_recursive.
793         (traverse_recursively, transform_variable_recursively): Take
794         options as a %options argument.
795         (_do_recursive_traversal): Perform expansion of inner variables
796         (as in `$(FILE).ext') on request.
797         * automake.in (handle_options, check_libobjs_sources)
798         (handle_source_transform, handle_LIBOBJS, handle_ltlibraries)
799         (handle_ltlibraries, handle_man_pages, handle_dist)
800         (handle_gettext, am_install_var): Adjust usage of
801         value_as_list_recursive.
802         (handle_texinfo_helper): Pass inner_expand to
803         value_as_list_recursive.
804         * tests/txinfo28.test: New file.
805         * tests/Makefile.am (TESTS): Add txinfo28.test.
806         Report from Ralf Corsepius.
808         * lib/Automake/Variable.pm (_do_recursive_traversal): Do not
809         update @_substfroms and @_substfroms for undefined variables.
810         * tests/substre2.test: New file.
811         * tests/Makefile.am (TESTS): Add substre2.test.
813         * lib/Automake/VarDef.pm (value): Rename as ...
814         (raw_value): ... this.
815         (value): New method, strip # and \\\n.
816         (dump): Use raw_value.
817         * lib/Automake/Variable.pm (output): Use raw_value.
818         (value_as_list): Simplify, now that backslash and comments
819         are already removed.
820         * tests/txinfo22.test: Make sure Automake isn't confused
821         by comments in variables.
823 2003-11-27  Alexandre Duret-Lutz  <adl@gnu.org>
825         * doc/automake.texi: More target vs. rule editing.  Back out some
826         of the previous changes.  It's OK to talk about targets as "entry
827         points", or as thing to build, but targets cannot be run: rules
828         are run.
830         * doc/automake.texi: s/target/rule/ where appropriate.  A target
831         is the destination of a target rule, not the rule itself.
832         Suggested by Bruno Haible.
834 2003-11-25  Alexandre Duret-Lutz  <adl@gnu.org>
836         * configure.ac, NEWS: Bump version to 1.7g.
838         * configure.ac, NEWS: Bump version to 1.7f.
840         * automake.in (prepend_srcdir): Parenthesize @inputs to remove
841         a maintainer-check warning.
842         * tests/subst2.test: Rewrite the $MAKE invocation to please
843         maintainer-check.
845         * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
846         versions.
848         * doc/automake.texi (Program variables): Mention per-target
849         _CPPFLAGS in the documentation of INCLUDES.
850         * automake.in (generate_makefile): Likewise in the INCLUDES diagnostic.
851         Report from Bob Friesenhahn.
853         * doc/automake.texi (Extending): Elaborate on overriding.
854         * NEWS: Likewise.
855         Suggested by Bruno Haible.
857 2003-11-24  Alexandre Duret-Lutz  <adl@gnu.org>
859         * lib/Automake/Variable.pm (output): Add $(am__empty) to variable
860         definitions that end with a line full of @substitutions@ that
861         would confuse HP-UX Make if it were blank.
862         (transform_variable_recursively): Make sure not to erase empty
863         variables.
864         * tests/Makefile.am (TESTS): Add subst2.test.
865         * tests/subst2.test: New file.
866         Report from Harlan Stenn.
868         * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Work around a
869         Texinfo 4.1 bug.
870         Report from Dalibor Topic.
872 2003-11-22  Alexandre Duret-Lutz  <adl@gnu.org>
874         Fix for PR automake/411:
875         * automake.in (rewrite_inputs_into_dependencies): Simplify, and rename
876         into ...
877         (prepend_srcdir): ... this.
878         (rewrite_inputs_into_dependencies): New function, extracted from ...
879         (handle_configure): ... here.  Adjust to use prepend_srcdir
880         or rewrite_inputs_into_dependencies where needed.  Especially,
881         using (the new) rewrite_inputs_into_dependencies to compute
882         Makefile dependencies will fix PR/411.
883         * lib/am/configure.am (DIST_COMMON): Remove %MAKEFILE-IN%, it's
884         already distributed by rewrite_inputs_into_dependencies.
885         * tests/Makefile.am (TESTS): Add output10.test, remove distcom.test.
886         * tests/colon3.test: Use set -e.  Don't allow any AUTOMAKE
887         invocation refer to zardoz.  Make sure two.in and three.in
888         appear as $(srcdir)/two.in and $(srcdir)/three.in dependencies.
889         * tests/distcom.test: Delete.  This is covered by tests/output9.test.
890         * tests/output10.test: New file, for PR/411.
892 2003-11-21  Alexandre Duret-Lutz  <adl@gnu.org>
894         * automake.in (append_exeext): Do not append $(EXEEXT) to
895         @substitutions@.
896         * tests/exeext4.test: New file.
897         * tests/Makefile.am (TESTS): Add exeext4.test.
899 2003-11-19  Alexandre Duret-Lutz  <adl@gnu.org>
901         * lib/am/configure.am (%MAKEFILE%): Remove %MAINTAINER-MODE%,
902         mistakenly added on 2001-03-05.
903         * tests/remake5.test: New file.
904         * tests/Makefile.am (TESTS): Add remake5.test.
905         Report from Ralf Corsepius.
907 2003-11-18  Alexandre Duret-Lutz  <adl@gnu.org>
909         * configure.ac, NEWS: Bump version to 1.7e.
911         * configure.ac, NEWS: Bump version to 1.7d.
913         * lib/config.sub, lib/config.guess, lib/texinfo.tex: New
914         upstream versions.
916 2003-11-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>  (tiny change)
917             Alexandre Duret-Lutz  <adl@gnu.org>
919         * lib/am/texinfos.am (install-info): Depend on
920         install-info-recursive or install-info-am even if no-installinfo.
921         * tests/txinfo27.test: New file.
922         * tests/Makefile.am (TESTS): Add txinfo26.test.
924 2003-11-18  Paolo Bonzini  <bonzini@gnu.org>
925             Alexandre Duret-Lutz  <adl@gnu.org>
927         * lib/ylwrap: Do not overwrite headers if they haven't changed.
928         Fix the include guard substitution.
929         * tests/yacc6.test: Augment to run ylwrap, and make sure it
930         does not needlessly update headers.
931         * tests/yacc8.test: Make sure headers are not needlessly updated
932         with ylwrap is not used.  Move `test -f foo.o' into the
933         Makefile as `test -f foo.$(OBJEXT)' for portability.
935 2003-11-17  Alexandre Duret-Lutz  <adl@gnu.org>
937         * automake.in (generate_makefile): Define SUBDIRS if it is
938         not defined and DIST_SUBDIRS is.
939         * tests/subpkg2.test: New file.
940         * tests/Makefile.am (TESTS): Add subpkg2.test.
941         Report from Gary V. Vaughan.
943         * tests/suffix11.test: Check for suffixes containing `-'.
944         * lib/Automake/Rule.pm ($_SUFFIX_RULE_PATTERN): Accept `-' in
945         suffixes.
947         * lib/Automake/Rule.pm (define): Suggest using target-local instead
948         of target-am, not target-am-local.
949         * tests/overrid.test: Check the diagnostic for clean-am.
950         Report from Bruno Haible.
952 2003-11-17  Jim Meyering  <jim@meyering.net>
954         * bootstrap: Require not only that `perl' have the executable
955         bit set, but also that it is not a directory.
957         * lib/am/configure.am: Mark %MAKEFILE% as `.PRECIOUS'.
959 2003-11-17  Alexandre Duret-Lutz  <adl@gnu.org>
961         * automake.in (ac_config_files_location): Declare as a hash.
962         (handle_configure): Rewrite the computation of AC_CONFIG_FILES
963         dependencies; make sure we don't use $(srcdir) or $(top_srcdir)
964         for inputs which are also outputs, and do not check inputs
965         relatively to the current directory.
966         (scan_autoconf_config_files): Take $where as argument, and
967         fill $ac_config_files_location.
968         * tests/output8.test, tests/output9.test: New files.
969         * tests/Makefile.am (TESTS): Add output8.test and output9.test.
970         Report from Bruno Haible.
972 2003-11-14  Alexandre Duret-Lutz  <adl@gnu.org>
974         * tests/aclibobj.test, tests/aclocal.test, tests/aclocal3.test,
975         tests/acoutbs.test, tests/acoutbs2.test, tests/acoutnoq.test,
976         tests/acoutpt.test, tests/acoutpt2.test, tests/acoutqnl.test,
977         tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test,
978         tests/all.test, tests/alpha.test, tests/amassign.test,
979         tests/ammissing.test, tests/ansi.test, tests/ansi10.test,
980         tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
981         tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
982         tests/ansi7.test, tests/ansi9.test, tests/ar.test,
983         tests/autohdr.test, tests/autohdr2.test, tests/auxdir.test,
984         tests/auxdir2.test, tests/backsl.test, tests/backsl2.test,
985         tests/badprog.test, tests/block.test, tests/canon2.test,
986         tests/canon3.test, tests/canon4.test, tests/canon5.test,
987         tests/ccnoco.test, tests/check.test, tests/check2.test,
988         tests/check3.test, tests/checkall.test, tests/clean.test,
989         tests/colneq2.test, tests/colon.test, tests/colon2.test,
990         tests/colon3.test, tests/colon4.test, tests/colon5.test,
991         tests/colon6.test, tests/colon7.test, tests/comment.test,
992         tests/comment2.test, tests/comment4.test, tests/comment6.test,
993         tests/comment7.test, tests/compile_f_c_cxx.test, tests/cond.test,
994         tests/cond10.test, tests/cond11.test, tests/cond13.test,
995         tests/cond14.test, tests/cond15.test, tests/cond16.test,
996         tests/cond17.test, tests/cond18.test, tests/cond19.test,
997         tests/cond21.test, tests/cond22.test, tests/cond25.test,
998         tests/cond26.test, tests/cond28.test, tests/cond3.test,
999         tests/cond4.test, tests/cond5.test, tests/cond6.test,
1000         tests/cond7.test, tests/cond8.test, tests/cond9.test,
1001         tests/condd.test, tests/condinc.test, tests/condlib.test,
1002         tests/condman.test, tests/condman2.test, tests/conf2.test,
1003         tests/confdeps.test, tests/confh.test, tests/confh4.test,
1004         tests/config.test, tests/confincl.test, tests/conflnk.test,
1005         tests/conflnk2.test, tests/confsub.test, tests/confvar.test,
1006         tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
1007         tests/cxx.test, tests/cxxansi.test, tests/cxxcpp.test,
1008         tests/cxxlibobj.test, tests/cxxlink.test, tests/cxxnoc.test,
1009         tests/cxxo.test, tests/cygwin32.test, tests/dash.test,
1010         tests/defun.test, tests/defun2.test, tests/dejagnu.test,
1011         tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
1012         tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
1013         tests/depcomp.test, tests/depcomp2.test, tests/depcomp4.test,
1014         tests/depdist.test, tests/depend.test, tests/depend2.test,
1015         tests/depend3.test, tests/depend4.test, tests/destdir.test,
1016         tests/dirlist.test, tests/discover.test, tests/distcom.test,
1017         tests/distcom2.test, tests/distdir.test, tests/distname.test,
1018         tests/dollar.test, tests/double.test, tests/dup2.test,
1019         tests/empty.test, tests/empty2.test, tests/empty3.test,
1020         tests/empty4.test, tests/error.test, tests/exdir.test,
1021         tests/exeext.test, tests/exeext3.test, tests/exsource.test,
1022         tests/ext.test, tests/ext2.test, tests/extra.test,
1023         tests/extra2.test, tests/extra3.test, tests/extra4.test,
1024         tests/extra5.test, tests/extra6.test, tests/extra7.test,
1025         tests/flibs.test, tests/fnoc.test, tests/fo.test,
1026         tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
1027         tests/fpinstall.test, tests/gcj.test, tests/gcj3.test,
1028         tests/gcj4.test, tests/gnits2.test, tests/gnits3.test,
1029         tests/header.test, tests/implicit.test, tests/include.test,
1030         tests/include2.test, tests/info.test, tests/insh2.test,
1031         tests/install2.test, tests/installdir.test, tests/instdat.test,
1032         tests/instdat2.test, tests/instexec.test, tests/insthook.test,
1033         tests/instman.test, tests/instman2.test, tests/instsh.test,
1034         tests/instsh2.test, tests/interp.test, tests/interp2.test,
1035         tests/java.test, tests/java2.test, tests/javaprim.test,
1036         tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
1037         tests/lex.test, tests/lex3.test, tests/lex4.test, tests/lex5.test,
1038         tests/libobj11.test, tests/libobj2.test, tests/libobj4.test,
1039         tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
1040         tests/library.test, tests/libtool.test, tests/libtool2.test,
1041         tests/libtool3.test, tests/libtool5.test, tests/link_c_cxx.test,
1042         tests/link_dist.test, tests/link_f_only.test, tests/link_fc.test,
1043         tests/link_fccxx.test, tests/link_fcxx.test, tests/lisp.test,
1044         tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test,
1045         tests/maintclean.test, tests/make.test, tests/makej.test,
1046         tests/makevars.test, tests/man.test, tests/man2.test,
1047         tests/mclean.test, tests/mdate.test, tests/mdate2.test,
1048         tests/mdate3.test, tests/mdate4.test, tests/mkinst2.test,
1049         tests/mkinstall.test, tests/nobase.test, tests/nodef.test,
1050         tests/nodef2.test, tests/nodep.test, tests/nodepcomp.test,
1051         tests/nodist.test, tests/nodist2.test, tests/nodist3.test,
1052         tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
1053         tests/nostdinc.test, tests/number.test, tests/obsolete.test,
1054         tests/order.test, tests/outdir.test, tests/output.test,
1055         tests/output2.test, tests/output3.test, tests/output4.test,
1056         tests/parse.test, tests/phony.test, tests/pluseq.test,
1057         tests/pluseq10.test, tests/pluseq2.test, tests/pluseq3.test,
1058         tests/pluseq4.test, tests/pluseq6.test, tests/pluseq8.test,
1059         tests/postproc.test, tests/ppf77.test, tests/pr2.test,
1060         tests/pr204.test, tests/pr220.test, tests/pr224.test,
1061         tests/pr229.test, tests/pr243.test, tests/pr266.test,
1062         tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
1063         tests/pr300-lib.test, tests/pr300-ltlib.test,
1064         tests/pr300-prog.test, tests/pr307.test, tests/pr72.test,
1065         tests/pr87.test, tests/pr9.test, tests/prefix.test,
1066         tests/proginst.test, tests/python.test, tests/python3.test,
1067         tests/python4.test, tests/python5.test, tests/python6.test,
1068         tests/python7.test, tests/python8.test, tests/python9.test,
1069         tests/recurs2.test, tests/remake.test, tests/remake2.test,
1070         tests/remake3.test, tests/req.test, tests/reqd.test,
1071         tests/rulepat.test, tests/scripts.test, tests/sinclude.test,
1072         tests/space.test, tests/specflg3.test, tests/specflg6.test,
1073         tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
1074         tests/spell3.test, tests/spelling.test, tests/spy.test,
1075         tests/stamph2.test, tests/stdlib2.test, tests/strip.test,
1076         tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
1077         tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
1078         tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
1079         tests/subdirbuiltsources.test, tests/subobj.test,
1080         tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
1081         tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
1082         tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
1083         tests/subpkg.test, tests/subst.test, tests/substref.test,
1084         tests/suffix.test, tests/suffix10.test, tests/suffix2.test,
1085         tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
1086         tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
1087         tests/suffix9.test, tests/symlink2.test, tests/symlink3.test,
1088         tests/tags.test, tests/tagsub.test, tests/target-cflags.test,
1089         tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
1090         tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
1091         tests/txinfo18.test, tests/txinfo2.test, tests/txinfo23.test,
1092         tests/txinfo24.test, tests/txinfo25.test, tests/txinfo26.test,
1093         tests/txinfo3.test, tests/txinfo5.test, tests/txinfo6.test,
1094         tests/txinfo7.test, tests/txinfo8.test, tests/txinfo9.test,
1095         tests/unused.test, tests/vars.test, tests/vars3.test,
1096         tests/vartar.test, tests/version.test, tests/version2.test,
1097         tests/version4.test, tests/version6.test, tests/version7.test,
1098         tests/vpath.test, tests/vtexi.test, tests/vtexi2.test,
1099         tests/werror.test, tests/whoami.test, tests/yacc.test,
1100         tests/yacc3.test, tests/yacc4.test, tests/yacc5.test,
1101         tests/yacc6.test, tests/yacc7.test, tests/yacc8.test,
1102         tests/yaccpp.test, tests/yaccvpath.test: Fix license to refer
1103         to Automake, not autoconf.
1105         Fix for PR automake/408:
1106         * lib/am/texinfos.am (install-info-am): Strip any $(srcdir)/ prefix
1107         from $file, as already done for dist-info.
1108         * tests/Makefile.am (TESTS): Add txinfo26.test.
1109         * tests/txinfo26.test: New file.
1110         Report from Nicholas Wourms.
1112 2003-11-13  Alexandre Duret-Lutz  <adl@gnu.org>
1114         * m4/lispdir.m4 (AM_PATH_LISPDIR): If EMACS=t, empty it before
1115         running AC_CHECK_PROGS(EMACS).
1116         * lib/am/lisp.am (elc-stamp): Quote $(EMACS).
1117         Report from Jens Petersen.
1119         * tests/mkinst2.test: Rewrite.
1121         * m4/mkdirp.m4: Do not require AM_AUX_DIR_EXPAND.
1123 2003-11-12  Alexandre Duret-Lutz  <adl@gnu.org>
1125         * automake.in (scan_autoconf_traces): Honor sinclude.
1126         * tests/sinclude.test: Check for sinclude.
1127         Report from Roberto Bagnara.
1129 2003-11-11  Alexandre Duret-Lutz  <adl@gnu.org>
1131         * Makefile.am: Do not rerun `make dist' after tagging, `make distcheck'
1132         already build the tarballs.  Commit files right before tagging.
1133         Check NEWS before running distcheck.
1135         * m4/amversion.in (AM_AUTOMAKE_VERSION): Missing cosmetic space.
1137         * configure.ac, NEWS: Bump version to 1.7c.
1139         * configure.ac, NEWS: Bump version to 1.7b.
1140         * Makefile.am (maintainer-check): Ignore comments while
1141         scanning for rm without -f.
1143         * Makefile.am (fetch): Get all files from savannah.  Do not
1144         postprocess Struct.pm and XFiles.pm, since we now are the master
1145         of these.
1146         * lib/config.sub, lib/config.guess, lib/config-ml.in,
1147         lib/texinfo.tex: New upstream versions.
1149         * configure.ac: Check that autoconf is installed, that it works,
1150         and that it is recent enough in three steps, not one.
1152         * NEWS: Minor edits.
1154         * lib/Makefile.am (dist_script_DATA): Move config-ml.in ...
1155         (dist_pkgvdata_DATA): ... here.
1157         * tests/spy.test: Document overlapping ::-rules incompatibilities,
1158         and check only non-overlapping ::-rules.
1160         * doc/automake.texi (Texinfo): Define MAKEINFO, MAKEINFOHTML,
1161         MAKEINFOFLAGS, AM_MAKEINFOFLAGS, AM_MAKEINFOHTMLFLAGS, TEXI2DVI,
1162         TEXI2PDF, DVIPS, and TEXINFO_TEX in a table.
1163         (Uniform): Do not speak of missing HTML support, this is
1164         confusing.
1165         * lib/Automake/Variable.pm (_silent_variable_override): Add
1166         AM_MAKEINFOHTMLFLAGS.
1167         * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Use MAKEINFOHTML and
1168         AM_MAKEINFOHTMLFLAGS instead of MAKEINFO and AM_MAKEINFOFLAGS.
1169         * lib/am/texinfos.am (MAKEINFOHTML, AM_MAKEINFOHTMLFLAGS): Define.
1170         * tests/txinfo21.test: Add a test with AM_MAKEINFOHTMLFLAGS.
1172 2003-11-10  Alexandre Duret-Lutz  <adl@gnu.org>
1174         * tests/spy.test: New file.
1175         * tests/Makefile.am (TESTS): Add spy.test.
1177         * automake.in (handle_configure): Distribute and define mkinstalldirs
1178         only if it is already present in the package.
1179         (scan_autoconf_files): Do not require mkinstalldirs.
1180         (require_build_directory): Use $(mkdir_p), not $(mkinstalldirs).
1181         * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
1182         lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/mans.am,
1183         lib/am/progs.am, lib/am/python.am, lib/am/scripts.am,
1184         lib/am/texinfos.am: Use $(mkdir_p) instead of $(mkinstalldirs).
1185         * m4/mkdirp.m4: New file.
1186         * m4/Makefile.am (dist_m4data_DATA): Add mkdirp.m4.
1187         * m4/init.m4 (AM_INIT_AUTOMAKE): Call AM_PROG_MKDIR_P.
1188         * tests/Makefile.am (TESTS): Remove insh.test.
1189         * tests/insh.test: Delete.
1190         * tests/defs.in, tests/instsh.test: Do not install mkinstalldirs.
1191         * tests/auxdir.test: Install mkinstalldirs.
1192         * tests/distdir.test, tests/instman.test, tests/pr2.test: Use
1193         $(mkdir_p), not $(mkinstalldirs).
1194         * tests/empty.test: Run configure, do not substitute things by hand.
1195         * doc/automake.texi (Optional) <AC_CONFIG_FILES>: Take install-sh
1196         as an example, not mkinstalldirs.
1197         (Auxiliary Programs) <mkinstalldirs>: Update.
1199         * tests/defs.in: Handle required=bzip2.
1201         * tests/defs.in: Export SHELL.
1202         * tests/cond11.test: Missing quotes.
1203         * tests/nogzip2.test: Require bzip2.
1205 2003-11-09  Alexandre Duret-Lutz  <adl@gnu.org>
1207         * NEWS: Add news entries from 1.6.x and 1.7.x.
1209         * automake.texi (Optional) <AC_SUBST>: Grammar fixes.
1211         * automake.in (check_gnu_standards): Install COPYING only if
1212         none of COPYING, COPYING.LIB, or COPYING.LESSER exist.  Do not
1213         overwrite the license otherwise.
1214         * tests/Makefile.am (TESTS): Add license.test.
1215         * tests/license.test: New file.
1217         * lib/mkinstalldirs: Mention automake-patches@gnu.org and
1218         bug-automake@gnu.org.
1219         * lib/compile, lib/depcomp, lib/elisp-comp, lib/mdate-sh:
1220         Likewise.  Also add support for --help and --version.
1221         * lib/py-compile, lib/ylwrap: Likewise, and reindent.
1223 2003-11-08  Alexandre Duret-Lutz  <adl@gnu.org>
1225         * lib/am/tags.am (ETAGSFLAGS, CTAGSFLAGS): Remove.
1226         * lib/am/dejagnu.am (RUNTESTFLAGS): Remove.
1227         * lib/am/java.am (JAVACFLAGS): Remove.
1228         * tests/dejagnu3.test: Check that the environment value
1229         of RUNTESTFLAGS get passed down to runtest.
1230         Suggested by Mark Mitchell.
1232         * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
1233         (?GENERIC?%EXT%.lo): Do not echo compile command manually, this
1234         breaks `make -s'.  Instead, fold the compile command on two lines,
1235         so that it take less space on the display.
1236         Suggested by Karl Berry and William Fulton.
1238         * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Rename as ...
1239         (%DEST_INFO_PREFIX%%DEST_SUFFIX%): ... this, and honor ?INSRC?
1240         to select $(srcdir) or `.' builds.
1241         (INFO_DEPS): Define here.
1242         * lib/am/texinfos.am (dist-info): Strip filename starting with
1243         "$(srcdir)/".
1244         * automake.in (output_texinfo_build_rules): Take a new argument
1245         $insrc, and adjust substitutions in 'texibuild'.
1246         (handle_texinfo_helper): Compute a regex of all user-cleaned
1247         files, and use this to select whether to build .info files in `.'
1248         or $(srcdir).  Give an account of the $(srcdir) vs `.' debacle.
1249         Alway build the version.texi and stamp files in $(srcdir).  Do not
1250         define INFO_DEPS.
1251         * tests/Makefile.am (TESTS): Add txinfo23.test, txinfo24.test,
1252         and txinfo25.test.
1253         * tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test:
1254         New files.
1255         * tests/txinfo13.test, tests/txinfo16.test, tests/txinfo3.test,
1256         tests/vtexi.test: Adjust to new rules.
1258 2003-11-05  Alexandre Duret-Lutz  <adl@gnu.org>
1260         * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.58.
1261         * configure.ac: Require Autoconf 2.58a, and check for 2.58.
1263 2003-10-27  Alexandre Duret-Lutz  <adl@gnu.org>
1265         * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Erase %STAMP%.
1266         * tests/Makefile.am (TESTS): Add autohdr3.test
1267         * tests/autohdr3.test: New file.
1269         * automake.in (handle_configure): Rename am__configure_deps
1270         as am__aclocal_m4_deps and include $(ACLOCAL_M4_SOURCES) and
1271         $configure_ac.  Define am__configure_deps as am__aclocal_m4_deps
1272         + $(CONFIGURE_DEPENDENCIES) + $(ACLOCAL_M4).  Do not define
1273         ACLOCAL_M4_DEPS while processing configure.am.
1274         (make_paragraphs): Do not define %CONFIGURE_AC%, now unused.
1275         (scan_aclocal_m4): Do not distribute aclocal.m4, this
1276         is done from lib/am/configure.am.
1277         * lib/am/configure.am (%MAKEFILE-IN%, DIST_COMMON,
1278         $(top_srcdir)/configure, $(ACLOCAL_M4)): Simplify using
1279         $(am__configure_deps) or $(am__aclocal_m4_deps).
1280         * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Likewise.
1282 2003-10-26  Alexandre Duret-Lutz  <adl@gnu.org>
1284         * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Depend on
1285         $(am__configure_deps).
1287         * automake.in (handle_configure): Distribute all AC_CONFIG_HEADERS
1288         sources, and without using require_file.  Define %CONFIG_H_DEPS%
1289         and %FIRST_CONFIG_HIN% while processing remake-hdr.am.
1290         * lib/am/remake-hdr.am (%STAMP%): Use %CONFIG_H_DEPS% instead
1291         of (srcdir)/%CONFIG_HIN%.  Output the $(srcdir)/%CONFIG_HIN%
1292         rule only for the first header (i.e., if %FIRST_CONFIG_HIN%).
1293         * tests/autohdr4.test: New file.
1294         * tests/Makefile.am (TESTS): Add autohdr4.test.
1295         * tests/config.test: Do not grep, run things to see if they work.
1297 2003-10-25  Alexandre Duret-Lutz  <adl@gnu.org>
1299         * tests/output7.test: Populate sub/ with a dummy file, so that it
1300         is not empty.  This fixes a failure reported by Patrick Welche.
1301         * lib/am/distdir.am: Add note about tar's `-o' option and empty
1302         directories.
1304 2003-10-24  Didier Cassirame  <faded@free.fr>  (tiny change)
1306         * lib/ylwrap: Typo in regex.
1308 2003-10-23  Paul Eggert  <eggert@twinsun.com>
1310         * lib/Automake/XFile.pm: Don't assume -j is solo.
1311         Issue a more-informative diagnostic.
1312         Problems reported by Eric Sunshine.
1314 2003-10-21  Alexandre Duret-Lutz  <adl@gnu.org>
1316         * m4/lispdir.m4 (AM_PATH_LISPDIR): Always check for Emacs.
1317         Always define lispdir.
1318         * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Check
1319         $(EMACS) to decide whether _LISP files must be installed,
1320         not $(lispdir).
1321         * doc/automake.texi (Emacs Lisp): Mention the two ways to install
1322         non byte-compiled Emacs lisp files.
1323         * tests/lisp4.test, tests/lisp5.test: Check "make install"
1324         when EMACS=no.
1325         Suggested by Simon Josefsson.
1327         * NEWS: Clarify the entry about multiple conditional definitions
1328         of _PROGRAMS, _LDADD, and _LIBADD.
1329         Report from Simon Josefsson.
1331         * lib/am/install.am (install-strip): Override install_sh_PROGRAM
1332         too.
1333         Report from Elmar Hoffmann.
1335 2003-10-07  Alexandre Duret-Lutz  <adl@gnu.org>
1337         * aclocal.in ("MAIN", usage, parse_arguments): Move near
1338         the end, so "MAIN" can use prototypes.
1339         (scan_configure): Move later too, for the sake of prototypes.
1340         (scan_configure_dep): Fix setting of $scanned_configure_dep.
1341         (trace_used_macros): Do not take any argument.
1343 2003-10-06  Alexandre Duret-Lutz  <adl@gnu.org>
1345         * tests/stdlib2.test: Check AM_LDFLAGS alone.
1347         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1348         versions.
1350         * automake.in (handle_ltlibraries): Also grep AM_LDFLAGS for `-module'.
1351         * tests/stdlib2.test: New file.
1352         * tests/Makefile.am (TESTS): Add stdlib2.test.
1353         Report from Kevin P. Fleming.
1355 2003-10-03  Richard Dawe  <rich@phekda.freeserve.co.uk>  (tiny change)
1357         * tests/defs.in: For required=runtest, check that we are using
1358         a DejaGnu that supports specifying the program on the command-line.
1360 2003-10-03  Alexandre Duret-Lutz  <adl@gnu.org>
1362         For Debian Bug #213524:
1363         * lib/am/texinfos.am (install-info-am, uninstall-info-am): Merge
1364         stderr and stdout, and grep only the first line while testing
1365         install-info --version's output.  This revert part of the change
1366         from 2001-05-18.
1368 2003-10-01  Akim Demaille  <akim@epita.fr>
1370         * m4/amversion.in: Add (C) to the Copyright notice.
1372 2003-10-01  Paul Eggert  <eggert@twinsun.com>
1374         * lib/Automake/XFile.pm: Use Errno.
1375         (lock): Ignore ENOLCK errors.  Problem reported Andreas Schwab in
1376         <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
1378 2003-09-30  Tom Tromey  <tromey@redhat.com>
1380         * lib/Automake/Options.pm (_process_option_list): Recognize
1381         no-dist.
1382         * NEWS: Update.
1383         * doc/automake.texi (Options): Document no-dist.
1384         * automake.in (check_cygnus): Set no-dist option.
1385         (handle_dist): Recognize no-dist.
1386         * tests/nodist3.test: New file.
1387         * tests/Makefile.am (TESTS): Added nodist3.test.
1389 2003-09-29  Alexandre Duret-Lutz  <adl@gnu.org>
1391         * automake.in (handle_clean): Take $makefile as argument, and
1392         define %MAKEFILE% while processing clean.am.
1393         (generate_makefile): Pass $makefile to handle_clean.
1394         * lib/am/clean.am (distclean, maintainer-clean): Erase %MAKEFILE%,
1395         not Makefile.
1396         * tests/gnumake.test: New file.
1397         * tests/Makefile.am (TESTS): Add gnumake.test.
1398         Report from Braden N. McDaniel.
1400 2003-09-26  Alexandre Duret-Lutz  <adl@gnu.org>
1402         * doc/automake.texi (Scripts): Update the example about automake.
1403         Mention `dist_' for distributed scripts.
1405         * lib/mkinstalldirs: Clean up after NextStep and OpenStep mkdir.
1406         Suggested by Eric Sunshine.
1408 2003-09-25  Alexandre Duret-Lutz  <adl@gnu.org>
1410         * README: More mailing lists.
1412         * NEWS: Mention the switch to GNU FDL for the manual.
1414 2003-09-24  Alexandre Duret-Lutz  <adl@gnu.org>
1416         * lib/install-sh (src, dst): Protect names starting with `-',
1417         as in mkinstalldirs.
1419         * configure.in: Rename as ...
1420         * configure.ac: ... this.
1421         * README: s/configure.in/configure.ac/.
1423         * doc/fdl.texi: New file.
1424         * doc/Makefile.am (automake_TEXINFOS): New variable.
1425         * doc/automake.texi (Copying This Manual): New appendix, include
1426         fdl.texi.
1427         (Macro and Variable Index, General Index): Move as subsections of ...
1428         (Indices): This new appendix.
1430         * doc/automake.texi: Refer to configure.ac instead of configure.in.
1432         * automake.texi: Move ...
1433         * doc/automake.texi: ... here.
1434         * doc/Makefile.am: New file.
1435         * configure.in: Output doc/Makefile.
1436         * Makefile.am (SUBDIRS): Add doc.
1437         (ETAGS_ARGS, TAGS_DEPENDENCIES): Move to doc/Makefile.am.
1439 2003-09-23  Alexandre Duret-Lutz  <adl@gnu.org>
1441         * aclocal.in (write_aclocal): Consider files with relative
1442         paths as local to the project, i.e., subject to m4_include.
1443         * tests/subpkg.test (ACLOCAL_AMFLAGS): Make sure m4_include
1444         is also used for .m4 files in the outer project.
1446         Support for multiple inputs in AC_CONFIG_FILES.
1447         Requested long ago by Harlan Stenn.
1448         * automake.in (handle_dist): Remove unused argument $makefile.
1449         (handle_subdirs): Expect SUBDIRS elements in $relative_dir,
1450         not $am_relative_dir.
1451         (rewrite_inputs_into_dependencies): Allow $add_srcdir to
1452         be a filename that must always be prefixed by $(srcdir) or
1453         $(top_srcdir).
1454         (handle_configure, generate_makefile): Revamp to make the
1455         Makefile.am, Makefile.in, Makefile more independent.
1456         (locate_am): New function.
1457         (scan_configure_dep, parse_arguments): Use locate_am.
1458         (MAIN): Adjust call to generate_makefile.
1459         * lib/am/configure.am: Remove %MAKEFILE-IN% from the dependencies
1460         of %MAKEFILE%.  %MAKEFILE-IN% is already in %MAKEFILE-DEPS%.
1461         * tests/output6.test, tests/output7.test: New files.
1462         * tests/Makefile.am (TESTS): Add them.
1463         * automake.texi (Requirements) <AC_CONFIG_FILES>: Document how
1464         multiple inputs are scanned.
1466 2003-09-13  Alexandre Duret-Lutz  <adl@gnu.org>
1468         * Makefile.am (FETCHFILES, fetch): Do not fetch lib/Automake/XFile.pm
1469         and lib/Automake/Struct.pm from Autoconf.
1470         * lib/Automake/XFile.pm: Update comment, Automake is now
1471         the master for this file.  Cosmetic changes.
1473 2003-09-09  Akim Demaille  <akim@epita.fr>
1475         * lib/Automake/FileUtils.pm (&update_file): s/cannot not/cannot/g.
1476         Reported by Gary Vaughan.
1477         (&find_file): Walk the @include in forward order.
1479 2003-09-09  Akim Demaille  <akim@epita.fr>
1481         * lib/Automake/FileUtils.pm (&update_file): Be sure not to leave
1482         trailing files.
1484 2003-09-07  Alexandre Duret-Lutz  <adl@gnu.org>
1486         Changes to m4_included files should also cause aclocal.m4 to change.
1487         * aclocal.in (m4_include_rx): New variable.
1488         (scan_configure_dep): New function.
1489         (scan_configure, add_file): Simplify using scan_configure_dep.
1490         * tests/Makefile.am (TESTS): Add acloca13.test.
1491         * tests/aclocal13.test: New file.
1493         * tests/instsh.test: Do not reset $ACLOCAL and $AUTOMAKE now
1494         that we have fake version in the $PATH.
1496         * aclocal.in (add_file): Remove useless filling of $output, probably
1497         left a after CVS conflict.  This code is now in write_aclocal.
1499         * aclocal.in (configure_ac): Do not call require_configure_ac
1500         before parsing the options.
1501         * automake.in (configure_ac): Likewise.
1502         * lib/Automake/Variable.pm (configure_ac): Do not require configure.ac,
1503         find it.
1504         * lib/Automake/Configure_ac.pm (require_configure_ac):
1505         find_configure_ac never return an undefined value, so test
1506         the file's existence instead.
1507         * tests/Makefile.am (TESTS): Add help.test.
1508         * tests/help.test: New file.
1510 2003-09-06  Alexandre Duret-Lutz  <adl@gnu.org>
1512         * lib/Automake/XFile.pm: Update to use ChannelDefs.
1513         (close): Call Automake::FileUtils::handle_exec_errors on errors.
1514         * automake.in (scan_autoconf_files): Exit with $?=63 on version
1515         mismatch.
1516         (scan_autoconf_traces): Likewise.  Close the autoconf pipe to
1517         capture abnormal exits.
1518         * aclocal.in ($exit_status): Remove, and use Channels.pm's $exit_code
1519         instead.
1520         (trace_used_macros): Close the autom4te pipe to capture abnormal exits.
1521         * lib/missing: When a tool has run and exited with $?=63, emulate
1522         it.  Adjust the diagnostic and pretend the tool is tool old in this
1523         case.  Use an emacs-updated "scriptversion" variable.
1524         * configure.in: Output tests/aclocal-${APIVERSION} and
1525         tests/automake-${APIVERSION}.
1526         * tests/aclocal.in, tests/automake.in,
1527         tests/missing.test, tests/missing2.test: New files.
1528         * tests/defs.in (AUTOMAKE, ACLOCAL, PATH): Define
1529         to use tests/aclocal-$APIVERSION and tests/automake-$APIVERSION.
1530         * tests/dup3.test: Remove. alocal9.test, acloca10.test, and others are
1531         already testing for this.
1532         * tests/depacl2.test, tests/dup2.test, tests/order.test: Fix
1533         configure.in so that aclocal works.
1534         * tests/defun.test: Quote the AC_DEFUN body.
1535         * tests/Makefile.am (TESTS): Add missing.test and missing2.test,
1536         and remove dup3.test.
1537         (check_SCRIPTS): Add aclocal and automake.
1539         * tests/unused.test: Quote AC_DEFUN arguments.
1541 2003-09-05  Paul Eggert  <eggert@twinsun.com>
1543         * NEWS, aclocal.in, automake.in, automake.texi, lib/ansi2knr.c,
1544         lib/depcomp, lib/missing, lib/py-compile,
1545         lib/Automake/Channels.pm, lib/Automake/Rule.pm,
1546         lib/Automake/Variable.pm, lib/Automake/tests/Condition.pl,
1547         lib/am/dejagnu.am, lib/am/depend.am, lib/am/lisp.am,
1548         lib/am/remake-hdr.am, lib/am/texi-vers.am, m4/obsolete.m4,
1549         m4/python.m4, tests/backsl4.test, tests/defs.in,
1550         tests/dejagnu7.test, tests/depacl2.test, tests/dirlist.test,
1551         tests/error.test, tests/getopt.test, tests/gnuwarn.test,
1552         tests/include2.test, tests/libobj10.test, tests/libtool5.test,
1553         tests/libtool6.test, tests/lisp3.test, tests/phony.test,
1554         tests/pr220.test, tests/subcond2.test, tests/subcond3.test,
1555         tests/vtexi.test:
1556         Spelling and minor grammar fixes.
1558 2003-09-01  Alexandre Duret-Lutz  <adl@gnu.org>
1560         * lib/config.sub, lib/config.guess, lib/texinfo.tex,
1561         lib/config-ml.in, lib/symlink-tree: New upstream versions.
1563 2003-08-31  Thien-Thi Nguyen  <ttn@gnu.org>  (tiny change)
1565         * tests/yacc7.test: Require bison.
1567 2003-08-31  Alexandre Duret-Lutz  <adl@gnu.org>
1569         * aclocal.in (scan_file): Warn about underquoted AC_DEFUN.
1570         ($underquoted_manual_once): New variable.
1571         * automake.texi (Extending aclocal): Document this.
1573 2003-08-29  Alexandre Duret-Lutz  <adl@gnu.org>
1575         * aclocal.in (@file_order): New variable, to make sure
1576         files are output in the opposite order of the -I arguments.
1577         (scan_file): Fill it.
1578         (trace_used_macros, write_aclocal): Use it.
1579         (scan_m4_files): Reverse the directory contents, so that
1580         macros from the lexicographically greatest files are preferred.
1581         * tests/aclocal9.test, tests/acloca10.test, tests/acloca11.test:
1582         New files.
1583         * tests/Makefile.am (TESTS): Add them.
1585 2003-08-24  Alexandre Duret-Lutz  <adl@gnu.org>
1587         For Debian Bug #206299:
1588         * automake.in ($configure_deps_greatest_timestamp,
1589         $output_deps_greatest_timestamp): New variables.
1590         (initialize_per_input): Reset $output_deps_greatest_timestamp.
1591         (scan_autoconf_traces, scan_autoconf_files, read_am_file):
1592         Update $configure_deps_greatest_timestamp and
1593         $output_deps_greatest_timestamp
1594         (generate_makefile): Rewrite the logic to decide whether
1595         to rewrite the output.  Move the leading dup_channel_setup
1596         and trailing drop_channel_setup to MAIN, so that
1597         drop_channel_setup is executed for all exit paths.
1598         * tests/aclocal7.test: Update to check for $AUTOMAKE --no-force
1599         * tests/distcom6.test: New file.  Report from Scott James Remnant.
1600         * tests/Makefile.am (TESTS): Add distcom6.test.
1602         * configure.in: Require Autoconf 2.57b to be sure
1603         aclocal can use autom4te --language Autoconf-without-aclocal-m4.
1604         * m4/init.m4: Likewise.  Move the AC_PREREQ and m4_pattern_allow
1605         calls inside the AM_INIT_AUTOMAKE macro.
1606         * m4/auxdir.m4, m4/cond.m4, m4/lex.m4, m4/regex.m4: Move
1607         AC_PREREQ calls inside the macros.
1608         * m4/header.m4: Remove AC_PREREQ.
1610         * automake.in (file_contents_internal): Do not add newlines before
1611         empty actions.
1613         * aclocal.in (write_aclocal): Take an output file and list of
1614         used macros in arguments and make up the file contents here.
1615         (trace_used_macros): New function.
1616         (add_file): Do not update $output.
1617         ($output): Delete.
1618         (MAIN): Call trace_used_macros.  Then rewrite aclocal.m4 only
1619         for these traced macros.  This should shorten aclocal.m4 by
1620         stripping out unused macros.
1621         * automake.texi (Invoking aclocal): Document ${AUTOM4TE}.
1622         * tests/aclibobj.test: Make sure configure.in exists by the time
1623         aclocal runs.
1624         * tests/aclocal8.test: New file.
1625         * tests/Makefile.am (TESTS): Add aclocal8.test.
1626         Suggested by Bruno Haible and Akim Demaille.
1628 2003-08-21  Akim Demaille  <akim@epita.fr>
1630         * lib/Automake/Configure_ac.pm (&find_configure_ac)
1631         (&require_configure_ac): Accept an optional directory argument.
1632         ($configure_ac): Remove.
1633         * aclocal.in, automake.in ($configure_ac): New.
1634         * lib/Automake/Variable.pm: Don't use $configure_ac, just
1635         configure.ac.
1637 2003-08-20  Akim Demaille  <akim@epita.fr>
1639         * lib/Automake/FileUtils.pm: More perldoc.
1640         (&up_to_date_p): New.
1642 2003-08-17  Alexandre Duret-Lutz  <adl@gnu.org>
1644         Fix for PR automake/398:
1645         * m4/python.m4: Do not call AC_PATH_PROGS if $PYTHON is already
1646         set.  Display `none' instead of `:' and $PYTHON is set to `:'
1647         when no suitable interpreter is found.  Honor ACTION-IF-FOUND and
1648         ACTION-IF-NOT-FOUND.
1649         * automake.texi (Python): Document ACTION-IF-FOUND and
1650         ACTION-IF-NOT-FOUND.
1651         * tests/python4.test, tests/python5.test, tests/python6.test,
1652         tests/python7.test, tests/python8.test, tests/python9.test: New
1653         files.
1654         * tests/Makefile.am (TESTS): Add them.
1655         Report from Per Cederqvist.
1657 2003-08-13  Alexandre Duret-Lutz  <adl@gnu.org>
1659         Fix for PR automake/399:
1660         * m4/python.m4: Use AC_PATH_PROGS, not AC_PATH_PROG.
1661         Report from Per Cederqvist.
1663 2003-08-12  Raja R Harinath  <harinath@acm.org>
1665         * lib/Automake/Condition.pm (strip): Replace loop with 'grep'.
1666         (not): Replace loop with 'map'.
1667         * lib/Automake/DisjConditions.pm (sub_conditions): Likewise.
1668         * lib/Automake/Item.pm (not_alwasy_defined_in_cond):
1669         Don't 'simplify' result of 'invert', since it's already in
1670         canonical form.
1671         * lib/Automake/Rule.pm (define): Replace loop with
1672         'not_always_defined_in_cond'.
1674         * lib/Automake/DisjConditions.pm (ambiguous_p): Typo in comment.
1675         * lib/Automake/Rule.pm (accept_extensions, msg_cond_rule): Likewise.
1676         (define): Reword comment slightly.
1677         * Variable.pm (_var_order, msg_cond_var): Typo in comment.
1678         * tests/cond20.test (var2): Use foo.c instead of foo.cc to avoid
1679         spurious automake error exit.
1681 2003-08-12  Alexandre Duret-Lutz  <adl@gnu.org>
1683         * lib/Automake/Item.pm, lib/Automake/ItemDef.pm: New files.
1684         * lib/Automake/Rule.pm, lib/Automake/RuleDef.pm: New files.
1685         * lib/Automake/Makefile.am (dist_perllib_DATA): Add them.
1686         * lib/Automake/VarDef.pm: Make this a subclass of Automake::ItemDef.
1687         (new): Adjust to call Automake::ItemDef::new.
1688         (comment, location, owner): Delete.  Now inherited from ItemDef.
1689         * lib/Automake/Variable.pm: Make this a subclass of Automake::Item.
1690         (_new): Adjust to call Automake::Item::new.
1691         (name, def, rdef, _set, conditions, not_always_defined_in_cond):
1692         Delete.  How inherited from Item, where `_set' is called `set'.
1693         * automake.in (SUFFIX_RULE_PATTERN): Delete. Now in Automake::Rule.
1694         (suffix_rules_default): Delete.  Now
1695         Automake::Rule::_suffix_rules_default
1696         (suffixes): Delete.  Now Automake::Rule::suffixes.
1697         (TARGET_AUTOMAKE, TARGET_USER): Delete.  Now
1698         Automake::RuleDef::RULE_AUTOMAKE and Automake::RuleDef::RULE_USER.
1699         (%targets, %target_source, %target_name, %target_owner): Delete,
1700         replaced by the Rule and RuleDef classes.
1701         (dependencies, depend, actions): Delete.  Now in Automake::Rule.
1702         (suffix_rules, register_suffix_rule): Likewise.
1703         (KNOWN_EXTENSIONS_PATTERN, accept_extensions): Likewise.
1704         (known_extensions_list): Delete.  Now
1705         Automake::Rule::_known_extensions_list.
1706         (target_conditions): Delete.  Now inherited by Automake::Rule
1707         from Automake::Item::conditions.
1708         (rule_define): Delete.  Now Automake::Rule::define.  Adjust all
1709         callers.
1710         (target_defined): Delete.  Now Automake::Rule::rule.  Adjust all
1711         callers.
1712         (initialize_per_input): Adjust to call Automake::Rule::reset.
1713         (err_target, err_cond_target, msg_cond_target, msg_target,
1714         reject_target): Delete.  Now defined in Automake::Rule as
1715         err_rule, err_cond_rule, msg_cond_rule, msg_rule and reject_target.
1716         Adjust all callers.
1717         (handle_languages): Call suffix_rules_count.
1718         * tests/location.test: Adjust expected diagnostics.  We now display
1719         $(EXEEXT) accurately.
1721 2003-08-10  Alexandre Duret-Lutz  <adl@gnu.org>
1723         Revert the fix for PR automake/291:
1724         * lib/Automake/Variable.pm (define): Do not warn about variables
1725         starting with `_' which are an issue on NEWS-OS 4.2R.  According
1726         to Paul Eggert, NEWS-OS 4.2R is ten years old, the latest version
1727         was released on 1996 and is not in wide use.  On the other hand,
1728         variables starting with `_' are mandatory in several situations,
1729         so diagnosing them is more annoying than useful.
1730         * tests/canon5.test: Do not use -Wno-portability.
1731         * tests/vars2.test: Delete.
1732         * tests/Makefile.am (TESTS): Remove vars2.test.
1733         Suggested by Jim Meyering.
1735 2003-08-09  Raja R Harinath  <harinath@acm.org>
1737         * lib/Automake/DisjConditions.pm (ambiguous_p): Simplify slightly.
1738         * lib/Automake/tests/DisjConditions.pl (test_ambig): Test
1739         Automake::Disjunctions::ambiguous_p.
1741 2003-08-07  Alexandre Duret-Lutz  <adl@gnu.org>
1743         * lib/Automake/Variable.pm (condition_ambiguous_p): Move ...
1744         * lib/Automake/DisjConditions.pm (ambiguous_p): ... here.
1745         * automake.in (rule_define): Adjust usage.
1746         * lib/Automake/Variable.pm (_check_ambiguous_condition): Likewise.
1748         * lib/Automake/Options.pm: New file.
1749         * lib/Automake/Makefile.am (dist_perllib_DATA): Add Options.pm.
1750         * automake.in (FOREIGN, GNU, GNITS, $default_strictness)
1751         ($default_strictness_name, $strictness, $strictness_name)
1752         (%options, %global_options, process_option_list)
1753         (set_strictness): Remove, now in Options.pm.
1754         (initialize_per_input): Call Automake::Options::reset.
1755         (handle_options, get_object_extension, get_object_extension)
1756         (handle_languages, handle_single_transform_list, handle_compile)
1757         (handle_texinfo_helper, handle_man_pages, handle_dist)
1758         (handle_configure, do_check_merge_target)
1759         (handle_factored_dependencies, handle_tests)
1760         (handle_minor_options, scan_autoconf_traces, check_cygnus)
1761         (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define)
1762         (make_paragraphs, am_install_var, parse_arguments): Adjust
1763         to set and read options via the new interface.
1765 2003-08-07  Raja R Harinath  <harinath@acm.org>
1767         * Makefile.am (maintainer-check): Update perllibdir.
1768         * lib/Automake/Makefile.am (Config.pm): Depend on Makefile too.
1769         (EXTRA_DIST): Add Config.in.
1770         * Makefile.in, lib/Automake/Makefile.in: Regenerate.
1771         * tests/defs.in (AUTOMAKE, ACLOCAL): Use absolute paths in
1772         $perllibdir.
1774 2003-08-06  Raja R Harinath  <harinath@acm.org>
1776         * configure.in (AUTOMAKE, ACLOCAL): Search the 'lib' directory
1777         from the builddir too, to pick up Automake::Config.
1778         * tests/defs.in (AUTOMAKE, ACLOCAL): Likewise.
1779         * configure: Regenerate.
1780         * automake.in (BEGIN): Handle multiple directories in $perllibdir.
1781         * aclocal.in (BEGIN): Likewise.
1783 2003-08-07  Alexandre Duret-Lutz  <adl@gnu.org>
1785         * tests/ltcond.test: Thinko.
1787 2003-08-06  Alexandre Duret-Lutz  <adl@gnu.org>
1789         * lib/Automake/Config.in: New file.
1790         * lib/Automake/Makefile.am (nodist_perllib_DATA, do_subst,
1791         CLEANFILES): New variables.
1792         (Config.pm): New rule.
1793         * Makefile.am (maintainer-check): Adjust expected differences
1794         between automake.in and automake.
1795         * aclocal.in, automake.in: Use Automake::Config.
1797 2003-08-05  Alexandre Duret-Lutz  <adl@gnu.org>
1799         * tests/ltconv.test: s/rm/rm -f/ to placate maintainer-check.
1801         * automake.in (handle_texinfo_helper): Use the user definition
1802         of TEXINFO_TEX before checking for cygnus or AC_CONFIG_AUX_DIR.
1803         * tests/txinfo22.test: New file.
1804         * tests/Makefile.am (TESTS): Add txinfo22.test.
1805         Report from Tom Tromey.
1807 2003-08-03  Raja R Harinath  <harinath@acm.org>
1809         * lib/Automake/Variable.pm (@EXPORT): Remove
1810         traverse_variable_recursively and
1811         require_variables_for_variable.
1812         (require_variables_for_variable, traverse_variable_recursively)
1813         (_traverse_variable_recursively_worker): Convert to
1814         Automake::Variable methods, remove support for being
1815         invoked with variable names, and rename to ...
1816         (requires_variables, traverse_recursively)
1817         (_do_recursive_traversal): ... these.
1818         (_value_as_list_recursive_worker, transform_variable_recursively):
1819         Update to reflect changes.
1820         * automake.in (handle_LIBOBJS, handle_ALLOCA)
1821         (handle_libraries, handle_ltlibraries, am_primary_prefixes):
1822         Likewise.
1823         (define_objects_from_sources): Fix typo in comment.
1825 2003-08-02  Raja R Harinath  <harinath@acm.org>
1827         * automake.in (handle_source_transform): Replace 'grep' with 'map'.
1828         (register_language): Replace 'grep' with 'foreach' modifier.
1830 2003-08-01  Raja R Harinath  <harinath@acm.org>
1832         * lib/Automake/Variables.pm (variables): Return a list of
1833         Automake::Variable instances, not a list of strings.
1834         (dump): Remove support for being invoked with a string.
1835         (variables_dump): Adapt to these changes.
1836         * automake.in (check_typos): Likewise.
1837         (am_primary_prefixes): Likewise.
1839 2003-07-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
1841         * lib/depcomp (aix): Support AIX Compiler version 6.
1843 2003-07-31  Alexandre Duret-Lutz  <adl@gnu.org>
1845         * automake.texi (A Shared Library): Rewrite and split into
1846         subsections.  Valuable comments from Norman Gray, Harlan Stenn,
1847         Tim Van Holder, and Guido Draheim.
1848         * tests/ltcond.test, tests/ltcond2.test, tests/ltconv.test: New files.
1849         * tests/Makefile.am (TESTS): Add them.
1851 2003-07-30  Alexandre Duret-Lutz  <adl@gnu.org>
1853         * automake.in (handle_single_transform_list): Complain about
1854         foo.$(OBJEXT) being created both with libtool and without, not
1855         about foo.lo.
1856         Report from Tim Van Holder.
1858 2003-07-29  Alexandre Duret-Lutz  <adl@gnu.org>
1860         * Makefile.am (FETCHFILES, fetch): Add config-ml.in and
1861         symlink-tree.
1862         * lib/config.sub, lib/config-ml.in, lib/texinfo.tex: New
1863         upstream versions.
1865 2003-07-28  Alexandre Duret-Lutz  <adl@gnu.org>
1867         * automake.in (handle_configure): Cosmetic change to avoid
1868         a maintainer-check complaint.
1870 2003-07-27  Alexandre Duret-Lutz  <adl@gnu.org>
1872         * lib/Automake/Variable.pm (@EXPORT): Remove variable_dump.
1873         (variable_dump): Replace by ...
1874         (dump): ... this method.
1875         (rdef, _check_ambiguous_condition): Adjust to use ->dump.
1876         (define, variables_dump): Adjust to use Automake::Variable::dump
1878         * lib/am/compile.am (mostlyclean-compile): Do not erase core dumps.
1879         * automake.texi (Built sources example): Adjust example.
1881 2003-07-26  Alexandre Duret-Lutz  <adl@gnu.org>
1883         * automake.in (get_object_extension, handle_languages)
1884         (handle_single_transform_list, handle_compile, handle_compile)
1885         (handle_texinfo_helper, handle_texinfo_helper, handle_man_pages)
1886         (handle_tests, handle_minor_options, check_gnu_standards)
1887         (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define):
1888         Simplify "if (defined $options{'X'})" into "if ($options{'X'})".
1890         Complete changes from 2003-07-08.
1891         * automake.in ($cmdline_use_dependencies, $use_dependencies): Remove,
1892         replaced by $options{'no-dependencies'}.
1893         ($global_options): Remove.
1894         (%global_options): New variable.
1895         (initialize_per_input): Empty %options.
1896         (process_option_list): Take a location and %options ref argument,
1897         process no-dependencies as other options.
1898         (handle_options): Do not reparse the global options, just initialize
1899         %options from %global_options and fill it with local options.
1900         (handle_languages, handle_single_transform_list)
1901         (handle_configure, check_cygnus): Adjust usage of
1902         $options{'no-dependencies'}.
1903         (make_paragraphs): Adjust usage of $options{'cygnus'}.
1904         (parse_arguments): Set cygnus and no-dependencies in %global_options.
1905         (scan_autoconf_traces) <AM_INIT_AUTOMAKE>: Call process_option_list
1906         to fill %global_options.
1908 2003-07-25  Alexandre Duret-Lutz  <adl@gnu.org>
1910         * tests/remake4.test: Use `$MAKE distdir' instead of `$MAKE dist' to
1911         avoid the use of tar.
1913 2003-07-24  Alexandre Duret-Lutz  <adl@gnu.org>
1915         * tests/gnuwarn2.test: Typo.
1917         * tests/insthook.test: Use $MAKE, not make.
1919         Fix missing rebuilds during `make dist' with BSD make.
1920         * automake.in (generate_makefile): Do not push Makefile.in, and
1921         Makefile.am into DIST_COMMON here.
1922         * lib/am/configure.am (DIST_COMMON): Do it here, and use
1923         %MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON
1924         actually match the targets.   Prefix `configure' with `$(srcdir)/'
1925         to match the target.
1926         * tests/remake4.test: New file.
1927         * tests/Makefile.am (TESTS): Add remake4.test.
1928         Report from Akim Demaille.
1930 2003-07-23  Alexandre Duret-Lutz  <adl@gnu.org>
1932         * automake.in (handle_multilib): Register all-multi.
1933         (file_contents_internal): Insert \n when concatenating actions
1934         from "factored" rules.
1935         * lib/config-ml.in: New file, from GCC, including a patch
1936         from Ralf Corsepius (see GCC's PR 11526).
1937         * lib/symlink-tree.in: New file, from GCC.
1938         * lib/Makefile.am (dist_script_DATA): Add config-ml.in and
1939         symlink-tree.
1940         * lib/am/clean.am (distclean-generic): Do not delete Makefile here...
1941         (distclean, maintainer-clean): ... do it here.
1942         * lib/am/depend.am (distclean-depend): Likewise, replace by
1943         (distclean, maintainer-clean): ... these.
1944         * lib/am/multilib.am (all-recursive, install-recursive,
1945         mostlyclean-recursive, clean-recursive, distclean-recursive,
1946         maintainer-clean-recursive): Remove these rules.
1947         (mostlyclean-am, clean-am, distclean-am, maintainer-clean-am): Replace
1948         by ...
1949         (mostlyclean, clean, distclean, maintainer-clean): ... these.
1950         (all-am): Remove, done in handle_multilib.
1951         (install-am): Replace by ...
1952         (install-exec-am): ... this.
1953         * tests/Makefile.am (TESTS): Add multlib.test.
1954         * tests/multlib.test: New file, based on a test case by
1955         Ralf Corsepius
1957 2003-07-23  Tom Tromey  <tromey@redhat.com>
1959         * lib/missing (autom4te): Typo.
1961 2003-07-16  Derek Price  <derek@ximbiot.com>
1963         * automake.in (scan_autoconf_traces): Handle AC_CONFIG_LINKS.
1964         (handle_configure): Handle adding AC_CONFIG_LINKS arguments to
1965         distclean targets (CONFIG_CLEAN_FILES makefile var).
1966         * NEWS: Note new handling of AC_CONFIG_LINKS.
1967         * automake.texi (Other things Automake recognizes): Ditto.
1968         * tests/Makefile.am (TESTS): Add new tests.
1969         * tests/conflnk.test: New test that links are cleaned on distclean.
1970         * tests/conflnk2.test: New test that source files for links are
1971         distributed.
1973 2003-07-15  Ralf Corsepius <corsepiu@faw.uni-ulm.de>  (tiny change)
1975         * automake.in (scan_autoconf_traces): Trace AM_ENABLE_MULTILIB to
1976         render $seen_multilib functional again.
1978 2003-07-10  Raja R Harinath  <harinath@cs.umn.edu>
1980         Avoid using refs as hash keys.
1981         * lib/Automake/Variable.pm ($_traversal): New.
1982         (reset): Reset $_traversal.
1983         (_new): New attribute 'scanned'.
1984         (%_vars_scanned): Remove.
1985         (traverse_variable_recursively)
1986         (traverse_variable_recursively_worker):
1987         Use $_traversal instead of %_vars_scanned to detect recursively
1988         defined variables.
1990         * lib/am/configure.am (am--refresh): Silence.
1992 2003-07-10  Alexandre Duret-Lutz  <adl@gnu.org>
1994         * lib/Automake/Variable.pm (define): Make clear the diagnostic
1995         about variable names starting with `_' is about *Make* variables.
1997         For Debian Bug #193907:
1998         * automake.texi (Clean): make maintainer-clean should still
1999         allow ./configure && make to run.
2001         * automake.texi (CVS): Typo.
2003 2003-07-09  Alexandre Duret-Lutz  <adl@gnu.org>
2005         * aclocal.in: Use Automake::FileUtils.
2006         (parse_arguments, scan_configure, scan_m4_files): Never call
2007         "die" to print an error message.  Use print and exit.
2008         * automake.in: Use Automake::FileUtils.
2009         * lib/Automake/General.pm ($debug, $help, $tmp, $verbose,
2010         $version, &debug, &getopt, &mktmpdir, &verbose): Remove.
2011         (END): Do not massage Perl's exit code.  Do not clean any temporary
2012         directory.
2013         (find_file, mtime, update_file, xsystem, contents): Move to ...
2014         * lib/Automake/FileUtils.pm: ... this new file.  Adjust to
2015         report errors using Channels.
2016         (handle_exec_errors, xqx): New functions, from Autoconf.
2017         * lib/Automake/Makefile.am (dist_perllib_DATA): Add FileUtils.pm.
2019         * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
2020         Return the empty list on recursively defined variable.  This
2021         supersedes my change of 2003-07-02.
2023 2003-07-08  Akim Demaille  <akim@epita.fr>
2025         * automake.in ($cygnus_mode): Replace with $options{'cygnus'}.
2026         Adjust all dependencies.
2027         (&depend): Move next to %dependencies and prototype.
2028         (&initialize_per_input): Initialize the 'cygnus' field of
2029         '%options' to spare the code from 'exists' or 'defined' when
2030         testing it.
2031         (&handle_configure, &do_check_merge_target, &check_cygnus): Prototype.
2032         (&parse_arguments): Rename '%options' and '%options_1st_pass' as
2033         '%cli_options' and '%cli_options_1st_pass' to avoid clashes and
2034         inconsistencies.
2036 2003-07-07  Alexandre Duret-Lutz  <adl@gnu.org>
2038         * automake.in (generate_makefile): Move near the end of the
2039         file, after the definition of all called functions, so that
2040         prototypes can be enforced.
2042 2003-07-06  Akim Demaille  <akim@epita.fr>
2044         * lib/am/subdirs.am (RECURSIVE_TARGETS): Move install-recursive,
2045         install-exec-recursive, install-data-recursive and
2046         uninstall-recursive addition to...
2047         * lib/am/texinfos.am: here.
2048         * lib/am/texinfos.am, lib/am/subdirs.am: Remove the .PHONY
2049         declaration of RECURSIVE_TARGETS.
2051 2003-07-06  Akim Demaille  <akim@epita.fr>
2053         * lib/Automake/Variable.pm, lib/Automake/VarDef.pm (VAR_SORTED):
2054         New variable type.
2055         Handle it.
2056         * automake.in (&handle_subdirs): Prototype.
2057         Adjust callers.
2058         Make RECURSIVE_TARGETS a VAR_SORTED.
2060 2003-07-06  Akim Demaille  <akim@epita.fr>
2062         * automake.in (&define_files_variable): New.
2063         (&handle_texinfo_helper): Move the handling of user variables from
2064         here, to...
2065         (&handle_texinfo): here.
2066         This is to balance the size of these functions, and to match the
2067         convention of other _helper functions.
2068         (&handle_texinfo_helper): Use &define_files_variable.
2069         Move some code to use less variables.
2070         Rename $info_cursor as $texi.
2071         (&handle_texinfo): Do not call handle_texinfo_helper if there are
2072         no TEXINFOS.
2073         * lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps
2074         and html.
2075         Remove *-recursive targets from .PHONY, they are part of
2076         $(RECURSIVE_TARGETS) anyway.
2077         (install-info, mostlyclean-aminfo): Are .PHONY.
2079 2003-07-05  Akim Demaille  <akim@epita.fr>
2081         * lib/am/distdir.am: Use ';' as a terminator, not a separator, for
2082         sed complex commands, as required by NetBSD sed.
2083         Reported by Patrick Welche.
2085 2003-07-05  Alexandre Duret-Lutz  <adl@gnu.org>
2087         * lib/config.guess, lib/config.sub: New upstream version.
2089 2003-07-04  Alexandre Duret-Lutz  <adl@gnu.org>
2091         * automake.texi (Optional, Dist): AC_CONFIG_AUX_DIR files
2092         are automatically distributed.
2094         * lib/depcomp (icc): Update to grok ICC 7.1's output.
2095         * m4/depend.m4 (_AM_DEPENDENCIES): Check dependency generation
2096         in a subdirectory, and with many dependencies.  This
2097         catches more failures of depcomp.
2098         Reports from Ralf Wildenhues and Akim Demaille.
2100 2003-07-04  Akim Demaille  <akim@epita.fr>
2102         * automake.in (&scan_texinfo_file, &output_texinfo_build_rules,
2103         (&handle_texinfo_helper, &handle_texinfo): Formatting changes.
2104         Prototype properly.
2105         Don't use & when calling functions.
2107 2003-07-03  Alexandre Duret-Lutz  <adl@gnu.org>
2109         * NEWS: Categorize entries.
2110         Suggested by Jim Meyering.
2112         * Makefile.am (maintainer-clean): Disallow '$AUTOMAKE && exit 1'.
2113         Ignore @...@ substitutions in comments.
2114         * tests/defs.in: Try to make the shell more POSIX compliant.
2115         (AUTOMAKE_run, AUTOMAKE_fails): New functions.
2116         * tests/README: Mention AUTOMAKE_fails.
2117         * tests/alloca.test, tests/alloca2.test, tests/ansi8.test,
2118         * tests/asm.test, tests/backsl3.test, tests/backsl4.test,
2119         * tests/badline.test, tests/badopt.test, tests/canon.test,
2120         * tests/canon5.test, tests/colneq.test, tests/comment3.test,
2121         * tests/comment5.test, tests/cond2.test, tests/cond20.test,
2122         * tests/cond23.test, tests/cond24.test, tests/cond27.test,
2123         * tests/condinc2.test, tests/conff2.test, tests/cxx2.test,
2124         * tests/dejagnu2.test, tests/dirforbid.test,
2125         * tests/distcom3.test, tests/else.test, tests/exdir2.test,
2126         * tests/exeext2.test, tests/gcj2.test, tests/gcj5.test,
2127         * tests/getopt.test, tests/gettext.test, tests/gettext2.test,
2128         * tests/gnits.test, tests/gnuwarn.test, tests/gnuwarn2.test,
2129         * tests/insh.test, tests/lex2.test, tests/libobj10.test,
2130         * tests/libobj12.test, tests/libobj13.test,
2131         * tests/libobj3.test, tests/library2.test,
2132         * tests/library3.test, tests/libtool4.test,
2133         * tests/libtool6.test, tests/lisp2.test, tests/location.test,
2134         * tests/nogzip2.test, tests/output5.test, tests/overrid.test,
2135         * tests/percent.test, tests/percent2.test,
2136         * tests/pluseq5.test, tests/pluseq7.test, tests/pluseq9.test,
2137         * tests/pr211.test, tests/primary.test, tests/primary2.test,
2138         * tests/python2.test, tests/recurs.test, tests/reqd2.test,
2139         * tests/seenc.test, tests/specflg.test, tests/specflg2.test,
2140         * tests/spell.test, tests/spell2.test, tests/srcsub.test,
2141         * tests/srcsub2.test, tests/stdlib.test, tests/subdir7.test,
2142         * tests/substtarg.test, tests/suffix11.test,
2143         * tests/symlink.test, tests/syntax.test,
2144         * tests/targetclash.test, tests/txinfo4.test,
2145         * tests/version3.test, tests/warnopts.test,
2146         * tests/xsource.test, tests/yacc2.test: Use set -e,
2147         AUTOMAKE_fails, and always grep error message.
2149         * automake.in (handle_ltlibraries): Fix call to msg.
2151         * tests/stamph.test: Delete.
2152         * tests/Makefile.am (TESTS): Remove stamph.test.
2154         * automake.in (handle_single_transform_list): Use $var->name
2155         to print variable in the configure-substitution diagnostic.
2156         Do not mention the parent when it is the variable itself.
2158         * tests/package.test: Delete.
2159         * tests/Makefile.am (TESTS): Remove package.test.
2161         * automake.in (cond_stack_else): Return FALSE if `if' was not
2162         used.
2163         (cond_stack_endif): Return TRUE if `if' was not used.  Do not
2164         display $negate and $cond, they are irrelevant and maybe undefined.
2166 2003-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
2168         * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
2169         Do not return undef when a variable is recursively defined, this
2170         causes warnings all over the place.  Return the empty string instead.
2172         * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES
2173         from empty DIST_ARCHIVES.
2175 2003-07-01  Alexandre Duret-Lutz  <adl@gnu.org>
2177         * automake.in (scan_autoconf_traces): Check the expected
2178         number of arguments of each traced macro.
2179         * tests/overrid.test: Fix call to AM_CONDITIONAL.
2180         * tests/conff2.test: New files.
2181         * tests/Makefile.am (TESTS): Add conff2.test.
2182         Report from Paolo Bonzini.
2184 2003-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
2186         * automake.in ($SUBST_REF_PATTERN): Do not define.
2187         (%gen_varname): Move to Variable.pm, as %_gen_varname.
2188         (initialize_per_input): Do not clean %gen_varname.
2189         (handle_options, check_libobjs_sources, handle_source_transform,
2190         handle_LIBOBJS, handle_ltlibraries, handle_texinfo_helper,
2191         handle_man_pages, handle_dist, handle_subdirs, handle_gettext,
2192         am_install_var): Adjust to use value_as_list_recursive,
2193         loc_and_value_as_list_recursive, and has_conditional_contents.
2194         (require_file_with_macro): Accept an Automake::Variable as argument.
2195         (traverse_variable_recursively,
2196         traverse_variable_recursively_worker, gen_varname,
2197         transform_variable_recursively): Move ...
2198         * lib/Automake/Variable.pm (traverse_variable_recursively,
2199         _traverse_variable_recursively_worker,
2200         _gen_varname, transform_variable_recursively): ... here.
2201         * automake.in (variable_conditionally_defined,
2202         variable_value_as_list_recursive_worker,
2203         variable_value_as_list_recursive
2204         variable_loc_and_value_as_list_recursive): Move ...
2205         * lib/Automake/Variable.pm (has_conditional_contents,
2206         _value_as_list_recursive_worker,
2207         value_as_list_recursive, loc_and_value_as_list_recursive): ... here.
2208         (reset): Reset %_gen_varname.
2209         (require_variables_for_variable): Accept an Automake::Variable
2210         as argument.
2212 2003-06-27  Alexandre Duret-Lutz  <adl@gnu.org>
2214         * tests/aclocal6.test: Test maintainer-clean in VPATH
2215         builds. (For Ralf's fix.)
2217 2003-06-27  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>  (tiny change)
2219         * lib/am/configure.am (maintainer-clean): Remove
2220         $(top_srcdir)/autom4te.cache, not autom4te.cache.
2222 2003-06-27  Akim Demaille  <akim@epita.fr>
2224         * automake.texi: Use @node with a single argument.
2226 2003-06-27  Alexandre Duret-Lutz  <adl@gnu.org>
2228         * m4/Makefile.am (dist_m4data_DATA): Add $(top_srcdir)/m4/amversion.m4.
2230         * lib/am/distdir.am (distcheck): Run $(am__remove_distdir)
2231         at the end of distcheck.  This was mistakenly removed on
2232         2003-06-15.
2233         * tests/subpkg.test: Make sure distcheck cleans up after itself.
2235         * m4/Makefile.am ($(srcdir)/amversion.m4): Rename as ...
2236         ($(top_srcdir)/m4/amversion.m4): ... this.
2237         (DISTCLEANFILES): Remove.
2238         (nodist_m4data_DATA): Remove. amversion.m4 is automatically
2239         distributed.
2240         (EXTRA_DIST): Add amversion.in.
2242 2003-06-25  Akim Demaille  <akim@epita.fr>
2244         * automake.texi (Top): Use @copying and @insertcopying.
2245         Make Alexandre an author.
2246         * automake.in ($gen_copyright): Add the "(C)" to Copyright.
2247         * lib/depcomp: Likewise.
2249 2003-06-23  Alexandre Duret-Lutz  <adl@gnu.org>
2251         * lib/Automake/Variable.pm (vardef, rvardef, set_seen): New functions.
2252         (variable_defined, examine_variable): Remove.
2253         (%_ac_macro_for_var): Add an entry for ALLOCA.
2254         (require_variables): Use vardef instead of variable_defined.
2255         Do not use _cvar.
2256         * automake.in (generate_makefile): Do not push $(SOURCE) into
2257         @sources.  Use define_pretty_variable to define SOURCES.
2258         (handle_LIBOBJS, handle_ALLOCA): Use require_variables_for_variable
2259         to require LIBOBJS, LTLIBOBJS and ALLOCA.
2260         (handle_programs, handle_ltlibraries): Do not define an empty
2261         _DEPENDENCIES or _LDFLAGS variable when none is defined.
2262         (define_configure_variable): Do not check whether the variable
2263         already exists (it's Automake::Variable::define's job).
2264         (require_build_directory): Likewise, do not check
2265         the existence of am__dirstamp.
2266         (generate_makefile, handle_options, handle_languages)
2267         (check_libobjs_sources, handle_single_transform_list)
2268         (traverse_variable_recursively_worker, handle_source_transform)
2269         (handle_lib_objects, handle_LIBOBJS, handle_compile)
2270         (handle_libtool, handle_programs, handle_libraries)
2271         (handle_ltlibraries, check_typos, handle_texinfo_helper)
2272         (handle_man_pages, handle_tags, handle_dist, handle_subdirs)
2273         (scan_aclocal_m4, handle_gettext, handle_footer, handle_install)
2274         (handle_all, do_check_merge_target, handle_clean, lang_c_finish)
2275         (handle_tests, lang_yacc_target_hook, define_pretty_variable)
2276         (define_compiler_variable, define_linker_variable)
2277         (make_paragraphs, am_primary_prefixes, am_install_var): Adjust to
2278         call var, vardef, or set_seen, instead of variable_defined.  Use
2279         set_seen only for variables which are actually checked by
2280         check_typos.
2281         * tests/target.test: Delete.
2282         * tests/alloca.test, tests/alloca2.test: New files.
2283         * tests/libobj3.test: Check error message.
2284         * tests/distcom4.test: Make sure configure is in DIST_COMMON.
2285         This replace confdist.test.
2286         * tests/Makefile.am (TESTS, XFAIL_TESTS): Remove target.test.
2287         (TESTS): Add alloca.test and alloca2.test.  Remove confdist.test.
2289 2003-06-20  Alexandre Duret-Lutz  <adl@gnu.org>
2291         * automake.in (handle_dist): Delete DIST_COMMON before redefining
2292         it.  Bug report from Akim Demaille.
2293         (rewrite_inputs_into_dependencies): Make sure we always return
2294         something, even when $add_srcdir is 0.
2295         * tests/distcom4.test, tests/distcom5.test: New files.
2296         * tests/Makefile.am (TESTS): Add distcom4.test and distcom5.test.
2298         * tests/cond29.test: Also check for _SOURCES.
2299         Report from Paolo Bonzini.
2301 2003-06-20  Akim Demaille  <akim@epita.fr>
2303         * lib/am/configure.am: Replace leading spaces with a real tab.
2305 2003-06-15  Alexandre Duret-Lutz  <adl@gnu.org>
2307         * tests/nogzip.test, tests/nogzip2.test: New files.
2308         * tests/Makefile.am (TESTS): Add nogzip.test and nogzip2.test
2310 2003-06-15  Akim Demaille  <akim@epita.fr>
2312         * automake.in (&make_paragraphs): Define %GZIP%.
2313         (&process_option_list): Accept no-dist-gzip2.
2314         (&handle_dist): Complain when no archive format is enabled.
2315         * lib/am/distdir.am (DIST_ARCHIVES): New variable.
2316         (dist-gzip, dist-bzip2, dist-tarZ, dist-zip): No longer
2317         conditioned.
2318         (dist): Build $(distdir).tar.gz conditionally.
2319         (distcheck): Use DIST_ARCHIVES to find an archive to unpack, and
2320         to list built archives.  Run $(MAKE) dist instead of dist-gzip.
2321         * automake.texi (Options, The types of distributions): Adjust.
2323 2003-06-15  Jens Elkner  <elkner@imsgroup.de>  (tiny change)
2325         * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with
2326         POSIXLY_CORRECT=1.
2328 2003-06-14  Karl Berry  <karl@gnu.org>
2329             Alexandre Duret-Lutz  <adl@gnu.org>
2331         * mkinstalldirs (scriptversion): New variable.  Setup emacs hooks
2332         to update it each time the file is written, as in install-sh.
2333         (usage): Improve message.
2334         (--version): New option.
2335         (--help): Output to stdout, not stderr.
2337 2003-06-13  Paul Eggert  <eggert@twinsun.com>
2339         * lib/install-sh (dsttmp, rmtmp): Do not use '#' in file names;
2340         it's not guaranteed by POSIX and it doesn't work on OpenVMS.
2341         Bug reported by Bernard Giroud in:
2342         http://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html
2344 2003-06-05  Alexandre Duret-Lutz  <adl@gnu.org>
2346         * automake.in (check_gnu_standards): Use no-installman and
2347         no-installinfo's locations.
2348         (process_option_list): Fill %options with locations.
2349         (check_cygnus) Fill $options{'no-installinfo'} and
2350         $options{'no-dependencies'} with $cygnus_mode, so that it
2351         remains a Location.
2352         * tests/gnuwarn2.test: New file.
2353         * tests/Makefile.am (TESTS): Add gnuwarn2.test.
2355 2003-06-04  Alexandre Duret-Lutz  <adl@gnu.org>
2357         * automake.in (process_option_list): Record the location
2358         of ansi2knr's definition.
2359         (handle_compile): Use it.
2360         * tests/ansi3.test: Make sure the location appears correctly.
2361         Update to use set -e.
2362         * tests/ansi3b.test: New file.
2363         * tests/Makefile.am (TESTS): Add ansi3b.test.
2365         * tests/alpha.test: Really run $MAKE.  Augment to test
2366         subdirectories, and check-news report.
2367         * tests/alpha2.test: New file.  Bug report from Akim Demaille.
2368         * tests/gnits2.test: Make sure README-alpha is not distributed.
2369         * tests/Makefile.am (TESTS): Add alpha2.test.
2370         * automake.in (handle_minor_options): Distribute README-alpha
2371         using push_dist_common, not require_file_with_macro.
2373 2003-06-03  Alexandre Duret-Lutz  <adl@gnu.org>
2375         * lib/Automake/Configure_ac.pm
2376         (search_configure_ac, find_configure_ac): Rename as ...
2377         (find_configure_ac, require_configure_ac): ... these.
2378         * aclocal.in (scan_configure): Adjust call to require_configure_ac.
2379         * automake.in (scan_autoconf_files): Likewise.
2380         Suggested by Tim Van Holder.
2382         * alocal.in: Use Automake::Configure_ac.
2383         ($configure_ac): Delete.
2384         (scan_configure): Adjust use of find_configure_ac;
2385         * automake.in: Use Automake::Configure_ac.
2386         ($configure_ac): Delete.
2387         (scan_autoconf_files): Adjust use of find_configure_ac;
2388         * lib/Automake/Configure_ac.pm: New file.
2389         * lib/Automake/General.pm (find_configure_ac): Delete.  Now
2390         replaced by Automake::Configure_ac::search_configure_ac.
2391         * lib/Automake/Makefile.am (dist_perllib_DATA): Add Configure_ac.pm.
2392         * lib/Automake/Variable.pm: Use Automake::Configure_ac.
2393         (require_variables): Adjust use of $configure_ac.
2395 2003-06-02  Akim Demaille  <akim@epita.fr>
2397         * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am,
2398         * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am,
2399         * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am,
2400         * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am,
2401         * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am,
2402         * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am,
2403         * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am,
2404         * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am,
2405         * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am,
2406         * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am,
2407         * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4,
2408         * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4,
2409         * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4,
2410         * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4,
2411         * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4,
2412         * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4,
2413         * m4/Makefile.am: White space changes and Copyright updates.
2415 2003-05-29  Alexandre Duret-Lutz  <adl@gnu.org>
2417         * lib/Automake/Variable.pm (check_defined_unconditionally): Add
2418         the $parent_cond argument.
2419         (output): Use $self->name in diagnostic not $self.
2420         (variable_value_as_list): Rename as ...
2421         (value_as_list): ... this.  Declare as a method.  Take a $parent_cond
2422         argument and pass it to check_defined_unconditionally.  Do not call
2423         variable_assert, now that this is a method.
2424         (variable_assert): Delete (unused).
2425         * automake.in (traverse_variable_recursively_worker): Adjust to
2426         use check_defined_unconditionally and value_as_list as a methods.
2428         * lib/Automake/Variable.pm (output): Declare as a method, since it
2429         is only used this way.
2430         (define): Fix documentation of $cond.
2431         Suggested by Raja R. Harinath.
2433 2003-05-25  Alexandre Duret-Lutz  <adl@gnu.org>
2435         * lib/Automake/Variable.pm, lib/Automake/VarDef.pm: New files.
2436         * lib/Automake/Makefile.am (dist_perllib_DATA): Add Variable.pm
2437         and VarDef.pm.
2438         * automake.in: Use Automake::Variable and Automake::VarDef.
2439         (MACRO_PATTERN): Delete. Now Automake::Variable::_MACRO_PATTERN.
2440         (am_macro_for_var): Delete. Now Automake::Variable::_am_macro_for_var.
2441         (ac_macro_for_var): Delete. Now Automake::Variable::_ac_macro_for_var.
2442         (silent_variable_override): Delete.  Now
2443         Automake::Variable::_silent_variable_override.
2444         (var_value, var_location, var_comment, var_type, var_owner,
2445         var_pretty, content_seen): Delete.  This functionality is now
2446         offered by Automake::Variable and Automake::VarDef.
2447         (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE, VAR_ASIS, VAR_PRETTY):
2448         Delete.  Now defined in Automake::VarDef.
2449         (var_order): Delete.  Now Automake::Variable::_var_order.
2450         (appendvar): Delete.  Now Automake::Variable::_appendvar.
2451         (var_SUFFIX_trigger): Register using Automake::Variable::hook.
2452         (initialize_per_input): Call Automake::Variable::reset.
2453         (err_var, msg_cond_var, msg_var, reject_var): Delete.  Now
2454         defined in Automake::Variable.
2455         (generate_makefile, process_option_list, handle_languages)
2456         (traverse_variable_recursively_worker)
2457         (transform_variable_recursively, handle_compile)
2458         (handle_libraries, handle_ltlibraries)
2459         (check_typos, handle_dist, handle_subdirs, scan_autoconf_files):
2460         Adjust to use Automake::Variable functions.
2461         (check_ambiguous_condition): Delete.  Now
2462         Automake::Variable::_check_ambiguous_condition.
2463         (condition_ambiguous_p): Delete.  Now
2464         Automake::Variable::condition_ambiguous_p.
2465         (variable_not_always_defined_in_cond): Delete.  Now
2466         Automake::Variable::not_always_defined_in_cond.
2467         (macro_define): Delete.  Now Automake::Variable::define.
2468         (macro_delete): Delete.  Now Automake::Variable::variable_delete.
2469         (macro_dump): Delete.  Now Automake::Variable::variable_dump.
2470         (macros_dump): Delete.  Now Automake::Variable::variables_dump.
2471         (variable_defined): Delete.  Now
2472         Automake::Variable::variable_defined, with the target check
2473         temporarily disabled.
2474         (variable_assert): Delete.  Now Automake::Variable::variable_assert.
2475         (examine_variable): Delete.  Now
2476         Automake::Variable::examine_variable.
2477         (variable_conditions): Delete.  Now Automake::Variable::conditions.
2478         (scan_variable_expansions): Delete.  Now
2479         Automake::Variable::scan_variable_expansions.
2480         (check_variable_expansions): Delete.  Now
2481         Automake::Variable::check_variable_expansions.
2482         (check_variable_defined_unconditionally): Delete.  Now
2483         Automake::Variable::check_defined_unconditionally.
2484         (variable_value): Delete.  Now Automake::Variable::variable_value.
2485         (variable_value_as_list): Delete.  Now
2486         Automake::Variable::variable_value_as_list.
2487         (variable_value_as_list_recursive_worker): Adjust to use
2488         Automake::Variable functions.
2489         (variable_output): Delete.  Now Automake::Variable::output.
2490         (define_pretty_variable, define_configure_variable, read_am_file)
2491         (define_standard_variables, read_main_am_file): Adjust to use
2492         Automake::Variable functions.
2493         (handle_variables): Delete.  Now Automake::Variable::output_variables.
2494         (file_contents_internal, am_primary_prefixes, am_install_var)
2495         (require_file_with_macro, require_conf_file_with_macro)
2496         (push_dist_common): : Adjust to use
2497         Automake::Variable functions.
2498         (require_variables): Delete.  Now
2499         Automake::Variable::require_variables.
2500         (require_variables_for_macro): Delete.  Now
2501         Automake::Variable::require_variables_for_variable.
2502         * tests/Makefile.am (XFAIL_TESTS): Add target.test.
2504 2003-05-25  Christian Cornelssen  <ccorn@cs.tu-berlin.de>  (tiny change)
2506         * tests/dejagnu7.test: Check if runtest supports --status.
2508 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
2510         * lib/Automake/Location.pm (dump): Output 'INTERNAL' when position
2511         is undefined.
2513         * lib/Automake/DisjConditions.pm (human): Fix infinite loop when
2514         $self contains only one Condition.
2516         * automake.in: Use plain strict, including refs.
2517         (macro_define, handle_single_transform_list): Use \&{'name'} to
2518         build references to named subroutines.
2520 2003-05-22  Karl Berry  <karl@gnu.org>
2522         * automake.texi: Update @dircategory to match the Free Software
2523         Directory.  End directory entries with dots.
2525 2003-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
2527         * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/.
2529         * lib/elisp-comp: s/François/Franc,ois/.
2530         Suggested by Paul Eggert.
2532         * automake.in: Move the "main" code at the end.
2533         (parse_arguments): Move near the end.
2534         ($KNOWN_EXTENSIONS_PATTERN, @known_extensions_list,
2535         accept_extensions, var_SUFFIXES_trigger): Move these definitions
2536         before any call to register_language.
2537         (am_file): Move the definition with all other global variables,
2538         do not use local to define it.
2539         * Makefile.am (maintainer-check): Expect no `local' in Automake.
2541 2003-05-21  Alexandre Duret-Lutz  <adl@gnu.org>
2543         * lib/Automake/Wrap.pm, lib/Automake/tests/Wrap.pl: New files.
2544         * lib/Automake/Makefile.am (dist_perllib_DATA): Add Wrap.pm.
2545         * lib/Automake/tests/Makefile.am (TESTS): Add Wrap.pl.
2546         * automake.in (handle_texinfo_helper, pretty_print_rule)
2547         (variable_output): Adjust to use makefile_wrap instead of
2548         pretty_print_internal.
2549         (pretty_print_internal): Remove.  Renamed as Automake::Wrap::wrap
2550         and augmented to accept the $eol and $max_len arguments.
2552 2003-05-18  Alexandre Duret-Lutz  <adl@gnu.org>
2554         * lib/Autom4te/XFile.pm, lib/config.guess, lib/config.sub,
2555         lib/texinfo.tex: New upstream versions.
2557 2003-05-17  Alexandre Duret-Lutz  <adl@gnu.org>
2559         * lib/am/install.am (install, install-exec, install-data, uninstall):
2560         Declare conditionally using a if/else/endif block instead of
2561         using ?SUBDIRS?-style conditions.  The latter fail when
2562         %maybe_BUILT_SOURCES% is replaced by several lines.
2563         This fixes a bug introduced on 2003-04-06.
2564         * tests/bsource.test: New file.
2565         * tests/Makefile.am (TESTS): Add bsource.test.
2566         Reported by Bruno Haible.
2568 2003-05-11  Alexandre Duret-Lutz  <adl@gnu.org>
2570         * automake.texi (renamed objects): New node.
2571         (Program and Library Variables): Move maude_DEPENDENCIES closer
2572         to maude_LDADD.  Define and use `per-target compilation flags' in the
2573         explanation for maude_CFLAGS et al.  Link to the `renamed objects'
2574         node.  Illustrate maude_SHORTNAME.
2576 2003-05-09  Alexandre Duret-Lutz  <adl@gnu.org>
2578         * lib/install-sh: Update copyright notice and license to that of
2579         X11R6.  This removes an advertising clause reported as Debian bug
2580         #191717.
2582 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
2584         * configure.in (ACLOCAL): Do not use -I, --acdir is enough.
2586         * m4/make.m4: Rename the doit target as am__doit,
2587         and make it phony.
2588         Reported by Philip S Tellis.
2590 2003-05-07  Alexandre Duret-Lutz  <adl@gnu.org>
2592         * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit
2593         status.
2594         * tests/makej.test: New file (test Autom4te's cache locking,
2595         new in CVS Autoconf).
2596         * tests/Makefile.am (TESTS): Add makej.test.
2598 2003-05-06  Alexandre Duret-Lutz  <adl@gnu.org>
2600         * lib/Automake/General.pm (contents): New function.
2601         * aclocal.in (greatest_mtime, force_output): New globals.
2602         (scan_configure, add_file): Update $greatest_mtime.
2603         (parse_arguments): Parse --force.
2604         (write_aclocal): Do not overwrite $output_file unless needed.
2605         * automake.texi (aclocal options): Document --force.
2606         * tests/aclocal7.test: New file.
2607         * tests/Makefile.am (TESTS): Add aclocal7.test.
2609 2003-05-05  Alexandre Duret-Lutz  <adl@gnu.org>
2611         * automake.texi (Optional): Document m4_include.
2612         (Invoking aclocal): Shake a bit to introduce the various uses
2613         of aclocal and explain that aclocal will use m4_include for
2614         local files.
2615         (Extending aclocal): Show how to install installable macros
2616         in $(datadir)/aclocal, and make it clearer that writing installable
2617         macros is not the only way to extend aclocal.
2618         (Local Macros, Future of aclocal): New sections.
2620 2003-04-27  Alexandre Duret-Lutz  <adl@gnu.org>
2622         * automake.in (@common_files): Remove acinclude.m4 since
2623         it will be m4_included by aclocal.m4 and files are always
2624         distributed.
2625         (scan_aclocal_m4): Do not bother about acinclude.m4 anymore.
2626         We will get this dependency when tracing m4_includes.
2627         * tests/aclocal6.test: Make sure acinclude.m4 is distributed
2628         when used.
2629         * tests/acinclude.test: Delete.
2630         * tests/Makefile.am (TESTS): Remove acinclude.test.
2632 2003-04-25  Alexandre Duret-Lutz  <adl@gnu.org>
2634         * automake.in (handle_configure): Don't add @configure_deps to
2635         DIST_COMMON, we do this from lib/am/configure.am now.
2636         Define the am__configure_deps variable instead of substituing
2637         %CONFIGURE_DEPS%.
2638         * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure,
2639         $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%.
2640         (DIST_COMMON): Add $(am__configure_deps).
2642         * tests/aclocal6.test: New file.
2643         * lib/am/configure.am (am--refresh): New rule.
2644         (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status,
2645         $(top_srcdir)/configure): Call the top-level am--refresh from
2646         subdirectories.
2647         ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%.  Call the
2648         top-level am--refresh when not in the top-level directory.
2649         Fix jump directories for VPATH builds.
2650         Suggested by Raja R. Harinath.
2652 2003-04-24  Alexandre Duret-Lutz  <adl@gnu.org>
2654         * automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS
2655         and glob for m4_files (We've got all local m4 files while
2656         tracing m4_include's).  Diagnose ACLOCAL_M4_SOURCES as obsolete.
2657         Distribute aclocal.m4 only at the top-level.
2658         (my_glob): Remove.  This fixes PR automake/11.
2659         (handle_dist): Strip leading `./' from directories.
2660         * aclocal.in (add_file): Output 'm4_include([file.m4])' instead
2661         of copying local files.
2662         (write_aclocal, parse_arguments): Bump copyright date.
2663         * configure.in: De not build m4/amversion.m4 from here ...
2664         * m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here.
2665         (nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead
2666         of amversion.m4.
2667         * tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test.
2668         (TESTS): Remove aclocal2.test.  Do not test aclocal.test twice.
2669         * tests/aclocal2.test: Delete (pointless).
2670         * tests/aclocal5.test: Make sure configure's dependencies are
2671         distributed.
2672         * tests/acinclude.test: Adjust to search for m4_include.
2673         * tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep
2674         configure instead of aclocal.m4.
2676         For PR automake/46:
2677         * automake.in (scan_aclocal_m4): Work in all directories, not only
2678         the top-level.  Prepend $(top_srcdir) in front of each aclocal.m4
2679         dependency.
2680         * lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)):
2681         Define rebuild rules in each directory.
2682         * tests/subdir8.test: Augment to exercise aclocal.m4's dependencies
2683         from the top-level directory.
2684         * tests/aclocal5.test: New file.  Exercise aclocal.m4's dependencies
2685         from a subdirectory.
2686         * tests/Makefile.am (TESTS): Add aclocal5.test.
2687         (XFAIL_TESTS): Replace subdir8.test by aclocal5.test.
2689 2003-04-24  Akim Demaille  <akim@epita.fr>
2690             Alexandre Duret-Lutz  <adl@gnu.org>
2692         For PR automake/46:
2693         * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt
2694         because of one of configure's dependencies, run automake without
2695         argument to update the whole tree at once.  Depend upon
2696         %CONFIGURE_DEPS%.
2697         (%MAKEFILE%): If Makefile is rebuilt because config.status has
2698         been updated, run config.status without arguments.
2699         * automake.in (scan_autoconf_traces): Prepend $(top_srcdir)
2700         before all files in @configure_deps.
2701         * tests/subdir5.test: Modernize configure.in, make sure
2702         maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%.
2703         * tests/subdir8.test: New file.
2704         * tests/Makefile.am (TESTS): Add subdir8.test.
2705         (XFAIL_TESTS): Replace subdir5.test by subdir8.test.
2707 2003-04-23  Alexandre Duret-Lutz  <adl@gnu.org>
2709         * automake.texi (Requirements): Typo in index
2710         s/AC_CONFIG_FILE/AC_CONFIG_FILES/.
2712         * lib/texinfo.tex: New upstream version.
2714 2003-04-21  Jim Meyering  <jim@meyering.net>
2716         * lib/mkinstalldirs: Remove each sequence of spaces before a
2717         TAB character.
2718         * lib/depcomp: Search for TAB-SPC, not SPC-TAB.
2720 2003-04-19  Alexandre Duret-Lutz  <adl@gnu.org>
2722         Fix for PR automake/389:
2723         * automake.in (handle_configure): Don't put $colon_infile in
2724         CONFIG-MAKEFILE.
2725         * tests/conff.test: New file.
2726         * tests/Makefile.am (TESTS): Add conff.test.
2727         Reported by Alexander Turbov.
2729 2003-04-18  Alexandre Duret-Lutz  <adl@gnu.org>
2731         * tests/defs.in: Handle required=etags to work around
2732         Exuberant Ctags.
2734         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
2735         versions.
2737         * tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test:
2738         Distribute dejagnu test cases, so that distcheck actually runs them.
2740 2003-04-18  Richard Dawe  <rich@phekda.freeserve.co.uk>
2742         * lib/am/dejagnu.am (site.exp): Don't define tool in site.exp,
2743         because we set that by invoking runtest with --tool.
2744         * tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test,
2745         dejagnu6.test, dejagnu7.test.
2746         * tests/dejagnu4.test: New test.
2747         * tests/dejagnu5.test: New test.
2748         * tests/dejagnu6.test: New test.
2749         * tests/dejagnu7.test: New test.
2751         * tests/dejagnu3.test: Make sure the DejaGnu test is actually run.
2753 2003-04-18  Jim Meyering  <jim@meyering.net>
2755         * automake.in (variable_output): Fix typo in comment s/is/if/.
2757         * lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect
2758         directly to $@.  Instead, redirect to $@t and rename upon success.
2759         Also, move the commands that update $@ so they are last.  Otherwise,
2760         this rule could leave the user with an up to date target (.c file)
2761         but with a missing or corrupted corresponding .h file.
2763 2003-04-17  Richard Dawe  <rich@phekda.freeserve.co.uk>
2765         * tests/defs.in: Handle required=runtest, to detect runtest
2766         from DejaGnu.
2767         * tests/Makefile.am (TESTS): Add dejagnu3.test.
2768         * tests/dejagnu3.test: New test.
2770 2003-04-16  Alexandre Duret-Lutz  <adl@gnu.org>
2772         * automake.in (rule_define): If the user tries to override
2773         an Automake which has a -local variant, suggest using the
2774         -local variant in the -Woverride diagnostic.
2775         (handle_factored_dependencies): Register factored
2776         rules with rule_define, and define them only in undefined
2777         conditions.
2778         * tests/Makefile.am (TESTS): Add override.test.
2779         * tests/overrid.test: New file.
2780         * tests/phony.test: Count the number of .PHONY targets.
2782 2003-04-15  Alexandre Duret-Lutz  <adl@gnu.org>
2784         * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silence
2785         these rules, so that we don't confuse users by echoing
2786         "echo ERROR:" commands which are not run.
2788 2003-03-14  Richard Dawe  <rich@phekda.freeserve.co.uk>
2789             Alexandre Duret-Lutz  <adl@gnu.org>
2791         * automake.in (output_texinfo_build_rules, handle_texinfo_helper,
2792         initialize_per_input):  Add infrastructure for generating HTML
2793         documentation from texinfo source.
2794         * lib/am/texinfos.am: Add rules for building HTML documentation
2795         from texinfo source.
2796         * lib/am/texibuild.am: Likewise.
2797         * automake.texi (Texinfo): Document rules for building
2798         HTML documentation from texinfo source.
2799         * tests/txinfo21.test: New file.
2800         * tests/Makefile.am (TESTS): Add txinfo21.test.
2801         * tests/defs.in: Handle required=makeinfo-html.
2803 2003-04-14  Alexandre Duret-Lutz  <adl@gnu.org>
2805         * automake.in (%silent_variable_override): New variable.
2806         (macro_define): Warn about variable definitions overriding
2807         Automake variables.
2808         (rule_define): Warn about target definitions overriding
2809         Automake variables.  Fix $condmsg definition.
2810         * automake.texi (Invoking Automake): Document the `override'
2811         category.
2812         * lib/Automake/ChannelDefs.pm (usage): Likewise.
2813         * lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define,
2814         this is already done in m4/init.m4.
2815         * tests/dejagnu2.test: Run $MAKE, don't only grep.  Use
2816         -Wno-override, and make sure we get a warning without.
2817         * tests/exeext2.test, tests/substtarg.test: Use -Wno-override,
2818         and make sure we get a warning without.
2819         * tests/exeext3.test, tests/java2.test, tests/nolink.test,
2820         tests/subpkg.test, tests/vartest.test: Use -Wno-override.
2821         * tests/txinfo13.test: Use installcheck-local instead of overriding
2822         installcheck.
2823         * tests/txinfo2.test: Run $MAKE on the real Makefile (this test
2824         used to succeed thanks to a failure...)
2825         * tests/location.test: Adjust expected messages.
2826         * tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test.
2828 2003-04-12  Raja R Harinath  <harinath@acm.org>
2830         * lib/Automake/DisjConditions.pm (true): Don't cache answer.
2831         (invert): Update comment.
2832         (_simplify): Remove.
2833         (simplify): Implement using invert().
2834         * lib/Automake/tests/DisjConditions.pl (test_simplify):
2835         Update to reflect changes.
2837 2003-04-12  Alexandre Duret-Lutz  <adl@gnu.org>
2839         * automake.in (scan_autoconf_files): Augment the error message
2840         about AM_INIT_AUTOMAKE not found.
2841         Suggested by Bruno Haible.
2843         * lib/Automake/Version.pm: New file.
2844         * lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm.
2845         * lib/Automake/tests/Version.pl: New file.
2846         * lib/Automake/tests/Makefile.am (TESTS): Add Version.pl.
2847         * tests/Makefile.am (TESTS): Remove version5.test.
2848         * tests/version5.test: Delete.  Move the tests to Version.pl.
2849         * automake.in (version_split, version_compare, version_check): Move ...
2850         * lib/Automake/Version.pm (split, compare, check): ... here.
2852 2003-04-11  Alexandre Duret-Lutz  <adl@gnu.org>
2854         * lib/Automake/tests/Condition.pl (test_reduce_and)
2855         (test_reduce_or): Cosmetics.
2856         * lib/Automake/tests/DisjConditions.pl (test_sub_conditions):
2857         Fix a comment.
2858         * lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...>
2859         in comment.
2860         * tests/yacc8.test, configure.in: Update copyright year.
2862 2003-04-10  Richard Dawe  <rich@phekda.freeserve.co.uk>
2864         * configure.in: Get the build platform name.  Define
2865         MODIFICATION_DELAY as the time to wait after modifying a file,
2866         to cope with timestamp granularity issues, depending
2867         on the platform.
2868         * tests/defs.in: Define `sleep' using MODIFICATION_DELAY.
2870 2003-04-10  Eric Siegerman  <eric_97@pobox.com>  (tiny change)
2872         * automake.texi (Public macros): Clarify that the new
2873         AM_INIT_AUTOMAKE variant is preferred, and the old one
2874         deprecated.  Copy-edit the rest of the AM_INIT_AUTOMAKE item.
2875         (Hello): Caution that the example uses the deprecated
2876         AC_INIT/AM_INIT_AUTOMAKE syntax, and xref to the discussion.
2878 2003-04-10  Alexandre Duret-Lutz  <adl@gnu.org>
2880         Retain all variable definitions until the whole Makefile.am has
2881         been processed, then output all variables in one step, at the top
2882         of Makefile.in.  (Older revisions used to output user variables
2883         before generating Automake targets, and to mix Automake variables
2884         with Automake targets, preventing redefinitions of previously
2885         output variables.)
2887         * automake.in (%var_pretty): New variable.
2888         (VAR_ASIS, VAR_PRETTY): New constants.
2889         (@var_list): Rename as ...
2890         (@var_order): ... this.
2891         (initialize_per_input): Clear %var_pretty.
2892         (handle_variables): New function, extracted from ...
2893         (read_main_am_file): ... here.
2894         (generate_makefile): Call handle_variable after everything else.
2895         (handle_dist): Use define_pretty_variable, not pretty_print.
2896         (pretty_print): Delete.
2897         (macro_define): Augment with $COMMENT and $PRETTY parameters.
2898         Update %var_comment, %var_pretty, and @var_order.  Adjust callers.
2899         (variable_pretty_output): Merge with ...
2900         (variable_output): ... this, and choose the prettiness on a
2901         per-condition basis.
2902         (append_comments): Delete.  This work is now done by macro_define.
2903         (read_am_file, file_contents_internal): Don't call append_comments
2904         nor update @var_list, adjust calls to macro_define.
2905         (handle_subdirs): Don't explicitly output RECURSIVE_TARGETS,
2906         just mark it as VAR_PRETTY.
2907         * tests/exeext.test: Make sure bin_PROGRAMS is output only once.
2908         Report from Jim Meyering.
2910 2003-04-06  Alexandre Duret-Lutz  <adl@gnu.org>
2912         * automake.in (handle_installdirs): Rename as ...
2913         (handle_install): ... this.  Define maybe_BUILT_SOURCES.
2914         (generate_makefile): Adjust call to handle_install.
2915         * lib/am/install.am (install): Use %maybe_BUILT_SOURCES%.
2916         * automake.texi (Sources, Built sources example): BUILT_SOURCES
2917         is honored by `make install' too.
2918         * tests/check3.test: Make sure that `make install' also depends
2919         upon BUILT_SOURCES.
2920         Report from Alexander Turbov.
2922         * lib/am/libs.am (ARFLAGS): Define.
2923         * automake.in (handle_libraries): Use `$(ARFLAGS)' instead of
2924         hard-coding `cru'.
2925         * automake.texi (A Library): Explain how AR, ARFLAGS and RANLIB
2926         are used, and how they can be overridden.
2927         (Program and Library Variables): Adjust to show `$(ARFLAGS)'
2928         instead of `cru'
2929         * tests/ar.test: Rewrite to test for AR, ARFLAGS, and RANLIB.
2930         * tests/ranlib.test: Delete, obsoleted by ar.test.
2931         * tests/Makefile.am (TESTS): Remove ranlib.test.
2932         Report from Paul Thomas.
2934 2003-04-03  Alexandre Duret-Lutz  <adl@gnu.org>
2936         * automake.in (check_trailing_slash): New function (variation on
2937         a patch by Peter Muir).  Diagnose whitespaces following trailing
2938         backslash.
2939         (read_am_file): Use it.
2940         * tests/backsl4.test: New file.
2941         * tests/Makefile.am (TESTS): Add backsl4.test.
2942         Reported by Peter Muir.
2944 2003-03-29  Raja R Harinath  <harinath@acm.org>
2946         Speedup Automake::DisjConditions::invert().
2947         * lib/Automake/Condition.pm (multiply): New.
2948         * lib/Automake/DisjConditions.pm (_multiply): Use it.
2949         (sub_conditions): Likewise.
2951         * lib/Automake/Condition.pm (reduce): Rename to ...
2952         (reduce_and): ... this.
2953         (reduce_or): New.
2954         * lib/Automake/DisjConditions.pm (_multiply): Use reduce_or().
2955         * lib/Automake/tests/Condition.pl (test_reduce): Rename to ...
2956         (test_reduce_and): ... this.
2957         (test_reduce_or): New.
2958         * lib/Automake/tests/DisjConditions.pl
2959         (test_invert): Update to reflect effect of reduce_or().
2960         (test_simplify): Don't skip invert() on larger inputs.
2962 2003-03-29  Raja R Harinath  <harinath@cs.umn.edu>
2964         * tests/yacc8.test: Add a $sleep before modifying Makefile.am so
2965         that timestamp will change.
2967 2003-03-23  Akim Demaille  <akim@epita.fr>
2968             Alexandre Duret-Lutz  <adl@gnu.org>
2970         * lib/am/tags.am (TAGS): Use --etags-include instead of --include,
2971         when supported by etags (Exuberant Ctags).
2972         * tests/tagsub.test: Rewrite to _run_ the `tags' rule.
2974 2003-03-20  Alexandre Duret-Lutz  <adl@gnu.org>
2976         For Debian Bug #185388:
2977         * automake.texi (Extending): Augment the install-exec-hook
2978         discussion with an example how to symlink a versioned binary.
2979         * tests/insthook.test: Rewrite to test the above example.
2980         Report from James R. Van Zandt.
2982 2003-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
2984         * Makefile.am (maintainer-check): Allow `automake:' tokens,
2985         occuring in location.test.  Automake now has 5 legitimate
2986         unsubstituted @strings@.
2988         * tests/aclocal4.test: Require GNU make.
2990 2003-03-14  Alexandre Duret-Lutz  <adl@gnu.org>
2992         * tests/aclocal4.test: New file.  Test for the ACLOCAL_M4 bug below.
2993         * tests/Makefile.am (TESTS): Add aclocal4.test.
2995 2003-03-14  Jim Meyering  <jim@meyering.net>
2997         * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
2998         subdirectories.  Makefile.in depends on that variable.
3000 2003-03-13  Alexandre Duret-Lutz  <adl@gnu.org>
3002         * m4/init.m4: Remove a leftover comment from the pre-1.7 era.
3004         Fix for PR automake/386:
3005         * m4/init.m4: Require Autoconf 2.55.
3006         Reported by Owen Taylor.
3008         * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
3009         (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode.
3010         Suggested by Matthias Andree.
3012         * tests/README: Typo.
3014 2003-03-08  Alexandre Duret-Lutz  <adl@gnu.org>
3016         * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
3017         (?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP.
3018         Just echo the gcc command.
3019         Suggested by Karl Berry.
3021 2003-03-06  Alexandre Duret-Lutz  <adl@gnu.org>
3023         * lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
3024         `test -f foo || echo $(srcdir)/` to emulate a VPATH search when
3025         outputing suffix rules.  This follows 2003-02-25's change.
3026         * lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
3027         * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
3029 2003-03-05  Alexandre Duret-Lutz  <adl@gnu.org>
3031         * automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed
3032         with AC_CONFIG_FILES are cleaned by `make distclean'.  Don't
3033         pretend otherwise.
3034         Reported by Rafael Laboissiere.
3036 2003-03-04  Andreas Buening  <andreas.buening@nexgo.de>
3038         * lib/mdate-sh: Find out which column of the ls -l output contains
3039         the month. Do not assume it is at least the fifth column.
3041 2003-02-26  Alexandre Duret-Lutz  <adl@gnu.org>
3043         * automake.texi (Emacs Lisp): Mention that `dist_' can be used.
3045         * automake.texi (Emacs Lisp): Instruct people to use lisp_DATA
3046         instead of lisp_LISP when they don't want byte-compilation.
3047         Don't mention ELCFILES anymore.
3048         * automake.in (handle_data): Allow lisp_DATA.
3049         * tests/lisp5.test: New file.
3050         * tests/Makefile.am (TESTS): Add lisp5.test.
3052         * automake.in (handle_emacs_lisp): Don't build *.elc files
3053         if ELCFILES was set empty.
3054         * tests/lisp4.test: New file.
3055         * tests/Makefile.am (TESTS): Add lisp4.test.
3056         Reported by Simon Josefsson.
3058         * tests/lex3.test, tests/lex5.test: Require flex.
3059         Reported by Leo Davis.
3061 2003-02-25  Alexandre Duret-Lutz  <adl@gnu.org>
3063         * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not
3064         use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search
3065         when outputing suffix rules.
3066         * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi)
3067         (?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise.
3068         Suggested by Bruno Haible.
3070         * automake.in (read_am_file): Catch trailing backslashes on last line.
3071         * tests/backsl3.test: New file.
3072         * tests/Makefile.am (TESTS): Add backsl3.test.
3073         Reported by Akim Demaille.
3075 2003-02-24  Alexandre Duret-Lutz  <adl@gnu.org>
3077         * ChangeLog: Move 2002's entries to ...
3078         * ChangeLog.02: ... this new file.
3079         * Makefile.am (EXTRA_DIST): Add ChangeLog.02.
3081 2003-02-24  Richard Dawe  <rich@phekda.freeserve.co.uk>
3083         * tests/version7.test: Use $sleep to sleep before updating
3084         the version, to work around timestamp inconsistencies in Windows.
3086 2003-02-24  Bruno Haible  <bruno@clisp.org>
3087             Alexandre Duret-Lutz  <adl@gnu.org>
3089         * lib/am/texibuild.am: Don't remove the target info files. Instead,
3090         back up and restore them if makeinfo fails.
3091         * tests/txinfo20.test: New file.
3092         * tests/Makefile.am (TESTS): Add txinfo20.test.
3094 2003-02-23  Alexandre Duret-Lutz  <adl@gnu.org>
3096         * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
3097         (distcleancheck): Fix typos and other errors reported by Karl
3098         Berry.
3100 2003-02-20  Alexandre Duret-Lutz  <adl@gnu.org>
3102         * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
3103         instead of ${...}.
3105         * tests/defs.in: Handle required=ro-dir.
3106         * tests/destdir.test: Use this.
3108 2003-02-19  Richard Dawe  <rich@phekda.freeserve.co.uk>
3110         * lib/am/distdir.am (distcheck): Strip any leading DOS drive
3111         from dc_install_base.
3113 2003-02-19  Alexandre Duret-Lutz  <adl@gnu.org>
3115         * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
3116         DJGPP-style *.iNN info files.
3117         (maintainer-clean-aminfo): Rewrite using the same pattern
3118         as in uninstall-info-am.
3119         * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase
3120         DJGPP-style *.iNN info files before running $(MAKEINFO).
3121         * tests/txinfo19.test: New file.
3122         * tests/Makefile.am (TESTS): Add txinfo19.test.
3124 2003-02-18  Richard Dawe  <rich@phekda.freeserve.co.uk>
3126         * lib/depcomp (dashmstdout): Cope with DOS filenames in
3127         dependencies.
3129 2003-02-17  Alexandre Duret-Lutz  <adl@gnu.org>
3131         * lib/depcomp (makedepend): Don't pass $object to makedepend.
3132         Reported by Stepan Kasal.
3134 2003-02-12  Alexandre Duret-Lutz  <adl@gnu.org>
3136         * tests/defs.in: Handle required=makedepend.
3138         * Makefile.am (maintainer-check): Update the diff check
3139         to account for the recent @SHELL@ substitution.
3141 2003-02-11  Alexandre Duret-Lutz  <adl@gnu.org>
3143         * lib/depcomp: Do not put comments on the `icc)' line.
3145         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
3146         versions.
3148         Fix for PR automake/381:
3149         * automake.in (handle_gettext): Do not print diagnostics
3150         about po/ and intl/ missing from SUBDIRS if po/ does not
3151         exist.  Warn if `SUBDIRS = intl' is used although libintl
3152         is 'external'.
3153         * tests/gettext.test: Make sure diagnostics are not output
3154         when po/ does not exist.
3155         * tests/gettext2.test: Test for unwanted intl/.
3156         PR from Alexander Turbov, fix suggested by Bruno Haible.
3158         * m4/depend.m4: Grep depcomp's stderr for icc warnings about
3159         ignored options.
3160         * lib/depcomp (icc): New mode.
3161         * tests/depcomp5.test: New file.
3162         * tests/defs.in: Handle required=icc.
3163         * tests/Makefile.am (TESTS): Add it.
3165         Temporary hack for PR automake/381:
3166         * automake.in (handle_gettext): Turn missing po/ and intl/ errors
3167         into -Wsyntax warnings.
3169 2003-02-10  Richard Dawe  <rich@phekda.freeserve.co.uk>
3171         * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
3172         This makes the setting of SHELL work for DJGPP.
3174 2003-02-10  Alexandre Duret-Lutz  <adl@gnu.org>
3176         For PR automake/385:
3177         * lib/depcomp (makedepend): Strip any libtool call, before
3178         running makedepends.
3179         * tests/depcomp4.test: New file.
3180         * tests/Makefile.am (TESTS): Add it.
3181         Reported by Jeff Squyres.
3183         Related to PR automake/385:
3184         * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will
3185         write dependencies to /dev/null.  `-o /dev/null' was added
3186         on 2002-06-13 just because I tried to replace `-o foo.o' by something
3187         else and didn't thought about removing it entirely.
3188         * tests/depcomp3.test: New file.
3189         * tests/Makefile.am (TESTS): Add it.
3191         * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
3192         SHELL for DJGPP.
3193         Suggested by Richard Dawe.
3195 2003-02-09  Alexandre Duret-Lutz  <adl@gnu.org>
3197         * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
3198         (distcleancheck): New nodes.
3200 2003-02-06  Alexandre Duret-Lutz  <adl@gnu.org>
3202         * automake.in (scan_autoconf_files): Don't complain that
3203         AM_INIT_AUTOMAKE comes from an old version if it was not found.
3205 2003-02-05  Alexandre Duret-Lutz  <adl@gnu.org>
3207         * automake.in (am_install_var): Simplify filtering of
3208         variable_loc_and_value_as_list_recursive's output.
3210 2003-02-04  Alexandre Duret-Lutz  <adl@gnu.org>
3212         * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute
3213         indexes of header files so we create stamp files with
3214         the right numbers when config.status is run on some headers.
3215         * tests/stamph2.test: Check for this.
3216         Reported by Sander Niemeijer.
3218 2003-02-02  Alexandre Duret-Lutz  <adl@gnu.org>
3220         * automake.in (vars_scanned): Move near traverse_variable_recursively.
3221         (traverse_variable_recursively,
3222         traverse_variable_recursively_worker): Accept a $COND_FILTER argument
3223         to filter out conditions during recursion.  Don't recurse into
3224         undefined variables.  Don't pass empty results to &FUN_COLLECT.
3225         (value_to_list): Remove, was used by
3226         variable_value_as_list_recursive_worker only.
3227         (variable_value_as_list_recursive_worker): Rewrite using
3228         traverse_variable_recursively.  Remove the $parent argument.
3229         (variable_value_as_list_recursive,
3230         variable_loc_and_value_as_list_recursive): Adjust calls
3231         to variable_value_as_list_recursive_worker.  Don't reset
3232         %vars_scanned.
3233         * tests/cond3.test: Don't expect empty helper variables,
3234         we don't output them anymore.
3235         * tests/cond30.test: Use an undefined variable.
3237         * automake.in (handle_programs): Strip $(EXEEXT) before
3238         calling &check_canonical_spelling.
3239         * tests/exeext.test: Make sure we don't use a
3240         maude3__EXEEXT__OBJECTS variable.
3242 2003-02-02  Jeremy Nimmer  <jwnimmer@alum.mit.edu>  (tiny change)
3244         For Debian Bug #39542:
3245         * automake.texi (Invoking Automake, Optional): Document how
3246         AC_CONFIG_AUX_DIR interacts with missing files.
3248 2003-02-02  Alexandre Duret-Lutz  <adl@gnu.org>
3250         * lib/Automake/DisjConditions.pm (_permutations_worker)
3251         (permutations): Remove, so that people aren't tempted to use it.
3252         * lib/Automake/tests/DisjConditions.pl (tests_permutations): Remove.
3254         * automake.in (variable_conditions_recursive): Remove.
3255         (variable_conditionally_defined): Rewrite using
3256         traverse_variable_recursively.
3258         * automake.in (traverse_variable_recursively,
3259         traverse_variable_recursively_worker): Pass one merged Condition
3260         instead of a stack of conditions to &FUN_STORE and &FUN_COLLECT.
3261         (transform_variable_recursively, define_objects_from_sources)
3262         (handle_lib_objects, variable_conditions_recursive): Adjust usage.
3264 2003-02-01  Alexandre Duret-Lutz  <adl@gnu.org>
3266         * automake.in (handle_lib_objects): Compute _DEPENDENCIES variables
3267         using transform_variable_recursively instead of
3268         variable_conditions_recursive and variable_value_as_list_recursive
3269         to avoid combinatorial explosion.
3270         (handle_lib_objects_cond): Merge into handle_lib_objects.
3271         * tests/cond11.test: Don't grep internal details in Makefile.in,
3272         run $MAKE to make sure the resulting Makefile runs as expected.
3273         * tests/cond29.test: Also exercise conditional _LDADD.
3274         * tests/cond31.test, tests/cond32.test: New files.
3275         * tests/Makefile.am (TESTS): Add tests/cond31.test and
3276         tests/cond32.test.
3278 2003-01-31  Alexandre Duret-Lutz  <adl@gnu.org>
3280         * automake.in (handle_lib_objects_cond): Ignore -dlopen and
3281         -dlpreopen in _LIBADD variables too.
3282         (handle_LIBOBJS, handle_ALLOCA): New functions, extracted from
3283         handle_lib_objects_cond.
3284         * tests/libtool7.test: New file.
3285         * tests/Makefile.am (TESTS): Add libtool7.test.
3287         * automake.texi (Program and Library Variables): Clarify that
3288         _LIBADD is for libraries and _LDADD for programs.
3290         * automake.in (handle_source_transform): Correct typo from 2003-01-23.
3292 2003-01-28  Alexandre Duret-Lutz  <adl@gnu.org>
3294         Fix for PR automake/352:
3295         * automake.in (transform_variable_recursively): If the destination
3296         and the source variables are the same, delete the source variable
3297         before defining the destination variable.
3298         (handle_programs): Strip any $(EXEEXT) suffix from $one_file,
3299         or this will confuse handle_source_transform.
3300         (append_exeext): Rewrite using transform_variable_recursively.
3301         * tests/cond29.test, tests/cond30.test: New files.
3302         * tests/exeext.test: Run ./configure and make, this uncovered
3303         the above handle_programs issue.
3304         * tests/Makefile.am (TESTS): Add cond29.test and cond20.test.
3306         * automake.in (%subobjvar): Replace by ...
3307         (%gen_varname): ... this.
3308         (subobjname): Replace by ...
3309         (gen_varname): ... this.
3310         (initialize_per_input): Clean gen_varname instead of subobjname.
3311         (transform_variable_recursively): New function, extracted
3312         from define_objects_from_sources.
3313         (define_objects_from_sources): Use transform_variable_recursively.
3314         Remove the unused $parent argument.
3315         (handle_source_transform): Adjust call to define_objects_from_sources.
3317 2003-01-23  Alexandre Duret-Lutz  <adl@gnu.org>
3319         * automake.in (@substfroms, @substtos): Move near
3320         traverse_variable_recursively.
3321         (traverse_variable_recursively, traverse_variable_recursively_worker):
3322         New functions, extracted from define_objects_from_sources.
3323         (define_objects_from_sources): Rewrite using
3324         traverse_variable_recursively.
3325         (handle_source_transform): Use variables_conditionally_defined
3326         instead of calling variable_conditions_recursive directly.
3327         Adjust the call to define_objects_from_sources; there is no need
3328         to reset @substtos, @substfroms, and %vars_scanned now.
3329         (variable_conditions_recursive): Rewrite using
3330         traverse_variable_recursively.
3331         (variable_conditions_recursive_sub): Remove.
3332         (variable_conditionally_defined): Fix condition comparison (the
3333         consequence was that DIST_SUBDIRS was always output).
3334         * lib/Automake/Condition.pm (merge): Allow merging several
3335         conditions at once.
3337 2003-01-22  Alexandre Duret-Lutz  <adl@gnu.org>
3339         * automake.texi (Python): Explain that directory variables start
3340         with either ${prefix} or ${exec_prefix}, and point to the
3341         `Installation Directory Variables' section of the Autoconf manual.
3343 2003-01-21  Alexandre Duret-Lutz  <adl@gnu.org>
3345         * lib/am/distdir.am (top_distdir, distdir): Define these
3346         variables only in top level Makefile.  Redefine $(top_distdir)
3347         as $(distdir).
3348         (distdir): Fix passing of $(top_distdir) to sub-makes.
3349         * automake.in (handle_dist): Do not define the DISTDIR and
3350         TOP_DISTDIR transformations.  We don't need them anymore.
3351         * automake.texi (Dist): Reorder the dist-hook section, and move
3352         the DIST_SUBDIRS paragraph earlier.  Document distdir and
3353         top_distdir.
3354         * tests/subpkg.test: Update to check for $(distdir) and
3355         $(top_distdir).
3357 2003-01-19  Alexandre Duret-Lutz  <adl@gnu.org>
3359         Rename more files to accomodate 8+3 file systems, and adjust the
3360         vocabulary at the same time: AM_CONDITIONAL defines "conditionals",
3361         and we call "condition" a conjunction of "conditionals".
3362         * lib/am/Conditional.pm: Rename to lib/am/Condition.pm.
3363         * lib/am/tests/Conditional.pl: Rename to lib/am/tests/Condition.pl.
3364         * lib/am/ConditionalSet.pm: Rename to lib/am/DisjConditions.pm.
3365         * lib/am/tests/ConditionalSet.pl: Rename to
3366         lib/am/tests/DisjConditions.pl
3367         * lib/am/Conditional.pm (condition_negate): Rename to ...
3368         * lib/am/Condition.pm (conditional_negate): ... this.
3369         * automake.in: Adjust references to Condition and DisjConditions.
3370         (check_ambiguous_conditional, conditional_ambiguous_p): Rename to ...
3371         (check_ambiguous_condition, condition_ambiguous_p): ... these.
3373         * tests/README: New file.
3375         * automake.texi (Conditional Programs): Show a sample Makefile.am.
3376         Remind $(EXEEXT) must be appended to configure substitutions.
3377         Show how Automake conditionals can be used instead.
3378         * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also
3379         appended to conditionally defined programs.
3381 2003-01-16  Jim Meyering  <jim@meyering.net>
3383         Accept --help and --version, and lots of syntactic clean-up.
3384         * lib/install-sh: Use consistent indentation, two spaces per level.
3385         (scriptversion): New variable.
3386         Change initializations like `variable=""' to `variable='.
3387         (usage): New variable.
3388         Use `test', not `['.
3389         Use `test -z "$var"', not `[ x"$var" = x ]'.
3390         Use `test -n "$var"', not `[ x"$var" != x ]'.
3391         Alphabetize case entries.
3392         Accept --help and --version options.
3393         Remove unnecessary `else :' clauses.
3394         Add a `Local variables' eval block to help emacs users update
3395         the time-stamp variable added above.
3396         Mostly from Karl Berry.
3398 2003-01-16  Alexandre Duret-Lutz  <adl@gnu.org>
3400         * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add
3401         python2.3.
3403         * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir'
3404         or `pyexecdir', for the sake of 64-bit distributions that usually
3405         use lib64/ instead of lib/.  Fall back to the default directory
3406         if it doesn't work.
3407         Suggested by Gwenole Beauchesne.
3409 2003-01-14  Alexandre Duret-Lutz  <adl@gnu.org>
3411         For PR automake/382:
3412         * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'.
3413         Explain BUILT_SOURCES is usually needed in this case.
3414         Reported by William S Fulton.
3416 2003-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
3418         Rename some files for the sake of 8+3 file systems.
3419         * tests/aclocali.test:     Rename to tests/aclocal.test.
3420         * tests/aclocali1.test:    Rename to tests/aclocal2.test.
3421         * tests/aclocalii.test:    Rename to tests/aclocal3.test.
3422         * tests/acoutput.test:     Rename to tests/acoutpt.test.
3423         * tests/acoutput2.test:    Rename to tests/acoutpt2.test.
3424         * tests/acouttbs.test:     Rename to tests/acoutbs.test.
3425         * tests/acouttbs2.test:    Rename to tests/acoutbs2.test.
3426         * tests/autoheader.test:   Rename to tests/autohdr.test.
3427         * tests/autoheader2.test:  Rename to tests/autohdr2.test.
3428         * tests/condincl.test:     Rename to tests/condinc.test.
3429         * tests/condincl2.test:    Rename to tests/condinc2.test.
3430         * tests/distcommon.test:   Rename to tests/distcom.test.
3431         * tests/distcommon2.test:  Rename to tests/distcom2.test.
3432         * tests/distcommon3.test:  Rename to tests/distcom3.test.
3433         * tests/installsh.test:    Rename to tests/instsh.test.
3434         * tests/installsh2.test:   Rename to tests/instsh2.test.
3435         * tests/instdata.test:     Rename to tests/instdat.test.
3436         * tests/instdata2.test:    Rename to tests/instdat2.test.
3437         * tests/libobj12b.test:    Rename to tests/libobj13.test.
3438         * tests/link_f_c.test:     Rename to tests/link_fc.test.
3439         * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test.
3440         * tests/link_f_cxx.test:   Rename to tests/link_fcxx.test.
3441         * tests/nodefine.test:     Rename to tests/nodef.test.
3442         * tests/nodefine2.test:    Rename to tests/nodef2.test.
3443         * tests/required.test:     Rename to tests/reqd.test.
3444         * tests/required2.test:    Rename to tests/reqd2.test.
3445         * tests/sourcesub.test:    Rename to tests/srcsub.test.
3446         * tests/sourcesub2.test:   Rename to tests/srcsub2.test.
3447         * tests/specflags.test:    Rename to tests/specflg.test.
3448         * tests/specflags2.test:   Rename to tests/specflg2.test.
3449         * tests/specflags3.test:   Rename to tests/specflg3.test.
3450         * tests/specflags6.test:   Rename to tests/specflg6.test.
3451         * tests/specflags7.test:   Rename to tests/specflg7.test.
3452         * tests/specflags8.test:   Rename to tests/specflg8.test.
3453         * tests/specflags9.test:   Rename to tests/specflg9.test.
3454         * tests/subdircond.test:   Rename to tests/subcond.test.
3455         * tests/subdircond2.test:  Rename to tests/subcond2.test.
3456         * tests/subdircond3.test:  Rename to tests/subcond3.test.
3457         * tests/texinfo.test:      Rename to tests/txinfo.test.
3458         * tests/texinfo2.test:     Rename to tests/txinfo2.test.
3459         * tests/texinfo3.test:     Rename to tests/txinfo3.test.
3460         * tests/texinfo4.test:     Rename to tests/txinfo4.test.
3461         * tests/texinfo5.test:     Rename to tests/txinfo5.test.
3462         * tests/texinfo6.test:     Rename to tests/txinfo6.test.
3463         * tests/texinfo7.test:     Rename to tests/txinfo7.test.
3464         * tests/texinfo8.test:     Rename to tests/txinfo8.test.
3465         * tests/texinfo9.test:     Rename to tests/txinfo9.test.
3466         * tests/texinfo10.test:    Rename to tests/txinfo10.test.
3467         * tests/texinfo13.test:    Rename to tests/txinfo13.test.
3468         * tests/texinfo16.test:    Rename to tests/txinfo16.test.
3469         * tests/texinfo17.test:    Rename to tests/txinfo17.test.
3470         * tests/texinfo18.test:    Rename to tests/txinfo18.test.
3471         * tests/Makefile.am (TESTS): Adjust.
3472         * ChangeLog.1996: Rename to ChangeLog.96.
3473         * ChangeLog.1998: Rename to ChangeLog.98.
3474         * ChangeLog.2000: Rename to ChangeLog.00.
3475         * ChangeLog.2001: Rename to ChangeLog.01.
3476         * Makefile.am (EXTRA_DIST): Adjust.
3477         Reported by Richard Dawe.
3479 2003-01-13  Richard Dawe  <rich@phekda.freeserve.co.uk>  (tiny change)
3481         * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames.
3482         Use '_build' and '_inst' instead of '=build' and '=inst'.
3483         * tests/man2.test: Reflect change automake: check for files in
3484         '_build' and '_inst' directories instead of '=build' and '=inst'.
3486 2003-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
3488         Use `_dirstamp' when the file-system doesn't support `.dirstamp'.
3489         * m4/lead-dot.m4: New file.
3490         * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4
3491         * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.:
3492         * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define
3493         DEPDIR using am__leading_dot.
3494         * automake.in (require_build_directory): Define am__dirstamp, a new
3495         variable for the dirstamp basename, based on am__leading_dot.
3496         * tests/subobj6.test: Move all `test -f' into Makefiles, so we can
3497         use $(am__dirstamp).
3498         Reported by Richard Dawe.
3500         * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test:
3501         Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when
3502         testing for programs.
3503         Reported by Richard Dawe.
3505 2003-01-10  Alexandre Duret-Lutz  <adl@gnu.org>
3507         * Makefile.am (maintainer-check): Suggest using $sleep instead of
3508         sleep 2.
3509         * tests/defs.in (sleep): New variable.
3510         * tests/asm.test, tests/confsub.test, tests/lisp3.test,
3511         tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test:
3512         Use $sleep instead of sleep 2, to work around timestamp
3513         inconsistencies in Windows.
3514         Reported by Richard Dawe.
3516         * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh
3517         after $MAKE -e.
3518         * tests/ansi3.test, tests/ansi5.test, tests/cond22.test,
3519         tests/man2.test, tests/subobj3.test, tests/suffix8.test,
3520         tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e.
3521         $SHELL is overridden by tests/defs, so it won't hurt even
3522         if $MAKE -e uses the $SHELL envvar.
3523         * tests/ansi.test, tests/insh2.test, tests/texinfo.test,
3524         tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh.
3525         Reported by Richard Dawe.
3527         Build elisp files all at once instead of one by one.
3528         * automake.in (handle_emacs_lisp): Define am__ELFILES.  Add
3529         elc-stamp to all's dependencies.
3530         * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files.
3531         (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist.
3532         (clean-lisp): Clean elc-stamp.
3533         * lib/elisp-comp: Reindent.  Erase the temporatry directory
3534         from a trap.  Propagate Emacs's exit status.
3535         * tests/lisp3.test: New file.
3536         * tests/Makefile.am (TESTS): Add lisp3.test.
3537         Reported by Ryan T. Sammartino.
3539 2003-01-09  Akim Demaille  <akim@epita.fr>
3541         * automake.texi: Prefer $(FOO) to @FOO@ in the documentation.
3543 2003-01-08  Alexandre Duret-Lutz  <adl@gnu.org>
3545         * m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious
3546         variables.  Suggested by Ryan T. Sammartino.
3548 2003-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
3550         * automake.in (macro_define): Add missing `{$cond}' (typo from
3551         2002-09-18).
3552         ($gen_copyright): Append year 2003.
3553         (version): Increase year.
3555         * tests/defs.in: Substitute aclocaldir instead of running
3556         the installed aclocal.  Otherwise Libtool and Gettext
3557         tests get skipped when aclocal doesn't preexist.
3558         Reported by Imacat.
3559         * tests/listval.test, tests/suffix2.test: Remove pointless -I
3560         argument to aclocal.
3562 -----
3564 Copyright (C) 2003  Free Software Foundation, Inc.
3566 This file is part of GNU Automake.
3568 GNU Automake is free software; you can redistribute it and/or modify
3569 it under the terms of the GNU General Public License as published by
3570 the Free Software Foundation; either version 2, or (at your option)
3571 any later version.
3573 GNU Automake is distributed in the hope that it will be useful,
3574 but WITHOUT ANY WARRANTY; without even the implied warranty of
3575 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3576 GNU General Public License for more details.
3578 You should have received a copy of the GNU General Public License
3579 along with autoconf; see the file COPYING.  If not, write to
3580 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3581 Boston, MA 02111-1307, USA.