1 2003-07-24 Alexandre Duret-Lutz <adl@gnu.org>
3 * tests/gnuwarn2.test: Typo.
5 * tests/insthook.test: Use $MAKE, not make.
7 Fix missing rebuilds during `make dist' with BSD make.
8 * automake.in (generate_makefile): Do not push Makefile.in, and
9 Makefile.am into DIST_COMMON here.
10 * lib/am/configure.am (DIST_COMMON): Do it here, and use
11 %MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON
12 actually match the targets. Prefix `configure' with `$(srcdir)/'
14 * tests/remake4.test: New file.
15 * tests/Makefile.am (TESTS): Add remake4.test.
16 Report from Akim Demaille.
18 2003-07-23 Alexandre Duret-Lutz <adl@gnu.org>
20 * automake.in (handle_multilib): Register all-multi.
21 (file_contents_internal): Insert \n when concatenating actions
22 from "factored" rules.
23 * lib/config-ml.in: New file, from GCC, including a patch
24 from Ralf Corsepius (see GCC's PR 11526).
25 * lib/symlink-tree.in: New file, from GCC.
26 * lib/Makefile.am (dist_script_DATA): Add config-ml.in and
28 * lib/am/clean.am (distclean-generic): Do not delete Makefile here...
29 (distclean, maintainer-clean): ... do it here.
30 * lib/am/depend.am (distclean-depend): Likewise, replace by
31 (distclean, maintainer-clean): ... these.
32 * lib/am/multilib.am (all-recursive, install-recursive,
33 mostlyclean-recursive, clean-recursive, distclean-recursive,
34 maintainer-clean-recursive): Remove these rules.
35 (mostlyclean-am, clean-am, distclean-am, maintainer-clean-am): Replace
37 (mostlyclean, clean, distclean, maintainer-clean): ... these.
38 (all-am): Remove, done in handle_multilib.
39 (install-am): Replace by ...
40 (install-exec-am): ... this.
41 * tests/Makefile.am (TESTS): Add multlib.test.
42 * tests/multlib.test: New file, based on a test case by
45 2003-07-23 Tom Tromey <tromey@redhat.com>
47 * lib/missing (autom4te): Typo.
49 2003-07-16 Derek Price <derek@ximbiot.com>
51 * automake.in (scan_autoconf_traces): Handle AC_CONFIG_LINKS.
52 (handle_configure): Handle adding AC_CONFIG_LINKS arguments to
53 distclean targets (CONFIG_CLEAN_FILES makefile var).
54 * NEWS: Note new handling of AC_CONFIG_LINKS.
55 * automake.texi (Other things Automake recognizes): Ditto.
56 * tests/Makefile.am (TESTS): Add new tests.
57 * tests/conflnk.test: New test that links are cleaned on distclean.
58 * tests/conflnk2.test: New test that source files for links are
61 2003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
63 * automake.in (scan_autoconf_traces): Trace AM_ENABLE_MULTILIB to
64 render $seen_multilib functional again.
66 2003-07-10 Raja R Harinath <harinath@cs.umn.edu>
68 Avoid using refs as hash keys.
69 * lib/Automake/Variable.pm ($_traversal): New.
70 (reset): Reset $_traversal.
71 (_new): New attribute 'scanned'.
72 (%_vars_scanned): Remove.
73 (traverse_variable_recursively)
74 (traverse_variable_recursively_worker):
75 Use $_traversal instead of %_vars_scanned to detect recursively
78 * lib/am/configure.am (am--refresh): Silence.
80 2003-07-10 Alexandre Duret-Lutz <adl@gnu.org>
82 * lib/Automake/Variable.pm (define): Make clear the diagnostic
83 about variable names starting with `_' is about *Make* variables.
85 For Debian Bug #193907:
86 * automake.texi (Clean): make maintainer-clean should still
87 allow ./configure && make to run.
89 * automake.texi (CVS): Typo.
91 2003-07-09 Alexandre Duret-Lutz <adl@gnu.org>
93 * aclocal.in: Use Automake::FileUtils.
94 (parse_arguments, scan_configure, scan_m4_files): Never call
95 "die" to print an error message. Use print and exit.
96 * automake.in: Use Automake::FileUtils.
97 * lib/Automake/General.pm ($debug, $help, $tmp, $verbose,
98 $version, &debug, &getopt, &mktmpdir, &verbose): Remove.
99 (END): Do not massage Perl's exit code. Do not clean any temporary
101 (find_file, mtime, update_file, xsystem, contents): Move to ...
102 * lib/Automake/FileUtils.pm: ... this new file. Adjust to
103 report errors using Channels.
104 (handle_exec_errors, xqx): New functions, from Autoconf.
105 * lib/Automake/Makefile.am (dist_perllib_DATA): Add FileUtils.pm.
107 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
108 Return the empty list on recursively defined variable. This
109 supersedes my change of 2003-07-02.
111 2003-07-08 Akim Demaille <akim@epita.fr>
113 * automake.in ($cygnus_mode): Replace with $options{'cygnus'}.
114 Adjust all dependencies.
115 (&depend): Move next to %dependencies and prototype.
116 (&initialize_per_input): Initialize the 'cygnus' field of
117 '%options' to spare the code from 'exists' or 'defined' when
119 (&handle_configure, &do_check_merge_target, &check_cygnus): Prototype.
120 (&parse_arguments): Rename '%options' and '%options_1st_pass' as
121 '%cli_options' and '%cli_options_1st_pass' to avoid clashes and
124 2003-07-07 Alexandre Duret-Lutz <adl@gnu.org>
126 * automake.in (generate_makefile): Move near the end of the
127 file, after the definition of all called functions, so that
128 prototypes can be enforced.
130 2003-07-06 Akim Demaille <akim@epita.fr>
132 * lib/am/subdirs.am (RECURSIVE_TARGETS): Move install-recursive,
133 install-exec-recursive, install-data-recursive and
134 uninstall-recursive addition to...
135 * lib/am/texinfos.am: here.
136 * lib/am/texinfos.am, lib/am/subdirs.am: Remove the .PHONY
137 declaration of RECURSIVE_TARGETS.
139 2003-07-06 Akim Demaille <akim@epita.fr>
141 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm (VAR_SORTED):
144 * automake.in (&handle_subdirs): Prototype.
146 Make RECURSIVE_TARGETS a VAR_SORTED.
148 2003-07-06 Akim Demaille <akim@epita.fr>
150 * automake.in (&define_files_variable): New.
151 (&handle_texinfo_helper): Move the handling of user variables from
153 (&handle_texinfo): here.
154 This is to balance the size of these functions, and to match the
155 convention of other _helper functions.
156 (&handle_texinfo_helper): Use &define_files_variable.
157 Move some code to use less variables.
158 Rename $info_cursor as $texi.
159 (&handle_texinfo): Do not call handle_texinfo_helper if there are
161 * lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps
163 Remove *-recursive targets from .PHONY, they are part of
164 $(RECURSIVE_TARGETS) anyway.
165 (install-info, mostlyclean-aminfo): Are .PHONY.
167 2003-07-05 Akim Demaille <akim@epita.fr>
169 * lib/am/distdir.am: Use ';' as a terminator, not a separator, for
170 sed complex commands, as required by NetBSD sed.
171 Reported by Patrick Welche.
173 2003-07-05 Alexandre Duret-Lutz <adl@gnu.org>
175 * lib/config.guess, lib/config.sub: New upstream version.
177 2003-07-04 Alexandre Duret-Lutz <adl@gnu.org>
179 * automake.texi (Optional, Dist): AC_CONFIG_AUX_DIR files
180 are automatically distributed.
182 * lib/depcomp (icc): Update to grok ICC 7.1's output.
183 * m4/depend.m4 (_AM_DEPENDENCIES): Check dependency generation
184 in a subdirectory, and with many dependencies. This
185 catches more failures of depcomp.
186 Reports from Ralf Wildenhues and Akim Demaille.
188 2003-07-04 Akim Demaille <akim@epita.fr>
190 * automake.in (&scan_texinfo_file, &output_texinfo_build_rules,
191 (&handle_texinfo_helper, &handle_texinfo): Formatting changes.
193 Don't use & when calling functions.
195 2003-07-03 Alexandre Duret-Lutz <adl@gnu.org>
197 * NEWS: Categorize entries.
198 Suggested by Jim Meyering.
200 * Makefile.am (maintainer-clean): Disallow '$AUTOMAKE && exit 1'.
201 Ignore @...@ substitutions in comments.
202 * tests/defs.in: Try to make the shell more POSIX compliant.
203 (AUTOMAKE_run, AUTOMAKE_fails): New functions.
204 * tests/README: Mention AUTOMAKE_fails.
205 * tests/alloca.test, tests/alloca2.test, tests/ansi8.test,
206 * tests/asm.test, tests/backsl3.test, tests/backsl4.test,
207 * tests/badline.test, tests/badopt.test, tests/canon.test,
208 * tests/canon5.test, tests/colneq.test, tests/comment3.test,
209 * tests/comment5.test, tests/cond2.test, tests/cond20.test,
210 * tests/cond23.test, tests/cond24.test, tests/cond27.test,
211 * tests/condinc2.test, tests/conff2.test, tests/cxx2.test,
212 * tests/dejagnu2.test, tests/dirforbid.test,
213 * tests/distcom3.test, tests/else.test, tests/exdir2.test,
214 * tests/exeext2.test, tests/gcj2.test, tests/gcj5.test,
215 * tests/getopt.test, tests/gettext.test, tests/gettext2.test,
216 * tests/gnits.test, tests/gnuwarn.test, tests/gnuwarn2.test,
217 * tests/insh.test, tests/lex2.test, tests/libobj10.test,
218 * tests/libobj12.test, tests/libobj13.test,
219 * tests/libobj3.test, tests/library2.test,
220 * tests/library3.test, tests/libtool4.test,
221 * tests/libtool6.test, tests/lisp2.test, tests/location.test,
222 * tests/nogzip2.test, tests/output5.test, tests/overrid.test,
223 * tests/percent.test, tests/percent2.test,
224 * tests/pluseq5.test, tests/pluseq7.test, tests/pluseq9.test,
225 * tests/pr211.test, tests/primary.test, tests/primary2.test,
226 * tests/python2.test, tests/recurs.test, tests/reqd2.test,
227 * tests/seenc.test, tests/specflg.test, tests/specflg2.test,
228 * tests/spell.test, tests/spell2.test, tests/srcsub.test,
229 * tests/srcsub2.test, tests/stdlib.test, tests/subdir7.test,
230 * tests/substtarg.test, tests/suffix11.test,
231 * tests/symlink.test, tests/syntax.test,
232 * tests/targetclash.test, tests/txinfo4.test,
233 * tests/version3.test, tests/warnopts.test,
234 * tests/xsource.test, tests/yacc2.test: Use set -e,
235 AUTOMAKE_fails, and always grep error message.
237 * automake.in (handle_ltlibraries): Fix call to msg.
239 * tests/stamph.test: Delete.
240 * tests/Makefile.am (TESTS): Remove stamph.test.
242 * automake.in (handle_single_transform_list): Use $var->name
243 to print variable in the configure-substitution diagnostic.
244 Do not mention the parent when it is the variable itself.
246 * tests/package.test: Delete.
247 * tests/Makefile.am (TESTS): Remove package.test.
249 * automake.in (cond_stack_else): Return FALSE if `if' was not
251 (cond_stack_endif): Return TRUE if `if' was not used. Do not
252 display $negate and $cond, they are irrelevant and maybe undefined.
254 2003-07-02 Alexandre Duret-Lutz <adl@gnu.org>
256 * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
257 Do not return undef when a variable is recursively defined, this
258 causes warnings all over the place. Return the empty string instead.
260 * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES
261 from empty DIST_ARCHIVES.
263 2003-07-01 Alexandre Duret-Lutz <adl@gnu.org>
265 * automake.in (scan_autoconf_traces): Check the expected
266 number of arguments of each traced macro.
267 * tests/overrid.test: Fix call to AM_CONDITIONAL.
268 * tests/conff2.test: New files.
269 * tests/Makefile.am (TESTS): Add conff2.test.
270 Report from Paolo Bonzini.
272 2003-06-30 Alexandre Duret-Lutz <adl@gnu.org>
274 * automake.in ($SUBST_REF_PATTERN): Do not define.
275 (%gen_varname): Move to Variable.pm, as %_gen_varname.
276 (initialize_per_input): Do not clean %gen_varname.
277 (handle_options, check_libobjs_sources, handle_source_transform,
278 handle_LIBOBJS, handle_ltlibraries, handle_texinfo_helper,
279 handle_man_pages, handle_dist, handle_subdirs, handle_gettext,
280 am_install_var): Adjust to use value_as_list_recursive,
281 loc_and_value_as_list_recursive, and has_conditional_contents.
282 (require_file_with_macro): Accept an Automake::Variable as argument.
283 (traverse_variable_recursively,
284 traverse_variable_recursively_worker, gen_varname,
285 transform_variable_recursively): Move ...
286 * lib/Automake/Variable.pm (traverse_variable_recursively,
287 _traverse_variable_recursively_worker,
288 _gen_varname, transform_variable_recursively): ... here.
289 * automake.in (variable_conditionally_defined,
290 variable_value_as_list_recursive_worker,
291 variable_value_as_list_recursive
292 variable_loc_and_value_as_list_recursive): Move ...
293 * lib/Automake/Variable.pm (has_conditional_contents,
294 _value_as_list_recursive_worker,
295 value_as_list_recursive, loc_and_value_as_list_recursive): ... here.
296 (reset): Reset %_gen_varname.
297 (require_variables_for_variable): Accept an Automake::Variable
300 2003-06-27 Alexandre Duret-Lutz <adl@gnu.org>
302 * tests/aclocal6.test: Test maintainer-clean in VPATH
303 builds. (For Ralf's fix.)
305 2003-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change)
307 * lib/am/configure.am (maintainer-clean): Remove
308 $(top_srcdir)/autom4te.cache, not autom4te.cache.
310 2003-06-27 Akim Demaille <akim@epita.fr>
312 * automake.texi: Use @node with a single argument.
314 2003-06-27 Alexandre Duret-Lutz <adl@gnu.org>
316 * m4/Makefile.am (dist_m4data_DATA): Add $(top_srcdir)/m4/amversion.m4.
318 * lib/am/distdir.am (distcheck): Run $(am__remove_distdir)
319 at the end of distcheck. This was mistakenly removed on
321 * tests/subpkg.test: Make sure distcheck cleans up after itself.
323 * m4/Makefile.am ($(srcdir)/amversion.m4): Rename as ...
324 ($(top_srcdir)/m4/amversion.m4): ... this.
325 (DISTCLEANFILES): Remove.
326 (nodist_m4data_DATA): Remove. amversion.m4 is automatically
328 (EXTRA_DIST): Add amversion.in.
330 2003-06-25 Akim Demaille <akim@epita.fr>
332 * automake.texi (Top): Use @copying and @insertcopying.
333 Make Alexandre an author.
334 * automake.in ($gen_copyright): Add the "(C)" to Copyright.
335 * lib/depcomp: Likewise.
337 2003-06-23 Alexandre Duret-Lutz <adl@gnu.org>
339 * lib/Automake/Variable.pm (vardef, rvardef, set_seen): New functions.
340 (variable_defined, examine_variable): Remove.
341 (%_ac_macro_for_var): Add an entry for ALLOCA.
342 (require_variables): Use vardef instead of variable_defined.
344 * automake.in (generate_makefile): Do not push $(SOURCE) into
345 @sources. Use define_pretty_variable to define SOURCES.
346 (handle_LIBOBJS, handle_ALLOCA): Use require_variables_for_variable
347 to require LIBOBJS, LTLIBOBJS and ALLOCA.
348 (handle_programs, handle_ltlibraries): Do not define an empty
349 _DEPENDENCIES or _LDFLAGS variable when none is defined.
350 (define_configure_variable): Do not check whether the variable
351 already exists (it's Automake::Variable::define's job).
352 (require_build_directory): Likewise, do not check
353 the existence of am__dirstamp.
354 (generate_makefile, handle_options, handle_languages)
355 (check_libobjs_sources, handle_single_transform_list)
356 (traverse_variable_recursively_worker, handle_source_transform)
357 (handle_lib_objects, handle_LIBOBJS, handle_compile)
358 (handle_libtool, handle_programs, handle_libraries)
359 (handle_ltlibraries, check_typos, handle_texinfo_helper)
360 (handle_man_pages, handle_tags, handle_dist, handle_subdirs)
361 (scan_aclocal_m4, handle_gettext, handle_footer, handle_install)
362 (handle_all, do_check_merge_target, handle_clean, lang_c_finish)
363 (handle_tests, lang_yacc_target_hook, define_pretty_variable)
364 (define_compiler_variable, define_linker_variable)
365 (make_paragraphs, am_primary_prefixes, am_install_var): Adjust to
366 call var, vardef, or set_seen, instead of variable_defined. Use
367 set_seen only for variables which are actually checked by
369 * tests/target.test: Delete.
370 * tests/alloca.test, tests/alloca2.test: New files.
371 * tests/libobj3.test: Check error message.
372 * tests/distcom4.test: Make sure configure is in DIST_COMMON.
373 This replace confdist.test.
374 * tests/Makefile.am (TESTS, XFAIL_TESTS): Remove target.test.
375 (TESTS): Add alloca.test and alloca2.test. Remove confdist.test.
377 2003-06-20 Alexandre Duret-Lutz <adl@gnu.org>
379 * automake.in (handle_dist): Delete DIST_COMMON before redefining
380 it. Bug report from Akim Demaille.
381 (rewrite_inputs_into_dependencies): Make sure we always return
382 something, even when $add_srcdir is 0.
383 * tests/distcom4.test, tests/distcom5.test: New files.
384 * tests/Makefile.am (TESTS): Add distcom4.test and distcom5.test.
386 * tests/cond29.test: Also check for _SOURCES.
387 Report from Paolo Bonzini.
389 2003-06-20 Akim Demaille <akim@epita.fr>
391 * lib/am/configure.am: Replace leading spaces with a real tab.
393 2003-06-15 Alexandre Duret-Lutz <adl@gnu.org>
395 * tests/nogzip.test, tests/nogzip2.test: New files.
396 * tests/Makefile.am (TESTS): Add nogzip.test and nogzip2.test
398 2003-06-15 Akim Demaille <akim@epita.fr>
400 * automake.in (&make_paragraphs): Define %GZIP%.
401 (&process_option_list): Accept no-dist-gzip2.
402 (&handle_dist): Complain when no archive format is enabled.
403 * lib/am/distdir.am (DIST_ARCHIVES): New variable.
404 (dist-gzip, dist-bzip2, dist-tarZ, dist-zip): No longer
406 (dist): Build $(distdir).tar.gz conditionally.
407 (distcheck): Use DIST_ARCHIVES to find an archive to unpack, and
408 to list built archives. Run $(MAKE) dist instead of dist-gzip.
409 * automake.texi (Options, The types of distributions): Adjust.
411 2003-06-15 Jens Elkner <elkner@imsgroup.de> (tiny change)
413 * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with
416 2003-06-14 Karl Berry <karl@gnu.org>
417 Alexandre Duret-Lutz <adl@gnu.org>
419 * mkinstalldirs (scriptversion): New variable. Setup emacs hooks
420 to update it each time the file is written, as in install-sh.
421 (usage): Improve message.
422 (--version): New option.
423 (--help): Output to stdout, not stderr.
425 2003-06-13 Paul Eggert <eggert@twinsun.com>
427 * lib/install-sh (dsttmp, rmtmp): Do not use '#' in file names;
428 it's not guaranteed by POSIX and it doesn't work on OpenVMS.
429 Bug reported by Bernard Giroud in:
430 http://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html
432 2003-06-05 Alexandre Duret-Lutz <adl@gnu.org>
434 * automake.in (check_gnu_standards): Use no-installman and
435 no-installinfo's locations.
436 (process_option_list): Fill %options with locations.
437 (check_cygnus) Fill $options{'no-installinfo'} and
438 $options{'no-dependencies'} with $cygnus_mode, so that it
440 * tests/gnuwarn2.test: New file.
441 * tests/Makefile.am (TESTS): Add gnuwarn2.test.
443 2003-06-04 Alexandre Duret-Lutz <adl@gnu.org>
445 * automake.in (process_option_list): Record the location
446 of ansi2knr's definition.
447 (handle_compile): Use it.
448 * tests/ansi3.test: Make sure the location appears correctly.
449 Update to use set -e.
450 * tests/ansi3b.test: New file.
451 * tests/Makefile.am (TESTS): Add ansi3b.test.
453 * tests/alpha.test: Really run $MAKE. Augment to test
454 subdirectories, and check-news report.
455 * tests/alpha2.test: New file. Bug report from Akim Demaille.
456 * tests/gnits2.test: Make sure README-alpha is not distributed.
457 * tests/Makefile.am (TESTS): Add alpha2.test.
458 * automake.in (handle_minor_options): Distribute README-alpha
459 using push_dist_common, not require_file_with_macro.
461 2003-06-03 Alexandre Duret-Lutz <adl@gnu.org>
463 * lib/Automake/Configure_ac.pm
464 (search_configure_ac, find_configure_ac): Rename as ...
465 (find_configure_ac, require_configure_ac): ... these.
466 * aclocal.in (scan_configure): Adjust call to require_configure_ac.
467 * automake.in (scan_autoconf_files): Likewise.
468 Suggested by Tim Van Holder.
470 * alocal.in: Use Automake::Configure_ac.
471 ($configure_ac): Delete.
472 (scan_configure): Adjust use of find_configure_ac;
473 * automake.in: Use Automake::Configure_ac.
474 ($configure_ac): Delete.
475 (scan_autoconf_files): Adjust use of find_configure_ac;
476 * lib/Automake/Configure_ac.pm: New file.
477 * lib/Automake/General.pm (find_configure_ac): Delete. Now
478 replaced by Automake::Configure_ac::search_configure_ac.
479 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Configure_ac.pm.
480 * lib/Automake/Variable.pm: Use Automake::Configure_ac.
481 (require_variables): Adjust use of $configure_ac.
483 2003-06-02 Akim Demaille <akim@epita.fr>
485 * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am,
486 * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am,
487 * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am,
488 * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am,
489 * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am,
490 * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am,
491 * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am,
492 * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am,
493 * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am,
494 * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am,
495 * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4,
496 * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4,
497 * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4,
498 * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4,
499 * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4,
500 * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4,
501 * m4/Makefile.am: White space changes and Copyright updates.
503 2003-05-29 Alexandre Duret-Lutz <adl@gnu.org>
505 * lib/Automake/Variable.pm (check_defined_unconditionally): Add
506 the $parent_cond argument.
507 (output): Use $self->name in diagnostic not $self.
508 (variable_value_as_list): Rename as ...
509 (value_as_list): ... this. Declare as a method. Take a $parent_cond
510 argument and pass it to check_defined_unconditionally. Do not call
511 variable_assert, now that this is a method.
512 (variable_assert): Delete (unused).
513 * automake.in (traverse_variable_recursively_worker): Adjust to
514 use check_defined_unconditionally and value_as_list as a methods.
516 * lib/Automake/Variable.pm (output): Declare as a method, since it
517 is only used this way.
518 (define): Fix documentation of $cond.
519 Suggested by Raja R. Harinath.
521 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
523 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm: New files.
524 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Variable.pm
526 * automake.in: Use Automake::Variable and Automake::VarDef.
527 (MACRO_PATTERN): Delete. Now Automake::Variable::_MACRO_PATTERN.
528 (am_macro_for_var): Delete. Now Automake::Variable::_am_macro_for_var.
529 (ac_macro_for_var): Delete. Now Automake::Variable::_ac_macro_for_var.
530 (silent_variable_override): Delete. Now
531 Automake::Variable::_silent_variable_override.
532 (var_value, var_location, var_comment, var_type, var_owner,
533 var_pretty, content_seen): Delete. This functionality is now
534 offered by Automake::Variable and Automake::VarDef.
535 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE, VAR_ASIS, VAR_PRETTY):
536 Delete. Now defined in Automake::VarDef.
537 (var_order): Delete. Now Automake::Variable::_var_order.
538 (appendvar): Delete. Now Automake::Variable::_appendvar.
539 (var_SUFFIX_trigger): Register using Automake::Variable::hook.
540 (initialize_per_input): Call Automake::Variable::reset.
541 (err_var, msg_cond_var, msg_var, reject_var): Delete. Now
542 defined in Automake::Variable.
543 (generate_makefile, process_option_list, handle_languages)
544 (traverse_variable_recursively_worker)
545 (transform_variable_recursively, handle_compile)
546 (handle_libraries, handle_ltlibraries)
547 (check_typos, handle_dist, handle_subdirs, scan_autoconf_files):
548 Adjust to use Automake::Variable functions.
549 (check_ambiguous_condition): Delete. Now
550 Automake::Variable::_check_ambiguous_condition.
551 (condition_ambiguous_p): Delete. Now
552 Automake::Variable::condition_ambiguous_p.
553 (variable_not_always_defined_in_cond): Delete. Now
554 Automake::Variable::not_always_defined_in_cond.
555 (macro_define): Delete. Now Automake::Variable::define.
556 (macro_delete): Delete. Now Automake::Variable::variable_delete.
557 (macro_dump): Delete. Now Automake::Variable::variable_dump.
558 (macros_dump): Delete. Now Automake::Variable::variables_dump.
559 (variable_defined): Delete. Now
560 Automake::Variable::variable_defined, with the target check
561 temporarily disabled.
562 (variable_assert): Delete. Now Automake::Variable::variable_assert.
563 (examine_variable): Delete. Now
564 Automake::Variable::examine_variable.
565 (variable_conditions): Delete. Now Automake::Variable::conditions.
566 (scan_variable_expansions): Delete. Now
567 Automake::Variable::scan_variable_expansions.
568 (check_variable_expansions): Delete. Now
569 Automake::Variable::check_variable_expansions.
570 (check_variable_defined_unconditionally): Delete. Now
571 Automake::Variable::check_defined_unconditionally.
572 (variable_value): Delete. Now Automake::Variable::variable_value.
573 (variable_value_as_list): Delete. Now
574 Automake::Variable::variable_value_as_list.
575 (variable_value_as_list_recursive_worker): Adjust to use
576 Automake::Variable functions.
577 (variable_output): Delete. Now Automake::Variable::output.
578 (define_pretty_variable, define_configure_variable, read_am_file)
579 (define_standard_variables, read_main_am_file): Adjust to use
580 Automake::Variable functions.
581 (handle_variables): Delete. Now Automake::Variable::output_variables.
582 (file_contents_internal, am_primary_prefixes, am_install_var)
583 (require_file_with_macro, require_conf_file_with_macro)
584 (push_dist_common): : Adjust to use
585 Automake::Variable functions.
586 (require_variables): Delete. Now
587 Automake::Variable::require_variables.
588 (require_variables_for_macro): Delete. Now
589 Automake::Variable::require_variables_for_variable.
590 * tests/Makefile.am (XFAIL_TESTS): Add target.test.
592 2003-05-25 Christian Cornelssen <ccorn@cs.tu-berlin.de> (tiny change)
594 * tests/dejagnu7.test: Check if runtest supports --status.
596 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
598 * lib/Automake/Location.pm (dump): Output 'INTERNAL' when position
601 * lib/Automake/DisjConditions.pm (human): Fix infinite loop when
602 $self contains only one Condition.
604 * automake.in: Use plain strict, including refs.
605 (macro_define, handle_single_transform_list): Use \&{'name'} to
606 build references to named subroutines.
608 2003-05-22 Karl Berry <karl@gnu.org>
610 * automake.texi: Update @dircategory to match the Free Software
611 Directory. End directory entries with dots.
613 2003-05-22 Alexandre Duret-Lutz <adl@gnu.org>
615 * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/.
617 * lib/elisp-comp: s/François/Franc,ois/.
618 Suggested by Paul Eggert.
620 * automake.in: Move the "main" code at the end.
621 (parse_arguments): Move near the end.
622 ($KNOWN_EXTENSIONS_PATTERN, @known_extensions_list,
623 accept_extensions, var_SUFFIXES_trigger): Move these definitions
624 before any call to register_language.
625 (am_file): Move the definition with all other global variables,
626 do not use local to define it.
627 * Makefile.am (maintainer-check): Expect no `local' in Automake.
629 2003-05-21 Alexandre Duret-Lutz <adl@gnu.org>
631 * lib/Automake/Wrap.pm, lib/Automake/tests/Wrap.pl: New files.
632 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Wrap.pm.
633 * lib/Automake/tests/Makefile.am (TESTS): Add Wrap.pl.
634 * automake.in (handle_texinfo_helper, pretty_print_rule)
635 (variable_output): Adjust to use makefile_wrap instead of
636 pretty_print_internal.
637 (pretty_print_internal): Remove. Renamed as Automake::Wrap::wrap
638 and augmented to accept the $eol and $max_len arguments.
640 2003-05-18 Alexandre Duret-Lutz <adl@gnu.org>
642 * lib/Autom4te/XFile.pm, lib/config.guess, lib/config.sub,
643 lib/texinfo.tex: New upstream versions.
645 2003-05-17 Alexandre Duret-Lutz <adl@gnu.org>
647 * lib/am/install.am (install, install-exec, install-data, uninstall):
648 Declare conditionally using a if/else/endif block instead of
649 using ?SUBDIRS?-style conditions. The latter fail when
650 %maybe_BUILT_SOURCES% is replaced by several lines.
651 This fixes a bug introduced on 2003-04-06.
652 * tests/bsource.test: New file.
653 * tests/Makefile.am (TESTS): Add bsource.test.
654 Reported by Bruno Haible.
656 2003-05-11 Alexandre Duret-Lutz <adl@gnu.org>
658 * automake.texi (renamed objects): New node.
659 (Program and Library Variables): Move maude_DEPENDENCIES closer
660 to maude_LDADD. Define and use `per-target compilation flags' in the
661 explanation for maude_CFLAGS et al. Link to the `renamed objects'
662 node. Illustrate maude_SHORTNAME.
664 2003-05-09 Alexandre Duret-Lutz <adl@gnu.org>
666 * lib/install-sh: Update copyright notice and license to that of
667 X11R6. This removes an advertising clause reported as Debian bug
670 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
672 * configure.in (ACLOCAL): Do not use -I, --acdir is enough.
674 * m4/make.m4: Rename the doit target as am__doit,
676 Reported by Philip S Tellis.
678 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
680 * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit
682 * tests/makej.test: New file (test Autom4te's cache locking,
683 new in CVS Autoconf).
684 * tests/Makefile.am (TESTS): Add makej.test.
686 2003-05-06 Alexandre Duret-Lutz <adl@gnu.org>
688 * lib/Automake/General.pm (contents): New function.
689 * aclocal.in (greatest_mtime, force_output): New globals.
690 (scan_configure, add_file): Update $greatest_mtime.
691 (parse_arguments): Parse --force.
692 (write_aclocal): Do not overwrite $output_file unless needed.
693 * automake.texi (aclocal options): Document --force.
694 * tests/aclocal7.test: New file.
695 * tests/Makefile.am (TESTS): Add aclocal7.test.
697 2003-05-05 Alexandre Duret-Lutz <adl@gnu.org>
699 * automake.texi (Optional): Document m4_include.
700 (Invoking aclocal): Shake a bit to introduce the various uses
701 of aclocal and explain that aclocal will use m4_include for
703 (Extending aclocal): Show how to install installable macros
704 in $(datadir)/aclocal, and make it clearer that writing installable
705 macros is not the only way to extend aclocal.
706 (Local Macros, Future of aclocal): New sections.
708 2003-04-27 Alexandre Duret-Lutz <adl@gnu.org>
710 * automake.in (@common_files): Remove acinclude.m4 since
711 it will be m4_included by aclocal.m4 and files are always
713 (scan_aclocal_m4): Do not bother about acinclude.m4 anymore.
714 We will get this dependency when tracing m4_includes.
715 * tests/aclocal6.test: Make sure acinclude.m4 is distributed
717 * tests/acinclude.test: Delete.
718 * tests/Makefile.am (TESTS): Remove acinclude.test.
720 2003-04-25 Alexandre Duret-Lutz <adl@gnu.org>
722 * automake.in (handle_configure): Don't add @configure_deps to
723 DIST_COMMON, we do this from lib/am/configure.am now.
724 Define the am__configure_deps variable instead of substituing
726 * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure,
727 $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%.
728 (DIST_COMMON): Add $(am__configure_deps).
730 * tests/aclocal6.test: New file.
731 * lib/am/configure.am (am--refresh): New rule.
732 (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status,
733 $(top_srcdir)/configure): Call the top-level am--refresh from
735 ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%. Call the
736 top-level am--refresh when not in the top-level directory.
737 Fix jump directories for VPATH builds.
738 Suggested by Raja R. Harinath.
740 2003-04-24 Alexandre Duret-Lutz <adl@gnu.org>
742 * automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS
743 and glob for m4_files (We've got all local m4 files while
744 tracing m4_include's). Diagnose ACLOCAL_M4_SOURCES as obsolete.
745 Distribute aclocal.m4 only at the top-level.
746 (my_glob): Remove. This fixes PR automake/11.
747 (handle_dist): Strip leading `./' from directories.
748 * aclocal.in (add_file): Output 'm4_include([file.m4])' instead
749 of copying local files.
750 (write_aclocal, parse_arguments): Bump copyright date.
751 * configure.in: De not build m4/amversion.m4 from here ...
752 * m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here.
753 (nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead
755 * tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test.
756 (TESTS): Remove aclocal2.test. Do not test aclocal.test twice.
757 * tests/aclocal2.test: Delete (pointless).
758 * tests/aclocal5.test: Make sure configure's dependencies are
760 * tests/acinclude.test: Adjust to search for m4_include.
761 * tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep
762 configure instead of aclocal.m4.
765 * automake.in (scan_aclocal_m4): Work in all directories, not only
766 the top-level. Prepend $(top_srcdir) in front of each aclocal.m4
768 * lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)):
769 Define rebuild rules in each directory.
770 * tests/subdir8.test: Augment to exercise aclocal.m4's dependencies
771 from the top-level directory.
772 * tests/aclocal5.test: New file. Exercise aclocal.m4's dependencies
774 * tests/Makefile.am (TESTS): Add aclocal5.test.
775 (XFAIL_TESTS): Replace subdir8.test by aclocal5.test.
777 2003-04-24 Akim Demaille <akim@epita.fr>
778 Alexandre Duret-Lutz <adl@gnu.org>
781 * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt
782 because of one of configure's dependencies, run automake without
783 argument to update the whole tree at once. Depend upon
785 (%MAKEFILE%): If Makefile is rebuilt because config.status has
786 been updated, run config.status without arguments.
787 * automake.in (scan_autoconf_traces): Prepend $(top_srcdir)
788 before all files in @configure_deps.
789 * tests/subdir5.test: Modernize configure.in, make sure
790 maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%.
791 * tests/subdir8.test: New file.
792 * tests/Makefile.am (TESTS): Add subdir8.test.
793 (XFAIL_TESTS): Replace subdir5.test by subdir8.test.
795 2003-04-23 Alexandre Duret-Lutz <adl@gnu.org>
797 * automake.texi (Requirements): Typo in index
798 s/AC_CONFIG_FILE/AC_CONFIG_FILES/.
800 * lib/texinfo.tex: New upstream version.
802 2003-04-21 Jim Meyering <jim@meyering.net>
804 * lib/mkinstalldirs: Remove each sequence of spaces before a
806 * lib/depcomp: Search for TAB-SPC, not SPC-TAB.
808 2003-04-19 Alexandre Duret-Lutz <adl@gnu.org>
810 Fix for PR automake/389:
811 * automake.in (handle_configure): Don't put $colon_infile in
813 * tests/conff.test: New file.
814 * tests/Makefile.am (TESTS): Add conff.test.
815 Reported by Alexander Turbov.
817 2003-04-18 Alexandre Duret-Lutz <adl@gnu.org>
819 * tests/defs.in: Handle required=etags to work around
822 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
825 * tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test:
826 Distribute dejagnu test cases, so that distcheck actually runs them.
828 2003-04-18 Richard Dawe <rich@phekda.freeserve.co.uk>
830 * lib/am/dejagnu.am (site.exp): Don't define tool in site.exp,
831 because we set that by invoking runtest with --tool.
832 * tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test,
833 dejagnu6.test, dejagnu7.test.
834 * tests/dejagnu4.test: New test.
835 * tests/dejagnu5.test: New test.
836 * tests/dejagnu6.test: New test.
837 * tests/dejagnu7.test: New test.
839 * tests/dejagnu3.test: Make sure the DejaGnu test is actually run.
841 2003-04-18 Jim Meyering <jim@meyering.net>
843 * automake.in (variable_output): Fix typo in comment s/is/if/.
845 * lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect
846 directly to $@. Instead, redirect to $@t and rename upon success.
847 Also, move the commands that update $@ so they are last. Otherwise,
848 this rule could leave the user with an up to date target (.c file)
849 but with a missing or corrupted corresponding .h file.
851 2003-04-17 Richard Dawe <rich@phekda.freeserve.co.uk>
853 * tests/defs.in: Handle required=runtest, to detect runtest
855 * tests/Makefile.am (TESTS): Add dejagnu3.test.
856 * tests/dejagnu3.test: New test.
858 2003-04-16 Alexandre Duret-Lutz <adl@gnu.org>
860 * automake.in (rule_define): If the user tries to override
861 an Automake which has a -local variant, suggest using the
862 -local variant in the -Woverride diagnostic.
863 (handle_factored_dependencies): Register factored
864 rules with rule_define, and define them only in undefined
866 * tests/Makefile.am (TESTS): Add override.test.
867 * tests/overrid.test: New file.
868 * tests/phony.test: Count the number of .PHONY targets.
870 2003-04-15 Alexandre Duret-Lutz <adl@gnu.org>
872 * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silence
873 these rules, so that we don't confuse users by echoing
874 "echo ERROR:" commands which are not run.
876 2003-03-14 Richard Dawe <rich@phekda.freeserve.co.uk>
877 Alexandre Duret-Lutz <adl@gnu.org>
879 * automake.in (output_texinfo_build_rules, handle_texinfo_helper,
880 initialize_per_input): Add infrastructure for generating HTML
881 documentation from texinfo source.
882 * lib/am/texinfos.am: Add rules for building HTML documentation
884 * lib/am/texibuild.am: Likewise.
885 * automake.texi (Texinfo): Document rules for building
886 HTML documentation from texinfo source.
887 * tests/txinfo21.test: New file.
888 * tests/Makefile.am (TESTS): Add txinfo21.test.
889 * tests/defs.in: Handle required=makeinfo-html.
891 2003-04-14 Alexandre Duret-Lutz <adl@gnu.org>
893 * automake.in (%silent_variable_override): New variable.
894 (macro_define): Warn about variable definitions overriding
896 (rule_define): Warn about target definitions overriding
897 Automake variables. Fix $condmsg definition.
898 * automake.texi (Invoking Automake): Document the `override'
900 * lib/Automake/ChannelDefs.pm (usage): Likewise.
901 * lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define,
902 this is already done in m4/init.m4.
903 * tests/dejagnu2.test: Run $MAKE, don't only grep. Use
904 -Wno-override, and make sure we get a warning without.
905 * tests/exeext2.test, tests/substtarg.test: Use -Wno-override,
906 and make sure we get a warning without.
907 * tests/exeext3.test, tests/java2.test, tests/nolink.test,
908 tests/subpkg.test, tests/vartest.test: Use -Wno-override.
909 * tests/txinfo13.test: Use installcheck-local instead of overriding
911 * tests/txinfo2.test: Run $MAKE on the real Makefile (this test
912 used to succeed thanks to a failure...)
913 * tests/location.test: Adjust expected messages.
914 * tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test.
916 2003-04-12 Raja R Harinath <harinath@acm.org>
918 * lib/Automake/DisjConditions.pm (true): Don't cache answer.
919 (invert): Update comment.
921 (simplify): Implement using invert().
922 * lib/Automake/tests/DisjConditions.pl (test_simplify):
923 Update to reflect changes.
925 2003-04-12 Alexandre Duret-Lutz <adl@gnu.org>
927 * automake.in (scan_autoconf_files): Augment the error message
928 about AM_INIT_AUTOMAKE not found.
929 Suggested by Bruno Haible.
931 * lib/Automake/Version.pm: New file.
932 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm.
933 * lib/Automake/tests/Version.pl: New file.
934 * lib/Automake/tests/Makefile.am (TESTS): Add Version.pl.
935 * tests/Makefile.am (TESTS): Remove version5.test.
936 * tests/version5.test: Delete. Move the tests to Version.pl.
937 * automake.in (version_split, version_compare, version_check): Move ...
938 * lib/Automake/Version.pm (split, compare, check): ... here.
940 2003-04-11 Alexandre Duret-Lutz <adl@gnu.org>
942 * lib/Automake/tests/Condition.pl (test_reduce_and)
943 (test_reduce_or): Cosmetics.
944 * lib/Automake/tests/DisjConditions.pl (test_sub_conditions):
946 * lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...>
948 * tests/yacc8.test, configure.in: Update copyright year.
950 2003-04-10 Richard Dawe <rich@phekda.freeserve.co.uk>
952 * configure.in: Get the build platform name. Define
953 MODIFICATION_DELAY as the time to wait after modifying a file,
954 to cope with timestamp granularity issues, depending
956 * tests/defs.in: Define `sleep' using MODIFICATION_DELAY.
958 2003-04-10 Eric Siegerman <eric_97@pobox.com> (tiny change)
960 * automake.texi (Public macros): Clarify that the new
961 AM_INIT_AUTOMAKE variant is preferred, and the old one
962 deprecated. Copy-edit the rest of the AM_INIT_AUTOMAKE item.
963 (Hello): Caution that the example uses the deprecated
964 AC_INIT/AM_INIT_AUTOMAKE syntax, and xref to the discussion.
966 2003-04-10 Alexandre Duret-Lutz <adl@gnu.org>
968 Retain all variable definitions until the whole Makefile.am has
969 been processed, then output all variables in one step, at the top
970 of Makefile.in. (Older revisions used to output user variables
971 before generating Automake targets, and to mix Automake variables
972 with Automake targets, preventing redefinitions of previously
975 * automake.in (%var_pretty): New variable.
976 (VAR_ASIS, VAR_PRETTY): New constants.
977 (@var_list): Rename as ...
978 (@var_order): ... this.
979 (initialize_per_input): Clear %var_pretty.
980 (handle_variables): New function, extracted from ...
981 (read_main_am_file): ... here.
982 (generate_makefile): Call handle_variable after everything else.
983 (handle_dist): Use define_pretty_variable, not pretty_print.
984 (pretty_print): Delete.
985 (macro_define): Augment with $COMMENT and $PRETTY parameters.
986 Update %var_comment, %var_pretty, and @var_order. Adjust callers.
987 (variable_pretty_output): Merge with ...
988 (variable_output): ... this, and choose the prettiness on a
990 (append_comments): Delete. This work is now done by macro_define.
991 (read_am_file, file_contents_internal): Don't call append_comments
992 nor update @var_list, adjust calls to macro_define.
993 (handle_subdirs): Don't explicitly output RECURSIVE_TARGETS,
994 just mark it as VAR_PRETTY.
995 * tests/exeext.test: Make sure bin_PROGRAMS is output only once.
996 Report from Jim Meyering.
998 2003-04-06 Alexandre Duret-Lutz <adl@gnu.org>
1000 * automake.in (handle_installdirs): Rename as ...
1001 (handle_install): ... this. Define maybe_BUILT_SOURCES.
1002 (generate_makefile): Adjust call to handle_install.
1003 * lib/am/install.am (install): Use %maybe_BUILT_SOURCES%.
1004 * automake.texi (Sources, Built sources example): BUILT_SOURCES
1005 is honored by `make install' too.
1006 * tests/check3.test: Make sure that `make install' also depends
1008 Report from Alexander Turbov.
1010 * lib/am/libs.am (ARFLAGS): Define.
1011 * automake.in (handle_libraries): Use `$(ARFLAGS)' instead of
1013 * automake.texi (A Library): Explain how AR, ARFLAGS and RANLIB
1014 are used, and how they can be overridden.
1015 (Program and Library Variables): Adjust to show `$(ARFLAGS)'
1017 * tests/ar.test: Rewrite to test for AR, ARFLAGS, and RANLIB.
1018 * tests/ranlib.test: Delete, obsoleted by ar.test.
1019 * tests/Makefile.am (TESTS): Remove ranlib.test.
1020 Report from Paul Thomas.
1022 2003-04-03 Alexandre Duret-Lutz <adl@gnu.org>
1024 * automake.in (check_trailing_slash): New function (variation on
1025 a patch by Peter Muir). Diagnose whitespaces following trailing
1027 (read_am_file): Use it.
1028 * tests/backsl4.test: New file.
1029 * tests/Makefile.am (TESTS): Add backsl4.test.
1030 Reported by Peter Muir.
1032 2003-03-29 Raja R Harinath <harinath@acm.org>
1034 Speedup Automake::DisjConditions::invert().
1035 * lib/Automake/Condition.pm (multiply): New.
1036 * lib/Automake/DisjConditions.pm (_multiply): Use it.
1037 (sub_conditions): Likewise.
1039 * lib/Automake/Condition.pm (reduce): Rename to ...
1040 (reduce_and): ... this.
1042 * lib/Automake/DisjConditions.pm (_multiply): Use reduce_or().
1043 * lib/Automake/tests/Condition.pl (test_reduce): Rename to ...
1044 (test_reduce_and): ... this.
1045 (test_reduce_or): New.
1046 * lib/Automake/tests/DisjConditions.pl
1047 (test_invert): Update to reflect effect of reduce_or().
1048 (test_simplify): Don't skip invert() on larger inputs.
1050 2003-03-29 Raja R Harinath <harinath@cs.umn.edu>
1052 * tests/yacc8.test: Add a $sleep before modifying Makefile.am so
1053 that timestamp will change.
1055 2003-03-23 Akim Demaille <akim@epita.fr>
1056 Alexandre Duret-Lutz <adl@gnu.org>
1058 * lib/am/tags.am (TAGS): Use --etags-include instead of --include,
1059 when supported by etags (Exuberant Ctags).
1060 * tests/tagsub.test: Rewrite to _run_ the `tags' rule.
1062 2003-03-20 Alexandre Duret-Lutz <adl@gnu.org>
1064 For Debian Bug #185388:
1065 * automake.texi (Extending): Augment the install-exec-hook
1066 discussion with an example how to symlink a versioned binary.
1067 * tests/insthook.test: Rewrite to test the above example.
1068 Report from James R. Van Zandt.
1070 2003-03-19 Alexandre Duret-Lutz <adl@gnu.org>
1072 * Makefile.am (maintainer-check): Allow `automake:' tokens,
1073 occuring in location.test. Automake now has 5 legitimate
1074 unsubstituted @strings@.
1076 * tests/aclocal4.test: Require GNU make.
1078 2003-03-14 Alexandre Duret-Lutz <adl@gnu.org>
1080 * tests/aclocal4.test: New file. Test for the ACLOCAL_M4 bug below.
1081 * tests/Makefile.am (TESTS): Add aclocal4.test.
1083 2003-03-14 Jim Meyering <jim@meyering.net>
1085 * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
1086 subdirectories. Makefile.in depends on that variable.
1088 2003-03-13 Alexandre Duret-Lutz <adl@gnu.org>
1090 * m4/init.m4: Remove a leftover comment from the pre-1.7 era.
1092 Fix for PR automake/386:
1093 * m4/init.m4: Require Autoconf 2.55.
1094 Reported by Owen Taylor.
1096 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
1097 (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode.
1098 Suggested by Matthias Andree.
1100 * tests/README: Typo.
1102 2003-03-08 Alexandre Duret-Lutz <adl@gnu.org>
1104 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
1105 (?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP.
1106 Just echo the gcc command.
1107 Suggested by Karl Berry.
1109 2003-03-06 Alexandre Duret-Lutz <adl@gnu.org>
1111 * lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
1112 `test -f foo || echo $(srcdir)/` to emulate a VPATH search when
1113 outputing suffix rules. This follows 2003-02-25's change.
1114 * lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
1115 * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
1117 2003-03-05 Alexandre Duret-Lutz <adl@gnu.org>
1119 * automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed
1120 with AC_CONFIG_FILES are cleaned by `make distclean'. Don't
1122 Reported by Rafael Laboissiere.
1124 2003-03-04 Andreas Buening <andreas.buening@nexgo.de>
1126 * lib/mdate-sh: Find out which column of the ls -l output contains
1127 the month. Do not assume it is at least the fifth column.
1129 2003-02-26 Alexandre Duret-Lutz <adl@gnu.org>
1131 * automake.texi (Emacs Lisp): Mention that `dist_' can be used.
1133 * automake.texi (Emacs Lisp): Instruct people to use lisp_DATA
1134 instead of lisp_LISP when they don't want byte-compilation.
1135 Don't mention ELCFILES anymore.
1136 * automake.in (handle_data): Allow lisp_DATA.
1137 * tests/lisp5.test: New file.
1138 * tests/Makefile.am (TESTS): Add lisp5.test.
1140 * automake.in (handle_emacs_lisp): Don't build *.elc files
1141 if ELCFILES was set empty.
1142 * tests/lisp4.test: New file.
1143 * tests/Makefile.am (TESTS): Add lisp4.test.
1144 Reported by Simon Josefsson.
1146 * tests/lex3.test, tests/lex5.test: Require flex.
1147 Reported by Leo Davis.
1149 2003-02-25 Alexandre Duret-Lutz <adl@gnu.org>
1151 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not
1152 use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search
1153 when outputing suffix rules.
1154 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi)
1155 (?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise.
1156 Suggested by Bruno Haible.
1158 * automake.in (read_am_file): Catch trailing backslashes on last line.
1159 * tests/backsl3.test: New file.
1160 * tests/Makefile.am (TESTS): Add backsl3.test.
1161 Reported by Akim Demaille.
1163 2003-02-24 Alexandre Duret-Lutz <adl@gnu.org>
1165 * ChangeLog: Move 2002's entries to ...
1166 * ChangeLog.02: ... this new file.
1167 * Makefile.am (EXTRA_DIST): Add ChangeLog.02.
1169 2003-02-24 Richard Dawe <rich@phekda.freeserve.co.uk>
1171 * tests/version7.test: Use $sleep to sleep before updating
1172 the version, to work around timestamp inconsistencies in Windows.
1174 2003-02-24 Bruno Haible <bruno@clisp.org>
1175 Alexandre Duret-Lutz <adl@gnu.org>
1177 * lib/am/texibuild.am: Don't remove the target info files. Instead,
1178 back up and restore them if makeinfo fails.
1179 * tests/txinfo20.test: New file.
1180 * tests/Makefile.am (TESTS): Add txinfo20.test.
1182 2003-02-23 Alexandre Duret-Lutz <adl@gnu.org>
1184 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
1185 (distcleancheck): Fix typos and other errors reported by Karl
1188 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
1190 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
1193 * tests/defs.in: Handle required=ro-dir.
1194 * tests/destdir.test: Use this.
1196 2003-02-19 Richard Dawe <rich@phekda.freeserve.co.uk>
1198 * lib/am/distdir.am (distcheck): Strip any leading DOS drive
1199 from dc_install_base.
1201 2003-02-19 Alexandre Duret-Lutz <adl@gnu.org>
1203 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
1204 DJGPP-style *.iNN info files.
1205 (maintainer-clean-aminfo): Rewrite using the same pattern
1206 as in uninstall-info-am.
1207 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase
1208 DJGPP-style *.iNN info files before running $(MAKEINFO).
1209 * tests/txinfo19.test: New file.
1210 * tests/Makefile.am (TESTS): Add txinfo19.test.
1212 2003-02-18 Richard Dawe <rich@phekda.freeserve.co.uk>
1214 * lib/depcomp (dashmstdout): Cope with DOS filenames in
1217 2003-02-17 Alexandre Duret-Lutz <adl@gnu.org>
1219 * lib/depcomp (makedepend): Don't pass $object to makedepend.
1220 Reported by Stepan Kasal.
1222 2003-02-12 Alexandre Duret-Lutz <adl@gnu.org>
1224 * tests/defs.in: Handle required=makedepend.
1226 * Makefile.am (maintainer-check): Update the diff check
1227 to account for the recent @SHELL@ substitution.
1229 2003-02-11 Alexandre Duret-Lutz <adl@gnu.org>
1231 * lib/depcomp: Do not put comments on the `icc)' line.
1233 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1236 Fix for PR automake/381:
1237 * automake.in (handle_gettext): Do not print diagnostics
1238 about po/ and intl/ missing from SUBDIRS if po/ does not
1239 exist. Warn if `SUBDIRS = intl' is used although libintl
1241 * tests/gettext.test: Make sure diagnostics are not output
1242 when po/ does not exist.
1243 * tests/gettext2.test: Test for unwanted intl/.
1244 PR from Alexander Turbov, fix suggested by Bruno Haible.
1246 * m4/depend.m4: Grep depcomp's stderr for icc warnings about
1248 * lib/depcomp (icc): New mode.
1249 * tests/depcomp5.test: New file.
1250 * tests/defs.in: Handle required=icc.
1251 * tests/Makefile.am (TESTS): Add it.
1253 Temporary hack for PR automake/381:
1254 * automake.in (handle_gettext): Turn missing po/ and intl/ errors
1255 into -Wsyntax warnings.
1257 2003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk>
1259 * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
1260 This makes the setting of SHELL work for DJGPP.
1262 2003-02-10 Alexandre Duret-Lutz <adl@gnu.org>
1264 For PR automake/385:
1265 * lib/depcomp (makedepend): Strip any libtool call, before
1266 running makedepends.
1267 * tests/depcomp4.test: New file.
1268 * tests/Makefile.am (TESTS): Add it.
1269 Reported by Jeff Squyres.
1271 Related to PR automake/385:
1272 * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will
1273 write dependencies to /dev/null. `-o /dev/null' was added
1274 on 2002-06-13 just because I tried to replace `-o foo.o' by something
1275 else and didn't thought about removing it entirely.
1276 * tests/depcomp3.test: New file.
1277 * tests/Makefile.am (TESTS): Add it.
1279 * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
1281 Suggested by Richard Dawe.
1283 2003-02-09 Alexandre Duret-Lutz <adl@gnu.org>
1285 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
1286 (distcleancheck): New nodes.
1288 2003-02-06 Alexandre Duret-Lutz <adl@gnu.org>
1290 * automake.in (scan_autoconf_files): Don't complain that
1291 AM_INIT_AUTOMAKE comes from an old version if it was not found.
1293 2003-02-05 Alexandre Duret-Lutz <adl@gnu.org>
1295 * automake.in (am_install_var): Simplify filtering of
1296 variable_loc_and_value_as_list_recursive's output.
1298 2003-02-04 Alexandre Duret-Lutz <adl@gnu.org>
1300 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute
1301 indexes of header files so we create stamp files with
1302 the right numbers when config.status is run on some headers.
1303 * tests/stamph2.test: Check for this.
1304 Reported by Sander Niemeijer.
1306 2003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
1308 * automake.in (vars_scanned): Move near traverse_variable_recursively.
1309 (traverse_variable_recursively,
1310 traverse_variable_recursively_worker): Accept a $COND_FILTER argument
1311 to filter out conditions during recursion. Don't recurse into
1312 undefined variables. Don't pass empty results to &FUN_COLLECT.
1313 (value_to_list): Remove, was used by
1314 variable_value_as_list_recursive_worker only.
1315 (variable_value_as_list_recursive_worker): Rewrite using
1316 traverse_variable_recursively. Remove the $parent argument.
1317 (variable_value_as_list_recursive,
1318 variable_loc_and_value_as_list_recursive): Adjust calls
1319 to variable_value_as_list_recursive_worker. Don't reset
1321 * tests/cond3.test: Don't expect empty helper variables,
1322 we don't output them anymore.
1323 * tests/cond30.test: Use an undefined variable.
1325 * automake.in (handle_programs): Strip $(EXEEXT) before
1326 calling &check_canonical_spelling.
1327 * tests/exeext.test: Make sure we don't use a
1328 maude3__EXEEXT__OBJECTS variable.
1330 2003-02-02 Jeremy Nimmer <jwnimmer@alum.mit.edu> (tiny change)
1332 For Debian Bug #39542:
1333 * automake.texi (Invoking Automake, Optional): Document how
1334 AC_CONFIG_AUX_DIR interacts with missing files.
1336 2003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
1338 * lib/Automake/DisjConditions.pm (_permutations_worker)
1339 (permutations): Remove, so that people aren't tempted to use it.
1340 * lib/Automake/tests/DisjConditions.pl (tests_permutations): Remove.
1342 * automake.in (variable_conditions_recursive): Remove.
1343 (variable_conditionally_defined): Rewrite using
1344 traverse_variable_recursively.
1346 * automake.in (traverse_variable_recursively,
1347 traverse_variable_recursively_worker): Pass one merged Condition
1348 instead of a stack of conditions to &FUN_STORE and &FUN_COLLECT.
1349 (transform_variable_recursively, define_objects_from_sources)
1350 (handle_lib_objects, variable_conditions_recursive): Adjust usage.
1352 2003-02-01 Alexandre Duret-Lutz <adl@gnu.org>
1354 * automake.in (handle_lib_objects): Compute _DEPENDENCIES variables
1355 using transform_variable_recursively instead of
1356 variable_conditions_recursive and variable_value_as_list_recursive
1357 to avoid combinatorial explosion.
1358 (handle_lib_objects_cond): Merge into handle_lib_objects.
1359 * tests/cond11.test: Don't grep internal details in Makefile.in,
1360 run $MAKE to make sure the resulting Makefile runs as expected.
1361 * tests/cond29.test: Also exercise conditional _LDADD.
1362 * tests/cond31.test, tests/cond32.test: New files.
1363 * tests/Makefile.am (TESTS): Add tests/cond31.test and
1366 2003-01-31 Alexandre Duret-Lutz <adl@gnu.org>
1368 * automake.in (handle_lib_objects_cond): Ignore -dlopen and
1369 -dlpreopen in _LIBADD variables too.
1370 (handle_LIBOBJS, handle_ALLOCA): New functions, extracted from
1371 handle_lib_objects_cond.
1372 * tests/libtool7.test: New file.
1373 * tests/Makefile.am (TESTS): Add libtool7.test.
1375 * automake.texi (Program and Library Variables): Clarify that
1376 _LIBADD is for libraries and _LDADD for programs.
1378 * automake.in (handle_source_transform): Correct typo from 2003-01-23.
1380 2003-01-28 Alexandre Duret-Lutz <adl@gnu.org>
1382 Fix for PR automake/352:
1383 * automake.in (transform_variable_recursively): If the destination
1384 and the source variables are the same, delete the source variable
1385 before defining the destination variable.
1386 (handle_programs): Strip any $(EXEEXT) suffix from $one_file,
1387 or this will confuse handle_source_transform.
1388 (append_exeext): Rewrite using transform_variable_recursively.
1389 * tests/cond29.test, tests/cond30.test: New files.
1390 * tests/exeext.test: Run ./configure and make, this uncovered
1391 the above handle_programs issue.
1392 * tests/Makefile.am (TESTS): Add cond29.test and cond20.test.
1394 * automake.in (%subobjvar): Replace by ...
1395 (%gen_varname): ... this.
1396 (subobjname): Replace by ...
1397 (gen_varname): ... this.
1398 (initialize_per_input): Clean gen_varname instead of subobjname.
1399 (transform_variable_recursively): New function, extracted
1400 from define_objects_from_sources.
1401 (define_objects_from_sources): Use transform_variable_recursively.
1402 Remove the unused $parent argument.
1403 (handle_source_transform): Adjust call to define_objects_from_sources.
1405 2003-01-23 Alexandre Duret-Lutz <adl@gnu.org>
1407 * automake.in (@substfroms, @substtos): Move near
1408 traverse_variable_recursively.
1409 (traverse_variable_recursively, traverse_variable_recursively_worker):
1410 New functions, extracted from define_objects_from_sources.
1411 (define_objects_from_sources): Rewrite using
1412 traverse_variable_recursively.
1413 (handle_source_transform): Use variables_conditionally_defined
1414 instead of calling variable_conditions_recursive directly.
1415 Adjust the call to define_objects_from_sources; there is no need
1416 to reset @substtos, @substfroms, and %vars_scanned now.
1417 (variable_conditions_recursive): Rewrite using
1418 traverse_variable_recursively.
1419 (variable_conditions_recursive_sub): Remove.
1420 (variable_conditionally_defined): Fix condition comparison (the
1421 consequence was that DIST_SUBDIRS was always output).
1422 * lib/Automake/Condition.pm (merge): Allow merging several
1425 2003-01-22 Alexandre Duret-Lutz <adl@gnu.org>
1427 * automake.texi (Python): Explain that directory variables start
1428 with either ${prefix} or ${exec_prefix}, and point to the
1429 `Installation Directory Variables' section of the Autoconf manual.
1431 2003-01-21 Alexandre Duret-Lutz <adl@gnu.org>
1433 * lib/am/distdir.am (top_distdir, distdir): Define these
1434 variables only in top level Makefile. Redefine $(top_distdir)
1436 (distdir): Fix passing of $(top_distdir) to sub-makes.
1437 * automake.in (handle_dist): Do not define the DISTDIR and
1438 TOP_DISTDIR transformations. We don't need them anymore.
1439 * automake.texi (Dist): Reorder the dist-hook section, and move
1440 the DIST_SUBDIRS paragraph earlier. Document distdir and
1442 * tests/subpkg.test: Update to check for $(distdir) and
1445 2003-01-19 Alexandre Duret-Lutz <adl@gnu.org>
1447 Rename more files to accomodate 8+3 file systems, and adjust the
1448 vocabulary at the same time: AM_CONDITIONAL defines "conditionals",
1449 and we call "condition" a conjunction of "conditionals".
1450 * lib/am/Conditional.pm: Rename to lib/am/Condition.pm.
1451 * lib/am/tests/Conditional.pl: Rename to lib/am/tests/Condition.pl.
1452 * lib/am/ConditionalSet.pm: Rename to lib/am/DisjConditions.pm.
1453 * lib/am/tests/ConditionalSet.pl: Rename to
1454 lib/am/tests/DisjConditions.pl
1455 * lib/am/Conditional.pm (condition_negate): Rename to ...
1456 * lib/am/Condition.pm (conditional_negate): ... this.
1457 * automake.in: Adjust references to Condition and DisjConditions.
1458 (check_ambiguous_conditional, conditional_ambiguous_p): Rename to ...
1459 (check_ambiguous_condition, condition_ambiguous_p): ... these.
1461 * tests/README: New file.
1463 * automake.texi (Conditional Programs): Show a sample Makefile.am.
1464 Remind $(EXEEXT) must be appended to configure substitutions.
1465 Show how Automake conditionals can be used instead.
1466 * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also
1467 appended to conditionally defined programs.
1469 2003-01-16 Jim Meyering <jim@meyering.net>
1471 Accept --help and --version, and lots of syntactic clean-up.
1472 * lib/install-sh: Use consistent indentation, two spaces per level.
1473 (scriptversion): New variable.
1474 Change initializations like `variable=""' to `variable='.
1475 (usage): New variable.
1476 Use `test', not `['.
1477 Use `test -z "$var"', not `[ x"$var" = x ]'.
1478 Use `test -n "$var"', not `[ x"$var" != x ]'.
1479 Alphabetize case entries.
1480 Accept --help and --version options.
1481 Remove unnecessary `else :' clauses.
1482 Add a `Local variables' eval block to help emacs users update
1483 the time-stamp variable added above.
1484 Mostly from Karl Berry.
1486 2003-01-16 Alexandre Duret-Lutz <adl@gnu.org>
1488 * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add
1491 * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir'
1492 or `pyexecdir', for the sake of 64-bit distributions that usually
1493 use lib64/ instead of lib/. Fall back to the default directory
1495 Suggested by Gwenole Beauchesne.
1497 2003-01-14 Alexandre Duret-Lutz <adl@gnu.org>
1499 For PR automake/382:
1500 * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'.
1501 Explain BUILT_SOURCES is usually needed in this case.
1502 Reported by William S Fulton.
1504 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
1506 Rename some files for the sake of 8+3 file systems.
1507 * tests/aclocali.test: Rename to tests/aclocal.test.
1508 * tests/aclocali1.test: Rename to tests/aclocal2.test.
1509 * tests/aclocalii.test: Rename to tests/aclocal3.test.
1510 * tests/acoutput.test: Rename to tests/acoutpt.test.
1511 * tests/acoutput2.test: Rename to tests/acoutpt2.test.
1512 * tests/acouttbs.test: Rename to tests/acoutbs.test.
1513 * tests/acouttbs2.test: Rename to tests/acoutbs2.test.
1514 * tests/autoheader.test: Rename to tests/autohdr.test.
1515 * tests/autoheader2.test: Rename to tests/autohdr2.test.
1516 * tests/condincl.test: Rename to tests/condinc.test.
1517 * tests/condincl2.test: Rename to tests/condinc2.test.
1518 * tests/distcommon.test: Rename to tests/distcom.test.
1519 * tests/distcommon2.test: Rename to tests/distcom2.test.
1520 * tests/distcommon3.test: Rename to tests/distcom3.test.
1521 * tests/installsh.test: Rename to tests/instsh.test.
1522 * tests/installsh2.test: Rename to tests/instsh2.test.
1523 * tests/instdata.test: Rename to tests/instdat.test.
1524 * tests/instdata2.test: Rename to tests/instdat2.test.
1525 * tests/libobj12b.test: Rename to tests/libobj13.test.
1526 * tests/link_f_c.test: Rename to tests/link_fc.test.
1527 * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test.
1528 * tests/link_f_cxx.test: Rename to tests/link_fcxx.test.
1529 * tests/nodefine.test: Rename to tests/nodef.test.
1530 * tests/nodefine2.test: Rename to tests/nodef2.test.
1531 * tests/required.test: Rename to tests/reqd.test.
1532 * tests/required2.test: Rename to tests/reqd2.test.
1533 * tests/sourcesub.test: Rename to tests/srcsub.test.
1534 * tests/sourcesub2.test: Rename to tests/srcsub2.test.
1535 * tests/specflags.test: Rename to tests/specflg.test.
1536 * tests/specflags2.test: Rename to tests/specflg2.test.
1537 * tests/specflags3.test: Rename to tests/specflg3.test.
1538 * tests/specflags6.test: Rename to tests/specflg6.test.
1539 * tests/specflags7.test: Rename to tests/specflg7.test.
1540 * tests/specflags8.test: Rename to tests/specflg8.test.
1541 * tests/specflags9.test: Rename to tests/specflg9.test.
1542 * tests/subdircond.test: Rename to tests/subcond.test.
1543 * tests/subdircond2.test: Rename to tests/subcond2.test.
1544 * tests/subdircond3.test: Rename to tests/subcond3.test.
1545 * tests/texinfo.test: Rename to tests/txinfo.test.
1546 * tests/texinfo2.test: Rename to tests/txinfo2.test.
1547 * tests/texinfo3.test: Rename to tests/txinfo3.test.
1548 * tests/texinfo4.test: Rename to tests/txinfo4.test.
1549 * tests/texinfo5.test: Rename to tests/txinfo5.test.
1550 * tests/texinfo6.test: Rename to tests/txinfo6.test.
1551 * tests/texinfo7.test: Rename to tests/txinfo7.test.
1552 * tests/texinfo8.test: Rename to tests/txinfo8.test.
1553 * tests/texinfo9.test: Rename to tests/txinfo9.test.
1554 * tests/texinfo10.test: Rename to tests/txinfo10.test.
1555 * tests/texinfo13.test: Rename to tests/txinfo13.test.
1556 * tests/texinfo16.test: Rename to tests/txinfo16.test.
1557 * tests/texinfo17.test: Rename to tests/txinfo17.test.
1558 * tests/texinfo18.test: Rename to tests/txinfo18.test.
1559 * tests/Makefile.am (TESTS): Adjust.
1560 * ChangeLog.1996: Rename to ChangeLog.96.
1561 * ChangeLog.1998: Rename to ChangeLog.98.
1562 * ChangeLog.2000: Rename to ChangeLog.00.
1563 * ChangeLog.2001: Rename to ChangeLog.01.
1564 * Makefile.am (EXTRA_DIST): Adjust.
1565 Reported by Richard Dawe.
1567 2003-01-13 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
1569 * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames.
1570 Use '_build' and '_inst' instead of '=build' and '=inst'.
1571 * tests/man2.test: Reflect change automake: check for files in
1572 '_build' and '_inst' directories instead of '=build' and '=inst'.
1574 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
1576 Use `_dirstamp' when the file-system doesn't support `.dirstamp'.
1577 * m4/lead-dot.m4: New file.
1578 * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4
1579 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.:
1580 * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define
1581 DEPDIR using am__leading_dot.
1582 * automake.in (require_build_directory): Define am__dirstamp, a new
1583 variable for the dirstamp basename, based on am__leading_dot.
1584 * tests/subobj6.test: Move all `test -f' into Makefiles, so we can
1585 use $(am__dirstamp).
1586 Reported by Richard Dawe.
1588 * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test:
1589 Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when
1590 testing for programs.
1591 Reported by Richard Dawe.
1593 2003-01-10 Alexandre Duret-Lutz <adl@gnu.org>
1595 * Makefile.am (maintainer-check): Suggest using $sleep instead of
1597 * tests/defs.in (sleep): New variable.
1598 * tests/asm.test, tests/confsub.test, tests/lisp3.test,
1599 tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test:
1600 Use $sleep instead of sleep 2, to work around timestamp
1601 inconsistencies in Windows.
1602 Reported by Richard Dawe.
1604 * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh
1606 * tests/ansi3.test, tests/ansi5.test, tests/cond22.test,
1607 tests/man2.test, tests/subobj3.test, tests/suffix8.test,
1608 tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e.
1609 $SHELL is overridden by tests/defs, so it won't hurt even
1610 if $MAKE -e uses the $SHELL envvar.
1611 * tests/ansi.test, tests/insh2.test, tests/texinfo.test,
1612 tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh.
1613 Reported by Richard Dawe.
1615 Build elisp files all at once instead of one by one.
1616 * automake.in (handle_emacs_lisp): Define am__ELFILES. Add
1617 elc-stamp to all's dependencies.
1618 * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files.
1619 (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist.
1620 (clean-lisp): Clean elc-stamp.
1621 * lib/elisp-comp: Reindent. Erase the temporatry directory
1622 from a trap. Propagate Emacs's exit status.
1623 * tests/lisp3.test: New file.
1624 * tests/Makefile.am (TESTS): Add lisp3.test.
1625 Reported by Ryan T. Sammartino.
1627 2003-01-09 Akim Demaille <akim@epita.fr>
1629 * automake.texi: Prefer $(FOO) to @FOO@ in the documentation.
1631 2003-01-08 Alexandre Duret-Lutz <adl@gnu.org>
1633 * m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious
1634 variables. Suggested by Ryan T. Sammartino.
1636 2003-01-05 Alexandre Duret-Lutz <adl@gnu.org>
1638 * automake.in (macro_define): Add missing `{$cond}' (typo from
1640 ($gen_copyright): Append year 2003.
1641 (version): Increase year.
1643 * tests/defs.in: Substitute aclocaldir instead of running
1644 the installed aclocal. Otherwise Libtool and Gettext
1645 tests get skipped when aclocal doesn't preexist.
1647 * tests/listval.test, tests/suffix2.test: Remove pointless -I
1648 argument to aclocal.
1652 Copyright (C) 2003 Free Software Foundation, Inc.
1654 This file is part of GNU Automake.
1656 GNU Automake is free software; you can redistribute it and/or modify
1657 it under the terms of the GNU General Public License as published by
1658 the Free Software Foundation; either version 2, or (at your option)
1661 GNU Automake is distributed in the hope that it will be useful,
1662 but WITHOUT ANY WARRANTY; without even the implied warranty of
1663 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1664 GNU General Public License for more details.
1666 You should have received a copy of the GNU General Public License
1667 along with autoconf; see the file COPYING. If not, write to
1668 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1669 Boston, MA 02111-1307, USA.