1 2005-01-05 Akim Demaille <akim@epita.fr>
3 * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
4 * tests/aclocal5.test (MORE_DEFS): Rename as...
5 (AM_TEST_SUBST): this so that undefined macros are caught.
6 And make it an alias of AC_SUBST.
8 Reported by Martin Bravenboer.
10 2005-01-03 Alexandre Duret-Lutz <adl@gnu.org>
12 Fix handling of per-target flags in link rules.
13 * automake.in (define_per_target_linker_variable): New function.
14 (handle_programs, handle_ltlibraries): Use it.
15 (%link_languages): New map.
16 (register_language): Fill it.
17 * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
18 $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
19 define_per_target_linker_variable if needed.
20 * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
21 $(%XPROGRAM%_LDFLAGS).
22 * doc/automake.texi (Program and Library Variables): Mention
23 AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
24 and maude_LIBTOOLFLAGS.
25 * tests/libtool9.test: New file.
26 * tests/Makefile.am (TESTS): Add it.
27 * NEWS: Explain the backward incompatibility.
28 Report from Akim Demaille.
30 2005-01-01 Alexandre Duret-Lutz <adl@gnu.org>
32 * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
33 specifications with shell variables.
34 (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
35 AC_CONFIG_FILES for this explanation.
36 * automake.in (substitute_ac_subst_variables_worker,
37 substitute_ac_subst_variables): Mew functions.
38 (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
39 to ignore dependencies that contain unAC_SUBSTed shell variables.
40 (handle_configure): Likewise, do not output rules for
41 AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
42 unAC_SUBSTed contain shell variables.
43 * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
44 * tests/output11.test, tests/output12.test: New files.
45 * tests/Makefile.am (TESTS): Add output11.test and output12.test.
47 * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
48 * automake.in ($gen_copyright, version): Likewise.
50 2004-12-31 Alexandre Duret-Lutz <adl@gnu.org>
52 * tests/man2.test, tests/transform.test: Specify --mandir, in order
53 not to fail when Autoconf changes its $mandir default.
55 2004-12-30 Alexandre Duret-Lutz <adl@gnu.org>
57 Support for `install-dvi', `install-html', `install-ps', and
58 `install-pdf', as recently introduced into the GNU Coding
61 * automake.in (handle_factored_dependencies): Reject
62 uninstall-dvi-local, uninstall-html-local, uninstall-info-local,
63 uninstall-ps-local, and uninstall-pdf-local. Allow
64 install-info-local even when no-installinfo is not used.
65 (handle_data): Allow datarootdir, dvidir, htmldir, pdfdir, and psdir.
66 (%standard_prefix): Declare these new standard directory variables.
67 * doc/automake.texi (Texinfo, Third-Party Makefiles): Document
68 install-dvi, install-html, install-pdf, and install-ps.
69 (Extending): Document install-local-dvi, install-local-html,
70 install-local-info, install-local-pdf, and install-local-ps.
71 * lib/Automake/Rule.pm (%dependencies): Add new install rules,
72 and remove uninstall-info.
73 * /cvs/automake/automake/lib/am/texinfos.am (install-dvi,
74 install-dvi-am, install-dvi-recursive, install-html,
75 install-html-am, install-html-recursive, install-pdf,
76 install-pdf-am, install-pdf-recursive, install-ps, install-ps-am,
77 install-ps-recursive, uninstall-dvi-am, uninstall-html-am,
78 uninstall-pdf-am, uninstall-ps-am): New rules.
79 (uninstall-info): Delete.
80 * tests/txinfo21.test: Augment to check for these new rules.
81 * tests/exdir2.test: Do not use `htmldir' as example of
83 * tests/overrid.test: Do not be fooled by install-ps and
85 * tests/txinfo10.test: Do not grep for uninstall-info-recursive.
87 2004-12-27 Alexandre Duret-Lutz <adl@gnu.org>
89 * automake.in (Preprocessed Fortran): Fix the definition of FCLINK.
91 * Makefile.am (maintainer-check): Refine check for @_ in scalar
92 context. Check for correct use of PRE_INSTALL, NORMAL_INSTALL,
93 POST_INSTALL, PRE_UNINSTALL, NORMAL_UNINSTALL, and POST_UNINSTALL.
94 * lib/am/texinfos.am (uninstall-info-am): Hide the invocation of
97 2004-12-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
99 * lib/am/texinfos.am (uninstall-info-am): Show change of
100 directory while uninstalling DJGPP-style info files.
102 2004-12-27 Alexandre Duret-Lutz <adl@gnu.org>
104 Declare recursive install targets as dependencies of `.MAKE', so
105 that `make -n install' works with BSD Make too.
107 * lib/Automake/Rule.pm (reset) <%dependencies>: Add `.MAKE'.
108 * automake.in (target_cmp): Move all `.XYZ' target last, not
110 (handle_factored_dependencies): Add target with hooks to `.MAKE'.
111 Do not let a user definition of .MAKE override ours.
112 * lib/am/install.am (install-am, install-strip): Mark as `.MAKE'.
113 * lib/am/multilib.am (all-multi, install-multi, mostlyclean-multi,
114 clean-multi, distclean-multi, maintainer-clean-multi): Likewise.
115 * lib/am/subdirs.am (mostlyclean-recursive, clean-recursive,
116 distclean-recursive, maintainer-clean-recursive): Likewise.
118 2004-12-18 Alexandre Duret-Lutz <adl@gnu.org>
120 * lib/config-ml.in, lib/config.guess, lib/config.sub,
121 lib/texinfo.tex: New upstream versions.
123 * doc/automake.texi (gettext): Move the paragraph about
125 (Emacs Lisp): ... here.
126 Report from Bruno Haible.
128 * doc/automake.texi: Bump GFDL version to 1.2, since that is
131 * doc/automake.texi: Fix more misuses of @ref, @xref and @pxref,
132 including some of the "corrections" below. Thanks to Karl Berry.
134 * doc/automake.texi: Correct several misuses of @xref and @pxref.
136 2004-12-17 Jim Meyering <jim@meyering.net>
138 * install-sh: Use `(exit N); exit N', not `(exit N); exit'.
139 Otherwise, install-sh could exit with improper exit status when
140 exiting via a trapped interrupt. Thanks to a report from Bob Proulx.
142 2004-12-14 Akim Demaille <akim@epita.fr>
144 * doc/automake.texi (Options): Englishoes.
145 (Options): And another.
147 2004-12-13 Alexandre Duret-Lutz <adl@gnu.org>
149 * ChangeLog.03: New file, extracted from ChangeLog.
150 * Makefile.am (EXTRA_DIST): Add it.
152 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
154 * automake.in (check_user_variables): New function, extracted
156 (handle_languages): ... here.
157 (handle_languages, define_compiler_variable, define_link_variable):
159 (handle_single_transform): Check _LIBTOOLFLAGS in
160 addition to other per-target flags for Libtool objects.
161 (handle_libtool): Warn if LIBTOOLFLAGS is defined.
162 * doc/automake.texi (Libtool Flags, Program and Library Variables,
163 Flag Variables Ordering): Document LIBTOOLFLAGS.
164 * tests/libtool7.test: Check basic support for LIBTOOLFLAGS.
165 * tests/libtool8.test: Make sure Automake warns about LIBTOOLFLAGS
167 * tests/subobj9.test: Adjust.
169 2004-12-11 Alexandre Duret-Lutz <adl@gnu.org>
171 * doc/automake.texi (Per-Object Flags): New node.
173 2004-12-09 Alexandre Duret-Lutz <adl@gnu.org>
176 * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Do
177 not install *.class if "$(%DIR%_JAVA)" is empty.
178 * tests/java3.test: New file.
179 * tests/Makefile.am (TESTS): Add it.
180 Report from Johannes Nicolai.
182 * doc/automake.texi (Java): Mention dist_ and add an example.
183 * tests/java.test: Do actually compile java files and run distcheck.
185 2004-12-08 Peter O'Gorman <peter@pogma.com>
186 Alexandre Duret-Lutz <adl@gnu.org>
188 * lib/Automake/FileUtils.pm (dir_has_case_matching_file,
189 reset_dir_cache): New functions.
190 * automake.in (handle_dist, require_file_internal): Use them, so
191 that CHANGELOG is not confused with ChangeLog on case-insensitive
192 case-preserving file systems.
193 * tests/hfs.test: New file.
194 * tests/Makefile.am (TESTS): Add hfs.test.
196 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
198 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
199 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
200 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
201 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
203 2004-12-05 Toshio Kuratomi <toshio@tiki-lounge.com>
205 * lib/py-compile: Add --destdir switch to py-compile that takes a
206 path argument that is not compiled into the file when byte compiling.
207 * lib/am/python.am: Use the new py-compile arguments to not include
208 DESTDIR in the byte compiled files.
209 * tests/python12.test: Test that DESTDIR won't be byte compiled into
212 2004-12-05 Alexandre Duret-Lutz <adl@gnu.org>
214 * doc/automake.texi (Clean): Typo.
216 * doc/automake.texi: Use @acindex for Autoconf macros, and @vindex
217 for variables (@cvindex was previously used for both). Separate
218 these two indices in the output. Use @code, @file, and @command
219 in @cindex lines wherever appropriate so they render nicely.
221 2004-12-05 Stepan Kasal <kasal@ucw.cz>
223 * doc/automake.texi (renamed objects, CVS): Typos.
225 2004-12-05 Alexandre Duret-Lutz <adl@gnu.org>
227 * doc/automake.texi (Flag Variables Ordering): New section.
228 (User Variables, Program and Library Variables): @xref it.
230 2004-11-24 Alexandre Duret-Lutz <adl@gnu.org>
232 * doc/automake.texi (Conditional Subdirectories): More comments
233 about non-distributed subdirectories.
235 * Makefile.am (maintainer-clean): Check for unescaped @ in manual.
237 2004-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
239 * doc/automake.texi (Built sources example): Fix typo.
241 2004-11-22 Alexandre Duret-Lutz <adl@gnu.org>
243 * aclocal.in (parse_arguments): Diagnose abbreviation ambiguous with
245 * automake.in (parse_arguments): Likewise.
246 * tests/aclocal.test, tests/automake.test: Check this.
247 Report from Eric Blake.
249 2004-11-21 Alexandre Duret-Lutz <adl@gnu.org>
251 * automake.in (parse_arguments): Diagnose empty arguments, options
252 with missing argument, and support `--'.
253 * aclocal.in (parse_arguments): Diagnose options with missing
255 * tests/aclocal.test: More checks.
256 * tests/automake.test: New file.
257 * tests/postprog.test: Use `--' for fun.
258 * tests/Makefile.am (TESTS): Add automake.test.
259 Report from Eric Blake.
261 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Run programs with
262 /dev/null as input, so we do not hang on programs that read their
263 input without supporting --help and --version.
264 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise for scripts.
265 * tests/gnits2.test: Change scriptnok.sh to cat its input.
266 Report and fix from James Youngman.
268 2004-11-17 Alexandre Duret-Lutz <adl@gnu.org>
270 * aclocal.in (%file_seen): Rename as ...
271 (%file_added): ... this, and move it close to add_file(), the only
272 function that uses it.
274 * aclocal.in (version): Remove initial blank line and reproduce
275 the layout of automake --version. From Art Haas.
277 * aclocal.in (%file_type, FT_USER, FT_AUTOMAKE_SYSTEM): New variables.
278 (scan_m4_dirs): New function, extracted from ...
279 (scan_m4_files): ... here. Call scan_m4_files three times, for each
281 (scan_file): Take a file type argument to update %file_type.
282 (write_aclocal): Do not m4_include files that are not of type FT_USER.
283 * tests/dirlist.test: Make sure m4_include is not used for --acdir
286 * tests/defs.in (testaclocaldir): New variable.
287 * tests/aclocal.test: Use it to fix the test. Report from
290 2004-11-10 Alexandre Duret-Lutz <adl@gnu.org>
292 * m4/python.m4 (AM_PATH_PYTHON): Fix the invocation of
293 AC_PATH_PROGS to correctly define PYTHON as `:' when no interpreter
294 is found (this worked correctly only when a minimal version was
295 passed to AM_PATH_PYTHON). Report from Stepan Kasal.
296 (_AM_PYTHON_INTERPRETER_LIST): Define using m4_define_default,
297 so we can easily override the list from the test suite.
298 * tests/python11.test: New file.
299 * tests/Makefile.am (TESTS): Add python11.test.
301 * doc/automake.texi (Libtool Modules): Make clearer that -module
302 should appear explicitly in _LDFLAGS.
304 2004-11-09 Alexandre Duret-Lutz <adl@gnu.org>
306 * aclocal.in (parse_arguments): Correctly recognize --print-ac-dir.
307 * tests/aclocal.test: Check --print-ac-dir and a unknown option.
309 * aclocal.in (parse_arguments): Fix detection of unexisting default
310 $(datadir)/aclocal. Report from Akim.
312 2004-11-07 Alexandre Duret-Lutz <adl@gnu.org>
314 * aclocal.in ($acdir): Rename as ...
315 (@system_includes): ... this.
316 (@user_includes, @automake_includes): New variables.
317 ($default_acdir, $default_dirlist): Remove.
318 (parse_arguments): Populate @user_includes, @automake_includes, and
319 @system_includes instead of filling a unique @dirlist array.
320 ("MAIN"): Adjust to scan m4 files in @user_includes,
321 @automake_includes, and @system_includes.
323 2004-11-06 Alexandre Duret-Lutz <adl@gnu.org>
325 * aclocal.in (parse_arguments): Correct comment. From Akim.
327 2004-11-04 Alexandre Duret-Lutz <adl@gnu.org>
329 * aclocal.in: Use Automake::ChannelDefs, and adjust all output
330 to be done via `fatal', `msg', `verb', or `prog_error'.
331 (version): New function.
332 (parse_arguments): Rewrite using Getopt::Long, call &version, and
333 honor -W and --warning.
335 (trace_used_macros): Do not trace the first arguments of macros
336 for which we do not need it. This caused failures because of
337 unexpected newlines in the output.
338 * doc/automake.texi (aclocal options): Document -W and --warning.
339 * tests/defs.in (ACLOCAL): Always use -Werror, to catch Perl
340 warnings about uninitialized variables.
342 2004-11-03 Alexandre Duret-Lutz <adl@gnu.org>
344 * tests/defs.in: Do not distinguish VERBOSE=x from
345 VERBOSE=anything_but_x, always turn on shell traces.
347 * aclocal.in (write_aclocal): Make sure $map_traced_defs{$m} exists
348 before using it. Suppress a warning observable in test/acloca16.test.
349 Report from Ralf Wildenhues.
351 2004-11-01 Alexandre Duret-Lutz <adl@gnu.org>
353 * lib/Automake/XFile.pm (lock): Make sure $ENV{'MAKEFLAGS'} exists
354 before inspecting it; this fixes "uninitialized value in
355 concatenation" diagnostics when flock fails.
356 Report from Gary V. Vaughan.
358 * aclocal.in: Use strict and -w. Declare local variables with `my',
359 and get rid of `local'.
360 (scan_m4_files, add_macro): Reindent these functions while we are
363 * lib/config.guess, lib/texinfo.tex: New upstream versions.
365 * doc/automake.texi (LIBOBJS): Spelling and grammar corrections
366 from Ralf Wildenhues.
368 2004-10-31 Alexandre Duret-Lutz <adl@gnu.org>
370 * doc/automake.texi (LIBOBJS): Augment with an example setup.
371 (LTLIBOBJ): Rename as ...
372 (LTLIBOBJS): ... this. Link to LIBOBJS, and mention LTALLOCA.
374 2004-10-25 Alexandre Duret-Lutz <adl@gnu.org>
376 * doc/automake.texi: Untabify, tabs in the examples are poorly
378 * Makefile.am (maintainer-check): Grep tabs in the manual.
380 * tests/comment8.test: Use $MAKE, not make.
382 2004-10-24 Alexandre Duret-Lutz <adl@gnu.org>
384 * tests/distcom3.test: Typo.
386 2004-10-22 Alexandre Duret-Lutz <adl@gnu.org>
388 * doc/automake.texi (Libtool Convenience Libraries): Explain how
389 to force the linker selection.
391 * lib/install-sh: Fix the dirname emulation to ignore trailing
392 slashes, i.e., the direname of `a/b/' is `a', not `a/b/'. This
393 caused `install-sh a/b/' to fail.
394 * tests/instsh2.test: Augment.
395 Report from Пухальский Юрий Андреевич.
397 2004-10-21 Alexandre Duret-Lutz <adl@gnu.org>
399 * automake.in (get_object_extension): The extension to use is know
400 by the caller, and cannot be selected by looking only at the
401 target name. Simplify this function to simply conditionally
402 prepend $U to the given extension.
403 (handle_programs, handle_libraries, handle_ltlibraries): Hard-code
404 the extension to use. This way Automake won't mistake a program
405 named `foo.la' as a libtool library.
406 * tests/primary3.test: New file.
407 * tests/Makefile.am (TESTS): Add primary3.test.
409 2004-10-12 Alexandre Duret-Lutz <adl@gnu.org>
411 * doc/automake.texi (Install): Link to node Extending for examples.
412 (Extending): More comments about install-data-hook vs
413 install-exec-hook, and link to Install.
415 * configure.ac: Export @am_AUTOCONF@.
416 * tests/defs.in (AUTOCONF): Define as @am_AUTOCONF@, not @AUTOCONF@,
417 so the test suite runs `autoconf' and not `missing --run autoconf'.
418 * tests/missing.test, tests/missing2.test: Arrange for missing
419 to be used in front of autoconf even if the user has exported
420 AUTOCONF. This fixes two spurious failures reported by
423 * lib/compile: Handle output.obj in addition to output.o.
424 * tests/compile.test: Check for this.
426 2004-10-11 Alexandre Duret-Lutz <adl@gnu.org>
428 * doc/automake.texi (Sources): Typo, reported by Karl Berry.
430 2004-10-10 Kelley Cook <kcook@gcc.gnu.org> (tiny change)
431 Alexandre Duret-Lutz <adl@gnu.org>
433 * aclocal.in ($ac_defun_rx): Match AC_DEFUN_ONCE.
434 (trace_used_macros): Trace AC_DEFUN_ONCE.
435 * tests/aclocal5.test: Use AC_DEFUN_ONCE.
437 2004-10-10 Stepan Kasal <kasal@ucw.cz> (tiny change)
439 * doc/automake.texi (Extending): Typo.
441 2004-10-10 Martin Waitz <tali@admingilde.org> (tiny change)
443 * m4/as.m4 (AM_PROG_AS): Check dependency tracking mode for CCAS.
444 * automake.in (cppasm): Use the dependency tracking more for CCAS.
445 * doc/automake.texi (Assembly Support): Note that *.S are
446 preprocessed with CPPFLAGS.
448 2004-10-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
450 * automake.in (Languages): Split .s (asm) and .S (cppasm) into
451 separate languages. Make cppasm (Preprocessed Assembler) aware
452 of CPPFLAGS, AM_CPPFLAGS.
453 (handle_languages): Fix typo.
454 (lang_cppasm_rewrite): New function.
456 2004-09-29 Alexandre Duret-Lutz <adl@gnu.org>
458 * tests/subobj9.test: Adjust regexes after previous patch.
460 2004-09-28 Alexandre Duret-Lutz <adl@gnu.org>
462 * automake.in (handle_languages, define_compiler_variable): Output
463 Libtool's --tag= option before --mode=compile, because depcomp use
464 --mode=compile as end marker for libtool arguments.
465 (define_linker_variable): Likewise before --mode=link, for
467 * tests/pr307.test: Make sure dependency files are updated. That
468 was not the case because depcomp thought `--tag=CC' was the
469 compiler to get dependencies from.
470 Report from Пухальский Юрий Андреевич.
472 2004-09-26 Alexandre Duret-Lutz <adl@gnu.org>
474 * configure.ac: Require Perl 5.6.
475 * lib/Automake/Config.in: Require Perl 5.6 (not done in
476 lib/Automake/General.pm because it is shared with Autoconf),
477 and use `our' instead of `use vars'.
478 * aclocal.in (rel2abs): Remove.
479 (scan_configure_dep): Use File::Spec->rel2abs instead.
481 * tests/compile.test, tests/instsh2.test, tests/instspc.test: Use
482 two consecutive spaces in filename instead of one, to catch mistake
483 like `echo $val | ...`.
484 * tests/README: Suggest this.
485 Suggested by Ralf Wildenhues.
487 2004-09-25 Alexandre Duret-Lutz <adl@gnu.org>
489 * doc/automake.texi (Clean): Document -local targets.
491 2004-09-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
493 * doc/automake.texi: Typos.
495 2004-09-21 Alexandre Duret-Lutz <adl@gnu.org>
497 * doc/automake.texi (Timeline): Typos and other English mistakes
498 reported by Jim and Gary.
500 * lib/Automake/VarDef.pm (append): Strip comments from augmented
502 * tests/comment8.test: New file.
503 * tests/Makefile.am (TESTS): Add comment8.test.
504 Report from Stepan Kasal.
506 2004-09-19 Alexandre Duret-Lutz <adl@gnu.org>
508 * tests/compile.test: Fix rm usage.
510 * INSTALL, lib/INSTALL, lib/config.sub, lib/config.guess,
511 lib/texinfo.tex: New upstream versions.
513 * doc/automake.texi (Timeline): New node. Thanks to Karl and Tom
514 for their comments on a preliminary version of this, Akim for
515 digging out some old mails, and Jason Molenda for sending the note
516 about Automake in Alias to Tom.
517 (Releases): Rename `ac' to `acl', suggested by Akim.
519 2004-09-19 Akim Demaille <akim@epita.fr>
521 * AUTHORS, automake.in, aclocal.in: Add Alexandre Duret-Lutz as
524 2004-09-15 Alexandre Duret-Lutz <adl@gnu.org>
526 * doc/automake.texi (Releases): New node.
528 * doc/automake.texi (Dependencies): Link to Dependency Tracking
530 (Dependency Tracking Evolution): Link to GNU make, Sources (for
531 BUILT_SOURCES), and update the paragraph about the "plan" to
532 inline dependency tracking with gcc3.
534 * doc/automake.texi (History): New node.
535 (Dependency Tracking Evolution): New node, filled with a Texinfo
536 version of Tom Tromey's ``Dependency Tracking in Automake''
537 document, initially published on the Automake homepage on
540 2004-09-10 Alexandre Duret-Lutz <adl@gnu.org>
542 * m4/minuso.m4 (AM_PROG_CC_C_O): Make sure AC_PROG_CC is never
543 called after this macro.
544 * tests/distname.test, tests/subdir5.test, tests/subdir8.test,
545 tests/subobj.test, tests/subobj4.test, tests/subobj5.test,
546 tests/subobj6.test: Adjust.
547 Report from Ralf Wildenhues.
549 * lib/Automake/Channels.pm (_print_message): Handle uniq_part with
551 * automake.in (lang_c_rewrite): Set uniq_part so that the
552 AM_PROG_CC_C_O diagnostic is output only once for subdir objects
553 and only once for objects with per-target flags.
555 * automake.in (lang_c_rewrite): Print files and locations
556 for AM_PROG_CC_C_O errors.
557 (handle_single_transform): Pass $var to &$subr so it can
560 * lib/compile, lib/elisp-comp, lib/install-sh, lib/ylwrap: Use $ret
561 instead of $status which is read-only in Zsh.
563 2004-09-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
564 Alexandre Duret-Lutz <adl@gnu.org>
566 * lib/compile: Preserve spaces in arguments (for example
567 -DPACKAGE_STRING="foo 0.1").
568 * tests/compile.test: New file.
569 * tests/Makefile.am (TESTS): Add compile.test.
571 2004-09-07 Alexandre Duret-Lutz <adl@gnu.org>
573 * automake.in (handle_clean): Sort rm commands output for
574 mostlyclean-generic, clean-generic, distclean-generic, and
575 maintainer-clean-generic.
576 Report from Bob Friesenhahn.
578 * automake.in (lang_c_rewrite): Do not require AM_PROG_CC_C_O for
580 (handle_single_transform): Pass nonansi_obj to &$subr so
581 lang_c_rewrite can distinguish libtool objects.
582 * tests/libtool7.test: Use subdir-objects without using AM_PROG_CC_C_O.
583 Report from Gary V. Vaughan and Patrick Welche.
585 2004-09-07 Andreas Schwab <schwab@suse.de>
587 * automake.in ($PATH_PATTERN): Add `+'.
589 2004-09-07 Alexandre Duret-Lutz <adl@gnu.org>
591 * tests/missing3.test: New file (check for Paolo's change below).
592 * tests/Makefile.am (TESTS): Add missing3.test.
594 2004-09-07 Paolo Bonzini <bonzini@gnu.org>
596 * missing: Handle all command line options together. Add a
597 separate case statement to detect failed runs, and fail
598 silently there if --help or --version is passed to the program.
600 2004-08-11 Alexandre Duret-Lutz <adl@gnu.org>
602 * lib/config.guess, lib/texinfo.tex: New upstream versions.
605 * configure.ac (pkgvdatadir): Define using "$PACKAGE", not "automake".
608 * lib/am/yacc.am [!%?MORE-THAN-ONE%]: Replace `#line's in y.tab.h too.
609 * tests/yacc7.test: Check this.
611 2004-08-08 Alexandre Duret-Lutz <adl@gnu.org>
613 * lib/Automake/DisjConditions.pm (new): Precompute 'string' and 'conds'
614 in place instead of as a side-effect of calling ->string and ->conds.
615 This saves method-lookup time, simplify ->string and ->conds, and
616 allows to create the object only when necessary.
617 (string, conds): Simplify, now that the result is precomputed.
619 * automake.in (%am_file_cache): New hash.
620 (make_paragraphs): Cache .am files with comments stripped to save
621 some useless input and substitutions.
623 * lib/Automake/Variable.pm (%_primary_dict): New hash.
624 (_new, variable_delete): Update %_primary_dict.
625 (variables): Accept an optional $suffix argument.
626 * automake.in (check_typos, am_primary_prefixes): Use that
627 optional argument to restrict the loops over the variables we are
630 2004-08-06 Alexandre Duret-Lutz <adl@gnu.org>
632 * lib/Automake/Item.pm (def): Rewrite more concisely, it's faster
635 2004-08-05 Alexandre Duret-Lutz <adl@gnu.org>
637 Speed up make_paragraphs.
638 * automake.in (handle_languages): Always define SUBDIROBJ,
639 DERIVED-EXT, and DIST_SOURCE, because the new transform() will
640 abort on unknown tokens.
641 (transform): Rewrite with different semantics.
642 (make_paragraphs): Make a single pass over the paragraph to
643 transform all template tokens instead of doing as much passes as
646 * automake.in ($libtool_new_api): New variable.
647 (handle_libtool): Do not libtool's aux files if $libtool_new_api.
648 (scan_autoconf_traces) <LT_SUPPORTED_TAG>: Set $libtool_new_api.
649 (scan_autoconf_traces) <AC_REQUIRE_AUX_FILE>: Remember only the
650 first location for required files.
652 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
654 Support AC_REQUIRE_AUX_FILE, and fix requirement of AM_PROG_CC_C_O.
655 * automake.in (%required_aux_file): New hash.
656 (handle_single_transform, lang_c_rewrite): Do not explicitly
657 require 'compile', this is now an internal detail of
659 (scan_autoconf_traces): Trace AC_REQUIRE_AUX_FILE and fill
661 (scan_autoconf_files): Require all %required_aux_file instead
662 of explicitly requiring install-sh and missing.
663 (generate_makefile): Do not require config.sub and config.guess.
664 (handle_single_transform): Pass $have_per_exec_flags to
666 * configure.ac, m4/init.m4: Require Autoconf 2.59a.
667 * doc/automake.texi (Optional): Document AC_REQUIRE_AUX_FILE.
668 (Program and Library Variables, Options, Public macros):
669 AM_PROG_CC_C_O is required when per-target flags or subdir-objects
670 are used with C sources.
671 * m4/minuso.m4: Require `compile' using AC_REQUIRE_AUX_FILE.
672 * m4/missing.m4: Require `missing' similarly.
673 * tests/acsubst2.test, tests/distcom2.test, tests/distcom6.test,
674 tests/specflg.test, tests/specflg2.test, tests/specflg3.test,
675 tests/specflg6.test, tests/specflg7.test, tests/specflg8.test,
676 tests/specflg9.test, tests/subobj7.test, tests/target-cflags.test,
677 tests/yacc6.test: Fix to use AM_PROG_CC_C_O.
679 2004-08-03 Alexandre Duret-Lutz <adl@gnu.org>
681 * automake.in (yacc_lex_finish_helper): Fix definition of YLWRAP
682 when ylwrap is installed in a default aux dir found in a parent
684 * tests/subpkg.test: Augment to check that YLWRAP is installed
686 * doc/automake.texi (Yacc and Lex): ylwrap is not sought is the
688 Report from Norman Gray.
690 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
692 * doc/automake.texi (Optional): Update documentation for
693 AC_CANONICAL_BUILD, AC_CANONICAL_HOST, and AC_CANONICAL_TARGET.
695 * automake.in (AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM): Replace by ...
696 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET): ... these.
697 (scan_autoconf_traces): Scan for the latter three macros instead of
699 (make_paragraphs): Adjust definitions of %BUILD%, %HOST%, and %TARGET%.
700 * tests/hosts.test: New file.
701 * tests/Makefile.am (TESTS): Add hosts.test.
702 Report and test case from Norman Gray.
704 2004-08-01 Alexandre Duret-Lutz <adl@gnu.org>
706 * aclocal.in (scan_file): Update "#Extending%20aclocal" URL, makeinfo
707 4.7 now outputs "#Extending-aclocal".
709 2004-08-01 Alexandre Duret-Lutz <adl@gnu.org>
710 Derek R. Price <derek@ximbiot.com>
712 Disable Lex and Yacc rules whenever possible if AM_MAINTAINER_MODE
713 is used and maintainer-mode disabled.
714 * automake.in (Automake::struct): Define nodist_specific.
715 Set it in languages yacc, yaccxx, lex, and lexxx.
716 (register_language): Default nodist_specific to 0.
717 (handle_single_transform): Honor nodist_specific.
718 * lib/am/yacc.am (am__skipyacc): Define this in maintainer mode.
719 (%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skipyacc) to disable these
721 * lib/am/lex.am (am__skiplex): Define this in maintainer mode.
722 (%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skiplex) to disable these
724 * tests/mmodely.test: New file.
725 * tests/pr204.test: Augment to check AM_MAINTAINER_MODE and nodist_
727 * tests/Makefile.am (TESTS): ADd mmodely.test.
728 * doc/automake.texi (Yacc and Lex): Note dependence on maintainer mode.
730 2004-07-28 Alexandre Duret-Lutz <adl@gnu.org>
732 * configure.ac, NEWS: Bump version to 1.9a.
734 * configure.ac, NEWS: Bump version to 1.9.
736 * automake.in (generate_makefile): Update misleading comment about
739 * lib/texinfo.tex: New upstream version.
741 2004-07-25 Alexandre Duret-Lutz <adl@gnu.org>
743 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Remove `.' from the mkdir_p
744 definition, it causes `make install' to fails for user with no
745 right to write in the source-tree.
746 * automake.in (handle_configure): Do not use mkdir_p in the
747 definition for $(mkdir_p).
748 Report from Harlan Stenn.
750 * lib/am/texi-vers.am (%STAMPVTI%): Typo in comment.
752 2004-07-22 Alexandre Duret-Lutz <adl@gnu.org>
754 * doc/automake.texi (Libtool Modules): Typo in example.
755 Report from Ulrich Eckhardt.
757 2004-07-21 Andreas Schwab <schwab@suse.de> (tiny change)
759 * automake.in (check_directory): Quote $dir in regexp.
761 2004-07-17 Alexandre Duret-Lutz <adl@gnu.org>
763 * configure.ac, NEWS: Bump version to 1.8e.
765 * configure.ac, NEWS: Bump version to 1.8d.
767 * lib/config-ml.in, lib/config.sub, lib/config.guess, lib/texinfo.tex:
768 New upstream versions.
770 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
771 ?!GENERIC?%DEST_PREFIX%.html): Use $(X), not ${X}.
773 * tests/installdir.test: installdirs-local should appear three times,
774 since the change from 2004-07-11 will make it PHONY.
776 * lib/am/distdir.am (distdir): Always use $(DIST_SUBDIRS) now
777 that it is always defined. This is less confusing for users
778 reading the generated Makefiles.
779 * automake.in (handle_dist): Do not substitute DIST_SUBDIR_NAME.
781 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
782 ?!GENERIC?%DEST_PREFIX%.html): Output .htp, and then rename to .html
783 on success. In case the target is a directory, this ensures its
784 time stamp is updated and the no files are left over inside.
785 * tests/txinfo21.test: Augment to test missing timestamp update
786 reported by Akim Demaille.
788 * doc/automake.texi (Top level): Rename as ...
789 (Directories): ... this, and split into ...
790 (Subdirectories, Conditional Subdirectories): ... these.
791 (Subdirectories): Illustrate the use of `.'.
792 (Conditional Subdirectories): Describe SUBDIRS and DIST_SUBDIRS
793 before the example. Append a discussion about non-configured
794 conditional directories.
795 (Alternative): Move as a child of Directories.
796 (Subpackages): New section.
797 (Dist): Adjust links to Subdirectories, a Subpackages.
798 (Third-Party Makefiles): Link to Conditional Subdirectories.
800 2004-07-14 Alexandre Duret-Lutz <adl@gnu.org>
802 * automake.in (target_hook): Accept %transform as last argument.
803 (handle_single_transform): Pass %transform to target_hook.
804 (handle_source_transform): Define DIST_SOURCE to tell whether
805 a the source of a file is distributed or not.
806 (lang_yacc_target_hook): Check DIST_SOURCE, and do not distribute
807 the generated header if the .y source is not distributed.
808 * tests/pr204.test: Use AM_YFLAGS = -d and make sure generated
809 headers are not distributed.
811 2004-07-12 Simon Josefsson <jas@extundo.com> (tiny change)
813 * doc/automake.texi (Options): Improve ustar file name length
814 discussion. Reference tar manual.
816 2004-07-12 Ray Simard <rhs.techlists@sylvan-glade.com> (tiny change)
818 * lib/Automake/Variable.pm (define): Fix precondition check.
820 2004-07-11 Alexandre Duret-Lutz <adl@gnu.org>
823 Support for conditionally defined -hook and -local rules.
824 * automake.in (user_phony_rule): New function.
825 (handle_dist, handle_install, handle_all, do_check_merge_target,
826 handle_factored_dependencies): Use user_phony_rule before
827 adding a user -hook or -local rule as a dependency to ensure
828 it is always defined an phony.
829 * tests/cond37.test, tests/condhook.test: New files.
830 * tests/Makefile.am (TESTS): Add them.
831 Report from Simon Josefsson and Nik A. Melchior.
833 2004-07-05 Paul Eggert <eggert@cs.ucla.edu>
835 * doc/automake.texi (Install): Warn that you should create
836 /tmp/staging before installing into it, to avoid security problems.
837 * lib/install-sh: Remove support for -b= and -t= options; this
838 has been moribund for a decade.
839 Add support for -t and -T options (new in coreutils install).
840 -c option now does nothing (the default is to copy), for
841 compatibility with BSD and coreutils 'install'.
842 Fix usage message; it referred to nonexistent variables.
843 Don't assume 'lasterr' is unset in environment.
844 * tests/instsh2.test: Don't assume that install-sh without -c
845 moves (it now copies). Add tests for new -t and -T options.
847 2004-06-16 Alexandre Duret-Lutz <adl@gnu.org>
849 For Debian Bug#254372:
850 * doc/automake.texi (Invoking aclocal): Rewrite the paragraph
851 explaining m4_include is used for relative files.
853 2004-06-10 Alexandre Duret-Lutz <adl@gnu.org>
855 For Debian Bug #251820:
856 * aclocal.in (scan_file): Keep track of the location where each
857 file is included, and display it when reporting a missing file.
858 Pass this location to scan_file as a second argument.
859 (scan_m4_files): Adjust calls to scan_file.
860 * tests/acloca14.test: Add a test for this diagnostic.
862 2004-06-07 Alexandre Duret-Lutz <adl@gnu.org>
864 * m4/tar.m4 (_AM_PROG_TAR): Split the definition of $_am_tools
865 so it works with Solaris and Tru64 /bin/sh.
866 Report from Nicolas Joly.
868 2004-06-06 Alexandre Duret-Lutz <adl@gnu.org>
870 * m4/tar.m4 (_AM_PROG_TAR): Introduce $_am_tools to work around a
871 bug in NetBSD /bin/sh.
872 Report from Nicolas Joly.
874 2004-06-03 Alexandre Duret-Lutz <adl@gnu.org>
876 * tests/defs.in (required=icc): Use `-V -help' instead of
877 `-V -dryrun'. icc 8.0 fails on the latter.
878 * tests/depcomp5.test: Require depmode=icc for icc 7.x, and
879 depmod=gcc otherwise.
880 Report from Ralf Wildenhues.
882 * lib/am/clean.am (distclean-generic): Do no
883 `rm -f $(CONFIG_CLEAN_FILES)' if `$(CONFIG_CLEAN_FILES)' is empty.
884 Report from Nicolas Joly.
886 2004-05-31 Alexandre Duret-Lutz <adl@gnu.org>
888 * NEWS: Make clearer that we do not output partial Makefile.ins on
890 Suggested by Akim Demaille.
892 * lib/depcomp (tru64) [libtool]: Use $dir$base.o.d instead
893 of $dir.libs/$base.o.d. Libtool 1.5 causes both to be output,
894 and we will clean the second automatically during distclean.
895 Using the latter and leaving the former as we did before cause
896 "files left in build directory" failures during distcheck.
897 Suggested by Nicolas Joly.
899 * doc/automake.texi (Built sources example): Explain what
900 nodist_foo_SOURCES is (not) useful to, and use it in all the
902 (Tags): Mention nodist_noinst_HEADERS and nodist_prog_SOURCES.
903 Suggested by Akim Demaille.
905 2004-05-23 Alexandre Duret-Lutz <adl@gnu.org>
907 * configure.ac, NEWS: Bump version to 1.8c.
909 * configure.ac, NEWS: Bump version to 1.8b.
911 * m4/tar.m4 (_AM_PROG_TAR) <cpio>: Specify -o and -i option first,
912 by POSIX; and use option -d in am_untar.
914 * tests/defs.in (PATH): Export it.
916 * lib/am/multilib.am: Add $(MAKE) comments to multido and
917 multiclean lines, to enable parallel make. Based on a patch
918 by Alexandre Oliva applied to newlib on 2003-10-15.
920 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
922 * automake.in (scan_autoconf_traces): Trace for LT_SUPPORTED_TAG
923 instead of AC_LIBTOOL_TAGS, since that how CVS Libtool has been
925 * tests/libtool3.test: Do not grep for --tag=CC, since CVS
926 Libtool (unlike Libtool 1.5) does not has any CC tag.
928 * tests/tar2.test: Skip the test if no pax archiver were found.
930 * NEWS: Sync with branch-1-8, and reorganize current entry.
932 * automake.in (handle_libraries): Make the diagnostic about
933 non standard libraries a warning in foreign packages. This
934 is already the case in handle_ltlibraries.
935 (handle_libraries, handle_ltlibraries): Suggest a standard
936 library name in the diagnostic, to help newcomers.
937 * tests/stdlib.test, tests/stdlib2.test: Check for these
940 Check directory names for unportable names. Shaking the code
941 to check this also led to the removal of the no-"/"-in-SUBDIRS
942 restriction, and a fix to _do_recursive_traversal.
944 * automake.in (check_directory): New function extracted from
945 handle_subdirs, and augmented to check for reserved W32/DOS name.
946 (check_directories_in_var): New function.
947 (handle_subdirs): Call check_directories_in_var. Doing so also
948 suppress the restriction that SUBDIRS should not contain slashes.
949 (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Call check_directory
950 to ensure the argument exists and is safe.
951 * doc/automake.texi (Top level): Do not say that src/subdir
952 cannot be put in SUBDIRS.
953 (Dist): Mention that distdir and top_distdir can be absolute.
954 * lib/Automake/Variable.pm (_do_recursive_traversal) Support
955 undefined $fun_collect, and fix two bugs introduced with
956 skip_ac_subst on 2004-03-07.
957 * lib/am/distdir.am (distdir): Use absolute distdir and
958 top_distdir when recursing, because we can no longer prepend only
959 `..' in case of SUBDIRS with `/'.
960 * tests/auxdir4.test, tests/subdir9.test: New files.
961 * tests/Makefile.am (TESTS): Add auxdir4.test.
962 * tests/cond2.test, tests/subdir7.test: Augment to check location
965 2004-05-21 Eric Blake <ebb9@byu.net> (tiny changes)
967 * tests/txinfo22.test (AC_CONFIG_AUX_DIR): Use aux1, not aux, for
968 cygwin compatibility.
969 * tests/yacc6.test (AC_CONFIG_AUX_DIR): Likewise.
971 * tests/conflnk3.test: Isolate checking for working `test -e' into
972 a subshell, to skip this test on broken /bin/sh of solaris.
974 2004-05-17 Alexandre Duret-Lutz <adl@gnu.org>
976 * m4/cond.m4 (AM_CONDITIONAL): Double-quote diagnostic.
977 * tests/condd.test: Define a macro with the same name as a
979 * tests/pr220.test: Modernize, and make sure the diagnostics
980 contains the macro name.
981 Report from Volker Boerchers.
983 2004-05-16 Alexandre Duret-Lutz <adl@gnu.org>
985 * lib/texinfo.tex: New upstream version.
987 2004-05-15 Alexandre Duret-Lutz <adl@gnu.org>
989 * automake.in (handle_dist): Always define DIST_SUBDIRS, even when
990 the no-dist or cygnus options are used.
991 * tests/clean2.test: New file.
992 * tests/Makefile.am (TESTS): Add clean2.test.
993 Report from Daniel Jacobowitz.
995 * aclocal.in (add_macro): Do not error out on undefined required
996 macros. We are not sure they are really used, and Autoconf
997 already diagnoses them.
998 (scan_configure_dep): Diagnose missing AM_ macros as warnings rather
1000 * tests/aclocal3.test, tests/ammissing.test: Adjust to expect a
1001 warning instead of an error.
1002 * tests/aclocal8.test: AC_REQUIRE an undefined macro in an unused
1003 macro, and ensure aclocal works anyway.
1004 * tests/acloca17.test: New file.
1005 * tests/error.test: Delete, superseded by tests/acloca17.test.
1006 * tests/Makefile.am (TESTS): Add acloca17.test and remove error.test.
1007 Report from Jim Meyering.
1009 * lib/am/texibuild.am (?!GENERIC_INFO?%DEST_INFO_PREFIX%%DEST_SUFFIX%):
1010 Fold a few lines to reduce the output by 5 lines.
1011 Suggested by Karl Berry.
1013 * automake.in (parse_arguments, MAIN): Give more precise
1014 diagnostics when no input file is found.
1015 * tests/output5.test: Adjust.
1016 Suggested by Jens Petersen.
1018 2004-05-14 Alexandre Duret-Lutz <adl@gnu.org>
1020 * lib/am/libs.am (AR, ARFLAGS): Move these definition ...
1021 * automake.in (handle_libraries): ... here, so that they are
1022 output even for EXTRA_LIBRARIES.
1023 * tests/ar2.test: New file.
1024 * tests/Makefile.am (TESTS): Add it.
1025 Report from Kevin Ryde.
1027 2004-05-13 Alexandre Duret-Lutz <adl@gnu.org>
1029 * automake.in (generate_makefile): Do not output Makefile.in on
1031 * tests/werror2.test: New file.
1032 * tests/Makefile.am (TESTS): Add werror2.test.
1033 * tests/substtarg.test, tests/cond36.test, tests/backsl4.test:
1034 Adjust to run automake with -Wno-error when the output is expected
1035 in spite of the error.
1036 Report from Harlan Stenn.
1038 * doc/automake.texi (Program and Library Variables): Remove
1039 doubled word in footnote.
1041 * automake.in (handle_source_transform): Also check for a
1042 $(srcdir)/old_source rule when computing the default source name.
1043 Propagate this $(srcdir) prefix in Automake variables.
1044 * tests/ltlibsrc.test (noinst_LTLIBRARIES): Explicitly refer to
1045 $(srcdir)/zoo_d_old2_la.c. This fixes another failure with BSD Make.
1047 2004-05-13 Paul Eggert <eggert@cs.ucla.edu>
1049 * Makefile.am (fetch): Work even with FreeBSD "make", which
1050 uses sh -e and thus errors-out if a simple-command fails.
1051 * lib/am/check.am (check-TESTS): Likewise.
1052 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Likewise.
1053 * lib/am/tags.am (TAGS): Likewise.
1055 2004-05-13 Alexandre Duret-Lutz <adl@gnu.org>
1057 * tests/lex3.test, tests/yacc6.test: Require GNU Make.
1058 Fixing these for BSD Make requires invasive changes (lexers and
1059 parsers must be built into $srcdir, and--most annoyingly--all
1060 references to parse.h must be changed to $(srcdir)/parse.h).
1061 Report from Mark D. Baushke.
1063 2004-05-10 Alexandre Duret-Lutz <adl@gnu.org>
1065 * tests/defs.in (GNUmake): Grep for GNU to parry FreeBSD make.
1066 Report from Mark D. Baushke.
1068 2004-04-25 Alexandre Duret-Lutz <adl@gnu.org>
1070 * lib/texinfo.tex: New upstream version.
1072 * lib/depcomp (tru64): Clarify comments. Thanks to Nicolas Joly.
1074 * doc/automake.texi (Headers): Revamp.
1076 2004-04-24 Alexandre Duret-Lutz <adl@gnu.org>
1078 * automake.in (check_typos): Clarify the diagnostic.
1079 * tests/warnopts.test: Adjust.
1081 * lib/Automake/VarDef.pm (append): Turn VAR_ASIS variables into
1082 VAR_PRETTY variables to work around make implementation with
1083 limited line length, such as OSF1/Tru64 make.
1084 * tests/longline.test: New file.
1085 * tests/Makefile.am (TESTS): Add it.
1086 * tests/pluseq3.test, tests/pluseq8.test: Adjust.
1087 Report from Simon Josefsson.
1089 * lib/am/tags.am (TAGS): Pass `.' to Exuberant Ctags if
1090 --etags-include is used but no other files are supplied, so it
1091 creates the TAGS file anyway.
1092 Report from Akim Demaille.
1094 * lib/depcomp (tru64) [libtool]: Nicolas Joly reported on
1095 2002-06-12 that dependencies were output in $dir.libs/$base.lo.d.
1096 Teun Burgers reported on 2004-03-30 they were in
1097 $dir.libs/$base.o.d. Try both.
1099 2004-04-23 Alexandre Duret-Lutz <adl@gnu.org>
1101 For PR automake/414:
1102 Introduce option filename-length-max=99.
1103 * doc/automake.texi (Options): Document it.
1104 * configure.ac (AM_INIT_AUTOMAKE): Use it.
1105 * lib/Automake/Options.pm (_process_option_list): Recognize it.
1106 * automake.in (handle_dist): Set FILENAME_FILTER.
1107 * lib/am/distdir.am (distdir) [FILENAME_FILTER]: Diagnose long
1109 * tests/fn99.test: New file.
1110 * tests/Makefile.am (TESTS): Add fn99.test.
1112 2004-04-20 Alexandre Duret-Lutz <adl@gnu.org>
1114 For PR automake/414:
1115 Introduce options tar-v7, tar-ustar, and tar-pax to select
1117 * doc/automake.texi (Options): Document them.
1118 * lib/Automake/Options.pm (_process_option_list): Process
1120 * lib/am/distdir.am (dist-gzip, dist-bzip2, dist-tarZ, dist,
1121 distcheck): Adjust to use am__tar and am__untar.
1122 * m4/tar.m4: New file.
1123 * m4/Makefile.am (dist_m4data_DATA): Add tar.m4.
1124 * m4/init.m4 (AM_INIT_AUTOMAKE): Support the new options
1125 and call _AM_PROG_TAR.
1126 * tests/tar.test, tests/tar2.test, tests/tar3.test: New files.
1127 * tests/Makefile.am (TESTS): Add them.
1129 2004-04-18 Alexandre Duret-Lutz <adl@gnu.org>
1131 * lib/am/distdir.am (distcheck): Typo in shar decompression.
1133 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1136 2004-04-17 Alexandre Duret-Lutz <adl@gnu.org>
1139 * automake.in (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Diagnose
1140 calls to AC_CONFIG_AUX_DIR followings calls to AM_INIT_AUTOMAKE.
1141 * tests/auxdir.test, tests/auxdir2.test, tests/lex5.test,
1142 tests/mdate3.test, tests/multlib.test, tests/reqd2.test,
1143 tests/symlink.test, tests/txinfo8.test, tests/txinfo22.test,
1144 tests/yacc6.test, tests/yacc8.test: Fix to call AC_CONFIG_AUX_DIR
1145 before AM_INIT_AUTOMAKE.
1146 * tests/auxdir3.test: New file (exercise this diagnostic).
1147 * tests/Makefile.am (TESTS): Add auxdir3.test.
1149 2004-04-15 Alexandre Duret-Lutz <adl@gnu.org>
1151 * aclocal.in (%map_traced_defs): New variable.
1152 (scan_m4_files): Normalize filenames.
1153 (trace_used_macros): Trace for AC_DEFUN and AU_DEFUN, also
1154 ask for the filename and the first argument. Populate
1156 (write_aclocal): Use $map_traced_defs to filter out unused
1158 * tests/acloca16.test: New file.
1159 * tests/Makefile.am (TESTS): Add acloca16.test.
1161 2004-04-12 Alexandre Duret-Lutz <adl@gnu.org>
1163 * automake.in ($automake_needs_to_reprocess_all_files): Remove.
1164 ($automake_will_process_aux_dir): New variable.
1165 (scan_autoconf_traces): Reorder @input_files so that the Makefile
1166 that distributes aux files is processed last. This way we do not
1167 have to process all files twice using
1168 $automake_will_process_aux_dir.
1169 (require_file_internal): Suggest a full run of automake when
1171 (MAIN): Remove the loop on $automake_needs_to_reprocess_all_files.
1172 * tests/distcom7.test: New file.
1173 * tests/reqd2.test: Do not check for the "running more than two"
1175 * tests/Makefile.am (TESTS): Add distcom7.test.
1177 * automake.in (@config_aux_path, $config_aux_dir): Rename as ...
1178 ($config_aux_dir, $am_config_aux_dir): ... these.
1179 ($config_aux_dir_set_in_configure_in): Rename as ...
1180 ($config_aux_dir_set_in_configure_ac): ... this.
1181 (%require_file_found): Rename as ...
1182 (%required_file_not_found): ... this.
1183 (handle_languages, handle_texinfo_helper, handle_dist,
1184 handle_configure, handle_emacs_lisp, handle_python,
1185 scan_autoconf_traces, yacc_lex_finish_helper): Adjust to new names.
1186 (scan_autoconf_traces): Call locate_aux_dir.
1187 (locate_aux_dir): New function.
1188 (@require_file_paths): Remove, not used anymore.
1189 (require_file_internal): Look files in only one directory (instead
1190 of @require_file_internal) passed in argument.
1191 (require_file, require_conf_file): Pass the destination directory
1192 to require_file_internal.
1194 Fix for PR automake/416:
1195 * m4/depend.m4 (_AM_DEPENDENCIES): Catch `not supported' ICC 8.0
1197 From Peter Seiderer.
1199 2004-04-10 Andreas Buening <andreas.buening@nexgo.de>
1201 * aclocal.in, automake.in, configure.ac, Makefile.am,
1202 tests/aclocal.in, tests/automake.in, tests/defs.in:
1203 Use PATH_SEPARATOR from autoconf instead of ':'.
1205 2004-04-09 Alexandre Duret-Lutz <adl@gnu.org>
1207 * automake.in (handle_lib_objects): Pass the condition of
1208 the variable definition to handle_LIBOBJS and handle_ALLOCA,
1209 not the aggregated conditions.
1210 * tests/Makefile.am (TESTS): Add libobj14.test.
1211 * tests/libobj14.test: New file.
1212 Report from Bill Davidson.
1214 2004-04-02 Mike Nolta <mike@nolta.net>
1216 Better support for Fortran 9x.
1217 * automake.in: Add "fc" and "ppfc" languages for Fortran 9x.
1218 * doc/automake.texi (Fortran 9x Support): New section.
1219 * lib/Automake/Variable.pm (%_ac_macro_for_var): Add AC_PROG_FC.
1220 * tests/compile_f90_c_cxx.test: New file.
1221 * tests/ext.test: Add AC_PROG_FC.
1222 * tests/f90only.test: New file.
1223 * tests/link_f90_only.test: New file.
1224 * tests/Makefile.am (TESTS): Add new tests.
1226 2004-04-01 Paul Eggert <eggert@twinsun.com>
1228 * lib/install-sh: If "mv -f" works, use it, and fall back to
1229 the old "test -f" + "rm -f" + "mv" method only if "mv -f" does
1230 not work. This improves performance in the usual case where
1231 "mv -f" works. It also lets us install the "mv" command
1232 without worrying about a small window where "mv" does not
1233 exist (this problem was reported by Raul Nunez de Arenas
1236 2004-03-26 Alexandre Duret-Lutz <adl@gnu.org>
1238 * m4/python.m4 (AM_PATH_PYTHON): Make sure am_display_PYTHON is
1239 set when $PYTHON has been set by the user.
1240 From Esben Haabendal Soerensen.
1242 2004-03-22 Alexandre Duret-Lutz <adl@gnu.org>
1244 * doc/automake.texi (Default _SOURCES): Typo.
1245 (true): Correct _'s placement in example.
1246 Report from Stepan Kasal.
1248 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
1250 Overriding JAVAROOT is legitimate, do not warn about it.
1251 * lib/Automake/Variable.pm (%_silent_variable_override): Add JAVAROOT.
1252 * tests/java2.test: Run automake without -Wno-override.
1253 Report from Simon Josefsson.
1255 2004-03-14 Alexandre Duret-Lutz <adl@gnu.org>
1257 * automake.in (handle_texinfo_helper): Typos in comment.
1259 2004-03-07 Alexandre Duret-Lutz <adl@gnu.org>
1261 * lib/config.guess: New upstream version.
1263 Fix for PR automake/285:
1264 * automake.in (handle_ltlibraries): Keep track of installation
1265 directories for each condition, then define a $(am_TARGET_rpath)
1266 variable to hold the -rpath flags of Libtool libraries conditionally
1267 installed in different directories.
1268 * lib/Automake/DisjConditions.pm (merge): New function.
1269 * tests/libtool6.test: Adjust.
1270 * tests/libtool8.test: New file.
1271 * tests/Makefile.am (TEST): Add libtool8.test.
1273 * lib/Automake/Variable.pm (traverse_recursively,
1274 _do_recursive_traversal): Honor the skip_ac_subst option.
1275 * automake.in (handle_dist): Use skip_ac_subst.
1277 2004-02-29 Alexandre Duret-Lutz <adl@gnu.org>
1279 * Makefile.am (cvs-release): Upload to ~ftp/pub/automake, not
1281 * lib/gnupload (Example): Update example.
1283 * lib/config-ml.in, lib/config.guess, lib/config.sub,
1284 lib/texinfo.tex: New upstream versions.
1286 * m4/depend.m4 (_AM_DEPENDENCIES): Use `touch' rather than `: >'
1287 to create numbered dependencies. This fixes a portability issue
1288 when CONFIG_SHELL is forced to /bin/sh on Solaris 8.
1289 Reported by Mark Phillips.
1291 * automake.in (lang_yacc_target_hook): Use Automake::Rule::define
1292 so that rules for the same headers are not output twice.
1293 * lib/Automake/Variable.pm (value_as_list_recursive): Do not
1294 call `return' inside `map'.
1295 * tests/cond30.test: Make sure `a.c' and `b.c' both appear
1297 * tests/cond35.test, tests/cond36.test: New files.
1298 * tests/Makefile.am (TESTS): Add cond35.test and cond36.test.
1299 Report from Roman Fietze.
1302 * lib/am/distdir.am (distcheck): Create $dc_destdir with `umask
1303 077 && mkdir' instead of `$(mkdir_p)'. This prevents possible
1304 symlink attacks reported by Stefan Nordhausen.
1306 2004-02-16 Alexandre Duret-Lutz <adl@gnu.org>
1308 * doc/automake.texi (Multiple Outputs): More text, based on
1309 comments from Eric Siegerman, Tim Van Holder, and Oren Ben-Kiki.
1311 2004-02-15 Alexandre Duret-Lutz <adl@gnu.org>
1313 * m4/mkdirp.m4: Use `mkdir -p' only with GNU mkdir, because
1314 Solaris 8's mkdir is not thread-safe.
1315 * lib/mkinstalldirs: Likewise.
1316 * lib/install-sh: Abort when mkdir fails to create a directory.
1317 Report from Nathanael Nerode.
1319 2004-02-07 Alexandre Duret-Lutz <adl@gnu.org>
1321 * aclocal.in (rel2abs): New function.
1322 (scan_configure_dep): Use rel2abs instead of File::Spec->rel2abs,
1323 the later does was introduced in Perl 5.6 so using it breaks with
1325 Report from Werner John.
1327 2004-02-03 Alexandre Duret-Lutz <adl@gnu.org>
1329 * doc/automake.texi (Future of aclocal): Make clearer that
1330 it's ok to install macros into /usr/share/aclocal/.
1332 2004-02-01 Alexandre Duret-Lutz <adl@gnu.org>
1334 * tests/lisp.test: Delete (pointless).
1335 * tests/Makefile.am (TESTS): Remove lisp.test.
1337 * lib/Automake/Variable.pm (transform_variable_recursively):
1338 Define rewritten variables in all conditions not *covered* by user
1339 definitions, not simply in conditions without a previous
1341 * tests/cond34.test: New file.
1342 * tests/Makefile.am (TESTS): Add cond34.test.
1343 Report from Elena A. Vengerova
1345 * doc/automake.texi (Multiple Outputs): Typo.
1347 * doc/automake.texi (Emacs Lisp): Typos.
1349 Support for conditional _LISP.
1350 * automake.in (handle_emacs_lisp): Define $(ELCFILES) from LISP, not
1351 from $(am__ELCFILES).
1352 * lib/am/lisp.am (elc-stamp): Use $(LISP) instead of $(am__ELFILES).
1353 * tests/lisp6.test: New file.
1354 * tests/Makefile.am (TESTS): Add it.
1356 * automake.in (handle_emacs_lisp): Define $(ELCFILES) as
1357 $(am__ELCFILES), and always push it on @all. Do not mention
1359 * lib/am/lisp.am (.el.elc): Rewrite as ...
1360 ($(am__ELCFILES)): ... this, and depend on elc-stamp.
1361 (elc-stamp): Make sure elc-stamp is older that all .elc files, as
1362 explained in the manual entry below.
1364 * doc/automake.texi (Multiple Outputs): New node.
1366 2004-01-31 Alexandre Duret-Lutz <adl@gnu.org>
1368 * m4/regex.m4: Do not AC_SUBST(LIBOBJS), and quote most arguments.
1369 * tests/regex.test: New file.
1370 * tests/Makefile.am (TESTS): Add regex.test.
1372 2004-01-28 Alexandre Duret-Lutz <adl@gnu.org>
1374 * Makefile.am (maintainer-check): Check for unquoted $(DESTDIR) uses.
1375 * lib/am/data.am, lib/am/distdir.am, lib/am/java.am, lib/am/libs.am,
1376 lib/am/lisp.am, lib/am/ltlib.am, lib/am/mans.am, lib/am/progs.am,
1377 lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Quote
1378 installation paths in install, uninstall, and installcheck rules,
1379 as well as in am__installdirs variables. This is for the sake
1380 of paths containing spaces.
1381 * lib/am/install.am (installdirs-am, installdirs): Do not try
1382 to create "" directories.
1383 * test/instspc.test: New file.
1384 * test/Makefile.am (TESTS): Add instspc.test.
1385 Report from James Amundson.
1387 * doc/automake.texi (Not Enough, Third-Party Makefiles): New nodes.
1388 (Extending): Make it a subsection of Not Enough.
1390 * lib/gnupload (GPG): Use an absolute path. Suggestion from Gary
1392 (passphrase): Unset it this variable before using it, in case it
1393 was exported. Report from Scott James Remnant.
1395 2004-01-25 Alexandre Duret-Lutz <adl@gnu.org>
1397 * lib/gnupload (usage): Fix example.
1398 * Makefile.am (cvs-release): Fix call to gnupload.
1401 2004-01-24 Alexandre Duret-Lutz <adl@gnu.org>
1403 * lib/gnupload: New script.
1404 * lib/Makefile.am (EXTRA_DIST): Distribute gnupload.
1405 * Makefile.am (cvs-release): New target.
1407 2004-01-23 Alexandre Duret-Lutz <adl@gnu.org>
1409 * lib/am/python.am (uninstall-%DIR%PYTHON): Remove extra `;'s.
1412 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use `s/xx//p'
1413 instead of `/xx/ s///p'; the latter fails when GNU sed is run with
1414 POSIXLY_CORRECT. Also strip superfluous -e.
1415 Report from Miloslav Trmac.
1417 2004-01-22 Alexandre Duret-Lutz <adl@gnu.org>
1419 * tests/lex5.test: Sleep before calling AUTOMAKE the second time,
1420 this fixes a spurious failure reported by Andreas Schwab. Also
1421 make sure ylwrap is not installed unless needed, and exercise
1424 2004-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
1426 * doc/automake.texi (Dist): Document limitations of distcheck-hook
1427 and DISTCHECK_CONFIGURE_FLAGS with regard to subdirs and
1430 2004-01-20 Alexandre Duret-Lutz <adl@gnu.org>
1432 * doc/automake.texi (Upgrading): New node.
1434 2004-01-20 Gary V. Vaughan <gary@gnu.org>
1436 * automake.in (scan_autoconf_traces): AC_LIBTOOL_TAGS can be
1437 correctly called without arguments as evidenced by the libtool
1440 2004-01-13 Alexandre Duret-Lutz <adl@gnu.org>
1442 * tests/conflnk3.test: Skip if `test -e' does not work.
1443 Report from Lars Hecking.
1445 2004-01-13 Jim Meyering <jim@meyering.net>
1447 * lib/install-sh: Change `\n \t' to `\n\t ' in `defaultIFS'
1448 assignment. Remove spurious SPACEs before TABs.
1450 2004-01-12 Alexandre Duret-Lutz <adl@gnu.org>
1452 * lib/py-compile: Check input files after option processing.
1453 Ensure --basedir has an argument.
1454 * lib/am/python.am (install-%DIR%PYTHON): Do not run py-compile
1455 if nothing was installed.
1456 * tests/python10.test: New file.
1457 * tests/Makefile.am (TESTS): Add python10.test.
1458 Suggested by Sander Niemeijer.
1460 * tests/txinfo29.test: Remove autom4te.cache.
1461 Report from Greg Schafer.
1463 * lib/install-sh: Do not use "$@" in a context where it may be empty,
1464 for the sake of OSF1/Tru64's shell.
1467 2004-01-11 Alexandre Duret-Lutz <adl@gnu.org>
1469 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
1472 * m4/as.m4, m4/depend.m4, m4/maintainer.m4, m4/multi.m4: Update
1473 copyright years and serial.
1475 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.4.
1477 2004-01-10 Peter Eisentraut <peter_e@gmx.net> (tiny change)
1479 * m4/as.m4 (AM_PROG_AS): Format and align help string more
1481 * m4/depend.m4 (AM_DEP_TRACK): Likewise.
1482 * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
1483 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
1484 * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise.
1486 2004-01-10 Paul Eggert <eggert@twinsun.com>
1488 * m4/lispdir.m4 (AM_PATH_LISPDIR): Don't use \? in sed regular
1489 expressions; it doesn't conform to POSIX.
1491 2004-01-10 Alexandre Duret-Lutz <adl@gnu.org>
1493 * automake.in (shadow_unconditionally): New function...
1494 (handle_source_transform): ... extracted from here.
1495 (am_install_var): Use shadow_unconditionally to define %DISTVAR%.
1496 * lib/am/data.am, lib/am/java.am, lib/am/lisp.am, lib/am/python.am,
1497 lib/am/script.am: Add %DISTVAR% to DIST_COMMON.
1498 * tests/cond33.test: Make sure all conditional files are distributed.
1499 Report from Ralf Corsepius.
1501 2004-01-08 Alexandre Duret-Lutz <adl@gnu.org>
1503 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Append `.' to $(mkdir_p).
1504 * lib/install-sh: Accept `install-sh -d' with 0..n arguments,
1505 as well as `install-sh sources... dest' with multiple sources.
1506 * tests/cond33.test: New file.
1507 * tests/instsh2.test: Add more checks for install-sh.
1508 * tests/transform.test: Test for installdirs.
1509 * tests/Makefile.am (TESTS): Add cond33.test
1510 Report from Ralf Corsepius.
1512 * automake.in (handle_configure): Skip AC_CONFIG_LINKS items which
1513 do not look like DEST:SRC.
1514 * tests/conflnk3.test: Check for AC_CONFIG_LINKS($computed).
1516 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
1518 Fix for PR automake/289:
1519 * automake.in (Automake::Struct::libtool_tag): New attribute. Define
1520 it for the language that have a Libtool tag.
1521 (%libtool_tags): New variable.
1522 (handle_languages, define_compiler_variable)
1523 (define_linker_variable): Pass --tag=XXX to libtool if supported.
1524 (scan_autoconf_traces): Scan for _LT_AC_TAGCONFIG and AC_LIBTOOL_TAGS.
1525 * tests/libtool3.test, tests/subobj9.test: Check that --tag=XXX is
1528 2003-01-07 Eric Sunshine <sunshine@sunshineco.com> (tiny change)
1530 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
1531 config.status.lineno.
1533 2004-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
1535 * doc/automake.texi (Rebuilding): Typo.
1537 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
1539 * lib/am/Makefile.am (dist_am_DATA): Really add inst-vars.am.
1541 2004-01-06 Alexandre Duret-Lutz <adl@gnu.org>
1543 * THANKS: Add Bruce Korb.
1545 2004-01-05 Alexandre Duret-Lutz <adl@gnu.org>
1547 Mimic Paul Eggert's changes to Autoconf.
1548 * Makefile.am (automake, aclocal): Use `chmod a-w', not `chmod -w'.
1549 * lib/Automake/Makefile.am (Config.pm): Likewise.
1550 * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Likewise.
1552 * lib/am/inst-vars.am: New file, define am__vpath_adj_setup,
1553 am__vpath_adj, and am__strip_dir.
1554 * lib/am/Makefile.am (dist_am_DATA): Add inst-vars.am.
1555 * lib/am/data.am, lib/am/lisp.am, lib/am/python.am,
1556 lib/am/scripts.am: Include inst-vars.am, and use $(am__vpath_adj),
1557 $(am__vpath_adj_setup), and $(am__strip_dir) in install and
1558 uninstall rules. This fixes installation of nobase_ files in
1559 VPATH setups with Sun and OSF1/Tru64 Make.
1560 * lib/am/libs.am, lib/am/ltlib.am: Include inst-vars.am, and use
1561 $(am__strip_dir) to simplify install and uninstall rules.
1562 * tests/nobase.test: Augment to check installation from VPATH builds.
1564 * automake.in (%transformed_files): New variable.
1565 (initialize_per_input): Reset it.
1566 (make_paragraphs): Fill %transformed_files, and define %FIRST%
1567 each time a file is transformed for the first time.
1568 (handle_configure): Do not define %FIRST_CONFIG_HIN%.
1569 (am_install_var): Do not define %FIRST%.
1570 * lib/am/remake-hdr.am: Use %?FIRST% instead of %?FIRST_CONFIG_HIN%.
1572 2004-01-04 Alexandre Duret-Lutz <adl@gnu.org>
1574 * lib/texinfo.tex: New upstream version.
1576 * m4/mkdirp.m4: Do not use `-m 0755'. This overrides special bits
1577 and break setups where 775 directories are expected. Just obey
1578 umask as we did in the past.
1579 Report from Harlan Stenn.
1581 2004-01-03 Alexandre Duret-Lutz <adl@gnu.org>
1583 * automake.in (scan_texinfo_file): Do not compare $outfile to ''
1584 as $outfile might not be defined at all.
1586 * lib/Automake/Variable.pm (define): Rework the way we check
1587 Automake variable definition. Ensure consistent :=/+=/=
1588 definitions only for variables that have been and are defined by
1589 Automake, and make it an internal error. Ignore Automake
1590 attempts to touch a user variable, even with += assignments.
1591 * tests/txinfo29.test: New file.
1592 * tests/Makefile.am (TESTS): Add txinfo29.test.
1593 Reported by Bruce Korb.
1595 2004-01-02 Tom Tromey <tromey@redhat.com>
1597 * automake.in (handle_source_transform): Don't generate dist
1598 variables when no-dist is set.
1599 (generate_makefile): Likewise.
1600 * tests/nodist3.test: Ensure that DIST_SOURCES is not created,
1601 and that dist target does not exist.
1602 Reported by Tom Fitzsimmons.
1604 2004-01-02 Alexandre Duret-Lutz <adl@gnu.org>
1606 * tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
1607 * tests/ltconv.test: Run automake with --add-missing, because
1608 the CVS version of libtoolize no longer install config.sub and
1609 config.guess by default.
1611 Fix for PR automake/319:
1612 * aclocal.in (scan_m4_files): Scan configure.ac.
1613 (trace_used_macros, write_aclocal): Remove configure.ac from the
1614 list of files to include.
1615 * tests/Makefile.am (TESTS): Add acloca15.test.
1616 * tests/acloca15.test: New file.
1618 * aclocal.in (%file_includes): New variable.
1619 (scan_configure_dep): Compile $m4_include_rx and $ac_require_rx once.
1620 (scan_file): Scan for included files, and process these files
1621 recursively. Fill %file_includes and %file_contents. Return the
1622 list of included files, not the contents.
1623 (scan_m4_files): Adjust calls to scan_files.
1624 (strip_redundant_includes): New function.
1625 (trace_used_macros): Call it.
1626 (write_aclocal): Likewise. Also check the mtime of included files.
1627 * tests/Makefile.am (TESTS): Add acloca14.test.
1628 * tests/acloca14.test: New file.
1629 Report from Phil Edwards.
1631 2004-01-01 Alexandre Duret-Lutz <adl@gnu.org>
1633 * automake.in (handle_languages): Do not define DEP_FILES.
1634 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Extract included
1635 files with $(DEPDIR) in their name instead of DEP_FILES.
1636 * tests/depend.test, tests/depend4.test, tests/exsource.test:
1638 Suggested by Tom Tromey.
1640 Do not output .lo rules for programs and static libraries objects,
1641 and do not output .o/.obj rules for libtool libraries. This is
1642 about explicit rules only, not inference rules.
1643 * automake.in (handle_single_transform_list): Rename as ...
1644 (handle_single_transform): ... this. Take a single file
1645 to transform (it was only called this way) and accept a new
1646 %transform argument. Fill %lang_specific_files with list
1647 references instead of strings, and append %transform to each
1649 (define_objects_from_sources, handle_source_transform):
1650 Take a %transform argument, and forward it to &handle_single_transform.
1651 (handle_languages): Adjust to the new format of
1652 %lang_specific_files, and honor its %transform part.
1653 (handle_programs, handle_libraries, handle_ltlibraries): Override
1654 %NONLIBTOOL% and %LIBTOOL% while calling handle_source_transform.
1655 (make_paragraphs): Define %NONLIBTOOL% by default. Make sure
1656 %transform settings override global settings.
1657 * lib/am/depend2.am (%OBJ%, %OBJOBJ%): Define only if %NONLIBTOOL%.
1658 * tests/libtool3.test: Augment to check Makefile.ins for unneeded
1660 Suggested by Thomas Fitzsimmons.
1662 * automake.in, aclocal.in: Bump copyright years.
1666 Copyright (C) 2004, 2005 Free Software Foundation, Inc.
1668 This file is part of GNU Automake.
1670 GNU Automake is free software; you can redistribute it and/or modify
1671 it under the terms of the GNU General Public License as published by
1672 the Free Software Foundation; either version 2, or (at your option)
1675 GNU Automake is distributed in the hope that it will be useful,
1676 but WITHOUT ANY WARRANTY; without even the implied warranty of
1677 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1678 GNU General Public License for more details.
1680 You should have received a copy of the GNU General Public License
1681 along with autoconf; see the file COPYING. If not, write to
1682 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1683 Boston, MA 02111-1307, USA.