1 2003-06-13 Paul Eggert <eggert@twinsun.com>
3 * lib/install.sh (dsttmp, rmtmp): Do not use '#' in file names;
4 it's not guaranteed by POSIX and it doesn't work on OpenVMS.
5 Bug reported by Bernard Giroud in:
6 http://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html
8 2003-06-05 Alexandre Duret-Lutz <adl@gnu.org>
10 * automake.in (check_gnu_standards): Use no-installman and
11 no-installinfo's locations.
12 (process_option_list): Fill %options with locations.
13 (check_cygnus) Fill $options{'no-installinfo'} and
14 $options{'no-dependencies'} with $cygnus_mode, so that it
16 * tests/gnuwarn2.test: New file.
17 * tests/Makefile.am (TESTS): Add gnuwarn2.test.
19 2003-06-04 Alexandre Duret-Lutz <adl@gnu.org>
21 * automake.in (process_option_list): Record the location
22 of ansi2knr's definition.
23 (handle_compile): Use it.
24 * tests/ansi3.test: Make sure the location appears correctly.
26 * tests/ansi3b.test: New file.
27 * tests/Makefile.am (TESTS): Add ansi3b.test.
29 * tests/alpha.test: Really run $MAKE. Augment to test
30 subdirectories, and check-news report.
31 * tests/alpha2.test: New file. Bug report from Akim Demaille.
32 * tests/gnits2.test: Make sure README-alpha is not distributed.
33 * tests/Makefile.am (TESTS): Add alpha2.test.
34 * automake.in (handle_minor_options): Distribute README-alpha
35 using push_dist_common, not require_file_with_macro.
37 2003-06-03 Alexandre Duret-Lutz <adl@gnu.org>
39 * lib/Automake/Configure_ac.pm
40 (search_configure_ac, find_configure_ac): Rename as ...
41 (find_configure_ac, require_configure_ac): ... these.
42 * aclocal.in (scan_configure): Adjust call to require_configure_ac.
43 * automake.in (scan_autoconf_files): Likewise.
44 Suggested by Tim Van Holder.
46 * alocal.in: Use Automake::Configure_ac.
47 ($configure_ac): Delete.
48 (scan_configure): Adjust use of find_configure_ac;
49 * automake.in: Use Automake::Configure_ac.
50 ($configure_ac): Delete.
51 (scan_autoconf_files): Adjust use of find_configure_ac;
52 * lib/Automake/Configure_ac.pm: New file.
53 * lib/Automake/General.pm (find_configure_ac): Delete. Now
54 replaced by Automake::Configure_ac::search_configure_ac.
55 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Configure_ac.pm.
56 * lib/Automake/Variable.pm: Use Automake::Configure_ac.
57 (require_variables): Adjust use of $configure_ac.
59 2003-06-02 Akim Demaille <akim@epita.fr>
61 * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am,
62 * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am,
63 * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am,
64 * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am,
65 * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am,
66 * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am,
67 * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am,
68 * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am,
69 * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am,
70 * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am,
71 * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4,
72 * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4,
73 * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4,
74 * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4,
75 * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4,
76 * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4,
77 * m4/Makefile.am: White space changes and Copyright updates.
79 2003-05-29 Alexandre Duret-Lutz <adl@gnu.org>
81 * lib/Automake/Variable.pm (check_defined_unconditionally): Add
82 the $parent_cond argument.
83 (output): Use $self->name in diagnostic not $self.
84 (variable_value_as_list): Rename as ...
85 (value_as_list): ... this. Declare as a method. Take a $parent_cond
86 argument and pass it to check_defined_unconditionally. Do not call
87 variable_assert, now that this is a method.
88 (variable_assert): Delete (unused).
89 * automake.in (traverse_variable_recursively_worker): Adjust to
90 use check_defined_unconditionally and value_as_list as a methods.
92 * lib/Automake/Variable.pm (output): Declare as a method, since it
93 is only used this way.
94 (define): Fix documentation of $cond.
95 Suggested by Raja R. Harinath.
97 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
99 * lib/Automake/Variable.pm, lib/Automake/VarDef.pm: New files.
100 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Variable.pm
102 * automake.in: Use Automake::Variable and Automake::VarDef.
103 (MACRO_PATTERN): Delete. Now Automake::Variable::_MACRO_PATTERN.
104 (am_macro_for_var): Delete. Now Automake::Variable::_am_macro_for_var.
105 (ac_macro_for_var): Delete. Now Automake::Variable::_ac_macro_for_var.
106 (silent_variable_override): Delete. Now
107 Automake::Variable::_silent_variable_override.
108 (var_value, var_location, var_comment, var_type, var_owner,
109 var_pretty, content_seen): Delete. This functionality is now
110 offered by Automake::Variable and Automake::VarDef.
111 (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE, VAR_ASIS, VAR_PRETTY):
112 Delete. Now defined in Automake::VarDef.
113 (var_order): Delete. Now Automake::Variable::_var_order.
114 (appendvar): Delete. Now Automake::Variable::_appendvar.
115 (var_SUFFIX_trigger): Register using Automake::Variable::hook.
116 (initialize_per_input): Call Automake::Variable::reset.
117 (err_var, msg_cond_var, msg_var, reject_var): Delete. Now
118 defined in Automake::Variable.
119 (generate_makefile, process_option_list, handle_languages)
120 (traverse_variable_recursively_worker)
121 (transform_variable_recursively, handle_compile)
122 (handle_libraries, handle_ltlibraries)
123 (check_typos, handle_dist, handle_subdirs, scan_autoconf_files):
124 Adjust to use Automake::Variable functions.
125 (check_ambiguous_condition): Delete. Now
126 Automake::Variable::_check_ambiguous_condition.
127 (condition_ambiguous_p): Delete. Now
128 Automake::Variable::condition_ambiguous_p.
129 (variable_not_always_defined_in_cond): Delete. Now
130 Automake::Variable::not_always_defined_in_cond.
131 (macro_define): Delete. Now Automake::Variable::define.
132 (macro_delete): Delete. Now Automake::Variable::variable_delete.
133 (macro_dump): Delete. Now Automake::Variable::variable_dump.
134 (macros_dump): Delete. Now Automake::Variable::variables_dump.
135 (variable_defined): Delete. Now
136 Automake::Variable::variable_defined, with the target check
137 temporarily disabled.
138 (variable_assert): Delete. Now Automake::Variable::variable_assert.
139 (examine_variable): Delete. Now
140 Automake::Variable::examine_variable.
141 (variable_conditions): Delete. Now Automake::Variable::conditions.
142 (scan_variable_expansions): Delete. Now
143 Automake::Variable::scan_variable_expansions.
144 (check_variable_expansions): Delete. Now
145 Automake::Variable::check_variable_expansions.
146 (check_variable_defined_unconditionally): Delete. Now
147 Automake::Variable::check_defined_unconditionally.
148 (variable_value): Delete. Now Automake::Variable::variable_value.
149 (variable_value_as_list): Delete. Now
150 Automake::Variable::variable_value_as_list.
151 (variable_value_as_list_recursive_worker): Adjust to use
152 Automake::Variable functions.
153 (variable_output): Delete. Now Automake::Variable::output.
154 (define_pretty_variable, define_configure_variable, read_am_file)
155 (define_standard_variables, read_main_am_file): Adjust to use
156 Automake::Variable functions.
157 (handle_variables): Delete. Now Automake::Variable::output_variables.
158 (file_contents_internal, am_primary_prefixes, am_install_var)
159 (require_file_with_macro, require_conf_file_with_macro)
160 (push_dist_common): : Adjust to use
161 Automake::Variable functions.
162 (require_variables): Delete. Now
163 Automake::Variable::require_variables.
164 (require_variables_for_macro): Delete. Now
165 Automake::Variable::require_variables_for_variable.
166 * tests/Makefile.am (XFAIL_TESTS): Add target.test.
168 2003-05-25 Christian Cornelssen <ccorn@cs.tu-berlin.de> (tiny change)
170 * tests/dejagnu7.test: Check if runtest supports --status.
172 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
174 * lib/Automake/Location.pm (dump): Output 'INTERNAL' when position
177 * lib/Automake/DisjConditions.pm (human): Fix infinite loop when
178 $self contains only one Condition.
180 * automake.in: Use plain strict, including refs.
181 (macro_define, handle_single_transform_list): Use \&{'name'} to
182 build references to named subroutines.
184 2003-05-22 Karl Berry <karl@gnu.org>
186 * automake.texi: Update @dircategory to match the Free Software
187 Directory. End directory entries with dots.
189 2003-05-22 Alexandre Duret-Lutz <adl@gnu.org>
191 * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/.
193 * lib/elisp-comp: s/François/Franc,ois/.
194 Suggested by Paul Eggert.
196 * automake.in: Move the "main" code at the end.
197 (parse_arguments): Move near the end.
198 ($KNOWN_EXTENSIONS_PATTERN, @known_extensions_list,
199 accept_extensions, var_SUFFIXES_trigger): Move these definitions
200 before any call to register_language.
201 (am_file): Move the definition with all other global variables,
202 do not use local to define it.
203 * Makefile.am (maintainer-check): Expect no `local' in Automake.
205 2003-05-21 Alexandre Duret-Lutz <adl@gnu.org>
207 * lib/Automake/Wrap.pm, lib/Automake/tests/Wrap.pl: New files.
208 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Wrap.pm.
209 * lib/Automake/tests/Makefile.am (TESTS): Add Wrap.pl.
210 * automake.in (handle_texinfo_helper, pretty_print_rule)
211 (variable_output): Adjust to use makefile_wrap instead of
212 pretty_print_internal.
213 (pretty_print_internal): Remove. Renamed as Automake::Wrap::wrap
214 and augmented to accept the $eol and $max_len arguments.
216 2003-05-18 Alexandre Duret-Lutz <adl@gnu.org>
218 * lib/Autom4te/XFile.pm, lib/config.guess, lib/config.sub,
219 lib/texinfo.tex: New upstream versions.
221 2003-05-17 Alexandre Duret-Lutz <adl@gnu.org>
223 * lib/am/install.am (install, install-exec, install-data, uninstall):
224 Declare conditionally using a if/else/endif block instead of
225 using ?SUBDIRS?-style conditions. The latter fail when
226 %maybe_BUILT_SOURCES% is replaced by several lines.
227 This fixes a bug introduced on 2003-04-06.
228 * tests/bsource.test: New file.
229 * tests/Makefile.am (TESTS): Add bsource.test.
230 Reported by Bruno Haible.
232 2003-05-11 Alexandre Duret-Lutz <adl@gnu.org>
234 * automake.texi (renamed objects): New node.
235 (Program and Library Variables): Move maude_DEPENDENCIES closer
236 to maude_LDADD. Define and use `per-target compilation flags' in the
237 explanation for maude_CFLAGS et al. Link to the `renamed objects'
238 node. Illustrate maude_SHORTNAME.
240 2003-05-09 Alexandre Duret-Lutz <adl@gnu.org>
242 * lib/install-sh: Update copyright notice and license to that of
243 X11R6. This removes an advertising clause reported as Debian bug
246 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
248 * configure.in (ACLOCAL): Do not use -I, --acdir is enough.
250 * m4/make.m4: Rename the doit target as am__doit,
252 Reported by Philip S Tellis.
254 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
256 * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit
258 * tests/makej.test: New file (test Autom4te's cache locking,
259 new in CVS Autoconf).
260 * tests/Makefile.am (TESTS): Add makej.test.
262 2003-05-06 Alexandre Duret-Lutz <adl@gnu.org>
264 * lib/Automake/General.pm (contents): New function.
265 * aclocal.in (greatest_mtime, force_output): New globals.
266 (scan_configure, add_file): Update $greatest_mtime.
267 (parse_arguments): Parse --force.
268 (write_aclocal): Do not overwrite $output_file unless needed.
269 * automake.texi (aclocal options): Document --force.
270 * tests/aclocal7.test: New file.
271 * tests/Makefile.am (TESTS): Add aclocal7.test.
273 2003-05-05 Alexandre Duret-Lutz <adl@gnu.org>
275 * automake.texi (Optional): Document m4_include.
276 (Invoking aclocal): Shake a bit to introduce the various uses
277 of aclocal and explain that aclocal will use m4_include for
279 (Extending aclocal): Show how to install installable macros
280 in $(datadir)/aclocal, and make it clearer that writing installable
281 macros is not the only way to extend aclocal.
282 (Local Macros, Future of aclocal): New sections.
284 2003-04-27 Alexandre Duret-Lutz <adl@gnu.org>
286 * automake.in (@common_files): Remove acinclude.m4 since
287 it will be m4_included by aclocal.m4 and files are always
289 (scan_aclocal_m4): Do not bother about acinclude.m4 anymore.
290 We will get this dependency when tracing m4_includes.
291 * tests/aclocal6.test: Make sure acinclude.m4 is distributed
293 * tests/acinclude.test: Delete.
294 * tests/Makefile.am (TESTS): Remove acinclude.test.
296 2003-04-25 Alexandre Duret-Lutz <adl@gnu.org>
298 * automake.in (handle_configure): Don't add @configure_deps to
299 DIST_COMMON, we do this from lib/am/configure.am now.
300 Define the am__configure_deps variable instead of substituing
302 * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure,
303 $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%.
304 (DIST_COMMON): Add $(am__configure_deps).
306 * tests/aclocal6.test: New file.
307 * lib/am/configure.am (am--refresh): New rule.
308 (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status,
309 $(top_srcdir)/configure): Call the top-level am--refresh from
311 ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%. Call the
312 top-level am--refresh when not in the top-level directory.
313 Fix jump directories for VPATH builds.
314 Suggested by Raja R. Harinath.
316 2003-04-24 Alexandre Duret-Lutz <adl@gnu.org>
318 * automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS
319 and glob for m4_files (We've got all local m4 files while
320 tracing m4_include's). Diagnose ACLOCAL_M4_SOURCES as obsolete.
321 Distribute aclocal.m4 only at the top-level.
322 (my_glob): Remove. This fixes PR automake/11.
323 (handle_dist): Strip leading `./' from directories.
324 * aclocal.in (add_file): Output 'm4_include([file.m4])' instead
325 of copying local files.
326 (write_aclocal, parse_arguments): Bump copyright date.
327 * configure.in: De not build m4/amversion.m4 from here ...
328 * m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here.
329 (nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead
331 * tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test.
332 (TESTS): Remove aclocal2.test. Do not test aclocal.test twice.
333 * tests/aclocal2.test: Delete (pointless).
334 * tests/aclocal5.test: Make sure configure's dependencies are
336 * tests/acinclude.test: Adjust to search for m4_include.
337 * tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep
338 configure instead of aclocal.m4.
341 * automake.in (scan_aclocal_m4): Work in all directories, not only
342 the top-level. Prepend $(top_srcdir) in front of each aclocal.m4
344 * lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)):
345 Define rebuild rules in each directory.
346 * tests/subdir8.test: Augment to exercise aclocal.m4's dependencies
347 from the top-level directory.
348 * tests/aclocal5.test: New file. Exercise aclocal.m4's dependencies
350 * tests/Makefile.am (TESTS): Add aclocal5.test.
351 (XFAIL_TESTS): Replace subdir8.test by aclocal5.test.
353 2003-04-24 Akim Demaille <akim@epita.fr>
354 Alexandre Duret-Lutz <adl@gnu.org>
357 * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt
358 because of one of configure's dependencies, run automake without
359 argument to update the whole tree at once. Depend upon
361 (%MAKEFILE%): If Makefile is rebuilt because config.status has
362 been updated, run config.status without arguments.
363 * automake.in (scan_autoconf_traces): Prepend $(top_srcdir)
364 before all files in @configure_deps.
365 * tests/subdir5.test: Modernize configure.in, make sure
366 maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%.
367 * tests/subdir8.test: New file.
368 * tests/Makefile.am (TESTS): Add subdir8.test.
369 (XFAIL_TESTS): Replace subdir5.test by subdir8.test.
371 2003-04-23 Alexandre Duret-Lutz <adl@gnu.org>
373 * automake.texi (Requirements): Typo in index
374 s/AC_CONFIG_FILE/AC_CONFIG_FILES/.
376 * lib/texinfo.tex: New upstream version.
378 2003-04-21 Jim Meyering <jim@meyering.net>
380 * lib/mkinstalldirs: Remove each sequence of spaces before a
382 * lib/depcomp: Search for TAB-SPC, not SPC-TAB.
384 2003-04-19 Alexandre Duret-Lutz <adl@gnu.org>
386 Fix for PR automake/389:
387 * automake.in (handle_configure): Don't put $colon_infile in
389 * tests/conff.test: New file.
390 * tests/Makefile.am (TESTS): Add conff.test.
391 Reported by Alexander Turbov.
393 2003-04-18 Alexandre Duret-Lutz <adl@gnu.org>
395 * tests/defs.in: Handle required=etags to work around
398 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
401 * tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test:
402 Distribute dejagnu test cases, so that distcheck actually runs them.
404 2003-04-18 Richard Dawe <rich@phekda.freeserve.co.uk>
406 * lib/am/dejagnu.am (site.exp): Don't define tool in site.exp,
407 because we set that by invoking runtest with --tool.
408 * tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test,
409 dejagnu6.test, dejagnu7.test.
410 * tests/dejagnu4.test: New test.
411 * tests/dejagnu5.test: New test.
412 * tests/dejagnu6.test: New test.
413 * tests/dejagnu7.test: New test.
415 * tests/dejagnu3.test: Make sure the DejaGnu test is actually run.
417 2003-04-18 Jim Meyering <jim@meyering.net>
419 * automake.in (variable_output): Fix typo in comment s/is/if/.
421 * lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect
422 directly to $@. Instead, redirect to $@t and rename upon success.
423 Also, move the commands that update $@ so they are last. Otherwise,
424 this rule could leave the user with an up to date target (.c file)
425 but with a missing or corrupted corresponding .h file.
427 2003-04-17 Richard Dawe <rich@phekda.freeserve.co.uk>
429 * tests/defs.in: Handle required=runtest, to detect runtest
431 * tests/Makefile.am (TESTS): Add dejagnu3.test.
432 * tests/dejagnu3.test: New test.
434 2003-04-16 Alexandre Duret-Lutz <adl@gnu.org>
436 * automake.in (rule_define): If the user tries to override
437 an Automake which has a -local variant, suggest using the
438 -local variant in the -Woverride diagnostic.
439 (handle_factored_dependencies): Register factored
440 rules with rule_define, and define them only in undefined
442 * tests/Makefile.am (TESTS): Add override.test.
443 * tests/overrid.test: New file.
444 * tests/phony.test: Count the number of .PHONY targets.
446 2003-04-15 Alexandre Duret-Lutz <adl@gnu.org>
448 * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silence
449 these rules, so that we don't confuse users by echoing
450 "echo ERROR:" commands which are not run.
452 2003-03-14 Richard Dawe <rich@phekda.freeserve.co.uk>
453 Alexandre Duret-Lutz <adl@gnu.org>
455 * automake.in (output_texinfo_build_rules, handle_texinfo_helper,
456 initialize_per_input): Add infrastructure for generating HTML
457 documentation from texinfo source.
458 * lib/am/texinfos.am: Add rules for building HTML documentation
460 * lib/am/texibuild.am: Likewise.
461 * automake.texi (Texinfo): Document rules for building
462 HTML documentation from texinfo source.
463 * tests/txinfo21.test: New file.
464 * tests/Makefile.am (TESTS): Add txinfo21.test.
465 * tests/defs.in: Handle required=makeinfo-html.
467 2003-04-14 Alexandre Duret-Lutz <adl@gnu.org>
469 * automake.in (%silent_variable_override): New variable.
470 (macro_define): Warn about variable definitions overriding
472 (rule_define): Warn about target definitions overriding
473 Automake variables. Fix $condmsg definition.
474 * automake.texi (Invoking Automake): Document the `override'
476 * lib/Automake/ChannelDefs.pm (usage): Likewise.
477 * lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define,
478 this is already done in m4/init.m4.
479 * tests/dejagnu2.test: Run $MAKE, don't only grep. Use
480 -Wno-override, and make sure we get a warning without.
481 * tests/exeext2.test, tests/substtarg.test: Use -Wno-override,
482 and make sure we get a warning without.
483 * tests/exeext3.test, tests/java2.test, tests/nolink.test,
484 tests/subpkg.test, tests/vartest.test: Use -Wno-override.
485 * tests/txinfo13.test: Use installcheck-local instead of overriding
487 * tests/txinfo2.test: Run $MAKE on the real Makefile (this test
488 used to succeed thanks to a failure...)
489 * tests/location.test: Adjust expected messages.
490 * tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test.
492 2003-04-12 Raja R Harinath <harinath@acm.org>
494 * lib/Automake/DisjConditions.pm (true): Don't cache answer.
495 (invert): Update comment.
497 (simplify): Implement using invert().
498 * lib/Automake/tests/DisjConditions.pl (test_simplify):
499 Update to reflect changes.
501 2003-04-12 Alexandre Duret-Lutz <adl@gnu.org>
503 * automake.in (scan_autoconf_files): Augment the error message
504 about AM_INIT_AUTOMAKE not found.
505 Suggested by Bruno Haible.
507 * lib/Automake/Version.pm: New file.
508 * lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm.
509 * lib/Automake/tests/Version.pl: New file.
510 * lib/Automake/tests/Makefile.am (TESTS): Add Version.pl.
511 * tests/Makefile.am (TESTS): Remove version5.test.
512 * tests/version5.test: Delete. Move the tests to Version.pl.
513 * automake.in (version_split, version_compare, version_check): Move ...
514 * lib/Automake/Version.pm (split, compare, check): ... here.
516 2003-04-11 Alexandre Duret-Lutz <adl@gnu.org>
518 * lib/Automake/tests/Condition.pl (test_reduce_and)
519 (test_reduce_or): Cosmetics.
520 * lib/Automake/tests/DisjConditions.pl (test_sub_conditions):
522 * lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...>
524 * tests/yacc8.test, configure.in: Update copyright year.
526 2003-04-10 Richard Dawe <rich@phekda.freeserve.co.uk>
528 * configure.in: Get the build platform name. Define
529 MODIFICATION_DELAY as the time to wait after modifying a file,
530 to cope with timestamp granularity issues, depending
532 * tests/defs.in: Define `sleep' using MODIFICATION_DELAY.
534 2003-04-10 Eric Siegerman <eric_97@pobox.com> (tiny change)
536 * automake.texi (Public macros): Clarify that the new
537 AM_INIT_AUTOMAKE variant is preferred, and the old one
538 deprecated. Copy-edit the rest of the AM_INIT_AUTOMAKE item.
539 (Hello): Caution that the example uses the deprecated
540 AC_INIT/AM_INIT_AUTOMAKE syntax, and xref to the discussion.
542 2003-04-10 Alexandre Duret-Lutz <adl@gnu.org>
544 Retain all variable definitions until the whole Makefile.am has
545 been processed, then output all variables in one step, at the top
546 of Makefile.in. (Older revisions used to output user variables
547 before generating Automake targets, and to mix Automake variables
548 with Automake targets, preventing redefinitions of previously
551 * automake.in (%var_pretty): New variable.
552 (VAR_ASIS, VAR_PRETTY): New constants.
553 (@var_list): Rename as ...
554 (@var_order): ... this.
555 (initialize_per_input): Clear %var_pretty.
556 (handle_variables): New function, extracted from ...
557 (read_main_am_file): ... here.
558 (generate_makefile): Call handle_variable after everything else.
559 (handle_dist): Use define_pretty_variable, not pretty_print.
560 (pretty_print): Delete.
561 (macro_define): Augment with $COMMENT and $PRETTY parameters.
562 Update %var_comment, %var_pretty, and @var_order. Adjust callers.
563 (variable_pretty_output): Merge with ...
564 (variable_output): ... this, and choose the prettiness on a
566 (append_comments): Delete. This work is now done by macro_define.
567 (read_am_file, file_contents_internal): Don't call append_comments
568 nor update @var_list, adjust calls to macro_define.
569 (handle_subdirs): Don't explicitly output RECURSIVE_TARGETS,
570 just mark it as VAR_PRETTY.
571 * tests/exeext.test: Make sure bin_PROGRAMS is output only once.
572 Report from Jim Meyering.
574 2003-04-06 Alexandre Duret-Lutz <adl@gnu.org>
576 * automake.in (handle_installdirs): Rename as ...
577 (handle_install): ... this. Define maybe_BUILT_SOURCES.
578 (generate_makefile): Adjust call to handle_install.
579 * lib/am/install.am (install): Use %maybe_BUILT_SOURCES%.
580 * automake.texi (Sources, Built sources example): BUILT_SOURCES
581 is honored by `make install' too.
582 * tests/check3.test: Make sure that `make install' also depends
584 Report from Alexander Turbov.
586 * lib/am/libs.am (ARFLAGS): Define.
587 * automake.in (handle_libraries): Use `$(ARFLAGS)' instead of
589 * automake.texi (A Library): Explain how AR, ARFLAGS and RANLIB
590 are used, and how they can be overridden.
591 (Program and Library Variables): Adjust to show `$(ARFLAGS)'
593 * tests/ar.test: Rewrite to test for AR, ARFLAGS, and RANLIB.
594 * tests/ranlib.test: Delete, obsoleted by ar.test.
595 * tests/Makefile.am (TESTS): Remove ranlib.test.
596 Report from Paul Thomas.
598 2003-04-03 Alexandre Duret-Lutz <adl@gnu.org>
600 * automake.in (check_trailing_slash): New function (variation on
601 a patch by Peter Muir). Diagnose whitespaces following trailing
603 (read_am_file): Use it.
604 * tests/backsl4.test: New file.
605 * tests/Makefile.am (TESTS): Add backsl4.test.
606 Reported by Peter Muir.
608 2003-03-29 Raja R Harinath <harinath@acm.org>
610 Speedup Automake::DisjConditions::invert().
611 * lib/Automake/Condition.pm (multiply): New.
612 * lib/Automake/DisjConditions.pm (_multiply): Use it.
613 (sub_conditions): Likewise.
615 * lib/Automake/Condition.pm (reduce): Rename to ...
616 (reduce_and): ... this.
618 * lib/Automake/DisjConditions.pm (_multiply): Use reduce_or().
619 * lib/Automake/tests/Condition.pl (test_reduce): Rename to ...
620 (test_reduce_and): ... this.
621 (test_reduce_or): New.
622 * lib/Automake/tests/DisjConditions.pl
623 (test_invert): Update to reflect effect of reduce_or().
624 (test_simplify): Don't skip invert() on larger inputs.
626 2003-03-29 Raja R Harinath <harinath@cs.umn.edu>
628 * tests/yacc8.test: Add a $sleep before modifying Makefile.am so
629 that timestamp will change.
631 2003-03-23 Akim Demaille <akim@epita.fr>
632 Alexandre Duret-Lutz <adl@gnu.org>
634 * lib/am/tags.am (TAGS): Use --etags-include instead of --include,
635 when supported by etags (Exuberant Ctags).
636 * tests/tagsub.test: Rewrite to _run_ the `tags' rule.
638 2003-03-20 Alexandre Duret-Lutz <adl@gnu.org>
640 For Debian Bug #185388:
641 * automake.texi (Extending): Augment the install-exec-hook
642 discussion with an example how to symlink a versioned binary.
643 * tests/insthook.test: Rewrite to test the above example.
644 Report from James R. Van Zandt.
646 2003-03-19 Alexandre Duret-Lutz <adl@gnu.org>
648 * Makefile.am (maintainer-check): Allow `automake:' tokens,
649 occuring in location.test. Automake now has 5 legitimate
650 unsubstituted @strings@.
652 * tests/aclocal4.test: Require GNU make.
654 2003-03-14 Alexandre Duret-Lutz <adl@gnu.org>
656 * tests/aclocal4.test: New file. Test for the ACLOCAL_M4 bug below.
657 * tests/Makefile.am (TESTS): Add aclocal4.test.
659 2003-03-14 Jim Meyering <jim@meyering.net>
661 * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
662 subdirectories. Makefile.in depends on that variable.
664 2003-03-13 Alexandre Duret-Lutz <adl@gnu.org>
666 * m4/init.m4: Remove a leftover comment from the pre-1.7 era.
668 Fix for PR automake/386:
669 * m4/init.m4: Require Autoconf 2.55.
670 Reported by Owen Taylor.
672 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
673 (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode.
674 Suggested by Matthias Andree.
676 * tests/README: Typo.
678 2003-03-08 Alexandre Duret-Lutz <adl@gnu.org>
680 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
681 (?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP.
682 Just echo the gcc command.
683 Suggested by Karl Berry.
685 2003-03-06 Alexandre Duret-Lutz <adl@gnu.org>
687 * lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use
688 `test -f foo || echo $(srcdir)/` to emulate a VPATH search when
689 outputing suffix rules. This follows 2003-02-25's change.
690 * lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
691 * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise.
693 2003-03-05 Alexandre Duret-Lutz <adl@gnu.org>
695 * automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed
696 with AC_CONFIG_FILES are cleaned by `make distclean'. Don't
698 Reported by Rafael Laboissiere.
700 2003-03-04 Andreas Buening <andreas.buening@nexgo.de>
702 * lib/mdate-sh: Find out which column of the ls -l output contains
703 the month. Do not assume it is at least the fifth column.
705 2003-02-26 Alexandre Duret-Lutz <adl@gnu.org>
707 * automake.texi (Emacs Lisp): Mention that `dist_' can be used.
709 * automake.texi (Emacs Lisp): Instruct people to use lisp_DATA
710 instead of lisp_LISP when they don't want byte-compilation.
711 Don't mention ELCFILES anymore.
712 * automake.in (handle_data): Allow lisp_DATA.
713 * tests/lisp5.test: New file.
714 * tests/Makefile.am (TESTS): Add lisp5.test.
716 * automake.in (handle_emacs_lisp): Don't build *.elc files
717 if ELCFILES was set empty.
718 * tests/lisp4.test: New file.
719 * tests/Makefile.am (TESTS): Add lisp4.test.
720 Reported by Simon Josefsson.
722 * tests/lex3.test, tests/lex5.test: Require flex.
723 Reported by Leo Davis.
725 2003-02-25 Alexandre Duret-Lutz <adl@gnu.org>
727 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not
728 use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search
729 when outputing suffix rules.
730 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi)
731 (?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise.
732 Suggested by Bruno Haible.
734 * automake.in (read_am_file): Catch trailing backslashes on last line.
735 * tests/backsl3.test: New file.
736 * tests/Makefile.am (TESTS): Add backsl3.test.
737 Reported by Akim Demaille.
739 2003-02-24 Alexandre Duret-Lutz <adl@gnu.org>
741 * ChangeLog: Move 2002's entries to ...
742 * ChangeLog.02: ... this new file.
743 * Makefile.am (EXTRA_DIST): Add ChangeLog.02.
745 2003-02-24 Richard Dawe <rich@phekda.freeserve.co.uk>
747 * tests/version7.test: Use $sleep to sleep before updating
748 the version, to work around timestamp inconsistencies in Windows.
750 2003-02-24 Bruno Haible <bruno@clisp.org>
751 Alexandre Duret-Lutz <adl@gnu.org>
753 * lib/am/texibuild.am: Don't remove the target info files. Instead,
754 back up and restore them if makeinfo fails.
755 * tests/txinfo20.test: New file.
756 * tests/Makefile.am (TESTS): Add txinfo20.test.
758 2003-02-23 Alexandre Duret-Lutz <adl@gnu.org>
760 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
761 (distcleancheck): Fix typos and other errors reported by Karl
764 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
766 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...)
769 * tests/defs.in: Handle required=ro-dir.
770 * tests/destdir.test: Use this.
772 2003-02-19 Richard Dawe <rich@phekda.freeserve.co.uk>
774 * lib/am/distdir.am (distcheck): Strip any leading DOS drive
775 from dc_install_base.
777 2003-02-19 Alexandre Duret-Lutz <adl@gnu.org>
779 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install
780 DJGPP-style *.iNN info files.
781 (maintainer-clean-aminfo): Rewrite using the same pattern
782 as in uninstall-info-am.
783 * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase
784 DJGPP-style *.iNN info files before running $(MAKEINFO).
785 * tests/txinfo19.test: New file.
786 * tests/Makefile.am (TESTS): Add txinfo19.test.
788 2003-02-18 Richard Dawe <rich@phekda.freeserve.co.uk>
790 * lib/depcomp (dashmstdout): Cope with DOS filenames in
793 2003-02-17 Alexandre Duret-Lutz <adl@gnu.org>
795 * lib/depcomp (makedepend): Don't pass $object to makedepend.
796 Reported by Stepan Kasal.
798 2003-02-12 Alexandre Duret-Lutz <adl@gnu.org>
800 * tests/defs.in: Handle required=makedepend.
802 * Makefile.am (maintainer-check): Update the diff check
803 to account for the recent @SHELL@ substitution.
805 2003-02-11 Alexandre Duret-Lutz <adl@gnu.org>
807 * lib/depcomp: Do not put comments on the `icc)' line.
809 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
812 Fix for PR automake/381:
813 * automake.in (handle_gettext): Do not print diagnostics
814 about po/ and intl/ missing from SUBDIRS if po/ does not
815 exist. Warn if `SUBDIRS = intl' is used although libintl
817 * tests/gettext.test: Make sure diagnostics are not output
818 when po/ does not exist.
819 * tests/gettext2.test: Test for unwanted intl/.
820 PR from Alexander Turbov, fix suggested by Bruno Haible.
822 * m4/depend.m4: Grep depcomp's stderr for icc warnings about
824 * lib/depcomp (icc): New mode.
825 * tests/depcomp5.test: New file.
826 * tests/defs.in: Handle required=icc.
827 * tests/Makefile.am (TESTS): Add it.
829 Temporary hack for PR automake/381:
830 * automake.in (handle_gettext): Turn missing po/ and intl/ errors
831 into -Wsyntax warnings.
833 2003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk>
835 * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in.
836 This makes the setting of SHELL work for DJGPP.
838 2003-02-10 Alexandre Duret-Lutz <adl@gnu.org>
841 * lib/depcomp (makedepend): Strip any libtool call, before
843 * tests/depcomp4.test: New file.
844 * tests/Makefile.am (TESTS): Add it.
845 Reported by Jeff Squyres.
847 Related to PR automake/385:
848 * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will
849 write dependencies to /dev/null. `-o /dev/null' was added
850 on 2002-06-13 just because I tried to replace `-o foo.o' by something
851 else and didn't thought about removing it entirely.
852 * tests/depcomp3.test: New file.
853 * tests/Makefile.am (TESTS): Add it.
855 * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's
857 Suggested by Richard Dawe.
859 2003-02-09 Alexandre Duret-Lutz <adl@gnu.org>
861 * automake.texi (FAQ, CVS, maintainer-mode, wildcards)
862 (distcleancheck): New nodes.
864 2003-02-06 Alexandre Duret-Lutz <adl@gnu.org>
866 * automake.in (scan_autoconf_files): Don't complain that
867 AM_INIT_AUTOMAKE comes from an old version if it was not found.
869 2003-02-05 Alexandre Duret-Lutz <adl@gnu.org>
871 * automake.in (am_install_var): Simplify filtering of
872 variable_loc_and_value_as_list_recursive's output.
874 2003-02-04 Alexandre Duret-Lutz <adl@gnu.org>
876 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute
877 indexes of header files so we create stamp files with
878 the right numbers when config.status is run on some headers.
879 * tests/stamph2.test: Check for this.
880 Reported by Sander Niemeijer.
882 2003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
884 * automake.in (vars_scanned): Move near traverse_variable_recursively.
885 (traverse_variable_recursively,
886 traverse_variable_recursively_worker): Accept a $COND_FILTER argument
887 to filter out conditions during recursion. Don't recurse into
888 undefined variables. Don't pass empty results to &FUN_COLLECT.
889 (value_to_list): Remove, was used by
890 variable_value_as_list_recursive_worker only.
891 (variable_value_as_list_recursive_worker): Rewrite using
892 traverse_variable_recursively. Remove the $parent argument.
893 (variable_value_as_list_recursive,
894 variable_loc_and_value_as_list_recursive): Adjust calls
895 to variable_value_as_list_recursive_worker. Don't reset
897 * tests/cond3.test: Don't expect empty helper variables,
898 we don't output them anymore.
899 * tests/cond30.test: Use an undefined variable.
901 * automake.in (handle_programs): Strip $(EXEEXT) before
902 calling &check_canonical_spelling.
903 * tests/exeext.test: Make sure we don't use a
904 maude3__EXEEXT__OBJECTS variable.
906 2003-02-02 Jeremy Nimmer <jwnimmer@alum.mit.edu> (tiny change)
908 For Debian Bug #39542:
909 * automake.texi (Invoking Automake, Optional): Document how
910 AC_CONFIG_AUX_DIR interacts with missing files.
912 2003-02-02 Alexandre Duret-Lutz <adl@gnu.org>
914 * lib/Automake/DisjConditions.pm (_permutations_worker)
915 (permutations): Remove, so that people aren't tempted to use it.
916 * lib/Automake/tests/DisjConditions.pl (tests_permutations): Remove.
918 * automake.in (variable_conditions_recursive): Remove.
919 (variable_conditionally_defined): Rewrite using
920 traverse_variable_recursively.
922 * automake.in (traverse_variable_recursively,
923 traverse_variable_recursively_worker): Pass one merged Condition
924 instead of a stack of conditions to &FUN_STORE and &FUN_COLLECT.
925 (transform_variable_recursively, define_objects_from_sources)
926 (handle_lib_objects, variable_conditions_recursive): Adjust usage.
928 2003-02-01 Alexandre Duret-Lutz <adl@gnu.org>
930 * automake.in (handle_lib_objects): Compute _DEPENDENCIES variables
931 using transform_variable_recursively instead of
932 variable_conditions_recursive and variable_value_as_list_recursive
933 to avoid combinatorial explosion.
934 (handle_lib_objects_cond): Merge into handle_lib_objects.
935 * tests/cond11.test: Don't grep internal details in Makefile.in,
936 run $MAKE to make sure the resulting Makefile runs as expected.
937 * tests/cond29.test: Also exercise conditional _LDADD.
938 * tests/cond31.test, tests/cond32.test: New files.
939 * tests/Makefile.am (TESTS): Add tests/cond31.test and
942 2003-01-31 Alexandre Duret-Lutz <adl@gnu.org>
944 * automake.in (handle_lib_objects_cond): Ignore -dlopen and
945 -dlpreopen in _LIBADD variables too.
946 (handle_LIBOBJS, handle_ALLOCA): New functions, extracted from
947 handle_lib_objects_cond.
948 * tests/libtool7.test: New file.
949 * tests/Makefile.am (TESTS): Add libtool7.test.
951 * automake.texi (Program and Library Variables): Clarify that
952 _LIBADD is for libraries and _LDADD for programs.
954 * automake.in (handle_source_transform): Correct typo from 2003-01-23.
956 2003-01-28 Alexandre Duret-Lutz <adl@gnu.org>
958 Fix for PR automake/352:
959 * automake.in (transform_variable_recursively): If the destination
960 and the source variables are the same, delete the source variable
961 before defining the destination variable.
962 (handle_programs): Strip any $(EXEEXT) suffix from $one_file,
963 or this will confuse handle_source_transform.
964 (append_exeext): Rewrite using transform_variable_recursively.
965 * tests/cond29.test, tests/cond30.test: New files.
966 * tests/exeext.test: Run ./configure and make, this uncovered
967 the above handle_programs issue.
968 * tests/Makefile.am (TESTS): Add cond29.test and cond20.test.
970 * automake.in (%subobjvar): Replace by ...
971 (%gen_varname): ... this.
972 (subobjname): Replace by ...
973 (gen_varname): ... this.
974 (initialize_per_input): Clean gen_varname instead of subobjname.
975 (transform_variable_recursively): New function, extracted
976 from define_objects_from_sources.
977 (define_objects_from_sources): Use transform_variable_recursively.
978 Remove the unused $parent argument.
979 (handle_source_transform): Adjust call to define_objects_from_sources.
981 2003-01-23 Alexandre Duret-Lutz <adl@gnu.org>
983 * automake.in (@substfroms, @substtos): Move near
984 traverse_variable_recursively.
985 (traverse_variable_recursively, traverse_variable_recursively_worker):
986 New functions, extracted from define_objects_from_sources.
987 (define_objects_from_sources): Rewrite using
988 traverse_variable_recursively.
989 (handle_source_transform): Use variables_conditionally_defined
990 instead of calling variable_conditions_recursive directly.
991 Adjust the call to define_objects_from_sources; there is no need
992 to reset @substtos, @substfroms, and %vars_scanned now.
993 (variable_conditions_recursive): Rewrite using
994 traverse_variable_recursively.
995 (variable_conditions_recursive_sub): Remove.
996 (variable_conditionally_defined): Fix condition comparison (the
997 consequence was that DIST_SUBDIRS was always output).
998 * lib/Automake/Condition.pm (merge): Allow merging several
1001 2003-01-22 Alexandre Duret-Lutz <adl@gnu.org>
1003 * automake.texi (Python): Explain that directory variables start
1004 with either ${prefix} or ${exec_prefix}, and point to the
1005 `Installation Directory Variables' section of the Autoconf manual.
1007 2003-01-21 Alexandre Duret-Lutz <adl@gnu.org>
1009 * lib/am/distdir.am (top_distdir, distdir): Define these
1010 variables only in top level Makefile. Redefine $(top_distdir)
1012 (distdir): Fix passing of $(top_distdir) to sub-makes.
1013 * automake.in (handle_dist): Do not define the DISTDIR and
1014 TOP_DISTDIR transformations. We don't need them anymore.
1015 * automake.texi (Dist): Reorder the dist-hook section, and move
1016 the DIST_SUBDIRS paragraph earlier. Document distdir and
1018 * tests/subpkg.test: Update to check for $(distdir) and
1021 2003-01-19 Alexandre Duret-Lutz <adl@gnu.org>
1023 Rename more files to accomodate 8+3 file systems, and adjust the
1024 vocabulary at the same time: AM_CONDITIONAL defines "conditionals",
1025 and we call "condition" a conjunction of "conditionals".
1026 * lib/am/Conditional.pm: Rename to lib/am/Condition.pm.
1027 * lib/am/tests/Conditional.pl: Rename to lib/am/tests/Condition.pl.
1028 * lib/am/ConditionalSet.pm: Rename to lib/am/DisjConditions.pm.
1029 * lib/am/tests/ConditionalSet.pl: Rename to
1030 lib/am/tests/DisjConditions.pl
1031 * lib/am/Conditional.pm (condition_negate): Rename to ...
1032 * lib/am/Condition.pm (conditional_negate): ... this.
1033 * automake.in: Adjust references to Condition and DisjConditions.
1034 (check_ambiguous_conditional, conditional_ambiguous_p): Rename to ...
1035 (check_ambiguous_condition, condition_ambiguous_p): ... these.
1037 * tests/README: New file.
1039 * automake.texi (Conditional Programs): Show a sample Makefile.am.
1040 Remind $(EXEEXT) must be appended to configure substitutions.
1041 Show how Automake conditionals can be used instead.
1042 * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also
1043 appended to conditionally defined programs.
1045 2003-01-16 Jim Meyering <jim@meyering.net>
1047 Accept --help and --version, and lots of syntactic clean-up.
1048 * lib/install-sh: Use consistent indentation, two spaces per level.
1049 (scriptversion): New variable.
1050 Change initializations like `variable=""' to `variable='.
1051 (usage): New variable.
1052 Use `test', not `['.
1053 Use `test -z "$var"', not `[ x"$var" = x ]'.
1054 Use `test -n "$var"', not `[ x"$var" != x ]'.
1055 Alphabetize case entries.
1056 Accept --help and --version options.
1057 Remove unnecessary `else :' clauses.
1058 Add a `Local variables' eval block to help emacs users update
1059 the time-stamp variable added above.
1060 Mostly from Karl Berry.
1062 2003-01-16 Alexandre Duret-Lutz <adl@gnu.org>
1064 * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add
1067 * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir'
1068 or `pyexecdir', for the sake of 64-bit distributions that usually
1069 use lib64/ instead of lib/. Fall back to the default directory
1071 Suggested by Gwenole Beauchesne.
1073 2003-01-14 Alexandre Duret-Lutz <adl@gnu.org>
1075 For PR automake/382:
1076 * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'.
1077 Explain BUILT_SOURCES is usually needed in this case.
1078 Reported by William S Fulton.
1080 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
1082 Rename some files for the sake of 8+3 file systems.
1083 * tests/aclocali.test: Rename to tests/aclocal.test.
1084 * tests/aclocali1.test: Rename to tests/aclocal2.test.
1085 * tests/aclocalii.test: Rename to tests/aclocal3.test.
1086 * tests/acoutput.test: Rename to tests/acoutpt.test.
1087 * tests/acoutput2.test: Rename to tests/acoutpt2.test.
1088 * tests/acouttbs.test: Rename to tests/acoutbs.test.
1089 * tests/acouttbs2.test: Rename to tests/acoutbs2.test.
1090 * tests/autoheader.test: Rename to tests/autohdr.test.
1091 * tests/autoheader2.test: Rename to tests/autohdr2.test.
1092 * tests/condincl.test: Rename to tests/condinc.test.
1093 * tests/condincl2.test: Rename to tests/condinc2.test.
1094 * tests/distcommon.test: Rename to tests/distcom.test.
1095 * tests/distcommon2.test: Rename to tests/distcom2.test.
1096 * tests/distcommon3.test: Rename to tests/distcom3.test.
1097 * tests/installsh.test: Rename to tests/instsh.test.
1098 * tests/installsh2.test: Rename to tests/instsh2.test.
1099 * tests/instdata.test: Rename to tests/instdat.test.
1100 * tests/instdata2.test: Rename to tests/instdat2.test.
1101 * tests/libobj12b.test: Rename to tests/libobj13.test.
1102 * tests/link_f_c.test: Rename to tests/link_fc.test.
1103 * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test.
1104 * tests/link_f_cxx.test: Rename to tests/link_fcxx.test.
1105 * tests/nodefine.test: Rename to tests/nodef.test.
1106 * tests/nodefine2.test: Rename to tests/nodef2.test.
1107 * tests/required.test: Rename to tests/reqd.test.
1108 * tests/required2.test: Rename to tests/reqd2.test.
1109 * tests/sourcesub.test: Rename to tests/srcsub.test.
1110 * tests/sourcesub2.test: Rename to tests/srcsub2.test.
1111 * tests/specflags.test: Rename to tests/specflg.test.
1112 * tests/specflags2.test: Rename to tests/specflg2.test.
1113 * tests/specflags3.test: Rename to tests/specflg3.test.
1114 * tests/specflags6.test: Rename to tests/specflg6.test.
1115 * tests/specflags7.test: Rename to tests/specflg7.test.
1116 * tests/specflags8.test: Rename to tests/specflg8.test.
1117 * tests/specflags9.test: Rename to tests/specflg9.test.
1118 * tests/subdircond.test: Rename to tests/subcond.test.
1119 * tests/subdircond2.test: Rename to tests/subcond2.test.
1120 * tests/subdircond3.test: Rename to tests/subcond3.test.
1121 * tests/texinfo.test: Rename to tests/txinfo.test.
1122 * tests/texinfo2.test: Rename to tests/txinfo2.test.
1123 * tests/texinfo3.test: Rename to tests/txinfo3.test.
1124 * tests/texinfo4.test: Rename to tests/txinfo4.test.
1125 * tests/texinfo5.test: Rename to tests/txinfo5.test.
1126 * tests/texinfo6.test: Rename to tests/txinfo6.test.
1127 * tests/texinfo7.test: Rename to tests/txinfo7.test.
1128 * tests/texinfo8.test: Rename to tests/txinfo8.test.
1129 * tests/texinfo9.test: Rename to tests/txinfo9.test.
1130 * tests/texinfo10.test: Rename to tests/txinfo10.test.
1131 * tests/texinfo13.test: Rename to tests/txinfo13.test.
1132 * tests/texinfo16.test: Rename to tests/txinfo16.test.
1133 * tests/texinfo17.test: Rename to tests/txinfo17.test.
1134 * tests/texinfo18.test: Rename to tests/txinfo18.test.
1135 * tests/Makefile.am (TESTS): Adjust.
1136 * ChangeLog.1996: Rename to ChangeLog.96.
1137 * ChangeLog.1998: Rename to ChangeLog.98.
1138 * ChangeLog.2000: Rename to ChangeLog.00.
1139 * ChangeLog.2001: Rename to ChangeLog.01.
1140 * Makefile.am (EXTRA_DIST): Adjust.
1141 Reported by Richard Dawe.
1143 2003-01-13 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change)
1145 * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames.
1146 Use '_build' and '_inst' instead of '=build' and '=inst'.
1147 * tests/man2.test: Reflect change automake: check for files in
1148 '_build' and '_inst' directories instead of '=build' and '=inst'.
1150 2003-01-13 Alexandre Duret-Lutz <adl@gnu.org>
1152 Use `_dirstamp' when the file-system doesn't support `.dirstamp'.
1153 * m4/lead-dot.m4: New file.
1154 * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4
1155 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.:
1156 * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define
1157 DEPDIR using am__leading_dot.
1158 * automake.in (require_build_directory): Define am__dirstamp, a new
1159 variable for the dirstamp basename, based on am__leading_dot.
1160 * tests/subobj6.test: Move all `test -f' into Makefiles, so we can
1161 use $(am__dirstamp).
1162 Reported by Richard Dawe.
1164 * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test:
1165 Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when
1166 testing for programs.
1167 Reported by Richard Dawe.
1169 2003-01-10 Alexandre Duret-Lutz <adl@gnu.org>
1171 * Makefile.am (maintainer-check): Suggest using $sleep instead of
1173 * tests/defs.in (sleep): New variable.
1174 * tests/asm.test, tests/confsub.test, tests/lisp3.test,
1175 tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test:
1176 Use $sleep instead of sleep 2, to work around timestamp
1177 inconsistencies in Windows.
1178 Reported by Richard Dawe.
1180 * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh
1182 * tests/ansi3.test, tests/ansi5.test, tests/cond22.test,
1183 tests/man2.test, tests/subobj3.test, tests/suffix8.test,
1184 tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e.
1185 $SHELL is overridden by tests/defs, so it won't hurt even
1186 if $MAKE -e uses the $SHELL envvar.
1187 * tests/ansi.test, tests/insh2.test, tests/texinfo.test,
1188 tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh.
1189 Reported by Richard Dawe.
1191 Build elisp files all at once instead of one by one.
1192 * automake.in (handle_emacs_lisp): Define am__ELFILES. Add
1193 elc-stamp to all's dependencies.
1194 * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files.
1195 (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist.
1196 (clean-lisp): Clean elc-stamp.
1197 * lib/elisp-comp: Reindent. Erase the temporatry directory
1198 from a trap. Propagate Emacs's exit status.
1199 * tests/lisp3.test: New file.
1200 * tests/Makefile.am (TESTS): Add lisp3.test.
1201 Reported by Ryan T. Sammartino.
1203 2003-01-09 Akim Demaille <akim@epita.fr>
1205 * automake.texi: Prefer $(FOO) to @FOO@ in the documentation.
1207 2003-01-08 Alexandre Duret-Lutz <adl@gnu.org>
1209 * m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious
1210 variables. Suggested by Ryan T. Sammartino.
1212 2003-01-05 Alexandre Duret-Lutz <adl@gnu.org>
1214 * automake.in (macro_define): Add missing `{$cond}' (typo from
1216 ($gen_copyright): Append year 2003.
1217 (version): Increase year.
1219 * tests/defs.in: Substitute aclocaldir instead of running
1220 the installed aclocal. Otherwise Libtool and Gettext
1221 tests get skipped when aclocal doesn't preexist.
1223 * tests/listval.test, tests/suffix2.test: Remove pointless -I
1224 argument to aclocal.
1228 Copyright (C) 2003 Free Software Foundation, Inc.
1230 This file is part of GNU Automake.
1232 GNU Automake is free software; you can redistribute it and/or modify
1233 it under the terms of the GNU General Public License as published by
1234 the Free Software Foundation; either version 2, or (at your option)
1237 GNU Automake is distributed in the hope that it will be useful,
1238 but WITHOUT ANY WARRANTY; without even the implied warranty of
1239 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1240 GNU General Public License for more details.
1242 You should have received a copy of the GNU General Public License
1243 along with autoconf; see the file COPYING. If not, write to
1244 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1245 Boston, MA 02111-1307, USA.