1 2005-02-01 Alexandre Duret-Lutz <adl@gnu.org>
3 * aclocal.in (list_compare): New functions.
4 (scan_file): Honor #serial lines.
5 * tests/acloca18.test: New test.
6 * tests/Makefile.am (TESTS): Add it.
7 * doc/automake.texi (aclocal options, Local Macros): Document
10 2005-01-30 Alexandre Duret-Lutz <adl@gnu.org>
12 Preliminary support for `aclocal --install'.
13 This still lacks #serial support.
14 * aclocal.in (reset_maps, install_file): New functions.
15 (write_aclocal): Copy files if --install.
16 (usage, parse_arguments): Recognize --install.
17 ("MAIN"): Start aclocal again if some file were installed.
18 * tests/acloca10.test: Augment to test --install.
19 * tests/aclocal.in, tests/defs.in: Add support for
20 ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
21 * doc/automake.texi (aclocal options, Local Macros): Document
23 (Future of aclocal): Adjust.
25 * doc/automake.texi (Macro search path): Using --acdir is not
26 obvious, it's erroneous.
28 * doc/automake.texi (direntry): Let `info Automake' point to the
29 manual, and `info automake' to the `Invoking automake' node. Like
32 2005-01-27 Akim Demaille <akim@epita.fr>
34 * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
37 2005-01-24 Akim Demaille <akim@epita.fr>
39 * lib/Automake/FileUtils.pm: Rename filename as file_name to be
40 consistent with the terminology of the GNU coding standards.
42 (update_file): Accept a $force argument, so that --force always
43 updates the time stamps.
45 2005-01-23 Alexandre Duret-Lutz <adl@gnu.org>
47 * doc/automake.texi (How the Linker is Chosen): Explain how the
48 linker is chosen without diagram, and update to match the code.
49 Suggestion from Adrian Bunk.
51 2005-01-16 Alexandre Duret-Lutz <adl@gnu.org>
53 * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
54 Process all words of $MAKEFLAGS when checking for -k.
55 * tests/check4.test: New file.
56 * tests/Makefile.am (TESTS): Add check4.test.
57 Report from Eric Blake.
59 2005-01-13 Alexandre Duret-Lutz <adl@gnu.org>
61 * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
62 AM_INIT_AUTOMAKE if the version passed is incorrect.
63 * tests/version8.test: New file.
64 * tests/Makefile.am (TESTS): Add version8.test.
66 2005-01-09 Alexandre Duret-Lutz <adl@gnu.org>
68 * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
69 m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
70 m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
71 m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
72 m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
73 m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
74 m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
75 m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
76 license that is used in aclocal.m4. Relicensing backed by RMS.
78 * doc/automake.texi (A Library, LIBOBJS): Mention that empty
79 libraries are not portable.
81 2005-01-05 Akim Demaille <akim@epita.fr>
83 * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
84 * tests/aclocal5.test (MORE_DEFS): Rename as...
85 (AM_TEST): this so that undefined macros are caught.
86 And make it an alias of AC_SUBST.
88 Reported by Martin Bravenboer.
90 2005-01-03 Alexandre Duret-Lutz <adl@gnu.org>
92 Fix handling of per-target flags in link rules.
93 * automake.in (define_per_target_linker_variable): New function.
94 (handle_programs, handle_ltlibraries): Use it.
95 (%link_languages): New map.
96 (register_language): Fill it.
97 * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
98 $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
99 define_per_target_linker_variable if needed.
100 * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
101 $(%XPROGRAM%_LDFLAGS).
102 * doc/automake.texi (Program and Library Variables): Mention
103 AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
104 and maude_LIBTOOLFLAGS.
105 * tests/libtool9.test: New file.
106 * tests/Makefile.am (TESTS): Add it.
107 * NEWS: Explain the backward incompatibility.
108 Report from Akim Demaille.
110 2005-01-01 Alexandre Duret-Lutz <adl@gnu.org>
112 * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
113 specifications with shell variables.
114 (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
115 AC_CONFIG_FILES for this explanation.
116 * automake.in (substitute_ac_subst_variables_worker,
117 substitute_ac_subst_variables): Mew functions.
118 (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
119 to ignore dependencies that contain unAC_SUBSTed shell variables.
120 (handle_configure): Likewise, do not output rules for
121 AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
122 unAC_SUBSTed contain shell variables.
123 * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
124 * tests/output11.test, tests/output12.test: New files.
125 * tests/Makefile.am (TESTS): Add output11.test and output12.test.
127 * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
128 * automake.in ($gen_copyright, version): Likewise.
130 2004-12-31 Alexandre Duret-Lutz <adl@gnu.org>
132 * tests/man2.test, tests/transform.test: Specify --mandir, in order
133 not to fail when Autoconf changes its $mandir default.
135 2004-12-30 Alexandre Duret-Lutz <adl@gnu.org>
137 Support for `install-dvi', `install-html', `install-ps', and
138 `install-pdf', as recently introduced into the GNU Coding
141 * automake.in (handle_factored_dependencies): Reject
142 uninstall-dvi-local, uninstall-html-local, uninstall-info-local,
143 uninstall-ps-local, and uninstall-pdf-local. Allow
144 install-info-local even when no-installinfo is not used.
145 (handle_data): Allow datarootdir, dvidir, htmldir, pdfdir, and psdir.
146 (%standard_prefix): Declare these new standard directory variables.
147 * doc/automake.texi (Texinfo, Third-Party Makefiles): Document
148 install-dvi, install-html, install-pdf, and install-ps.
149 (Extending): Document install-local-dvi, install-local-html,
150 install-local-info, install-local-pdf, and install-local-ps.
151 * lib/Automake/Rule.pm (%dependencies): Add new install rules,
152 and remove uninstall-info.
153 * /cvs/automake/automake/lib/am/texinfos.am (install-dvi,
154 install-dvi-am, install-dvi-recursive, install-html,
155 install-html-am, install-html-recursive, install-pdf,
156 install-pdf-am, install-pdf-recursive, install-ps, install-ps-am,
157 install-ps-recursive, uninstall-dvi-am, uninstall-html-am,
158 uninstall-pdf-am, uninstall-ps-am): New rules.
159 (uninstall-info): Delete.
160 * tests/txinfo21.test: Augment to check for these new rules.
161 * tests/exdir2.test: Do not use `htmldir' as example of
163 * tests/overrid.test: Do not be fooled by install-ps and
165 * tests/txinfo10.test: Do not grep for uninstall-info-recursive.
167 2004-12-27 Alexandre Duret-Lutz <adl@gnu.org>
169 * automake.in (Preprocessed Fortran): Fix the definition of FCLINK.
171 * Makefile.am (maintainer-check): Refine check for @_ in scalar
172 context. Check for correct use of PRE_INSTALL, NORMAL_INSTALL,
173 POST_INSTALL, PRE_UNINSTALL, NORMAL_UNINSTALL, and POST_UNINSTALL.
174 * lib/am/texinfos.am (uninstall-info-am): Hide the invocation of
177 2004-12-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
179 * lib/am/texinfos.am (uninstall-info-am): Show change of
180 directory while uninstalling DJGPP-style info files.
182 2004-12-27 Alexandre Duret-Lutz <adl@gnu.org>
184 Declare recursive install targets as dependencies of `.MAKE', so
185 that `make -n install' works with BSD Make too.
187 * lib/Automake/Rule.pm (reset) <%dependencies>: Add `.MAKE'.
188 * automake.in (target_cmp): Move all `.XYZ' target last, not
190 (handle_factored_dependencies): Add target with hooks to `.MAKE'.
191 Do not let a user definition of .MAKE override ours.
192 * lib/am/install.am (install-am, install-strip): Mark as `.MAKE'.
193 * lib/am/multilib.am (all-multi, install-multi, mostlyclean-multi,
194 clean-multi, distclean-multi, maintainer-clean-multi): Likewise.
195 * lib/am/subdirs.am (mostlyclean-recursive, clean-recursive,
196 distclean-recursive, maintainer-clean-recursive): Likewise.
198 2004-12-18 Alexandre Duret-Lutz <adl@gnu.org>
200 * lib/config-ml.in, lib/config.guess, lib/config.sub,
201 lib/texinfo.tex: New upstream versions.
203 * doc/automake.texi (gettext): Move the paragraph about
205 (Emacs Lisp): ... here.
206 Report from Bruno Haible.
208 * doc/automake.texi: Bump GFDL version to 1.2, since that is
211 * doc/automake.texi: Fix more misuses of @ref, @xref and @pxref,
212 including some of the "corrections" below. Thanks to Karl Berry.
214 * doc/automake.texi: Correct several misuses of @xref and @pxref.
216 2004-12-17 Jim Meyering <jim@meyering.net>
218 * install-sh: Use `(exit N); exit N', not `(exit N); exit'.
219 Otherwise, install-sh could exit with improper exit status when
220 exiting via a trapped interrupt. Thanks to a report from Bob Proulx.
222 2004-12-14 Akim Demaille <akim@epita.fr>
224 * doc/automake.texi (Options): Englishoes.
225 (Options): And another.
227 2004-12-13 Alexandre Duret-Lutz <adl@gnu.org>
229 * ChangeLog.03: New file, extracted from ChangeLog.
230 * Makefile.am (EXTRA_DIST): Add it.
232 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
234 * automake.in (check_user_variables): New function, extracted
236 (handle_languages): ... here.
237 (handle_languages, define_compiler_variable, define_link_variable):
239 (handle_single_transform): Check _LIBTOOLFLAGS in
240 addition to other per-target flags for Libtool objects.
241 (handle_libtool): Warn if LIBTOOLFLAGS is defined.
242 * doc/automake.texi (Libtool Flags, Program and Library Variables,
243 Flag Variables Ordering): Document LIBTOOLFLAGS.
244 * tests/libtool7.test: Check basic support for LIBTOOLFLAGS.
245 * tests/libtool8.test: Make sure Automake warns about LIBTOOLFLAGS
247 * tests/subobj9.test: Adjust.
249 2004-12-11 Alexandre Duret-Lutz <adl@gnu.org>
251 * doc/automake.texi (Per-Object Flags): New node.
253 2004-12-09 Alexandre Duret-Lutz <adl@gnu.org>
256 * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Do
257 not install *.class if "$(%DIR%_JAVA)" is empty.
258 * tests/java3.test: New file.
259 * tests/Makefile.am (TESTS): Add it.
260 Report from Johannes Nicolai.
262 * doc/automake.texi (Java): Mention dist_ and add an example.
263 * tests/java.test: Do actually compile java files and run distcheck.
265 2004-12-08 Peter O'Gorman <peter@pogma.com>
266 Alexandre Duret-Lutz <adl@gnu.org>
268 * lib/Automake/FileUtils.pm (dir_has_case_matching_file,
269 reset_dir_cache): New functions.
270 * automake.in (handle_dist, require_file_internal): Use them, so
271 that CHANGELOG is not confused with ChangeLog on case-insensitive
272 case-preserving file systems.
273 * tests/hfs.test: New file.
274 * tests/Makefile.am (TESTS): Add hfs.test.
276 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
278 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
279 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
280 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
281 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
283 2004-12-05 Toshio Kuratomi <toshio@tiki-lounge.com>
285 * lib/py-compile: Add --destdir switch to py-compile that takes a
286 path argument that is not compiled into the file when byte compiling.
287 * lib/am/python.am: Use the new py-compile arguments to not include
288 DESTDIR in the byte compiled files.
289 * tests/python12.test: Test that DESTDIR won't be byte compiled into
292 2004-12-05 Alexandre Duret-Lutz <adl@gnu.org>
294 * doc/automake.texi (Clean): Typo.
296 * doc/automake.texi: Use @acindex for Autoconf macros, and @vindex
297 for variables (@cvindex was previously used for both). Separate
298 these two indices in the output. Use @code, @file, and @command
299 in @cindex lines wherever appropriate so they render nicely.
301 2004-12-05 Stepan Kasal <kasal@ucw.cz>
303 * doc/automake.texi (renamed objects, CVS): Typos.
305 2004-12-05 Alexandre Duret-Lutz <adl@gnu.org>
307 * doc/automake.texi (Flag Variables Ordering): New section.
308 (User Variables, Program and Library Variables): @xref it.
310 2004-11-24 Alexandre Duret-Lutz <adl@gnu.org>
312 * doc/automake.texi (Conditional Subdirectories): More comments
313 about non-distributed subdirectories.
315 * Makefile.am (maintainer-clean): Check for unescaped @ in manual.
317 2004-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
319 * doc/automake.texi (Built sources example): Fix typo.
321 2004-11-22 Alexandre Duret-Lutz <adl@gnu.org>
323 * aclocal.in (parse_arguments): Diagnose abbreviation ambiguous with
325 * automake.in (parse_arguments): Likewise.
326 * tests/aclocal.test, tests/automake.test: Check this.
327 Report from Eric Blake.
329 2004-11-21 Alexandre Duret-Lutz <adl@gnu.org>
331 * automake.in (parse_arguments): Diagnose empty arguments, options
332 with missing argument, and support `--'.
333 * aclocal.in (parse_arguments): Diagnose options with missing
335 * tests/aclocal.test: More checks.
336 * tests/automake.test: New file.
337 * tests/postprog.test: Use `--' for fun.
338 * tests/Makefile.am (TESTS): Add automake.test.
339 Report from Eric Blake.
341 * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Run programs with
342 /dev/null as input, so we do not hang on programs that read their
343 input without supporting --help and --version.
344 * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise for scripts.
345 * tests/gnits2.test: Change scriptnok.sh to cat its input.
346 Report and fix from James Youngman.
348 2004-11-17 Alexandre Duret-Lutz <adl@gnu.org>
350 * aclocal.in (%file_seen): Rename as ...
351 (%file_added): ... this, and move it close to add_file(), the only
352 function that uses it.
354 * aclocal.in (version): Remove initial blank line and reproduce
355 the layout of automake --version. From Art Haas.
357 * aclocal.in (%file_type, FT_USER, FT_AUTOMAKE_SYSTEM): New variables.
358 (scan_m4_dirs): New function, extracted from ...
359 (scan_m4_files): ... here. Call scan_m4_files three times, for each
361 (scan_file): Take a file type argument to update %file_type.
362 (write_aclocal): Do not m4_include files that are not of type FT_USER.
363 * tests/dirlist.test: Make sure m4_include is not used for --acdir
366 * tests/defs.in (testaclocaldir): New variable.
367 * tests/aclocal.test: Use it to fix the test. Report from
370 2004-11-10 Alexandre Duret-Lutz <adl@gnu.org>
372 * m4/python.m4 (AM_PATH_PYTHON): Fix the invocation of
373 AC_PATH_PROGS to correctly define PYTHON as `:' when no interpreter
374 is found (this worked correctly only when a minimal version was
375 passed to AM_PATH_PYTHON). Report from Stepan Kasal.
376 (_AM_PYTHON_INTERPRETER_LIST): Define using m4_define_default,
377 so we can easily override the list from the test suite.
378 * tests/python11.test: New file.
379 * tests/Makefile.am (TESTS): Add python11.test.
381 * doc/automake.texi (Libtool Modules): Make clearer that -module
382 should appear explicitly in _LDFLAGS.
384 2004-11-09 Alexandre Duret-Lutz <adl@gnu.org>
386 * aclocal.in (parse_arguments): Correctly recognize --print-ac-dir.
387 * tests/aclocal.test: Check --print-ac-dir and a unknown option.
389 * aclocal.in (parse_arguments): Fix detection of unexisting default
390 $(datadir)/aclocal. Report from Akim.
392 2004-11-07 Alexandre Duret-Lutz <adl@gnu.org>
394 * aclocal.in ($acdir): Rename as ...
395 (@system_includes): ... this.
396 (@user_includes, @automake_includes): New variables.
397 ($default_acdir, $default_dirlist): Remove.
398 (parse_arguments): Populate @user_includes, @automake_includes, and
399 @system_includes instead of filling a unique @dirlist array.
400 ("MAIN"): Adjust to scan m4 files in @user_includes,
401 @automake_includes, and @system_includes.
403 2004-11-06 Alexandre Duret-Lutz <adl@gnu.org>
405 * aclocal.in (parse_arguments): Correct comment. From Akim.
407 2004-11-04 Alexandre Duret-Lutz <adl@gnu.org>
409 * aclocal.in: Use Automake::ChannelDefs, and adjust all output
410 to be done via `fatal', `msg', `verb', or `prog_error'.
411 (version): New function.
412 (parse_arguments): Rewrite using Getopt::Long, call &version, and
413 honor -W and --warning.
415 (trace_used_macros): Do not trace the first arguments of macros
416 for which we do not need it. This caused failures because of
417 unexpected newlines in the output.
418 * doc/automake.texi (aclocal options): Document -W and --warning.
419 * tests/defs.in (ACLOCAL): Always use -Werror, to catch Perl
420 warnings about uninitialized variables.
422 2004-11-03 Alexandre Duret-Lutz <adl@gnu.org>
424 * tests/defs.in: Do not distinguish VERBOSE=x from
425 VERBOSE=anything_but_x, always turn on shell traces.
427 * aclocal.in (write_aclocal): Make sure $map_traced_defs{$m} exists
428 before using it. Suppress a warning observable in test/acloca16.test.
429 Report from Ralf Wildenhues.
431 2004-11-01 Alexandre Duret-Lutz <adl@gnu.org>
433 * lib/Automake/XFile.pm (lock): Make sure $ENV{'MAKEFLAGS'} exists
434 before inspecting it; this fixes "uninitialized value in
435 concatenation" diagnostics when flock fails.
436 Report from Gary V. Vaughan.
438 * aclocal.in: Use strict and -w. Declare local variables with `my',
439 and get rid of `local'.
440 (scan_m4_files, add_macro): Reindent these functions while we are
443 * lib/config.guess, lib/texinfo.tex: New upstream versions.
445 * doc/automake.texi (LIBOBJS): Spelling and grammar corrections
446 from Ralf Wildenhues.
448 2004-10-31 Alexandre Duret-Lutz <adl@gnu.org>
450 * doc/automake.texi (LIBOBJS): Augment with an example setup.
451 (LTLIBOBJ): Rename as ...
452 (LTLIBOBJS): ... this. Link to LIBOBJS, and mention LTALLOCA.
454 2004-10-25 Alexandre Duret-Lutz <adl@gnu.org>
456 * doc/automake.texi: Untabify, tabs in the examples are poorly
458 * Makefile.am (maintainer-check): Grep tabs in the manual.
460 * tests/comment8.test: Use $MAKE, not make.
462 2004-10-24 Alexandre Duret-Lutz <adl@gnu.org>
464 * tests/distcom3.test: Typo.
466 2004-10-22 Alexandre Duret-Lutz <adl@gnu.org>
468 * doc/automake.texi (Libtool Convenience Libraries): Explain how
469 to force the linker selection.
471 * lib/install-sh: Fix the dirname emulation to ignore trailing
472 slashes, i.e., the direname of `a/b/' is `a', not `a/b/'. This
473 caused `install-sh a/b/' to fail.
474 * tests/instsh2.test: Augment.
475 Report from Пухальский Юрий Андреевич.
477 2004-10-21 Alexandre Duret-Lutz <adl@gnu.org>
479 * automake.in (get_object_extension): The extension to use is know
480 by the caller, and cannot be selected by looking only at the
481 target name. Simplify this function to simply conditionally
482 prepend $U to the given extension.
483 (handle_programs, handle_libraries, handle_ltlibraries): Hard-code
484 the extension to use. This way Automake won't mistake a program
485 named `foo.la' as a libtool library.
486 * tests/primary3.test: New file.
487 * tests/Makefile.am (TESTS): Add primary3.test.
489 2004-10-12 Alexandre Duret-Lutz <adl@gnu.org>
491 * doc/automake.texi (Install): Link to node Extending for examples.
492 (Extending): More comments about install-data-hook vs
493 install-exec-hook, and link to Install.
495 * configure.ac: Export @am_AUTOCONF@.
496 * tests/defs.in (AUTOCONF): Define as @am_AUTOCONF@, not @AUTOCONF@,
497 so the test suite runs `autoconf' and not `missing --run autoconf'.
498 * tests/missing.test, tests/missing2.test: Arrange for missing
499 to be used in front of autoconf even if the user has exported
500 AUTOCONF. This fixes two spurious failures reported by
503 * lib/compile: Handle output.obj in addition to output.o.
504 * tests/compile.test: Check for this.
506 2004-10-11 Alexandre Duret-Lutz <adl@gnu.org>
508 * doc/automake.texi (Sources): Typo, reported by Karl Berry.
510 2004-10-10 Kelley Cook <kcook@gcc.gnu.org> (tiny change)
511 Alexandre Duret-Lutz <adl@gnu.org>
513 * aclocal.in ($ac_defun_rx): Match AC_DEFUN_ONCE.
514 (trace_used_macros): Trace AC_DEFUN_ONCE.
515 * tests/aclocal5.test: Use AC_DEFUN_ONCE.
517 2004-10-10 Stepan Kasal <kasal@ucw.cz> (tiny change)
519 * doc/automake.texi (Extending): Typo.
521 2004-10-10 Martin Waitz <tali@admingilde.org> (tiny change)
523 * m4/as.m4 (AM_PROG_AS): Check dependency tracking mode for CCAS.
524 * automake.in (cppasm): Use the dependency tracking more for CCAS.
525 * doc/automake.texi (Assembly Support): Note that *.S are
526 preprocessed with CPPFLAGS.
528 2004-10-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
530 * automake.in (Languages): Split .s (asm) and .S (cppasm) into
531 separate languages. Make cppasm (Preprocessed Assembler) aware
532 of CPPFLAGS, AM_CPPFLAGS.
533 (handle_languages): Fix typo.
534 (lang_cppasm_rewrite): New function.
536 2004-09-29 Alexandre Duret-Lutz <adl@gnu.org>
538 * tests/subobj9.test: Adjust regexes after previous patch.
540 2004-09-28 Alexandre Duret-Lutz <adl@gnu.org>
542 * automake.in (handle_languages, define_compiler_variable): Output
543 Libtool's --tag= option before --mode=compile, because depcomp use
544 --mode=compile as end marker for libtool arguments.
545 (define_linker_variable): Likewise before --mode=link, for
547 * tests/pr307.test: Make sure dependency files are updated. That
548 was not the case because depcomp thought `--tag=CC' was the
549 compiler to get dependencies from.
550 Report from Пухальский Юрий Андреевич.
552 2004-09-26 Alexandre Duret-Lutz <adl@gnu.org>
554 * configure.ac: Require Perl 5.6.
555 * lib/Automake/Config.in: Require Perl 5.6 (not done in
556 lib/Automake/General.pm because it is shared with Autoconf),
557 and use `our' instead of `use vars'.
558 * aclocal.in (rel2abs): Remove.
559 (scan_configure_dep): Use File::Spec->rel2abs instead.
561 * tests/compile.test, tests/instsh2.test, tests/instspc.test: Use
562 two consecutive spaces in filename instead of one, to catch mistake
563 like `echo $val | ...`.
564 * tests/README: Suggest this.
565 Suggested by Ralf Wildenhues.
567 2004-09-25 Alexandre Duret-Lutz <adl@gnu.org>
569 * doc/automake.texi (Clean): Document -local targets.
571 2004-09-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
573 * doc/automake.texi: Typos.
575 2004-09-21 Alexandre Duret-Lutz <adl@gnu.org>
577 * doc/automake.texi (Timeline): Typos and other English mistakes
578 reported by Jim and Gary.
580 * lib/Automake/VarDef.pm (append): Strip comments from augmented
582 * tests/comment8.test: New file.
583 * tests/Makefile.am (TESTS): Add comment8.test.
584 Report from Stepan Kasal.
586 2004-09-19 Alexandre Duret-Lutz <adl@gnu.org>
588 * tests/compile.test: Fix rm usage.
590 * INSTALL, lib/INSTALL, lib/config.sub, lib/config.guess,
591 lib/texinfo.tex: New upstream versions.
593 * doc/automake.texi (Timeline): New node. Thanks to Karl and Tom
594 for their comments on a preliminary version of this, Akim for
595 digging out some old mails, and Jason Molenda for sending the note
596 about Automake in Alias to Tom.
597 (Releases): Rename `ac' to `acl', suggested by Akim.
599 2004-09-19 Akim Demaille <akim@epita.fr>
601 * AUTHORS, automake.in, aclocal.in: Add Alexandre Duret-Lutz as
604 2004-09-15 Alexandre Duret-Lutz <adl@gnu.org>
606 * doc/automake.texi (Releases): New node.
608 * doc/automake.texi (Dependencies): Link to Dependency Tracking
610 (Dependency Tracking Evolution): Link to GNU make, Sources (for
611 BUILT_SOURCES), and update the paragraph about the "plan" to
612 inline dependency tracking with gcc3.
614 * doc/automake.texi (History): New node.
615 (Dependency Tracking Evolution): New node, filled with a Texinfo
616 version of Tom Tromey's ``Dependency Tracking in Automake''
617 document, initially published on the Automake homepage on
620 2004-09-10 Alexandre Duret-Lutz <adl@gnu.org>
622 * m4/minuso.m4 (AM_PROG_CC_C_O): Make sure AC_PROG_CC is never
623 called after this macro.
624 * tests/distname.test, tests/subdir5.test, tests/subdir8.test,
625 tests/subobj.test, tests/subobj4.test, tests/subobj5.test,
626 tests/subobj6.test: Adjust.
627 Report from Ralf Wildenhues.
629 * lib/Automake/Channels.pm (_print_message): Handle uniq_part with
631 * automake.in (lang_c_rewrite): Set uniq_part so that the
632 AM_PROG_CC_C_O diagnostic is output only once for subdir objects
633 and only once for objects with per-target flags.
635 * automake.in (lang_c_rewrite): Print files and locations
636 for AM_PROG_CC_C_O errors.
637 (handle_single_transform): Pass $var to &$subr so it can
640 * lib/compile, lib/elisp-comp, lib/install-sh, lib/ylwrap: Use $ret
641 instead of $status which is read-only in Zsh.
643 2004-09-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
644 Alexandre Duret-Lutz <adl@gnu.org>
646 * lib/compile: Preserve spaces in arguments (for example
647 -DPACKAGE_STRING="foo 0.1").
648 * tests/compile.test: New file.
649 * tests/Makefile.am (TESTS): Add compile.test.
651 2004-09-07 Alexandre Duret-Lutz <adl@gnu.org>
653 * automake.in (handle_clean): Sort rm commands output for
654 mostlyclean-generic, clean-generic, distclean-generic, and
655 maintainer-clean-generic.
656 Report from Bob Friesenhahn.
658 * automake.in (lang_c_rewrite): Do not require AM_PROG_CC_C_O for
660 (handle_single_transform): Pass nonansi_obj to &$subr so
661 lang_c_rewrite can distinguish libtool objects.
662 * tests/libtool7.test: Use subdir-objects without using AM_PROG_CC_C_O.
663 Report from Gary V. Vaughan and Patrick Welche.
665 2004-09-07 Andreas Schwab <schwab@suse.de>
667 * automake.in ($PATH_PATTERN): Add `+'.
669 2004-09-07 Alexandre Duret-Lutz <adl@gnu.org>
671 * tests/missing3.test: New file (check for Paolo's change below).
672 * tests/Makefile.am (TESTS): Add missing3.test.
674 2004-09-07 Paolo Bonzini <bonzini@gnu.org>
676 * missing: Handle all command line options together. Add a
677 separate case statement to detect failed runs, and fail
678 silently there if --help or --version is passed to the program.
680 2004-08-11 Alexandre Duret-Lutz <adl@gnu.org>
682 * lib/config.guess, lib/texinfo.tex: New upstream versions.
685 * configure.ac (pkgvdatadir): Define using "$PACKAGE", not "automake".
688 * lib/am/yacc.am [!%?MORE-THAN-ONE%]: Replace `#line's in y.tab.h too.
689 * tests/yacc7.test: Check this.
691 2004-08-08 Alexandre Duret-Lutz <adl@gnu.org>
693 * lib/Automake/DisjConditions.pm (new): Precompute 'string' and 'conds'
694 in place instead of as a side-effect of calling ->string and ->conds.
695 This saves method-lookup time, simplify ->string and ->conds, and
696 allows to create the object only when necessary.
697 (string, conds): Simplify, now that the result is precomputed.
699 * automake.in (%am_file_cache): New hash.
700 (make_paragraphs): Cache .am files with comments stripped to save
701 some useless input and substitutions.
703 * lib/Automake/Variable.pm (%_primary_dict): New hash.
704 (_new, variable_delete): Update %_primary_dict.
705 (variables): Accept an optional $suffix argument.
706 * automake.in (check_typos, am_primary_prefixes): Use that
707 optional argument to restrict the loops over the variables we are
710 2004-08-06 Alexandre Duret-Lutz <adl@gnu.org>
712 * lib/Automake/Item.pm (def): Rewrite more concisely, it's faster
715 2004-08-05 Alexandre Duret-Lutz <adl@gnu.org>
717 Speed up make_paragraphs.
718 * automake.in (handle_languages): Always define SUBDIROBJ,
719 DERIVED-EXT, and DIST_SOURCE, because the new transform() will
720 abort on unknown tokens.
721 (transform): Rewrite with different semantics.
722 (make_paragraphs): Make a single pass over the paragraph to
723 transform all template tokens instead of doing as much passes as
726 * automake.in ($libtool_new_api): New variable.
727 (handle_libtool): Do not libtool's aux files if $libtool_new_api.
728 (scan_autoconf_traces) <LT_SUPPORTED_TAG>: Set $libtool_new_api.
729 (scan_autoconf_traces) <AC_REQUIRE_AUX_FILE>: Remember only the
730 first location for required files.
732 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
734 Support AC_REQUIRE_AUX_FILE, and fix requirement of AM_PROG_CC_C_O.
735 * automake.in (%required_aux_file): New hash.
736 (handle_single_transform, lang_c_rewrite): Do not explicitly
737 require 'compile', this is now an internal detail of
739 (scan_autoconf_traces): Trace AC_REQUIRE_AUX_FILE and fill
741 (scan_autoconf_files): Require all %required_aux_file instead
742 of explicitly requiring install-sh and missing.
743 (generate_makefile): Do not require config.sub and config.guess.
744 (handle_single_transform): Pass $have_per_exec_flags to
746 * configure.ac, m4/init.m4: Require Autoconf 2.59a.
747 * doc/automake.texi (Optional): Document AC_REQUIRE_AUX_FILE.
748 (Program and Library Variables, Options, Public macros):
749 AM_PROG_CC_C_O is required when per-target flags or subdir-objects
750 are used with C sources.
751 * m4/minuso.m4: Require `compile' using AC_REQUIRE_AUX_FILE.
752 * m4/missing.m4: Require `missing' similarly.
753 * tests/acsubst2.test, tests/distcom2.test, tests/distcom6.test,
754 tests/specflg.test, tests/specflg2.test, tests/specflg3.test,
755 tests/specflg6.test, tests/specflg7.test, tests/specflg8.test,
756 tests/specflg9.test, tests/subobj7.test, tests/target-cflags.test,
757 tests/yacc6.test: Fix to use AM_PROG_CC_C_O.
759 2004-08-03 Alexandre Duret-Lutz <adl@gnu.org>
761 * automake.in (yacc_lex_finish_helper): Fix definition of YLWRAP
762 when ylwrap is installed in a default aux dir found in a parent
764 * tests/subpkg.test: Augment to check that YLWRAP is installed
766 * doc/automake.texi (Yacc and Lex): ylwrap is not sought is the
768 Report from Norman Gray.
770 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
772 * doc/automake.texi (Optional): Update documentation for
773 AC_CANONICAL_BUILD, AC_CANONICAL_HOST, and AC_CANONICAL_TARGET.
775 * automake.in (AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM): Replace by ...
776 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET): ... these.
777 (scan_autoconf_traces): Scan for the latter three macros instead of
779 (make_paragraphs): Adjust definitions of %BUILD%, %HOST%, and %TARGET%.
780 * tests/hosts.test: New file.
781 * tests/Makefile.am (TESTS): Add hosts.test.
782 Report and test case from Norman Gray.
784 2004-08-01 Alexandre Duret-Lutz <adl@gnu.org>
786 * aclocal.in (scan_file): Update "#Extending%20aclocal" URL, makeinfo
787 4.7 now outputs "#Extending-aclocal".
789 2004-08-01 Alexandre Duret-Lutz <adl@gnu.org>
790 Derek R. Price <derek@ximbiot.com>
792 Disable Lex and Yacc rules whenever possible if AM_MAINTAINER_MODE
793 is used and maintainer-mode disabled.
794 * automake.in (Automake::struct): Define nodist_specific.
795 Set it in languages yacc, yaccxx, lex, and lexxx.
796 (register_language): Default nodist_specific to 0.
797 (handle_single_transform): Honor nodist_specific.
798 * lib/am/yacc.am (am__skipyacc): Define this in maintainer mode.
799 (%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skipyacc) to disable these
801 * lib/am/lex.am (am__skiplex): Define this in maintainer mode.
802 (%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skiplex) to disable these
804 * tests/mmodely.test: New file.
805 * tests/pr204.test: Augment to check AM_MAINTAINER_MODE and nodist_
807 * tests/Makefile.am (TESTS): ADd mmodely.test.
808 * doc/automake.texi (Yacc and Lex): Note dependence on maintainer mode.
810 2004-07-28 Alexandre Duret-Lutz <adl@gnu.org>
812 * configure.ac, NEWS: Bump version to 1.9a.
814 * configure.ac, NEWS: Bump version to 1.9.
816 * automake.in (generate_makefile): Update misleading comment about
819 * lib/texinfo.tex: New upstream version.
821 2004-07-25 Alexandre Duret-Lutz <adl@gnu.org>
823 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Remove `.' from the mkdir_p
824 definition, it causes `make install' to fails for user with no
825 right to write in the source-tree.
826 * automake.in (handle_configure): Do not use mkdir_p in the
827 definition for $(mkdir_p).
828 Report from Harlan Stenn.
830 * lib/am/texi-vers.am (%STAMPVTI%): Typo in comment.
832 2004-07-22 Alexandre Duret-Lutz <adl@gnu.org>
834 * doc/automake.texi (Libtool Modules): Typo in example.
835 Report from Ulrich Eckhardt.
837 2004-07-21 Andreas Schwab <schwab@suse.de> (tiny change)
839 * automake.in (check_directory): Quote $dir in regexp.
841 2004-07-17 Alexandre Duret-Lutz <adl@gnu.org>
843 * configure.ac, NEWS: Bump version to 1.8e.
845 * configure.ac, NEWS: Bump version to 1.8d.
847 * lib/config-ml.in, lib/config.sub, lib/config.guess, lib/texinfo.tex:
848 New upstream versions.
850 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
851 ?!GENERIC?%DEST_PREFIX%.html): Use $(X), not ${X}.
853 * tests/installdir.test: installdirs-local should appear three times,
854 since the change from 2004-07-11 will make it PHONY.
856 * lib/am/distdir.am (distdir): Always use $(DIST_SUBDIRS) now
857 that it is always defined. This is less confusing for users
858 reading the generated Makefiles.
859 * automake.in (handle_dist): Do not substitute DIST_SUBDIR_NAME.
861 * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
862 ?!GENERIC?%DEST_PREFIX%.html): Output .htp, and then rename to .html
863 on success. In case the target is a directory, this ensures its
864 time stamp is updated and the no files are left over inside.
865 * tests/txinfo21.test: Augment to test missing timestamp update
866 reported by Akim Demaille.
868 * doc/automake.texi (Top level): Rename as ...
869 (Directories): ... this, and split into ...
870 (Subdirectories, Conditional Subdirectories): ... these.
871 (Subdirectories): Illustrate the use of `.'.
872 (Conditional Subdirectories): Describe SUBDIRS and DIST_SUBDIRS
873 before the example. Append a discussion about non-configured
874 conditional directories.
875 (Alternative): Move as a child of Directories.
876 (Subpackages): New section.
877 (Dist): Adjust links to Subdirectories, a Subpackages.
878 (Third-Party Makefiles): Link to Conditional Subdirectories.
880 2004-07-14 Alexandre Duret-Lutz <adl@gnu.org>
882 * automake.in (target_hook): Accept %transform as last argument.
883 (handle_single_transform): Pass %transform to target_hook.
884 (handle_source_transform): Define DIST_SOURCE to tell whether
885 a the source of a file is distributed or not.
886 (lang_yacc_target_hook): Check DIST_SOURCE, and do not distribute
887 the generated header if the .y source is not distributed.
888 * tests/pr204.test: Use AM_YFLAGS = -d and make sure generated
889 headers are not distributed.
891 2004-07-12 Simon Josefsson <jas@extundo.com> (tiny change)
893 * doc/automake.texi (Options): Improve ustar file name length
894 discussion. Reference tar manual.
896 2004-07-12 Ray Simard <rhs.techlists@sylvan-glade.com> (tiny change)
898 * lib/Automake/Variable.pm (define): Fix precondition check.
900 2004-07-11 Alexandre Duret-Lutz <adl@gnu.org>
903 Support for conditionally defined -hook and -local rules.
904 * automake.in (user_phony_rule): New function.
905 (handle_dist, handle_install, handle_all, do_check_merge_target,
906 handle_factored_dependencies): Use user_phony_rule before
907 adding a user -hook or -local rule as a dependency to ensure
908 it is always defined an phony.
909 * tests/cond37.test, tests/condhook.test: New files.
910 * tests/Makefile.am (TESTS): Add them.
911 Report from Simon Josefsson and Nik A. Melchior.
913 2004-07-05 Paul Eggert <eggert@cs.ucla.edu>
915 * doc/automake.texi (Install): Warn that you should create
916 /tmp/staging before installing into it, to avoid security problems.
917 * lib/install-sh: Remove support for -b= and -t= options; this
918 has been moribund for a decade.
919 Add support for -t and -T options (new in coreutils install).
920 -c option now does nothing (the default is to copy), for
921 compatibility with BSD and coreutils 'install'.
922 Fix usage message; it referred to nonexistent variables.
923 Don't assume 'lasterr' is unset in environment.
924 * tests/instsh2.test: Don't assume that install-sh without -c
925 moves (it now copies). Add tests for new -t and -T options.
927 2004-06-16 Alexandre Duret-Lutz <adl@gnu.org>
929 For Debian Bug#254372:
930 * doc/automake.texi (Invoking aclocal): Rewrite the paragraph
931 explaining m4_include is used for relative files.
933 2004-06-10 Alexandre Duret-Lutz <adl@gnu.org>
935 For Debian Bug #251820:
936 * aclocal.in (scan_file): Keep track of the location where each
937 file is included, and display it when reporting a missing file.
938 Pass this location to scan_file as a second argument.
939 (scan_m4_files): Adjust calls to scan_file.
940 * tests/acloca14.test: Add a test for this diagnostic.
942 2004-06-07 Alexandre Duret-Lutz <adl@gnu.org>
944 * m4/tar.m4 (_AM_PROG_TAR): Split the definition of $_am_tools
945 so it works with Solaris and Tru64 /bin/sh.
946 Report from Nicolas Joly.
948 2004-06-06 Alexandre Duret-Lutz <adl@gnu.org>
950 * m4/tar.m4 (_AM_PROG_TAR): Introduce $_am_tools to work around a
951 bug in NetBSD /bin/sh.
952 Report from Nicolas Joly.
954 2004-06-03 Alexandre Duret-Lutz <adl@gnu.org>
956 * tests/defs.in (required=icc): Use `-V -help' instead of
957 `-V -dryrun'. icc 8.0 fails on the latter.
958 * tests/depcomp5.test: Require depmode=icc for icc 7.x, and
959 depmod=gcc otherwise.
960 Report from Ralf Wildenhues.
962 * lib/am/clean.am (distclean-generic): Do no
963 `rm -f $(CONFIG_CLEAN_FILES)' if `$(CONFIG_CLEAN_FILES)' is empty.
964 Report from Nicolas Joly.
966 2004-05-31 Alexandre Duret-Lutz <adl@gnu.org>
968 * NEWS: Make clearer that we do not output partial Makefile.ins on
970 Suggested by Akim Demaille.
972 * lib/depcomp (tru64) [libtool]: Use $dir$base.o.d instead
973 of $dir.libs/$base.o.d. Libtool 1.5 causes both to be output,
974 and we will clean the second automatically during distclean.
975 Using the latter and leaving the former as we did before cause
976 "files left in build directory" failures during distcheck.
977 Suggested by Nicolas Joly.
979 * doc/automake.texi (Built sources example): Explain what
980 nodist_foo_SOURCES is (not) useful to, and use it in all the
982 (Tags): Mention nodist_noinst_HEADERS and nodist_prog_SOURCES.
983 Suggested by Akim Demaille.
985 2004-05-23 Alexandre Duret-Lutz <adl@gnu.org>
987 * configure.ac, NEWS: Bump version to 1.8c.
989 * configure.ac, NEWS: Bump version to 1.8b.
991 * m4/tar.m4 (_AM_PROG_TAR) <cpio>: Specify -o and -i option first,
992 by POSIX; and use option -d in am_untar.
994 * tests/defs.in (PATH): Export it.
996 * lib/am/multilib.am: Add $(MAKE) comments to multido and
997 multiclean lines, to enable parallel make. Based on a patch
998 by Alexandre Oliva applied to newlib on 2003-10-15.
1000 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
1002 * automake.in (scan_autoconf_traces): Trace for LT_SUPPORTED_TAG
1003 instead of AC_LIBTOOL_TAGS, since that how CVS Libtool has been
1005 * tests/libtool3.test: Do not grep for --tag=CC, since CVS
1006 Libtool (unlike Libtool 1.5) does not has any CC tag.
1008 * tests/tar2.test: Skip the test if no pax archiver were found.
1010 * NEWS: Sync with branch-1-8, and reorganize current entry.
1012 * automake.in (handle_libraries): Make the diagnostic about
1013 non standard libraries a warning in foreign packages. This
1014 is already the case in handle_ltlibraries.
1015 (handle_libraries, handle_ltlibraries): Suggest a standard
1016 library name in the diagnostic, to help newcomers.
1017 * tests/stdlib.test, tests/stdlib2.test: Check for these
1020 Check directory names for unportable names. Shaking the code
1021 to check this also led to the removal of the no-"/"-in-SUBDIRS
1022 restriction, and a fix to _do_recursive_traversal.
1024 * automake.in (check_directory): New function extracted from
1025 handle_subdirs, and augmented to check for reserved W32/DOS name.
1026 (check_directories_in_var): New function.
1027 (handle_subdirs): Call check_directories_in_var. Doing so also
1028 suppress the restriction that SUBDIRS should not contain slashes.
1029 (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Call check_directory
1030 to ensure the argument exists and is safe.
1031 * doc/automake.texi (Top level): Do not say that src/subdir
1032 cannot be put in SUBDIRS.
1033 (Dist): Mention that distdir and top_distdir can be absolute.
1034 * lib/Automake/Variable.pm (_do_recursive_traversal) Support
1035 undefined $fun_collect, and fix two bugs introduced with
1036 skip_ac_subst on 2004-03-07.
1037 * lib/am/distdir.am (distdir): Use absolute distdir and
1038 top_distdir when recursing, because we can no longer prepend only
1039 `..' in case of SUBDIRS with `/'.
1040 * tests/auxdir4.test, tests/subdir9.test: New files.
1041 * tests/Makefile.am (TESTS): Add auxdir4.test.
1042 * tests/cond2.test, tests/subdir7.test: Augment to check location
1045 2004-05-21 Eric Blake <ebb9@byu.net> (tiny changes)
1047 * tests/txinfo22.test (AC_CONFIG_AUX_DIR): Use aux1, not aux, for
1048 cygwin compatibility.
1049 * tests/yacc6.test (AC_CONFIG_AUX_DIR): Likewise.
1051 * tests/conflnk3.test: Isolate checking for working `test -e' into
1052 a subshell, to skip this test on broken /bin/sh of solaris.
1054 2004-05-17 Alexandre Duret-Lutz <adl@gnu.org>
1056 * m4/cond.m4 (AM_CONDITIONAL): Double-quote diagnostic.
1057 * tests/condd.test: Define a macro with the same name as a
1059 * tests/pr220.test: Modernize, and make sure the diagnostics
1060 contains the macro name.
1061 Report from Volker Boerchers.
1063 2004-05-16 Alexandre Duret-Lutz <adl@gnu.org>
1065 * lib/texinfo.tex: New upstream version.
1067 2004-05-15 Alexandre Duret-Lutz <adl@gnu.org>
1069 * automake.in (handle_dist): Always define DIST_SUBDIRS, even when
1070 the no-dist or cygnus options are used.
1071 * tests/clean2.test: New file.
1072 * tests/Makefile.am (TESTS): Add clean2.test.
1073 Report from Daniel Jacobowitz.
1075 * aclocal.in (add_macro): Do not error out on undefined required
1076 macros. We are not sure they are really used, and Autoconf
1077 already diagnoses them.
1078 (scan_configure_dep): Diagnose missing AM_ macros as warnings rather
1080 * tests/aclocal3.test, tests/ammissing.test: Adjust to expect a
1081 warning instead of an error.
1082 * tests/aclocal8.test: AC_REQUIRE an undefined macro in an unused
1083 macro, and ensure aclocal works anyway.
1084 * tests/acloca17.test: New file.
1085 * tests/error.test: Delete, superseded by tests/acloca17.test.
1086 * tests/Makefile.am (TESTS): Add acloca17.test and remove error.test.
1087 Report from Jim Meyering.
1089 * lib/am/texibuild.am (?!GENERIC_INFO?%DEST_INFO_PREFIX%%DEST_SUFFIX%):
1090 Fold a few lines to reduce the output by 5 lines.
1091 Suggested by Karl Berry.
1093 * automake.in (parse_arguments, MAIN): Give more precise
1094 diagnostics when no input file is found.
1095 * tests/output5.test: Adjust.
1096 Suggested by Jens Petersen.
1098 2004-05-14 Alexandre Duret-Lutz <adl@gnu.org>
1100 * lib/am/libs.am (AR, ARFLAGS): Move these definition ...
1101 * automake.in (handle_libraries): ... here, so that they are
1102 output even for EXTRA_LIBRARIES.
1103 * tests/ar2.test: New file.
1104 * tests/Makefile.am (TESTS): Add it.
1105 Report from Kevin Ryde.
1107 2004-05-13 Alexandre Duret-Lutz <adl@gnu.org>
1109 * automake.in (generate_makefile): Do not output Makefile.in on
1111 * tests/werror2.test: New file.
1112 * tests/Makefile.am (TESTS): Add werror2.test.
1113 * tests/substtarg.test, tests/cond36.test, tests/backsl4.test:
1114 Adjust to run automake with -Wno-error when the output is expected
1115 in spite of the error.
1116 Report from Harlan Stenn.
1118 * doc/automake.texi (Program and Library Variables): Remove
1119 doubled word in footnote.
1121 * automake.in (handle_source_transform): Also check for a
1122 $(srcdir)/old_source rule when computing the default source name.
1123 Propagate this $(srcdir) prefix in Automake variables.
1124 * tests/ltlibsrc.test (noinst_LTLIBRARIES): Explicitly refer to
1125 $(srcdir)/zoo_d_old2_la.c. This fixes another failure with BSD Make.
1127 2004-05-13 Paul Eggert <eggert@cs.ucla.edu>
1129 * Makefile.am (fetch): Work even with FreeBSD "make", which
1130 uses sh -e and thus errors-out if a simple-command fails.
1131 * lib/am/check.am (check-TESTS): Likewise.
1132 * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Likewise.
1133 * lib/am/tags.am (TAGS): Likewise.
1135 2004-05-13 Alexandre Duret-Lutz <adl@gnu.org>
1137 * tests/lex3.test, tests/yacc6.test: Require GNU Make.
1138 Fixing these for BSD Make requires invasive changes (lexers and
1139 parsers must be built into $srcdir, and--most annoyingly--all
1140 references to parse.h must be changed to $(srcdir)/parse.h).
1141 Report from Mark D. Baushke.
1143 2004-05-10 Alexandre Duret-Lutz <adl@gnu.org>
1145 * tests/defs.in (GNUmake): Grep for GNU to parry FreeBSD make.
1146 Report from Mark D. Baushke.
1148 2004-04-25 Alexandre Duret-Lutz <adl@gnu.org>
1150 * lib/texinfo.tex: New upstream version.
1152 * lib/depcomp (tru64): Clarify comments. Thanks to Nicolas Joly.
1154 * doc/automake.texi (Headers): Revamp.
1156 2004-04-24 Alexandre Duret-Lutz <adl@gnu.org>
1158 * automake.in (check_typos): Clarify the diagnostic.
1159 * tests/warnopts.test: Adjust.
1161 * lib/Automake/VarDef.pm (append): Turn VAR_ASIS variables into
1162 VAR_PRETTY variables to work around make implementation with
1163 limited line length, such as OSF1/Tru64 make.
1164 * tests/longline.test: New file.
1165 * tests/Makefile.am (TESTS): Add it.
1166 * tests/pluseq3.test, tests/pluseq8.test: Adjust.
1167 Report from Simon Josefsson.
1169 * lib/am/tags.am (TAGS): Pass `.' to Exuberant Ctags if
1170 --etags-include is used but no other files are supplied, so it
1171 creates the TAGS file anyway.
1172 Report from Akim Demaille.
1174 * lib/depcomp (tru64) [libtool]: Nicolas Joly reported on
1175 2002-06-12 that dependencies were output in $dir.libs/$base.lo.d.
1176 Teun Burgers reported on 2004-03-30 they were in
1177 $dir.libs/$base.o.d. Try both.
1179 2004-04-23 Alexandre Duret-Lutz <adl@gnu.org>
1181 For PR automake/414:
1182 Introduce option filename-length-max=99.
1183 * doc/automake.texi (Options): Document it.
1184 * configure.ac (AM_INIT_AUTOMAKE): Use it.
1185 * lib/Automake/Options.pm (_process_option_list): Recognize it.
1186 * automake.in (handle_dist): Set FILENAME_FILTER.
1187 * lib/am/distdir.am (distdir) [FILENAME_FILTER]: Diagnose long
1189 * tests/fn99.test: New file.
1190 * tests/Makefile.am (TESTS): Add fn99.test.
1192 2004-04-20 Alexandre Duret-Lutz <adl@gnu.org>
1194 For PR automake/414:
1195 Introduce options tar-v7, tar-ustar, and tar-pax to select
1197 * doc/automake.texi (Options): Document them.
1198 * lib/Automake/Options.pm (_process_option_list): Process
1200 * lib/am/distdir.am (dist-gzip, dist-bzip2, dist-tarZ, dist,
1201 distcheck): Adjust to use am__tar and am__untar.
1202 * m4/tar.m4: New file.
1203 * m4/Makefile.am (dist_m4data_DATA): Add tar.m4.
1204 * m4/init.m4 (AM_INIT_AUTOMAKE): Support the new options
1205 and call _AM_PROG_TAR.
1206 * tests/tar.test, tests/tar2.test, tests/tar3.test: New files.
1207 * tests/Makefile.am (TESTS): Add them.
1209 2004-04-18 Alexandre Duret-Lutz <adl@gnu.org>
1211 * lib/am/distdir.am (distcheck): Typo in shar decompression.
1213 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1216 2004-04-17 Alexandre Duret-Lutz <adl@gnu.org>
1219 * automake.in (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Diagnose
1220 calls to AC_CONFIG_AUX_DIR followings calls to AM_INIT_AUTOMAKE.
1221 * tests/auxdir.test, tests/auxdir2.test, tests/lex5.test,
1222 tests/mdate3.test, tests/multlib.test, tests/reqd2.test,
1223 tests/symlink.test, tests/txinfo8.test, tests/txinfo22.test,
1224 tests/yacc6.test, tests/yacc8.test: Fix to call AC_CONFIG_AUX_DIR
1225 before AM_INIT_AUTOMAKE.
1226 * tests/auxdir3.test: New file (exercise this diagnostic).
1227 * tests/Makefile.am (TESTS): Add auxdir3.test.
1229 2004-04-15 Alexandre Duret-Lutz <adl@gnu.org>
1231 * aclocal.in (%map_traced_defs): New variable.
1232 (scan_m4_files): Normalize filenames.
1233 (trace_used_macros): Trace for AC_DEFUN and AU_DEFUN, also
1234 ask for the filename and the first argument. Populate
1236 (write_aclocal): Use $map_traced_defs to filter out unused
1238 * tests/acloca16.test: New file.
1239 * tests/Makefile.am (TESTS): Add acloca16.test.
1241 2004-04-12 Alexandre Duret-Lutz <adl@gnu.org>
1243 * automake.in ($automake_needs_to_reprocess_all_files): Remove.
1244 ($automake_will_process_aux_dir): New variable.
1245 (scan_autoconf_traces): Reorder @input_files so that the Makefile
1246 that distributes aux files is processed last. This way we do not
1247 have to process all files twice using
1248 $automake_will_process_aux_dir.
1249 (require_file_internal): Suggest a full run of automake when
1251 (MAIN): Remove the loop on $automake_needs_to_reprocess_all_files.
1252 * tests/distcom7.test: New file.
1253 * tests/reqd2.test: Do not check for the "running more than two"
1255 * tests/Makefile.am (TESTS): Add distcom7.test.
1257 * automake.in (@config_aux_path, $config_aux_dir): Rename as ...
1258 ($config_aux_dir, $am_config_aux_dir): ... these.
1259 ($config_aux_dir_set_in_configure_in): Rename as ...
1260 ($config_aux_dir_set_in_configure_ac): ... this.
1261 (%require_file_found): Rename as ...
1262 (%required_file_not_found): ... this.
1263 (handle_languages, handle_texinfo_helper, handle_dist,
1264 handle_configure, handle_emacs_lisp, handle_python,
1265 scan_autoconf_traces, yacc_lex_finish_helper): Adjust to new names.
1266 (scan_autoconf_traces): Call locate_aux_dir.
1267 (locate_aux_dir): New function.
1268 (@require_file_paths): Remove, not used anymore.
1269 (require_file_internal): Look files in only one directory (instead
1270 of @require_file_internal) passed in argument.
1271 (require_file, require_conf_file): Pass the destination directory
1272 to require_file_internal.
1274 Fix for PR automake/416:
1275 * m4/depend.m4 (_AM_DEPENDENCIES): Catch `not supported' ICC 8.0
1277 From Peter Seiderer.
1279 2004-04-10 Andreas Buening <andreas.buening@nexgo.de>
1281 * aclocal.in, automake.in, configure.ac, Makefile.am,
1282 tests/aclocal.in, tests/automake.in, tests/defs.in:
1283 Use PATH_SEPARATOR from autoconf instead of ':'.
1285 2004-04-09 Alexandre Duret-Lutz <adl@gnu.org>
1287 * automake.in (handle_lib_objects): Pass the condition of
1288 the variable definition to handle_LIBOBJS and handle_ALLOCA,
1289 not the aggregated conditions.
1290 * tests/Makefile.am (TESTS): Add libobj14.test.
1291 * tests/libobj14.test: New file.
1292 Report from Bill Davidson.
1294 2004-04-02 Mike Nolta <mike@nolta.net>
1296 Better support for Fortran 9x.
1297 * automake.in: Add "fc" and "ppfc" languages for Fortran 9x.
1298 * doc/automake.texi (Fortran 9x Support): New section.
1299 * lib/Automake/Variable.pm (%_ac_macro_for_var): Add AC_PROG_FC.
1300 * tests/compile_f90_c_cxx.test: New file.
1301 * tests/ext.test: Add AC_PROG_FC.
1302 * tests/f90only.test: New file.
1303 * tests/link_f90_only.test: New file.
1304 * tests/Makefile.am (TESTS): Add new tests.
1306 2004-04-01 Paul Eggert <eggert@twinsun.com>
1308 * lib/install-sh: If "mv -f" works, use it, and fall back to
1309 the old "test -f" + "rm -f" + "mv" method only if "mv -f" does
1310 not work. This improves performance in the usual case where
1311 "mv -f" works. It also lets us install the "mv" command
1312 without worrying about a small window where "mv" does not
1313 exist (this problem was reported by Raul Nunez de Arenas
1316 2004-03-26 Alexandre Duret-Lutz <adl@gnu.org>
1318 * m4/python.m4 (AM_PATH_PYTHON): Make sure am_display_PYTHON is
1319 set when $PYTHON has been set by the user.
1320 From Esben Haabendal Soerensen.
1322 2004-03-22 Alexandre Duret-Lutz <adl@gnu.org>
1324 * doc/automake.texi (Default _SOURCES): Typo.
1325 (true): Correct _'s placement in example.
1326 Report from Stepan Kasal.
1328 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
1330 Overriding JAVAROOT is legitimate, do not warn about it.
1331 * lib/Automake/Variable.pm (%_silent_variable_override): Add JAVAROOT.
1332 * tests/java2.test: Run automake without -Wno-override.
1333 Report from Simon Josefsson.
1335 2004-03-14 Alexandre Duret-Lutz <adl@gnu.org>
1337 * automake.in (handle_texinfo_helper): Typos in comment.
1339 2004-03-07 Alexandre Duret-Lutz <adl@gnu.org>
1341 * lib/config.guess: New upstream version.
1343 Fix for PR automake/285:
1344 * automake.in (handle_ltlibraries): Keep track of installation
1345 directories for each condition, then define a $(am_TARGET_rpath)
1346 variable to hold the -rpath flags of Libtool libraries conditionally
1347 installed in different directories.
1348 * lib/Automake/DisjConditions.pm (merge): New function.
1349 * tests/libtool6.test: Adjust.
1350 * tests/libtool8.test: New file.
1351 * tests/Makefile.am (TEST): Add libtool8.test.
1353 * lib/Automake/Variable.pm (traverse_recursively,
1354 _do_recursive_traversal): Honor the skip_ac_subst option.
1355 * automake.in (handle_dist): Use skip_ac_subst.
1357 2004-02-29 Alexandre Duret-Lutz <adl@gnu.org>
1359 * Makefile.am (cvs-release): Upload to ~ftp/pub/automake, not
1361 * lib/gnupload (Example): Update example.
1363 * lib/config-ml.in, lib/config.guess, lib/config.sub,
1364 lib/texinfo.tex: New upstream versions.
1366 * m4/depend.m4 (_AM_DEPENDENCIES): Use `touch' rather than `: >'
1367 to create numbered dependencies. This fixes a portability issue
1368 when CONFIG_SHELL is forced to /bin/sh on Solaris 8.
1369 Reported by Mark Phillips.
1371 * automake.in (lang_yacc_target_hook): Use Automake::Rule::define
1372 so that rules for the same headers are not output twice.
1373 * lib/Automake/Variable.pm (value_as_list_recursive): Do not
1374 call `return' inside `map'.
1375 * tests/cond30.test: Make sure `a.c' and `b.c' both appear
1377 * tests/cond35.test, tests/cond36.test: New files.
1378 * tests/Makefile.am (TESTS): Add cond35.test and cond36.test.
1379 Report from Roman Fietze.
1382 * lib/am/distdir.am (distcheck): Create $dc_destdir with `umask
1383 077 && mkdir' instead of `$(mkdir_p)'. This prevents possible
1384 symlink attacks reported by Stefan Nordhausen.
1386 2004-02-16 Alexandre Duret-Lutz <adl@gnu.org>
1388 * doc/automake.texi (Multiple Outputs): More text, based on
1389 comments from Eric Siegerman, Tim Van Holder, and Oren Ben-Kiki.
1391 2004-02-15 Alexandre Duret-Lutz <adl@gnu.org>
1393 * m4/mkdirp.m4: Use `mkdir -p' only with GNU mkdir, because
1394 Solaris 8's mkdir is not thread-safe.
1395 * lib/mkinstalldirs: Likewise.
1396 * lib/install-sh: Abort when mkdir fails to create a directory.
1397 Report from Nathanael Nerode.
1399 2004-02-07 Alexandre Duret-Lutz <adl@gnu.org>
1401 * aclocal.in (rel2abs): New function.
1402 (scan_configure_dep): Use rel2abs instead of File::Spec->rel2abs,
1403 the later does was introduced in Perl 5.6 so using it breaks with
1405 Report from Werner John.
1407 2004-02-03 Alexandre Duret-Lutz <adl@gnu.org>
1409 * doc/automake.texi (Future of aclocal): Make clearer that
1410 it's ok to install macros into /usr/share/aclocal/.
1412 2004-02-01 Alexandre Duret-Lutz <adl@gnu.org>
1414 * tests/lisp.test: Delete (pointless).
1415 * tests/Makefile.am (TESTS): Remove lisp.test.
1417 * lib/Automake/Variable.pm (transform_variable_recursively):
1418 Define rewritten variables in all conditions not *covered* by user
1419 definitions, not simply in conditions without a previous
1421 * tests/cond34.test: New file.
1422 * tests/Makefile.am (TESTS): Add cond34.test.
1423 Report from Elena A. Vengerova
1425 * doc/automake.texi (Multiple Outputs): Typo.
1427 * doc/automake.texi (Emacs Lisp): Typos.
1429 Support for conditional _LISP.
1430 * automake.in (handle_emacs_lisp): Define $(ELCFILES) from LISP, not
1431 from $(am__ELCFILES).
1432 * lib/am/lisp.am (elc-stamp): Use $(LISP) instead of $(am__ELFILES).
1433 * tests/lisp6.test: New file.
1434 * tests/Makefile.am (TESTS): Add it.
1436 * automake.in (handle_emacs_lisp): Define $(ELCFILES) as
1437 $(am__ELCFILES), and always push it on @all. Do not mention
1439 * lib/am/lisp.am (.el.elc): Rewrite as ...
1440 ($(am__ELCFILES)): ... this, and depend on elc-stamp.
1441 (elc-stamp): Make sure elc-stamp is older that all .elc files, as
1442 explained in the manual entry below.
1444 * doc/automake.texi (Multiple Outputs): New node.
1446 2004-01-31 Alexandre Duret-Lutz <adl@gnu.org>
1448 * m4/regex.m4: Do not AC_SUBST(LIBOBJS), and quote most arguments.
1449 * tests/regex.test: New file.
1450 * tests/Makefile.am (TESTS): Add regex.test.
1452 2004-01-28 Alexandre Duret-Lutz <adl@gnu.org>
1454 * Makefile.am (maintainer-check): Check for unquoted $(DESTDIR) uses.
1455 * lib/am/data.am, lib/am/distdir.am, lib/am/java.am, lib/am/libs.am,
1456 lib/am/lisp.am, lib/am/ltlib.am, lib/am/mans.am, lib/am/progs.am,
1457 lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Quote
1458 installation paths in install, uninstall, and installcheck rules,
1459 as well as in am__installdirs variables. This is for the sake
1460 of paths containing spaces.
1461 * lib/am/install.am (installdirs-am, installdirs): Do not try
1462 to create "" directories.
1463 * test/instspc.test: New file.
1464 * test/Makefile.am (TESTS): Add instspc.test.
1465 Report from James Amundson.
1467 * doc/automake.texi (Not Enough, Third-Party Makefiles): New nodes.
1468 (Extending): Make it a subsection of Not Enough.
1470 * lib/gnupload (GPG): Use an absolute path. Suggestion from Gary
1472 (passphrase): Unset it this variable before using it, in case it
1473 was exported. Report from Scott James Remnant.
1475 2004-01-25 Alexandre Duret-Lutz <adl@gnu.org>
1477 * lib/gnupload (usage): Fix example.
1478 * Makefile.am (cvs-release): Fix call to gnupload.
1481 2004-01-24 Alexandre Duret-Lutz <adl@gnu.org>
1483 * lib/gnupload: New script.
1484 * lib/Makefile.am (EXTRA_DIST): Distribute gnupload.
1485 * Makefile.am (cvs-release): New target.
1487 2004-01-23 Alexandre Duret-Lutz <adl@gnu.org>
1489 * lib/am/python.am (uninstall-%DIR%PYTHON): Remove extra `;'s.
1492 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use `s/xx//p'
1493 instead of `/xx/ s///p'; the latter fails when GNU sed is run with
1494 POSIXLY_CORRECT. Also strip superfluous -e.
1495 Report from Miloslav Trmac.
1497 2004-01-22 Alexandre Duret-Lutz <adl@gnu.org>
1499 * tests/lex5.test: Sleep before calling AUTOMAKE the second time,
1500 this fixes a spurious failure reported by Andreas Schwab. Also
1501 make sure ylwrap is not installed unless needed, and exercise
1504 2004-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
1506 * doc/automake.texi (Dist): Document limitations of distcheck-hook
1507 and DISTCHECK_CONFIGURE_FLAGS with regard to subdirs and
1510 2004-01-20 Alexandre Duret-Lutz <adl@gnu.org>
1512 * doc/automake.texi (Upgrading): New node.
1514 2004-01-20 Gary V. Vaughan <gary@gnu.org>
1516 * automake.in (scan_autoconf_traces): AC_LIBTOOL_TAGS can be
1517 correctly called without arguments as evidenced by the libtool
1520 2004-01-13 Alexandre Duret-Lutz <adl@gnu.org>
1522 * tests/conflnk3.test: Skip if `test -e' does not work.
1523 Report from Lars Hecking.
1525 2004-01-13 Jim Meyering <jim@meyering.net>
1527 * lib/install-sh: Change `\n \t' to `\n\t ' in `defaultIFS'
1528 assignment. Remove spurious SPACEs before TABs.
1530 2004-01-12 Alexandre Duret-Lutz <adl@gnu.org>
1532 * lib/py-compile: Check input files after option processing.
1533 Ensure --basedir has an argument.
1534 * lib/am/python.am (install-%DIR%PYTHON): Do not run py-compile
1535 if nothing was installed.
1536 * tests/python10.test: New file.
1537 * tests/Makefile.am (TESTS): Add python10.test.
1538 Suggested by Sander Niemeijer.
1540 * tests/txinfo29.test: Remove autom4te.cache.
1541 Report from Greg Schafer.
1543 * lib/install-sh: Do not use "$@" in a context where it may be empty,
1544 for the sake of OSF1/Tru64's shell.
1547 2004-01-11 Alexandre Duret-Lutz <adl@gnu.org>
1549 * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
1552 * m4/as.m4, m4/depend.m4, m4/maintainer.m4, m4/multi.m4: Update
1553 copyright years and serial.
1555 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.4.
1557 2004-01-10 Peter Eisentraut <peter_e@gmx.net> (tiny change)
1559 * m4/as.m4 (AM_PROG_AS): Format and align help string more
1561 * m4/depend.m4 (AM_DEP_TRACK): Likewise.
1562 * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
1563 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
1564 * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise.
1566 2004-01-10 Paul Eggert <eggert@twinsun.com>
1568 * m4/lispdir.m4 (AM_PATH_LISPDIR): Don't use \? in sed regular
1569 expressions; it doesn't conform to POSIX.
1571 2004-01-10 Alexandre Duret-Lutz <adl@gnu.org>
1573 * automake.in (shadow_unconditionally): New function...
1574 (handle_source_transform): ... extracted from here.
1575 (am_install_var): Use shadow_unconditionally to define %DISTVAR%.
1576 * lib/am/data.am, lib/am/java.am, lib/am/lisp.am, lib/am/python.am,
1577 lib/am/script.am: Add %DISTVAR% to DIST_COMMON.
1578 * tests/cond33.test: Make sure all conditional files are distributed.
1579 Report from Ralf Corsepius.
1581 2004-01-08 Alexandre Duret-Lutz <adl@gnu.org>
1583 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Append `.' to $(mkdir_p).
1584 * lib/install-sh: Accept `install-sh -d' with 0..n arguments,
1585 as well as `install-sh sources... dest' with multiple sources.
1586 * tests/cond33.test: New file.
1587 * tests/instsh2.test: Add more checks for install-sh.
1588 * tests/transform.test: Test for installdirs.
1589 * tests/Makefile.am (TESTS): Add cond33.test
1590 Report from Ralf Corsepius.
1592 * automake.in (handle_configure): Skip AC_CONFIG_LINKS items which
1593 do not look like DEST:SRC.
1594 * tests/conflnk3.test: Check for AC_CONFIG_LINKS($computed).
1596 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
1598 Fix for PR automake/289:
1599 * automake.in (Automake::Struct::libtool_tag): New attribute. Define
1600 it for the language that have a Libtool tag.
1601 (%libtool_tags): New variable.
1602 (handle_languages, define_compiler_variable)
1603 (define_linker_variable): Pass --tag=XXX to libtool if supported.
1604 (scan_autoconf_traces): Scan for _LT_AC_TAGCONFIG and AC_LIBTOOL_TAGS.
1605 * tests/libtool3.test, tests/subobj9.test: Check that --tag=XXX is
1608 2003-01-07 Eric Sunshine <sunshine@sunshineco.com> (tiny change)
1610 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
1611 config.status.lineno.
1613 2004-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
1615 * doc/automake.texi (Rebuilding): Typo.
1617 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
1619 * lib/am/Makefile.am (dist_am_DATA): Really add inst-vars.am.
1621 2004-01-06 Alexandre Duret-Lutz <adl@gnu.org>
1623 * THANKS: Add Bruce Korb.
1625 2004-01-05 Alexandre Duret-Lutz <adl@gnu.org>
1627 Mimic Paul Eggert's changes to Autoconf.
1628 * Makefile.am (automake, aclocal): Use `chmod a-w', not `chmod -w'.
1629 * lib/Automake/Makefile.am (Config.pm): Likewise.
1630 * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Likewise.
1632 * lib/am/inst-vars.am: New file, define am__vpath_adj_setup,
1633 am__vpath_adj, and am__strip_dir.
1634 * lib/am/Makefile.am (dist_am_DATA): Add inst-vars.am.
1635 * lib/am/data.am, lib/am/lisp.am, lib/am/python.am,
1636 lib/am/scripts.am: Include inst-vars.am, and use $(am__vpath_adj),
1637 $(am__vpath_adj_setup), and $(am__strip_dir) in install and
1638 uninstall rules. This fixes installation of nobase_ files in
1639 VPATH setups with Sun and OSF1/Tru64 Make.
1640 * lib/am/libs.am, lib/am/ltlib.am: Include inst-vars.am, and use
1641 $(am__strip_dir) to simplify install and uninstall rules.
1642 * tests/nobase.test: Augment to check installation from VPATH builds.
1644 * automake.in (%transformed_files): New variable.
1645 (initialize_per_input): Reset it.
1646 (make_paragraphs): Fill %transformed_files, and define %FIRST%
1647 each time a file is transformed for the first time.
1648 (handle_configure): Do not define %FIRST_CONFIG_HIN%.
1649 (am_install_var): Do not define %FIRST%.
1650 * lib/am/remake-hdr.am: Use %?FIRST% instead of %?FIRST_CONFIG_HIN%.
1652 2004-01-04 Alexandre Duret-Lutz <adl@gnu.org>
1654 * lib/texinfo.tex: New upstream version.
1656 * m4/mkdirp.m4: Do not use `-m 0755'. This overrides special bits
1657 and break setups where 775 directories are expected. Just obey
1658 umask as we did in the past.
1659 Report from Harlan Stenn.
1661 2004-01-03 Alexandre Duret-Lutz <adl@gnu.org>
1663 * automake.in (scan_texinfo_file): Do not compare $outfile to ''
1664 as $outfile might not be defined at all.
1666 * lib/Automake/Variable.pm (define): Rework the way we check
1667 Automake variable definition. Ensure consistent :=/+=/=
1668 definitions only for variables that have been and are defined by
1669 Automake, and make it an internal error. Ignore Automake
1670 attempts to touch a user variable, even with += assignments.
1671 * tests/txinfo29.test: New file.
1672 * tests/Makefile.am (TESTS): Add txinfo29.test.
1673 Reported by Bruce Korb.
1675 2004-01-02 Tom Tromey <tromey@redhat.com>
1677 * automake.in (handle_source_transform): Don't generate dist
1678 variables when no-dist is set.
1679 (generate_makefile): Likewise.
1680 * tests/nodist3.test: Ensure that DIST_SOURCES is not created,
1681 and that dist target does not exist.
1682 Reported by Tom Fitzsimmons.
1684 2004-01-02 Alexandre Duret-Lutz <adl@gnu.org>
1686 * tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
1687 * tests/ltconv.test: Run automake with --add-missing, because
1688 the CVS version of libtoolize no longer install config.sub and
1689 config.guess by default.
1691 Fix for PR automake/319:
1692 * aclocal.in (scan_m4_files): Scan configure.ac.
1693 (trace_used_macros, write_aclocal): Remove configure.ac from the
1694 list of files to include.
1695 * tests/Makefile.am (TESTS): Add acloca15.test.
1696 * tests/acloca15.test: New file.
1698 * aclocal.in (%file_includes): New variable.
1699 (scan_configure_dep): Compile $m4_include_rx and $ac_require_rx once.
1700 (scan_file): Scan for included files, and process these files
1701 recursively. Fill %file_includes and %file_contents. Return the
1702 list of included files, not the contents.
1703 (scan_m4_files): Adjust calls to scan_files.
1704 (strip_redundant_includes): New function.
1705 (trace_used_macros): Call it.
1706 (write_aclocal): Likewise. Also check the mtime of included files.
1707 * tests/Makefile.am (TESTS): Add acloca14.test.
1708 * tests/acloca14.test: New file.
1709 Report from Phil Edwards.
1711 2004-01-01 Alexandre Duret-Lutz <adl@gnu.org>
1713 * automake.in (handle_languages): Do not define DEP_FILES.
1714 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Extract included
1715 files with $(DEPDIR) in their name instead of DEP_FILES.
1716 * tests/depend.test, tests/depend4.test, tests/exsource.test:
1718 Suggested by Tom Tromey.
1720 Do not output .lo rules for programs and static libraries objects,
1721 and do not output .o/.obj rules for libtool libraries. This is
1722 about explicit rules only, not inference rules.
1723 * automake.in (handle_single_transform_list): Rename as ...
1724 (handle_single_transform): ... this. Take a single file
1725 to transform (it was only called this way) and accept a new
1726 %transform argument. Fill %lang_specific_files with list
1727 references instead of strings, and append %transform to each
1729 (define_objects_from_sources, handle_source_transform):
1730 Take a %transform argument, and forward it to &handle_single_transform.
1731 (handle_languages): Adjust to the new format of
1732 %lang_specific_files, and honor its %transform part.
1733 (handle_programs, handle_libraries, handle_ltlibraries): Override
1734 %NONLIBTOOL% and %LIBTOOL% while calling handle_source_transform.
1735 (make_paragraphs): Define %NONLIBTOOL% by default. Make sure
1736 %transform settings override global settings.
1737 * lib/am/depend2.am (%OBJ%, %OBJOBJ%): Define only if %NONLIBTOOL%.
1738 * tests/libtool3.test: Augment to check Makefile.ins for unneeded
1740 Suggested by Thomas Fitzsimmons.
1742 * automake.in, aclocal.in: Bump copyright years.
1746 Copyright (C) 2004, 2005 Free Software Foundation, Inc.
1748 This file is part of GNU Automake.
1750 GNU Automake is free software; you can redistribute it and/or modify
1751 it under the terms of the GNU General Public License as published by
1752 the Free Software Foundation; either version 2, or (at your option)
1755 GNU Automake is distributed in the hope that it will be useful,
1756 but WITHOUT ANY WARRANTY; without even the implied warranty of
1757 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1758 GNU General Public License for more details.
1760 You should have received a copy of the GNU General Public License
1761 along with autoconf; see the file COPYING. If not, write to
1762 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1763 Boston, MA 02111-1307, USA.