1 2009-10-01 Stefano Lattarini <stefano.lattarini@gmail.com> (tiny change)
3 Fix recommended way to run automake's test scripts with Zsh.
4 * tests/README (Supported shells): Changed the recommended way
5 to run automake's test scripts with Zsh. Now we tell to use
6 the Zsh's command line option `-o no_function_argzero', not
7 `--no-function-argzero', since the latter does not work with
10 2009-09-18 Peter Johansson <trojkan@gmail.com> (tiny change)
12 Fix link to "Recursive Make Considered Harmful" paper.
13 * doc/automake.texi (Alternative): Fix broken URL.
15 2009-09-11 Reuben Thomas <rrt@sc3d.org> (tiny patch)
17 Fix outdated reference to sh-utils in the manual.
18 * doc/automake.texi (Options): The reference to `sh-utils'
19 should be to `coreutils'.
21 2009-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
23 Avoid sleeping for one second most of the time in sanity check.
24 * m4/sanity.m4 (AM_SANITY_CHECK): Try sanity check first without
25 sleeping for a second, and only if that failed, sleep and try
26 again, to avoid the delay in the common case of a configure
27 script that is older than a second, or a system with sub-second
28 time stamp granularity.
29 Report and different patch by Jim Meyering.
31 2009-09-06 Stefano Lattarini <stefano.lattarini@gmail.com> (tiny change)
33 tests/README: warn about zsh incompatibilities.
34 * tests/README (User interface, Getting details from failures):
35 Explicitly state that every test is a "shell script", not just
36 a "script", and that it's run by `/bin/sh' by default.
37 * tests/README (User interface, Supported shells): New subsection,
38 telling about expected portability of the automake test scripts,
39 describing a zsh incompatibility (w.r.t. $0), and a workaround to
40 it (with the `--no-function-argzero' option).
42 testsuite: fix a minor glitch.
43 * tests/defs.in (exit trap): Use `$me', not `$as_me', as the
44 name of the current test (used in error messages).
47 2009-07-08 Jim Meyering <meyering@redhat.com>
49 manual: fix a trivial grammar error.
50 * doc/automake.texi (Invoking aclocal): Fix grammar.
52 2009-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
54 AM_PROG_GCJ: use AC_CHECK_TOOLS for gcj, for cross compilation.
55 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_TOOLS, rather than
56 AC_CHECK_PROGS, when searching for `gcj'.
60 2009-05-24 Jack Kelly <endgame.dos@gmail.com> (tiny change)
61 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
63 AM_PROG_GCJ currently fails to define OBJEXT and EXEEXT.
64 * tests/gcj6.test: New test.
65 * tests/Makefile.am: Update; mark gcj6.test as XFAIL.
68 2009-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
70 parallel-tests: avoid GNU make 3.80 substitution bug.
71 * lib/am/check.am [PARALLEL_TESTS] (check-TESTS): Remove any
72 `.log' entries from `$(TEST_LOGS)' even if the list is nonempty,
73 to work around GNU make 3.80 substitution reference issue with
74 trailing white space in the variable.
75 * tests/parallel-tests10.test: New test.
76 * tests/parallel-tests6.test: Update comment.
77 * tests/Makefile.am: Update.
79 Report by Bob Friesenhahn.
81 2009-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
83 testsuite: unset installation directory variables.
84 * tests/defs.in: Before test execution, be sure to unset all
85 installation directory variables, so they cannot have an effect
86 on a `make -e install' command within a test.
87 Report by Dagobert Michelsen.
89 testsuite: do not change the mode of installed Libtool files.
90 * tests/defs.in: Do not use `chmod -R' on the test directory, as
91 that may change or try to change the mode of installed files:
92 the test directory may contain symlinks to ltmain.sh files from
93 a Libtool installation, and Solaris `chmod -R' touches symlink
94 targets. Instead, use the cleanup strategy used in distdir.am.
96 Report by Dagobert Michelsen.
98 testsuite: do not fail in cleanup code.
99 * tests/defs.in: Turn off errexit in the cleanup trap, to avoid
100 a test failure due to a nonzero command.
102 Report by Dagobert Michelsen.
104 2009-05-23 Peter O'Gorman <peter@pogma.com>
106 python: do not install in system directories on Darwin 9.
107 On Darwin 9, get_python_lib returns a path below `/Library/Python'
108 regardless of the `prefix' argument it was passed, causing `make
109 install' to target the system directories regardless of `--prefix'
110 argument used. Work around this Darwin bug by ignoring the result
111 of get_python_lib if it points outside of the passed prefix, and
112 the prefix was not a system directory.
113 * m4/python.m4 (AM_PATH_PYTHON): If the prefix does not match the
114 initial portion of the pythondir returned by get_python_lib, then
115 ignore it unless the configured prefix is `/usr' or starts with
116 `/System'. Fixes instmany-python.test failure on Mac OS X 10.5.7.
119 2009-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
121 Clarify how to enable `silent-rules' and other global options.
122 * doc/automake.texi (Options): When introducing options, be more
123 careful to note that not all of them can be specified in
124 AUTOMAKE_OPTIONS statements, and that some do not make sense in
125 subdirectories. Note more prominently that `silent-rules' can
126 only be specified in configure.ac.
127 * lib/Automake/Options.pm (_process_option_list): Improve error
128 message for `silent-rules', `tar-v7', `tar-ustar', `tar-pax'
129 options specified in Makefile.am files.
130 Report by Bruno Haible.
132 2009-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
134 Skip specflg10.test without a C++ compiler.
135 * tests/specflg10.test: Require g++.
136 Report by Thien-Thi Nguyen.
138 2009-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
140 Revert last patch, IRIX has an editor named `jot'.
141 * tests/instmany-mans.test: Do not try `jot'.
142 * tests/instmany-python.test: Likewise.
143 * tests/instmany.test: Likewise.
144 Report by Peter O'Gorman.
146 2009-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
148 testsuite: also try `jot' as `seq' replacement.
149 * tests/instmany-mans.test: Try BSD `jot' before resorting to a
150 slow but portable shell loop.
151 * tests/instmany-python.test: Likewise.
152 * tests/instmany.test: Likewise.
153 Suggestion by Peter O'Gorman.
155 Fix test failure when pkg.m4 is not found, only pkg-config.
156 * tests/vala5.test: Update comment, this test is not expected to
157 fail any more. Require valac version 0.7.0. Skip if configure
158 fails, could be due to unexpanded PKG_CHECK_MODULES or too old
160 Report by Simon Josefsson.
162 2009-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
165 * configure.ac: Bump version to 1.11.
166 * doc/automake.texi (Releases): Add line for 1.11. Remove line
169 Fix maintainer-check failures.
170 * automake.in (lang_vala_finish_target): Use `$(am__cd)' instead
172 * tests/vala2.test: Use `rm -f' instead of `rm'.
174 Revert Automake license to GPLv2+.
175 Automake will move to GPLv3+ once the Exception statement has
176 been rewritten to use the new GPLv3 exception language. This
177 change does not impact the COPYING file that may be installed
178 by `automake --add-missing'.
179 * COPYING: Revert to GPLv2. All uses changed.
182 Rewrite NEWS for 1.11.
183 * NEWS: Rewrite, merging 1.10b and 1.10c entries.
185 Sync auxiliary files from upstream.
186 * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
189 Update release statistics, improve release-stats rule.
190 * Makefile.am (release-stats): Output stderr of pstops in
191 addition to catching it, for better debugging.
192 * doc/automake.texi (Releases): Add line for 1.10.2.
194 Cope with parallel BSD make -jN semantics.
195 When BSD `make -jN' is used without `-B' which enables backwards
196 compatible semantics, it may reuse the same shell for several
197 commands within a rule; so ensure we do not leave it in a
198 different directory, nor `exit 0' early in a multi-command rule.
199 * lib/am/distdir.am (distcheck): After running `distcleancheck',
200 change back to original working directory.
201 * lib/am/remake-hdr.am (%CONFIG_HIN%): Run autoheader in a
203 * lib/am/mans.am (uninstall-man%SECTION%): Do not `exit 0' early
204 in a rule that consists of several shell invocations. Parallel
205 NetBSD `make -jN' without `-B' will use only one shell for all
206 commands, but won't respawn one after `exit 0'. Fixes
207 notrans.test failure.
208 * tests/makej2.test: New test.
209 * tests/Makefile.am: Update.
212 * lib/am/install.am: Fix typo.
214 2009-05-17 Matthias Klose <doko@ubuntu.com> (tiny change)
215 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
217 Let AM_PATH_PYTHON honor python's idea about the site directory.
218 * m4/python.m4 (AM_PATH_PYTHON): When computing pythondir and
219 pyexecdir, pass the expanded prefix resp. exec_prefix as `prefix'
220 to get_python_lib, so python can determine the name of the site
221 directory depending on the install location. Afterwards, replace
222 the directory names with the unexpanded values of $PYTHON_PREFIX
223 resp. $PYTHON_EXEC_PREFIX again, to allow override according to
224 the documentation. Fixes site directory computation for Debian
225 and Ubuntu (`dist-packages' for a prefix of `/usr' or `/usr/local',
226 `site-packages' elsewhere).
227 * NEWS, THANKS: Update.
229 2009-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
231 Vala: for now, require GNU make.
232 * doc/automake.texi (Vala Support): GNU make is currently
233 required for Vala sources.
234 * tests/vala2.test, tests/vala3.test, tests/vala5.test: Require
237 2009-05-17 Jürg Billeter <j@bitron.ch>
239 Vala: Use $(srcdir) in rebuild rules.
240 valac is always run in srcdir as the generated files are distributed.
241 So srcdir needs to be taken into account in the rebuild rules to not
242 wrongly trigger a rebuild in the wrong directory.
243 * automake.in (lang_vala_finish_target): Rebuild files in
245 * tests/vala2.test: Test rebuild rules from VPATH build.
247 Vala: Add and test rebuild rules for generated header and vapi files.
248 valac will generate additional files when using, for example, -H in
249 VALAFLAGS. We need to recognize these options and add appropriate
250 rebuild rules to fix parallel build.
251 * automake.in (lang_vala_finish_target): Recognize -H, -h,
252 --header, --internal-header, --vapi, --internal-api, --gir flags
253 to valac and rebuild rules for generated headers; distribute
254 and maintainer-clean them.
255 * tests/vala2.test: Test rebuild rules.
257 2009-05-17 Jürg Billeter <j@bitron.ch>
258 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
260 Vala: Fix build when using per-target VALAFLAGS.
261 This does not yet implement full per-target support for VALAFLAGS,
262 however, this change at least fixes building when there is only one
263 target per source file, which is the most common situation.
264 * automake.in: Remove `VALAFLAGS' from `flags' in language struct.
265 (lang_vala_finish_target): Handle `*_VALAFLAGS rewriting' manually
266 here; check `VALAFLAGS' user variables.
267 * tests/Makefile.am (XFAIL_TESTS): Remove vala5.test.
268 * doc/automake.texi (Vala Support): Document per-target flag
271 2009-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
274 Document some formatting restrictions for Makefile.am files.
275 * doc/automake.texi (General Operation, Usage of Conditionals):
276 Variable assignments should not be indented by TABs, rule commands
277 should. Conditional keyword statements should not be indented.
281 2009-05-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
283 Fix copyright years in *.am files.
284 * lib/am/check.am, lib/am/check2.am, lib/am/distdir.am,
285 lib/am/program.am, lib/am/tags.am: Fix copyright years.
287 distdir: avoid duplicate `find' traversal with subpackages.
288 * lib/am/distdir.am (distdir) [%?SUBDIRS%]: When recursing, set
290 [%?TOPDIR_P%]: When `$(am__skip_mode_fix)' is set, avoid tree
292 * tests/subpkg4.test: New test, to ensure that we still walk the
293 whole tree while fixing permissions. We don't ensure it is
295 * tests/Makefile.am: Update.
297 Disable test cleanup trap with OSF1/Tru64 sh.
298 * configure.ac: Test whether /bin/sh has working 'set -e'
299 in conjunction with an exit trap. Set $am_cv_sh_errexit_works
300 accordingly, substitute sh_errexit_works, and warn about
301 leftover test directories with broken shells like Tru64 /bin/sh.
302 * tests/defs.in: Do not install any traps with broken shells.
304 2009-05-02 Bruno Haible <bruno@clisp.org>
305 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
307 Recommend *-local hooks without commands, for extensibility.
308 * doc/automake.texi (Clean): Show how to write the clean-local
309 extension with separate phony target.
310 * tests/Makefile.am (clean-local-check): Practice what we preach
311 by marking this phony. For consistency, rename from ...
312 (check-clean-local): ... this.
314 2009-04-28 Eric Blake <ebb9@byu.net>
316 scripts: normalize all timestamps to UTC
317 * lib/compile (scriptversion): Update emacs hook.
318 * lib/depcomp (scriptversion): Likewise.
319 * lib/elisp-comp (scriptversion): Likewise.
320 * lib/gnupload (scriptversion): Likewise.
321 * lib/install-sh (scriptversion): Likewise.
322 * lib/mdate-sh (scriptversion): Likewise.
323 * lib/missing (scriptversion): Likewise.
324 * lib/mkinstalldirs (scriptversion): Likewise.
325 * lib/py-compile (scriptversion): Likewise.
326 * lib/ylwrap (scriptversion): Likewise.
328 2009-04-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
330 silent-rules: fix alignment of less verbose output.
331 * automake.in (define_verbose_var): Define `$silent_var' as
332 VAR_ASIS, not VAR_PRETTY, to avoid squashing of multiple
334 * tests/silent.test: Amend test.
335 Report by Jan Engelhardt.
337 2009-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
339 manual: fix trivial grammar errors.
340 * doc/automake.texi (Subpackages, Vala Support, Java)
341 (Checking the Distribution, Timeline): Fix `a' vs. `an' errors
343 Report by Eric Blake.
345 Indent rule commands consistently with a TAB.
346 * lib/am/check.am ($(TEST_SUITE_LOG)): Consistently use TAB, not
347 spaces, for indentation of commands, even if indentation may not
349 * lib/am/texinfos.am (install-info-am): Likewise.
351 Prompted by report from John Calcote.
353 parallel-tests: fix recheck* targets for non-GNU make.
354 * lib/am/check.am (recheck recheck-html): Override AM_MAKEFLAGS
355 to portably transport the TEST_LOGS settings through the
356 recursive `make' invocations. Fixes parallel-tests9.test
357 failure with Solaris make.
358 * tests/parallel-tests9.test: Also ensure that the test
359 summary is correct for `recheck'.
360 Suggestion by Akim Demaille.
362 2009-04-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
364 Avoid racy depmodes with universal builds.
365 * m4/depend.m4 (_AM_DEPENDENCIES): If universal builds are used,
367 * lib/depcomp: Ignore `-arch' argument for makedepend depmode.
368 Report by Bruno Haible, analysis by Bruno Haible, Peter O'Gorman,
371 2009-04-21 Fabian Alenius <fabian.alenius@gmail.com> (tiny change)
373 Fix link to autotools tutorial.
374 * doc/automake.texi (Autotools Introduction): Fix broken link.
377 2009-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
379 testsuite: minor w32 fixes.
380 * tests/depend5.test: Don't fail if the system or file system
381 cannot handle weird characters, instead just try a few.
382 * tests/parallel-tests3.test: Really wait until the serial test
383 has finished, before letting the cleanup trap do its work.
384 Report by Bruno Haible.
386 Avoid nonportable `./FILE' instead of `FILE' in test.
387 * tests/libtool3.test: Do not use `$(top_builddir)/sub/libname.la'
388 in *_LDADD entry if `$(top_builddir)' is `.'. Fixes test failure
389 with parallel NetBSD make.
391 Detect make `include' style also with parallel non-GNU make.
392 Parallel NetBSD make outputs `--- $target ---' messages,
393 parallel HP-UX make outputs `Making target"$target"'. Just
394 ignore all additional output for the include test.
395 * m4/make.m4 (AM_MAKE_INCLUDE): Ignore additional output
396 produced by `make' to relax `include' style detection.
398 manual: add FAQ `Debugging Make Rules'.
399 * doc/automake.texi (Debugging Make Rules): New FAQ section.
400 (Top, FAQ): Adjust menus, and capitalization of the description
401 of the `Hard-Coded Install Paths' node.
402 (Multiple Outputs): Add comment to restore font-lock for vim.
403 Suggestion by Karl Berry.
405 Let XFile::lock warn and fail with parallel non-GNU make, too.
406 * lib/Automake/XFile.pm (lock): Also match `-j' for parallel BSD
407 make, and `-P' for parallel HP-UX make.
409 Fix AM_PROG_VALAC version requirement detection.
410 * m4/vala.m4 (AM_PROG_VALAC): Remove `Vala ' from valac
411 --version string before comparing versions.
412 * tests/vala2.test: Require version 0.7.0 for the test.
413 Fixes failures of vala2.test and vala3.test with older valac.
415 Correctly treat all assignments with bogus trailing comments.
416 Before this patch, automake would silently fail to diagnose and
417 to copy into the output those variable assignments which are
418 preceded by a comment, and end in backslash newline comment.
419 * automake.in (read_am_file): When determining whether an
420 escaped newline followed by a comment is an error, correctly use
421 the parser state, not the contents of a saved comment, which
422 could still be carried over from a comment before an assignment.
424 * tests/commen11.test: New test.
425 * tests/Makefile.am: Update.
426 Report by Karl Berry.
428 2009-04-14 Karl Berry <karl@freefriends.org>
430 manual: improve markup: itemize list in `Extending'.
431 * doc/automake.texi (Extending): Use `@item's for user override
434 2009-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
436 bin_PROGRAMS = $(EXTRA_PROGRAMS) should work.
437 * automake.in (am_install_var): For `PROGRAMS' primary, strip
438 `$(EXEEXT)' here already, so the name uniquifying works even
439 when we look at names repeatedly, with inconsistent executable
440 extension; through variable references, we might have added
441 the extension ourselves earlier.
442 (handle_programs): No need to strip `$(EXEEXT)' here any more.
443 * tests/extra8.test: New test.
444 * tests/Makefile.am: Update.
446 Report by Daniel Richard G.
448 2009-04-10 Jim Meyering <meyering@redhat.com>
450 Fix grammar in comments and documentation.
451 * doc/automake.texi (API versioning): Fix grammar.
452 * automake.in: Fix grammar in comment.
453 * lib/Automake/ChannelDefs.pm: Likewise.
454 * tests/ext2.test: Likewise.
456 2009-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
458 More minor fixups to vala support.
459 * automake.in (lang_vala_finish_target): Fix typo in comment.
460 * doc/automake.texi (Vala Support): Fix typo. Declare vala
461 support as "initial".
462 * NEWS: Likewise, declare vala support as "initial".
464 2009-04-05 Jürg Billeter <j@bitron.ch>
466 Improve Vala support.
467 * automake.in: Update to Vala 0.7.0 semantics, recover from removal
468 of built sources, support silent-rules, drop _PKGNAME variables
469 * doc/automake.texi, NEWS: Update.
470 * lib/am/vala.am: Bump copyright years.
471 * m4/vala.m4: Likewise.
472 * tests/vala.test: Remove obsolete grep tests.
473 * tests/vala1.test: Likewise.
474 * tests/vala2.test: Test full build, distcheck, and distclean.
475 * tests/vala3.test: Likewise, also test with subdir-objects.
476 * tests/vala4.test: Bump copyright years.
477 * tests/vala5.test: New test for per-target flags, expected to fail.
478 * tests/Makefile.am: Update.
481 2008-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
483 Minor fixups for Vala support.
484 * automake.in: $(VALAFLAGS) comes after $(AM_VALAFLAGS).
485 * doc/automake.texi (Vala Support): Add some references,
486 document AM_VALAFLAGS, streamline a bit.
487 * lib/am/vala.am: Copyright blurb.
488 * m4/vala.m4 (AM_PROG_VALAC): Rewrite using AS_VERSION_COMPARE.
489 * tests/vala.test: Fix minor nits.
490 * tests/vala1.test: Likewise.
491 * tests/vala2.test: Likewise.
492 * tests/vala3.test: Likewise.
493 * tests/vala4.test: New test, for version argument of
495 * tests/Makefile.am: Update.
497 2008-10-09 Mathias Hasselmann <mathias.hasselmann@gmx.de>
499 * automake.in: Support Vala in non-recursive builds. Make sure
500 foo_VALAFLAGS really use used. Inject --library switch when building
502 * doc/automake.texi, NEWS: Document Vala support.
503 * m4/vala.m4: Rename AC_PROG_VALAC to AM_PROG_VALAC.
504 * tests/Makefile.am: Additional Vala tests.
505 * tests/vala.test: Also test VALAFLAGS support.
506 * tests/vala1.test: Test non-recursive Vala support.
507 * tests/vala2.test: Test _PKGNAME variables.
508 * tests/vala3.test: Test compiling of C code generated by Vala.
510 2008-10-09 Mathias Hasselmann <mathias.hasselmann@gmx.de>
512 Initial support for the vala programming language.
513 * automake.in: Add %known_libraries, lang_vala_rewrite,
514 lang_vala_finish and lang_vala_target_hook to support the Vala
515 programming language. Register Vala language hooks.
516 * lib/am/vala.am: Empty rules file to prevent creation of depend2
517 based rules for Vala code.
518 * lib/am/Makefile.am (dist_am_DATA): Add vala.am.
519 * m4/vala.m4: Provide AC_PROG_VALAC for detecting the Vala compiler.
520 * m4/Makefile.am (dist_m4data_DATA): Add vala.m4.
521 * tests/vala.test: Test Vala support.
522 * tests/Makefile.am: Update.
524 2009-04-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
526 testsuite: do not fail on systems without read permissions.
527 * tests/instfail-info.test: Do not use the `non-root'
528 requirement for testing whether files may be made unreadable;
529 instead use `test -r' and skip the test if that still works.
530 * tests/instfail-java.test: Likewise.
531 * tests/instfail-libtool.test: Likewise.
532 * tests/instfail.test: Likewise.
533 * tests/instmany-mans.test: Likewise.
534 * tests/instmany-python.test: Likewise.
535 * tests/instmany.test: Likewise.
536 * tests/parallel-tests9.test: Likewise.
538 testsuite: parallel make fixes.
539 This patch fixes a couple of testsuite bugs exposed with
540 `MAKE=make\ -jN make check'.
541 * tests/libtoo10.test: Do not run `clean' in same $MAKE
542 invocation as `all check'. Fixes test failure with parallel
544 * tests/nobase.test: Be sure to create a directory before
545 creating files in it. Fixes test failure with MAKE=`make -jN'
546 for NetBSD make. This issue is hidden with parallel GNU make
547 due to its parallel breadth first update order.
548 * tests/parallel-tests3.test: Skip if $MAKE contains `-j',
549 GNU make will use the environment variable $MAKE for recursion
550 and thus run in parallel even if `$MAKE -j1' was used on the
551 command line in the test. Also, after running the test proper,
552 wait long enough so that background jobs have finished and there
553 are no open files left when the cleanup code runs.
555 2009-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
557 silent-rules reorganization, --enable-silent-rules switch.
558 This patch introduces a configure-time option to set the default
559 verbosity. Since configure now needs to know whether the
560 `silent-rules' automake option was set, the latter can only be
561 set within AM_INIT_AUTOMAKE, or with a new AM_SILENT_RULES macro
562 but not any more through AUTOMAKE_OPTIONS or the automake
563 command line option `--silent-rules'.
564 * automake.in (define_verbose_var): Define the default verbose
565 variable in terms of `$(AM_DEFAULT_VERBOSITY)'.
566 (handle_configure): Do not pass `--silent-rules' to automake.
567 (scan_autoconf_traces): Trace `AM_SILENT_RULES'. If seen,
568 enable global `silent-rules' option.
569 (usage): Do not document `--silent-rules'.
570 (parse_arguments): Do not accept `--silent-rules'.
571 * doc/automake.texi (Options): Overhaul. Document
572 AM_SILENT_RULES, --enable-silent-rules, --disable-silent-rules,
573 AM_DEFAULT_VERBOSITY. Show an example for user-added variables
574 for less verbose output.
575 (Invoking Automake): Remove documentation for `--silent-rules'.
576 (Public Macros): Document `AM_SILENT_RULES'.
578 * lib/Automake/Options.pm (_process_option_list): Accept
579 `silent-rules' only as option in configure.ac.
580 * m4/init.m4 (AM_INIT_AUTOMAKE): If the `silent-rules' option
581 was enabled, require `AM_SILENT_RULES'; move AM_BACKSLASH
582 initialization to ...
583 * m4/silent.m4 (AM_SILENT_RULES): ... this new file, new macro.
584 Deal with `--enable-silent-rules' switch; define
585 AM_DEFAULT_VERBOSITY.
586 * m4/Makefile.am (dist_m4data_DATA): Add silent.m4.
587 * tests/dollarvar.test: Remove tests for `--silent-rules', use
589 * tests/flavor.test: Remove test for `--silent-rules'.
590 * tests/silent.test: Use `AM_SILENT_RULES' instead of
591 `AUTOMAKE_OPTIONS = silent-rules'; use `--enable-silent-rules'.
592 * tests/silent2.test: Likewise.
593 * tests/silent3.test: Likewise.
594 * tests/silent4.test: Likewise.
595 * tests/silent5.test: Likewise.
596 * tests/silent6.test: Likewise. Test `AM_SILENT_RULES' as well
597 as `AM_INIT_AUTOMAKE([silent-rules])' instead of
599 * tests/silent7.test: Use `AM_SILENT_RULES' instead of
600 `AUTOMAKE_OPTIONS = silent-rules'; ensure the latter is rejected.
601 Test combinations of --enable-silent-rules and
602 --disable-silent-rules with `make V=0' and `make V=1'.
603 Suggestion for configure-time switch by Bob Friesenhahn.
605 manual: Add note about parallelism and tests ordering.
606 * doc/automake.texi (Simple Tests using parallel-tests):
607 Dependencies between test logs work for tests with known
608 extensions only. Hint that tests should be prepared to be run
611 Fix maintainer-check failure.
612 * tests/suffix13.test: Use Exit not exit.
614 2009-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
616 parallel-tests: more testsuite exposure.
617 * tests/parallel-tests.test: Also test overriding TEST_LOGS and
620 parallel-tests: let VERBOSE=yes output appear before summary.
621 * lib/am/check.am ($(TEST_SUITE_LOG)): In `VERBOSE=yes' mode,
622 output contents of `$(TEST_SUITE_LOG)' before, rather than after
623 the test suite summary. This ensures that the email address
624 appears near the end of the output; also, the log file already
625 starts with a result summary anyway.
627 parallel-tests: `clean recheck' should not rerun all tests.
628 * lib/am/check.am (recheck, recheck-html): Do not rerun all
629 tests if `$(TEST_SUITE_LOG)' does not exist.
630 * tests/parallel-tests2.test: Adjust recheck test.
631 * tests/parallel-tests9.test: Adjust recheck-html test.
633 Suggestion by Akim Demaille.
635 2009-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
636 Eric Blake <ebb9@byu.net>
638 parallel-tests: Fix driver for nonempty executable extension.
639 * automake.in (handle_tests): New substitution `%am__EXEEXT%',
640 defined as 'FALSE' for non-generic rules, or if no programs are
641 built at all. Otherwise, define it as configure conditional.
642 * lib/am/check2.am [%am__EXEEXT%] (%EXT%$(EXEEXT).log): New
643 conditional generic rule.
644 * m4/init.m4: Hook an m4_provide of `_AM_COMPILER_EXEEXT' onto
645 Autoconf's `_AC_COMPILER_EXEEXT' macro.
646 (AM_INIT_AUTOMAKE): If `_AM_COMPILER_EXEEXT' has been provided
647 at `AC_CONFIG_COMMANDS_PRE' time, then introduce a conditional
648 `am__EXEEXT', defined to true iff `$EXEEXT' is nonempty.
649 * tests/check5.test: Only match `_EXEEXT_[1-9]' here, to avoid
650 false positives stemming from `@am__EXEEXT_TRUE@'.
653 2009-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
655 Fix a couple of $(EXEEXT)-related testsuite failure.
656 * tests/check8.test: Allow executable extensions in test suite
658 * tests/check9.test: Add `$(EXEEXT)' manually to @substituted@
661 * NEWS: Update for last patch.
663 2009-04-07 Florian Briegel <briegel@zone42.de> (tiny change)
664 Stepan Kasal <skasal@redhat.com>
665 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
667 Fix renamed objects with subdir-objects and other languages.
668 * automake.in: Fixed bug when building with renamed objects
669 and foreign languages.
670 * tests/suffix13.test: New test.
671 * tests/Makefile.am: Adjust.
673 Reports by Florian Briegel and Stepan Kasal.
675 2009-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
677 Do not remove texinfo outputs upon mostlyclean.
678 * lib/am/texinfos.am: New substitutions %MOSTLYCLEAN%,
680 (clean-aminfo): New target, remove %TEXICLEAN% if nonemtpy,
681 declare phony. Hook this target to ...
682 (clean-am): ... this and ...
683 (?CYGNUS?clean-info): ... this.
684 (maintainer-clean-aminfo): Remove %MAINTCLEAN% if nonempty,
686 (mostlyclean-aminfo): Remove %MOSTLYCLEAN%.
687 * automake.in (handle_texinfo_helper): Return three arrays
688 $MOSTLYCLEAN, $TEXICLEAN, $MAINTCLEAN, instead of one array.
689 Only put LaTeX helper files in $MOSTLYCLEAN, the rest in
691 (handle_texinfo): Accept these, chop off extra newline, and
692 substitute them in `texinfos.am'.
694 * tests/txinfo33.test: New test.
695 * tests/Makefile.am: Update.
696 Report by Bruno Haible.
698 2009-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
700 testsuite: unset TESTS, TEST_LOGS, to avoid interference.
701 * tests/defs.in: Unset TESTS, TEST_LOGS.
703 testsuite: generate $(parallel_tests) just when needed.
704 * tests/Makefile.am (check_SCRIPTS): No need to list
705 $(parallel_tests) here, they can be generated as needed during
706 the test run, following our recommendation in the manual.
708 Remove superfluous line from recheck recheck-html.
709 * lib/am/check.am (recheck recheck-html): Remove superfluous
710 line, introduced bogusly in last commit.
712 2009-04-06 Akim Demaille <akim@lrde.epita.fr>
713 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
715 parallel-tests: redo check-html, recheck, recheck-html.
716 * lib/am/check.am (recheck, recheck-am): Remove.
717 (recheck-TESTS): Rename to ...
718 (recheck): ... this and rewrite, factored ...
719 (recheck-html): ... with this rule. Pass TEST_LOGS rather than
720 RECHECK_LOGS to `check' and `check-html', respectively, to avoid
721 running outdated tests. Invoking the public macros ensures
722 `check_SCRIPTS' etc. are created in time. Do not output errors
723 for tests that were not run yet. If the testsuite has not run
724 at all, run all tests.
725 (check-html): Run `check' target, not `check-TESTS', to ensure
726 `check_SCRIPTS' etc. are created in time.
727 (.PHONY, .MAKE, AM_RECURSIVE_TARGETS): Adjust contents.
728 * tests/parallel-tests2.test: Expose the check-html and
730 * tests/parallel-tests9.test: Expose the recheck issues.
731 Bugs in previous version pointed out by Akim, who already had
732 them fixed in his original version.
734 2009-04-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
736 parallel-tests: LOG_COMPILER for tests without known extension.
737 * automake.in (handle_tests): If we don't match a known
738 extension, define `LOG_COMPILER' as `$(LOG_COMPILE)
739 $(AM_LOG_FLAGS) $(LOG_FLAGS)' and use it as %COMPILE% in check2.
740 * doc/automake.texi (Simple Tests using parallel-tests):
741 Document it. In the examples, suggest using the AM_*LOG_FLAGS
742 flags in Makefile.am rather than the variables without `AM_'
744 * lib/Automake/tests/Makefile.am (AM_PL_LOG_FLAGS): Renamed from
745 (PL_LOG_FLAGS): ... this variable, intended for the user.
746 * tests/parallel-tests7.test: Extend test.
748 Suggestion by Akim Demaille.
750 More node renaming in the manual.
751 * doc/automake.texi (Top): Adjust menu to ...
752 (API Versioning): ... this node being renamed from ...
753 (API versioning): ... this, and ...
754 (Wildcards): ... this being renamed from ...
755 (wildcards): ... this.
756 Report by Karl Berry.
758 2009-04-03 Andreas Schwab <schwab@linux-m68k.org>
760 * tests/instdir-java.test: Don't require gcj. Skip if javac is
763 2009-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
765 Fix testsuite failures due to nonexistent `dirlist' entries.
766 * tests/defs.in: When parsing `$aclocaldir/dirlist', only add
767 existing directories D to aclocal `-I D' flags, as aclocal
768 errors on nonexisting directories.
769 Report and analysis by Andreas Schwab.
771 2009-03-31 Akim Demaille <akim@lrde.epita.fr>
774 * doc/automake.texi (Simple Tests using parallel-tests): Fix
777 2009-03-31 Jim Meyering <meyering@redhat.com>
779 Avoid test failure due to paranoid TAR_OPTIONS envvar setting.
780 * tests/txinfo18.test: Don't let a TAR_OPTIONS=--keep-old-files
781 environment variable setting cause test failure. Fixed in
784 Use more common spelling in diagnostic: s/canonic/canonical/.
785 * automake.in (check_typos): s/canonic/canonical/.
787 2009-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
789 * configure.ac, NEWS: Bump version to 1.10c.
791 2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
793 * configure.ac, NEWS: Bump version to 1.10b.
794 * doc/automake.texi (Releases): Add statistics for 1.10b.
796 * NEWS: Minor update.
798 Reorganize nodes in the manual.
799 Avoid texinfo sectioning commands without nodes, by either
800 introducing new nodes along with menus, or using headings
801 commands. Adjust all references.
802 * doc/automake.texi: Throughout the manual, adjust references to
803 new or changed node names. Rename `non-configured' to
804 `unconfigured', capitalize headings and section names better.
805 (Top): List new menus and nodes introduced below.
806 (Length Limitations): Renamed from ...
807 (Length limitations): ... this.
808 (aclocal Options): Renamed from ...
809 (aclocal options): ... this.
810 (Macro Search Path): Renamed from ...
811 (Macro search path): ... this. Rename subsubsections to
813 (Public Macros, Obsolete Macros, Private Macros): Renamed from
814 (Public macros, Obsolete macros, Private macros): ... these.
815 (Conditional Subdirectories): Introduce sub menu and split ...
816 (SUBDIRS vs DIST_SUBDIRS, Subdirectories with AM_CONDITIONAL)
817 (Subdirectories with AC_SUBST, Unconfigured Subdirectories):
818 ... into these new nodes. Adjust subsection names to node
820 (Conditional Sources): Rename subsubsections to subsubheadings.
821 (Conditional Programs): Likewise.
822 (Program Variables): Renamed from ...
823 (Program variables): ... this.
824 (Libtool Issues): Introduce sub menu and split into ...
825 (Required file ltmain.sh not found)
826 (Objects created both with libtool and without): ... these new
828 (Other Objects, Built Sources): Renamed from ...
829 (Other objects, Built sources): ... these.
830 (Built Sources Example): Renamed from ...
831 (Built sources example): this. Rename unnumberedsubsecs to
833 (Man Pages): Renamed from ...
834 (Man pages): ... this.
835 (Install): Introduce sub menu and split into ...
836 (Basics of Installation, The Two Parts of Install)
837 (Extending Installation, Staged Installs)
838 (Install Rules for the User): ... these new nodes.
839 (Dist): Introduce sub menu and split into ...
840 (Basics of Distribution, Fine-grained Distribution Control)
841 (The dist Hook, Checking the Distribution)
842 (The Types of Distributions): ... these new nodes.
843 (Tests): Introduce sub menu and split into ...
844 (Simple Tests, Simple Tests using parallel-tests, DejaGnu Tests)
845 (Install Tests): ... these new nodes.
846 (Conditionals): Move the portability paragraph up, introduce sub
847 menu and split into ...
848 (Usage of Conditionals, Limits of Conditionals): ... these new
849 nodes. Link to several sections throughout the manual that deal
850 with specific usage of conditionals.
851 (CVS): Rename subsections to subheadings.
852 (maintainer-mode): Likewise.
853 (Limitations on File Names): Renamed from ...
854 (limitations on file names): ... this.
855 (Flag Variables Ordering): Rename subsections to subheadings.
856 (Renamed Objects): Renamed from ...
857 (Renamed objects): ... this.
858 (Dependency Tracking Evolution): Introduce sub menu and split
860 (First Take on Dependencies, Dependencies As Side Effects)
861 (Dependencies for the User, Techniques for Dependencies)
862 (Recommendations for Tool Writers)
863 (Future Directions for Dependencies): ... these new nodes.
864 Report by Karl Berry.
866 2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
868 Update AM_RECURSIVE_TARGETS for parallel-tests.
869 * lib/am/check.am [PARALLEL_TESTS] (AM_RECURSIVE_TARGETS):
870 Add check, recheck, check-html, recheck-html.
872 2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
873 Akim Demaille <akim@lrde.epita.fr>
875 parallel-tests: New target recheck-html.
876 * lib/am/check.am [PARALLEL_TESTS] (recheck-html): New phony,
877 recursive target. Factor common implementation with
879 * doc/automake.texi (Tests): Document recheck-html.
880 * tests/parallel-tests2.test: Test it.
882 2009-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
883 Akim Demaille <akim@lrde.epita.fr>
885 parallel-tests: redo lazy checking: recheck and RECHECK_LOGS.
886 Replace the LAZY_TEST_SUITE API with a simpler yet more powerful
887 one: RECHECK_LOGS specifies those tests which are to be removed
888 in any case before testing. Provide a `recheck' convenience
889 target to set RECHECK_LOGS to all failed and unexpectedly passed
890 tests. Document several ways to limit the set of tests run.
891 * lib/am/check.am [PARALLEL_TESTS] (RECHECK_LOGS): New variable,
892 default to $(TESTS_LOGS).
893 (check-TESTS): Remove $(RECHECK_LOGS) not $(TEST_LOGS). Drop use
895 ($(TEST_SUITE_LOG)): Do not output note about lazy rerun, as
896 LAZY_TEST_SUITE is gone.
897 (recheck): New target.
898 (recheck-am, recheck-TESTS): New internal targets.
899 * doc/automake.texi (Tests): Update @vindex for TESTS and
900 TEST_LOGS. Replace description of LAZY_TEST_SUITE with a list
901 of ways the set of tests to be run can be modified. Document
902 RECHECK_LOGS and the recheck target.
903 * tests/defs.in: Unset RECHECK_LOGS not LAZY_TEST_SUITE.
904 * tests/parallel-tests.test: Adjust, replacing LAZY_TEST_SUITE
905 with corresponding RECHECK_LOGS settings.
906 * tests/parallel-tests9.test: New tests.
907 * tests/Makefile.am: Update.
908 Suggestion and different implementation by Akim Demaille.
910 parallel-tests: do not mark check-TESTS as `.MAKE'.
911 * lib/am/check.am [PARALLEL_TESTS] (.MAKE): Remove check-TESTS.
912 This rule removes files, which should not be executed with BSD
915 parallel-tests: warn about $(srcdir), $(top_srcdir) in TESTS.
916 * automake.in (handle_tests): Warn about portability issue
917 concerning generated TESTS files listed with a `$(srcdir)/'
918 or `$(top_srcdir)/' prefix.
919 * doc/automake.texi (TESTS): Document this issue. Mention that
920 the parallel-tests driver is still experimental.
921 * tests/parallel-tests8.test: New test.
922 * tests/Makefile.am: Update.
924 check-html: Always create HTML output, note conversion failure.
925 * lib/am/check.am (check-html): Create `$(TEST_SUITE_HTML)' in
926 any case. Exit unsuccessfully if HTML creation failed.
927 * tests/parallel-tests2.test: Amend test to expose this.
929 2009-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
931 parallel-tests: per-extension test driver: <EXT>_LOG_COMPILER.
932 For test files with extension <ext>, introduce the internal
933 variable <EXT>_LOG_COMPILE, which expands to
934 $(<EXT>_LOG_COMPILER) $(AM_<EXT>_LOG_FLAGS) $(<EXT>_LOG_FLAGS).
935 Turn also the lib/Automake/tests testsuite over to the new
937 * doc/automake.texi (Tests): Document `EXT_LOG_COMPILER' and
939 * lib/am/check2.am: Insert `%COMPILE%' right before test.
940 * automake.in (handle_tests): Substitute `COMPILE' for check2,
941 empty for tests without extension, and `$(ext_LOG_COMPILE)' for
942 extension `ext'. In the latter case, define it from the public
944 * configure.ac (AM_INIT_AUTOMAKE): Use `parallel-test' globally.
945 * tests/Makefile.am (AUTOMAKE_OPTIONS): Remove, not needed here
947 * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Split ...
948 (PL_LOG_COMPILER, PL_LOG_FLAGS): ... into these new variables.
949 (TESTS_EXTENSIONS): New variable, initialize to `.pl'.
950 * tests/parallel-tests7.test: New test.
951 * tests/Makefile.am: Update.
952 Suggestion by Akim Demaille.
954 2009-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
956 parallel-tests: also record logs of SKIPped tests.
957 * lib/am/check.am [PARALLEL_TESTS] ($(TEST_SUITE_LOG)): Record
959 Suggested by Jim Meyering.
961 Minor optimization in parallel-tests text box creation.
962 * lib/am/check.am [PARALLEL-TESTS] (am__text_box): Use only one
963 awk invocation, rather than several tools, to create a text box.
964 Suggestion from Akim Demaille.
966 2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
968 Rewrite maintainer-check in separate tests, parallelizable.
969 * Makefile.am (sc_diff_automake_in_automake, sc_perl_syntax)
970 (sc_no_brace_variable_expansions, sc_rm_minus_f)
971 (sc_no_for_variable_in_macro, sc_mkinstalldirs)
972 (sc_pre_normal_post_install_uninstall, sc_perl_no_undef)
973 (sc_perl_no_split_regex_space, sc_cd_in_backquotes)
974 (sc_cd_relative_dir, sc_perl_at_uscore_in_scalar_context)
975 (sc_perl_local_no_parens, sc_perl_local)
976 (sc_AMDEP_TRUE_in_automake_in, sc_tests_make_without_am_makeflags)
977 (sc_tests_plain_make, sc_tests_plain_autoconf)
978 (sc_tests_plain_autoupdate, sc_tests_plain_automake)
979 (sc_tests_here_document_format, sc_tests_Exit_not_exit)
980 (sc_tests_automake_fails, sc_tests_plain_aclocal)
981 (sc_tests_plain_perl, sc_tests_required_after_defs)
982 (sc_tests_overriding_macros_on_cmdline, sc_tests_plain_sleep)
983 (sc_tests_plain_egrep_fgrep, sc_mkdir_p, sc_perl_at_substs)
984 (sc_unquoted_DESTDIR, sc_tabs_in_texi, sc_at_in_texi): New rules,
985 all phony, all listed in ...
986 (syntax_check_rules): ... this new variable and split out from ...
987 (maintainer-check): ... this rule. Depend on $(syntax_check_rules).
989 * Makefile.am (maintainer-check): Do not complain if DESTDIR is
990 passed as argument to `make'.
992 * doc/automake.texi (Cross-Compilation): Fix underfull hbox.
994 Sync auxiliary files from upstream.
995 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
996 lib/texinfo.tex: Sync from upstream.
998 2009-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1000 manual: minor cleanups.
1001 * doc/automake.texi (Yacc and Lex): Adjust spacing in example.
1002 (Mixing Fortran 77 With C and C++): Drop unneeded @page breaks.
1004 Sane (un)install for empty directory variables.
1005 This patch fixes all install and uninstall rules to behave
1006 sanely when $(wheredir) is the empty string, but $(where_HOW) is
1007 nonempty, for all kinds of values of `where' and `HOW'.
1008 * lib/am/data.am (install-%DIR%%PRIMARY%, uninstall-%DIR%%PRIMARY%):
1009 Do not touch the install tree if the corresponding directory variable
1010 $(%NDIR%dir) is empty.
1011 * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Likewise.
1012 * lib/am/libs.am (install-%DIR%LIBRARIES, uninstall-%DIR%LIBRARIES):
1014 * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Likewise.
1015 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES, uninstall-%DIR%LTLIBRARIES):
1017 * lib/am/mans.am (install-man%SECTION%, uninstall-man%SECTION%):
1019 * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
1021 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
1023 * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
1025 * lib/am/texinfos.am (install-dvi-am, install-html-am, install-pdf-am)
1026 (install-ps-am, uninstall-dvi-am, uninstall-html-am, uninstall-pdf-am)
1027 (uninstall-ps-am): Likewise.
1028 * tests/instdir2.test, tests/instdir-java.test,
1029 tests/instdir-lisp.test, tests/instdir-ltlib.test,
1030 tests/instdir-prog.test, tests/instdir-python.test,
1031 tests/instdir-texi.test: New tests.
1032 * tests/Makefile.am: Update.
1034 Suggestion by Akim Demaille.
1036 Ensure that empty directory variables work with empty content variables.
1037 This test ensures that, if both $(wheredir) and $(where_HOW) are
1038 the empty string, then the `install' and `uninstall' rules behave
1039 sanely, for several directory variables `wheredir' and several
1041 * tests/instdir.test: New test.
1042 * tests/Makefile.am: Update.
1044 2009-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1046 Use --tag=FC with libtool also for .f90 files.
1047 * automake.in: Set 'libtool_tag' for language `fc'.
1048 * tests/fort5.test: Grep for the tag.
1050 Report by John R. Cary.
1052 2009-03-22 Peter Breitenlohner <peb@mppmu.mpg.de>
1053 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1055 For PR automake/533:
1056 DISTFILES containing a directory and files in that directory.
1057 When the source tree contains non-writable files or directories
1058 (as happens during distcheck), and directories or entries
1059 thereof are listed multiple times in variables to be
1060 distributed, then the corresponding directories below $(distdir)
1061 need to be made writable recursively. Since file modes should
1062 not change, they need to be copied recursively using `cp -f'.
1063 * lib/am/distdir.am: Handle this situation.
1064 * tests/distdir.test: Extend test to those cases.
1066 Report by Peter Breitenlohner.
1068 2009-03-22 Jim Meyering <meyering@redhat.com>
1070 Fix a documentation typo.
1071 * doc/automake.texi (Headers): Clarify the note telling when it's
1072 better not to use noinst_HEADERS.
1074 2009-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1076 Define AM_RECURSIVE_TARGETS, for gnulib's GNUmakefile.
1077 This new macro lists all public targets which invoke `make'
1078 recursively, or depend on targets which do so. It allows to
1079 prevent parallelism selectively, when multiple targets are
1080 passed on the `make' command line.
1081 * lib/am/distdir.am [%?SUBDIRS%] (AM_RECURSIVE_TARGETS): New
1083 * lib/am/subdirs.am (AM_RECURSIVE_TARGETS): Likewise.
1084 * lib/am/tags.am [%?SUBDIRS%] (AM_RECURSIVE_TARGETS):
1087 2009-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1089 Fix LAZY_TEST_SUITE handling and $(TEST_SUITE_LOG) recreation.
1090 * lib/am/check.am (check-TESTS): Expand `$(TEST_LOGS)' only once
1091 in the rule command, for systems with low command line limits.
1092 Remove $(TEST_SUITE_LOG) even in LAZY_TEST_SUITE mode.
1093 ($(TEST_SUITE_LOG)): Always recreate $(TEST_SUITE_LOG). Mention
1094 lazy mode in the summary output.
1095 * tests/parallel-tests.test: Test LAZY_TEST_SUITE semantics.
1097 2009-03-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1099 Fix parallel-tests with empty $(TESTS) for BSD make.
1100 * lib/am/check.am [PARALLEL_TESTS] ($(TEST_SUITE_LOG)): Ignore
1101 empty line stemming from empty $(TEST_LOGS), to avoid counting
1103 (check-TESTS): If `$(TESTS)' is empty, override TEST_LOGS to be
1104 empty, rather than `.log', for BSD make.
1105 * tests/parallel-tests6.test: New test.
1106 * tests/Makefile.am: Update.
1108 Mark check-html and check-TESTS as recursive for BSD make.
1109 * lib/am/check.am [PARALLEL_TESTS] (.MAKE): Add check-TESTS
1110 and check-html prerequisites.
1112 Match XFAIL_TESTS correctly with Solaris make.
1113 * lib/am/check.am [PARALLEL_TESTS]: VPATH rewriting may have
1114 changed test names, so srcdir needs to be taken into account
1115 explicitly when checking against the list of tests expected
1116 to fail. Fixes spurious FAILures from XFAIL_TESTS.
1118 Use append mode to capture parallel test output.
1119 * tests/lisp8.test: Use append mode for output from `make -j',
1120 to avoid dropped lines.
1121 * tests/parallel-tests3.test: Likewise.
1123 parallel-tests: Fix summary output.
1124 * lib/am/check.am (am__text_box): Fix unportable sed script,
1125 replacing `\n' in the right hand side of an `s' command with
1126 a literal newline. Kudos to Bruno Haible for the newline idea.
1127 * tests/parallel-tests.test: Update test to expose this.
1129 2009-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1131 Overhaul of tests/README.
1132 * tests/README: General overhaul. Mention parallel test suite
1133 execution, the test-suite.log file; document `Exit' vs. `exit',
1134 `defs' vs. `defs-p', the naming of `parallel-tests' tests.
1135 * README: Simplify, point to tests/README.
1137 Documentation for the parallel-tests driver.
1138 * doc/automake.texi (Tests, Options): Document the `parallel-tests'
1139 option, including new features of the test driver.
1142 New tests for `parallel-tests'.
1143 * tests/parallel-tests.test: New file, to expose a bunch of
1144 features of `parallel-tests': VERBOSE, clean, TEST_SUITE_LOG,
1145 test dependencies, DISABLE_HARD_ERRORS.
1146 * tests/parallel-tests2.test: New file, test check-html.
1147 * tests/parallel-tests3.test: New file, test concurrency.
1148 * tests/parallel-tests4.test: New file, test suffix rules.
1149 * tests/parallel-tests5.test: New file, demonstrate compile/test
1151 * tests/defs.in: Add a `required' check for rst2html.
1152 * tests/Makefile.am: Update.
1154 parallel-tests: Ensure backward-compatible semantics.
1155 For each test in Automake's test suite that uses TESTS, generate
1156 an identical one that uses the `parallel-tests' option, for
1157 coverage of backward-compatible functionality.
1158 * tests/gen-parallel-tests: New file, generates distributed
1159 Makefile.am snippet tests/parallel-tests.am to list all tests
1160 that use the TESTS interface but not yet the `parallel-tests'
1161 option, with names mangled to use suffix `-p.test', in ...
1162 (parallel_tests): ... this new make macro.
1163 * tests/Makefile.am ($(srcdir)/parallel-tests.am)
1164 ($(parallel_tests), defs-p): New rules.
1165 (TESTS): Add check11.test and $(parallel_tests).
1166 (check_SCRIPTS): Add defs-p, $(parallel_tests).
1167 (check-clean-local): Remove `defs-p'.
1168 (EXTRA_DIST): Distribute gen-parallel-tests.
1169 (MAINTAINERCLEANFILES): New variable, remove $(parallel_tests).
1170 * bootstrap: Generate parallel-tests.am.
1171 * tests/check8.test: Check for circular dependencies in rules.
1172 * tests/check11.test: New test, check that SKIPs are not counted
1174 * tests/defs.in: Unset DISABLE_HARD_ERRORS, LAZY_TEST_SUITE,
1175 VERBOSE, so the tests are not influenced by the way our test
1178 2009-03-08 Akim Demaille <akim@lrde.epita.fr>
1179 Jim Meyering <jim@meyering.net>
1180 Benoit Sigoure <tsuna@lrde.epita.fr>
1181 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1183 Parallel test execution: new option `parallel-tests'.
1184 * automake.in (handle_tests): Set new conditional PARALLEL_TESTS
1185 when reading check.am. Handle option `parallel-tests' and all
1186 its new semantics. Define macros TEST_SUFFIXES, TEST_SUITE_LOG,
1187 TEST_SUITE_HTML, TEST_LOGS, TEST_LOGS_TMP, suffix rules if
1188 applicable, and per-target rules for other tests. Add all log
1189 files to %clean_files at the `MOSTLY_CLEAN' level.
1190 * lib/Automake/Options.pm (_process_option_list): Accept
1192 * lib/am/check.am [!PARALLEL_TESTS] (check-TESTS): Move existing
1193 testsuite driver under this new conditional.
1195 (am__rst_title, am__rst_section, am__text_box am__sh_e_setup)
1196 (am__check_pre, am__check_post): New internal macros.
1197 ($(TEST_SUITE_LOG), check-TESTS, .log.html, check-html): New
1199 * lib/am/check2.am: New file.
1200 * lib/am/Makefile.am (dist_am_DATA): Add check2.am.
1201 * tests/Makefile.am (AUTOMAKE_OPTIONS): Use `parallel-tests'.
1202 (clean-local): Renamed from distclean-local.
1203 * tests/defs.in: Drop VERBOSE handling, not needed here any more.
1205 2009-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1207 Rename `silent' mode to `silent-rules' mode.
1208 * automake.in (define_verbose_var, verbose_flag)
1209 (define_verbose_tagvar, handle_options, handle_languages)
1210 (handle_configure, parse_arguments): Rename the `silent' option
1211 to `silent-rules', so it coincides with the `--silent-rules'
1212 command line option; adjust all code and comments.
1213 * lib/Automake/Options.pm (_process_option_list): Likewise.
1214 * doc/automake.texi (Invoking Automake, Libtool Flags, Options):
1217 * tests/dollarvar.test, tests/silent.test, tests/silent2.test,
1218 tests/silent3.test, tests/silent4.test, tests/silent5.test,
1219 tests/silent6.test, tests/silent7.test: Likewise.
1220 Suggestion by Jan Engelhardt.
1222 2009-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1224 `silent' mode unconditionally overrides portability-recursive.
1225 * automake.in (parse_arguments): Don't handle a global `silent'
1226 option here; instead, ...
1227 (handle_options): ... handle the "normal" `silent' option here.
1228 Override `portability-recursive' here, at the last point we deal
1229 with options, instead ...
1230 * lib/Automake/Options.pm (_process_option_list): ... of here.
1231 * tests/silent6.test: Replace unportable make snippet, remove
1232 FIXME note, add more test cases of options passed in the various
1235 Drop extra line from compile rules when `silent' is not used.
1236 * lib/am/depend2.am [!%FASTDEP%]: Only use the `%VERBOSE%
1237 @AM_BACKSLASH@' extra line if ?VERBOSE?.
1238 Report by Ralf Corsepius.
1240 2009-03-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1242 Keep `--silent-rules' across triggered automake reruns.
1243 * automake.in (usage): Reformat to be a bit clearer.
1244 (handle_configure): Remove substitutions %STRICTNESS% and
1245 %USE-DEPS% in favor of a new substitution %AUTOMAKE-OPTIONS%
1246 that carries over all needed flags.
1247 * lib/am/configure.am (%MAKEFILE-IN%): Adjust rule.
1248 * tests/flavor.test: New test, to ensure --$flavor (gnu,
1249 gnits, foreign, cygnus), --ignore-deps, and --silent-rules are
1250 preserved across automake reruns.
1251 * tests/Makefile.am: Update.
1253 2009-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1255 Provide variables for silencing of user rules.
1256 * automake.in (handle_languages): Always define `AM_V_GEN' and
1258 * doc/automake.texi (Options): Document these flags.
1259 * tests/silent7.test: New test.
1260 * tests/Makefile.am: Update.
1262 Redo variable naming for `silent' machinery.
1263 The public variables are named `AM_V_' plus the compiler
1264 short-hand now, e.g.: AM_V_CC, AM_V_CXXLD, AM_V_GEN. The
1265 dispatch variables are internal details and begin with
1267 * automake.in (verbose_var): Update comment.
1268 (verbose_private_var): New function. Order functions so that
1269 ones not needed outside this section are listed first.
1270 (verbose_dispatch): Remove, no need to factor this.
1271 (define_verbose_var, define_verbose_libtool): Use
1272 verbose_private_var.
1273 (define_verbose_tagvar): Likewise; and simplify.
1274 Report by Jan Engelhardt.
1276 Let -Wportability turn on/off the portability-recursive channel.
1277 * lib/Automake/ChannelDefs.pm (switch_warning): switch
1278 `portability-recursive' channel as well if changing the
1279 `portability' channel.
1280 * tests/dollarvar2.test: New test.
1281 * tests/Makefile.am: Update.
1283 2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1285 New automake command line option `--silent-rules'.
1286 * automake.in (parse_arguments): Accept `--silent-rules; let it
1287 override command line warning settings.
1288 (usage): Document it.
1289 * doc/automake.texi (Invoking Automake): Document it.
1291 * tests/dollarvar.test: Also test `--silent-rules'.
1292 * tests/pr300-ltlib.test: Use `$MAKE V=1' to enable verbose
1293 output, which is matched later in the test.
1294 * tests/silent6.test: New test.
1295 * tests/Makefile.am: Update.
1297 Documentation and tests for the `silent' option.
1299 * doc/automake.texi (Invoking Automake): `silent' turns off some
1300 portability warnings.
1301 (Libtool Flags): `silent' silences libtool.
1302 (Options): Document the `silent' flag.
1303 * tests/dollarvar.test, tests/silent.test, tests/silent2.test,
1304 tests/silent3.test, tests/silent4.test, tests/silent5.test: New
1306 * tests/Makefile.am: Update.
1307 * Makefile.am (maintainer-check): Ignore `DESTDIR' and `V' when
1308 checking for make variables that should not be overridden from
1311 2009-03-07 Jan Engelhardt <jengelh@medozas.de>
1312 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1314 Implement `silent' build rules.
1315 * automake.in (ccer): New field in the language structure.
1316 Initialize it for all registered languages.
1317 (verbose_var, verbose_flag, verbose_dispatch)
1318 (silent_flag, define_verbose_var, define_verbose_tagvar)
1319 (define_verbose_libtool): New functions.
1320 (handle_languages, handle_programs, handle_libraries)
1321 (handle_ltlibraries, handle_configure)
1322 (define_compiler_variable, define_linker_variable)
1323 (define_per_target_linker_variable): Use them where appropriate
1324 to define variables to implement the silent output machinery.
1325 * lib/Automake/Options.pm (_process_option_list): Accept
1326 `silent', turning off `portability-recursive'.
1327 * lib/am/depend2.am: Add %VERBOSE% and %SILENT% prefixes where
1329 * lib/am/lex.am: Likewise.
1330 * lib/am/library.am: Likewise.
1331 * lib/am/ltlibrary.am: Likewise.
1332 * lib/am/program.am: Likewise.
1333 * lib/am/yacc.am: Likewise.
1334 * m4/init.m4 (AM_INIT_AUTOMAKE): Substitute, but do not define,
1336 * tests/defs.in: Unset `V', to avoid influencing inner tests.
1338 2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1340 New channel `portability-recursive'.
1341 Add new channel for portability warnings about recursive make
1342 variable expansions `$(var1$(var2))'. Enable it alongside
1344 * lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Register
1345 channel `portability-recursive'.
1346 * lib/Automake/Variable.pm (_VARIABLE_CHARACTERS)
1347 (_VARIABLE_RECURSIVE_PATTERN): New variables.
1348 (check_variable_expansions): Diagnose recursive variable
1349 expansions through the new channel.
1351 2009-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1355 2009-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1357 Ignore warnings from autom4te about Libtool macros.
1358 * tests/ltinstloc.test: When testing for presence of warnings,
1359 filter out any that are not interesting for this test, e.g.,
1360 warnings about installed files or about bogusly named cache
1361 variables in libtool.m4, emitted by recent Autoconf when older
1364 2009-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1366 Relax depcomp test for MSVC to not require minuso.
1367 * m4/depend.m4 (_AM_DEPENDENCIES): When checking the msvisualcpp
1368 and msvcmsys depmodes, do not require `-c -o' to work just yet.
1369 It is not needed by the depcomp script for these depmodes, and
1370 works around the ordering issue between the tests.
1371 Report by Peter Rosin.
1373 2009-03-09 Peter Rosin <peda@lysator.liu.se>
1375 * tests/compile2.test: Fix typo.
1377 2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1379 Improve NetBSD 'make -n' output for many standard targets.
1380 * automake.in (handle_tags): Let .MAKE depend on
1381 `tags-recursive' and `ctags-recursive' if appropriate.
1382 (handle_all): Likewise for `all'.
1383 (do_check_merge_target): Likewise for `check-am' and `check'.
1384 * lib/am/ansi2knr.am (.MAKE): Depend on %ANSI2KNR-DIR%/ansi2knr.
1385 * lib/am/install.am [%?maybe_BUILT_SOURCES%] (.MAKE): Depend on
1387 * tests/maken3.test, tests/maken4.test: New tests.
1388 * tests/Makefile.am: Update.
1390 Improve `make -n dist' and `make -n distcheck' for GNU make.
1391 Ensure that `make -n dist' and `make -n distcheck' do not change
1392 files, due to GNU make executing rules containing `$(MAKE)'.
1393 * lib/am/distdir.am (distdir): Separate the creation of
1394 `$(distdir)/$$subdir' for `$(DIST_SUBDIRS)' and the recursion
1395 into the `$(DIST_SUBDIRS)' in two separate rule commands.
1396 (distcheck): Exit recursive rule early when run with `make -n',
1397 as detected by a witness file.
1398 * tests/maken.test, tests/maken2.test: New tests.
1399 * tests/Makefile.am: Update.
1402 2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1404 Solaris make testsuite fixes.
1405 * tests/check10.test: When a rule fails, Solaris make will
1406 output the complete command that failed; in this case the test
1407 suite driver. Adjust the test to not bogusly match lines from
1408 the driver, rather than its output.
1409 * tests/distcleancheck.test: Avoid triggering VPATH rewriting,
1410 not desirable in this test.
1411 * tests/specflg10.test: Use BUILT_SOURCES to specify an
1412 intermediate target, so Solaris make knows what to do.
1414 testsuite: SKIP compile tests if configure found no compiler.
1415 * tests/depend6.test: configure will exit 77 if AC_PROG_CC found
1416 no working compiler. Allow the test to be SKIPped in that case.
1417 * tests/postproc.test: Likewise.
1418 * tests/pr243.test: Likewise.
1419 * tests/pr266.test: Likewise.
1421 Fix maintainer-check fallout.
1422 * tests/compile2.test: Use `Exit', not `exit'.
1424 2009-03-07 Peter Breitenlohner <peb@mppmu.mpg.de>
1425 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1427 Extract correct man section from files in man_MANS.
1428 * lib/am/mans.am: Extract correct man section in the presence of
1429 multiple dots in the file base name and/or directory components.
1430 * tests/man5.test: New test case.
1431 * tests/Makefile.am: Update.
1433 2009-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1435 * doc/automake.texi (maintainer-mode): Fix logic in
1436 AM_MAINTAINER_MODE description.
1438 Report by Daniel Kahn Gillmor.
1440 2009-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1442 * lib/gnupload: Change conffile name to `.gnuploadrc'.
1444 2009-03-04 William Pursell <bill.pursell@gmail.com>
1446 Replace bare `automake' with `@command{automake}' or `Automake'.
1447 * doc/automake.texi: Avoid bare `automake' in the manual,
1448 replacing occurrences with `@command{automake}' when the command
1449 is meant, and `Automake' when speaking about the software
1452 2009-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1454 * lib/depcomp: Various portability and quoting nits.
1456 reformat gnupload script.
1457 * lib/gnupload: Reformat and reindent.
1460 * lib/gnupload (conffile): New variable. Use throughout.
1461 (dry_run): Use `false' and `:' values. Show, don't execute,
1462 gpg signing commands upon --dry-run.
1463 (usage): Typo and formatting fixes. Mention that commands are
1465 (argument loop): Factorize a bit, fix quoting.
1466 (dprint, mkdirective, mksymlink, upload): Formatting and
1469 2009-03-04 Sergey Poznyakoff <gray@gnu.org>
1471 Various gnupload improvements.
1472 Add support for uploading to download.gnu.org.ua.
1473 Add support for a .gnupload configuration file.
1474 Support creating and removing symlinks.
1475 Allow for several operations in a single invocation.
1476 Add debugging features.
1477 * lib/gnupload: New options --delete, --symlink, --rmsymlink,
1478 --symlink-regex, --dry-run; support `--' to separate options and
1479 commands from files. New target download.gnu.org.ua. Expand
1480 `.gnupload' file contents before command line arguments.
1482 (dprint, mkdirective, mksymlink, upload): New functions.
1485 2009-03-03 Peter Rosin <peda@lysator.liu.se>
1487 Add depmode=msvcmsys for Microsoft Visual C++ on MSYS.
1488 * lib/depcomp [msvisualcpp]: Fork fewer processes. Filter out
1489 libtool in the preprocessor invocation (as is done in
1490 depmode=cpp). Silence compiler stderr.
1491 [msvcmsys]: New depmode as a derivative of depmode=msvisualcpp.
1492 msvcmsys transforms any backslashes into forward slashes to
1493 make the grep in depend.m4 match, instead of the "cygpath -u"
1494 that is used in msvisualcpp.
1496 2009-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1497 Peter Rosin <peda@lysator.liu.se>
1499 Fix w32 path handling in the `compile' script.
1500 * lib/compile: Handle colons and backslashes in win32 paths.
1501 * tests/compile2.test: New test.
1502 * tests/Makefile.am: Update.
1503 Report and initial patch by Peter Rosin.
1505 2009-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1507 Fix `use constant' usage for MSYS Perl 5.6.0.
1508 * automake.in (QUEUE_MESSAGE, QUEUE_CONF_FILE, QUEUE_LOCATION)
1509 (QUEUE_STRING): Define using one `use constant' each; as perl
1510 5.6.0 (on MSYS) does not understand `use constant { ... }'.
1512 Report by Peter Rosin.
1514 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1516 Fix recursive html and install-* doc rules for BSD make.
1517 * automake.in (%required_targets): Add html-am,
1518 install-html-am, install-dvi-am, install-pdf-am, install-ps-am,
1520 * tests/txinfo32.test: New test.
1521 * tests/Makefile.am: Update.
1524 * lib/am/distdir.am (distcheck): Fix typo in comment.
1526 Ignore generated files below doc/amhello for git.
1527 * doc/amhello/.gitignore: New file.
1529 2009-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1531 * doc/automake.texi (Program variables): Add cross reference to
1532 `Flag Variables Ordering' node.
1533 Report by Karl Berry.
1535 2009-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1537 Fix mmodely.test to work on Solaris 10.
1538 * tests/mmodely.test: Define yylex, to satisfy needed symbol in
1539 libfl. Return from main instead of using exit, undeclared.
1541 Report by Chris Hoogendyk.
1543 2009-01-30 Karl Berry <karl@freefriends.org>
1545 * lib/gnupload: Add download URL to --help output.
1547 2009-01-23 Eric Blake <ebb9@byu.net>
1549 Use no-arg macros via AC_REQUIRE for consistency.
1550 * m4/init.m4 (AM_INIT_AUTOMAKE): Require, rather than directly
1551 expand, AM_PROG_INSTALL_SH and AM_PROG_INSTALL_STRIP.
1552 * configure: Regenerate.
1554 2009-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1556 Bump copyright years.
1557 * aclocal.in (write_aclocal, version): Bump copyright years.
1558 * automake.in (gen_copyright, version): Likewise.
1559 * doc/automake.texi: Likewise.
1561 2008-12-29 Chris Pickett <chris.pickett@mail.mcgill.ca> (tiny change)
1563 * doc/automake.texi (LIBOBJS): Clarify overriding of
1567 2008-12-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1569 Revamp semantics for `missing help2man' and manpage distribution.
1570 Previously, `missing help2man' would create a missing man page
1571 containing an error message, and exit 1. This does not play
1572 well with `make': the next run will see this particular man page
1573 as being up to date, and will only error out on the next
1574 generated man page, if any; repeat until all pages are done.
1575 This patch changes `missing' to exit successfully in this case,
1576 but `make dist' will ensure that no such man pages are packaged.
1577 * lib/missing: Exit successfully even if we create a replacement
1578 page due to missing help2man.
1579 * automake.in (make_paragraphs): Define %HAVE-MANS% to be true
1580 if this makefile deals with man pages.
1581 * lib/am/distdir.am (distdir): If %INSTALL-MAN% and %HAVE-MANS%,
1582 check that no man page in $(MANS) contains the replacement text
1584 * tests/man4.test: New test.
1585 * tests/Makefile.am: Update.
1586 * NEWS: Reorder a bit, update.
1588 Report by Werner Lemberg and Karl Berry.
1590 Do not use 'global' for makefile-wide settings.
1591 * doc/automake.texi (Linking, Libtool Flags)
1592 (Program and Library Variables, Flag Variables Ordering):
1593 Reword instances of `global variables' that really mean
1596 Report by Andreas Bergmeier.
1598 Fix config.status depfiles failure.
1599 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Commands are
1600 again a single shell brace group, so they are correctly skipped
1601 when dependencies are turned off. The failure is noisy with
1603 * tests/depend6.test: New test.
1604 * tests/Makefile.am: Adjust.
1606 Report and different suggested patch by Markus Duft.
1608 2008-12-21 Zoltan Rado <z.rado@chello.hu> (tiny change)
1610 * doc/automake.texi (DESTDIR): Fix a couple of typos.
1613 2008-12-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1615 Fix nonportable sed script in 'missing'.
1616 * lib/missing: In sed script, do not use ';' after 't' commands.
1618 2008-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1621 * doc/automake.texi (amhello Explained)
1622 (Mixing Fortran 77 With C and C++): Fix broken links to
1624 Report by Michael Ploujnikov.
1626 2008-12-07 Michael Ploujnikov <ploujj@gmail.com> (tiny change)
1628 * doc/automake.texi (Optional, Future of aclocal): Various
1629 spelling and grammar fixes.
1632 2008-12-03 William Pursell <bill.pursell@gmail.com>
1634 Simple typographical and grammar errors in automake.texi.
1635 * doc/automake.texi: Fix object/article consistency (eg "an
1636 flag" becomes "a flag"), correct minor punctuation errors, etc.
1638 * doc/automake.texi (Auxiliary Programs, Python, Rebuilding):
1639 Replace 'configure' with '@command{configure}' as appropriate.
1641 2008-11-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1643 Fixup release rules.
1644 * Makefile.am (cvs-diff): Remove.
1645 (git-dist): Do not use clcommit any more. Use new-style tag
1646 name. Pass $(AM_MAKEFLAGS) to $(MAKE).
1648 (git-release): Do not upload to sources.redhat.com.
1650 2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1652 Fix portability issues in distcleancheck_listfiles doc example.
1653 * doc/automake.texi (Dist): In the `distcleancheck_listfiles'
1654 code example, add `.' path, for Solaris `find', also rewrite so
1655 `{}' appears only once and as separate argument, for Posix.
1656 * tests/distcleancheck.test: New test.
1657 * tests/Makefile.am: Update.
1659 Report by Jan Engelhardt and Andreas Schwab.
1661 2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1662 Jim Meyering <jim@meyering.net>
1664 Cope with whitespace in $MISSING and $install_sh.
1665 * configure.ac (am_AUTOHEADER): New substitution, save the value
1666 of $AUTOHEADER before AM_INIT_AUTOMAKE may add $MISSING.
1667 * tests/defs.in: Use am_AUTOHEADER.
1668 * lib/am/install.am: Fix typo.
1669 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): Add suitable
1670 single-quote quoting to install_sh, but only if needed.
1671 * m4/missing.m4 (AM_MISSING_HAS_RUN): Add suitable double-quote
1672 quoting to MISSING, but only if needed.
1673 * m4/sanity.m4 (AM_SANITY_CHECK): Abort configure if `pwd` or
1674 $srcdir contain shell meta-characters that cannot be handled;
1675 space and tab are allowed in the former only.
1676 * tests/sanity.test: New test.
1677 * tests/Makefile.am: Adjust.
1679 Reports by Jim Meyering and others.
1681 2008-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1683 Let `missing' also work with versioned and prefixed programs.
1684 * lib/missing: Ignore prefixes of `gnu-', `gnu', and `g' when
1685 testing for known programs; also, ignore suffixes.
1686 * tests/missing.test: Amend test.
1687 * NEWS, THANKS: Update.
1690 2008-11-23 William Pursell <bill.pursell@gmail.com>
1692 * doc/automake.texi (Macro search path, Extending aclocal)
1693 (Local Macros, Serials, Public macros, Directories)
1694 (Conditional Subdirectories, Nesting Packages)
1695 (Building a program, Libtool Modules)
1696 (Program and Library Variables, Default _SOURCES, LIBOBJS):
1697 Correct verb/object tense agreement, swap some words,
1698 and general trivial cleanup.
1700 2008-11-22 William Pursell <bill.pursell@gmail.com>
1701 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1703 * doc/automake.texi (VPATH Builds, Nested Packages)
1704 (Length limitations, Auxiliary Programs, Invoking Automake)
1705 (Requirements, Optional): Fix typos and grammaros, correct URL
1706 to 'config' source repository. Rewrite description of AC_SUBST.
1707 (true): Cross-reference to `Default _SOURCES' node.
1709 2008-11-22 William Pursell <bill.pursell@gmail.com>
1711 * configure.ac: Quote APIVERSION.
1713 2008-11-22 Jim Meyering <meyering@redhat.com>
1715 * tests/xz.test: Fix typo introduced by Ralf in last patch.
1717 Add xz compression support.
1718 * NEWS: Mention xz as well as lzma (xz will displace lzma).
1719 * automake.in (handle_dist): Recognize dist-xz.
1720 (make_paragraphs): Map XZ to dist-xz.
1721 * doc/automake.texi (Dist): Add dist-xz.
1722 (Options): Likewise.
1723 * lib/Automake/Options.pm (_process_option_list): Accept
1725 * lib/am/distdir.am (dist-xz): New rule.
1726 (dist dist-all): Add command to create an xz-compressed tarball.
1727 (distcheck): Handle xz-compressed tarballs just like the others.
1728 * tests/xz.test: New file, based on nogzip.test.
1729 * tests/Makefile.am (TESTS): Add xz.test.
1731 2008-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1733 When installing COPYING, recommend adding the file to VCS.
1734 * automake.in (require_file_internal): If installing `COPYING',
1735 mention that we install the GPLv3 file and recommend adding the
1736 file to version control.
1737 * doc/automake.texi (Invoking Automake): Point to `Gnits' node
1738 for `--add-missing'.
1739 (Gnits): Clarify semantics: that for strictness gnu or higher,
1740 INSTALL is installed, and that COPYING is installed as GPLv3
1741 if no COPYING file exists.
1742 * tests/license2.test: New test.
1743 * tests/Makefile.am: Update.
1744 * NEWS, THANKS: Update.
1745 Report by Brian Cameron.
1747 2008-11-20 William Pursell <bill.pursell@gmail.com>
1749 * doc/automake.texi (Timeline): Fix typos and grammaros.
1751 2008-11-12 Karl Berry <karl@freefriends.org>
1753 New gnupload option --delete to remove archive files.
1754 * lib/gnupload: Accept --delete to remove files from
1755 alpha.gnu.org or ftp.gnu.org.
1757 2008-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1759 Testsuite fixes for ksh.
1760 * tests/check10.test: Add ':' as last command in subshell, for
1761 zero exit status of the subshell.
1762 * tests/parallel-am.test: Do not let failing 'unset' of
1763 nonexistent variable exit the test.
1764 * tests/parallel-am2.test: Likewise.
1765 * tests/parallel-am3.test: Likewise.
1767 2008-11-11 Charles Wilson <libtool@cwilson.fastmail.fm> (tiny change)
1768 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1770 Cleanup config.lt in case LT_OUTPUT is in use.
1771 * lib/am/libtool.am [TOPDIR_P] (distclean-libtool): clean up
1772 config.lt as well as libtool.
1773 * tests/libtoo11.test: New test.
1774 * tests/Makefile.am: Update.
1777 2008-11-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1779 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
1780 lib/texinfo.tex: Sync from upstream.
1782 2008-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1785 * doc/fdl.texi: Update to GFDL 1.3.
1786 * doc/automake.texi (GNU Free Documentation License): Adjust.
1790 * automake.in: Fix typos in comments. Remove extraneous
1793 2008-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1795 Cope with absent Perl modules threads and Thread::Queue.
1796 * automake.in: Instead of `use threads', use `require threads;
1797 import threads' inside a BEGIN section. Likewise for
1799 * lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Likewise.
1800 * lib/Automake/tests/Condition-t.pl: Likewise.
1801 * lib/Automake/tests/DisjConditions-t.pl: Likewise.
1802 * configure.ac: Likewise, use `require' and `import'.
1803 Report by Eric Blake, fix suggested by Ben Pfaff.
1805 2008-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1807 Multiple 'make uninstall' should not fail even for TEXINFOS.
1808 * lib/am/texinfos.am (uninstall-info-am): Do not fail due to
1809 install-info if the installed file does not exist (any more).
1810 * tests/txinfo26.test: Issue multiple `make uninstall'.
1811 * tests/instmany-mans.test: Likewise.
1812 * tests/instmany-python.test: Likewise.
1813 * tests/instmany.test: Likewise.
1814 * tests/txinfo26.test: Likewise.
1817 2008-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1819 New public macro AM_SUBST_NOTMAKE.
1820 * m4/substnot.m4 (AM_SUBST_NOTMAKE): New public macro; invoke
1821 _AM_SUBST_NOTMAKE with arguments.
1822 * doc/automake.texi (Optional): Document it.
1824 * tests/subst4.test: New test.
1825 * tests/Makefile.am: Update.
1826 Suggestion by Bruno Haible.
1828 Fix regression introduced by AM_DEFAULT_SOURCE_EXT.
1829 * automake.in (handle_source_transform): Use the right variable
1830 when determining whether to apply the old rule for the libtool
1831 library default source name.
1832 Testsuite failure exposed by Bob Proulx' build daemon.
1834 2008-11-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1836 New maintainer target release-stats.
1837 * Makefile.am (release-stats): New target, to help computing the
1838 entries in the statistics table in automake.texi.
1839 * doc/automake.texi (Releases): Reformat a bit. Add number of
1840 generated files. Add entry for 1.10.1.
1842 Choose default source extension: AM_DEFAULT_SOURCE_EXT.
1843 * automake.in (handle_source_transform): Accept unconditional
1844 literal extension in AM_DEFAULT_SOURCE_EXT as override for the
1845 default source extension `.c'. If set, ignore the old default
1846 source rule for libtool libraries.
1847 * doc/automake.texi (Default _SOURCES): Document this.
1849 * tests/specflg10.test: New test.
1850 * tests/Makefile.am: Update.
1851 Suggestion by Akim Demaille.
1853 Fix maintainer-check failure.
1854 * tests/parallel-am.test: Rename variable to not match pattern
1855 used in maintainer-check.
1857 2008-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1860 Spotted by Jim Meyering.
1862 2008-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1864 Parallel automake --add-missing: serialized file installs.
1865 * automake.in (QUEUE_CONF_FILE, QUEUE_LOCATION, QUEUE_STRING):
1866 New serialization keys.
1867 ($required_conf_file_queue): New file global.
1868 (queue_required_conf_file, require_queued_conf_file): New
1869 functions, to queue and dequeue requirements for aux dir files.
1870 (require_conf_file): Enqueue if needed.
1871 (get_number_of_threads): Can do threads with --add-missing now.
1872 (handle_makefiles_threaded): Let worker threads enqueue, let
1873 master attend to queued requirements at the right time.
1874 * tests/parallel-am.test: Explain the purpose of the include
1876 * tests/parallel-am2.test: Also cope with --add-missing.
1877 * tests/parallel-am3.test: New test, test absence of races with
1878 concurrent same-file installs stemming from --add-missing.
1879 * tests/Makefile.am: Adjust.
1881 Implement serialization for Locations.
1882 * lib/Automake/Location.pm (serialize, deserialize): New
1883 functions. They allows to serialize a Location in an array, and
1884 to restore a Location from a thread queue. The API is
1885 unsymmetric (array vs. queue) because enqueuing data needs to
1888 Parallel automake: ordered output messages.
1889 * lib/Automake/Channels.pm (%_default_options): New options
1890 `ordered' default enabled, `queue', default zero (no queue),
1891 `queue_key' default undefined.
1892 (_merge_options): Ensure `ordered' channels cannot have fatal
1893 messages or backtrace output.
1894 (_enqueue, _dequeue): New functions, to push messages onto a
1895 Thread::Queue, and output messages from such a queue, suitably
1896 weeded for duplicates in the same manner as _print_message.
1897 (_print_message): If the channel is ordered and has an
1898 associated queue, then enqueue messages instead of printing
1900 (setup_channel_queue, pop_channel_queue): New functions,
1901 to set a Thread::Queue for channels, and to flush a queue.
1902 * lib/Automake/ChannelDefs.pm: Unset channel option `ordered'
1903 for fatal, automake, and verb channels.
1904 * automake.in (QUEUE_MESSAGE): New global constant, used as
1906 (handle_makefiles_threaded): Create message queues for each
1907 input file; workers queue messages, and the master outputs them
1908 ordered, using the new Channels.pm functions.
1909 * tests/parallel-am.test: Also check for ordered output (in the
1910 absence of --add-missing races).
1911 * tests/parallel-am2.test: New test; check for ordered output of
1912 warning and (regular) error messages.
1913 * tests/Makefile.am: Adjust.
1915 Parallel automake execution: AUTOMAKE_JOBS.
1916 * lib/Automake/Config.in (perl_threads): New global.
1917 * automake.in: Use it. If the perl supports interpreter-based
1918 threading, then use `threads' and `Thread::Queue'.
1919 (handle_makefile, handle_makefiles_serial): New functions,
1920 factored out from main.
1921 (get_number_of_threads): New function, compute number of threads
1922 to use, based on environment variable `AUTOMAKE_JOBS' and number
1923 of independent makefiles.
1924 (handle_makefiles_threaded): New function. Spawn threads, use
1925 thread queue to distribute handling the different makefiles.
1926 Collect $exit_code values from threads.
1927 (main): Use new functions.
1928 * aclocal.in: No threads here.
1929 * configure.ac: Substitute PERL_THREADS; enabled with perl >=
1930 5.7.2 and when ithreads are available.
1931 * bootstrap (dosubst): Likewise.
1932 * Makefile.am (do_subst): Likewise.
1933 * lib/Automake/Makefile.am (do_subst): Likewise.
1934 * lib/Automake/ChannelDefs.pm: Use `Automake::Config' and
1936 (verb): Prepend thread ID (tid) to verbose messages.
1937 * lib/Automake/Channels.pm (msg): Before exiting, flush stderr,
1938 needed for worker threads.
1939 * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Also
1940 include the build tree path, so Config.pm is found.
1941 * tests/parallel-am.test: New test.
1942 * tests/Makefile.am: Update.
1943 * doc/automake.texi (Invoking Automake): Document AUTOMAKE_JOBS.
1944 * NEWS, THANKS: Update.
1945 Report about long execution times by Joakim Tjernlund and others.
1947 2008-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1949 Minor file checking optimization: set_dir_cache_file.
1950 * lib/Automake/FileUtils.pm (set_dir_cache_file): New function.
1951 * automake.in (require_file_internal): Instead of resetting the
1952 cache when a file has been installed, simply correct the cache
1953 using set_dir_cache_file.
1955 No uniquifying for fatal, prog_error, and verbose messages.
1956 There is no point in dropping critical messages, even if they
1957 are duplicates (unlikely to happen unless they have been sent
1958 as non-critical messages before), and verbose messages should
1959 enable to show progress, even using duplicate statements.
1960 * lib/Automake/ChannelDefs.pm (fatal, automake, verb): Set
1961 `uniq_part' to `UP_NONE' when registering these channels.
1963 Fix 'config.status --file=... depfiles' with new Autoconf.
1964 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Eval
1965 $CONFIG_STATUS contents if we detect the quoting used by
1966 Autoconf 2.62 and newer for --file=.
1967 * tests/depend5.test: New test.
1968 * tests/Makefile.am: Update.
1969 * NEWS, THANKS: Update.
1970 Report by Sam Steingold against gnulib.
1972 2008-10-26 Johan Dahlin <jdahlin@async.com.br>
1974 Support for Python 3.0, drop support for pre-2.0.
1975 * lib/py-compile: Do not import string; use sys.stdout.write
1976 instead of print, files.split instead of string.split.
1977 * m4/python.m4 (AM_PATH_PYTHON): Also look for python3 and
1978 phython3.0; do not look for python1.5. Use sys.stdout.write.
1979 (AM_PYTHON_CHECK_VERSION): Do not use string; adjust to xrange
1980 removal in Python 3.0, and changed semantics of map.
1981 * doc/automake.texi (Python, Hard-Coded Install Paths): Update
1982 Python versions mentioned in the manual, using 2.5 everywhere.
1983 * NEWS, THANKS: Update.
1985 2008-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1987 * lib/Automake/Channels.pm (@chain): Drop unused variable.
1989 Cleanup of per-input global variables in automake.in.
1990 * automake.in ($output_vars, $output_all, $output_header)
1991 ($output_rules, $output_trailer): Fix comment, and sort
1992 declarations in the order they will appear in the output.
1993 ($all_target): Unused variable, remove.
1994 (Variables not reset by &initialize_per_input.): New section,
1995 clarify that %am_file_cache is not reset.
1996 (initialize_per_input): Reset $am_file_name, $am_relative_dir,
1997 $in_file_name, $relative_dir, and $topsrcdir to `undef' rather
1998 than the empty string; $topsrcdir was not reset at all. Sort
1999 remaining variables in the same order as in the section
2000 `Variables reset by &initialize_per_input'.
2002 Let stderr output end up on fd 2 in testsuite.
2003 * tests/defs.in (AUTOMAKE_run): Output recorded stderr on file
2005 * tests/getopt.test: Fix erroneous multiple redirection,
2006 uncovered by above change.
2008 2008-10-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2010 Fix DisjConditions module to be thread-safe for perl >= 5.7.2.
2011 Self-hashes of blessed references are not correctly transported
2012 through thread creation. This patch fixes that by recreating
2013 the hashes upon thread creation with a CLONE special subroutine,
2014 which is automatically invoked by new enough Perl versions.
2015 * lib/Automake/DisjConditions.pm (CLONE): New special
2016 subroutine to fix self hashes upon thread creation.
2017 * lib/Automake/tests/Condition-t.pl: New, sister test to
2018 Condition.pl, but spawns a new threads after each creation of a
2019 new condition; skip test if perl is too old or ithreads are not
2021 * lib/Automake/tests/DisjConditions-t.pl: Likewise.
2022 * lib/Automake/tests/Makefile.am (TESTS): Add them.
2024 2008-10-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2027 * automake.in (require_file_internal): Fix typos in comments.
2028 * m4/amversion.in: Likewise.
2029 * lib/Automake/Variable.pm: Likewise.
2030 * lib/Automake/XFile.pm: Likewise.
2032 Diagnose unsupported uses of `backname' helper function.
2033 * automake.in (backname): Error out if the path points outside
2034 the directory it started in.
2036 2008-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2038 Nicer 'make dist' output.
2039 * lib/am/distdir.am (distdir): Hide the complex script
2040 used for computing the relative subdirs; echo the sub-make
2043 2008-10-12 William Pursell <bill.pursell@gmail.com> (tiny patch)
2045 * tests/defs.in: Fix comment typo.
2047 2008-10-12 William Pursell <bill.pursell@gmail.com>
2048 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2050 Fix grammar w.r.t. plurals in test reports.
2051 * lib/am/check.am: Fix singular/plural forms in test reports.
2052 * tests/check10.test: New test.
2053 * tests/Makefile.am: Update.
2055 2008-10-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2057 Require texi2dvi in tests, makeinfo may not be enough.
2058 * tests/txinfo16.test: RHEL 5.2 has makeinfo and texi2dvi in
2059 separate packages, so also list the latter as required, as the
2060 test generates DVI and/or PDF output (through distcheck).
2061 * tests/txinfo18.test: Likewise.
2062 * tests/txinfo21.test: Likewise.
2063 * tests/txinfo22.test: Likewise.
2064 * tests/txinfo3.test: Likewise.
2065 * tests/version7.test: Likewise.
2067 Report by Alexander Martens.
2069 Fix bootstrap to remove read-only directories right.
2070 * bootstrap: Remove automake-$APIVERSION correctly.
2072 2008-10-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2074 Improve test coverage of current TESTS semantics.
2075 * tests/check8.test: New test, for subdir tests and setting of
2077 * tests/check9.test: New test, check @substituted@ TESTS.
2078 * tests/Makefile.am: Update.
2080 2008-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2082 * m4/minuso.m4 (AM_PROG_CC_C_O): Work around shell quoting issue
2083 with AIX sh; fixes depcomp6.test failure.
2084 * NEWS, THANKS: Update.
2085 Report by Rainer Tammer.
2087 Print captured output before failing.
2088 * tests/acloca14.test, tests/acloca17.test, tests/acloca18.test,
2089 tests/aclocal.test, tests/acsilent.test, tests/alpha.test,
2090 tests/check4.test, tests/color.test, tests/fn99.test,
2091 tests/fn99subdir.test, tests/help.test, tests/init.test,
2092 tests/lisp8.test, tests/missing3.test, tests/pr220.test,
2093 tests/python11.test, tests/python4.test, tests/python5.test,
2094 tests/unused.test, tests/version8.test: When Exit is called
2095 after a command that has stdout or stderr redirected to a file
2096 for later inspection, output the file before failing the test.
2098 Fix some comment typos.
2099 * automake.in: Fix some comment typos.
2100 * lib/Automake/Condition.pm: Likewise.
2101 * lib/Automake/DisjConditions.pm: Likewise.
2102 * lib/Automake/Variable.pm: Likewise.
2103 * lib/Automake/tests/DisjConditions.pl: Likewise.
2105 2008-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2107 * tests/aclibobj.test: Fix race condition.
2109 2008-09-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2111 Fix man page creation without installed files.
2112 * doc/Makefile.am (update_mans): Use wrappers in tests/
2114 ($(srcdir)/aclocal-$(APIVERSION).1): Use versioned wrapper as
2115 input program to help2man.
2116 ($(srcdir)/automake-$(APIVERSION).1): Likewise.
2117 Report by Eric Blake.
2119 2008-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2121 Remove unneeded per-rule *INSTALL variables.
2123 * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): Remove.
2124 (install-%DIR%%PRIMARY%): Adjust.
2125 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Remove.
2126 (install-%DIR%LIBRARIES): Adjust.
2127 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): Remove.
2128 (install-%DIR%LTLIBRARIES): Adjust.
2129 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): Remove.
2130 (install-%DIR%PROGRAMS): Adjust.
2131 * lib/am/python.am (%DIR%PYTHON_INSTALL): Remove.
2132 (install-%DIR%PYTHON): Adjust.
2133 * lib/am/scripts.am (%DIR%SCRIPT_INSTALL): Remove.
2134 (install-%DIR%SCRIPTS): Adjust.
2136 Compactify program rules using ternary operators.
2137 * lib/am/progs.am (install-%DIR%PROGRAMS): Uglify^WCompactify
2138 using ternary operators `%KEY?TRUE:FALSE%'.
2139 (uninstall-%DIR%PROGRAMS): Likewise.
2141 New doc section about command line length limits.
2142 * doc/automake.texi (Length limitations): New node.
2143 (Alternative): `nobase_' is not always equivalent to several
2145 (Install): Mention multi-file install.
2146 * NEWS: Expand on the issue, list some more user-visible
2149 Install nobase_lib_LTLIBRARIES before bin_PROGRAMS.
2150 * automake.in (generate_makefile): If nobase_lib_LTLIBRARIES are
2151 used, add an ugly hack to install them before bin_PROGRAMS, just
2152 like done with lib_LTLIBRARIES.
2153 * tests/ltorder.test: Add program, to expose this.
2155 Do not reorder nobase ltlib installation.
2156 This patch changes back the order of installation of nobase
2157 LTLIBRARIES to that in which files are listed in the variables.
2158 It does not fix the issue of strict dependency ordering, as
2159 implied by *_LIBADD, but as before allows to steer the order by
2160 listing the libraries in nobase_*_LTLIBRARIES appropriately.
2161 As an advantage over the state of 1.10, multiple consecutive
2162 nobase libraries to be installed in the same directory are
2163 passed to libtool in one invocation.
2164 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES) [!%?BASE%]: Do not
2165 reorder libraries upon installation. Remove spurious empty
2167 * tests/ltorder.test: New test.
2168 * tests/Makefile.am: Update.
2170 Fix -rpath arguments for nobase_*_LTLIBRARIES.
2171 * automake.in (handle_ltlibraries): New hash %instsubdirs to
2172 track the dirname of nobase ltlibraries, and tack it onto the
2173 end of the -rpath argument. Also, fix the warning about ltlibs
2174 installed in multiple locations to fit a bit better.
2175 * tests/pr300-ltlib.test: Expose this bug here.
2176 * tests/ltinstloc.test: New test.
2177 * tests/Makefile.am: Update.
2180 Man pages for automake and aclocal.
2181 * configure.ac (HELP2MAN): New substitution.
2182 * doc/Makefile.am (dist_man1_MANS, MAINTAINERCLEANFILES)
2183 (update_mans): New macros.
2184 ($(srcdir)/aclocal-$(APIVERSION).1)
2185 ($(srcdir)/automake-$(APIVERSION).1): New rules, generate
2186 man pages from the command line help with help2man.
2187 ($(srcdir)/aclocal.1, $(srcdir)/automake.1): New rules, for
2188 `.so' man page links to the versioned pages.
2191 2008-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2193 Faster install for libtool outputs.
2194 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Invoke `libtool
2195 --mode=install' with multiple libraries at once.
2196 (%DIR%LTLIBRARIES_INSTALL): No need to use install_sh any more.
2197 * lib/am/progs.am (install-%DIR%PROGRAMS): Likewise, remove much
2198 of the libtool special-casing by invoking it for multiple
2201 2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2203 Fast install and uninstall for SCRIPTS.
2204 * lib/am/scripts.am [%?INSTALL%]: Include inst-vars.am
2205 independent of `%?BASE%'.
2206 (install-%DIR%SCRIPTS): Install multiple scripts at once,
2207 using awk and a number of sed scripts.
2208 (uninstall-%DIR%SCRIPTS): Compute the installed names, and
2209 remove them, all at once.
2210 (%DIR%SCRIPT_INSTALL) [!BASE]: No need to use install-sh any
2213 Multi-file install for PROGRAMS.
2214 * lib/am/progs.am (install-%DIR%PROGRAMS): Allow to install
2215 several programs with one install invocation, when not using
2216 libtool; employs some trickery to cater for nobase_, $(EXEEXT),
2217 create needed directories, libtool, while only forking a
2218 constant number of times in the fast path; uses awk and sed also
2219 in the default path.
2220 (%DIR%PROGRAMS_INSTALL) [!BASE]: No need to use install-sh any
2223 Enhance cleaning of programs in libtool mode.
2224 * lib/am/progs.am (clean-%DIR%PROGRAMS) [?LIBTOOL?]: Fork less
2225 often, avoid removing programs twice if $(EXEEXT) is empty.
2226 * tests/nobase-libtool.test: Also test PROGRAMS, in order to
2227 exercise the code path.
2229 Report by Toralf Förster.
2231 2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2232 Jim Meyering <jim@meyering.net>
2234 Reliable multi-file install for man pages.
2235 * lib/am/mans.am: Include inst-vars.am.
2236 (install-man%SECTION%): Gather lists of man pages to install,
2237 and install up to 40 of those that do not have to be renamed
2238 at once. Fail if installation of any file fails.
2239 (uninstall-man%SECTION%): Rewrite to use fewer sed invocations.
2240 * doc/automake.texi (Man pages): Hint the user to the fast path.
2242 * tests/instmany-mans.test: New test.
2243 * tests/Makefile.am: Update.
2245 2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2247 Faster `make uninstall'; fast install for JAVA.
2248 * lib/am/inst-vars.am (am__nobase_strip_setup)
2249 (am__nobase_strip): New macros.
2250 (am__nobase_list): Factorize.
2251 * lib/am/data.am (uninstall-%DIR%%PRIMARY%): Use them, for a
2252 constant number of forks per uninstall.
2253 * lib/am/libs.am (uninstall-%DIR%LIBRARIES): Likewise.
2254 * lib/am/lisp.am (uninstall-%DIR%LISP): Likewise.
2255 * lib/am/progs.am (uninstall-%DIR%PROGRAMS): Fast uninstall.
2256 * lib/am/python.am (uninstall-%DIR%PYTHON): Fast uninstall.
2257 Echo all `rm' commands that are are executed.
2258 * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA):
2259 Fast install and uninstall.
2261 AIX ranlib dislikes spaces in the argument.
2262 * lib/am/libs.am (install-%DIR%LIBRARIES): Fix instsh.test
2263 failure on AIX due to ranlib and whitespace in the directory.
2265 Report by John F Trudeau.
2267 Fail upon install or ranlib failure, part two.
2268 * lib/am/java.am (install-%DIR%JAVA): Fail upon install failure.
2269 * lib/am/lisp.am (install-%DIR%LISP): Likewise.
2270 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Likewise.
2271 * lib/am/libs.am (install-%DIR%LIBRARIES): Likewise, for
2272 `install' as well as `ranlib'.
2273 * lib/am/progs.am (install-%DIR%PROGRAMS): If `install' fails,
2274 return its exit failure, not 1.
2275 * tests/instfail.test: New test, for PROGRAMS (without libtool),
2276 LIBRARIES, including nobase variants.
2277 * tests/instfail-info.test: Likewise, for TEXINFOS.
2278 * tests/instfail-java.test: Likewise, for JAVA.
2279 * tests/instfail-libtool.test: Likewise, for PROGRAMS (with
2280 libtool) and LTLIBRARIES.
2281 * tests/Makefile.am: Adjust.
2283 Exit upon `install' failure, part one.
2284 * lib/am/data.am (install-%DIR%%PRIMARY%): Exit if any install
2286 * lib/am/python.am (install-%DIR%PYTHON): Likewise.
2287 * lib/am/scripts.am (install-%DIR%SCRIPTS): Likewise.
2288 * lib/am/texinfos.am (install-dvi-am, install-html-am)
2289 (install-info-am:, install-pdf-am): Likewise.
2290 * tests/instmany.test: New test, for SCRIPTS, DATA, and HEADERS.
2291 * tests/instmany-python.test: New test, for PYTHON.
2292 * tests/Makefile.am: Adjust.
2294 2008-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2296 Fix multi-file installation for files in srcdir.
2297 For files that can live in the build tree or the source tree,
2298 we have to expect that prepending `$(srcdir)/' to each name
2299 will let the install command line exceed length limitations.
2300 Thus use a new macro, $(am__base_list), to install in chunks
2301 of 40 files, similar to what we do for nobase_* files. There,
2302 lower the limit to 40, too.
2303 * lib/am/inst-vars.am (am__install_max): Lower to 40.
2304 (am__base_list): New macro.
2305 * lib/am/data.am (install-%DIR%%PRIMARY%) [%?BASE%]: Use it.
2306 * lib/am/texinfos.am (install-dvi-am, install-html-am)
2307 (install-info-am, install-pdf-am, install-ps-am): Likewise.
2309 2008-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2311 Use `Exit' instead of `exit' in test suite.
2312 Cater to Bourne shells like Solaris sh that do not pass the
2313 `exit' argument as status to the cleanup trap.
2314 * Makefile.am (maintainer-check): Check that here-documents
2315 use only `END' or `EOF' as delimiter in the test suite.
2316 Check that, outside of here-documents, the tests do not use
2317 `exit' with an argument, but use `Exit' instead.
2318 * tests/defs.in (Exit): New function. Use it throughout,
2319 starting with the introduction of the exit trap.
2320 * tests/aclibobj.test, tests/acloca10.test, tests/acloca11.test,
2321 tests/acloca12.test, tests/acloca13.test, tests/acloca14.test,
2322 tests/acloca15.test, tests/acloca16.test, tests/acloca17.test,
2323 tests/acloca18.test, tests/acloca19.test, tests/acloca20.test,
2324 tests/acloca21.test, tests/acloca22.test, tests/aclocal.test,
2325 tests/aclocal3.test, tests/aclocal4.test, tests/aclocal5.test,
2326 tests/aclocal6.test, tests/aclocal7.test, tests/aclocal8.test,
2327 tests/aclocal9.test, tests/acoutbs.test, tests/acoutbs2.test,
2328 tests/acoutnoq.test, tests/acoutpt.test, tests/acoutpt2.test,
2329 tests/acoutqnl.test, tests/acsilent.test, tests/acsubst.test,
2330 tests/acsubst2.test, tests/all.test, tests/alloca.test,
2331 tests/alloca2.test, tests/alpha.test, tests/alpha2.test,
2332 tests/amassign.test, tests/ammissing.test, tests/amopt.test,
2333 tests/amsubst.test, tests/ansi.test, tests/ansi10.test,
2334 tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
2335 tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
2336 tests/ansi7.test, tests/ansi8.test, tests/ansi9.test (main),
2337 tests/ar.test, tests/ar2.test, tests/asm.test, tests/asm2.test,
2338 tests/asm3.test, tests/automake.test, tests/auxdir.test,
2339 tests/auxdir2.test, tests/auxdir3.test, tests/auxdir4.test,
2340 tests/backsl.test, tests/backsl2.test, tests/backsl3.test,
2341 tests/backsl4.test, tests/badline.test, tests/badopt.test,
2342 tests/badprog.test, tests/block.test, tests/bsource.test,
2343 tests/canon-name.test, tests/canon.test, tests/canon2.test,
2344 tests/canon3.test, tests/canon4.test, tests/canon5.test,
2345 tests/ccnoco.test, tests/ccnoco2.test, tests/check.test,
2346 tests/check2.test, tests/check3.test, tests/check4.test,
2347 tests/check5.test, tests/check6.test, tests/check7.test,
2348 tests/checkall.test, tests/clean.test, tests/clean2.test,
2349 tests/colneq.test, tests/colneq2.test, tests/colon.test,
2350 tests/colon2.test, tests/colon3.test, tests/colon4.test,
2351 tests/colon5.test, tests/colon6.test, tests/colon7.test,
2352 tests/color.test (test_no_color), tests/commen10.test,
2353 tests/comment.test, tests/comment2.test, tests/comment3.test,
2354 tests/comment4.test, tests/comment5.test, tests/comment6.test,
2355 tests/comment7.test, tests/comment8.test, tests/comment9.test,
2356 tests/compile.test, tests/compile_f90_c_cxx.test,
2357 tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
2358 tests/cond11.test, tests/cond13.test, tests/cond14.test,
2359 tests/cond15.test, tests/cond16.test, tests/cond17.test,
2360 tests/cond18.test, tests/cond19.test, tests/cond2.test,
2361 tests/cond20.test, tests/cond21.test, tests/cond22.test,
2362 tests/cond27.test, tests/cond3.test, tests/cond37.test,
2363 tests/cond39.test, tests/cond4.test, tests/cond40.test,
2364 tests/cond41.test, tests/cond5.test, tests/cond6.test,
2365 tests/cond7.test (AC_INIT), tests/cond8.test, tests/cond9.test,
2366 tests/condd.test, tests/condhook.test, tests/condinc.test,
2367 tests/condinc2.test, tests/condlib.test, tests/condman.test,
2368 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
2369 tests/conff.test, tests/conff2.test, tests/confh.test,
2370 tests/confh4.test, tests/confh5.test, tests/config.test,
2371 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
2372 tests/conflnk3.test, tests/conflnk4.test, tests/confsub.test,
2373 tests/confvar.test, tests/confvar2.test, tests/copy.test,
2374 tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
2375 tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
2376 tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
2377 tests/cygwin32.test, tests/dash.test, tests/defs.in (else),
2378 tests/defun.test, tests/defun2.test, tests/dejagnu.test,
2379 tests/dejagnu2.test, tests/dejagnu3.test, tests/dejagnu4.test,
2380 tests/dejagnu5.test, tests/dejagnu6.test, tests/dejagnu7.test,
2381 tests/depacl2.test, tests/depcomp.test, tests/depcomp2.test,
2382 tests/depcomp3.test, tests/depcomp4.test, tests/depcomp5.test,
2383 tests/depcomp6.test, tests/depcomp7.test, tests/depdist.test,
2384 tests/depend.test, tests/depend2.test, tests/depend3.test,
2385 tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
2386 tests/dirlist.test, tests/dirlist2.test, tests/discover.test,
2387 tests/distcom2.test, tests/distcom3.test, tests/distcom4.test,
2388 tests/distcom5.test, tests/distcom6.test, tests/distcom7.test,
2389 tests/distdir.test, tests/distname.test, tests/dollar.test,
2390 tests/double.test, tests/dup2.test, tests/else.test,
2391 tests/empty.test, tests/empty2.test, tests/empty3.test,
2392 tests/empty4.test, tests/exdir.test, tests/exdir2.test,
2393 tests/exdir3.test, tests/exeext.test, tests/exeext2.test,
2394 tests/exeext3.test, tests/exeext4.test, tests/exsource.test,
2395 tests/ext.test, tests/extra.test, tests/extra2.test,
2396 tests/extra3.test, tests/extra4.test, tests/extra5.test,
2397 tests/extra6.test, tests/extra7.test, tests/f90only.test,
2398 tests/flibs.test, tests/fn99.test, tests/fn99subdir.test,
2399 tests/fnoc.test, tests/fo.test, tests/fonly.test,
2400 tests/fort1.test, tests/fort2.test, tests/fort4.test,
2401 tests/fort5.test, tests/fortdep.test, tests/fpinst2.test,
2402 tests/fpinstall.test, tests/gcj.test, tests/gcj2.test,
2403 tests/gcj3.test, tests/gcj4.test, tests/gcj5.test,
2404 tests/getopt.test, tests/gettext.test, tests/gettext2.test,
2405 tests/gettext3.test, tests/gnits.test, tests/gnits2.test (main),
2406 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
2407 tests/gnuwarn2.test, tests/header.test, tests/help.test,
2408 tests/hosts.test, tests/implicit.test, tests/include.test,
2409 tests/include2.test, tests/info.test, tests/init.test,
2410 tests/insh2.test, tests/install2.test, tests/installdir.test,
2411 tests/instdat.test, tests/instdat2.test, tests/instexec.test,
2412 tests/insthook.test, tests/instman.test, tests/instman2.test,
2413 tests/instsh.test, tests/instsh2.test, tests/instsh3.test,
2414 tests/instspc.test, tests/interp.test, tests/interp2.test,
2415 tests/java.test, tests/java2.test, tests/java3.test,
2416 tests/javaprim.test, tests/javasubst.test, tests/ldadd.test,
2417 tests/ldflags.test, tests/lex.test, tests/lex2.test,
2418 tests/lex3.test, tests/lex4.test, tests/lex5.test (main),
2419 tests/libexec.test, tests/libobj10.test, tests/libobj11.test,
2420 tests/libobj12.test, tests/libobj13.test, tests/libobj2.test,
2421 tests/libobj3.test, tests/libobj4.test, tests/libobj5.test,
2422 tests/libobj7.test, tests/libobj8.test, tests/library.test,
2423 tests/library2.test, tests/library3.test, tests/libtoo10.test,
2424 tests/libtool.test, tests/libtool2.test, tests/libtool3.test
2425 (main), tests/libtool4.test, tests/libtool5.test,
2426 tests/libtool6.test, tests/libtool7.test, tests/libtool8.test,
2427 tests/libtool9.test (main), tests/license.test,
2428 tests/link_c_cxx.test, tests/link_dist.test,
2429 tests/link_f90_only.test, tests/link_f_only.test,
2430 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
2431 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
2432 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
2433 tests/lisp8.test, tests/listval.test, tests/location.test,
2434 tests/longlin2.test, tests/longline.test, tests/ltcond.test,
2435 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
2436 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/lzma.test,
2437 tests/maintclean.test, tests/make.test, tests/makej.test,
2438 tests/makevars.test, tests/man.test, tests/man2.test,
2439 tests/man3.test, tests/mclean.test, tests/mdate.test,
2440 tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
2441 tests/mdate5.test, tests/missing.test, tests/missing2.test,
2442 tests/missing3.test, tests/missing4.test, tests/missing5.test,
2443 tests/missing6.test, tests/mkinst2.test, tests/mkinst3.test,
2444 tests/mkinstall.test, tests/mmode.test, tests/mmodely.test,
2445 tests/multlib.test, tests/nobase-libtool.test,
2446 tests/nobase-python.test, tests/nobase.test, tests/nodef.test,
2447 tests/nodef2.test, tests/nodep.test, tests/nodep2.test,
2448 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
2449 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
2450 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
2451 tests/nostdinc.test, tests/notrans.test, tests/number.test,
2452 tests/objc.test, tests/objc2.test, tests/obsolete.test,
2453 tests/order.test, tests/outdir.test, tests/output-order.test,
2454 tests/output.test, tests/output10.test, tests/output11.test,
2455 tests/output12.test, tests/output13.test, tests/output2.test,
2456 tests/output3.test, tests/output4.test, tests/output5.test,
2457 tests/output6.test, tests/output7.test, tests/output8.test,
2458 tests/output9.test, tests/overrid.test, tests/parse.test,
2459 tests/pluseq.test, tests/pluseq10.test, tests/pluseq2.test,
2460 tests/pluseq3.test, tests/pluseq4.test, tests/pluseq5.test,
2461 tests/pluseq6.test, tests/pluseq7.test, tests/pluseq8.test,
2462 tests/pluseq9.test, tests/postproc.test, tests/ppf77.test,
2463 tests/pr2.test, tests/pr204.test, tests/pr211.test,
2464 tests/pr220.test, tests/pr224.test, tests/pr229.test,
2465 tests/pr243.test, tests/pr266.test, tests/pr279-2.test,
2466 tests/pr279.test, tests/pr287.test, tests/pr300-lib.test,
2467 tests/pr300-ltlib.test, tests/pr300-prog.test, tests/pr307.test,
2468 tests/pr401.test, tests/pr401b.test, tests/pr401c.test,
2469 tests/pr72.test, tests/pr87.test, tests/pr9.test,
2470 tests/prefix.test, tests/primary.test, tests/primary2.test,
2471 tests/primary3.test, tests/proginst.test, tests/python.test,
2472 tests/python10.test, tests/python11.test, tests/python12.test,
2473 tests/python2.test, tests/python3.test, tests/python4.test,
2474 tests/python5.test, tests/python6.test, tests/python7.test,
2475 tests/python8.test, tests/python9.test, tests/recurs.test,
2476 tests/recurs2.test, tests/regex.test, tests/remake.test,
2477 tests/remake2.test, tests/remake3.test, tests/remake4.test,
2478 tests/remake5.test, tests/remake6.test, tests/remake7.test,
2479 tests/req.test, tests/reqd.test, tests/reqd2.test,
2480 tests/rulepat.test, tests/scripts.test, tests/seenc.test,
2481 tests/sinclude.test, tests/space.test, tests/specflg.test,
2482 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
2483 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
2484 tests/spell.test, tests/spell2.test, tests/spell3.test,
2485 tests/spelling.test, tests/spy.test, tests/srcsub.test,
2486 tests/srcsub2.test, tests/stamph2.test, tests/stdinc.test,
2487 tests/stdlib.test, tests/stdlib2.test, tests/strip.test,
2488 tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
2489 tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
2490 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
2491 tests/subdir7.test, tests/subdir8.test, tests/subdir9.test,
2492 tests/subdirbuiltsources.test, tests/subobj.test,
2493 tests/subobj10.test, tests/subobj2.test, tests/subobj3.test,
2494 tests/subobj4.test, tests/subobj5.test, tests/subobj6.test,
2495 tests/subobj7.test, tests/subobj8.test, tests/subobj9.test,
2496 tests/subobjname.test, tests/subpkg.test, tests/subpkg2.test,
2497 tests/subpkg3.test, tests/subst.test, tests/subst2.test,
2498 tests/subst3.test, tests/substre2.test, tests/substref.test,
2499 tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
2500 tests/suffix11.test, tests/suffix12.test, tests/suffix2.test,
2501 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
2502 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
2503 tests/suffix9.test, tests/symlink.test, tests/symlink2.test,
2504 tests/symlink3.test, tests/syntax.test, tests/tags.test,
2505 tests/tagsub.test, tests/tar.test, tests/tar2.test,
2506 tests/tar3.test, tests/target-cflags.test,
2507 tests/targetclash.test, tests/transform.test, tests/txinfo.test,
2508 tests/txinfo10.test, tests/txinfo13.test, tests/txinfo16.test,
2509 tests/txinfo17.test, tests/txinfo18.test, tests/txinfo19.test,
2510 tests/txinfo2.test, tests/txinfo20.test, tests/txinfo21.test,
2511 tests/txinfo22.test, tests/txinfo23.test, tests/txinfo24.test,
2512 tests/txinfo25.test, tests/txinfo26.test, tests/txinfo27.test,
2513 tests/txinfo28.test, tests/txinfo29.test, tests/txinfo3.test,
2514 tests/txinfo30.test, tests/txinfo31.test, tests/txinfo4.test,
2515 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
2516 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
2517 tests/upc.test, tests/upc2.test, tests/upc3.test,
2518 tests/vars.test, tests/vars3.test, tests/vartar.test,
2519 tests/version.test, tests/version2.test, tests/version3.test,
2520 tests/version4.test, tests/version6.test, tests/version7.test,
2521 tests/version8.test, tests/vpath.test, tests/vtexi.test,
2522 tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
2523 tests/werror2.test, tests/whoami.test, tests/xsource.test,
2524 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
2525 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
2526 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
2527 tests/yaccvpath.test: Use `Exit $arg' instead of `exit $arg'
2528 throughout, except inside created files.
2530 2008-09-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2532 Avoid Heisenbug with verbose testing on HP-UX.
2533 * tests/output-order.test: Remove spurious redirection line
2534 from output for comparison.
2536 For all possibly-relative subdirs, use $(am__cd).
2537 Up to now, $(am__cd) was only used within backquotes, to avoid
2538 extraneous output. This patch also uses it for every `cd' to a
2539 relative subdir, to prevent CDPATH from entering an unwanted
2541 * Makefile.am (maintainer-check): Fix current check for
2542 $(am__cd) within backquotes a bit. Add new check for `cd' to a
2544 * automake.in (handle_tags, handle_configure): Adjust rules.
2545 * lib/am/ansi2knr.am: Likewise.
2546 * lib/am/configure.am: Likewise.
2547 * lib/am/distdir.am: Likewise.
2548 * lib/am/remake-hdr.am: Likewise.
2549 * lib/am/subdirs.am: Likewise.
2550 * lib/am/tags.am: Likewise.
2551 * lib/am/texibuild.am: Likewise.
2553 Fix nobase-python.test for BSD make.
2554 * tests/nobase-python.test: Listing a dependency to be found
2555 via VPATH search explicitly, without the path, as a target,
2556 will turn off VPATH search for FreeBSD make. So move the
2557 creation of the files outside of the Makefile.
2559 2008-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2561 Implement AM_MAINTAINER_MODE([DEFAULT-MODE]).
2562 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Allow for an optional
2563 first argument of `enable' or `disable', setting the default.
2564 * doc/automake.texi (Optional, maintainer-mode): Document.
2565 * tests/mmode.test: New test.
2566 * tests/Makefile.am: Adjust.
2568 Suggestion by Vincent Lefevre.
2570 2008-08-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2572 Copyright year updates.
2573 * lib/am/header-vars.am: Update copyright years.
2574 * lib/am/remake-hdr.am: Likewise.
2575 * lib/am/tags.am: Likewise.
2577 2008-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2579 * THANKS: Use Cyrillic name instead of ASCII transcription.
2581 2008-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2583 Fix rebuilding of removed subdir/Makefile.in files.
2584 * lib/am/configure.am (%MAKEFILE-IN%) [?!TOPDIR_P?]: If
2585 subdir/Makefile.in was removed, am--refresh would not update
2586 it. Fix up for it by running the per-directory rebuild rule.
2587 * tests/remake6.test, tests/remake7.test: New tests.
2588 * tests/Makefile.am: Adjust.
2589 * NEWS, THANKS: Update.
2590 Report and initial patch by Ilya N. Golubev.
2592 2008-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2594 * tests/notrans.test: Use multiple man files of each type.
2596 Fix maintainer-check failures.
2597 * doc/automake.texi (Conditionals): Drop TAB.
2598 * tests/missing6.test: Use 'rm -f'.
2600 2008-08-19 Reuben Thomas <rrt@sc3d.org> (tiny patch)
2602 * doc/automake.texi (Flag Variables Ordering, Per-Object Flags):
2605 2008-08-02 Karl Berry <karl@freefriends.org>
2607 * lib/gnupload: Provide also a simple example.
2609 2008-06-25 Thien-Thi Nguyen <ttn@gnuvola.org>
2612 * doc/automake.texi (Public Macros): Close open paren.
2614 2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2616 Introduce macro $(am__mv) to facilitate 'libtool --dry-run'.
2617 * lib/am/depend.am (am__mv): New macro, set to 'mv -f'.
2618 * lib/am/depend2.am: Use throughout to move the temporary
2619 depfile *.Tpo to its final destination *.Po.
2621 2008-06-18 Rafael Espindola <espindola@google.com>
2623 * lib/config-ml.in: don't handle --enable-shared and --enable-static.
2625 2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2627 * lib/am/inst-vars.am (am__install_max): New variable.
2628 (am__nobase_list): Use it.
2630 Fix conditional rules competing with config.status rules.
2631 * automake.in (handle_configure): Teach targets about the
2632 conditional config.status rule.
2633 * tests/cond39.test: Adjust test to expose this.
2635 For AC_CONFIG_LINKS(X,X), do not clean X in a non-VPATH build.
2636 * automake.in (rewrite_inputs_into_dependencies): Do distribute
2637 inputs where input and output name are equal. This relies on
2638 the assumption that it only happens with AC_CONFIG_LINKS.
2639 (handle_configure) <CONFIG_CLEAN_VPATH_FILES>: New variable, for
2640 links where source and dest are equal.
2641 * lib/am/clean.am (distclean-generic): Remove, if build tree not
2643 * tests/conflnk4.test: New test.
2644 * tests/Makefile.am: Adjust.
2647 2008-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2649 * doc/automake.texi (Extending): Fix ambivalent wording.
2650 Report by Ben Pfaff.
2652 2008-06-04 Karl Berry <karl@freefriends.org>
2654 * doc/automake.texi (Install, Hard-Coded Install Paths): Fix
2655 punctuation and markup.
2656 (Extending): Improve wording and clarify order semantics of
2657 *-local and *-hook targets.
2659 2008-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2661 * doc/automake.texi (Extending): Fix grammar.
2662 Report by Karl Berry.
2664 2008-05-13 Stepan Kasal <skasal@redhat.com>
2667 * doc/automake.texi (Timeline): Reported by Reuben Thomas.
2668 * lib/am/remake-hdr.am: A few typos in comments.
2670 2008-04-10 Eric Blake <ebb9@byu.net>
2672 Prefer a released version of autoconf.
2673 * NEWS: Bump requirement to autoconf 2.62.
2674 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
2675 * configure.ac: Likewise.
2676 (AC_PREREQ): Remove check, done by AM_INIT_AUTOMAKE instead.
2678 AC_AUTOCONF_VERSION can inadvertently expand to a macro name.
2679 * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Use proper
2681 * aclocal.in (write_aclocal): Likewise.
2682 * tests/missing6.test: New test.
2683 * tests/Makefile.am (TESTS): Run it.
2684 * tests/missing4.test: Adjust.
2686 2008-04-02 Eric Blake <ebb9@byu.net>
2688 Make gnupload friendlier for VPATH usage.
2689 * lib/gnupload: Allow uploads from separate directory.
2691 2008-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2693 Implement conditional AC_CONFIG_FILES: AM_COND_IF.
2694 * automake.in (%ac_config_files_condition): New.
2695 (scan_autoconf_config_files): Record condition if any.
2696 (scan_autoconf_traces): Trace _AM_COND_IF, _AM_COND_ELSE,
2697 _AM_COND_ENDIF, updating @cond_stack as appropriate.
2698 (handle_configure): Prefix config.status rule with condition.
2699 Check that m4 quotation is done consistently.
2700 * m4/cond.m4 (AM_CONDITION): Define `_AM_COND_VALUE_name'
2701 with `name' being the name of the condition, to its shell
2703 * m4/cond-if.m4: New file.
2704 (_AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF): New trace helpers.
2705 (AM_COND_IF): New macro, implements conditionals.
2706 * m4/Makefile.am: Adjust.
2707 * doc/automake.texi (Requirements, Optional, Conditionals):
2708 Document AM_COND_IF.
2710 * tests/cond39.test, tests/cond40.test, tests/cond41.test,
2711 tests/cond42.test, tests/cond43.test: New tests.
2712 * tests/Makefile.am: Adjust.
2714 2008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2716 * doc/automake.texi (@ovar): New macro, from autoconf.texi.
2718 Suggestion by Eric Blake.
2720 2008-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2722 * lib/texinfo.tex: Sync from upstream.
2724 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2726 * doc/automake.texi (Requirements, Linking, Extending):
2727 Fix underfull and overfull lines, fix wording a bit.
2729 * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
2732 * Makefile.am (WGET_SV_GIT_CF): New.
2733 (fetch): Pull config.guess and config.sub from git repo now.
2735 * lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument
2736 $hint, show if the executing program does not exist.
2737 (xsystem_hint): New function, like xsystem but allows to pass
2740 2008-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
2742 Implement the `notrans_' prefix for untransformed manpages.
2743 * automake.in (handle_man_pages), lib/am/mans.am: Implement
2744 notrans_ prefix for MANS primary and rework dependencies for
2745 install-man%SECTION%; use only vars defined in Makefile.am.
2746 * doc/automake.texi (Renaming, Uniform, Man pages):
2747 Document notrans_ prefix.
2749 * tests/notrans.test: New test.
2750 * tests/Makefile.am: Update.
2752 * automake.in (handle_man_pages): Reindent, for next patch.
2754 2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2756 Use `install' with multiple files at once for some primaries.
2757 With nobase targets, at most 50 files are installed at once,
2758 to avoid quadratic string concatenation and line length limits.
2759 This isn't yet done with base targets. One hope is that there,
2760 the typical file name length is lower. If this turns out to be
2761 a problem, it should be revisited.
2763 * lib/am/inst-vars.am (am__nobase_list): New helper macro for
2764 installation of multiple nobase files at once: sorts and lists
2765 files keyed by their target directory.
2766 * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): No need to set it to
2767 $(install_sh_DATA) any more, not even for nobase targets.
2768 (install-%DIR%%PRIMARY%): Split base and nobase cases.
2769 Rewrite to pass lists of files which all go in the same
2770 directory to `install'. In the nobase case, make use of
2771 $(am__nobase_list) and $(MKDIR_P) each directory before
2772 populating it. Take care of files in source and build trees,
2773 and avoid creating directories where no files are to be
2775 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Likewise.
2776 (install-%DIR%LIBRARIES): Likewise.
2777 * lib/am/python.am (%DIR%PYTHON_INSTALL): Likewise.
2778 (install-%DIR%PYTHON): Likewise. Also take care to keep note of
2779 a list for byte compilation after installation.
2780 * lib/am/texinfos.am (install-dvi-am, install-html-am)
2781 (install-info-am, install-pdf-am, install-ps-am): Use file lists
2782 to install multiple files at once.
2784 Suggested by Akim Demaille.
2786 2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2788 Require unreleased Autoconf for fixed AC_PROG_INSTALL.
2789 * m4/init.m4 (AM_INIT_AUTOMAKE): Bump AC_PREREQ to 2.61-341,
2791 * configure.ac: Also require Autoconf 2.61-341, to catch
2792 failure early and provide a sensible error message.
2794 Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT.
2795 * tests/ansi4.test: Drop AC_OBJEXT and AC_EXEEXT.
2796 * tests/ansi6.test: Likewise.
2797 * tests/ansi7.test: Likewise.
2798 * tests/condlib.test: Likewise.
2799 * tests/cygwin32.test: Likewise.
2800 * tests/exeext2.test: Likewise.
2801 * tests/libobj11.test: Likewise.
2802 * tests/library.test: Likewise.
2803 * tests/txinfo5.test: Likewise.
2805 2008-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2807 Skip instsh3.test if `touch -t' does not work.
2808 * tests/instsh3.test: Test for `touch -t', fails with Solaris
2811 Report by Younes Younes.
2813 2008-02-27 Reuben Thomas <rrt@sc3d.org>
2815 * doc/automake.texi (wildcards): Improve "Why doesn't Automake
2816 support wildcards" node's English and sense.
2818 2008-02-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2820 * lib/am/check.am (check-TESTS): In the case patterns for
2821 XFAILed tests, add literal bracket expression for matching
2822 whitespace, as NetBSD 4.99.54 ksh does not understand a
2823 bracket expression resulting from variable expansion.
2824 * README: Explain how to run the Automake test suite, including
2825 setting MAKE to test gmake.
2826 Report by Patrick Welche.
2828 2008-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2831 * m4/options.m4 (_AM_SET_OPTIONS): Use m4_foreach_w instead of
2832 obsolete AC_FOREACH.
2833 Report by NightStrike and gurganbl@rose-hulman.edu.
2835 2008-02-17 Colin Watson <cjwatson@debian.org> (tiny change)
2837 * lib/am/tags.am (ID): Fix typo in workaround for old awk.
2839 2008-02-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2841 * doc/.gitignore: Ignore files generated by `make ps pdf html'.
2843 2008-02-05 Reuben Thomas <rrt@sc3d.org>
2845 * doc/automake.texi (CVS): configure.ac will appear newer, not
2846 older, than configure. Use `lexical' instead of `alphabetical'.
2848 2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2850 * tests/man3.test: Avoid `make VAR=value'.
2852 * tests/subst3.test: New test.
2853 * tests/Makefile.am: Update.
2855 * tests/instsh2.test: Split off testing of `install-sh -C' ...
2856 * tests/instsh3.test: ... to this new test, requiring non-root.
2857 * tests/Makefile.am: Adjust.
2859 Report by Theodoros V. Kalamatianos.
2861 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2863 * tests/nobase.test: Extend test to generated files.
2865 * tests/nobase-python.test: New test, nobase for python files.
2866 * tests/Makefile.am: Update.
2868 * tests/nobase.test: Split off libtool part of nobase.test for
2869 increased test exposure, to ...
2870 * tests/nobase-libtool.test: ... this new test.
2871 * tests/Makefile.am: Update.
2873 2008-01-23 Eric Blake <ebb9@byu.net>
2875 Fix color.test when using BSD grep.
2876 * tests/color.test: Ensure that grep can handle non-printing
2879 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2881 * tests/lisp3.test: Fix typo.
2883 2008-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2885 * lib/am/mans.am (install-man%SECTION%): Prefer generated manpages
2886 over distributed ones.
2887 Report and patch by Peter Breitenlohner.
2888 * tests/man3.test: New test.
2889 * tests/Makefile.am: Update.
2891 2008-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2893 * tests/tar.test: Skip if no appropriate tar was found.
2895 2008-01-19 NightStrike <nightstrike@gmail.com>
2897 * doc/automake.texi (Dependency Tracking): Fix typo.
2899 2008-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2901 * lib/config-ml.in, lib/config.guess, lib/config.sub,
2902 lib/symlink-tree: Sync from upstream.
2904 * Makefile.am (WGET_SV_CVS): Renamed from WGETSGO.
2905 (WGET_SV_GIT_AC, WGET_SV_GIT_GL, WGET_GCC): New.
2906 (fetch): Update to match current upstream locations.
2908 2008-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2910 * doc/automake.texi (DESTDIR, Built sources example): Fix wording.
2912 Reports and suggestions by William Pursell and nightstrike@gmail.com.
2914 2008-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2916 Do not fail if `autoupdate' is not present.
2917 * tests/obsolete.test: Check for presence of autoupdate. Apparently,
2918 FreeBSD may install the other Autoconf programs without a version
2919 suffix but not autoupdate.
2921 Fix Heisenbug trying to unset a sometimes-not-set variable.
2922 * tests/check5.test: Do not error out upon `unset TESTS' due to
2923 `set -e', in case TESTS was not set.
2924 * tests/color.test: Likewise.
2926 * doc/automake.texi (amhello Explained): Fix odd sentence.
2927 Report by nightstrike@gmail.com.
2929 2008-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2931 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Rewrite to be more
2932 resistant to different quoting styles of $1.
2934 Clarify texinfo.tex and TEXINFO_TEX semantics.
2935 * doc/automake.texi (Texinfo): Clarify that by default,
2936 texinfo.tex is searched in the same directory as the Makefile.am
2937 that needs it. Clarify that TEXINFO_TEX has precedence over
2938 AC_CONFIG_AUX_DIR, and that it requires the user to install and
2940 * tests/txinfo22.test: Ensure TEXINFO_TEX is not distributed.
2942 Reports by Dilyan Palauzov and Roumen Petrov.
2944 2008-01-11 Bruno Haible <bruno@clisp.org>
2945 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2947 * tests/output-order.test: New test, for the stable output fix.
2948 * tests/Makefile.am: Update.
2950 2008-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2952 * Makefile.am (dist-hook): New, ensure world-executable tests.
2954 Report by Arto C. Nirkko.
2956 * tests/acloca20.test: Use `--force' with the second $AUTOCONF,
2957 to force update on fast machines where both autoconf invocations
2958 happen within the same second.
2959 Report by Greg Schafer.
2961 2008-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2963 * automake.in (scan_autoconf_files): Sort loop over
2964 %required_aux_file, for stable verbose output.
2965 Report by Bruno Haible.
2967 * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
2970 * tests/ccnoco.test (Mycomp): Use a tighter match for -c -o,
2971 to avoid matching for example `LDFLAGS=-Wl,--sort-common'.
2973 Report and analysis by Carsten Lohrke and Mike Frysinger.
2975 2008-01-07 Stepan Kasal <skasal@redhat.com>
2977 * automake.in (handle_texinfo_helper, handle_lib_objects): Fix
2980 2008-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2982 Bump copyright years.
2983 * aclocal.in (write_aclocal, version): Likewise.
2984 * automake.in ($gen_copyright, version): Likewise.
2985 * doc/automake.texi: Likewise.
2987 2007-12-18 Jim Meyering <meyering@redhat.com>
2989 * lib/gnupload (GPG): Don't use an absolute path.
2990 This reverts part of the 2004-01-28 change.
2992 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2994 * lib/Automake/FileUtils.pm (open_quote): New function.
2995 (update_file, contents): Use it.
2997 Reword the copyright notices to match what's suggested in GPLv3.
2999 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3001 * tests/defs.in: Quote $srcdir, $PATH; skip libtool and gettext
3002 tests if the absolute source or build tree name contain whitespace.
3004 Modify some tests for absolute trees containing whitespace.
3005 * tests/missing.test: Use "./missing" instead of "`pwd`/missing".
3006 * tests/missing2.test: Likewise.
3007 * tests/mmodely.test: Add `pwd` to $PATH instead of absolute
3008 references to myyacc.sh and mylex.sh.
3009 * tests/multlib.test: Likewise for mycc.
3010 * tests/txinfo26.test: Skip if `pwd` contains whitespace, as
3011 an absolute --srcdir does not work there.
3013 * INSTALL, lib/INSTALL, lib/config-ml.in, lib/config.guess,
3014 lib/config.sub, lib/texinfo.tex: Sync from upstream.
3016 Fix the distdir target to cope with spaces in absolute file names.
3017 * lib/am/distdir.am: Quote all instances of $(distdir) and
3018 $(top_distdir). They could contain white space, coming from
3019 a toplevel package bootstrapped with an older Automake version.
3020 (am__relativize): New macro, taken from gnulib code, written by
3022 (distdir): Use it to compute relative paths to distdir and
3023 top_distdir for enclosed subpackages.
3024 Also, quote $(distuninstallcheck_dir).
3025 * lib/am/texinfos.am: Likewise, quote $(distdir).
3027 2007-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3029 Quote file names in tests that can be absolute.
3030 * tests/auxdir.test, tests/check3.test, tests/check4.test,
3031 tests/compile.test, tests/cond33.test, tests/condhook.test,
3032 tests/distdir.test, tests/dollar.test, tests/empty.test,
3033 tests/gnits2.test, tests/gnits3.test, tests/include2.test,
3034 tests/insthook.test, tests/java.test, tests/libtool7.test,
3035 tests/lisp4.test, tests/lisp5.test, tests/lisp6.test,
3036 tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test,
3037 tests/multlib.test, tests/nobase.test, tests/nodist2.test,
3038 tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test,
3039 tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test,
3040 tests/python3.test, tests/strip.test, tests/transform.test,
3041 tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test,
3042 tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test:
3045 Quote @abs_top_builddir@ and @abs_top_srcdir@.
3046 * tests/aclocal.in: Likewise.
3047 * tests/automake.in: Likewise.
3049 Fix TAGS and GTAGS rules to cope with whitespace in `pwd`.
3050 * lib/am/tags.am (TAGS): Use positional parameters to avoid
3051 the need to quote absolute file names.
3052 (GTAGS): Quote absolute file name.
3053 (CTAGS): Simplify, dropping unused variable `$tags'.
3055 2007-11-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3057 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Fix another instance
3058 of am__strip_dir. Fixes nobase and pr300-ltlib test failures.
3060 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
3062 Several *-local in a rule do not work.
3063 * tests/all.test: Check this case.
3065 * tests/Makefile.am (XFAIL_TESTS): Add it.
3067 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
3069 Fix uses of am__strip_dir.
3070 * lib/am/libs.am, lib/am/ltlib.am: Catch up with the change of
3071 definition of am__strip_dir.
3073 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
3075 Define and use register_action.
3076 * lib/Automake/Rule.pm: Fix a few typos in the doc.
3077 (&rule): Use || to simplify the code.
3078 (®ister_action): New.
3080 * automake.in (&handle_factored_dependencies, &file_contents_internal):
3083 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
3085 * bootstrap: Fix typos on redirections.
3087 2007-11-24 Akim Demaille <akim@lrde.epita.fr>
3089 Skip comments and empty lines in dirlist in the tests.
3090 * defs.in (extra_includes): Skip comments and empty lines in dirlist.
3092 2007-11-24 Akim Demaille <akim@lrde.epita.fr>
3094 Ternary operator in lib/am files.
3095 * automake.in (&transform_token): New.
3096 (&transform): Use it.
3097 Support %KEY?TRUE:FALSE%.
3098 (&make_paragraphs): Adjust the regexp to call %transform.
3099 * lib/am/data.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
3100 * lib/am/progs.am, lib/am/python.am, lib/am/scripts.am:
3101 Use %KEY?TRUE:FALSE%.
3102 * lib/am/inst-vars.am (am__strip_dir): Assign the result to f
3103 to be more alike am__vpath_adj.
3104 Adjust dependencies.
3106 2007-11-24 Akim Demaille <demaille@gostai.com>
3108 * automake.in: Normalize white spaces.
3110 2007-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3112 * configure.ac (ACLOCAL, AUTOMAKE): Fix quoting for rebuilding
3113 rules, if the absolute build directory name contains white space.
3115 2007-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3117 * aclocal.in (trace_used_macros): Quote input files.
3119 * lib/ylwrap: Cope with white space in `PROGRAM' and `pwd`.
3121 * lib/am/tags.am (ID, TAGS, CTAGS): Make awk scripts portable again.
3122 (CTAGS): Drop unneeded variable `here'.
3124 2007-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3126 * tests/output13.test: New test.
3127 * tests/Makefile.am: Adjust.
3128 Prompted by report from Bruno Haible in
3129 <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00479.html>.
3131 Fix signal handling in aclocal.
3132 * aclocal.in (unlink_tmp): If invoked by a signal, note so
3133 in verbose mode. Reinstall default signal handler and reraise,
3134 to transport the interrupt information.
3136 2007-11-13 Bob Proulx <bob@proulx.com>
3138 Fix color test failure on dumb (and other) terminals.
3139 * tests/color.test: Set TERM to `ansi'.
3141 2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3143 Avoid spurious test failure with `make check TESTS=check5.test'.
3144 * tests/check5.test: unset TESTS.
3146 Fix maintainer-check failure.
3147 * tests/color.test: unset TESTS, use `make -e' rather than
3150 2007-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3152 * configure.ac (AM_INIT_AUTOMAKE): Require version 1.10a.
3154 * automake.in (handle_tests): Remove debugging leftover.
3156 Run each test in a process-private subdirectory.
3157 * tests/defs.in: Employ a trap to clean up at the end of the
3158 test in case the test succeeded. This needs to be revisited
3159 because we would like to keep the output of XPASSing tests.
3160 Also, note when we were interrupted by a signal. Code taken
3161 from Autoconf's _AC_INIT_PREPARE.
3162 If $keep_testdirs is set, keep them even for successful tests.
3163 * tests/Makefile.am (check-clean-local): New target. Remove all
3164 tests subdirs, but also make them writable first. The latter
3165 was already needed without per-test subdirs.
3166 (distclean-local): Depend upon check-clean-local.
3167 * tests/Makefile.in: Regenerate.
3168 * tests/.cvsignore, tests/.gitignore: Adjust.
3170 Fix default includes ordering to be `-I. -I$(srcdir) ...' again.
3171 * automake.in (handle_compile): Put -I$(srcdir) before include
3172 paths for config headers, as was done before Automake 1.10, but
3173 keep uniquified list without multiple adjacent spaces.
3174 * doc/automake.texi (Program variables): List include paths
3176 * NEWS: Mention 1.10 regression.
3177 * tests/stdinc.test: New test.
3178 * tests/Makefile.am: Adjust.
3180 Report by Kent Boortz.
3182 2007-11-08 Akim Demaille <akim@lrde.epita.fr>
3183 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3184 Bob Proulx <bob@proulx.com>
3186 Implement colorized test output.
3187 * automake.in (handle_tests): Set COLOR depending on `color-tests'.
3188 * configure.ac (AM_INIT_AUTOMAKE): Use `color-tests'.
3189 * doc/automake.texi (Tests, Options): Document test results,
3190 document new option, document AM_COLOR_TESTS.
3191 * lib/Automake/Options.pm (_process_option_list): Handle it.
3192 * lib/am/check.am (am__tty_colors): New variable. Enable colored
3193 output if TERM is not dumb and depending on AM_COLOR_TESTS and
3194 whether stdout is connected to a terminal.
3195 (check-TESTS): Use am__tty_colors.
3196 * NEWS: Mention color-tests.
3197 * tests/color.test: New test.
3198 * tests/Makefile.am: Adjust.
3200 2007-11-08 NightStrike <nightstrike@gmail.com> (tiny change)
3202 For PR automake/526:
3203 * doc/automake.texi (Basic Installation): Fix typo.
3205 2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3207 Accommodate for new macro AC_AUTOCONF_VERSION.
3208 * aclocal.in (write_aclocal): Use AC_AUTOCONF_VERSION rather
3209 than m4_PACKAGE_VERSION. Define the former if not defined.
3210 * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Likewise.
3211 * tests/missing4.test: Use AC_AUTOCONF_VERSION.
3213 2007-10-29 Bruno Haible <bruno@clisp.org>
3215 * doc/automake.texi (Program variables): Clarify that
3216 Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but
3217 passes it directly to compilation commands.
3219 2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3221 Move to git as primary source repository.
3222 * Makefile.am (git-dist, git-release): Renamed and adjusted from ...
3223 (cvs-dist, cvs-release): ... these.
3224 (git-diff): New target, taken and adjusted from cvs-diff.
3225 * Makefile.in: Regenerate.
3226 * bootstrap: Adjust.
3227 * NEWS: Announce change.
3228 * doc/automake.texi (General Operation): cvs-dist is git-dist now.
3229 (Timeline): Mention change.
3231 2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3233 * automake.in: Treat extension .sx also like preprocessed
3234 assembler (.S), following GCC.
3236 * doc/automake.texi (Assembly Support): Adjust.
3237 * tests/asm3.test: New test.
3238 * tests/Makefile.am: Update.
3240 2007-10-09 Jim Meyering <meyering@redhat.com>
3242 Add lzma compression support.
3244 * automake.in (handle_dist): Recognize dist-lzma.
3245 (make_paragraphs): Map LZMA to dist-lzma.
3246 * doc/automake.texi (Dist): Add dist-lzma.
3247 (Options): Likewise.
3248 * lib/Automake/Options.pm (_process_option_list):
3249 (dist dist-all): Add command to create an lzma-compressed tarball.
3250 (distcheck): Handle lzma-compressed tarballs just like the others.
3251 * tests/defs.in: Test for lzma, too.
3252 * tests/lzma.test: New file, based on nogzip.test.
3253 * tests/Makefile.am (TESTS): Add lzma.test.
3254 Suggestion from Karl Berry.
3256 2007-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3258 * automake.in (TARGET_PATTERN): Allow leading digit.
3259 * tests/exeext3.test: Adjust to expose this.
3260 Report by Claudio Fontana and Laurence Finston.
3262 2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3264 * tests/defs.in (required): For gcj, check whether `gcj -v'
3265 works, to avoid broken installations without libgcj.spec.
3267 * tests/gcj4.test: Setting GCJ not needed any more.
3269 Report by Jesse Chisholm.
3271 2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3273 * lib/config-ml.in, lib/config.guess, lib/config.sub,
3274 lib/symlink-tree, lib/texinfo.tex: New upstream versions.
3276 2007-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3278 * doc/automake.texi (gettext): Fix link to gettext manual.
3280 2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3282 In ChangeLog files, use more-permissive notice rather than GPL,
3283 as per usual GNU standards these days.
3285 2007-08-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3287 * automake.in (handle_programs): Also clean .libs/_libs
3288 directory for _PROGRAMS.
3289 * tests/libtoo10.test: New test.
3290 * tests/Makefile.am: Update.
3292 Report by Guillermo Ontañón.
3294 2007-08-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3296 * configure.ac: Actually require version 2.60 in the test for
3297 Autoconf, and recommend it in the error messages.
3299 Report by Robert Swafford.
3301 2007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3303 * doc/automake.texi (VPATH Builds): Fix wording.
3304 Report by Reuben Thomas.
3306 2007-07-22 Noah Misch <noah@cs.caltech.edu>
3308 * tests/subst.test: Move the AC_SUBST into a macro definition.
3309 Avoids an error from CVS Autoconf.
3311 Report by Benoit Sigoure.
3313 2007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3314 Alexandre Duret-Lutz <adl@gnu.org>
3316 * lib/am/configure.am (%?REGEN-ACLOCAL-M4%): New target
3317 $(am__aclocal_m4_deps) without any dependencies, to avoid the
3318 "deleted .m4 file" problem.
3319 * tests/acloca22.test: New test.
3320 * tests/Makefile.am: Update.
3323 2007-07-22 Francesco Salvestrini <salvestrini@gmail.com>
3324 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3326 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES)
3327 (uninstall-%DIR%LTLIBRARIES): Use $(AM_LIBTOOLFLAGS) and
3329 * lib/am/progs.am (install-%DIR%PROGRAMS)
3330 (uninstall-%DIR%PROGRAMS): Likewise.
3331 * tests/libtool7.test: Update test for `install' and
3333 * NEWS, THANKS: Update.
3335 2007-07-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3337 * doc/automake.texi: Remove Front-Cover and Back-Cover Texts,
3338 this manual is not printed by the FSF.
3340 2007-07-16 Alexandre Duret-Lutz <adl@gnu.org>
3342 * NEWS: Clarify that COPYING files are not updated.
3344 2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3346 * doc/automake.texi: New Back-Cover Text.
3347 Report by Karl Berry.
3349 2007-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3351 * aclocal.in (version): Fix output to match GCS requirements.
3352 * automake.in (version): Likewise.
3353 Report by Eric Blake.
3355 * COPYING, lib/COPYING: Update to GPLv3. All uses changed.
3358 2007-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3360 * lib/gnupload: Fix shell portability issues with for loops.
3361 Report by Karl Berry.
3363 2007-06-23 Paul Eggert <eggert@cs.ucla.edu>
3364 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3366 * aclocal.in (write_aclocal): Warn about autoconf
3367 incompatibilities instead of making them fatal.
3368 * tests/missing4.test: Adjust.
3370 Problem reported by Bruno Haible in
3371 <http://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>.
3373 2007-05-03 Stepan Kasal <kasal@ucw.cz>
3375 * doc/automake.texi, lib/Automake/Rule.pm: Fix typos.
3376 * automake.in: Likewise.
3377 (am_primary_prefixes): Keep the intentional typo there.
3379 2007-04-25 Eric Blake <ebb9@byu.net>
3381 * doc/stamp-vti: Remove generated file from revision control.
3382 * doc/version.texi: Likewise.
3384 2007-04-23 Reuben Thomas <rrt@sc3d.org> (tiny change)
3386 * doc/automake.texi (Python): Fix typo.
3388 2007-03-30 Eric Blake <ebb9@byu.net>
3389 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3391 * lib/mdate-sh (ls_command): Use -n when available to avoid
3392 problems with spaces in user/group names.
3393 * tests/mdate5.test: New test.
3394 * tests/Makefile.am: Adjust.
3396 2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3398 * automake.in (handle_tests): Rewrite XFAIL_TESTS just like
3399 TESTS, appending $(EXEEXT), so that matching continues to work
3401 * NEWS: Mention this.
3402 * doc/automake.texi (EXEEXT, Extending): Update.
3403 * tests/check7.test: New test.
3404 * tests/Makefile.am: Adjust.
3405 Bug report by Ed Hartnett.
3407 2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3409 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Again search
3410 the whole file, but use sed to reduce the line length.
3411 Fixes 1.10 regression. Report by David Byron.
3412 * THANKS, NEWS: Update.
3414 2007-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3416 * lib/depcomp (aix): Rewrite depmode in the spirit of the tru64
3417 one. Fixes failure to catch dependencies with libtool and xlc
3418 in case of enable_static=no (which is the default on AIX without
3420 * tests/depcomp7.test: Run test once with --disable-shared and
3421 once with --disable-static, to expose failure systematically.
3424 2007-03-29 Stepan Kasal <kasal@ucw.cz>
3425 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3427 * automake.in (handle_LIBOBJS_or_ALLOCA): Fix the error message.
3428 * tests/pr401.test: Update to expose the error.
3429 * tests/pr401b.test: Likewise.
3430 * tests/pr401c.test: Likewise.
3432 2007-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3434 * automake.in (scan_autoconf_config_files): Warn about leading
3435 `./' in config file names.
3436 * tests/canon-name.test: New test.
3437 * tests/Makefile.am: Update.
3439 Suggestion by Claudio Fontana.
3441 * tests/yacc6.test: Add the generated headers to `BUILT_SOURCES'
3442 as documented in the manual. Fixes parallel make failure.
3443 Report by Dieter Jurzitza.
3446 * ChangeLog, TODO, tests/exdir3.test: Fix copyright notice.
3448 * TODO: Kill a couple of outdated items.
3449 * tests/exdir3.test: New test.
3450 * tests/Makefile.am: Update.
3452 2007-01-27 Bruno Haible <bruno@clisp.org>
3454 * doc/automake.texi (Multiple Outputs): Fix the multiple outputs
3455 with locking example.
3457 2007-01-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3459 * doc/automake.texi (Subpackages): Fix ambiguous wording.
3460 Report and suggestions by Reuben Thomas.
3463 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3465 * tests/defs.in (is_newest): Cope with multiple newer files.
3466 * NEWS: mention `install-sh -C'.
3468 2006-12-25 Paul Eggert <eggert@cs.ucla.edu>
3470 * lib/install-sh (initialize_posix_glob): New var.
3471 Use it instead of setting posix_glob inline.
3472 (posix_glob): Use '?'/''/: instead of ''/yes/no, for convenience.
3473 (cmpprog, CMPPROG): New vars, since we use cmp rather than the diff
3475 Use LC_ALL before invoking 'ls' when we depend on its output format.
3476 Don't use awk; just use the shell's builtin features.
3477 Clean up $dsttmp if -C detects no installation is needed.
3478 * tests/defs.in (is_newest): Renamed from is_younger; the new
3479 name is more accurate. All uses changed.
3480 (old_timestamp): New var.
3481 * tests/instsh2.test: Rewrite to avoid the need for sleeping.
3483 2006-12-25 Akim Demaille <akim@epita.fr>
3485 * lib/install-sh: Implement install-sh -C.
3486 (This patch is the remaining part of the patch proposed in
3487 <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
3488 (usage): Document it.
3489 (copy_on_change): New var.
3490 * tests/defs.in (is_younger): New function.
3491 * tests/instsh2.test: Check install-sh -C.
3493 2006-12-24 Paul Eggert <eggert@cs.ucla.edu>
3495 * lib/install-sh: Fix typo in previous patch for handling --.
3496 Use more-consistent style for ';;'.
3497 Prefer || to if-then-else-:.
3498 * tests/install2.test: Rework to avoid set -e problems.
3500 2006-12-24 Akim Demaille <akim@epita.fr>
3502 Simplify install-sh and its test. This shouldn't change any behavior.
3503 (This patch is a subset of the patch proposed in
3504 <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
3505 * lib/install-sh (usage): Use usual GNU style.
3506 (dstarg): Rename as...
3507 (dst_arg): this for consistency.
3508 Simplify quoting of assignments.
3510 Don't use '\' to continue commands: && suffices.
3511 Remove useless "continue" in the argument processing,
3512 and factor the shifts.
3513 * tests/defs.in: Some improvements to make it set -e clean.
3514 Use the traditional ":" trick to protect loops from being empty.
3515 Remove an empty straightforward piece of code prepared to define
3516 additional variables.
3517 Use test instead of [], for consistency.
3518 * tests/install2.test: Use set -e, to simplify code.
3520 2006-12-20 Reuben Thomas <rrt@sc3d.org> (tiny change)
3522 * doc/automake.texi: Fix typo.
3524 2006-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3526 * doc/Makefile.am: Use $(MAKE) $(AM_MAKEFLAGS) for building
3527 amhello, to prevent gmake from invoking make with MAKEFLAGS
3528 it does not understand.
3529 Report by Patrick Welche.
3531 * lib/gnupload: Revert last change. Add pointer to upload
3532 instructions of the GNU Maintenance Instructions.
3533 Suggestion by Karl Berry.
3535 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3537 * lib/gnupload: Add missing 'gnu' to example URL.
3538 Report by Karl Berry.
3540 2006-10-28 Bobby Jack <bobbykjack@yahoo.co.uk> (tiny change)
3542 * doc/automake.texi (amhello Explained): autoconf creates
3543 configure, not configure.ac.
3546 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3548 * doc/automake.texi (Dist, Dependency Tracking Evolution):
3550 * lib/Automake/Condition.pm: Likewise.
3551 * lib/Automake/DisjConditions.pm: Likewise.
3552 * lib/Automake/ItemDef.pm: Likewise.
3553 * lib/Automake/Options.pm: Likewise.
3554 * lib/Automake/Rule.pm: Likewise.
3555 * lib/Automake/VarDef.pm: Likewise.
3556 * lib/Automake/Variable.pm: Likewise.
3557 * lib/Automake/Wrap.pm: Likewise.
3558 * lib/Automake/XFile.pm: Likewise.
3559 * m4/substnot.m4: Likewise.
3561 2006-10-16 Alexandre Duret-Lutz <adl@gnu.org>
3563 * lib/gnupload: Update to version 1.1 of directive file.
3565 2006-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3567 * lib/am/depend2.am (%SOURCEFLAG%): New substitution, goes
3568 right before the expanded source file name.
3569 * automake.in (%sourceflags): New global: per-extension flag
3570 to denote that the next compiler argument is the source file.
3571 (scan_autoconf_traces): Trace AC_FC_SRCEXT; initialize
3572 %sourceflags accordingly.
3573 (handle_single_transform): Store source file extension in...
3574 (%lang_specific_files): ...this and...
3575 (handle_languages): ...adjust here. Pass flag in SOURCEFLAG.
3576 * doc/automake.texi (Optional): Add AC_FC_SRCEXT.
3577 (Fortran 9x Support): Update.
3578 * tests/fort2.test: New test.
3579 * tests/Makefile.am: Adjust.
3580 * NEWS, THANKS: Update.
3581 Suggested by Steven G. Johnson.
3583 For PR automake/480.
3584 * automake.in (lang_f77_rewrite, lang_fc_rewrite)
3585 (lang_ppfc_rewrite, lang_ppf77_rewrite, lang_ratfor_rewrite):
3586 return `lang_sub_obj' to support subdir-object mode for the
3588 * tests/fort4.test, tests/fort5.test: New tests.
3589 * tests/Makefile.am: Update.
3590 * NEWS, THANKS: Update.
3591 Report by Davyd Madeley and Shannon L. Brown.
3593 * lib/am/header-vars.am (pkglibexecdir): New variable.
3594 * automake.in (%standard_prefix): Add it.
3595 * doc/automake.texi (Uniform): Document it.
3596 (Program Sources): Adjust.
3598 * tests/libexec.test: New test.
3599 * tests/Makefile.am: Update.
3600 Suggested by Eric Blake.
3602 2006-10-15 Alexandre Duret-Lutz <adl@gnu.org>
3604 * lib/gnupload: Update to version 1.1 of directive file.
3606 * configure.ac, NEWS: Bump version to 1.10a.
3608 * configure.ac, NEWS: Bump version to 1.10.
3609 * doc/automake.texi (Releases): Update for 1.10.
3611 * lib/config.sub, lib/texinfo.tex: New upstream versions.
3613 * lib/am/depend2.am: Typo.
3614 * lib/depcomp (scriptversion): Bump, to account for recent changes.
3616 * doc/automake.texi (Examples): Introduce the example, and point
3618 (Hello): Remove this obsolete node.
3620 2006-10-15 Hans Ulrich Niedermann <hun@n-dimensional.de>
3621 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3623 For PR automake/507:
3624 * lib/am/distdir.am (distdir): filename-length-max check is not
3625 done in sub-packages.
3626 * doc/automake.texi (Options): Document this.
3627 * tests/fn99subdir.test: New test.
3628 * tests/Makefile.am: Update.
3631 2006-10-14 Alfred M. Szmidt <ams@gnu.org> (tiny change)
3633 * doc/automake.texi (Third-Party Makefiles): Fix typo.
3636 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3638 * aclocal.in (write_aclocal): Improve warning for mismatched
3641 * automake.in: For preprocessed assembler, add `$(DEFS)
3642 $(DEFAULT_INCLUDES) $(INCLUDES)' to the compile rule.
3643 * doc/automake.texi (Assembly Support): Update.
3645 Suggested by Thomas Schwinge and Ralf Corsepius.
3647 For PR automake/492.
3648 * automake.in (output_flag): Set to `-o' for Assembler and
3649 preprocessed Assembler, assuming that all understand `-c -o'.
3650 * THANKS, NEWS: Update.
3651 * tests/subobj10.test: New test.
3652 * tests/Makefile.am: Update.
3653 Report by Thomas Schwinge.
3655 * automake.in (%_macro_for_cond): New variable.
3656 (cond_stack_if): Use it for better error message about
3657 missing dependency tracking conditionals.
3658 * tests/asm2.test: New test, modeled after asm.test.
3659 * tests/Makefile.am: Adjust.
3660 Report by Ralf Corsepius.
3662 * doc/automake.texi (Options): `no-dependencies' is similar
3663 to `--ignore-deps', not `--include-deps'.
3664 * m4/as.m4 (AM_PROG_AS): If `no-dependencies', do not invoke
3666 * tests/nodep2.test: New test.
3667 * tests/Makefile.am: Adjust.
3669 * automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the
3670 LIBOBJDIR, then we should not add a DEPDIR prefix.
3671 * tests/pr401.test: Update test.
3672 * tests/pr401b.test: Likewise.
3673 * tests/pr401c.test: Likewise.
3674 Report by Jim Meyering and Eric Blake.
3676 * lib/depcomp (gcc3): Put dependency extraction flags before the
3677 `-c' flag, so they appear at the same position as in %FASTDEP%
3678 mode in depend2.am. Fixes build failure for FreeBSD's c89,
3679 which ignores unknown options only after the first non-option.
3680 Bug report against M4 by Nelson H. F. Beebe.
3682 2006-10-14 Bruno Haible <bruno@clisp.org>
3683 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3685 * automake.in ($seen_gettext_intl): New variable.
3686 (handle_gettext): Consider it.
3687 (scan_autoconf_traces): Add AM_GNU_GETTEXT_INTL_SUBDIR to the list.
3688 Set $seen_gettext_intl when it is seen.
3689 * doc/automake.texi (gettext, Optional): Update.
3690 * tests/gettext3.test: New test.
3691 * tests/Makefile.am: Update.
3693 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
3695 * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
3696 which incorrectly sets the mode of an existing destination
3697 directory. In some cases the unpatched install-sh could do the
3698 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
3699 system. We hope this is rare in practice, but it's clearly worth
3700 fixing. Problem reported by Alex Unleashed in
3701 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
3702 Also, don't bother to check for -m bugs unless we're using -m;
3703 suggested by Stepan Kasal.
3705 2006-10-14 Geoffrey Keating <geoffk@apple.com> (tiny change)
3707 * m4/multi.m4: Non-default multilibs may be cross compilation.
3709 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3711 * automake.in: Fix some typos in comments.
3712 * lib/Automake/Variable.pm: Likewise.
3714 2006-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3716 * automake.in (handle_compile): Use subst, for maintainer-check.
3718 2006-10-09 Andreas Köhler <andi5.py@gmx.net> (tiny change)
3720 For PR automake/505:
3721 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES):
3722 Fix typo: `config.status.lineno', not `configure.status.lineno'.
3724 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3726 * NEWS: Mention that `install-sh' needs executable permissions.
3727 * tests/nobase.test: Adjust.
3728 Report by Patrick Welche.
3730 2006-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3732 * lib/am/check.am (check-TESTS): Fix matching of XFAIL_TESTS
3733 against currently running test for the first and last element
3734 of $(TESTS): add spacing so Solaris make does VPATH expansion
3735 on these words, too.
3736 * tests/check6.test: Update.
3738 2006-08-30 Paul Eggert <eggert@cs.ucla.edu>
3740 For PR automake/501:
3741 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?!GENERIC?%OBJ%):
3742 Abbreviate output a bit by not bothering to quote the .Po file
3743 name (the quoting doesn't suffice in general anyway), and by not
3744 bothering to remove junk .Tpo files (as they'll be removed later).
3745 This also lets 'make' run faster by avoiding a subshell.
3747 2006-08-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3749 * automake.in: Fortran 77 and Fortran should require variables
3750 F77 resp. FC to be defined, and suggest the respective Autoconf
3752 * tests/fort1.test: New test.
3753 * tests/Makefile.am: Update.
3755 * tests/ext.test: Add extensions f95, F90, F95.
3757 2006-08-30 Alexandre Duret-Lutz <adl@gnu.org>
3759 For PR automake/500:
3760 * automake.in (handle_compile) <$default_includes>: Do not output
3761 the same -I twice. Use @am__isrc@ instead of ` -I$(srcdir)'.
3762 * m4/init.m4: Define am__isrc as ` -I$(srcdir)' only in
3763 non-VPATH builds since we always have `-I.'.
3764 * tests/subpkg.test: Make sure config headers are found in VPATH
3765 and non-VPATH builds.
3767 2006-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3769 * doc/automake.texi, lib/Automake/Rule.pm: Fix some typos.
3770 * NEWS: Likewise. Clarify that only one LIBOBJDIR is supported.
3772 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
3774 * lib/Automake/ChannelDefs.pm (usage): Mention that -Wportability
3775 is enabled by default with gnu and gnits strictness.
3776 Report from Bruno Haible.
3778 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
3780 * NEWS: Mark de-ANSI-fication as being obsolete.
3781 * doc/automake.texi: Likewise.
3783 2006-08-21 Stepan Kasal <kasal@ucw.cz>
3785 * Makefile.am, THANKS: Fix typos.
3787 2006-08-20 Alexandre Duret-Lutz <adl@gnu.org>
3789 * NEWS, configure.ac: Bump version to 1.9c.
3791 * NEWS, configure.ac: Bump version to 1.9b.
3793 * Makefile.am (maintainer-check): Check for mkdir_p in automake.in
3795 * automake.in (require_build_directory): Use MKDIR_P, not mkdir_p.
3797 * m4/mkdirp.m4: Typo in previous patch.
3799 * Makefile.am (maintainer-check): Fine-tune the "Unescaped @"
3800 check so it doesn't complain about the '@ 's in node "Standard
3801 Directory Variables".
3803 * INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New
3806 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with
3807 $(top_builddir)/ if it is a relative directory.
3809 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
3811 * lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use
3812 ylwrap. Suggested by Akim Demaille long ago, to ease maintenance.
3813 * automake.in (handle_languages): Do not define MORE-THAN-ONE.
3814 (yacc_lex_finish_helper, lang_yacc_finish, lang_lex_finish): Always
3816 * doc/automake.texi (Auxiliary Programs, Yacc and Lex): Update the
3817 documentation of ylwrap.
3818 * tests/lex.test, tests/lex4.test, tests/mmodely.test,
3819 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
3820 tests/yaccpp.test: Adjust.
3822 * doc/automake.texi (Releases): Update statistics until 1.9.6.
3824 * Makefile.am (maintainer-check): Check for mkdir_p.
3825 * automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P.
3826 * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
3827 lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
3828 lib/am/mans.am, lib/am/progs.am, lib/am/python.am,
3829 lib/am/scripts.am, lib/am/texinfos.am: Use MKDIR_P instead of mkdir_p.
3830 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not
3831 as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use
3832 mkdir_p without defining MKDIR_P.
3833 * tests/distdir.test, tests/instman.test, tests/txinfo21.test:
3836 * Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm.
3837 * configure.ac (ACLOCAL): Use --acdir=m4 in addition to
3838 -I m4. Running aclocal during the rebuild rules will fail
3839 if the default acdir does not exist.
3841 * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4:
3842 Require Autoconf 2.60 instead of some intermediate development
3845 * doc/automake.texi (Standard Directory Variables): Fix multitable
3847 (Autotools Introduction): Fix @uref usage.
3849 2006-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3851 * doc/automake.texi: Fix some typos in the introduction,
3852 adjust some spacing; spell `GNU Build System' consistently.
3853 (menu): Unify node naming.
3854 (Standard Directory Variables): Clarify that this list is not
3856 (DESTDIR): Fix example.
3858 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
3860 * doc/automake.texi (Autotools Introduction) New chapter.
3861 Thanks to Ben Pfaff and Ralf Wildenhues for comments.
3862 (Auxiliary Programs, Install, Dist, Third-Party Makefiles)
3863 (distcleancheck): More cross references.
3864 * doc/amhello/configure.ac, doc/amhello/README,
3865 doc/amhello/Makefile.am, doc/amhello/src/Makefile.am,
3866 doc/amhello/src/main.c: New files.
3867 * doc/Makefile.am (dist_noinst_DATA): Distribute them.
3868 ($(srcdir)/amhello-1.0.tar.gz): New rule.
3869 (dist_doc_DATA): Install amhello-1.0.tar.gz.
3870 * Makefile.am (SUBDIRS): Update comment.
3872 2006-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3874 * doc/automake.texi: Fix some typos.
3876 2006-08-14 Jonathan Higa <jthiga@gmail.com>
3878 * automake.in: Register "Unified Parallel C" as language.
3879 (lang_upc_rewrite): New function.
3880 (resolve_linker): Consider UPCLINK.
3881 * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest
3882 AM_PROG_UPC for UPC and UPCFLAGS.
3883 * m4/upc.m4: New file.
3884 * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case.
3885 * m4/Makefile.am (dist_m4data_DATA): Add upc.m4.
3886 * doc/automake.texi (Unified Parallel C Support): New node.
3887 (Public macros): Mention AM_PROG_UPC.
3888 (Program and Library Variables, Flag Variables Ordering):
3890 * tests/upc.test, tests/upc2.test, tests/upc3.test: New file.
3891 * tests/Makefile.am (TESTS): Add them.
3892 * tests/ext.test: Also test upc files.
3894 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
3896 * doc/automake.texi (Scripts): Fix some errors in previous patch.
3898 * doc/automake.texi (Scripts): Revamp. Show an example of script
3899 built from configure.ac. Discuss CLEANFILES and EXTRA_DIST for
3900 other built scripts.
3902 * m4/init.m4: Suggest fixing the call to AC_INIT when
3903 AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined. This is for
3904 newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments.
3905 * tests/init.test: New file.
3906 * tests/Makefile.am (TESTS): Add it.
3908 2006-08-04 Stepan Kasal <kasal@ucw.cz>
3910 * automake.in (dist_dirs, fill_dist_dirs): Remove.
3911 * lib/am/distdir.am (DISTDIRS): Remove.
3912 * tests/distdir.test, tests/pr2.test: Do not grep, use
3913 `make distdir' instead.
3915 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
3917 * doc/automake.texi (Conditionals): Split in two sections, "Usage"
3918 and "Portability", and add a third one, "Limits" to explain how
3919 conditional definitions inside multi-lines definitions can be
3921 * automake.in (handle_options): Do not assume that
3922 AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional
3923 definitions of AUTOMAKE_OPTIONS.
3924 Report from Bas Wijnen.
3925 * tests/amopt.test: New test.
3926 * tests/Makefile.am (TESTS): Add it.
3928 * aclocal.in (install_file): Cannot use /dev/null while diffing
3929 new files, because Tru64's diff do not handle /dev/null. So
3930 create an empty destination file before running diff on a new
3931 file, and erase it afterward. Fall back to using /dev/null only
3932 if we cannot create this file.
3933 Report and initial patch from Ralf Wildenhues.
3934 (unlink_tmp): New function.
3935 * test/acloca18.test: Make sure the empty file has been erased.
3937 2006-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3939 * automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects,
3940 do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR,
3941 to help BSD Make find the files also in a VPATH build.
3942 Also return the same path, possibly prefixed, for correct
3944 * tests/pr401.test: Update to expose wrong depdir computation.
3945 Rewrite to not use the same file name for library object and
3947 * tests/pr401b.test, tests/pr401c.test: Likewise.
3949 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
3951 * lib/install-sh: Don't incorrectly claim that this implementation
3952 can install only one file at a time.
3953 (doit_exec): New var, for using 'exec' if possible, to save a process.
3954 (test_mode, intermediate_mode): Remove.
3955 (mode): Check for IFS or globbing characters in mode, since they might
3956 cause weird behavior with the other changes below. All later uses
3957 of '"$mode"' changed to '$mode', since the ""s no longer matter.
3958 Use octal modes if the invoker specifies an octal mode, and use
3959 octal umask values if 'umask' outputs octal values; this is more
3960 likely to work with older operating systems since Automake uses
3961 octal modes, and also works around a bug with HP-UX 11.23
3962 'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in
3963 <http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>.
3964 (cp_umask, mkdir_umask): New variables, to avoid
3965 temporarily creating files or directories with too-permissive modes.
3966 (mkdir_mode): Use the FreeBSD 'install' method for computing modes of
3967 intermediate directories; this is safer.
3968 (posix_mkdir): Also test mkdir -p -m ... by making a directory in
3969 /tmp and checking the resulting mode with 'ls', to catch a bug in
3970 HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message.
3971 Use ':' for true, not 'true'; this is a bit faster on
3972 traditional implementations.
3974 2006-07-09 Jim Meyering <jim@meyering.net>
3976 * lib/depcomp: "in in" -> "in" in comment.
3978 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3980 * tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr,
3981 for consistency with the recommendation prompted by this report:
3982 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
3984 2006-06-24 Stepan Kasal <kasal@ucw.cz>
3985 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3987 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to
3988 `'$(MKDIR_P)'', so that it retains the per-directory value
3989 computed by config.status.
3990 * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from
3991 a changed directory. Bugs reported by Ralf Menzel.
3994 2006-06-24 Eric Dorland <eric@debian.org>
3995 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3997 * automake.in (scan_texinfo_file): Fix matching file extension.
3998 * tests/txinfo31.test: New test.
3999 * tests/Makefile.am: Update.
4001 2006-06-07 Alexandre Duret-Lutz <adl@gnu.org>
4003 * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.
4005 2006-06-07 Stepan Kasal <kasal@ucw.cz>
4007 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
4009 2006-06-06 Stepan Kasal <kasal@ucw.cz>
4010 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4012 * lib/am/distdir.am: Do not call $(mkdir_p) for each
4013 distributed file, collect them and create them in one run,
4014 and strip $(srcdir) and $(top_srcdir) all at once.
4015 Fix some comment typos.
4017 2006-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4019 * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
4020 7.4.4m may omit the first included header dependency information
4021 with `-MDupdate'. Refine test to catch this.
4023 * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
4026 * tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3
4027 requires `config.rpath' to be present, and automake now enforces
4028 this. Test this, but only if the gettext installation works and
4029 is recent enough to provide this diagnosis.
4030 * tests/gettext.test: Provide a dummy `config.rpath' for all
4032 * tests/gettext2.test, tests/subcond.test: Likewise.
4034 * tests/pr401.test: Replace "perl -i" with sed and mv, for
4036 * tests/pr401b.test, tests/pr401c.test, tests/python11.test,
4037 * tests/yacc6.test, tests/yacc8.test: Likewise.
4039 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
4040 plain `grep' on the Makefile, as its line length may exceed that
4041 for grep. Bug report against coreutils by Sam Sirlin.
4044 2006-05-26 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
4046 * doc/automake.texi (Options): Add anchor `tar-formats'.
4048 2006-05-25 Noah Misch <noah@cs.caltech.edu>
4050 * lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides
4051 ENOLCK. Only mention `make -j' when applicable. Only raise
4052 fatal errors when `make -j' is involved. Improve error message.
4054 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4056 * lib/Automake/Configure_ac.pm (find_configure_ac): Use
4057 `$configure_in' instead of `configure.in', to preserve
4058 directory component.
4059 * lib/Automake/Configure_ac.pm: Add note that Automake owns
4061 * lib/Automake/Channels.pm: Likewise.
4062 * lib/Automake/FileUtils.pm: Likewise.
4063 * lib/Automake/Struct.pm: Likewise.
4065 2006-05-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4067 * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
4068 New upstream versions.
4070 2006-05-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4072 * doc/automake.texi (Auxiliary Programs): Fix URL to GCC
4073 repository, they use SVN now.
4075 2006-05-13 Werner Lemberg <wl@gnu.org>
4077 * lib/gnupload: Add support for savannah.gnu.org and
4078 savannah.nongnu.org.
4080 2006-05-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4082 * lib/Automake/Channels.pm, lib/Automake/Condition.pm,
4083 lib/Automake/DisjConditions.pm, lib/Automake/Options.pm,
4084 lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos.
4086 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
4088 * lib/install-sh: Sync from Autoconf, as follows:
4089 Don't use 'path' to talk about file names,
4090 as per GNU coding standards. Close a race condition reported by Ralf
4091 Wildenhues and Stepan Kasal. There is still a race condition
4092 on hosts that predate Posix 1003.1-1992, but we can't help this.
4093 Don't mishandle weird characters like space on pre-Posix hosts.
4094 Invoke mkdir at most once per dir arg on pre-Posix hosts.
4096 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4098 * tests/missing.test, tests/missing2.test: Do not require
4100 * Makefile.am (maintainer-check): Make sure `required=' does not
4101 follow `. ./defs' in the tests.
4103 * tests/ansi10.test: Use AC_PROG_CC_STDC. Fix test that
4104 ac_cv_prog_cc_stdc isn't just used by Automake code in
4106 * tests/ansi6.test, tests/ansi7.test: Likewise.
4107 * tests/ansi9.test: Likewise. Do not override by setting
4108 $U and $(ANSI2KNR) at `make' time; that will be fragile.
4109 * tests/libobj8.test: Use AC_PROG_CC_STDC.
4110 * tests/subobj3.test: Likewise. Use `set -e'.
4112 * lib/install-sh: Initialize IFS, so field splitting isn't
4114 * lib/mkinstalldirs: Likewise.
4116 * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
4117 the path of the prerequisite added; IRIX 6.5 make does not add
4118 it, Solaris 2.6 make is inconsistent about adding it. Fixes
4121 * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
4122 files in the source tree. Fixes failures with HP-UX and Tru64
4125 * lib/am/ansi2knr.am (ansi2knr): Rename target as...
4126 (./ansi2knr): ...this, for BSD make.
4127 (%ANSI2KNR-DIR%/ansi2knr): Adjust.
4129 2006-05-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4131 * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
4132 /bin/sh -e issue with failing commands in if clauses.
4134 * tests/defs.in (Be Bourne compatible): Update from current
4137 * configure.ac: Recommend perl-5.8.2.
4138 * tests/automake.test: Do not fail because of buggy Getopt::Long
4141 * tests/longlin2.test: Do not use `grep' on Makefile.am:
4142 it has long lines and is thus not a text file; AIX 5.1 grep
4143 fails to scan non-plain patterns from long lines.
4145 * tests/overrid.test: Change all regexes for warning messages to
4146 match after a colon, so that the prepended file names do not
4147 cause false matches. Tighten overrides regex. Fix typo
4148 `cleam-am-local' -> `clean-am-local'.
4150 * tests/java.test: `configure' uses a trap, so use `(exit 77);
4151 exit 77' to portably set the exit status similar to AS_EXIT.
4152 * tests/fn99.test: propagate nonzero exit status from subshell.
4154 * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
4155 if ``pwd`' contains the string `-p'. Create the wrapper in a
4156 subdirectory so that `.' in $PATH does not lead to an endless
4159 * lib/depcomp (ia64hp): Rename dependency style to..
4160 (hp2): ..this, as it works with aCC on HPPA, too; adjust
4161 comment. Report by Olivier Fourdan (PR automake/481).
4164 * tests/aclocal7.test: Add `$sleep's between file touching
4165 and automake resp aclocal+automake invocations, to ensure
4166 they complete with a time stamp strictly later than the touched
4169 * lib/missing: Remove superfluous quotes. Replace all uses of
4170 `[' by `test', for consistency, and for..
4171 * tests/missing5.test: ..this new test.
4172 * tests/Makefile.am: Update.
4174 * lib/missing (sed_minuso, sed_output): New variables.
4175 (autom4te, help2man, makeinfo): Use them. Unifies detection of
4176 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
4177 Fixes `missing' to detect `--output' for help2man. Fixes
4178 PR automake/483. Report by Dennis J. Linse.
4179 (autom4te): Document in `missing --help'.
4182 2006-04-26 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
4184 * doc/automake.texi (Dependency Tracking Evolution): Fix typo.
4186 2006-04-25 Stepan Kasal <kasal@ucw.cz>
4188 * lib/install-sh: Simplify the expr implementation of dirname.
4190 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
4192 * lib/install-sh: Handle --, and diagnose unknown options.
4193 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set
4194 mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with
4195 the other ways that mkdir_p might be set.
4197 2006-04-21 Alexandre Duret-Lutz <adl@gnu.org>
4199 * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
4200 (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
4201 * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
4202 (write_aclocal): Output a check for Autoconf's version in aclocal.m4.
4203 Doing so ensures that users cannot build configure and Makefiles
4204 with two different autoconf versions. Report from Noah Misch.
4205 * tests/missing4.test: New file.
4206 * tests/Makefile.am (TESTS): Add it.
4208 2006-04-20 Paul Lunau <temp@lunau.me.uk> (tiny change)
4209 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4211 * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
4212 failed, instead of when the last one failed (PR automake/488).
4213 Report from Paul Lunau.
4214 * tests/dejagnu4.test: Update to expose this.
4217 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4219 * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
4220 TABs as well as spaces. Fixes PR automake/490.
4221 * tests/check6.test: New test.
4222 * tests/Makefile.am, THANKS: Update.
4223 Report from Diab Jerius <djerius@cfa.harvard.edu>.
4225 2006-04-17 Stepan Kasal <kasal@ucw.cz>
4227 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
4228 description; eliminate the duplicate error message.
4229 * doc/automake.texi (@direntry): `Invoking Automake' is the name
4230 of the usage node for `automake'
4231 * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the
4234 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4236 * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
4237 because it uses `datarootdir'. Bump copyright year and serial.
4239 2006-04-10 Stepan Kasal <kasal@ucw.cz>
4243 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
4245 * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
4246 (_gen_varname): Use _hash_values, and return a flag indicating whether
4247 the variable name was generated or reused.
4248 (transform_variable_recursively): Do not redefine variables that
4249 are reused, and try to reuse the variable being transformed.
4250 * tests/check2.test: Make sure TESTS hasn't been redefined.
4251 * tests/check5.test, tests/exeext4.test: Make sure variables have
4253 * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.
4255 * automake.in (%ignored_configure_vars): New variable.
4256 (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill
4257 %ignored_configure_vars.
4258 (define_configure_variable): Declare ignored configure variables
4259 as VAR_SILENT. Do not special-case AMDEPBACKSLASH and ANSI2KNR
4261 * m4/substign.m4: New file.
4262 * m4/Makefile.am (dist_m4data_DATA): Add substign.m4.
4263 * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477).
4264 * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH.
4265 * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR.
4266 * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined.
4267 * tests/amsubst.test: New file.
4268 * tests/Makefile.am (TESTS): Add it.
4270 2006-04-09 Stepan Kasal <kasal@ucw.cz>
4271 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4273 * automake.in (handle_single_transform): Preserve directories in
4274 direct suffix rules.
4275 * tests/suffix12.test: New test.
4276 * tests/Makefile.am (TESTS): Add it.
4277 Report from John Ratliff.
4279 2006-03-25 Mike Frysinger <vapier@gentoo.org> (tiny change)
4280 Alexandre Duret-Lutz <adl@gnu.org>
4282 * aclocal.in ($m4_include_rx): Do not recognize `include', and
4283 adjust scan_configure_dep and scan_file accordingly.
4284 (scan_configure_dep): Do not search white lines.
4285 (scan_file): Strip comments from current line after checking
4286 for serial, so that aclocal does not trip on `m4_include' macros
4287 in comments. Report from Mike Frysinger.
4288 * tests/acloca21.test: New file.
4289 * tests/Makefile.am (TESTS): Add it.
4291 2006-03-24 Stepan Kasal <kasal@ucw.cz>
4293 * tests/mmodely.test: Fix the test on systems with no lex.
4295 2006-03-23 Stepan Kasal <kasal@ucw.cz>
4297 * automake.in (libtool_new_api): Fix a typo in the comment.
4298 * lib/Automake/Makefile.am (Config.pm): Likewise.
4299 * lib/am/depend2.am: Likewise.
4300 * tests/xsource.test: With `set -e', `|| exit 1' is no longer
4303 2006-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4305 * tests/depcomp6.test, tests/depcomp7.test: Change back to
4306 using `$MAKE && exit 1', but make sure the last command in the
4309 2006-03-21 Clifford Wolf <clifford@clifford.at> (tiny change)
4310 Stepan Kasal <kasal@ucw.cz>
4311 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4313 * aclocal.in (parse_arguments): Added wildcard support to the
4315 * doc/automake.texi (Macro search path): Document it.
4316 * tests/dirlist2.test: New test.
4317 * m4/dirlist, tests/Makefile.am: Adjust.
4319 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4321 * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)'
4322 to `AC_PROG_OBJC' if provided, to fix Objective C depmode
4324 * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for
4326 * tests/ext.test: Adjust.
4327 * tests/objc.test, tests/objc2.test: New tests.
4328 * tests/Makefile.am: Adjust.
4329 * doc/automake.texi (Objective C Support): New node.
4330 (Support for Other Languages): Adjust.
4332 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4334 * lib/Automake/RuleDef.pm (DESCRIPTION): Typo.
4336 * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic
4337 to work with `set -e'.
4339 * tests/depcomp6.test, tests/depcomp7.test: New tests,
4340 for general `depcomp' functionality, with and without
4341 `subdir-objects', with and without `libtool'.
4342 * tests/Makefile.am: Adjust.
4344 * aclocal.in (write_aclocal): Unlink `aclocal.m4' before
4345 writing into it, to break a symlinked file.
4346 * tests/acloca20.test: New test.
4347 * tests/Makefile.am: Updated.
4349 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4351 Allow package trees (packages with subpackages) to share
4352 common distributed auxiliary files (and directories) that
4353 reside within a subpackage.
4355 * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if
4356 `$(distdir)' already exists.
4357 (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent
4358 removal of subpackage trees for distribution.
4359 * tests/subpkg3.test: New test.
4360 * tests/Makefile.am: Update.
4362 2006-03-18 Alexandre Duret-Lutz <adl@gnu.org>
4364 * tests/check5.test, tests/nobast.test: Fix $MAKE and rm
4365 invocations to please maintainer-check.
4367 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
4369 * automake.in (lang_c_rewrite): Typo in previous change.
4370 * tests/ccnoco2.test: New file.
4371 * tests/Makefile.am (TESTS): Add ccnoco2.test.
4373 * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
4374 a 'portability' warning, so that people can ignore it. Suggested
4377 * lib/Automake/ChannelDefs.pm: Make -Wportability the default in
4378 gnu and gnits modes.
4379 * doc/automake.texi (Invoking Automake): Adjust.
4381 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4383 * doc/automake.texi (Yacc and Lex): Document that `.ypp' and
4384 `.lpp' file extensions are recognized.
4386 2006-02-21 Alexandre Duret-Lutz <adl@gnu.org>
4388 * doc/automake.texi (Complete, Extending aclocal, Public macros)
4389 (Python, Conditionals, API versioning): Always quote macro arguments.
4390 Report from Stepan Kasal.
4392 2006-02-16 Alexandre Duret-Lutz <adl@gnu.org>
4394 * doc/automake.texi (Python): More examples.
4396 2006-02-05 Alexandre Duret-Lutz <adl@gnu.org>
4398 * doc/automake.texi (distcleancheck): Fix bad wording. Report
4400 (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS).
4402 2006-01-29 Alexandre Duret-Lutz <adl@gnu.org>
4404 Append $(EXEEXT) to programs that may be listed in TESTS.
4405 Report from Simon Josefsson.
4407 * automake.in (%known_programs): New global.
4408 (initialize_per_input): Reset it.
4409 (append_exeext): Take a predicate as first argument to select
4410 the filename to rewrite.
4411 (handle_programs): Fill %known_programs.
4412 (handle_tests): Append $(EXEEXT) to all tests that are in
4414 (am_install_var): Update call to append_exeext.
4415 * doc/automake.texi (EXEEXT): TESTS is also rewritten.
4416 (Tests): More about the difference between check_PROGRAMS and TESTS.
4417 Give an example of TEST_ENVIRONMENT.
4418 * tests/cond32.test: Augment with a nested condition.
4419 * tests/exeext4.test: Also check TESTS.
4420 * tests/check5.test: New file.
4421 * tests/Makefile.am (TESTS): Add check5.test.
4423 2006-01-12 Paul Eggert <eggert@cs.ucla.edu>
4425 * lib/install-sh (dstdir): Don't use semicolons inside { } in
4426 sed scripts, as Posix says it's not portable.
4427 * lib/missing (file): Likewise.
4428 * lib/am/distdir.am (distcheck): Likewise.
4429 * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
4430 * tests/distcom2.test, tests/distcom3.test: Likewise.
4431 * tests/distcom4.test, tests/distcom5.test: Likewise.
4432 * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
4434 2006-01-12 Alexandre Duret-Lutz <adl@gnu.org>
4436 * ChangeLog: Move 2004's entries to ...
4437 * ChangeLog.04: ... this new file.
4438 * Makefile.am (EXTRA_DIST): Add ChangeLog.04.
4440 * tests/txinfo13.test: Test fix below.
4442 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4444 * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted
4445 extra files in distribution. Reported by Vincent Lefevre.
4447 2006-01-06 Alexandre Duret-Lutz <adl@gnu.org>
4449 * doc/automake.texi (Linking, Program and Library Variables):
4450 Mention the file extensions that usually appear in _DEPENDENCIES,
4451 and point to BUILT_SOURCES and example of _DEPENDENCIES uses. A
4452 couple of people have been listing sources files in _DEPENDENCIES
4455 * doc/automake.texi: Bump copyright year.
4456 * automake.in ($gen_copyright, version): Likewise.
4457 * aclocal.in (write_aclocal, version): Likewise.
4459 2006-01-05 Stepan Kasal <kasal@ucw.cz>
4460 Alexandre Duret-Lutz <adl@gnu.org>
4462 * automake.in (topsrcdir): New global.
4463 (generate_makefile): Compute it.
4464 (fill_dist_dirs): New function extracted from handle_dist.
4465 (handle_dist, handle_configure): Use fill_dist_dirs.
4466 * tests/distdir.test: Test for cases where $(top_srcdir) or
4467 $(srcdir) appear in EXTRA_DIST. Report from Sander Niemeijer.
4469 2006-01-05 Zack Weinberg <zackw@panix.com>
4470 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4472 * lib/depcomp: Add 'ia64hp' dependency style.
4473 Zack's original patch was contributed to GCC on 2005-06-13.
4476 2005-11-01 Stepan Kasal <kasal@ucw.cz>
4478 * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
4479 the code is portable to both POSIX and pre-POSIX shells.
4481 2005-10-17 Alexandre Duret-Lutz <adl@gnu.org>
4483 * tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
4484 suggested by Eric Blake.
4486 2005-10-17 Stepan Kasal <kasal@ucw.cz>
4488 * doc/automake.texi (Program and Library Variables): Typo.
4489 * lib/Automake/Variable.pm (transform_variable_recursively): Typo
4492 2005-10-03 Stepan Kasal <kasal@ucw.cz>
4494 * ChangeLog.03, automake.in, tests/overrid.test: Typos.
4496 2005-10-03 Alexandre Duret-Lutz <adl@gnu.org>
4498 * tests/nobase.test: Exercise previous patch.
4500 2005-10-03 Peter O'Gorman <peter@pogma.com> (tiny change)
4502 * lib/am/distdir.am: Remove $(SHELL) when calling install_sh
4503 * m4/strip.m4: Ditto.
4504 * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
4506 2005-09-13 Paul Eggert <eggert@cs.ucla.edu>
4508 * doc/automake.texi (limitations on file names): New section.
4509 * lib/install-sh: Rewrite to support '*' in file names.
4510 Also, tune so that we don't invoke so many commands in the usual case.
4511 This has the side effect of fixing `install-sh -d' to not fail if it
4512 loses the race in creating the last path component against another
4514 * tests/instspc.test: The "*" test is now fixed.
4516 2005-09-13 Stepan Kasal <kasal@ucw.cz>
4518 * automake.in (Languages) <cppasm>: Fix typo in the comment.
4520 2005-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4522 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
4523 shell in verbose mode.
4525 2005-08-07 Alexandre Duret-Lutz <adl@gnu.org>
4527 * lib/Automake/Variable.pm (variable_value): Do not read the TRUE
4528 value of a conditionally defined variable.
4529 Report from Juergen Leising.
4531 * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
4532 $(MAKE) invocations.
4533 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
4535 * lib/am/texi-vers.am (%STAMPVTI%): Likewise.
4536 * lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
4537 * Makefile.am (maintainer-check): Check for this.
4538 Report from Stepan Kasal.
4540 * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.
4541 Prompted by Stepan Kasal.
4543 2005-08-07 Stepan Kasal <kasal@ucw.cz>
4545 * lib/am/texinfos.am (uninstall-info-am): Call install-info only if
4546 the $(infodir) exists.
4548 2005-07-31 Stepan Kasal <kasal@ucw.cz>
4550 * tests/library3.test: Fix a typo which made the test fail.
4552 2005-07-27 Alexandre Duret-Lutz <adl@gnu.org>
4554 * doc/automake.texi (Linking, Program and Library Variables):
4555 Suggest reserving -l for third-party libraries.
4557 * lib/Automake/Variable.pm (require_variables): Mention aclocal's
4558 search path when suggesting to add a macro in configure.ac.
4559 People are confused when Automake suggests adding a macro (such as
4560 AC_PROG_LIBTOOL) that is already in configure.ac.
4561 * automake.in (require_file_internal): Suggest `automake --add-missing'
4562 for missing files that can be installed.
4563 * tests/library3.test: Adjust.
4565 2005-07-27 Stepan Kasal <kasal@ucw.cz>
4567 * tests/defs.in: When required matches both `*libtool*' and
4568 `*gettext*', check for both m4 files.
4570 * doc/automake.texi (Auxiliary Programs): Fix a typo.
4571 * tests/suffix11.test: Fix a typo.
4572 * tests/colon3.test: s/EGREP/FGREP/.
4574 2005-07-19 Paul Eggert <eggert@cs.ucla.edu>
4576 * tests/instspc.test: Major rewrite to test for many other
4577 problematic file names, e.g., '$', '"', '('. Automake and
4578 Autoconf can't handle many of them, so do not report a failure
4579 if the usual candidates show up.
4581 2005-07-19 Stepan Kasal <kasal@ucw.cz>
4583 * Makefile.am (automake, aclocal): Merge the rules.
4585 2005-07-10 Alexandre Duret-Lutz <adl@gnu.org>
4587 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
4590 2005-07-09 Alexandre Duret-Lutz <adl@gnu.org>
4592 * lib/install-sh: Use IFS=/ to split directories on /, don't translate
4593 / into % as it prevents directory names using %...
4595 2005-07-09 Stepan Kasal <kasal@ucw.cz>
4597 * doc/automake.texi (Public macros): Typo.
4598 * aclocal.in: Typo in comment.
4600 2005-07-09 Zack Weinberg <zack@codesourcery.com> (tiny change)
4602 * lib/depcomp: Handle "#line" markers as well as "# " markers in
4603 "cpp" style, so it can work with newer HP compilers (for their
4606 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
4608 * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
4609 fix an underful hbox.
4610 * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
4611 New upstream versions.
4613 2005-07-01 Alexandre Duret-Lutz <adl@gnu.org>
4615 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
4617 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
4619 * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
4620 lib/am/header-vars.am no longer uses it.
4621 * lib/am/libtool.am (distclean-am, distclean-libtool): Define
4622 if TOPDIR_P is true, not TOPDIR.
4623 Suggested by Stepan Kasal.
4625 * automake.in (read_am_file): Correctly diagnose comments following
4627 * tests/commen10.test: New file.
4628 * tests/Makefile.am (TESTS): Add commen10.test.
4629 Report from Harald Dunkel.
4631 * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead
4633 * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL):
4634 Do not define, they are AC_SUBST_TRACEd by Autoconf.
4635 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c.
4636 * tests/include.test: Call AC_OUTPUT.
4638 2005-06-29 Alexandre Duret-Lutz <adl@gnu.org>
4640 * lib/mkinstalldirs: Fix support for directory name with spaces if
4641 `mkdir -p' does not work.
4642 * tests/Makefile.am (TESTS): Add mkinst3.test.
4643 * tests/mkinst3.test: New file.
4644 Report from Noah Friedman.
4646 * doc/automake.texi (Include, Extending aclocal): Typos.
4647 Report from Karl Berry.
4649 2005-06-28 Stepan Kasal <kasal@ucw.cz>
4650 Alexandre Duret-Lutz <adl@gnu.org>
4652 * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
4653 * tests/txinfo28.test: Set TIME_STYLE.
4654 Report from Vincent Lefevre and James Youngman.
4656 2005-06-24 Alexandre Duret-Lutz <adl@gnu.org>
4658 * lib/Automake/Variable.pm (define, _new): Remember the helper
4659 variable created for the last conditional += on each variable, and
4660 only append further += in the same condition to this last helper
4661 variable, not to older helper variables. This way the order of
4662 the items appended to the variable is preserved.
4663 * tests/cond21.test: Adjust.
4664 * tests/cond38.test: New file.
4665 * tests/Makefile.am (TESTS): Add cond38.test.
4666 Report from Ed Hartnett.
4668 2005-06-22 Alexandre Duret-Lutz <adl@gnu.org>
4670 * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
4672 * automake.in (handle_footer): Do not output an unformatted
4673 definition of SOURCES, it is already done correctly in
4674 generate_makefile. This superfluous definition introduced long
4675 lines in some Makefiles, hence breakages in tools with a limited
4676 line length. Report from Mathias Froehlich.
4678 2005-06-11 Alexandre Duret-Lutz <adl@gnu.org>
4680 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
4681 Fix redirections in previous patch.
4683 2005-06-08 Alexandre Duret-Lutz <adl@gnu.org>
4685 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
4686 Do not backup any file if makeinfo is not installed.
4687 * lib/missing (makeinfo): Do not touch a missing info file.
4688 * tests/txinfo30.test: New file.
4689 * tests/Makefile.am (TESTS): Add txinfo30.test.
4690 Report from Bob Proulx.
4692 * doc/automake.texi (Extending aclocal): Typo.
4694 2005-05-24 Brian Gough <bjg@network-theory.co.uk> (tiny change)
4696 * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
4698 2005-05-15 Alexandre Duret-Lutz <adl@gnu.org>
4700 Fix PR automake/461:
4701 * automake.in (require_build_directory): Canonicalize directories
4702 with different names, such as `foo/bar' and `./foo//bar'.
4703 * tests/subobj9.test: Augment to test that.
4704 Report from Tom Tromey.
4706 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
4708 * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
4709 ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am,
4710 NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure,
4711 configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING,
4712 lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in,
4713 lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp,
4714 lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile,
4715 lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
4716 lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
4717 lib/Automake/Condition.pm, lib/Automake/Config.in,
4718 lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
4719 lib/Automake/FileUtils.pm, lib/Automake/General.pm,
4720 lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
4721 lib/Automake/Location.pm, lib/Automake/Makefile.am,
4722 lib/Automake/Options.pm, lib/Automake/Rule.pm,
4723 lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
4724 lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
4725 lib/Automake/Version.pm, lib/Automake/Wrap.pm,
4726 lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
4727 lib/Automake/tests/DisjConditions.pl,
4728 lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
4729 lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
4730 lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
4731 lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
4732 lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
4733 lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
4734 lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
4735 lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
4736 lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
4737 lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
4738 lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
4739 lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
4740 lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
4741 lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
4742 lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
4743 m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
4744 tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
4745 tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
4746 tests/acloca17.test, tests/acloca18.test, tests/acloca19.test,
4747 tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test,
4748 tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test,
4749 tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test,
4750 tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test,
4751 tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test,
4752 tests/acsubst.test, tests/acsubst2.test, tests/all.test,
4753 tests/alloca.test, tests/alloca2.test, tests/alpha.test,
4754 tests/alpha2.test, tests/amassign.test, tests/ammissing.test,
4755 tests/ansi.test, tests/ansi10.test, tests/ansi2.test,
4756 tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test,
4757 tests/ansi5.test, tests/ansi6.test, tests/ansi7.test,
4758 tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test,
4759 tests/asm.test, tests/autohdr.test, tests/autohdr2.test,
4760 tests/autohdr3.test, tests/autohdr4.test, tests/automake.test,
4761 tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test,
4762 tests/auxdir4.test, tests/backsl.test, tests/backsl2.test,
4763 tests/backsl3.test, tests/backsl4.test, tests/badline.test,
4764 tests/badopt.test, tests/badprog.test, tests/block.test,
4765 tests/bsource.test, tests/canon.test, tests/canon2.test,
4766 tests/canon3.test, tests/canon4.test, tests/canon5.test,
4767 tests/ccnoco.test, tests/check.test, tests/check2.test,
4768 tests/check3.test, tests/check4.test, tests/checkall.test,
4769 tests/clean.test, tests/clean2.test, tests/colneq.test,
4770 tests/colneq2.test, tests/colon.test, tests/colon2.test,
4771 tests/colon3.test, tests/colon4.test, tests/colon5.test,
4772 tests/colon6.test, tests/colon7.test, tests/comment.test,
4773 tests/comment2.test, tests/comment3.test, tests/comment4.test,
4774 tests/comment5.test, tests/comment6.test, tests/comment7.test,
4775 tests/comment8.test, tests/comment9.test, tests/compile.test,
4776 tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test,
4777 tests/cond.test, tests/cond10.test, tests/cond11.test,
4778 tests/cond13.test, tests/cond14.test, tests/cond15.test,
4779 tests/cond16.test, tests/cond17.test, tests/cond18.test,
4780 tests/cond19.test, tests/cond2.test, tests/cond20.test,
4781 tests/cond21.test, tests/cond22.test, tests/cond23.test,
4782 tests/cond24.test, tests/cond25.test, tests/cond26.test,
4783 tests/cond27.test, tests/cond28.test, tests/cond29.test,
4784 tests/cond3.test, tests/cond30.test, tests/cond31.test,
4785 tests/cond32.test, tests/cond33.test, tests/cond34.test,
4786 tests/cond35.test, tests/cond36.test, tests/cond37.test,
4787 tests/cond4.test, tests/cond5.test, tests/cond6.test,
4788 tests/cond7.test, tests/cond8.test, tests/cond9.test,
4789 tests/condd.test, tests/condhook.test, tests/condinc.test,
4790 tests/condinc2.test, tests/condlib.test, tests/condman.test,
4791 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
4792 tests/conff.test, tests/conff2.test, tests/confh.test,
4793 tests/confh4.test, tests/confh5.test, tests/config.test,
4794 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
4795 tests/conflnk3.test, tests/confsub.test, tests/confvar.test,
4796 tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
4797 tests/cxx.test, tests/cxx2.test, tests/cxxansi.test,
4798 tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test,
4799 tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test,
4800 tests/dash.test, tests/defs.in, tests/defun.test,
4801 tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
4802 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
4803 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
4804 tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test,
4805 tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test,
4806 tests/depend.test, tests/depend2.test, tests/depend3.test,
4807 tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
4808 tests/dirlist.test, tests/discover.test, tests/distcom2.test,
4809 tests/distcom3.test, tests/distcom4.test, tests/distcom5.test,
4810 tests/distcom6.test, tests/distcom7.test, tests/distdir.test,
4811 tests/distname.test, tests/dollar.test, tests/double.test,
4812 tests/dup2.test, tests/else.test, tests/empty.test,
4813 tests/empty2.test, tests/empty3.test, tests/empty4.test,
4814 tests/exdir.test, tests/exdir2.test, tests/exeext.test,
4815 tests/exeext2.test, tests/exeext3.test, tests/exeext4.test,
4816 tests/exsource.test, tests/ext.test, tests/ext2.test,
4817 tests/extra.test, tests/extra2.test, tests/extra3.test,
4818 tests/extra4.test, tests/extra5.test, tests/extra6.test,
4819 tests/extra7.test, tests/f90only.test, tests/flibs.test,
4820 tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test,
4821 tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
4822 tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
4823 tests/gcj5.test, tests/getopt.test, tests/gettext.test,
4824 tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
4825 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
4826 tests/gnuwarn2.test, tests/header.test, tests/help.test,
4827 tests/hfs.test, tests/hosts.test, tests/implicit.test,
4828 tests/include.test, tests/include2.test, tests/info.test,
4829 tests/insh2.test, tests/install2.test, tests/installdir.test,
4830 tests/instdat.test, tests/instdat2.test, tests/instexec.test,
4831 tests/insthook.test, tests/instman.test, tests/instman2.test,
4832 tests/instsh.test, tests/instsh2.test, tests/instspc.test,
4833 tests/interp.test, tests/interp2.test, tests/java.test,
4834 tests/java2.test, tests/java3.test, tests/javaprim.test,
4835 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
4836 tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
4837 tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
4838 tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
4839 tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
4840 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
4841 tests/library.test, tests/library2.test, tests/library3.test,
4842 tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
4843 tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
4844 tests/libtool7.test, tests/libtool8.test, tests/libtool9.test,
4845 tests/license.test, tests/link_c_cxx.test, tests/link_dist.test,
4846 tests/link_f90_only.test, tests/link_f_only.test,
4847 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
4848 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
4849 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
4850 tests/lisp8.test, tests/listval.test, tests/location.test,
4851 tests/longlin2.test, tests/longline.test, tests/ltcond.test,
4852 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
4853 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
4854 tests/make.test, tests/makej.test, tests/makevars.test,
4855 tests/man.test, tests/man2.test, tests/mclean.test,
4856 tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
4857 tests/mdate4.test, tests/missing.test, tests/missing2.test,
4858 tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
4859 tests/mmodely.test, tests/multlib.test, tests/nobase.test,
4860 tests/nodef.test, tests/nodef2.test, tests/nodep.test,
4861 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
4862 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
4863 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
4864 tests/nostdinc.test, tests/number.test, tests/obsolete.test,
4865 tests/order.test, tests/outdir.test, tests/output.test,
4866 tests/output10.test, tests/output11.test, tests/output12.test,
4867 tests/output2.test, tests/output3.test, tests/output4.test,
4868 tests/output5.test, tests/output6.test, tests/output7.test,
4869 tests/output8.test, tests/output9.test, tests/overrid.test,
4870 tests/parse.test, tests/percent.test, tests/percent2.test,
4871 tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
4872 tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
4873 tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
4874 tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
4875 tests/ppf77.test, tests/pr2.test, tests/pr204.test,
4876 tests/pr211.test, tests/pr220.test, tests/pr224.test,
4877 tests/pr229.test, tests/pr243.test, tests/pr266.test,
4878 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
4879 tests/pr300-lib.test, tests/pr300-ltlib.test,
4880 tests/pr300-prog.test, tests/pr307.test, tests/pr401.test,
4881 tests/pr401b.test, tests/pr401c.test, tests/pr72.test,
4882 tests/pr87.test, tests/pr9.test, tests/prefix.test,
4883 tests/primary.test, tests/primary2.test, tests/primary3.test,
4884 tests/proginst.test, tests/python.test, tests/python10.test,
4885 tests/python11.test, tests/python12.test, tests/python2.test,
4886 tests/python3.test, tests/python4.test, tests/python5.test,
4887 tests/python6.test, tests/python7.test, tests/python8.test,
4888 tests/python9.test, tests/recurs.test, tests/recurs2.test,
4889 tests/regex.test, tests/remake.test, tests/remake2.test,
4890 tests/remake3.test, tests/remake4.test, tests/remake5.test,
4891 tests/req.test, tests/reqd.test, tests/reqd2.test,
4892 tests/rulepat.test, tests/scripts.test, tests/seenc.test,
4893 tests/sinclude.test, tests/space.test, tests/specflg.test,
4894 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
4895 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
4896 tests/spell.test, tests/spell2.test, tests/spell3.test,
4897 tests/spelling.test, tests/spy.test, tests/srcsub.test,
4898 tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
4899 tests/stdlib2.test, tests/strip.test, tests/subcond.test,
4900 tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
4901 tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
4902 tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
4903 tests/subdir8.test, tests/subdir9.test,
4904 tests/subdirbuiltsources.test, tests/subobj.test,
4905 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
4906 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
4907 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
4908 tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
4909 tests/subst2.test, tests/substre2.test, tests/substref.test,
4910 tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
4911 tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
4912 tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
4913 tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
4914 tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
4915 tests/syntax.test, tests/tags.test, tests/tagsub.test,
4916 tests/tar.test, tests/tar2.test, tests/tar3.test,
4917 tests/target-cflags.test, tests/targetclash.test,
4918 tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
4919 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
4920 tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
4921 tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
4922 tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
4923 tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
4924 tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
4925 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
4926 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
4927 tests/vars.test, tests/vars3.test, tests/vartar.test,
4928 tests/version.test, tests/version2.test, tests/version3.test,
4929 tests/version4.test, tests/version6.test, tests/version7.test,
4930 tests/version8.test, tests/vpath.test, tests/vtexi.test,
4931 tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
4932 tests/werror2.test, tests/whoami.test, tests/xsource.test,
4933 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
4934 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
4935 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
4936 tests/yaccvpath.test: Update FSF postal mail address.
4938 * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
4939 Autoconf currently defines a CCC variable.
4941 * tests/output11.test, tests/output12.test: Use rm -f.
4943 2005-04-25 Gary V. Vaughan <gary@gnu.org>
4944 Alexandre Duret-Lutz <adl@gnu.org>
4946 Support for remote LIBOBJS (and friends) with subdir-objects.
4947 Fixes PR automake/401.
4949 * automake.in (config_libobj_dir): New variable.
4950 (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
4951 (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
4952 (handle_LIBOBJS, handle_ALLOCA): Use them. Adjust location of
4953 dependency files, possibly in a subdirectory.
4954 * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
4955 * tests/Makefile.am (TESTS): Add them.
4956 * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
4957 (LIBOBJS): Document changes in behaviour of
4958 LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
4959 subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
4961 2005-04-18 Jim Meyering <jim@meyering.net>
4963 * doc/automake.texi (Dist): Correct English.
4965 2005-03-31 Stepan Kasal <kasal@ucw.cz>
4967 * doc/automake.texi: When the phrase "for instance" introduces a
4968 sentence, it should be delimited by a comma.
4970 * doc/automake.texi: Fix a few typos.
4972 2005-03-30 Alexandre Duret-Lutz <adl@gnu.org>
4974 * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
4975 example, since the GCS now define htmldir.
4976 (Auxiliary Programs): Mention config-ml.in and symlink-tree.
4977 Give a URL for texinfo.tex.
4978 (Public macros): Sort alphabetically, and move obsolete macros...
4979 (Obsolete macros): ... here.
4980 Prompted by Karl Berry.
4982 2005-03-29 Alexandre Duret-Lutz <adl@gnu.org>
4984 * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
4987 * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
4988 rule is run with `make -j'.
4989 * doc/automake.texi (Multiple Outputs): Adjust.
4990 * tests/lisp6.test: Augment it.
4991 * tests/lisp8.test: New file.
4992 * tests/Makefile.am (TESTS): Add lisp8.test.
4993 Suggested by Bruno Haible.
4995 2005-03-27 Alexandre Duret-Lutz <adl@gnu.org>
4997 * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
4999 2005-03-16 Alexandre Duret-Lutz <adl@gnu.org>
5001 * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
5002 a missing *.elc file if it cannot be created because emacs does
5004 * tests/lisp7.test: New file.
5005 * tests/Makefile.am (TESTS): Add lisp7.test.
5006 Report from Greg Schafer.
5008 2005-03-05 Alexandre Duret-Lutz <adl@gnu.org>
5010 * doc/automake.texi: Replace wicked whiches by thats.
5012 2005-03-04 Alexandre Duret-Lutz <adl@gnu.org>
5014 * aclocal.in (scan_configure_dep, scan_file): Include file names
5015 are relative to the directory of configure.ac, not to the
5016 directory of the file doing the include. Remove code for this
5018 * tests/acloca13.test: Run distcheck and make sure all macros are
5019 actually distributed.
5021 2005-03-03 Alexandre Duret-Lutz <adl@gnu.org>
5023 For PR automake/450:
5024 * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
5026 * automake.in (scan_autoconf_traces): Likewise.
5027 * tests/sinclude.test: Augment.
5028 Report from Peter Breitenlohner.
5030 For PR automake/450:
5031 * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
5032 acinclude.m4 and configure.ac to the include map in these two
5034 (strip_redundant_includes): ... do it here. This completes the
5035 previous change from 2005-03-01, that did not update
5037 * tests/acloca19.test: Augment.
5038 Report from Peter Breitenlohner.
5040 2005-03-02 Alexandre Duret-Lutz <adl@gnu.org>
5042 * tests/comment9.test: Typo.
5044 2005-03-01 Alexandre Duret-Lutz <adl@gnu.org>
5046 * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
5047 * tests/comment9.test: New file.
5048 * tests/Makefile.am (TESTS): Add comment9.test.
5049 Report from Julien Sopena.
5051 For PR automake/450:
5052 * aclocal.in (trace_used_macros): Do not explicitly trace files
5053 included by configure.ac.
5054 * tests/acloca19.test: New file.
5055 * tests/Makefile.am (TESTS): Add acloca19.test.
5056 Report from Peter Breitenlohner.
5058 2005-02-27 Alexandre Duret-Lutz <adl@gnu.org>
5060 Fix for PR automake/448:
5061 * automake.in (handle_factored_dependencies): Flag install-hook as
5063 * tests/insthook.test: Exercise this.
5065 * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
5066 * doc/automake.texi (Hard-Coded Install Paths): Adjust.
5068 * doc/automake.texi: Replace many uses of @samp by @code, and
5069 vice versa. Use @command, @option, and @env where appropriate.
5071 2005-02-26 Alexandre Duret-Lutz <adl@gnu.org>
5073 * doc/automake.texi: "filename" -> "file name", for consistency
5074 with GNU Coding Standards. See also Paul's change on 2004-08-20
5077 * doc/automake.texi (A Library, Libtool Libraries): Show how to link
5078 a program with a static or libtool library.
5079 (Program and Library Variables): Make clearer that _LDADD and
5080 _LIBADD may also list libraries.
5081 Prompted by a mail from Bruce Korb.
5083 * doc/automake.texi (Alternative): Show how to rewrite nobase_
5084 variables using custom directory variables, and link to node
5085 Uniform. Suggested by Leonardo Boiko.
5087 * doc/automake.texi (Flag Variables Ordering, User Variables):
5088 Make clearer who the maintainer is, and that he can AC_SUBST AM_
5089 variables in configure.ac. Suggested by Norman Gray.
5090 (Uniform, Public macros, Libtool Issues, Java Support,
5091 Conditionals): Use `---' for em dash, and stick them to the
5094 * doc/automake.texi: Reword a few sentences to fix all underflow
5095 and overflow warnings during `make dvi'.
5096 (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
5097 (Public macros) <AM_WITH_DMALLOC>: Likewise.
5099 2005-02-12 Alexandre Duret-Lutz <adl@gnu.org>
5101 * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
5102 lib/texinfo.tex: New upstream versions.
5104 * doc/automake.texi (Hard-Coded Install Paths): New node.
5105 (Extending, Extending aclocal, Python): Link to it.
5106 (Extending): Don't show how to install a file in /etc/ directly,
5109 * automake.in (read_am_file): Define variables containing long
5110 lines as VAR_PRETTY to work around tools with limited input width.
5111 * tests/longlin2.test: New file.
5112 * tests/Makefile.am (TESTS): Add it.
5113 Report from Albert Chin.
5115 2005-02-09 Alexandre Duret-Lutz <adl@gnu.org>
5117 Fix for PR automake/447:
5118 * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
5119 Report from Mathias Doreille. Add some old comments from
5120 Nicolas Joly for reference.
5122 2005-02-08 Stepan Kasal <kasal@ucw.cz>
5124 * lib/mdate-sh: Check the size of the word following the month to
5125 catch Darwin. This way the filename can contain spaces.
5127 * doc/automake.texi (Requirements, Options): Typos.
5129 2005-02-08 Alexandre Duret-Lutz <adl@gnu.org>
5131 * lib/missing (makeinfo): Compute the output file if neither -o
5132 nor @setfilename is used.
5133 Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
5135 2005-02-07 Alexandre Duret-Lutz <adl@gnu.org>
5137 * doc/automake.texi (Requirements): Show one example of
5138 AC_CONFIG_FILES with multiple outputs, and correct a few typos.
5140 * aclocal.in ($serial_line_rx): Expect at least one space between
5141 `serial' and the following number.
5142 Report from Jim Meyering.
5144 * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
5145 Report from Peter O'Gorman.
5147 2005-02-06 Alexandre Duret-Lutz <adl@gnu.org>
5149 * aclocal.in (usage, parse_arguments): New --dry-run and --diff
5151 (install_file, write_aclocal): Honor --dry-run and --diff.
5152 * doc/automake.texi (aclocal options): Document --dry-run and --diff.
5153 (Serials): Mention --diff.
5154 * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
5155 $expected_exit_code argument.
5156 (xsystem): Take a list of arguments, not a string.
5157 * tests/acloca18.test: Use --dry-run and --diff.
5158 Suggested by Paul Eggert.
5160 * doc/automake.texi (aclocal options, Macro search path,
5161 Extending aclocal, Local Macros, Serials, Future of aclocal): Make
5162 these subsection of ...
5163 (Invoking aclocal): ... this.
5165 * aclocal.in ($serial_line_rx): Allow trailing garbage after the
5167 (scan_file): Explicitly mark the "ill-formed serial" message
5169 * doc/automake.texi (aclocal options, Local Macros): Link to...
5170 (Serials): ... this new section.
5172 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
5174 * lib/compile: Likewise.
5176 2005-02-02 Alexandre Duret-Lutz <adl@gnu.org>
5178 * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
5180 * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
5181 status if a write failure occurs with --help or --version option,
5184 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
5186 * lib/depcomp: Exit with nonzero status if a write failure occurs
5187 with --help or --version option.
5188 * lib/elisp-comp: Likewise.
5189 * lib/gnupload: Likewise.
5190 * lib/install-sh: Likewise.
5191 * lib/missing: Likewise.
5192 * lib/mkinstalldirs: Likewise.
5194 2005-02-01 Alexandre Duret-Lutz <adl@gnu.org>
5196 * doc/automake.texi (aclocal options): Typo.
5198 * aclocal.in (list_compare): New functions.
5199 (scan_file): Honor #serial lines.
5200 * tests/acloca18.test: New test.
5201 * tests/Makefile.am (TESTS): Add it.
5202 * doc/automake.texi (aclocal options, Local Macros): Document
5205 2005-01-30 Alexandre Duret-Lutz <adl@gnu.org>
5207 Preliminary support for `aclocal --install'.
5208 This still lacks #serial support.
5209 * aclocal.in (reset_maps, install_file): New functions.
5210 (write_aclocal): Copy files if --install.
5211 (usage, parse_arguments): Recognize --install.
5212 ("MAIN"): Start aclocal again if some file were installed.
5213 * tests/acloca10.test: Augment to test --install.
5214 * tests/aclocal.in, tests/defs.in: Add support for
5215 ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
5216 * doc/automake.texi (aclocal options, Local Macros): Document
5218 (Future of aclocal): Adjust.
5220 * doc/automake.texi (Macro search path): Using --acdir is not
5221 obvious, it's erroneous.
5223 * doc/automake.texi (direntry): Let `info Automake' point to the
5224 manual, and `info automake' to the `Invoking automake' node. Like
5227 2005-01-27 Akim Demaille <akim@epita.fr>
5229 * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
5232 2005-01-24 Akim Demaille <akim@epita.fr>
5234 * lib/Automake/FileUtils.pm: Rename filename as file_name to be
5235 consistent with the terminology of the GNU coding standards.
5237 (update_file): Accept a $force argument, so that --force always
5238 updates the time stamps.
5240 2005-01-23 Alexandre Duret-Lutz <adl@gnu.org>
5242 * doc/automake.texi (How the Linker is Chosen): Explain how the
5243 linker is chosen without diagram, and update to match the code.
5244 Suggestion from Adrian Bunk.
5246 2005-01-16 Alexandre Duret-Lutz <adl@gnu.org>
5248 * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
5249 Process all words of $MAKEFLAGS when checking for -k.
5250 * tests/check4.test: New file.
5251 * tests/Makefile.am (TESTS): Add check4.test.
5252 Report from Eric Blake.
5254 2005-01-13 Alexandre Duret-Lutz <adl@gnu.org>
5256 * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
5257 AM_INIT_AUTOMAKE if the version passed is incorrect.
5258 * tests/version8.test: New file.
5259 * tests/Makefile.am (TESTS): Add version8.test.
5261 2005-01-09 Alexandre Duret-Lutz <adl@gnu.org>
5263 * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
5264 m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
5265 m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
5266 m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
5267 m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
5268 m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
5269 m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
5270 m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
5271 license that is used in aclocal.m4. Relicensing backed by RMS.
5273 * doc/automake.texi (A Library, LIBOBJS): Mention that empty
5274 libraries are not portable.
5276 2005-01-05 Akim Demaille <akim@epita.fr>
5278 * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
5279 * tests/aclocal5.test (MORE_DEFS): Rename as...
5280 (AM_TEST): this so that undefined macros are caught.
5281 And make it an alias of AC_SUBST.
5283 Reported by Martin Bravenboer.
5285 2005-01-03 Alexandre Duret-Lutz <adl@gnu.org>
5287 Fix handling of per-target flags in link rules.
5288 * automake.in (define_per_target_linker_variable): New function.
5289 (handle_programs, handle_ltlibraries): Use it.
5290 (%link_languages): New map.
5291 (register_language): Fill it.
5292 * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
5293 $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
5294 define_per_target_linker_variable if needed.
5295 * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
5296 $(%XPROGRAM%_LDFLAGS).
5297 * doc/automake.texi (Program and Library Variables): Mention
5298 AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
5299 and maude_LIBTOOLFLAGS.
5300 * tests/libtool9.test: New file.
5301 * tests/Makefile.am (TESTS): Add it.
5302 * NEWS: Explain the backward incompatibility.
5303 Report from Akim Demaille.
5305 2005-01-01 Alexandre Duret-Lutz <adl@gnu.org>
5307 * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
5308 specifications with shell variables.
5309 (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
5310 AC_CONFIG_FILES for this explanation.
5311 * automake.in (substitute_ac_subst_variables_worker,
5312 substitute_ac_subst_variables): Mew functions.
5313 (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
5314 to ignore dependencies that contain unAC_SUBSTed shell variables.
5315 (handle_configure): Likewise, do not output rules for
5316 AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
5317 unAC_SUBSTed contain shell variables.
5318 * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
5319 * tests/output11.test, tests/output12.test: New files.
5320 * tests/Makefile.am (TESTS): Add output11.test and output12.test.
5322 * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
5323 * automake.in ($gen_copyright, version): Likewise.
5327 Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5329 Copying and distribution of this file, with or without modification, are
5330 permitted provided the copyright notice and this notice are preserved.