1 2009-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 More minor fixups to vala support.
4 * automake.in (lang_vala_finish_target): Fix typo in comment.
5 * doc/automake.texi (Vala Support): Fix typo. Declare vala
7 * NEWS: Likewise, declare vala support as "initial".
9 2009-04-05 Jürg Billeter <j@bitron.ch>
12 * automake.in: Update to Vala 0.7.0 semantics, recover from removal
13 of built sources, support silent-rules, drop _PKGNAME variables
14 * doc/automake.texi, NEWS: Update.
15 * lib/am/vala.am: Bump copyright years.
16 * m4/vala.m4: Likewise.
17 * tests/vala.test: Remove obsolete grep tests.
18 * tests/vala1.test: Likewise.
19 * tests/vala2.test: Test full build, distcheck, and distclean.
20 * tests/vala3.test: Likewise, also test with subdir-objects.
21 * tests/vala4.test: Bump copyright years.
22 * tests/vala5.test: New test for per-target flags, expected to fail.
23 * tests/Makefile.am: Update.
26 2008-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
28 Minor fixups for Vala support.
29 * automake.in: $(VALAFLAGS) comes after $(AM_VALAFLAGS).
30 * doc/automake.texi (Vala Support): Add some references,
31 document AM_VALAFLAGS, streamline a bit.
32 * lib/am/vala.am: Copyright blurb.
33 * m4/vala.m4 (AM_PROG_VALAC): Rewrite using AS_VERSION_COMPARE.
34 * tests/vala.test: Fix minor nits.
35 * tests/vala1.test: Likewise.
36 * tests/vala2.test: Likewise.
37 * tests/vala3.test: Likewise.
38 * tests/vala4.test: New test, for version argument of
40 * tests/Makefile.am: Update.
42 2008-10-09 Mathias Hasselmann <mathias.hasselmann@gmx.de>
44 * automake.in: Support Vala in non-recursive builds. Make sure
45 foo_VALAFLAGS really use used. Inject --library switch when building
47 * doc/automake.texi, NEWS: Document Vala support.
48 * m4/vala.m4: Rename AC_PROG_VALAC to AM_PROG_VALAC.
49 * tests/Makefile.am: Additional Vala tests.
50 * tests/vala.test: Also test VALAFLAGS support.
51 * tests/vala1.test: Test non-recursive Vala support.
52 * tests/vala2.test: Test _PKGNAME variables.
53 * tests/vala3.test: Test compiling of C code generated by Vala.
55 2008-10-09 Mathias Hasselmann <mathias.hasselmann@gmx.de>
57 Initial support for the vala programming language.
58 * automake.in: Add %known_libraries, lang_vala_rewrite,
59 lang_vala_finish and lang_vala_target_hook to support the Vala
60 programming language. Register Vala language hooks.
61 * lib/am/vala.am: Empty rules file to prevent creation of depend2
62 based rules for Vala code.
63 * lib/am/Makefile.am (dist_am_DATA): Add vala.am.
64 * m4/vala.m4: Provide AC_PROG_VALAC for detecting the Vala compiler.
65 * m4/Makefile.am (dist_m4data_DATA): Add vala.m4.
66 * tests/vala.test: Test Vala support.
67 * tests/Makefile.am: Update.
69 2009-04-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
71 parallel-tests: LOG_COMPILER for tests without known extension.
72 * automake.in (handle_tests): If we don't match a known
73 extension, define `LOG_COMPILER' as `$(LOG_COMPILE)
74 $(AM_LOG_FLAGS) $(LOG_FLAGS)' and use it as %COMPILE% in check2.
75 * doc/automake.texi (Simple Tests using parallel-tests):
76 Document it. In the examples, suggest using the AM_*LOG_FLAGS
77 flags in Makefile.am rather than the variables without `AM_'
79 * lib/Automake/tests/Makefile.am (AM_PL_LOG_FLAGS): Renamed from
80 (PL_LOG_FLAGS): ... this variable, intended for the user.
81 * tests/parallel-tests7.test: Extend test.
83 Suggestion by Akim Demaille.
85 More node renaming in the manual.
86 * doc/automake.texi (Top): Adjust menu to ...
87 (API Versioning): ... this node being renamed from ...
88 (API versioning): ... this, and ...
89 (Wildcards): ... this being renamed from ...
90 (wildcards): ... this.
93 2009-04-03 Andreas Schwab <schwab@linux-m68k.org>
95 * tests/instdir-java.test: Don't require gcj. Skip if javac is
98 2009-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
100 Fix testsuite failures due to nonexistent `dirlist' entries.
101 * tests/defs.in: When parsing `$aclocaldir/dirlist', only add
102 existing directories D to aclocal `-I D' flags, as aclocal
103 errors on nonexisting directories.
104 Report and analysis by Andreas Schwab.
106 2009-03-31 Akim Demaille <akim@lrde.epita.fr>
109 * doc/automake.texi (Simple Tests using parallel-tests): Fix
112 2009-03-31 Jim Meyering <meyering@redhat.com>
114 Avoid test failure due to paranoid TAR_OPTIONS envvar setting.
115 * tests/txinfo18.test: Don't let a TAR_OPTIONS=--keep-old-files
116 environment variable setting cause test failure. Fixed in
119 Use more common spelling in diagnostic: s/canonic/canonical/.
120 * automake.in (check_typos): s/canonic/canonical/.
122 2009-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
124 * configure.ac, NEWS: Bump version to 1.10c.
126 2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
128 * configure.ac, NEWS: Bump version to 1.10b.
129 * doc/automake.texi (Releases): Add statistics for 1.10b.
131 * NEWS: Minor update.
133 Reorganize nodes in the manual.
134 Avoid texinfo sectioning commands without nodes, by either
135 introducing new nodes along with menus, or using headings
136 commands. Adjust all references.
137 * doc/automake.texi: Throughout the manual, adjust references to
138 new or changed node names. Rename `non-configured' to
139 `unconfigured', capitalize headings and section names better.
140 (Top): List new menus and nodes introduced below.
141 (Length Limitations): Renamed from ...
142 (Length limitations): ... this.
143 (aclocal Options): Renamed from ...
144 (aclocal options): ... this.
145 (Macro Search Path): Renamed from ...
146 (Macro search path): ... this. Rename subsubsections to
148 (Public Macros, Obsolete Macros, Private Macros): Renamed from
149 (Public macros, Obsolete macros, Private macros): ... these.
150 (Conditional Subdirectories): Introduce sub menu and split ...
151 (SUBDIRS vs DIST_SUBDIRS, Subdirectories with AM_CONDITIONAL)
152 (Subdirectories with AC_SUBST, Unconfigured Subdirectories):
153 ... into these new nodes. Adjust subsection names to node
155 (Conditional Sources): Rename subsubsections to subsubheadings.
156 (Conditional Programs): Likewise.
157 (Program Variables): Renamed from ...
158 (Program variables): ... this.
159 (Libtool Issues): Introduce sub menu and split into ...
160 (Required file ltmain.sh not found)
161 (Objects created both with libtool and without): ... these new
163 (Other Objects, Built Sources): Renamed from ...
164 (Other objects, Built sources): ... these.
165 (Built Sources Example): Renamed from ...
166 (Built sources example): this. Rename unnumberedsubsecs to
168 (Man Pages): Renamed from ...
169 (Man pages): ... this.
170 (Install): Introduce sub menu and split into ...
171 (Basics of Installation, The Two Parts of Install)
172 (Extending Installation, Staged Installs)
173 (Install Rules for the User): ... these new nodes.
174 (Dist): Introduce sub menu and split into ...
175 (Basics of Distribution, Fine-grained Distribution Control)
176 (The dist Hook, Checking the Distribution)
177 (The Types of Distributions): ... these new nodes.
178 (Tests): Introduce sub menu and split into ...
179 (Simple Tests, Simple Tests using parallel-tests, DejaGnu Tests)
180 (Install Tests): ... these new nodes.
181 (Conditionals): Move the portability paragraph up, introduce sub
182 menu and split into ...
183 (Usage of Conditionals, Limits of Conditionals): ... these new
184 nodes. Link to several sections throughout the manual that deal
185 with specific usage of conditionals.
186 (CVS): Rename subsections to subheadings.
187 (maintainer-mode): Likewise.
188 (Limitations on File Names): Renamed from ...
189 (limitations on file names): ... this.
190 (Flag Variables Ordering): Rename subsections to subheadings.
191 (Renamed Objects): Renamed from ...
192 (Renamed objects): ... this.
193 (Dependency Tracking Evolution): Introduce sub menu and split
195 (First Take on Dependencies, Dependencies As Side Effects)
196 (Dependencies for the User, Techniques for Dependencies)
197 (Recommendations for Tool Writers)
198 (Future Directions for Dependencies): ... these new nodes.
199 Report by Karl Berry.
201 2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
203 Update AM_RECURSIVE_TARGETS for parallel-tests.
204 * lib/am/check.am [PARALLEL_TESTS] (AM_RECURSIVE_TARGETS):
205 Add check, recheck, check-html, recheck-html.
207 2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
208 Akim Demaille <akim@lrde.epita.fr>
210 parallel-tests: New target recheck-html.
211 * lib/am/check.am [PARALLEL_TESTS] (recheck-html): New phony,
212 recursive target. Factor common implementation with
214 * doc/automake.texi (Tests): Document recheck-html.
215 * tests/parallel-tests2.test: Test it.
217 2009-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
218 Akim Demaille <akim@lrde.epita.fr>
220 parallel-tests: redo lazy checking: recheck and RECHECK_LOGS.
221 Replace the LAZY_TEST_SUITE API with a simpler yet more powerful
222 one: RECHECK_LOGS specifies those tests which are to be removed
223 in any case before testing. Provide a `recheck' convenience
224 target to set RECHECK_LOGS to all failed and unexpectedly passed
225 tests. Document several ways to limit the set of tests run.
226 * lib/am/check.am [PARALLEL_TESTS] (RECHECK_LOGS): New variable,
227 default to $(TESTS_LOGS).
228 (check-TESTS): Remove $(RECHECK_LOGS) not $(TEST_LOGS). Drop use
230 ($(TEST_SUITE_LOG)): Do not output note about lazy rerun, as
231 LAZY_TEST_SUITE is gone.
232 (recheck): New target.
233 (recheck-am, recheck-TESTS): New internal targets.
234 * doc/automake.texi (Tests): Update @vindex for TESTS and
235 TEST_LOGS. Replace description of LAZY_TEST_SUITE with a list
236 of ways the set of tests to be run can be modified. Document
237 RECHECK_LOGS and the recheck target.
238 * tests/defs.in: Unset RECHECK_LOGS not LAZY_TEST_SUITE.
239 * tests/parallel-tests.test: Adjust, replacing LAZY_TEST_SUITE
240 with corresponding RECHECK_LOGS settings.
241 * tests/parallel-tests9.test: New tests.
242 * tests/Makefile.am: Update.
243 Suggestion and different implementation by Akim Demaille.
245 parallel-tests: do not mark check-TESTS as `.MAKE'.
246 * lib/am/check.am [PARALLEL_TESTS] (.MAKE): Remove check-TESTS.
247 This rule removes files, which should not be executed with BSD
250 parallel-tests: warn about $(srcdir), $(top_srcdir) in TESTS.
251 * automake.in (handle_tests): Warn about portability issue
252 concerning generated TESTS files listed with a `$(srcdir)/'
253 or `$(top_srcdir)/' prefix.
254 * doc/automake.texi (TESTS): Document this issue. Mention that
255 the parallel-tests driver is still experimental.
256 * tests/parallel-tests8.test: New test.
257 * tests/Makefile.am: Update.
259 check-html: Always create HTML output, note conversion failure.
260 * lib/am/check.am (check-html): Create `$(TEST_SUITE_HTML)' in
261 any case. Exit unsuccessfully if HTML creation failed.
262 * tests/parallel-tests2.test: Amend test to expose this.
264 2009-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
266 parallel-tests: per-extension test driver: <EXT>_LOG_COMPILER.
267 For test files with extension <ext>, introduce the internal
268 variable <EXT>_LOG_COMPILE, which expands to
269 $(<EXT>_LOG_COMPILER) $(AM_<EXT>_LOG_FLAGS) $(<EXT>_LOG_FLAGS).
270 Turn also the lib/Automake/tests testsuite over to the new
272 * doc/automake.texi (Tests): Document `EXT_LOG_COMPILER' and
274 * lib/am/check2.am: Insert `%COMPILE%' right before test.
275 * automake.in (handle_tests): Substitute `COMPILE' for check2,
276 empty for tests without extension, and `$(ext_LOG_COMPILE)' for
277 extension `ext'. In the latter case, define it from the public
279 * configure.ac (AM_INIT_AUTOMAKE): Use `parallel-test' globally.
280 * tests/Makefile.am (AUTOMAKE_OPTIONS): Remove, not needed here
282 * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Split ...
283 (PL_LOG_COMPILER, PL_LOG_FLAGS): ... into these new variables.
284 (TESTS_EXTENSIONS): New variable, initialize to `.pl'.
285 * tests/parallel-tests7.test: New test.
286 * tests/Makefile.am: Update.
287 Suggestion by Akim Demaille.
289 2009-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
291 parallel-tests: also record logs of SKIPped tests.
292 * lib/am/check.am [PARALLEL_TESTS] ($(TEST_SUITE_LOG)): Record
294 Suggested by Jim Meyering.
296 Minor optimization in parallel-tests text box creation.
297 * lib/am/check.am [PARALLEL-TESTS] (am__text_box): Use only one
298 awk invocation, rather than several tools, to create a text box.
299 Suggestion from Akim Demaille.
301 2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
303 Rewrite maintainer-check in separate tests, parallelizable.
304 * Makefile.am (sc_diff_automake_in_automake, sc_perl_syntax)
305 (sc_no_brace_variable_expansions, sc_rm_minus_f)
306 (sc_no_for_variable_in_macro, sc_mkinstalldirs)
307 (sc_pre_normal_post_install_uninstall, sc_perl_no_undef)
308 (sc_perl_no_split_regex_space, sc_cd_in_backquotes)
309 (sc_cd_relative_dir, sc_perl_at_uscore_in_scalar_context)
310 (sc_perl_local_no_parens, sc_perl_local)
311 (sc_AMDEP_TRUE_in_automake_in, sc_tests_make_without_am_makeflags)
312 (sc_tests_plain_make, sc_tests_plain_autoconf)
313 (sc_tests_plain_autoupdate, sc_tests_plain_automake)
314 (sc_tests_here_document_format, sc_tests_Exit_not_exit)
315 (sc_tests_automake_fails, sc_tests_plain_aclocal)
316 (sc_tests_plain_perl, sc_tests_required_after_defs)
317 (sc_tests_overriding_macros_on_cmdline, sc_tests_plain_sleep)
318 (sc_tests_plain_egrep_fgrep, sc_mkdir_p, sc_perl_at_substs)
319 (sc_unquoted_DESTDIR, sc_tabs_in_texi, sc_at_in_texi): New rules,
320 all phony, all listed in ...
321 (syntax_check_rules): ... this new variable and split out from ...
322 (maintainer-check): ... this rule. Depend on $(syntax_check_rules).
324 * Makefile.am (maintainer-check): Do not complain if DESTDIR is
325 passed as argument to `make'.
327 * doc/automake.texi (Cross-Compilation): Fix underfull hbox.
329 Sync auxiliary files from upstream.
330 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
331 lib/texinfo.tex: Sync from upstream.
333 2009-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
335 manual: minor cleanups.
336 * doc/automake.texi (Yacc and Lex): Adjust spacing in example.
337 (Mixing Fortran 77 With C and C++): Drop unneeded @page breaks.
339 Sane (un)install for empty directory variables.
340 This patch fixes all install and uninstall rules to behave
341 sanely when $(wheredir) is the empty string, but $(where_HOW) is
342 nonempty, for all kinds of values of `where' and `HOW'.
343 * lib/am/data.am (install-%DIR%%PRIMARY%, uninstall-%DIR%%PRIMARY%):
344 Do not touch the install tree if the corresponding directory variable
345 $(%NDIR%dir) is empty.
346 * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Likewise.
347 * lib/am/libs.am (install-%DIR%LIBRARIES, uninstall-%DIR%LIBRARIES):
349 * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Likewise.
350 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES, uninstall-%DIR%LTLIBRARIES):
352 * lib/am/mans.am (install-man%SECTION%, uninstall-man%SECTION%):
354 * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
356 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
358 * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
360 * lib/am/texinfos.am (install-dvi-am, install-html-am, install-pdf-am)
361 (install-ps-am, uninstall-dvi-am, uninstall-html-am, uninstall-pdf-am)
362 (uninstall-ps-am): Likewise.
363 * tests/instdir2.test, tests/instdir-java.test,
364 tests/instdir-lisp.test, tests/instdir-ltlib.test,
365 tests/instdir-prog.test, tests/instdir-python.test,
366 tests/instdir-texi.test: New tests.
367 * tests/Makefile.am: Update.
369 Suggestion by Akim Demaille.
371 Ensure that empty directory variables work with empty content variables.
372 This test ensures that, if both $(wheredir) and $(where_HOW) are
373 the empty string, then the `install' and `uninstall' rules behave
374 sanely, for several directory variables `wheredir' and several
376 * tests/instdir.test: New test.
377 * tests/Makefile.am: Update.
379 2009-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
381 Use --tag=FC with libtool also for .f90 files.
382 * automake.in: Set 'libtool_tag' for language `fc'.
383 * tests/fort5.test: Grep for the tag.
385 Report by John R. Cary.
387 2009-03-22 Peter Breitenlohner <peb@mppmu.mpg.de>
388 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
391 DISTFILES containing a directory and files in that directory.
392 When the source tree contains non-writable files or directories
393 (as happens during distcheck), and directories or entries
394 thereof are listed multiple times in variables to be
395 distributed, then the corresponding directories below $(distdir)
396 need to be made writable recursively. Since file modes should
397 not change, they need to be copied recursively using `cp -f'.
398 * lib/am/distdir.am: Handle this situation.
399 * tests/distdir.test: Extend test to those cases.
401 Report by Peter Breitenlohner.
403 2009-03-22 Jim Meyering <meyering@redhat.com>
405 Fix a documentation typo.
406 * doc/automake.texi (Headers): Clarify the note telling when it's
407 better not to use noinst_HEADERS.
409 2009-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
411 Define AM_RECURSIVE_TARGETS, for gnulib's GNUmakefile.
412 This new macro lists all public targets which invoke `make'
413 recursively, or depend on targets which do so. It allows to
414 prevent parallelism selectively, when multiple targets are
415 passed on the `make' command line.
416 * lib/am/distdir.am [%?SUBDIRS%] (AM_RECURSIVE_TARGETS): New
418 * lib/am/subdirs.am (AM_RECURSIVE_TARGETS): Likewise.
419 * lib/am/tags.am [%?SUBDIRS%] (AM_RECURSIVE_TARGETS):
422 2009-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
424 Fix LAZY_TEST_SUITE handling and $(TEST_SUITE_LOG) recreation.
425 * lib/am/check.am (check-TESTS): Expand `$(TEST_LOGS)' only once
426 in the rule command, for systems with low command line limits.
427 Remove $(TEST_SUITE_LOG) even in LAZY_TEST_SUITE mode.
428 ($(TEST_SUITE_LOG)): Always recreate $(TEST_SUITE_LOG). Mention
429 lazy mode in the summary output.
430 * tests/parallel-tests.test: Test LAZY_TEST_SUITE semantics.
432 2009-03-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
434 Fix parallel-tests with empty $(TESTS) for BSD make.
435 * lib/am/check.am [PARALLEL_TESTS] ($(TEST_SUITE_LOG)): Ignore
436 empty line stemming from empty $(TEST_LOGS), to avoid counting
438 (check-TESTS): If `$(TESTS)' is empty, override TEST_LOGS to be
439 empty, rather than `.log', for BSD make.
440 * tests/parallel-tests6.test: New test.
441 * tests/Makefile.am: Update.
443 Mark check-html and check-TESTS as recursive for BSD make.
444 * lib/am/check.am [PARALLEL_TESTS] (.MAKE): Add check-TESTS
445 and check-html prerequisites.
447 Match XFAIL_TESTS correctly with Solaris make.
448 * lib/am/check.am [PARALLEL_TESTS]: VPATH rewriting may have
449 changed test names, so srcdir needs to be taken into account
450 explicitly when checking against the list of tests expected
451 to fail. Fixes spurious FAILures from XFAIL_TESTS.
453 Use append mode to capture parallel test output.
454 * tests/lisp8.test: Use append mode for output from `make -j',
455 to avoid dropped lines.
456 * tests/parallel-tests3.test: Likewise.
458 parallel-tests: Fix summary output.
459 * lib/am/check.am (am__text_box): Fix unportable sed script,
460 replacing `\n' in the right hand side of an `s' command with
461 a literal newline. Kudos to Bruno Haible for the newline idea.
462 * tests/parallel-tests.test: Update test to expose this.
464 2009-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
466 Overhaul of tests/README.
467 * tests/README: General overhaul. Mention parallel test suite
468 execution, the test-suite.log file; document `Exit' vs. `exit',
469 `defs' vs. `defs-p', the naming of `parallel-tests' tests.
470 * README: Simplify, point to tests/README.
472 Documentation for the parallel-tests driver.
473 * doc/automake.texi (Tests, Options): Document the `parallel-tests'
474 option, including new features of the test driver.
477 New tests for `parallel-tests'.
478 * tests/parallel-tests.test: New file, to expose a bunch of
479 features of `parallel-tests': VERBOSE, clean, TEST_SUITE_LOG,
480 test dependencies, DISABLE_HARD_ERRORS.
481 * tests/parallel-tests2.test: New file, test check-html.
482 * tests/parallel-tests3.test: New file, test concurrency.
483 * tests/parallel-tests4.test: New file, test suffix rules.
484 * tests/parallel-tests5.test: New file, demonstrate compile/test
486 * tests/defs.in: Add a `required' check for rst2html.
487 * tests/Makefile.am: Update.
489 parallel-tests: Ensure backward-compatible semantics.
490 For each test in Automake's test suite that uses TESTS, generate
491 an identical one that uses the `parallel-tests' option, for
492 coverage of backward-compatible functionality.
493 * tests/gen-parallel-tests: New file, generates distributed
494 Makefile.am snippet tests/parallel-tests.am to list all tests
495 that use the TESTS interface but not yet the `parallel-tests'
496 option, with names mangled to use suffix `-p.test', in ...
497 (parallel_tests): ... this new make macro.
498 * tests/Makefile.am ($(srcdir)/parallel-tests.am)
499 ($(parallel_tests), defs-p): New rules.
500 (TESTS): Add check11.test and $(parallel_tests).
501 (check_SCRIPTS): Add defs-p, $(parallel_tests).
502 (check-clean-local): Remove `defs-p'.
503 (EXTRA_DIST): Distribute gen-parallel-tests.
504 (MAINTAINERCLEANFILES): New variable, remove $(parallel_tests).
505 * bootstrap: Generate parallel-tests.am.
506 * tests/check8.test: Check for circular dependencies in rules.
507 * tests/check11.test: New test, check that SKIPs are not counted
509 * tests/defs.in: Unset DISABLE_HARD_ERRORS, LAZY_TEST_SUITE,
510 VERBOSE, so the tests are not influenced by the way our test
513 2009-03-08 Akim Demaille <akim@lrde.epita.fr>
514 Jim Meyering <jim@meyering.net>
515 Benoit Sigoure <tsuna@lrde.epita.fr>
516 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
518 Parallel test execution: new option `parallel-tests'.
519 * automake.in (handle_tests): Set new conditional PARALLEL_TESTS
520 when reading check.am. Handle option `parallel-tests' and all
521 its new semantics. Define macros TEST_SUFFIXES, TEST_SUITE_LOG,
522 TEST_SUITE_HTML, TEST_LOGS, TEST_LOGS_TMP, suffix rules if
523 applicable, and per-target rules for other tests. Add all log
524 files to %clean_files at the `MOSTLY_CLEAN' level.
525 * lib/Automake/Options.pm (_process_option_list): Accept
527 * lib/am/check.am [!PARALLEL_TESTS] (check-TESTS): Move existing
528 testsuite driver under this new conditional.
530 (am__rst_title, am__rst_section, am__text_box am__sh_e_setup)
531 (am__check_pre, am__check_post): New internal macros.
532 ($(TEST_SUITE_LOG), check-TESTS, .log.html, check-html): New
534 * lib/am/check2.am: New file.
535 * lib/am/Makefile.am (dist_am_DATA): Add check2.am.
536 * tests/Makefile.am (AUTOMAKE_OPTIONS): Use `parallel-tests'.
537 (clean-local): Renamed from distclean-local.
538 * tests/defs.in: Drop VERBOSE handling, not needed here any more.
540 2009-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
542 Rename `silent' mode to `silent-rules' mode.
543 * automake.in (define_verbose_var, verbose_flag)
544 (define_verbose_tagvar, handle_options, handle_languages)
545 (handle_configure, parse_arguments): Rename the `silent' option
546 to `silent-rules', so it coincides with the `--silent-rules'
547 command line option; adjust all code and comments.
548 * lib/Automake/Options.pm (_process_option_list): Likewise.
549 * doc/automake.texi (Invoking Automake, Libtool Flags, Options):
552 * tests/dollarvar.test, tests/silent.test, tests/silent2.test,
553 tests/silent3.test, tests/silent4.test, tests/silent5.test,
554 tests/silent6.test, tests/silent7.test: Likewise.
555 Suggestion by Jan Engelhardt.
557 2009-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
559 `silent' mode unconditionally overrides portability-recursive.
560 * automake.in (parse_arguments): Don't handle a global `silent'
561 option here; instead, ...
562 (handle_options): ... handle the "normal" `silent' option here.
563 Override `portability-recursive' here, at the last point we deal
564 with options, instead ...
565 * lib/Automake/Options.pm (_process_option_list): ... of here.
566 * tests/silent6.test: Replace unportable make snippet, remove
567 FIXME note, add more test cases of options passed in the various
570 Drop extra line from compile rules when `silent' is not used.
571 * lib/am/depend2.am [!%FASTDEP%]: Only use the `%VERBOSE%
572 @AM_BACKSLASH@' extra line if ?VERBOSE?.
573 Report by Ralf Corsepius.
575 2009-03-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
577 Keep `--silent-rules' across triggered automake reruns.
578 * automake.in (usage): Reformat to be a bit clearer.
579 (handle_configure): Remove substitutions %STRICTNESS% and
580 %USE-DEPS% in favor of a new substitution %AUTOMAKE-OPTIONS%
581 that carries over all needed flags.
582 * lib/am/configure.am (%MAKEFILE-IN%): Adjust rule.
583 * tests/flavor.test: New test, to ensure --$flavor (gnu,
584 gnits, foreign, cygnus), --ignore-deps, and --silent-rules are
585 preserved across automake reruns.
586 * tests/Makefile.am: Update.
588 2009-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
590 Provide variables for silencing of user rules.
591 * automake.in (handle_languages): Always define `AM_V_GEN' and
593 * doc/automake.texi (Options): Document these flags.
594 * tests/silent7.test: New test.
595 * tests/Makefile.am: Update.
597 Redo variable naming for `silent' machinery.
598 The public variables are named `AM_V_' plus the compiler
599 short-hand now, e.g.: AM_V_CC, AM_V_CXXLD, AM_V_GEN. The
600 dispatch variables are internal details and begin with
602 * automake.in (verbose_var): Update comment.
603 (verbose_private_var): New function. Order functions so that
604 ones not needed outside this section are listed first.
605 (verbose_dispatch): Remove, no need to factor this.
606 (define_verbose_var, define_verbose_libtool): Use
608 (define_verbose_tagvar): Likewise; and simplify.
609 Report by Jan Engelhardt.
611 Let -Wportability turn on/off the portability-recursive channel.
612 * lib/Automake/ChannelDefs.pm (switch_warning): switch
613 `portability-recursive' channel as well if changing the
614 `portability' channel.
615 * tests/dollarvar2.test: New test.
616 * tests/Makefile.am: Update.
618 2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
620 New automake command line option `--silent-rules'.
621 * automake.in (parse_arguments): Accept `--silent-rules; let it
622 override command line warning settings.
623 (usage): Document it.
624 * doc/automake.texi (Invoking Automake): Document it.
626 * tests/dollarvar.test: Also test `--silent-rules'.
627 * tests/pr300-ltlib.test: Use `$MAKE V=1' to enable verbose
628 output, which is matched later in the test.
629 * tests/silent6.test: New test.
630 * tests/Makefile.am: Update.
632 Documentation and tests for the `silent' option.
634 * doc/automake.texi (Invoking Automake): `silent' turns off some
635 portability warnings.
636 (Libtool Flags): `silent' silences libtool.
637 (Options): Document the `silent' flag.
638 * tests/dollarvar.test, tests/silent.test, tests/silent2.test,
639 tests/silent3.test, tests/silent4.test, tests/silent5.test: New
641 * tests/Makefile.am: Update.
642 * Makefile.am (maintainer-check): Ignore `DESTDIR' and `V' when
643 checking for make variables that should not be overridden from
646 2009-03-07 Jan Engelhardt <jengelh@medozas.de>
647 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
649 Implement `silent' build rules.
650 * automake.in (ccer): New field in the language structure.
651 Initialize it for all registered languages.
652 (verbose_var, verbose_flag, verbose_dispatch)
653 (silent_flag, define_verbose_var, define_verbose_tagvar)
654 (define_verbose_libtool): New functions.
655 (handle_languages, handle_programs, handle_libraries)
656 (handle_ltlibraries, handle_configure)
657 (define_compiler_variable, define_linker_variable)
658 (define_per_target_linker_variable): Use them where appropriate
659 to define variables to implement the silent output machinery.
660 * lib/Automake/Options.pm (_process_option_list): Accept
661 `silent', turning off `portability-recursive'.
662 * lib/am/depend2.am: Add %VERBOSE% and %SILENT% prefixes where
664 * lib/am/lex.am: Likewise.
665 * lib/am/library.am: Likewise.
666 * lib/am/ltlibrary.am: Likewise.
667 * lib/am/program.am: Likewise.
668 * lib/am/yacc.am: Likewise.
669 * m4/init.m4 (AM_INIT_AUTOMAKE): Substitute, but do not define,
671 * tests/defs.in: Unset `V', to avoid influencing inner tests.
673 2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
675 New channel `portability-recursive'.
676 Add new channel for portability warnings about recursive make
677 variable expansions `$(var1$(var2))'. Enable it alongside
679 * lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Register
680 channel `portability-recursive'.
681 * lib/Automake/Variable.pm (_VARIABLE_CHARACTERS)
682 (_VARIABLE_RECURSIVE_PATTERN): New variables.
683 (check_variable_expansions): Diagnose recursive variable
684 expansions through the new channel.
686 2009-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
690 2009-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
692 Ignore warnings from autom4te about Libtool macros.
693 * tests/ltinstloc.test: When testing for presence of warnings,
694 filter out any that are not interesting for this test, e.g.,
695 warnings about installed files or about bogusly named cache
696 variables in libtool.m4, emitted by recent Autoconf when older
699 2009-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
701 Relax depcomp test for MSVC to not require minuso.
702 * m4/depend.m4 (_AM_DEPENDENCIES): When checking the msvisualcpp
703 and msvcmsys depmodes, do not require `-c -o' to work just yet.
704 It is not needed by the depcomp script for these depmodes, and
705 works around the ordering issue between the tests.
706 Report by Peter Rosin.
708 2009-03-09 Peter Rosin <peda@lysator.liu.se>
710 * tests/compile2.test: Fix typo.
712 2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
714 Improve NetBSD 'make -n' output for many standard targets.
715 * automake.in (handle_tags): Let .MAKE depend on
716 `tags-recursive' and `ctags-recursive' if appropriate.
717 (handle_all): Likewise for `all'.
718 (do_check_merge_target): Likewise for `check-am' and `check'.
719 * lib/am/ansi2knr.am (.MAKE): Depend on %ANSI2KNR-DIR%/ansi2knr.
720 * lib/am/install.am [%?maybe_BUILT_SOURCES%] (.MAKE): Depend on
722 * tests/maken3.test, tests/maken4.test: New tests.
723 * tests/Makefile.am: Update.
725 Improve `make -n dist' and `make -n distcheck' for GNU make.
726 Ensure that `make -n dist' and `make -n distcheck' do not change
727 files, due to GNU make executing rules containing `$(MAKE)'.
728 * lib/am/distdir.am (distdir): Separate the creation of
729 `$(distdir)/$$subdir' for `$(DIST_SUBDIRS)' and the recursion
730 into the `$(DIST_SUBDIRS)' in two separate rule commands.
731 (distcheck): Exit recursive rule early when run with `make -n',
732 as detected by a witness file.
733 * tests/maken.test, tests/maken2.test: New tests.
734 * tests/Makefile.am: Update.
737 2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
739 Solaris make testsuite fixes.
740 * tests/check10.test: When a rule fails, Solaris make will
741 output the complete command that failed; in this case the test
742 suite driver. Adjust the test to not bogusly match lines from
743 the driver, rather than its output.
744 * tests/distcleancheck.test: Avoid triggering VPATH rewriting,
745 not desirable in this test.
746 * tests/specflg10.test: Use BUILT_SOURCES to specify an
747 intermediate target, so Solaris make knows what to do.
749 testsuite: SKIP compile tests if configure found no compiler.
750 * tests/depend6.test: configure will exit 77 if AC_PROG_CC found
751 no working compiler. Allow the test to be SKIPped in that case.
752 * tests/postproc.test: Likewise.
753 * tests/pr243.test: Likewise.
754 * tests/pr266.test: Likewise.
756 Fix maintainer-check fallout.
757 * tests/compile2.test: Use `Exit', not `exit'.
759 2009-03-07 Peter Breitenlohner <peb@mppmu.mpg.de>
760 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
762 Extract correct man section from files in man_MANS.
763 * lib/am/mans.am: Extract correct man section in the presence of
764 multiple dots in the file base name and/or directory components.
765 * tests/man5.test: New test case.
766 * tests/Makefile.am: Update.
768 2009-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
770 * doc/automake.texi (maintainer-mode): Fix logic in
771 AM_MAINTAINER_MODE description.
773 Report by Daniel Kahn Gillmor.
775 2009-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
777 * lib/gnupload: Change conffile name to `.gnuploadrc'.
779 2009-03-04 William Pursell <bill.pursell@gmail.com>
781 Replace bare `automake' with `@command{automake}' or `Automake'.
782 * doc/automake.texi: Avoid bare `automake' in the manual,
783 replacing occurrences with `@command{automake}' when the command
784 is meant, and `Automake' when speaking about the software
787 2009-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
789 * lib/depcomp: Various portability and quoting nits.
791 reformat gnupload script.
792 * lib/gnupload: Reformat and reindent.
795 * lib/gnupload (conffile): New variable. Use throughout.
796 (dry_run): Use `false' and `:' values. Show, don't execute,
797 gpg signing commands upon --dry-run.
798 (usage): Typo and formatting fixes. Mention that commands are
800 (argument loop): Factorize a bit, fix quoting.
801 (dprint, mkdirective, mksymlink, upload): Formatting and
804 2009-03-04 Sergey Poznyakoff <gray@gnu.org>
806 Various gnupload improvements.
807 Add support for uploading to download.gnu.org.ua.
808 Add support for a .gnupload configuration file.
809 Support creating and removing symlinks.
810 Allow for several operations in a single invocation.
811 Add debugging features.
812 * lib/gnupload: New options --delete, --symlink, --rmsymlink,
813 --symlink-regex, --dry-run; support `--' to separate options and
814 commands from files. New target download.gnu.org.ua. Expand
815 `.gnupload' file contents before command line arguments.
817 (dprint, mkdirective, mksymlink, upload): New functions.
820 2009-03-03 Peter Rosin <peda@lysator.liu.se>
822 Add depmode=msvcmsys for Microsoft Visual C++ on MSYS.
823 * lib/depcomp [msvisualcpp]: Fork fewer processes. Filter out
824 libtool in the preprocessor invocation (as is done in
825 depmode=cpp). Silence compiler stderr.
826 [msvcmsys]: New depmode as a derivative of depmode=msvisualcpp.
827 msvcmsys transforms any backslashes into forward slashes to
828 make the grep in depend.m4 match, instead of the "cygpath -u"
829 that is used in msvisualcpp.
831 2009-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
832 Peter Rosin <peda@lysator.liu.se>
834 Fix w32 path handling in the `compile' script.
835 * lib/compile: Handle colons and backslashes in win32 paths.
836 * tests/compile2.test: New test.
837 * tests/Makefile.am: Update.
838 Report and initial patch by Peter Rosin.
840 2009-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
842 Fix `use constant' usage for MSYS Perl 5.6.0.
843 * automake.in (QUEUE_MESSAGE, QUEUE_CONF_FILE, QUEUE_LOCATION)
844 (QUEUE_STRING): Define using one `use constant' each; as perl
845 5.6.0 (on MSYS) does not understand `use constant { ... }'.
847 Report by Peter Rosin.
849 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
851 Fix recursive html and install-* doc rules for BSD make.
852 * automake.in (%required_targets): Add html-am,
853 install-html-am, install-dvi-am, install-pdf-am, install-ps-am,
855 * tests/txinfo32.test: New test.
856 * tests/Makefile.am: Update.
859 * lib/am/distdir.am (distcheck): Fix typo in comment.
861 Ignore generated files below doc/amhello for git.
862 * doc/amhello/.gitignore: New file.
864 2009-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
866 * doc/automake.texi (Program variables): Add cross reference to
867 `Flag Variables Ordering' node.
868 Report by Karl Berry.
870 2009-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
872 Fix mmodely.test to work on Solaris 10.
873 * tests/mmodely.test: Define yylex, to satisfy needed symbol in
874 libfl. Return from main instead of using exit, undeclared.
876 Report by Chris Hoogendyk.
878 2009-01-30 Karl Berry <karl@freefriends.org>
880 * lib/gnupload: Add download URL to --help output.
882 2009-01-23 Eric Blake <ebb9@byu.net>
884 Use no-arg macros via AC_REQUIRE for consistency.
885 * m4/init.m4 (AM_INIT_AUTOMAKE): Require, rather than directly
886 expand, AM_PROG_INSTALL_SH and AM_PROG_INSTALL_STRIP.
887 * configure: Regenerate.
889 2009-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
891 Bump copyright years.
892 * aclocal.in (write_aclocal, version): Bump copyright years.
893 * automake.in (gen_copyright, version): Likewise.
894 * doc/automake.texi: Likewise.
896 2008-12-29 Chris Pickett <chris.pickett@mail.mcgill.ca> (tiny change)
898 * doc/automake.texi (LIBOBJS): Clarify overriding of
902 2008-12-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
904 Revamp semantics for `missing help2man' and manpage distribution.
905 Previously, `missing help2man' would create a missing man page
906 containing an error message, and exit 1. This does not play
907 well with `make': the next run will see this particular man page
908 as being up to date, and will only error out on the next
909 generated man page, if any; repeat until all pages are done.
910 This patch changes `missing' to exit successfully in this case,
911 but `make dist' will ensure that no such man pages are packaged.
912 * lib/missing: Exit successfully even if we create a replacement
913 page due to missing help2man.
914 * automake.in (make_paragraphs): Define %HAVE-MANS% to be true
915 if this makefile deals with man pages.
916 * lib/am/distdir.am (distdir): If %INSTALL-MAN% and %HAVE-MANS%,
917 check that no man page in $(MANS) contains the replacement text
919 * tests/man4.test: New test.
920 * tests/Makefile.am: Update.
921 * NEWS: Reorder a bit, update.
923 Report by Werner Lemberg and Karl Berry.
925 Do not use 'global' for makefile-wide settings.
926 * doc/automake.texi (Linking, Libtool Flags)
927 (Program and Library Variables, Flag Variables Ordering):
928 Reword instances of `global variables' that really mean
931 Report by Andreas Bergmeier.
933 Fix config.status depfiles failure.
934 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Commands are
935 again a single shell brace group, so they are correctly skipped
936 when dependencies are turned off. The failure is noisy with
938 * tests/depend6.test: New test.
939 * tests/Makefile.am: Adjust.
941 Report and different suggested patch by Markus Duft.
943 2008-12-21 Zoltan Rado <z.rado@chello.hu> (tiny change)
945 * doc/automake.texi (DESTDIR): Fix a couple of typos.
948 2008-12-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
950 Fix nonportable sed script in 'missing'.
951 * lib/missing: In sed script, do not use ';' after 't' commands.
953 2008-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
956 * doc/automake.texi (amhello Explained)
957 (Mixing Fortran 77 With C and C++): Fix broken links to
959 Report by Michael Ploujnikov.
961 2008-12-07 Michael Ploujnikov <ploujj@gmail.com> (tiny change)
963 * doc/automake.texi (Optional, Future of aclocal): Various
964 spelling and grammar fixes.
967 2008-12-03 William Pursell <bill.pursell@gmail.com>
969 Simple typographical and grammar errors in automake.texi.
970 * doc/automake.texi: Fix object/article consistency (eg "an
971 flag" becomes "a flag"), correct minor punctuation errors, etc.
973 * doc/automake.texi (Auxiliary Programs, Python, Rebuilding):
974 Replace 'configure' with '@command{configure}' as appropriate.
976 2008-11-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
979 * Makefile.am (cvs-diff): Remove.
980 (git-dist): Do not use clcommit any more. Use new-style tag
981 name. Pass $(AM_MAKEFLAGS) to $(MAKE).
983 (git-release): Do not upload to sources.redhat.com.
985 2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
987 Fix portability issues in distcleancheck_listfiles doc example.
988 * doc/automake.texi (Dist): In the `distcleancheck_listfiles'
989 code example, add `.' path, for Solaris `find', also rewrite so
990 `{}' appears only once and as separate argument, for Posix.
991 * tests/distcleancheck.test: New test.
992 * tests/Makefile.am: Update.
994 Report by Jan Engelhardt and Andreas Schwab.
996 2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
997 Jim Meyering <jim@meyering.net>
999 Cope with whitespace in $MISSING and $install_sh.
1000 * configure.ac (am_AUTOHEADER): New substitution, save the value
1001 of $AUTOHEADER before AM_INIT_AUTOMAKE may add $MISSING.
1002 * tests/defs.in: Use am_AUTOHEADER.
1003 * lib/am/install.am: Fix typo.
1004 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): Add suitable
1005 single-quote quoting to install_sh, but only if needed.
1006 * m4/missing.m4 (AM_MISSING_HAS_RUN): Add suitable double-quote
1007 quoting to MISSING, but only if needed.
1008 * m4/sanity.m4 (AM_SANITY_CHECK): Abort configure if `pwd` or
1009 $srcdir contain shell meta-characters that cannot be handled;
1010 space and tab are allowed in the former only.
1011 * tests/sanity.test: New test.
1012 * tests/Makefile.am: Adjust.
1014 Reports by Jim Meyering and others.
1016 2008-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1018 Let `missing' also work with versioned and prefixed programs.
1019 * lib/missing: Ignore prefixes of `gnu-', `gnu', and `g' when
1020 testing for known programs; also, ignore suffixes.
1021 * tests/missing.test: Amend test.
1022 * NEWS, THANKS: Update.
1025 2008-11-23 William Pursell <bill.pursell@gmail.com>
1027 * doc/automake.texi (Macro search path, Extending aclocal)
1028 (Local Macros, Serials, Public macros, Directories)
1029 (Conditional Subdirectories, Nesting Packages)
1030 (Building a program, Libtool Modules)
1031 (Program and Library Variables, Default _SOURCES, LIBOBJS):
1032 Correct verb/object tense agreement, swap some words,
1033 and general trivial cleanup.
1035 2008-11-22 William Pursell <bill.pursell@gmail.com>
1036 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1038 * doc/automake.texi (VPATH Builds, Nested Packages)
1039 (Length limitations, Auxiliary Programs, Invoking Automake)
1040 (Requirements, Optional): Fix typos and grammaros, correct URL
1041 to 'config' source repository. Rewrite description of AC_SUBST.
1042 (true): Cross-reference to `Default _SOURCES' node.
1044 2008-11-22 William Pursell <bill.pursell@gmail.com>
1046 * configure.ac: Quote APIVERSION.
1048 2008-11-22 Jim Meyering <meyering@redhat.com>
1050 * tests/xz.test: Fix typo introduced by Ralf in last patch.
1052 Add xz compression support.
1053 * NEWS: Mention xz as well as lzma (xz will displace lzma).
1054 * automake.in (handle_dist): Recognize dist-xz.
1055 (make_paragraphs): Map XZ to dist-xz.
1056 * doc/automake.texi (Dist): Add dist-xz.
1057 (Options): Likewise.
1058 * lib/Automake/Options.pm (_process_option_list): Accept
1060 * lib/am/distdir.am (dist-xz): New rule.
1061 (dist dist-all): Add command to create an xz-compressed tarball.
1062 (distcheck): Handle xz-compressed tarballs just like the others.
1063 * tests/xz.test: New file, based on nogzip.test.
1064 * tests/Makefile.am (TESTS): Add xz.test.
1066 2008-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1068 When installing COPYING, recommend adding the file to VCS.
1069 * automake.in (require_file_internal): If installing `COPYING',
1070 mention that we install the GPLv3 file and recommend adding the
1071 file to version control.
1072 * doc/automake.texi (Invoking Automake): Point to `Gnits' node
1073 for `--add-missing'.
1074 (Gnits): Clarify semantics: that for strictness gnu or higher,
1075 INSTALL is installed, and that COPYING is installed as GPLv3
1076 if no COPYING file exists.
1077 * tests/license2.test: New test.
1078 * tests/Makefile.am: Update.
1079 * NEWS, THANKS: Update.
1080 Report by Brian Cameron.
1082 2008-11-20 William Pursell <bill.pursell@gmail.com>
1084 * doc/automake.texi (Timeline): Fix typos and grammaros.
1086 2008-11-12 Karl Berry <karl@freefriends.org>
1088 New gnupload option --delete to remove archive files.
1089 * lib/gnupload: Accept --delete to remove files from
1090 alpha.gnu.org or ftp.gnu.org.
1092 2008-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1094 Testsuite fixes for ksh.
1095 * tests/check10.test: Add ':' as last command in subshell, for
1096 zero exit status of the subshell.
1097 * tests/parallel-am.test: Do not let failing 'unset' of
1098 nonexistent variable exit the test.
1099 * tests/parallel-am2.test: Likewise.
1100 * tests/parallel-am3.test: Likewise.
1102 2008-11-11 Charles Wilson <libtool@cwilson.fastmail.fm> (tiny change)
1103 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1105 Cleanup config.lt in case LT_OUTPUT is in use.
1106 * lib/am/libtool.am [TOPDIR_P] (distclean-libtool): clean up
1107 config.lt as well as libtool.
1108 * tests/libtoo11.test: New test.
1109 * tests/Makefile.am: Update.
1112 2008-11-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1114 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
1115 lib/texinfo.tex: Sync from upstream.
1117 2008-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1120 * doc/fdl.texi: Update to GFDL 1.3.
1121 * doc/automake.texi (GNU Free Documentation License): Adjust.
1125 * automake.in: Fix typos in comments. Remove extraneous
1128 2008-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1130 Cope with absent Perl modules threads and Thread::Queue.
1131 * automake.in: Instead of `use threads', use `require threads;
1132 import threads' inside a BEGIN section. Likewise for
1134 * lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Likewise.
1135 * lib/Automake/tests/Condition-t.pl: Likewise.
1136 * lib/Automake/tests/DisjConditions-t.pl: Likewise.
1137 * configure.ac: Likewise, use `require' and `import'.
1138 Report by Eric Blake, fix suggested by Ben Pfaff.
1140 2008-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1142 Multiple 'make uninstall' should not fail even for TEXINFOS.
1143 * lib/am/texinfos.am (uninstall-info-am): Do not fail due to
1144 install-info if the installed file does not exist (any more).
1145 * tests/txinfo26.test: Issue multiple `make uninstall'.
1146 * tests/instmany-mans.test: Likewise.
1147 * tests/instmany-python.test: Likewise.
1148 * tests/instmany.test: Likewise.
1149 * tests/txinfo26.test: Likewise.
1152 2008-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1154 New public macro AM_SUBST_NOTMAKE.
1155 * m4/substnot.m4 (AM_SUBST_NOTMAKE): New public macro; invoke
1156 _AM_SUBST_NOTMAKE with arguments.
1157 * doc/automake.texi (Optional): Document it.
1159 * tests/subst4.test: New test.
1160 * tests/Makefile.am: Update.
1161 Suggestion by Bruno Haible.
1163 Fix regression introduced by AM_DEFAULT_SOURCE_EXT.
1164 * automake.in (handle_source_transform): Use the right variable
1165 when determining whether to apply the old rule for the libtool
1166 library default source name.
1167 Testsuite failure exposed by Bob Proulx' build daemon.
1169 2008-11-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1171 New maintainer target release-stats.
1172 * Makefile.am (release-stats): New target, to help computing the
1173 entries in the statistics table in automake.texi.
1174 * doc/automake.texi (Releases): Reformat a bit. Add number of
1175 generated files. Add entry for 1.10.1.
1177 Choose default source extension: AM_DEFAULT_SOURCE_EXT.
1178 * automake.in (handle_source_transform): Accept unconditional
1179 literal extension in AM_DEFAULT_SOURCE_EXT as override for the
1180 default source extension `.c'. If set, ignore the old default
1181 source rule for libtool libraries.
1182 * doc/automake.texi (Default _SOURCES): Document this.
1184 * tests/specflg10.test: New test.
1185 * tests/Makefile.am: Update.
1186 Suggestion by Akim Demaille.
1188 Fix maintainer-check failure.
1189 * tests/parallel-am.test: Rename variable to not match pattern
1190 used in maintainer-check.
1192 2008-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1195 Spotted by Jim Meyering.
1197 2008-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1199 Parallel automake --add-missing: serialized file installs.
1200 * automake.in (QUEUE_CONF_FILE, QUEUE_LOCATION, QUEUE_STRING):
1201 New serialization keys.
1202 ($required_conf_file_queue): New file global.
1203 (queue_required_conf_file, require_queued_conf_file): New
1204 functions, to queue and dequeue requirements for aux dir files.
1205 (require_conf_file): Enqueue if needed.
1206 (get_number_of_threads): Can do threads with --add-missing now.
1207 (handle_makefiles_threaded): Let worker threads enqueue, let
1208 master attend to queued requirements at the right time.
1209 * tests/parallel-am.test: Explain the purpose of the include
1211 * tests/parallel-am2.test: Also cope with --add-missing.
1212 * tests/parallel-am3.test: New test, test absence of races with
1213 concurrent same-file installs stemming from --add-missing.
1214 * tests/Makefile.am: Adjust.
1216 Implement serialization for Locations.
1217 * lib/Automake/Location.pm (serialize, deserialize): New
1218 functions. They allows to serialize a Location in an array, and
1219 to restore a Location from a thread queue. The API is
1220 unsymmetric (array vs. queue) because enqueuing data needs to
1223 Parallel automake: ordered output messages.
1224 * lib/Automake/Channels.pm (%_default_options): New options
1225 `ordered' default enabled, `queue', default zero (no queue),
1226 `queue_key' default undefined.
1227 (_merge_options): Ensure `ordered' channels cannot have fatal
1228 messages or backtrace output.
1229 (_enqueue, _dequeue): New functions, to push messages onto a
1230 Thread::Queue, and output messages from such a queue, suitably
1231 weeded for duplicates in the same manner as _print_message.
1232 (_print_message): If the channel is ordered and has an
1233 associated queue, then enqueue messages instead of printing
1235 (setup_channel_queue, pop_channel_queue): New functions,
1236 to set a Thread::Queue for channels, and to flush a queue.
1237 * lib/Automake/ChannelDefs.pm: Unset channel option `ordered'
1238 for fatal, automake, and verb channels.
1239 * automake.in (QUEUE_MESSAGE): New global constant, used as
1241 (handle_makefiles_threaded): Create message queues for each
1242 input file; workers queue messages, and the master outputs them
1243 ordered, using the new Channels.pm functions.
1244 * tests/parallel-am.test: Also check for ordered output (in the
1245 absence of --add-missing races).
1246 * tests/parallel-am2.test: New test; check for ordered output of
1247 warning and (regular) error messages.
1248 * tests/Makefile.am: Adjust.
1250 Parallel automake execution: AUTOMAKE_JOBS.
1251 * lib/Automake/Config.in (perl_threads): New global.
1252 * automake.in: Use it. If the perl supports interpreter-based
1253 threading, then use `threads' and `Thread::Queue'.
1254 (handle_makefile, handle_makefiles_serial): New functions,
1255 factored out from main.
1256 (get_number_of_threads): New function, compute number of threads
1257 to use, based on environment variable `AUTOMAKE_JOBS' and number
1258 of independent makefiles.
1259 (handle_makefiles_threaded): New function. Spawn threads, use
1260 thread queue to distribute handling the different makefiles.
1261 Collect $exit_code values from threads.
1262 (main): Use new functions.
1263 * aclocal.in: No threads here.
1264 * configure.ac: Substitute PERL_THREADS; enabled with perl >=
1265 5.7.2 and when ithreads are available.
1266 * bootstrap (dosubst): Likewise.
1267 * Makefile.am (do_subst): Likewise.
1268 * lib/Automake/Makefile.am (do_subst): Likewise.
1269 * lib/Automake/ChannelDefs.pm: Use `Automake::Config' and
1271 (verb): Prepend thread ID (tid) to verbose messages.
1272 * lib/Automake/Channels.pm (msg): Before exiting, flush stderr,
1273 needed for worker threads.
1274 * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Also
1275 include the build tree path, so Config.pm is found.
1276 * tests/parallel-am.test: New test.
1277 * tests/Makefile.am: Update.
1278 * doc/automake.texi (Invoking Automake): Document AUTOMAKE_JOBS.
1279 * NEWS, THANKS: Update.
1280 Report about long execution times by Joakim Tjernlund and others.
1282 2008-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1284 Minor file checking optimization: set_dir_cache_file.
1285 * lib/Automake/FileUtils.pm (set_dir_cache_file): New function.
1286 * automake.in (require_file_internal): Instead of resetting the
1287 cache when a file has been installed, simply correct the cache
1288 using set_dir_cache_file.
1290 No uniquifying for fatal, prog_error, and verbose messages.
1291 There is no point in dropping critical messages, even if they
1292 are duplicates (unlikely to happen unless they have been sent
1293 as non-critical messages before), and verbose messages should
1294 enable to show progress, even using duplicate statements.
1295 * lib/Automake/ChannelDefs.pm (fatal, automake, verb): Set
1296 `uniq_part' to `UP_NONE' when registering these channels.
1298 Fix 'config.status --file=... depfiles' with new Autoconf.
1299 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Eval
1300 $CONFIG_STATUS contents if we detect the quoting used by
1301 Autoconf 2.62 and newer for --file=.
1302 * tests/depend5.test: New test.
1303 * tests/Makefile.am: Update.
1304 * NEWS, THANKS: Update.
1305 Report by Sam Steingold against gnulib.
1307 2008-10-26 Johan Dahlin <jdahlin@async.com.br>
1309 Support for Python 3.0, drop support for pre-2.0.
1310 * lib/py-compile: Do not import string; use sys.stdout.write
1311 instead of print, files.split instead of string.split.
1312 * m4/python.m4 (AM_PATH_PYTHON): Also look for python3 and
1313 phython3.0; do not look for python1.5. Use sys.stdout.write.
1314 (AM_PYTHON_CHECK_VERSION): Do not use string; adjust to xrange
1315 removal in Python 3.0, and changed semantics of map.
1316 * doc/automake.texi (Python, Hard-Coded Install Paths): Update
1317 Python versions mentioned in the manual, using 2.5 everywhere.
1318 * NEWS, THANKS: Update.
1320 2008-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1322 * lib/Automake/Channels.pm (@chain): Drop unused variable.
1324 Cleanup of per-input global variables in automake.in.
1325 * automake.in ($output_vars, $output_all, $output_header)
1326 ($output_rules, $output_trailer): Fix comment, and sort
1327 declarations in the order they will appear in the output.
1328 ($all_target): Unused variable, remove.
1329 (Variables not reset by &initialize_per_input.): New section,
1330 clarify that %am_file_cache is not reset.
1331 (initialize_per_input): Reset $am_file_name, $am_relative_dir,
1332 $in_file_name, $relative_dir, and $topsrcdir to `undef' rather
1333 than the empty string; $topsrcdir was not reset at all. Sort
1334 remaining variables in the same order as in the section
1335 `Variables reset by &initialize_per_input'.
1337 Let stderr output end up on fd 2 in testsuite.
1338 * tests/defs.in (AUTOMAKE_run): Output recorded stderr on file
1340 * tests/getopt.test: Fix erroneous multiple redirection,
1341 uncovered by above change.
1343 2008-10-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1345 Fix DisjConditions module to be thread-safe for perl >= 5.7.2.
1346 Self-hashes of blessed references are not correctly transported
1347 through thread creation. This patch fixes that by recreating
1348 the hashes upon thread creation with a CLONE special subroutine,
1349 which is automatically invoked by new enough Perl versions.
1350 * lib/Automake/DisjConditions.pm (CLONE): New special
1351 subroutine to fix self hashes upon thread creation.
1352 * lib/Automake/tests/Condition-t.pl: New, sister test to
1353 Condition.pl, but spawns a new threads after each creation of a
1354 new condition; skip test if perl is too old or ithreads are not
1356 * lib/Automake/tests/DisjConditions-t.pl: Likewise.
1357 * lib/Automake/tests/Makefile.am (TESTS): Add them.
1359 2008-10-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1362 * automake.in (require_file_internal): Fix typos in comments.
1363 * m4/amversion.in: Likewise.
1364 * lib/Automake/Variable.pm: Likewise.
1365 * lib/Automake/XFile.pm: Likewise.
1367 Diagnose unsupported uses of `backname' helper function.
1368 * automake.in (backname): Error out if the path points outside
1369 the directory it started in.
1371 2008-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1373 Nicer 'make dist' output.
1374 * lib/am/distdir.am (distdir): Hide the complex script
1375 used for computing the relative subdirs; echo the sub-make
1378 2008-10-12 William Pursell <bill.pursell@gmail.com> (tiny patch)
1380 * tests/defs.in: Fix comment typo.
1382 2008-10-12 William Pursell <bill.pursell@gmail.com>
1383 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1385 Fix grammar w.r.t. plurals in test reports.
1386 * lib/am/check.am: Fix singular/plural forms in test reports.
1387 * tests/check10.test: New test.
1388 * tests/Makefile.am: Update.
1390 2008-10-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1392 Require texi2dvi in tests, makeinfo may not be enough.
1393 * tests/txinfo16.test: RHEL 5.2 has makeinfo and texi2dvi in
1394 separate packages, so also list the latter as required, as the
1395 test generates DVI and/or PDF output (through distcheck).
1396 * tests/txinfo18.test: Likewise.
1397 * tests/txinfo21.test: Likewise.
1398 * tests/txinfo22.test: Likewise.
1399 * tests/txinfo3.test: Likewise.
1400 * tests/version7.test: Likewise.
1402 Report by Alexander Martens.
1404 Fix bootstrap to remove read-only directories right.
1405 * bootstrap: Remove automake-$APIVERSION correctly.
1407 2008-10-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1409 Improve test coverage of current TESTS semantics.
1410 * tests/check8.test: New test, for subdir tests and setting of
1412 * tests/check9.test: New test, check @substituted@ TESTS.
1413 * tests/Makefile.am: Update.
1415 2008-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1417 * m4/minuso.m4 (AM_PROG_CC_C_O): Work around shell quoting issue
1418 with AIX sh; fixes depcomp6.test failure.
1419 * NEWS, THANKS: Update.
1420 Report by Rainer Tammer.
1422 Print captured output before failing.
1423 * tests/acloca14.test, tests/acloca17.test, tests/acloca18.test,
1424 tests/aclocal.test, tests/acsilent.test, tests/alpha.test,
1425 tests/check4.test, tests/color.test, tests/fn99.test,
1426 tests/fn99subdir.test, tests/help.test, tests/init.test,
1427 tests/lisp8.test, tests/missing3.test, tests/pr220.test,
1428 tests/python11.test, tests/python4.test, tests/python5.test,
1429 tests/unused.test, tests/version8.test: When Exit is called
1430 after a command that has stdout or stderr redirected to a file
1431 for later inspection, output the file before failing the test.
1433 Fix some comment typos.
1434 * automake.in: Fix some comment typos.
1435 * lib/Automake/Condition.pm: Likewise.
1436 * lib/Automake/DisjConditions.pm: Likewise.
1437 * lib/Automake/Variable.pm: Likewise.
1438 * lib/Automake/tests/DisjConditions.pl: Likewise.
1440 2008-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1442 * tests/aclibobj.test: Fix race condition.
1444 2008-09-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1446 Fix man page creation without installed files.
1447 * doc/Makefile.am (update_mans): Use wrappers in tests/
1449 ($(srcdir)/aclocal-$(APIVERSION).1): Use versioned wrapper as
1450 input program to help2man.
1451 ($(srcdir)/automake-$(APIVERSION).1): Likewise.
1452 Report by Eric Blake.
1454 2008-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1456 Remove unneeded per-rule *INSTALL variables.
1458 * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): Remove.
1459 (install-%DIR%%PRIMARY%): Adjust.
1460 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Remove.
1461 (install-%DIR%LIBRARIES): Adjust.
1462 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): Remove.
1463 (install-%DIR%LTLIBRARIES): Adjust.
1464 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): Remove.
1465 (install-%DIR%PROGRAMS): Adjust.
1466 * lib/am/python.am (%DIR%PYTHON_INSTALL): Remove.
1467 (install-%DIR%PYTHON): Adjust.
1468 * lib/am/scripts.am (%DIR%SCRIPT_INSTALL): Remove.
1469 (install-%DIR%SCRIPTS): Adjust.
1471 Compactify program rules using ternary operators.
1472 * lib/am/progs.am (install-%DIR%PROGRAMS): Uglify^WCompactify
1473 using ternary operators `%KEY?TRUE:FALSE%'.
1474 (uninstall-%DIR%PROGRAMS): Likewise.
1476 New doc section about command line length limits.
1477 * doc/automake.texi (Length limitations): New node.
1478 (Alternative): `nobase_' is not always equivalent to several
1480 (Install): Mention multi-file install.
1481 * NEWS: Expand on the issue, list some more user-visible
1484 Install nobase_lib_LTLIBRARIES before bin_PROGRAMS.
1485 * automake.in (generate_makefile): If nobase_lib_LTLIBRARIES are
1486 used, add an ugly hack to install them before bin_PROGRAMS, just
1487 like done with lib_LTLIBRARIES.
1488 * tests/ltorder.test: Add program, to expose this.
1490 Do not reorder nobase ltlib installation.
1491 This patch changes back the order of installation of nobase
1492 LTLIBRARIES to that in which files are listed in the variables.
1493 It does not fix the issue of strict dependency ordering, as
1494 implied by *_LIBADD, but as before allows to steer the order by
1495 listing the libraries in nobase_*_LTLIBRARIES appropriately.
1496 As an advantage over the state of 1.10, multiple consecutive
1497 nobase libraries to be installed in the same directory are
1498 passed to libtool in one invocation.
1499 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES) [!%?BASE%]: Do not
1500 reorder libraries upon installation. Remove spurious empty
1502 * tests/ltorder.test: New test.
1503 * tests/Makefile.am: Update.
1505 Fix -rpath arguments for nobase_*_LTLIBRARIES.
1506 * automake.in (handle_ltlibraries): New hash %instsubdirs to
1507 track the dirname of nobase ltlibraries, and tack it onto the
1508 end of the -rpath argument. Also, fix the warning about ltlibs
1509 installed in multiple locations to fit a bit better.
1510 * tests/pr300-ltlib.test: Expose this bug here.
1511 * tests/ltinstloc.test: New test.
1512 * tests/Makefile.am: Update.
1515 Man pages for automake and aclocal.
1516 * configure.ac (HELP2MAN): New substitution.
1517 * doc/Makefile.am (dist_man1_MANS, MAINTAINERCLEANFILES)
1518 (update_mans): New macros.
1519 ($(srcdir)/aclocal-$(APIVERSION).1)
1520 ($(srcdir)/automake-$(APIVERSION).1): New rules, generate
1521 man pages from the command line help with help2man.
1522 ($(srcdir)/aclocal.1, $(srcdir)/automake.1): New rules, for
1523 `.so' man page links to the versioned pages.
1526 2008-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1528 Faster install for libtool outputs.
1529 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Invoke `libtool
1530 --mode=install' with multiple libraries at once.
1531 (%DIR%LTLIBRARIES_INSTALL): No need to use install_sh any more.
1532 * lib/am/progs.am (install-%DIR%PROGRAMS): Likewise, remove much
1533 of the libtool special-casing by invoking it for multiple
1536 2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1538 Fast install and uninstall for SCRIPTS.
1539 * lib/am/scripts.am [%?INSTALL%]: Include inst-vars.am
1540 independent of `%?BASE%'.
1541 (install-%DIR%SCRIPTS): Install multiple scripts at once,
1542 using awk and a number of sed scripts.
1543 (uninstall-%DIR%SCRIPTS): Compute the installed names, and
1544 remove them, all at once.
1545 (%DIR%SCRIPT_INSTALL) [!BASE]: No need to use install-sh any
1548 Multi-file install for PROGRAMS.
1549 * lib/am/progs.am (install-%DIR%PROGRAMS): Allow to install
1550 several programs with one install invocation, when not using
1551 libtool; employs some trickery to cater for nobase_, $(EXEEXT),
1552 create needed directories, libtool, while only forking a
1553 constant number of times in the fast path; uses awk and sed also
1554 in the default path.
1555 (%DIR%PROGRAMS_INSTALL) [!BASE]: No need to use install-sh any
1558 Enhance cleaning of programs in libtool mode.
1559 * lib/am/progs.am (clean-%DIR%PROGRAMS) [?LIBTOOL?]: Fork less
1560 often, avoid removing programs twice if $(EXEEXT) is empty.
1561 * tests/nobase-libtool.test: Also test PROGRAMS, in order to
1562 exercise the code path.
1564 Report by Toralf Förster.
1566 2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1567 Jim Meyering <jim@meyering.net>
1569 Reliable multi-file install for man pages.
1570 * lib/am/mans.am: Include inst-vars.am.
1571 (install-man%SECTION%): Gather lists of man pages to install,
1572 and install up to 40 of those that do not have to be renamed
1573 at once. Fail if installation of any file fails.
1574 (uninstall-man%SECTION%): Rewrite to use fewer sed invocations.
1575 * doc/automake.texi (Man pages): Hint the user to the fast path.
1577 * tests/instmany-mans.test: New test.
1578 * tests/Makefile.am: Update.
1580 2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1582 Faster `make uninstall'; fast install for JAVA.
1583 * lib/am/inst-vars.am (am__nobase_strip_setup)
1584 (am__nobase_strip): New macros.
1585 (am__nobase_list): Factorize.
1586 * lib/am/data.am (uninstall-%DIR%%PRIMARY%): Use them, for a
1587 constant number of forks per uninstall.
1588 * lib/am/libs.am (uninstall-%DIR%LIBRARIES): Likewise.
1589 * lib/am/lisp.am (uninstall-%DIR%LISP): Likewise.
1590 * lib/am/progs.am (uninstall-%DIR%PROGRAMS): Fast uninstall.
1591 * lib/am/python.am (uninstall-%DIR%PYTHON): Fast uninstall.
1592 Echo all `rm' commands that are are executed.
1593 * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA):
1594 Fast install and uninstall.
1596 AIX ranlib dislikes spaces in the argument.
1597 * lib/am/libs.am (install-%DIR%LIBRARIES): Fix instsh.test
1598 failure on AIX due to ranlib and whitespace in the directory.
1600 Report by John F Trudeau.
1602 Fail upon install or ranlib failure, part two.
1603 * lib/am/java.am (install-%DIR%JAVA): Fail upon install failure.
1604 * lib/am/lisp.am (install-%DIR%LISP): Likewise.
1605 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Likewise.
1606 * lib/am/libs.am (install-%DIR%LIBRARIES): Likewise, for
1607 `install' as well as `ranlib'.
1608 * lib/am/progs.am (install-%DIR%PROGRAMS): If `install' fails,
1609 return its exit failure, not 1.
1610 * tests/instfail.test: New test, for PROGRAMS (without libtool),
1611 LIBRARIES, including nobase variants.
1612 * tests/instfail-info.test: Likewise, for TEXINFOS.
1613 * tests/instfail-java.test: Likewise, for JAVA.
1614 * tests/instfail-libtool.test: Likewise, for PROGRAMS (with
1615 libtool) and LTLIBRARIES.
1616 * tests/Makefile.am: Adjust.
1618 Exit upon `install' failure, part one.
1619 * lib/am/data.am (install-%DIR%%PRIMARY%): Exit if any install
1621 * lib/am/python.am (install-%DIR%PYTHON): Likewise.
1622 * lib/am/scripts.am (install-%DIR%SCRIPTS): Likewise.
1623 * lib/am/texinfos.am (install-dvi-am, install-html-am)
1624 (install-info-am:, install-pdf-am): Likewise.
1625 * tests/instmany.test: New test, for SCRIPTS, DATA, and HEADERS.
1626 * tests/instmany-python.test: New test, for PYTHON.
1627 * tests/Makefile.am: Adjust.
1629 2008-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1631 Fix multi-file installation for files in srcdir.
1632 For files that can live in the build tree or the source tree,
1633 we have to expect that prepending `$(srcdir)/' to each name
1634 will let the install command line exceed length limitations.
1635 Thus use a new macro, $(am__base_list), to install in chunks
1636 of 40 files, similar to what we do for nobase_* files. There,
1637 lower the limit to 40, too.
1638 * lib/am/inst-vars.am (am__install_max): Lower to 40.
1639 (am__base_list): New macro.
1640 * lib/am/data.am (install-%DIR%%PRIMARY%) [%?BASE%]: Use it.
1641 * lib/am/texinfos.am (install-dvi-am, install-html-am)
1642 (install-info-am, install-pdf-am, install-ps-am): Likewise.
1644 2008-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1646 Use `Exit' instead of `exit' in test suite.
1647 Cater to Bourne shells like Solaris sh that do not pass the
1648 `exit' argument as status to the cleanup trap.
1649 * Makefile.am (maintainer-check): Check that here-documents
1650 use only `END' or `EOF' as delimiter in the test suite.
1651 Check that, outside of here-documents, the tests do not use
1652 `exit' with an argument, but use `Exit' instead.
1653 * tests/defs.in (Exit): New function. Use it throughout,
1654 starting with the introduction of the exit trap.
1655 * tests/aclibobj.test, tests/acloca10.test, tests/acloca11.test,
1656 tests/acloca12.test, tests/acloca13.test, tests/acloca14.test,
1657 tests/acloca15.test, tests/acloca16.test, tests/acloca17.test,
1658 tests/acloca18.test, tests/acloca19.test, tests/acloca20.test,
1659 tests/acloca21.test, tests/acloca22.test, tests/aclocal.test,
1660 tests/aclocal3.test, tests/aclocal4.test, tests/aclocal5.test,
1661 tests/aclocal6.test, tests/aclocal7.test, tests/aclocal8.test,
1662 tests/aclocal9.test, tests/acoutbs.test, tests/acoutbs2.test,
1663 tests/acoutnoq.test, tests/acoutpt.test, tests/acoutpt2.test,
1664 tests/acoutqnl.test, tests/acsilent.test, tests/acsubst.test,
1665 tests/acsubst2.test, tests/all.test, tests/alloca.test,
1666 tests/alloca2.test, tests/alpha.test, tests/alpha2.test,
1667 tests/amassign.test, tests/ammissing.test, tests/amopt.test,
1668 tests/amsubst.test, tests/ansi.test, tests/ansi10.test,
1669 tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
1670 tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
1671 tests/ansi7.test, tests/ansi8.test, tests/ansi9.test (main),
1672 tests/ar.test, tests/ar2.test, tests/asm.test, tests/asm2.test,
1673 tests/asm3.test, tests/automake.test, tests/auxdir.test,
1674 tests/auxdir2.test, tests/auxdir3.test, tests/auxdir4.test,
1675 tests/backsl.test, tests/backsl2.test, tests/backsl3.test,
1676 tests/backsl4.test, tests/badline.test, tests/badopt.test,
1677 tests/badprog.test, tests/block.test, tests/bsource.test,
1678 tests/canon-name.test, tests/canon.test, tests/canon2.test,
1679 tests/canon3.test, tests/canon4.test, tests/canon5.test,
1680 tests/ccnoco.test, tests/ccnoco2.test, tests/check.test,
1681 tests/check2.test, tests/check3.test, tests/check4.test,
1682 tests/check5.test, tests/check6.test, tests/check7.test,
1683 tests/checkall.test, tests/clean.test, tests/clean2.test,
1684 tests/colneq.test, tests/colneq2.test, tests/colon.test,
1685 tests/colon2.test, tests/colon3.test, tests/colon4.test,
1686 tests/colon5.test, tests/colon6.test, tests/colon7.test,
1687 tests/color.test (test_no_color), tests/commen10.test,
1688 tests/comment.test, tests/comment2.test, tests/comment3.test,
1689 tests/comment4.test, tests/comment5.test, tests/comment6.test,
1690 tests/comment7.test, tests/comment8.test, tests/comment9.test,
1691 tests/compile.test, tests/compile_f90_c_cxx.test,
1692 tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
1693 tests/cond11.test, tests/cond13.test, tests/cond14.test,
1694 tests/cond15.test, tests/cond16.test, tests/cond17.test,
1695 tests/cond18.test, tests/cond19.test, tests/cond2.test,
1696 tests/cond20.test, tests/cond21.test, tests/cond22.test,
1697 tests/cond27.test, tests/cond3.test, tests/cond37.test,
1698 tests/cond39.test, tests/cond4.test, tests/cond40.test,
1699 tests/cond41.test, tests/cond5.test, tests/cond6.test,
1700 tests/cond7.test (AC_INIT), tests/cond8.test, tests/cond9.test,
1701 tests/condd.test, tests/condhook.test, tests/condinc.test,
1702 tests/condinc2.test, tests/condlib.test, tests/condman.test,
1703 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
1704 tests/conff.test, tests/conff2.test, tests/confh.test,
1705 tests/confh4.test, tests/confh5.test, tests/config.test,
1706 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
1707 tests/conflnk3.test, tests/conflnk4.test, tests/confsub.test,
1708 tests/confvar.test, tests/confvar2.test, tests/copy.test,
1709 tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
1710 tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
1711 tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
1712 tests/cygwin32.test, tests/dash.test, tests/defs.in (else),
1713 tests/defun.test, tests/defun2.test, tests/dejagnu.test,
1714 tests/dejagnu2.test, tests/dejagnu3.test, tests/dejagnu4.test,
1715 tests/dejagnu5.test, tests/dejagnu6.test, tests/dejagnu7.test,
1716 tests/depacl2.test, tests/depcomp.test, tests/depcomp2.test,
1717 tests/depcomp3.test, tests/depcomp4.test, tests/depcomp5.test,
1718 tests/depcomp6.test, tests/depcomp7.test, tests/depdist.test,
1719 tests/depend.test, tests/depend2.test, tests/depend3.test,
1720 tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
1721 tests/dirlist.test, tests/dirlist2.test, tests/discover.test,
1722 tests/distcom2.test, tests/distcom3.test, tests/distcom4.test,
1723 tests/distcom5.test, tests/distcom6.test, tests/distcom7.test,
1724 tests/distdir.test, tests/distname.test, tests/dollar.test,
1725 tests/double.test, tests/dup2.test, tests/else.test,
1726 tests/empty.test, tests/empty2.test, tests/empty3.test,
1727 tests/empty4.test, tests/exdir.test, tests/exdir2.test,
1728 tests/exdir3.test, tests/exeext.test, tests/exeext2.test,
1729 tests/exeext3.test, tests/exeext4.test, tests/exsource.test,
1730 tests/ext.test, tests/extra.test, tests/extra2.test,
1731 tests/extra3.test, tests/extra4.test, tests/extra5.test,
1732 tests/extra6.test, tests/extra7.test, tests/f90only.test,
1733 tests/flibs.test, tests/fn99.test, tests/fn99subdir.test,
1734 tests/fnoc.test, tests/fo.test, tests/fonly.test,
1735 tests/fort1.test, tests/fort2.test, tests/fort4.test,
1736 tests/fort5.test, tests/fortdep.test, tests/fpinst2.test,
1737 tests/fpinstall.test, tests/gcj.test, tests/gcj2.test,
1738 tests/gcj3.test, tests/gcj4.test, tests/gcj5.test,
1739 tests/getopt.test, tests/gettext.test, tests/gettext2.test,
1740 tests/gettext3.test, tests/gnits.test, tests/gnits2.test (main),
1741 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
1742 tests/gnuwarn2.test, tests/header.test, tests/help.test,
1743 tests/hosts.test, tests/implicit.test, tests/include.test,
1744 tests/include2.test, tests/info.test, tests/init.test,
1745 tests/insh2.test, tests/install2.test, tests/installdir.test,
1746 tests/instdat.test, tests/instdat2.test, tests/instexec.test,
1747 tests/insthook.test, tests/instman.test, tests/instman2.test,
1748 tests/instsh.test, tests/instsh2.test, tests/instsh3.test,
1749 tests/instspc.test, tests/interp.test, tests/interp2.test,
1750 tests/java.test, tests/java2.test, tests/java3.test,
1751 tests/javaprim.test, tests/javasubst.test, tests/ldadd.test,
1752 tests/ldflags.test, tests/lex.test, tests/lex2.test,
1753 tests/lex3.test, tests/lex4.test, tests/lex5.test (main),
1754 tests/libexec.test, tests/libobj10.test, tests/libobj11.test,
1755 tests/libobj12.test, tests/libobj13.test, tests/libobj2.test,
1756 tests/libobj3.test, tests/libobj4.test, tests/libobj5.test,
1757 tests/libobj7.test, tests/libobj8.test, tests/library.test,
1758 tests/library2.test, tests/library3.test, tests/libtoo10.test,
1759 tests/libtool.test, tests/libtool2.test, tests/libtool3.test
1760 (main), tests/libtool4.test, tests/libtool5.test,
1761 tests/libtool6.test, tests/libtool7.test, tests/libtool8.test,
1762 tests/libtool9.test (main), tests/license.test,
1763 tests/link_c_cxx.test, tests/link_dist.test,
1764 tests/link_f90_only.test, tests/link_f_only.test,
1765 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
1766 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
1767 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
1768 tests/lisp8.test, tests/listval.test, tests/location.test,
1769 tests/longlin2.test, tests/longline.test, tests/ltcond.test,
1770 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
1771 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/lzma.test,
1772 tests/maintclean.test, tests/make.test, tests/makej.test,
1773 tests/makevars.test, tests/man.test, tests/man2.test,
1774 tests/man3.test, tests/mclean.test, tests/mdate.test,
1775 tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
1776 tests/mdate5.test, tests/missing.test, tests/missing2.test,
1777 tests/missing3.test, tests/missing4.test, tests/missing5.test,
1778 tests/missing6.test, tests/mkinst2.test, tests/mkinst3.test,
1779 tests/mkinstall.test, tests/mmode.test, tests/mmodely.test,
1780 tests/multlib.test, tests/nobase-libtool.test,
1781 tests/nobase-python.test, tests/nobase.test, tests/nodef.test,
1782 tests/nodef2.test, tests/nodep.test, tests/nodep2.test,
1783 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
1784 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
1785 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
1786 tests/nostdinc.test, tests/notrans.test, tests/number.test,
1787 tests/objc.test, tests/objc2.test, tests/obsolete.test,
1788 tests/order.test, tests/outdir.test, tests/output-order.test,
1789 tests/output.test, tests/output10.test, tests/output11.test,
1790 tests/output12.test, tests/output13.test, tests/output2.test,
1791 tests/output3.test, tests/output4.test, tests/output5.test,
1792 tests/output6.test, tests/output7.test, tests/output8.test,
1793 tests/output9.test, tests/overrid.test, tests/parse.test,
1794 tests/pluseq.test, tests/pluseq10.test, tests/pluseq2.test,
1795 tests/pluseq3.test, tests/pluseq4.test, tests/pluseq5.test,
1796 tests/pluseq6.test, tests/pluseq7.test, tests/pluseq8.test,
1797 tests/pluseq9.test, tests/postproc.test, tests/ppf77.test,
1798 tests/pr2.test, tests/pr204.test, tests/pr211.test,
1799 tests/pr220.test, tests/pr224.test, tests/pr229.test,
1800 tests/pr243.test, tests/pr266.test, tests/pr279-2.test,
1801 tests/pr279.test, tests/pr287.test, tests/pr300-lib.test,
1802 tests/pr300-ltlib.test, tests/pr300-prog.test, tests/pr307.test,
1803 tests/pr401.test, tests/pr401b.test, tests/pr401c.test,
1804 tests/pr72.test, tests/pr87.test, tests/pr9.test,
1805 tests/prefix.test, tests/primary.test, tests/primary2.test,
1806 tests/primary3.test, tests/proginst.test, tests/python.test,
1807 tests/python10.test, tests/python11.test, tests/python12.test,
1808 tests/python2.test, tests/python3.test, tests/python4.test,
1809 tests/python5.test, tests/python6.test, tests/python7.test,
1810 tests/python8.test, tests/python9.test, tests/recurs.test,
1811 tests/recurs2.test, tests/regex.test, tests/remake.test,
1812 tests/remake2.test, tests/remake3.test, tests/remake4.test,
1813 tests/remake5.test, tests/remake6.test, tests/remake7.test,
1814 tests/req.test, tests/reqd.test, tests/reqd2.test,
1815 tests/rulepat.test, tests/scripts.test, tests/seenc.test,
1816 tests/sinclude.test, tests/space.test, tests/specflg.test,
1817 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
1818 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
1819 tests/spell.test, tests/spell2.test, tests/spell3.test,
1820 tests/spelling.test, tests/spy.test, tests/srcsub.test,
1821 tests/srcsub2.test, tests/stamph2.test, tests/stdinc.test,
1822 tests/stdlib.test, tests/stdlib2.test, tests/strip.test,
1823 tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
1824 tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
1825 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
1826 tests/subdir7.test, tests/subdir8.test, tests/subdir9.test,
1827 tests/subdirbuiltsources.test, tests/subobj.test,
1828 tests/subobj10.test, tests/subobj2.test, tests/subobj3.test,
1829 tests/subobj4.test, tests/subobj5.test, tests/subobj6.test,
1830 tests/subobj7.test, tests/subobj8.test, tests/subobj9.test,
1831 tests/subobjname.test, tests/subpkg.test, tests/subpkg2.test,
1832 tests/subpkg3.test, tests/subst.test, tests/subst2.test,
1833 tests/subst3.test, tests/substre2.test, tests/substref.test,
1834 tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
1835 tests/suffix11.test, tests/suffix12.test, tests/suffix2.test,
1836 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
1837 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
1838 tests/suffix9.test, tests/symlink.test, tests/symlink2.test,
1839 tests/symlink3.test, tests/syntax.test, tests/tags.test,
1840 tests/tagsub.test, tests/tar.test, tests/tar2.test,
1841 tests/tar3.test, tests/target-cflags.test,
1842 tests/targetclash.test, tests/transform.test, tests/txinfo.test,
1843 tests/txinfo10.test, tests/txinfo13.test, tests/txinfo16.test,
1844 tests/txinfo17.test, tests/txinfo18.test, tests/txinfo19.test,
1845 tests/txinfo2.test, tests/txinfo20.test, tests/txinfo21.test,
1846 tests/txinfo22.test, tests/txinfo23.test, tests/txinfo24.test,
1847 tests/txinfo25.test, tests/txinfo26.test, tests/txinfo27.test,
1848 tests/txinfo28.test, tests/txinfo29.test, tests/txinfo3.test,
1849 tests/txinfo30.test, tests/txinfo31.test, tests/txinfo4.test,
1850 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
1851 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
1852 tests/upc.test, tests/upc2.test, tests/upc3.test,
1853 tests/vars.test, tests/vars3.test, tests/vartar.test,
1854 tests/version.test, tests/version2.test, tests/version3.test,
1855 tests/version4.test, tests/version6.test, tests/version7.test,
1856 tests/version8.test, tests/vpath.test, tests/vtexi.test,
1857 tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
1858 tests/werror2.test, tests/whoami.test, tests/xsource.test,
1859 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
1860 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
1861 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
1862 tests/yaccvpath.test: Use `Exit $arg' instead of `exit $arg'
1863 throughout, except inside created files.
1865 2008-09-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1867 Avoid Heisenbug with verbose testing on HP-UX.
1868 * tests/output-order.test: Remove spurious redirection line
1869 from output for comparison.
1871 For all possibly-relative subdirs, use $(am__cd).
1872 Up to now, $(am__cd) was only used within backquotes, to avoid
1873 extraneous output. This patch also uses it for every `cd' to a
1874 relative subdir, to prevent CDPATH from entering an unwanted
1876 * Makefile.am (maintainer-check): Fix current check for
1877 $(am__cd) within backquotes a bit. Add new check for `cd' to a
1879 * automake.in (handle_tags, handle_configure): Adjust rules.
1880 * lib/am/ansi2knr.am: Likewise.
1881 * lib/am/configure.am: Likewise.
1882 * lib/am/distdir.am: Likewise.
1883 * lib/am/remake-hdr.am: Likewise.
1884 * lib/am/subdirs.am: Likewise.
1885 * lib/am/tags.am: Likewise.
1886 * lib/am/texibuild.am: Likewise.
1888 Fix nobase-python.test for BSD make.
1889 * tests/nobase-python.test: Listing a dependency to be found
1890 via VPATH search explicitly, without the path, as a target,
1891 will turn off VPATH search for FreeBSD make. So move the
1892 creation of the files outside of the Makefile.
1894 2008-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1896 Implement AM_MAINTAINER_MODE([DEFAULT-MODE]).
1897 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Allow for an optional
1898 first argument of `enable' or `disable', setting the default.
1899 * doc/automake.texi (Optional, maintainer-mode): Document.
1900 * tests/mmode.test: New test.
1901 * tests/Makefile.am: Adjust.
1903 Suggestion by Vincent Lefevre.
1905 2008-08-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1907 Copyright year updates.
1908 * lib/am/header-vars.am: Update copyright years.
1909 * lib/am/remake-hdr.am: Likewise.
1910 * lib/am/tags.am: Likewise.
1912 2008-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1914 * THANKS: Use Cyrillic name instead of ASCII transcription.
1916 2008-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1918 Fix rebuilding of removed subdir/Makefile.in files.
1919 * lib/am/configure.am (%MAKEFILE-IN%) [?!TOPDIR_P?]: If
1920 subdir/Makefile.in was removed, am--refresh would not update
1921 it. Fix up for it by running the per-directory rebuild rule.
1922 * tests/remake6.test, tests/remake7.test: New tests.
1923 * tests/Makefile.am: Adjust.
1924 * NEWS, THANKS: Update.
1925 Report and initial patch by Ilya N. Golubev.
1927 2008-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1929 * tests/notrans.test: Use multiple man files of each type.
1931 Fix maintainer-check failures.
1932 * doc/automake.texi (Conditionals): Drop TAB.
1933 * tests/missing6.test: Use 'rm -f'.
1935 2008-08-19 Reuben Thomas <rrt@sc3d.org> (tiny patch)
1937 * doc/automake.texi (Flag Variables Ordering, Per-Object Flags):
1940 2008-08-02 Karl Berry <karl@freefriends.org>
1942 * lib/gnupload: Provide also a simple example.
1944 2008-06-25 Thien-Thi Nguyen <ttn@gnuvola.org>
1947 * doc/automake.texi (Public Macros): Close open paren.
1949 2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1951 Introduce macro $(am__mv) to facilitate 'libtool --dry-run'.
1952 * lib/am/depend.am (am__mv): New macro, set to 'mv -f'.
1953 * lib/am/depend2.am: Use throughout to move the temporary
1954 depfile *.Tpo to its final destination *.Po.
1956 2008-06-18 Rafael Espindola <espindola@google.com>
1958 * lib/config-ml.in: don't handle --enable-shared and --enable-static.
1960 2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1962 * lib/am/inst-vars.am (am__install_max): New variable.
1963 (am__nobase_list): Use it.
1965 Fix conditional rules competing with config.status rules.
1966 * automake.in (handle_configure): Teach targets about the
1967 conditional config.status rule.
1968 * tests/cond39.test: Adjust test to expose this.
1970 For AC_CONFIG_LINKS(X,X), do not clean X in a non-VPATH build.
1971 * automake.in (rewrite_inputs_into_dependencies): Do distribute
1972 inputs where input and output name are equal. This relies on
1973 the assumption that it only happens with AC_CONFIG_LINKS.
1974 (handle_configure) <CONFIG_CLEAN_VPATH_FILES>: New variable, for
1975 links where source and dest are equal.
1976 * lib/am/clean.am (distclean-generic): Remove, if build tree not
1978 * tests/conflnk4.test: New test.
1979 * tests/Makefile.am: Adjust.
1982 2008-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1984 * doc/automake.texi (Extending): Fix ambivalent wording.
1985 Report by Ben Pfaff.
1987 2008-06-04 Karl Berry <karl@freefriends.org>
1989 * doc/automake.texi (Install, Hard-Coded Install Paths): Fix
1990 punctuation and markup.
1991 (Extending): Improve wording and clarify order semantics of
1992 *-local and *-hook targets.
1994 2008-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1996 * doc/automake.texi (Extending): Fix grammar.
1997 Report by Karl Berry.
1999 2008-05-13 Stepan Kasal <skasal@redhat.com>
2002 * doc/automake.texi (Timeline): Reported by Reuben Thomas.
2003 * lib/am/remake-hdr.am: A few typos in comments.
2005 2008-04-10 Eric Blake <ebb9@byu.net>
2007 Prefer a released version of autoconf.
2008 * NEWS: Bump requirement to autoconf 2.62.
2009 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
2010 * configure.ac: Likewise.
2011 (AC_PREREQ): Remove check, done by AM_INIT_AUTOMAKE instead.
2013 AC_AUTOCONF_VERSION can inadvertently expand to a macro name.
2014 * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Use proper
2016 * aclocal.in (write_aclocal): Likewise.
2017 * tests/missing6.test: New test.
2018 * tests/Makefile.am (TESTS): Run it.
2019 * tests/missing4.test: Adjust.
2021 2008-04-02 Eric Blake <ebb9@byu.net>
2023 Make gnupload friendlier for VPATH usage.
2024 * lib/gnupload: Allow uploads from separate directory.
2026 2008-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2028 Implement conditional AC_CONFIG_FILES: AM_COND_IF.
2029 * automake.in (%ac_config_files_condition): New.
2030 (scan_autoconf_config_files): Record condition if any.
2031 (scan_autoconf_traces): Trace _AM_COND_IF, _AM_COND_ELSE,
2032 _AM_COND_ENDIF, updating @cond_stack as appropriate.
2033 (handle_configure): Prefix config.status rule with condition.
2034 Check that m4 quotation is done consistently.
2035 * m4/cond.m4 (AM_CONDITION): Define `_AM_COND_VALUE_name'
2036 with `name' being the name of the condition, to its shell
2038 * m4/cond-if.m4: New file.
2039 (_AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF): New trace helpers.
2040 (AM_COND_IF): New macro, implements conditionals.
2041 * m4/Makefile.am: Adjust.
2042 * doc/automake.texi (Requirements, Optional, Conditionals):
2043 Document AM_COND_IF.
2045 * tests/cond39.test, tests/cond40.test, tests/cond41.test,
2046 tests/cond42.test, tests/cond43.test: New tests.
2047 * tests/Makefile.am: Adjust.
2049 2008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2051 * doc/automake.texi (@ovar): New macro, from autoconf.texi.
2053 Suggestion by Eric Blake.
2055 2008-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2057 * lib/texinfo.tex: Sync from upstream.
2059 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2061 * doc/automake.texi (Requirements, Linking, Extending):
2062 Fix underfull and overfull lines, fix wording a bit.
2064 * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
2067 * Makefile.am (WGET_SV_GIT_CF): New.
2068 (fetch): Pull config.guess and config.sub from git repo now.
2070 * lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument
2071 $hint, show if the executing program does not exist.
2072 (xsystem_hint): New function, like xsystem but allows to pass
2075 2008-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
2077 Implement the `notrans_' prefix for untransformed manpages.
2078 * automake.in (handle_man_pages), lib/am/mans.am: Implement
2079 notrans_ prefix for MANS primary and rework dependencies for
2080 install-man%SECTION%; use only vars defined in Makefile.am.
2081 * doc/automake.texi (Renaming, Uniform, Man pages):
2082 Document notrans_ prefix.
2084 * tests/notrans.test: New test.
2085 * tests/Makefile.am: Update.
2087 * automake.in (handle_man_pages): Reindent, for next patch.
2089 2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2091 Use `install' with multiple files at once for some primaries.
2092 With nobase targets, at most 50 files are installed at once,
2093 to avoid quadratic string concatenation and line length limits.
2094 This isn't yet done with base targets. One hope is that there,
2095 the typical file name length is lower. If this turns out to be
2096 a problem, it should be revisited.
2098 * lib/am/inst-vars.am (am__nobase_list): New helper macro for
2099 installation of multiple nobase files at once: sorts and lists
2100 files keyed by their target directory.
2101 * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): No need to set it to
2102 $(install_sh_DATA) any more, not even for nobase targets.
2103 (install-%DIR%%PRIMARY%): Split base and nobase cases.
2104 Rewrite to pass lists of files which all go in the same
2105 directory to `install'. In the nobase case, make use of
2106 $(am__nobase_list) and $(MKDIR_P) each directory before
2107 populating it. Take care of files in source and build trees,
2108 and avoid creating directories where no files are to be
2110 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Likewise.
2111 (install-%DIR%LIBRARIES): Likewise.
2112 * lib/am/python.am (%DIR%PYTHON_INSTALL): Likewise.
2113 (install-%DIR%PYTHON): Likewise. Also take care to keep note of
2114 a list for byte compilation after installation.
2115 * lib/am/texinfos.am (install-dvi-am, install-html-am)
2116 (install-info-am, install-pdf-am, install-ps-am): Use file lists
2117 to install multiple files at once.
2119 Suggested by Akim Demaille.
2121 2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2123 Require unreleased Autoconf for fixed AC_PROG_INSTALL.
2124 * m4/init.m4 (AM_INIT_AUTOMAKE): Bump AC_PREREQ to 2.61-341,
2126 * configure.ac: Also require Autoconf 2.61-341, to catch
2127 failure early and provide a sensible error message.
2129 Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT.
2130 * tests/ansi4.test: Drop AC_OBJEXT and AC_EXEEXT.
2131 * tests/ansi6.test: Likewise.
2132 * tests/ansi7.test: Likewise.
2133 * tests/condlib.test: Likewise.
2134 * tests/cygwin32.test: Likewise.
2135 * tests/exeext2.test: Likewise.
2136 * tests/libobj11.test: Likewise.
2137 * tests/library.test: Likewise.
2138 * tests/txinfo5.test: Likewise.
2140 2008-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2142 Skip instsh3.test if `touch -t' does not work.
2143 * tests/instsh3.test: Test for `touch -t', fails with Solaris
2146 Report by Younes Younes.
2148 2008-02-27 Reuben Thomas <rrt@sc3d.org>
2150 * doc/automake.texi (wildcards): Improve "Why doesn't Automake
2151 support wildcards" node's English and sense.
2153 2008-02-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2155 * lib/am/check.am (check-TESTS): In the case patterns for
2156 XFAILed tests, add literal bracket expression for matching
2157 whitespace, as NetBSD 4.99.54 ksh does not understand a
2158 bracket expression resulting from variable expansion.
2159 * README: Explain how to run the Automake test suite, including
2160 setting MAKE to test gmake.
2161 Report by Patrick Welche.
2163 2008-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2166 * m4/options.m4 (_AM_SET_OPTIONS): Use m4_foreach_w instead of
2167 obsolete AC_FOREACH.
2168 Report by NightStrike and gurganbl@rose-hulman.edu.
2170 2008-02-17 Colin Watson <cjwatson@debian.org> (tiny change)
2172 * lib/am/tags.am (ID): Fix typo in workaround for old awk.
2174 2008-02-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2176 * doc/.gitignore: Ignore files generated by `make ps pdf html'.
2178 2008-02-05 Reuben Thomas <rrt@sc3d.org>
2180 * doc/automake.texi (CVS): configure.ac will appear newer, not
2181 older, than configure. Use `lexical' instead of `alphabetical'.
2183 2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2185 * tests/man3.test: Avoid `make VAR=value'.
2187 * tests/subst3.test: New test.
2188 * tests/Makefile.am: Update.
2190 * tests/instsh2.test: Split off testing of `install-sh -C' ...
2191 * tests/instsh3.test: ... to this new test, requiring non-root.
2192 * tests/Makefile.am: Adjust.
2194 Report by Theodoros V. Kalamatianos.
2196 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2198 * tests/nobase.test: Extend test to generated files.
2200 * tests/nobase-python.test: New test, nobase for python files.
2201 * tests/Makefile.am: Update.
2203 * tests/nobase.test: Split off libtool part of nobase.test for
2204 increased test exposure, to ...
2205 * tests/nobase-libtool.test: ... this new test.
2206 * tests/Makefile.am: Update.
2208 2008-01-23 Eric Blake <ebb9@byu.net>
2210 Fix color.test when using BSD grep.
2211 * tests/color.test: Ensure that grep can handle non-printing
2214 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2216 * tests/lisp3.test: Fix typo.
2218 2008-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2220 * lib/am/mans.am (install-man%SECTION%): Prefer generated manpages
2221 over distributed ones.
2222 Report and patch by Peter Breitenlohner.
2223 * tests/man3.test: New test.
2224 * tests/Makefile.am: Update.
2226 2008-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2228 * tests/tar.test: Skip if no appropriate tar was found.
2230 2008-01-19 NightStrike <nightstrike@gmail.com>
2232 * doc/automake.texi (Dependency Tracking): Fix typo.
2234 2008-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2236 * lib/config-ml.in, lib/config.guess, lib/config.sub,
2237 lib/symlink-tree: Sync from upstream.
2239 * Makefile.am (WGET_SV_CVS): Renamed from WGETSGO.
2240 (WGET_SV_GIT_AC, WGET_SV_GIT_GL, WGET_GCC): New.
2241 (fetch): Update to match current upstream locations.
2243 2008-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2245 * doc/automake.texi (DESTDIR, Built sources example): Fix wording.
2247 Reports and suggestions by William Pursell and nightstrike@gmail.com.
2249 2008-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2251 Do not fail if `autoupdate' is not present.
2252 * tests/obsolete.test: Check for presence of autoupdate. Apparently,
2253 FreeBSD may install the other Autoconf programs without a version
2254 suffix but not autoupdate.
2256 Fix Heisenbug trying to unset a sometimes-not-set variable.
2257 * tests/check5.test: Do not error out upon `unset TESTS' due to
2258 `set -e', in case TESTS was not set.
2259 * tests/color.test: Likewise.
2261 * doc/automake.texi (amhello Explained): Fix odd sentence.
2262 Report by nightstrike@gmail.com.
2264 2008-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2266 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Rewrite to be more
2267 resistant to different quoting styles of $1.
2269 Clarify texinfo.tex and TEXINFO_TEX semantics.
2270 * doc/automake.texi (Texinfo): Clarify that by default,
2271 texinfo.tex is searched in the same directory as the Makefile.am
2272 that needs it. Clarify that TEXINFO_TEX has precedence over
2273 AC_CONFIG_AUX_DIR, and that it requires the user to install and
2275 * tests/txinfo22.test: Ensure TEXINFO_TEX is not distributed.
2277 Reports by Dilyan Palauzov and Roumen Petrov.
2279 2008-01-11 Bruno Haible <bruno@clisp.org>
2280 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2282 * tests/output-order.test: New test, for the stable output fix.
2283 * tests/Makefile.am: Update.
2285 2008-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2287 * Makefile.am (dist-hook): New, ensure world-executable tests.
2289 Report by Arto C. Nirkko.
2291 * tests/acloca20.test: Use `--force' with the second $AUTOCONF,
2292 to force update on fast machines where both autoconf invocations
2293 happen within the same second.
2294 Report by Greg Schafer.
2296 2008-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2298 * automake.in (scan_autoconf_files): Sort loop over
2299 %required_aux_file, for stable verbose output.
2300 Report by Bruno Haible.
2302 * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
2305 * tests/ccnoco.test (Mycomp): Use a tighter match for -c -o,
2306 to avoid matching for example `LDFLAGS=-Wl,--sort-common'.
2308 Report and analysis by Carsten Lohrke and Mike Frysinger.
2310 2008-01-07 Stepan Kasal <skasal@redhat.com>
2312 * automake.in (handle_texinfo_helper, handle_lib_objects): Fix
2315 2008-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2317 Bump copyright years.
2318 * aclocal.in (write_aclocal, version): Likewise.
2319 * automake.in ($gen_copyright, version): Likewise.
2320 * doc/automake.texi: Likewise.
2322 2007-12-18 Jim Meyering <meyering@redhat.com>
2324 * lib/gnupload (GPG): Don't use an absolute path.
2325 This reverts part of the 2004-01-28 change.
2327 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2329 * lib/Automake/FileUtils.pm (open_quote): New function.
2330 (update_file, contents): Use it.
2332 Reword the copyright notices to match what's suggested in GPLv3.
2334 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2336 * tests/defs.in: Quote $srcdir, $PATH; skip libtool and gettext
2337 tests if the absolute source or build tree name contain whitespace.
2339 Modify some tests for absolute trees containing whitespace.
2340 * tests/missing.test: Use "./missing" instead of "`pwd`/missing".
2341 * tests/missing2.test: Likewise.
2342 * tests/mmodely.test: Add `pwd` to $PATH instead of absolute
2343 references to myyacc.sh and mylex.sh.
2344 * tests/multlib.test: Likewise for mycc.
2345 * tests/txinfo26.test: Skip if `pwd` contains whitespace, as
2346 an absolute --srcdir does not work there.
2348 * INSTALL, lib/INSTALL, lib/config-ml.in, lib/config.guess,
2349 lib/config.sub, lib/texinfo.tex: Sync from upstream.
2351 Fix the distdir target to cope with spaces in absolute file names.
2352 * lib/am/distdir.am: Quote all instances of $(distdir) and
2353 $(top_distdir). They could contain white space, coming from
2354 a toplevel package bootstrapped with an older Automake version.
2355 (am__relativize): New macro, taken from gnulib code, written by
2357 (distdir): Use it to compute relative paths to distdir and
2358 top_distdir for enclosed subpackages.
2359 Also, quote $(distuninstallcheck_dir).
2360 * lib/am/texinfos.am: Likewise, quote $(distdir).
2362 2007-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2364 Quote file names in tests that can be absolute.
2365 * tests/auxdir.test, tests/check3.test, tests/check4.test,
2366 tests/compile.test, tests/cond33.test, tests/condhook.test,
2367 tests/distdir.test, tests/dollar.test, tests/empty.test,
2368 tests/gnits2.test, tests/gnits3.test, tests/include2.test,
2369 tests/insthook.test, tests/java.test, tests/libtool7.test,
2370 tests/lisp4.test, tests/lisp5.test, tests/lisp6.test,
2371 tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test,
2372 tests/multlib.test, tests/nobase.test, tests/nodist2.test,
2373 tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test,
2374 tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test,
2375 tests/python3.test, tests/strip.test, tests/transform.test,
2376 tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test,
2377 tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test:
2380 Quote @abs_top_builddir@ and @abs_top_srcdir@.
2381 * tests/aclocal.in: Likewise.
2382 * tests/automake.in: Likewise.
2384 Fix TAGS and GTAGS rules to cope with whitespace in `pwd`.
2385 * lib/am/tags.am (TAGS): Use positional parameters to avoid
2386 the need to quote absolute file names.
2387 (GTAGS): Quote absolute file name.
2388 (CTAGS): Simplify, dropping unused variable `$tags'.
2390 2007-11-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2392 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Fix another instance
2393 of am__strip_dir. Fixes nobase and pr300-ltlib test failures.
2395 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
2397 Several *-local in a rule do not work.
2398 * tests/all.test: Check this case.
2400 * tests/Makefile.am (XFAIL_TESTS): Add it.
2402 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
2404 Fix uses of am__strip_dir.
2405 * lib/am/libs.am, lib/am/ltlib.am: Catch up with the change of
2406 definition of am__strip_dir.
2408 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
2410 Define and use register_action.
2411 * lib/Automake/Rule.pm: Fix a few typos in the doc.
2412 (&rule): Use || to simplify the code.
2413 (®ister_action): New.
2415 * automake.in (&handle_factored_dependencies, &file_contents_internal):
2418 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
2420 * bootstrap: Fix typos on redirections.
2422 2007-11-24 Akim Demaille <akim@lrde.epita.fr>
2424 Skip comments and empty lines in dirlist in the tests.
2425 * defs.in (extra_includes): Skip comments and empty lines in dirlist.
2427 2007-11-24 Akim Demaille <akim@lrde.epita.fr>
2429 Ternary operator in lib/am files.
2430 * automake.in (&transform_token): New.
2431 (&transform): Use it.
2432 Support %KEY?TRUE:FALSE%.
2433 (&make_paragraphs): Adjust the regexp to call %transform.
2434 * lib/am/data.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
2435 * lib/am/progs.am, lib/am/python.am, lib/am/scripts.am:
2436 Use %KEY?TRUE:FALSE%.
2437 * lib/am/inst-vars.am (am__strip_dir): Assign the result to f
2438 to be more alike am__vpath_adj.
2439 Adjust dependencies.
2441 2007-11-24 Akim Demaille <demaille@gostai.com>
2443 * automake.in: Normalize white spaces.
2445 2007-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2447 * configure.ac (ACLOCAL, AUTOMAKE): Fix quoting for rebuilding
2448 rules, if the absolute build directory name contains white space.
2450 2007-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2452 * aclocal.in (trace_used_macros): Quote input files.
2454 * lib/ylwrap: Cope with white space in `PROGRAM' and `pwd`.
2456 * lib/am/tags.am (ID, TAGS, CTAGS): Make awk scripts portable again.
2457 (CTAGS): Drop unneeded variable `here'.
2459 2007-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2461 * tests/output13.test: New test.
2462 * tests/Makefile.am: Adjust.
2463 Prompted by report from Bruno Haible in
2464 <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00479.html>.
2466 Fix signal handling in aclocal.
2467 * aclocal.in (unlink_tmp): If invoked by a signal, note so
2468 in verbose mode. Reinstall default signal handler and reraise,
2469 to transport the interrupt information.
2471 2007-11-13 Bob Proulx <bob@proulx.com>
2473 Fix color test failure on dumb (and other) terminals.
2474 * tests/color.test: Set TERM to `ansi'.
2476 2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2478 Avoid spurious test failure with `make check TESTS=check5.test'.
2479 * tests/check5.test: unset TESTS.
2481 Fix maintainer-check failure.
2482 * tests/color.test: unset TESTS, use `make -e' rather than
2485 2007-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2487 * configure.ac (AM_INIT_AUTOMAKE): Require version 1.10a.
2489 * automake.in (handle_tests): Remove debugging leftover.
2491 Run each test in a process-private subdirectory.
2492 * tests/defs.in: Employ a trap to clean up at the end of the
2493 test in case the test succeeded. This needs to be revisited
2494 because we would like to keep the output of XPASSing tests.
2495 Also, note when we were interrupted by a signal. Code taken
2496 from Autoconf's _AC_INIT_PREPARE.
2497 If $keep_testdirs is set, keep them even for successful tests.
2498 * tests/Makefile.am (check-clean-local): New target. Remove all
2499 tests subdirs, but also make them writable first. The latter
2500 was already needed without per-test subdirs.
2501 (distclean-local): Depend upon check-clean-local.
2502 * tests/Makefile.in: Regenerate.
2503 * tests/.cvsignore, tests/.gitignore: Adjust.
2505 Fix default includes ordering to be `-I. -I$(srcdir) ...' again.
2506 * automake.in (handle_compile): Put -I$(srcdir) before include
2507 paths for config headers, as was done before Automake 1.10, but
2508 keep uniquified list without multiple adjacent spaces.
2509 * doc/automake.texi (Program variables): List include paths
2511 * NEWS: Mention 1.10 regression.
2512 * tests/stdinc.test: New test.
2513 * tests/Makefile.am: Adjust.
2515 Report by Kent Boortz.
2517 2007-11-08 Akim Demaille <akim@lrde.epita.fr>
2518 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2519 Bob Proulx <bob@proulx.com>
2521 Implement colorized test output.
2522 * automake.in (handle_tests): Set COLOR depending on `color-tests'.
2523 * configure.ac (AM_INIT_AUTOMAKE): Use `color-tests'.
2524 * doc/automake.texi (Tests, Options): Document test results,
2525 document new option, document AM_COLOR_TESTS.
2526 * lib/Automake/Options.pm (_process_option_list): Handle it.
2527 * lib/am/check.am (am__tty_colors): New variable. Enable colored
2528 output if TERM is not dumb and depending on AM_COLOR_TESTS and
2529 whether stdout is connected to a terminal.
2530 (check-TESTS): Use am__tty_colors.
2531 * NEWS: Mention color-tests.
2532 * tests/color.test: New test.
2533 * tests/Makefile.am: Adjust.
2535 2007-11-08 NightStrike <nightstrike@gmail.com> (tiny change)
2537 For PR automake/526:
2538 * doc/automake.texi (Basic Installation): Fix typo.
2540 2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2542 Accommodate for new macro AC_AUTOCONF_VERSION.
2543 * aclocal.in (write_aclocal): Use AC_AUTOCONF_VERSION rather
2544 than m4_PACKAGE_VERSION. Define the former if not defined.
2545 * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Likewise.
2546 * tests/missing4.test: Use AC_AUTOCONF_VERSION.
2548 2007-10-29 Bruno Haible <bruno@clisp.org>
2550 * doc/automake.texi (Program variables): Clarify that
2551 Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but
2552 passes it directly to compilation commands.
2554 2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2556 Move to git as primary source repository.
2557 * Makefile.am (git-dist, git-release): Renamed and adjusted from ...
2558 (cvs-dist, cvs-release): ... these.
2559 (git-diff): New target, taken and adjusted from cvs-diff.
2560 * Makefile.in: Regenerate.
2561 * bootstrap: Adjust.
2562 * NEWS: Announce change.
2563 * doc/automake.texi (General Operation): cvs-dist is git-dist now.
2564 (Timeline): Mention change.
2566 2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2568 * automake.in: Treat extension .sx also like preprocessed
2569 assembler (.S), following GCC.
2571 * doc/automake.texi (Assembly Support): Adjust.
2572 * tests/asm3.test: New test.
2573 * tests/Makefile.am: Update.
2575 2007-10-09 Jim Meyering <meyering@redhat.com>
2577 Add lzma compression support.
2579 * automake.in (handle_dist): Recognize dist-lzma.
2580 (make_paragraphs): Map LZMA to dist-lzma.
2581 * doc/automake.texi (Dist): Add dist-lzma.
2582 (Options): Likewise.
2583 * lib/Automake/Options.pm (_process_option_list):
2584 (dist dist-all): Add command to create an lzma-compressed tarball.
2585 (distcheck): Handle lzma-compressed tarballs just like the others.
2586 * tests/defs.in: Test for lzma, too.
2587 * tests/lzma.test: New file, based on nogzip.test.
2588 * tests/Makefile.am (TESTS): Add lzma.test.
2589 Suggestion from Karl Berry.
2591 2007-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2593 * automake.in (TARGET_PATTERN): Allow leading digit.
2594 * tests/exeext3.test: Adjust to expose this.
2595 Report by Claudio Fontana and Laurence Finston.
2597 2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2599 * tests/defs.in (required): For gcj, check whether `gcj -v'
2600 works, to avoid broken installations without libgcj.spec.
2602 * tests/gcj4.test: Setting GCJ not needed any more.
2604 Report by Jesse Chisholm.
2606 2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2608 * lib/config-ml.in, lib/config.guess, lib/config.sub,
2609 lib/symlink-tree, lib/texinfo.tex: New upstream versions.
2611 2007-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2613 * doc/automake.texi (gettext): Fix link to gettext manual.
2615 2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2617 In ChangeLog files, use more-permissive notice rather than GPL,
2618 as per usual GNU standards these days.
2620 2007-08-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2622 * automake.in (handle_programs): Also clean .libs/_libs
2623 directory for _PROGRAMS.
2624 * tests/libtoo10.test: New test.
2625 * tests/Makefile.am: Update.
2627 Report by Guillermo Ontañón.
2629 2007-08-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2631 * configure.ac: Actually require version 2.60 in the test for
2632 Autoconf, and recommend it in the error messages.
2634 Report by Robert Swafford.
2636 2007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2638 * doc/automake.texi (VPATH Builds): Fix wording.
2639 Report by Reuben Thomas.
2641 2007-07-22 Noah Misch <noah@cs.caltech.edu>
2643 * tests/subst.test: Move the AC_SUBST into a macro definition.
2644 Avoids an error from CVS Autoconf.
2646 Report by Benoit Sigoure.
2648 2007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2649 Alexandre Duret-Lutz <adl@gnu.org>
2651 * lib/am/configure.am (%?REGEN-ACLOCAL-M4%): New target
2652 $(am__aclocal_m4_deps) without any dependencies, to avoid the
2653 "deleted .m4 file" problem.
2654 * tests/acloca22.test: New test.
2655 * tests/Makefile.am: Update.
2658 2007-07-22 Francesco Salvestrini <salvestrini@gmail.com>
2659 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2661 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES)
2662 (uninstall-%DIR%LTLIBRARIES): Use $(AM_LIBTOOLFLAGS) and
2664 * lib/am/progs.am (install-%DIR%PROGRAMS)
2665 (uninstall-%DIR%PROGRAMS): Likewise.
2666 * tests/libtool7.test: Update test for `install' and
2668 * NEWS, THANKS: Update.
2670 2007-07-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2672 * doc/automake.texi: Remove Front-Cover and Back-Cover Texts,
2673 this manual is not printed by the FSF.
2675 2007-07-16 Alexandre Duret-Lutz <adl@gnu.org>
2677 * NEWS: Clarify that COPYING files are not updated.
2679 2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2681 * doc/automake.texi: New Back-Cover Text.
2682 Report by Karl Berry.
2684 2007-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2686 * aclocal.in (version): Fix output to match GCS requirements.
2687 * automake.in (version): Likewise.
2688 Report by Eric Blake.
2690 * COPYING, lib/COPYING: Update to GPLv3. All uses changed.
2693 2007-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2695 * lib/gnupload: Fix shell portability issues with for loops.
2696 Report by Karl Berry.
2698 2007-06-23 Paul Eggert <eggert@cs.ucla.edu>
2699 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2701 * aclocal.in (write_aclocal): Warn about autoconf
2702 incompatibilities instead of making them fatal.
2703 * tests/missing4.test: Adjust.
2705 Problem reported by Bruno Haible in
2706 <http://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>.
2708 2007-05-03 Stepan Kasal <kasal@ucw.cz>
2710 * doc/automake.texi, lib/Automake/Rule.pm: Fix typos.
2711 * automake.in: Likewise.
2712 (am_primary_prefixes): Keep the intentional typo there.
2714 2007-04-25 Eric Blake <ebb9@byu.net>
2716 * doc/stamp-vti: Remove generated file from revision control.
2717 * doc/version.texi: Likewise.
2719 2007-04-23 Reuben Thomas <rrt@sc3d.org> (tiny change)
2721 * doc/automake.texi (Python): Fix typo.
2723 2007-03-30 Eric Blake <ebb9@byu.net>
2724 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2726 * lib/mdate-sh (ls_command): Use -n when available to avoid
2727 problems with spaces in user/group names.
2728 * tests/mdate5.test: New test.
2729 * tests/Makefile.am: Adjust.
2731 2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2733 * automake.in (handle_tests): Rewrite XFAIL_TESTS just like
2734 TESTS, appending $(EXEEXT), so that matching continues to work
2736 * NEWS: Mention this.
2737 * doc/automake.texi (EXEEXT, Extending): Update.
2738 * tests/check7.test: New test.
2739 * tests/Makefile.am: Adjust.
2740 Bug report by Ed Hartnett.
2742 2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2744 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Again search
2745 the whole file, but use sed to reduce the line length.
2746 Fixes 1.10 regression. Report by David Byron.
2747 * THANKS, NEWS: Update.
2749 2007-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2751 * lib/depcomp (aix): Rewrite depmode in the spirit of the tru64
2752 one. Fixes failure to catch dependencies with libtool and xlc
2753 in case of enable_static=no (which is the default on AIX without
2755 * tests/depcomp7.test: Run test once with --disable-shared and
2756 once with --disable-static, to expose failure systematically.
2759 2007-03-29 Stepan Kasal <kasal@ucw.cz>
2760 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2762 * automake.in (handle_LIBOBJS_or_ALLOCA): Fix the error message.
2763 * tests/pr401.test: Update to expose the error.
2764 * tests/pr401b.test: Likewise.
2765 * tests/pr401c.test: Likewise.
2767 2007-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2769 * automake.in (scan_autoconf_config_files): Warn about leading
2770 `./' in config file names.
2771 * tests/canon-name.test: New test.
2772 * tests/Makefile.am: Update.
2774 Suggestion by Claudio Fontana.
2776 * tests/yacc6.test: Add the generated headers to `BUILT_SOURCES'
2777 as documented in the manual. Fixes parallel make failure.
2778 Report by Dieter Jurzitza.
2781 * ChangeLog, TODO, tests/exdir3.test: Fix copyright notice.
2783 * TODO: Kill a couple of outdated items.
2784 * tests/exdir3.test: New test.
2785 * tests/Makefile.am: Update.
2787 2007-01-27 Bruno Haible <bruno@clisp.org>
2789 * doc/automake.texi (Multiple Outputs): Fix the multiple outputs
2790 with locking example.
2792 2007-01-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2794 * doc/automake.texi (Subpackages): Fix ambiguous wording.
2795 Report and suggestions by Reuben Thomas.
2798 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2800 * tests/defs.in (is_newest): Cope with multiple newer files.
2801 * NEWS: mention `install-sh -C'.
2803 2006-12-25 Paul Eggert <eggert@cs.ucla.edu>
2805 * lib/install-sh (initialize_posix_glob): New var.
2806 Use it instead of setting posix_glob inline.
2807 (posix_glob): Use '?'/''/: instead of ''/yes/no, for convenience.
2808 (cmpprog, CMPPROG): New vars, since we use cmp rather than the diff
2810 Use LC_ALL before invoking 'ls' when we depend on its output format.
2811 Don't use awk; just use the shell's builtin features.
2812 Clean up $dsttmp if -C detects no installation is needed.
2813 * tests/defs.in (is_newest): Renamed from is_younger; the new
2814 name is more accurate. All uses changed.
2815 (old_timestamp): New var.
2816 * tests/instsh2.test: Rewrite to avoid the need for sleeping.
2818 2006-12-25 Akim Demaille <akim@epita.fr>
2820 * lib/install-sh: Implement install-sh -C.
2821 (This patch is the remaining part of the patch proposed in
2822 <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
2823 (usage): Document it.
2824 (copy_on_change): New var.
2825 * tests/defs.in (is_younger): New function.
2826 * tests/instsh2.test: Check install-sh -C.
2828 2006-12-24 Paul Eggert <eggert@cs.ucla.edu>
2830 * lib/install-sh: Fix typo in previous patch for handling --.
2831 Use more-consistent style for ';;'.
2832 Prefer || to if-then-else-:.
2833 * tests/install2.test: Rework to avoid set -e problems.
2835 2006-12-24 Akim Demaille <akim@epita.fr>
2837 Simplify install-sh and its test. This shouldn't change any behavior.
2838 (This patch is a subset of the patch proposed in
2839 <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
2840 * lib/install-sh (usage): Use usual GNU style.
2841 (dstarg): Rename as...
2842 (dst_arg): this for consistency.
2843 Simplify quoting of assignments.
2845 Don't use '\' to continue commands: && suffices.
2846 Remove useless "continue" in the argument processing,
2847 and factor the shifts.
2848 * tests/defs.in: Some improvements to make it set -e clean.
2849 Use the traditional ":" trick to protect loops from being empty.
2850 Remove an empty straightforward piece of code prepared to define
2851 additional variables.
2852 Use test instead of [], for consistency.
2853 * tests/install2.test: Use set -e, to simplify code.
2855 2006-12-20 Reuben Thomas <rrt@sc3d.org> (tiny change)
2857 * doc/automake.texi: Fix typo.
2859 2006-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2861 * doc/Makefile.am: Use $(MAKE) $(AM_MAKEFLAGS) for building
2862 amhello, to prevent gmake from invoking make with MAKEFLAGS
2863 it does not understand.
2864 Report by Patrick Welche.
2866 * lib/gnupload: Revert last change. Add pointer to upload
2867 instructions of the GNU Maintenance Instructions.
2868 Suggestion by Karl Berry.
2870 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2872 * lib/gnupload: Add missing 'gnu' to example URL.
2873 Report by Karl Berry.
2875 2006-10-28 Bobby Jack <bobbykjack@yahoo.co.uk> (tiny change)
2877 * doc/automake.texi (amhello Explained): autoconf creates
2878 configure, not configure.ac.
2881 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2883 * doc/automake.texi (Dist, Dependency Tracking Evolution):
2885 * lib/Automake/Condition.pm: Likewise.
2886 * lib/Automake/DisjConditions.pm: Likewise.
2887 * lib/Automake/ItemDef.pm: Likewise.
2888 * lib/Automake/Options.pm: Likewise.
2889 * lib/Automake/Rule.pm: Likewise.
2890 * lib/Automake/VarDef.pm: Likewise.
2891 * lib/Automake/Variable.pm: Likewise.
2892 * lib/Automake/Wrap.pm: Likewise.
2893 * lib/Automake/XFile.pm: Likewise.
2894 * m4/substnot.m4: Likewise.
2896 2006-10-16 Alexandre Duret-Lutz <adl@gnu.org>
2898 * lib/gnupload: Update to version 1.1 of directive file.
2900 2006-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2902 * lib/am/depend2.am (%SOURCEFLAG%): New substitution, goes
2903 right before the expanded source file name.
2904 * automake.in (%sourceflags): New global: per-extension flag
2905 to denote that the next compiler argument is the source file.
2906 (scan_autoconf_traces): Trace AC_FC_SRCEXT; initialize
2907 %sourceflags accordingly.
2908 (handle_single_transform): Store source file extension in...
2909 (%lang_specific_files): ...this and...
2910 (handle_languages): ...adjust here. Pass flag in SOURCEFLAG.
2911 * doc/automake.texi (Optional): Add AC_FC_SRCEXT.
2912 (Fortran 9x Support): Update.
2913 * tests/fort2.test: New test.
2914 * tests/Makefile.am: Adjust.
2915 * NEWS, THANKS: Update.
2916 Suggested by Steven G. Johnson.
2918 For PR automake/480.
2919 * automake.in (lang_f77_rewrite, lang_fc_rewrite)
2920 (lang_ppfc_rewrite, lang_ppf77_rewrite, lang_ratfor_rewrite):
2921 return `lang_sub_obj' to support subdir-object mode for the
2923 * tests/fort4.test, tests/fort5.test: New tests.
2924 * tests/Makefile.am: Update.
2925 * NEWS, THANKS: Update.
2926 Report by Davyd Madeley and Shannon L. Brown.
2928 * lib/am/header-vars.am (pkglibexecdir): New variable.
2929 * automake.in (%standard_prefix): Add it.
2930 * doc/automake.texi (Uniform): Document it.
2931 (Program Sources): Adjust.
2933 * tests/libexec.test: New test.
2934 * tests/Makefile.am: Update.
2935 Suggested by Eric Blake.
2937 2006-10-15 Alexandre Duret-Lutz <adl@gnu.org>
2939 * lib/gnupload: Update to version 1.1 of directive file.
2941 * configure.ac, NEWS: Bump version to 1.10a.
2943 * configure.ac, NEWS: Bump version to 1.10.
2944 * doc/automake.texi (Releases): Update for 1.10.
2946 * lib/config.sub, lib/texinfo.tex: New upstream versions.
2948 * lib/am/depend2.am: Typo.
2949 * lib/depcomp (scriptversion): Bump, to account for recent changes.
2951 * doc/automake.texi (Examples): Introduce the example, and point
2953 (Hello): Remove this obsolete node.
2955 2006-10-15 Hans Ulrich Niedermann <hun@n-dimensional.de>
2956 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2958 For PR automake/507:
2959 * lib/am/distdir.am (distdir): filename-length-max check is not
2960 done in sub-packages.
2961 * doc/automake.texi (Options): Document this.
2962 * tests/fn99subdir.test: New test.
2963 * tests/Makefile.am: Update.
2966 2006-10-14 Alfred M. Szmidt <ams@gnu.org> (tiny change)
2968 * doc/automake.texi (Third-Party Makefiles): Fix typo.
2971 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2973 * aclocal.in (write_aclocal): Improve warning for mismatched
2976 * automake.in: For preprocessed assembler, add `$(DEFS)
2977 $(DEFAULT_INCLUDES) $(INCLUDES)' to the compile rule.
2978 * doc/automake.texi (Assembly Support): Update.
2980 Suggested by Thomas Schwinge and Ralf Corsepius.
2982 For PR automake/492.
2983 * automake.in (output_flag): Set to `-o' for Assembler and
2984 preprocessed Assembler, assuming that all understand `-c -o'.
2985 * THANKS, NEWS: Update.
2986 * tests/subobj10.test: New test.
2987 * tests/Makefile.am: Update.
2988 Report by Thomas Schwinge.
2990 * automake.in (%_macro_for_cond): New variable.
2991 (cond_stack_if): Use it for better error message about
2992 missing dependency tracking conditionals.
2993 * tests/asm2.test: New test, modeled after asm.test.
2994 * tests/Makefile.am: Adjust.
2995 Report by Ralf Corsepius.
2997 * doc/automake.texi (Options): `no-dependencies' is similar
2998 to `--ignore-deps', not `--include-deps'.
2999 * m4/as.m4 (AM_PROG_AS): If `no-dependencies', do not invoke
3001 * tests/nodep2.test: New test.
3002 * tests/Makefile.am: Adjust.
3004 * automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the
3005 LIBOBJDIR, then we should not add a DEPDIR prefix.
3006 * tests/pr401.test: Update test.
3007 * tests/pr401b.test: Likewise.
3008 * tests/pr401c.test: Likewise.
3009 Report by Jim Meyering and Eric Blake.
3011 * lib/depcomp (gcc3): Put dependency extraction flags before the
3012 `-c' flag, so they appear at the same position as in %FASTDEP%
3013 mode in depend2.am. Fixes build failure for FreeBSD's c89,
3014 which ignores unknown options only after the first non-option.
3015 Bug report against M4 by Nelson H. F. Beebe.
3017 2006-10-14 Bruno Haible <bruno@clisp.org>
3018 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3020 * automake.in ($seen_gettext_intl): New variable.
3021 (handle_gettext): Consider it.
3022 (scan_autoconf_traces): Add AM_GNU_GETTEXT_INTL_SUBDIR to the list.
3023 Set $seen_gettext_intl when it is seen.
3024 * doc/automake.texi (gettext, Optional): Update.
3025 * tests/gettext3.test: New test.
3026 * tests/Makefile.am: Update.
3028 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
3030 * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
3031 which incorrectly sets the mode of an existing destination
3032 directory. In some cases the unpatched install-sh could do the
3033 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
3034 system. We hope this is rare in practice, but it's clearly worth
3035 fixing. Problem reported by Alex Unleashed in
3036 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
3037 Also, don't bother to check for -m bugs unless we're using -m;
3038 suggested by Stepan Kasal.
3040 2006-10-14 Geoffrey Keating <geoffk@apple.com> (tiny change)
3042 * m4/multi.m4: Non-default multilibs may be cross compilation.
3044 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3046 * automake.in: Fix some typos in comments.
3047 * lib/Automake/Variable.pm: Likewise.
3049 2006-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3051 * automake.in (handle_compile): Use subst, for maintainer-check.
3053 2006-10-09 Andreas Köhler <andi5.py@gmx.net> (tiny change)
3055 For PR automake/505:
3056 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES):
3057 Fix typo: `config.status.lineno', not `configure.status.lineno'.
3059 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3061 * NEWS: Mention that `install-sh' needs executable permissions.
3062 * tests/nobase.test: Adjust.
3063 Report by Patrick Welche.
3065 2006-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3067 * lib/am/check.am (check-TESTS): Fix matching of XFAIL_TESTS
3068 against currently running test for the first and last element
3069 of $(TESTS): add spacing so Solaris make does VPATH expansion
3070 on these words, too.
3071 * tests/check6.test: Update.
3073 2006-08-30 Paul Eggert <eggert@cs.ucla.edu>
3075 For PR automake/501:
3076 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?!GENERIC?%OBJ%):
3077 Abbreviate output a bit by not bothering to quote the .Po file
3078 name (the quoting doesn't suffice in general anyway), and by not
3079 bothering to remove junk .Tpo files (as they'll be removed later).
3080 This also lets 'make' run faster by avoiding a subshell.
3082 2006-08-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3084 * automake.in: Fortran 77 and Fortran should require variables
3085 F77 resp. FC to be defined, and suggest the respective Autoconf
3087 * tests/fort1.test: New test.
3088 * tests/Makefile.am: Update.
3090 * tests/ext.test: Add extensions f95, F90, F95.
3092 2006-08-30 Alexandre Duret-Lutz <adl@gnu.org>
3094 For PR automake/500:
3095 * automake.in (handle_compile) <$default_includes>: Do not output
3096 the same -I twice. Use @am__isrc@ instead of ` -I$(srcdir)'.
3097 * m4/init.m4: Define am__isrc as ` -I$(srcdir)' only in
3098 non-VPATH builds since we always have `-I.'.
3099 * tests/subpkg.test: Make sure config headers are found in VPATH
3100 and non-VPATH builds.
3102 2006-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3104 * doc/automake.texi, lib/Automake/Rule.pm: Fix some typos.
3105 * NEWS: Likewise. Clarify that only one LIBOBJDIR is supported.
3107 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
3109 * lib/Automake/ChannelDefs.pm (usage): Mention that -Wportability
3110 is enabled by default with gnu and gnits strictness.
3111 Report from Bruno Haible.
3113 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
3115 * NEWS: Mark de-ANSI-fication as being obsolete.
3116 * doc/automake.texi: Likewise.
3118 2006-08-21 Stepan Kasal <kasal@ucw.cz>
3120 * Makefile.am, THANKS: Fix typos.
3122 2006-08-20 Alexandre Duret-Lutz <adl@gnu.org>
3124 * NEWS, configure.ac: Bump version to 1.9c.
3126 * NEWS, configure.ac: Bump version to 1.9b.
3128 * Makefile.am (maintainer-check): Check for mkdir_p in automake.in
3130 * automake.in (require_build_directory): Use MKDIR_P, not mkdir_p.
3132 * m4/mkdirp.m4: Typo in previous patch.
3134 * Makefile.am (maintainer-check): Fine-tune the "Unescaped @"
3135 check so it doesn't complain about the '@ 's in node "Standard
3136 Directory Variables".
3138 * INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New
3141 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with
3142 $(top_builddir)/ if it is a relative directory.
3144 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
3146 * lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use
3147 ylwrap. Suggested by Akim Demaille long ago, to ease maintenance.
3148 * automake.in (handle_languages): Do not define MORE-THAN-ONE.
3149 (yacc_lex_finish_helper, lang_yacc_finish, lang_lex_finish): Always
3151 * doc/automake.texi (Auxiliary Programs, Yacc and Lex): Update the
3152 documentation of ylwrap.
3153 * tests/lex.test, tests/lex4.test, tests/mmodely.test,
3154 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
3155 tests/yaccpp.test: Adjust.
3157 * doc/automake.texi (Releases): Update statistics until 1.9.6.
3159 * Makefile.am (maintainer-check): Check for mkdir_p.
3160 * automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P.
3161 * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
3162 lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
3163 lib/am/mans.am, lib/am/progs.am, lib/am/python.am,
3164 lib/am/scripts.am, lib/am/texinfos.am: Use MKDIR_P instead of mkdir_p.
3165 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not
3166 as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use
3167 mkdir_p without defining MKDIR_P.
3168 * tests/distdir.test, tests/instman.test, tests/txinfo21.test:
3171 * Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm.
3172 * configure.ac (ACLOCAL): Use --acdir=m4 in addition to
3173 -I m4. Running aclocal during the rebuild rules will fail
3174 if the default acdir does not exist.
3176 * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4:
3177 Require Autoconf 2.60 instead of some intermediate development
3180 * doc/automake.texi (Standard Directory Variables): Fix multitable
3182 (Autotools Introduction): Fix @uref usage.
3184 2006-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3186 * doc/automake.texi: Fix some typos in the introduction,
3187 adjust some spacing; spell `GNU Build System' consistently.
3188 (menu): Unify node naming.
3189 (Standard Directory Variables): Clarify that this list is not
3191 (DESTDIR): Fix example.
3193 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
3195 * doc/automake.texi (Autotools Introduction) New chapter.
3196 Thanks to Ben Pfaff and Ralf Wildenhues for comments.
3197 (Auxiliary Programs, Install, Dist, Third-Party Makefiles)
3198 (distcleancheck): More cross references.
3199 * doc/amhello/configure.ac, doc/amhello/README,
3200 doc/amhello/Makefile.am, doc/amhello/src/Makefile.am,
3201 doc/amhello/src/main.c: New files.
3202 * doc/Makefile.am (dist_noinst_DATA): Distribute them.
3203 ($(srcdir)/amhello-1.0.tar.gz): New rule.
3204 (dist_doc_DATA): Install amhello-1.0.tar.gz.
3205 * Makefile.am (SUBDIRS): Update comment.
3207 2006-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3209 * doc/automake.texi: Fix some typos.
3211 2006-08-14 Jonathan Higa <jthiga@gmail.com>
3213 * automake.in: Register "Unified Parallel C" as language.
3214 (lang_upc_rewrite): New function.
3215 (resolve_linker): Consider UPCLINK.
3216 * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest
3217 AM_PROG_UPC for UPC and UPCFLAGS.
3218 * m4/upc.m4: New file.
3219 * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case.
3220 * m4/Makefile.am (dist_m4data_DATA): Add upc.m4.
3221 * doc/automake.texi (Unified Parallel C Support): New node.
3222 (Public macros): Mention AM_PROG_UPC.
3223 (Program and Library Variables, Flag Variables Ordering):
3225 * tests/upc.test, tests/upc2.test, tests/upc3.test: New file.
3226 * tests/Makefile.am (TESTS): Add them.
3227 * tests/ext.test: Also test upc files.
3229 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
3231 * doc/automake.texi (Scripts): Fix some errors in previous patch.
3233 * doc/automake.texi (Scripts): Revamp. Show an example of script
3234 built from configure.ac. Discuss CLEANFILES and EXTRA_DIST for
3235 other built scripts.
3237 * m4/init.m4: Suggest fixing the call to AC_INIT when
3238 AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined. This is for
3239 newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments.
3240 * tests/init.test: New file.
3241 * tests/Makefile.am (TESTS): Add it.
3243 2006-08-04 Stepan Kasal <kasal@ucw.cz>
3245 * automake.in (dist_dirs, fill_dist_dirs): Remove.
3246 * lib/am/distdir.am (DISTDIRS): Remove.
3247 * tests/distdir.test, tests/pr2.test: Do not grep, use
3248 `make distdir' instead.
3250 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
3252 * doc/automake.texi (Conditionals): Split in two sections, "Usage"
3253 and "Portability", and add a third one, "Limits" to explain how
3254 conditional definitions inside multi-lines definitions can be
3256 * automake.in (handle_options): Do not assume that
3257 AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional
3258 definitions of AUTOMAKE_OPTIONS.
3259 Report from Bas Wijnen.
3260 * tests/amopt.test: New test.
3261 * tests/Makefile.am (TESTS): Add it.
3263 * aclocal.in (install_file): Cannot use /dev/null while diffing
3264 new files, because Tru64's diff do not handle /dev/null. So
3265 create an empty destination file before running diff on a new
3266 file, and erase it afterward. Fall back to using /dev/null only
3267 if we cannot create this file.
3268 Report and initial patch from Ralf Wildenhues.
3269 (unlink_tmp): New function.
3270 * test/acloca18.test: Make sure the empty file has been erased.
3272 2006-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3274 * automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects,
3275 do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR,
3276 to help BSD Make find the files also in a VPATH build.
3277 Also return the same path, possibly prefixed, for correct
3279 * tests/pr401.test: Update to expose wrong depdir computation.
3280 Rewrite to not use the same file name for library object and
3282 * tests/pr401b.test, tests/pr401c.test: Likewise.
3284 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
3286 * lib/install-sh: Don't incorrectly claim that this implementation
3287 can install only one file at a time.
3288 (doit_exec): New var, for using 'exec' if possible, to save a process.
3289 (test_mode, intermediate_mode): Remove.
3290 (mode): Check for IFS or globbing characters in mode, since they might
3291 cause weird behavior with the other changes below. All later uses
3292 of '"$mode"' changed to '$mode', since the ""s no longer matter.
3293 Use octal modes if the invoker specifies an octal mode, and use
3294 octal umask values if 'umask' outputs octal values; this is more
3295 likely to work with older operating systems since Automake uses
3296 octal modes, and also works around a bug with HP-UX 11.23
3297 'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in
3298 <http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>.
3299 (cp_umask, mkdir_umask): New variables, to avoid
3300 temporarily creating files or directories with too-permissive modes.
3301 (mkdir_mode): Use the FreeBSD 'install' method for computing modes of
3302 intermediate directories; this is safer.
3303 (posix_mkdir): Also test mkdir -p -m ... by making a directory in
3304 /tmp and checking the resulting mode with 'ls', to catch a bug in
3305 HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message.
3306 Use ':' for true, not 'true'; this is a bit faster on
3307 traditional implementations.
3309 2006-07-09 Jim Meyering <jim@meyering.net>
3311 * lib/depcomp: "in in" -> "in" in comment.
3313 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3315 * tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr,
3316 for consistency with the recommendation prompted by this report:
3317 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
3319 2006-06-24 Stepan Kasal <kasal@ucw.cz>
3320 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3322 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to
3323 `'$(MKDIR_P)'', so that it retains the per-directory value
3324 computed by config.status.
3325 * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from
3326 a changed directory. Bugs reported by Ralf Menzel.
3329 2006-06-24 Eric Dorland <eric@debian.org>
3330 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3332 * automake.in (scan_texinfo_file): Fix matching file extension.
3333 * tests/txinfo31.test: New test.
3334 * tests/Makefile.am: Update.
3336 2006-06-07 Alexandre Duret-Lutz <adl@gnu.org>
3338 * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.
3340 2006-06-07 Stepan Kasal <kasal@ucw.cz>
3342 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
3344 2006-06-06 Stepan Kasal <kasal@ucw.cz>
3345 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3347 * lib/am/distdir.am: Do not call $(mkdir_p) for each
3348 distributed file, collect them and create them in one run,
3349 and strip $(srcdir) and $(top_srcdir) all at once.
3350 Fix some comment typos.
3352 2006-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3354 * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
3355 7.4.4m may omit the first included header dependency information
3356 with `-MDupdate'. Refine test to catch this.
3358 * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
3361 * tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3
3362 requires `config.rpath' to be present, and automake now enforces
3363 this. Test this, but only if the gettext installation works and
3364 is recent enough to provide this diagnosis.
3365 * tests/gettext.test: Provide a dummy `config.rpath' for all
3367 * tests/gettext2.test, tests/subcond.test: Likewise.
3369 * tests/pr401.test: Replace "perl -i" with sed and mv, for
3371 * tests/pr401b.test, tests/pr401c.test, tests/python11.test,
3372 * tests/yacc6.test, tests/yacc8.test: Likewise.
3374 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
3375 plain `grep' on the Makefile, as its line length may exceed that
3376 for grep. Bug report against coreutils by Sam Sirlin.
3379 2006-05-26 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
3381 * doc/automake.texi (Options): Add anchor `tar-formats'.
3383 2006-05-25 Noah Misch <noah@cs.caltech.edu>
3385 * lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides
3386 ENOLCK. Only mention `make -j' when applicable. Only raise
3387 fatal errors when `make -j' is involved. Improve error message.
3389 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3391 * lib/Automake/Configure_ac.pm (find_configure_ac): Use
3392 `$configure_in' instead of `configure.in', to preserve
3393 directory component.
3394 * lib/Automake/Configure_ac.pm: Add note that Automake owns
3396 * lib/Automake/Channels.pm: Likewise.
3397 * lib/Automake/FileUtils.pm: Likewise.
3398 * lib/Automake/Struct.pm: Likewise.
3400 2006-05-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3402 * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
3403 New upstream versions.
3405 2006-05-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3407 * doc/automake.texi (Auxiliary Programs): Fix URL to GCC
3408 repository, they use SVN now.
3410 2006-05-13 Werner Lemberg <wl@gnu.org>
3412 * lib/gnupload: Add support for savannah.gnu.org and
3413 savannah.nongnu.org.
3415 2006-05-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3417 * lib/Automake/Channels.pm, lib/Automake/Condition.pm,
3418 lib/Automake/DisjConditions.pm, lib/Automake/Options.pm,
3419 lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos.
3421 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
3423 * lib/install-sh: Sync from Autoconf, as follows:
3424 Don't use 'path' to talk about file names,
3425 as per GNU coding standards. Close a race condition reported by Ralf
3426 Wildenhues and Stepan Kasal. There is still a race condition
3427 on hosts that predate Posix 1003.1-1992, but we can't help this.
3428 Don't mishandle weird characters like space on pre-Posix hosts.
3429 Invoke mkdir at most once per dir arg on pre-Posix hosts.
3431 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3433 * tests/missing.test, tests/missing2.test: Do not require
3435 * Makefile.am (maintainer-check): Make sure `required=' does not
3436 follow `. ./defs' in the tests.
3438 * tests/ansi10.test: Use AC_PROG_CC_STDC. Fix test that
3439 ac_cv_prog_cc_stdc isn't just used by Automake code in
3441 * tests/ansi6.test, tests/ansi7.test: Likewise.
3442 * tests/ansi9.test: Likewise. Do not override by setting
3443 $U and $(ANSI2KNR) at `make' time; that will be fragile.
3444 * tests/libobj8.test: Use AC_PROG_CC_STDC.
3445 * tests/subobj3.test: Likewise. Use `set -e'.
3447 * lib/install-sh: Initialize IFS, so field splitting isn't
3449 * lib/mkinstalldirs: Likewise.
3451 * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
3452 the path of the prerequisite added; IRIX 6.5 make does not add
3453 it, Solaris 2.6 make is inconsistent about adding it. Fixes
3456 * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
3457 files in the source tree. Fixes failures with HP-UX and Tru64
3460 * lib/am/ansi2knr.am (ansi2knr): Rename target as...
3461 (./ansi2knr): ...this, for BSD make.
3462 (%ANSI2KNR-DIR%/ansi2knr): Adjust.
3464 2006-05-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3466 * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
3467 /bin/sh -e issue with failing commands in if clauses.
3469 * tests/defs.in (Be Bourne compatible): Update from current
3472 * configure.ac: Recommend perl-5.8.2.
3473 * tests/automake.test: Do not fail because of buggy Getopt::Long
3476 * tests/longlin2.test: Do not use `grep' on Makefile.am:
3477 it has long lines and is thus not a text file; AIX 5.1 grep
3478 fails to scan non-plain patterns from long lines.
3480 * tests/overrid.test: Change all regexes for warning messages to
3481 match after a colon, so that the prepended file names do not
3482 cause false matches. Tighten overrides regex. Fix typo
3483 `cleam-am-local' -> `clean-am-local'.
3485 * tests/java.test: `configure' uses a trap, so use `(exit 77);
3486 exit 77' to portably set the exit status similar to AS_EXIT.
3487 * tests/fn99.test: propagate nonzero exit status from subshell.
3489 * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
3490 if ``pwd`' contains the string `-p'. Create the wrapper in a
3491 subdirectory so that `.' in $PATH does not lead to an endless
3494 * lib/depcomp (ia64hp): Rename dependency style to..
3495 (hp2): ..this, as it works with aCC on HPPA, too; adjust
3496 comment. Report by Olivier Fourdan (PR automake/481).
3499 * tests/aclocal7.test: Add `$sleep's between file touching
3500 and automake resp aclocal+automake invocations, to ensure
3501 they complete with a time stamp strictly later than the touched
3504 * lib/missing: Remove superfluous quotes. Replace all uses of
3505 `[' by `test', for consistency, and for..
3506 * tests/missing5.test: ..this new test.
3507 * tests/Makefile.am: Update.
3509 * lib/missing (sed_minuso, sed_output): New variables.
3510 (autom4te, help2man, makeinfo): Use them. Unifies detection of
3511 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
3512 Fixes `missing' to detect `--output' for help2man. Fixes
3513 PR automake/483. Report by Dennis J. Linse.
3514 (autom4te): Document in `missing --help'.
3517 2006-04-26 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
3519 * doc/automake.texi (Dependency Tracking Evolution): Fix typo.
3521 2006-04-25 Stepan Kasal <kasal@ucw.cz>
3523 * lib/install-sh: Simplify the expr implementation of dirname.
3525 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
3527 * lib/install-sh: Handle --, and diagnose unknown options.
3528 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set
3529 mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with
3530 the other ways that mkdir_p might be set.
3532 2006-04-21 Alexandre Duret-Lutz <adl@gnu.org>
3534 * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
3535 (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
3536 * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
3537 (write_aclocal): Output a check for Autoconf's version in aclocal.m4.
3538 Doing so ensures that users cannot build configure and Makefiles
3539 with two different autoconf versions. Report from Noah Misch.
3540 * tests/missing4.test: New file.
3541 * tests/Makefile.am (TESTS): Add it.
3543 2006-04-20 Paul Lunau <temp@lunau.me.uk> (tiny change)
3544 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3546 * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
3547 failed, instead of when the last one failed (PR automake/488).
3548 Report from Paul Lunau.
3549 * tests/dejagnu4.test: Update to expose this.
3552 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3554 * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
3555 TABs as well as spaces. Fixes PR automake/490.
3556 * tests/check6.test: New test.
3557 * tests/Makefile.am, THANKS: Update.
3558 Report from Diab Jerius <djerius@cfa.harvard.edu>.
3560 2006-04-17 Stepan Kasal <kasal@ucw.cz>
3562 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
3563 description; eliminate the duplicate error message.
3564 * doc/automake.texi (@direntry): `Invoking Automake' is the name
3565 of the usage node for `automake'
3566 * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the
3569 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3571 * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
3572 because it uses `datarootdir'. Bump copyright year and serial.
3574 2006-04-10 Stepan Kasal <kasal@ucw.cz>
3578 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
3580 * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
3581 (_gen_varname): Use _hash_values, and return a flag indicating whether
3582 the variable name was generated or reused.
3583 (transform_variable_recursively): Do not redefine variables that
3584 are reused, and try to reuse the variable being transformed.
3585 * tests/check2.test: Make sure TESTS hasn't been redefined.
3586 * tests/check5.test, tests/exeext4.test: Make sure variables have
3588 * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.
3590 * automake.in (%ignored_configure_vars): New variable.
3591 (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill
3592 %ignored_configure_vars.
3593 (define_configure_variable): Declare ignored configure variables
3594 as VAR_SILENT. Do not special-case AMDEPBACKSLASH and ANSI2KNR
3596 * m4/substign.m4: New file.
3597 * m4/Makefile.am (dist_m4data_DATA): Add substign.m4.
3598 * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477).
3599 * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH.
3600 * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR.
3601 * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined.
3602 * tests/amsubst.test: New file.
3603 * tests/Makefile.am (TESTS): Add it.
3605 2006-04-09 Stepan Kasal <kasal@ucw.cz>
3606 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3608 * automake.in (handle_single_transform): Preserve directories in
3609 direct suffix rules.
3610 * tests/suffix12.test: New test.
3611 * tests/Makefile.am (TESTS): Add it.
3612 Report from John Ratliff.
3614 2006-03-25 Mike Frysinger <vapier@gentoo.org> (tiny change)
3615 Alexandre Duret-Lutz <adl@gnu.org>
3617 * aclocal.in ($m4_include_rx): Do not recognize `include', and
3618 adjust scan_configure_dep and scan_file accordingly.
3619 (scan_configure_dep): Do not search white lines.
3620 (scan_file): Strip comments from current line after checking
3621 for serial, so that aclocal does not trip on `m4_include' macros
3622 in comments. Report from Mike Frysinger.
3623 * tests/acloca21.test: New file.
3624 * tests/Makefile.am (TESTS): Add it.
3626 2006-03-24 Stepan Kasal <kasal@ucw.cz>
3628 * tests/mmodely.test: Fix the test on systems with no lex.
3630 2006-03-23 Stepan Kasal <kasal@ucw.cz>
3632 * automake.in (libtool_new_api): Fix a typo in the comment.
3633 * lib/Automake/Makefile.am (Config.pm): Likewise.
3634 * lib/am/depend2.am: Likewise.
3635 * tests/xsource.test: With `set -e', `|| exit 1' is no longer
3638 2006-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3640 * tests/depcomp6.test, tests/depcomp7.test: Change back to
3641 using `$MAKE && exit 1', but make sure the last command in the
3644 2006-03-21 Clifford Wolf <clifford@clifford.at> (tiny change)
3645 Stepan Kasal <kasal@ucw.cz>
3646 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3648 * aclocal.in (parse_arguments): Added wildcard support to the
3650 * doc/automake.texi (Macro search path): Document it.
3651 * tests/dirlist2.test: New test.
3652 * m4/dirlist, tests/Makefile.am: Adjust.
3654 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3656 * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)'
3657 to `AC_PROG_OBJC' if provided, to fix Objective C depmode
3659 * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for
3661 * tests/ext.test: Adjust.
3662 * tests/objc.test, tests/objc2.test: New tests.
3663 * tests/Makefile.am: Adjust.
3664 * doc/automake.texi (Objective C Support): New node.
3665 (Support for Other Languages): Adjust.
3667 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3669 * lib/Automake/RuleDef.pm (DESCRIPTION): Typo.
3671 * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic
3672 to work with `set -e'.
3674 * tests/depcomp6.test, tests/depcomp7.test: New tests,
3675 for general `depcomp' functionality, with and without
3676 `subdir-objects', with and without `libtool'.
3677 * tests/Makefile.am: Adjust.
3679 * aclocal.in (write_aclocal): Unlink `aclocal.m4' before
3680 writing into it, to break a symlinked file.
3681 * tests/acloca20.test: New test.
3682 * tests/Makefile.am: Updated.
3684 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3686 Allow package trees (packages with subpackages) to share
3687 common distributed auxiliary files (and directories) that
3688 reside within a subpackage.
3690 * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if
3691 `$(distdir)' already exists.
3692 (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent
3693 removal of subpackage trees for distribution.
3694 * tests/subpkg3.test: New test.
3695 * tests/Makefile.am: Update.
3697 2006-03-18 Alexandre Duret-Lutz <adl@gnu.org>
3699 * tests/check5.test, tests/nobast.test: Fix $MAKE and rm
3700 invocations to please maintainer-check.
3702 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
3704 * automake.in (lang_c_rewrite): Typo in previous change.
3705 * tests/ccnoco2.test: New file.
3706 * tests/Makefile.am (TESTS): Add ccnoco2.test.
3708 * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
3709 a 'portability' warning, so that people can ignore it. Suggested
3712 * lib/Automake/ChannelDefs.pm: Make -Wportability the default in
3713 gnu and gnits modes.
3714 * doc/automake.texi (Invoking Automake): Adjust.
3716 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3718 * doc/automake.texi (Yacc and Lex): Document that `.ypp' and
3719 `.lpp' file extensions are recognized.
3721 2006-02-21 Alexandre Duret-Lutz <adl@gnu.org>
3723 * doc/automake.texi (Complete, Extending aclocal, Public macros)
3724 (Python, Conditionals, API versioning): Always quote macro arguments.
3725 Report from Stepan Kasal.
3727 2006-02-16 Alexandre Duret-Lutz <adl@gnu.org>
3729 * doc/automake.texi (Python): More examples.
3731 2006-02-05 Alexandre Duret-Lutz <adl@gnu.org>
3733 * doc/automake.texi (distcleancheck): Fix bad wording. Report
3735 (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS).
3737 2006-01-29 Alexandre Duret-Lutz <adl@gnu.org>
3739 Append $(EXEEXT) to programs that may be listed in TESTS.
3740 Report from Simon Josefsson.
3742 * automake.in (%known_programs): New global.
3743 (initialize_per_input): Reset it.
3744 (append_exeext): Take a predicate as first argument to select
3745 the filename to rewrite.
3746 (handle_programs): Fill %known_programs.
3747 (handle_tests): Append $(EXEEXT) to all tests that are in
3749 (am_install_var): Update call to append_exeext.
3750 * doc/automake.texi (EXEEXT): TESTS is also rewritten.
3751 (Tests): More about the difference between check_PROGRAMS and TESTS.
3752 Give an example of TEST_ENVIRONMENT.
3753 * tests/cond32.test: Augment with a nested condition.
3754 * tests/exeext4.test: Also check TESTS.
3755 * tests/check5.test: New file.
3756 * tests/Makefile.am (TESTS): Add check5.test.
3758 2006-01-12 Paul Eggert <eggert@cs.ucla.edu>
3760 * lib/install-sh (dstdir): Don't use semicolons inside { } in
3761 sed scripts, as Posix says it's not portable.
3762 * lib/missing (file): Likewise.
3763 * lib/am/distdir.am (distcheck): Likewise.
3764 * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
3765 * tests/distcom2.test, tests/distcom3.test: Likewise.
3766 * tests/distcom4.test, tests/distcom5.test: Likewise.
3767 * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
3769 2006-01-12 Alexandre Duret-Lutz <adl@gnu.org>
3771 * ChangeLog: Move 2004's entries to ...
3772 * ChangeLog.04: ... this new file.
3773 * Makefile.am (EXTRA_DIST): Add ChangeLog.04.
3775 * tests/txinfo13.test: Test fix below.
3777 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3779 * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted
3780 extra files in distribution. Reported by Vincent Lefevre.
3782 2006-01-06 Alexandre Duret-Lutz <adl@gnu.org>
3784 * doc/automake.texi (Linking, Program and Library Variables):
3785 Mention the file extensions that usually appear in _DEPENDENCIES,
3786 and point to BUILT_SOURCES and example of _DEPENDENCIES uses. A
3787 couple of people have been listing sources files in _DEPENDENCIES
3790 * doc/automake.texi: Bump copyright year.
3791 * automake.in ($gen_copyright, version): Likewise.
3792 * aclocal.in (write_aclocal, version): Likewise.
3794 2006-01-05 Stepan Kasal <kasal@ucw.cz>
3795 Alexandre Duret-Lutz <adl@gnu.org>
3797 * automake.in (topsrcdir): New global.
3798 (generate_makefile): Compute it.
3799 (fill_dist_dirs): New function extracted from handle_dist.
3800 (handle_dist, handle_configure): Use fill_dist_dirs.
3801 * tests/distdir.test: Test for cases where $(top_srcdir) or
3802 $(srcdir) appear in EXTRA_DIST. Report from Sander Niemeijer.
3804 2006-01-05 Zack Weinberg <zackw@panix.com>
3805 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3807 * lib/depcomp: Add 'ia64hp' dependency style.
3808 Zack's original patch was contributed to GCC on 2005-06-13.
3811 2005-11-01 Stepan Kasal <kasal@ucw.cz>
3813 * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
3814 the code is portable to both POSIX and pre-POSIX shells.
3816 2005-10-17 Alexandre Duret-Lutz <adl@gnu.org>
3818 * tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
3819 suggested by Eric Blake.
3821 2005-10-17 Stepan Kasal <kasal@ucw.cz>
3823 * doc/automake.texi (Program and Library Variables): Typo.
3824 * lib/Automake/Variable.pm (transform_variable_recursively): Typo
3827 2005-10-03 Stepan Kasal <kasal@ucw.cz>
3829 * ChangeLog.03, automake.in, tests/overrid.test: Typos.
3831 2005-10-03 Alexandre Duret-Lutz <adl@gnu.org>
3833 * tests/nobase.test: Exercise previous patch.
3835 2005-10-03 Peter O'Gorman <peter@pogma.com> (tiny change)
3837 * lib/am/distdir.am: Remove $(SHELL) when calling install_sh
3838 * m4/strip.m4: Ditto.
3839 * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
3841 2005-09-13 Paul Eggert <eggert@cs.ucla.edu>
3843 * doc/automake.texi (limitations on file names): New section.
3844 * lib/install-sh: Rewrite to support '*' in file names.
3845 Also, tune so that we don't invoke so many commands in the usual case.
3846 This has the side effect of fixing `install-sh -d' to not fail if it
3847 loses the race in creating the last path component against another
3849 * tests/instspc.test: The "*" test is now fixed.
3851 2005-09-13 Stepan Kasal <kasal@ucw.cz>
3853 * automake.in (Languages) <cppasm>: Fix typo in the comment.
3855 2005-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3857 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
3858 shell in verbose mode.
3860 2005-08-07 Alexandre Duret-Lutz <adl@gnu.org>
3862 * lib/Automake/Variable.pm (variable_value): Do not read the TRUE
3863 value of a conditionally defined variable.
3864 Report from Juergen Leising.
3866 * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
3867 $(MAKE) invocations.
3868 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
3870 * lib/am/texi-vers.am (%STAMPVTI%): Likewise.
3871 * lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
3872 * Makefile.am (maintainer-check): Check for this.
3873 Report from Stepan Kasal.
3875 * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.
3876 Prompted by Stepan Kasal.
3878 2005-08-07 Stepan Kasal <kasal@ucw.cz>
3880 * lib/am/texinfos.am (uninstall-info-am): Call install-info only if
3881 the $(infodir) exists.
3883 2005-07-31 Stepan Kasal <kasal@ucw.cz>
3885 * tests/library3.test: Fix a typo which made the test fail.
3887 2005-07-27 Alexandre Duret-Lutz <adl@gnu.org>
3889 * doc/automake.texi (Linking, Program and Library Variables):
3890 Suggest reserving -l for third-party libraries.
3892 * lib/Automake/Variable.pm (require_variables): Mention aclocal's
3893 search path when suggesting to add a macro in configure.ac.
3894 People are confused when Automake suggests adding a macro (such as
3895 AC_PROG_LIBTOOL) that is already in configure.ac.
3896 * automake.in (require_file_internal): Suggest `automake --add-missing'
3897 for missing files that can be installed.
3898 * tests/library3.test: Adjust.
3900 2005-07-27 Stepan Kasal <kasal@ucw.cz>
3902 * tests/defs.in: When required matches both `*libtool*' and
3903 `*gettext*', check for both m4 files.
3905 * doc/automake.texi (Auxiliary Programs): Fix a typo.
3906 * tests/suffix11.test: Fix a typo.
3907 * tests/colon3.test: s/EGREP/FGREP/.
3909 2005-07-19 Paul Eggert <eggert@cs.ucla.edu>
3911 * tests/instspc.test: Major rewrite to test for many other
3912 problematic file names, e.g., '$', '"', '('. Automake and
3913 Autoconf can't handle many of them, so do not report a failure
3914 if the usual candidates show up.
3916 2005-07-19 Stepan Kasal <kasal@ucw.cz>
3918 * Makefile.am (automake, aclocal): Merge the rules.
3920 2005-07-10 Alexandre Duret-Lutz <adl@gnu.org>
3922 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
3925 2005-07-09 Alexandre Duret-Lutz <adl@gnu.org>
3927 * lib/install-sh: Use IFS=/ to split directories on /, don't translate
3928 / into % as it prevents directory names using %...
3930 2005-07-09 Stepan Kasal <kasal@ucw.cz>
3932 * doc/automake.texi (Public macros): Typo.
3933 * aclocal.in: Typo in comment.
3935 2005-07-09 Zack Weinberg <zack@codesourcery.com> (tiny change)
3937 * lib/depcomp: Handle "#line" markers as well as "# " markers in
3938 "cpp" style, so it can work with newer HP compilers (for their
3941 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
3943 * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
3944 fix an underful hbox.
3945 * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
3946 New upstream versions.
3948 2005-07-01 Alexandre Duret-Lutz <adl@gnu.org>
3950 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
3952 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
3954 * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
3955 lib/am/header-vars.am no longer uses it.
3956 * lib/am/libtool.am (distclean-am, distclean-libtool): Define
3957 if TOPDIR_P is true, not TOPDIR.
3958 Suggested by Stepan Kasal.
3960 * automake.in (read_am_file): Correctly diagnose comments following
3962 * tests/commen10.test: New file.
3963 * tests/Makefile.am (TESTS): Add commen10.test.
3964 Report from Harald Dunkel.
3966 * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead
3968 * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL):
3969 Do not define, they are AC_SUBST_TRACEd by Autoconf.
3970 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c.
3971 * tests/include.test: Call AC_OUTPUT.
3973 2005-06-29 Alexandre Duret-Lutz <adl@gnu.org>
3975 * lib/mkinstalldirs: Fix support for directory name with spaces if
3976 `mkdir -p' does not work.
3977 * tests/Makefile.am (TESTS): Add mkinst3.test.
3978 * tests/mkinst3.test: New file.
3979 Report from Noah Friedman.
3981 * doc/automake.texi (Include, Extending aclocal): Typos.
3982 Report from Karl Berry.
3984 2005-06-28 Stepan Kasal <kasal@ucw.cz>
3985 Alexandre Duret-Lutz <adl@gnu.org>
3987 * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
3988 * tests/txinfo28.test: Set TIME_STYLE.
3989 Report from Vincent Lefevre and James Youngman.
3991 2005-06-24 Alexandre Duret-Lutz <adl@gnu.org>
3993 * lib/Automake/Variable.pm (define, _new): Remember the helper
3994 variable created for the last conditional += on each variable, and
3995 only append further += in the same condition to this last helper
3996 variable, not to older helper variables. This way the order of
3997 the items appended to the variable is preserved.
3998 * tests/cond21.test: Adjust.
3999 * tests/cond38.test: New file.
4000 * tests/Makefile.am (TESTS): Add cond38.test.
4001 Report from Ed Hartnett.
4003 2005-06-22 Alexandre Duret-Lutz <adl@gnu.org>
4005 * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
4007 * automake.in (handle_footer): Do not output an unformatted
4008 definition of SOURCES, it is already done correctly in
4009 generate_makefile. This superfluous definition introduced long
4010 lines in some Makefiles, hence breakages in tools with a limited
4011 line length. Report from Mathias Froehlich.
4013 2005-06-11 Alexandre Duret-Lutz <adl@gnu.org>
4015 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
4016 Fix redirections in previous patch.
4018 2005-06-08 Alexandre Duret-Lutz <adl@gnu.org>
4020 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
4021 Do not backup any file if makeinfo is not installed.
4022 * lib/missing (makeinfo): Do not touch a missing info file.
4023 * tests/txinfo30.test: New file.
4024 * tests/Makefile.am (TESTS): Add txinfo30.test.
4025 Report from Bob Proulx.
4027 * doc/automake.texi (Extending aclocal): Typo.
4029 2005-05-24 Brian Gough <bjg@network-theory.co.uk> (tiny change)
4031 * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
4033 2005-05-15 Alexandre Duret-Lutz <adl@gnu.org>
4035 Fix PR automake/461:
4036 * automake.in (require_build_directory): Canonicalize directories
4037 with different names, such as `foo/bar' and `./foo//bar'.
4038 * tests/subobj9.test: Augment to test that.
4039 Report from Tom Tromey.
4041 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
4043 * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
4044 ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am,
4045 NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure,
4046 configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING,
4047 lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in,
4048 lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp,
4049 lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile,
4050 lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
4051 lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
4052 lib/Automake/Condition.pm, lib/Automake/Config.in,
4053 lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
4054 lib/Automake/FileUtils.pm, lib/Automake/General.pm,
4055 lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
4056 lib/Automake/Location.pm, lib/Automake/Makefile.am,
4057 lib/Automake/Options.pm, lib/Automake/Rule.pm,
4058 lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
4059 lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
4060 lib/Automake/Version.pm, lib/Automake/Wrap.pm,
4061 lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
4062 lib/Automake/tests/DisjConditions.pl,
4063 lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
4064 lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
4065 lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
4066 lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
4067 lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
4068 lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
4069 lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
4070 lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
4071 lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
4072 lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
4073 lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
4074 lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
4075 lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
4076 lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
4077 lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
4078 m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
4079 tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
4080 tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
4081 tests/acloca17.test, tests/acloca18.test, tests/acloca19.test,
4082 tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test,
4083 tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test,
4084 tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test,
4085 tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test,
4086 tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test,
4087 tests/acsubst.test, tests/acsubst2.test, tests/all.test,
4088 tests/alloca.test, tests/alloca2.test, tests/alpha.test,
4089 tests/alpha2.test, tests/amassign.test, tests/ammissing.test,
4090 tests/ansi.test, tests/ansi10.test, tests/ansi2.test,
4091 tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test,
4092 tests/ansi5.test, tests/ansi6.test, tests/ansi7.test,
4093 tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test,
4094 tests/asm.test, tests/autohdr.test, tests/autohdr2.test,
4095 tests/autohdr3.test, tests/autohdr4.test, tests/automake.test,
4096 tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test,
4097 tests/auxdir4.test, tests/backsl.test, tests/backsl2.test,
4098 tests/backsl3.test, tests/backsl4.test, tests/badline.test,
4099 tests/badopt.test, tests/badprog.test, tests/block.test,
4100 tests/bsource.test, tests/canon.test, tests/canon2.test,
4101 tests/canon3.test, tests/canon4.test, tests/canon5.test,
4102 tests/ccnoco.test, tests/check.test, tests/check2.test,
4103 tests/check3.test, tests/check4.test, tests/checkall.test,
4104 tests/clean.test, tests/clean2.test, tests/colneq.test,
4105 tests/colneq2.test, tests/colon.test, tests/colon2.test,
4106 tests/colon3.test, tests/colon4.test, tests/colon5.test,
4107 tests/colon6.test, tests/colon7.test, tests/comment.test,
4108 tests/comment2.test, tests/comment3.test, tests/comment4.test,
4109 tests/comment5.test, tests/comment6.test, tests/comment7.test,
4110 tests/comment8.test, tests/comment9.test, tests/compile.test,
4111 tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test,
4112 tests/cond.test, tests/cond10.test, tests/cond11.test,
4113 tests/cond13.test, tests/cond14.test, tests/cond15.test,
4114 tests/cond16.test, tests/cond17.test, tests/cond18.test,
4115 tests/cond19.test, tests/cond2.test, tests/cond20.test,
4116 tests/cond21.test, tests/cond22.test, tests/cond23.test,
4117 tests/cond24.test, tests/cond25.test, tests/cond26.test,
4118 tests/cond27.test, tests/cond28.test, tests/cond29.test,
4119 tests/cond3.test, tests/cond30.test, tests/cond31.test,
4120 tests/cond32.test, tests/cond33.test, tests/cond34.test,
4121 tests/cond35.test, tests/cond36.test, tests/cond37.test,
4122 tests/cond4.test, tests/cond5.test, tests/cond6.test,
4123 tests/cond7.test, tests/cond8.test, tests/cond9.test,
4124 tests/condd.test, tests/condhook.test, tests/condinc.test,
4125 tests/condinc2.test, tests/condlib.test, tests/condman.test,
4126 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
4127 tests/conff.test, tests/conff2.test, tests/confh.test,
4128 tests/confh4.test, tests/confh5.test, tests/config.test,
4129 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
4130 tests/conflnk3.test, tests/confsub.test, tests/confvar.test,
4131 tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
4132 tests/cxx.test, tests/cxx2.test, tests/cxxansi.test,
4133 tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test,
4134 tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test,
4135 tests/dash.test, tests/defs.in, tests/defun.test,
4136 tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
4137 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
4138 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
4139 tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test,
4140 tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test,
4141 tests/depend.test, tests/depend2.test, tests/depend3.test,
4142 tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
4143 tests/dirlist.test, tests/discover.test, tests/distcom2.test,
4144 tests/distcom3.test, tests/distcom4.test, tests/distcom5.test,
4145 tests/distcom6.test, tests/distcom7.test, tests/distdir.test,
4146 tests/distname.test, tests/dollar.test, tests/double.test,
4147 tests/dup2.test, tests/else.test, tests/empty.test,
4148 tests/empty2.test, tests/empty3.test, tests/empty4.test,
4149 tests/exdir.test, tests/exdir2.test, tests/exeext.test,
4150 tests/exeext2.test, tests/exeext3.test, tests/exeext4.test,
4151 tests/exsource.test, tests/ext.test, tests/ext2.test,
4152 tests/extra.test, tests/extra2.test, tests/extra3.test,
4153 tests/extra4.test, tests/extra5.test, tests/extra6.test,
4154 tests/extra7.test, tests/f90only.test, tests/flibs.test,
4155 tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test,
4156 tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
4157 tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
4158 tests/gcj5.test, tests/getopt.test, tests/gettext.test,
4159 tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
4160 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
4161 tests/gnuwarn2.test, tests/header.test, tests/help.test,
4162 tests/hfs.test, tests/hosts.test, tests/implicit.test,
4163 tests/include.test, tests/include2.test, tests/info.test,
4164 tests/insh2.test, tests/install2.test, tests/installdir.test,
4165 tests/instdat.test, tests/instdat2.test, tests/instexec.test,
4166 tests/insthook.test, tests/instman.test, tests/instman2.test,
4167 tests/instsh.test, tests/instsh2.test, tests/instspc.test,
4168 tests/interp.test, tests/interp2.test, tests/java.test,
4169 tests/java2.test, tests/java3.test, tests/javaprim.test,
4170 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
4171 tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
4172 tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
4173 tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
4174 tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
4175 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
4176 tests/library.test, tests/library2.test, tests/library3.test,
4177 tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
4178 tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
4179 tests/libtool7.test, tests/libtool8.test, tests/libtool9.test,
4180 tests/license.test, tests/link_c_cxx.test, tests/link_dist.test,
4181 tests/link_f90_only.test, tests/link_f_only.test,
4182 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
4183 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
4184 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
4185 tests/lisp8.test, tests/listval.test, tests/location.test,
4186 tests/longlin2.test, tests/longline.test, tests/ltcond.test,
4187 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
4188 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
4189 tests/make.test, tests/makej.test, tests/makevars.test,
4190 tests/man.test, tests/man2.test, tests/mclean.test,
4191 tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
4192 tests/mdate4.test, tests/missing.test, tests/missing2.test,
4193 tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
4194 tests/mmodely.test, tests/multlib.test, tests/nobase.test,
4195 tests/nodef.test, tests/nodef2.test, tests/nodep.test,
4196 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
4197 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
4198 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
4199 tests/nostdinc.test, tests/number.test, tests/obsolete.test,
4200 tests/order.test, tests/outdir.test, tests/output.test,
4201 tests/output10.test, tests/output11.test, tests/output12.test,
4202 tests/output2.test, tests/output3.test, tests/output4.test,
4203 tests/output5.test, tests/output6.test, tests/output7.test,
4204 tests/output8.test, tests/output9.test, tests/overrid.test,
4205 tests/parse.test, tests/percent.test, tests/percent2.test,
4206 tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
4207 tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
4208 tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
4209 tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
4210 tests/ppf77.test, tests/pr2.test, tests/pr204.test,
4211 tests/pr211.test, tests/pr220.test, tests/pr224.test,
4212 tests/pr229.test, tests/pr243.test, tests/pr266.test,
4213 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
4214 tests/pr300-lib.test, tests/pr300-ltlib.test,
4215 tests/pr300-prog.test, tests/pr307.test, tests/pr401.test,
4216 tests/pr401b.test, tests/pr401c.test, tests/pr72.test,
4217 tests/pr87.test, tests/pr9.test, tests/prefix.test,
4218 tests/primary.test, tests/primary2.test, tests/primary3.test,
4219 tests/proginst.test, tests/python.test, tests/python10.test,
4220 tests/python11.test, tests/python12.test, tests/python2.test,
4221 tests/python3.test, tests/python4.test, tests/python5.test,
4222 tests/python6.test, tests/python7.test, tests/python8.test,
4223 tests/python9.test, tests/recurs.test, tests/recurs2.test,
4224 tests/regex.test, tests/remake.test, tests/remake2.test,
4225 tests/remake3.test, tests/remake4.test, tests/remake5.test,
4226 tests/req.test, tests/reqd.test, tests/reqd2.test,
4227 tests/rulepat.test, tests/scripts.test, tests/seenc.test,
4228 tests/sinclude.test, tests/space.test, tests/specflg.test,
4229 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
4230 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
4231 tests/spell.test, tests/spell2.test, tests/spell3.test,
4232 tests/spelling.test, tests/spy.test, tests/srcsub.test,
4233 tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
4234 tests/stdlib2.test, tests/strip.test, tests/subcond.test,
4235 tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
4236 tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
4237 tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
4238 tests/subdir8.test, tests/subdir9.test,
4239 tests/subdirbuiltsources.test, tests/subobj.test,
4240 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
4241 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
4242 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
4243 tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
4244 tests/subst2.test, tests/substre2.test, tests/substref.test,
4245 tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
4246 tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
4247 tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
4248 tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
4249 tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
4250 tests/syntax.test, tests/tags.test, tests/tagsub.test,
4251 tests/tar.test, tests/tar2.test, tests/tar3.test,
4252 tests/target-cflags.test, tests/targetclash.test,
4253 tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
4254 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
4255 tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
4256 tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
4257 tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
4258 tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
4259 tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
4260 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
4261 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
4262 tests/vars.test, tests/vars3.test, tests/vartar.test,
4263 tests/version.test, tests/version2.test, tests/version3.test,
4264 tests/version4.test, tests/version6.test, tests/version7.test,
4265 tests/version8.test, tests/vpath.test, tests/vtexi.test,
4266 tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
4267 tests/werror2.test, tests/whoami.test, tests/xsource.test,
4268 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
4269 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
4270 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
4271 tests/yaccvpath.test: Update FSF postal mail address.
4273 * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
4274 Autoconf currently defines a CCC variable.
4276 * tests/output11.test, tests/output12.test: Use rm -f.
4278 2005-04-25 Gary V. Vaughan <gary@gnu.org>
4279 Alexandre Duret-Lutz <adl@gnu.org>
4281 Support for remote LIBOBJS (and friends) with subdir-objects.
4282 Fixes PR automake/401.
4284 * automake.in (config_libobj_dir): New variable.
4285 (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
4286 (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
4287 (handle_LIBOBJS, handle_ALLOCA): Use them. Adjust location of
4288 dependency files, possibly in a subdirectory.
4289 * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
4290 * tests/Makefile.am (TESTS): Add them.
4291 * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
4292 (LIBOBJS): Document changes in behaviour of
4293 LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
4294 subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
4296 2005-04-18 Jim Meyering <jim@meyering.net>
4298 * doc/automake.texi (Dist): Correct English.
4300 2005-03-31 Stepan Kasal <kasal@ucw.cz>
4302 * doc/automake.texi: When the phrase "for instance" introduces a
4303 sentence, it should be delimited by a comma.
4305 * doc/automake.texi: Fix a few typos.
4307 2005-03-30 Alexandre Duret-Lutz <adl@gnu.org>
4309 * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
4310 example, since the GCS now define htmldir.
4311 (Auxiliary Programs): Mention config-ml.in and symlink-tree.
4312 Give a URL for texinfo.tex.
4313 (Public macros): Sort alphabetically, and move obsolete macros...
4314 (Obsolete macros): ... here.
4315 Prompted by Karl Berry.
4317 2005-03-29 Alexandre Duret-Lutz <adl@gnu.org>
4319 * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
4322 * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
4323 rule is run with `make -j'.
4324 * doc/automake.texi (Multiple Outputs): Adjust.
4325 * tests/lisp6.test: Augment it.
4326 * tests/lisp8.test: New file.
4327 * tests/Makefile.am (TESTS): Add lisp8.test.
4328 Suggested by Bruno Haible.
4330 2005-03-27 Alexandre Duret-Lutz <adl@gnu.org>
4332 * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
4334 2005-03-16 Alexandre Duret-Lutz <adl@gnu.org>
4336 * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
4337 a missing *.elc file if it cannot be created because emacs does
4339 * tests/lisp7.test: New file.
4340 * tests/Makefile.am (TESTS): Add lisp7.test.
4341 Report from Greg Schafer.
4343 2005-03-05 Alexandre Duret-Lutz <adl@gnu.org>
4345 * doc/automake.texi: Replace wicked whiches by thats.
4347 2005-03-04 Alexandre Duret-Lutz <adl@gnu.org>
4349 * aclocal.in (scan_configure_dep, scan_file): Include file names
4350 are relative to the directory of configure.ac, not to the
4351 directory of the file doing the include. Remove code for this
4353 * tests/acloca13.test: Run distcheck and make sure all macros are
4354 actually distributed.
4356 2005-03-03 Alexandre Duret-Lutz <adl@gnu.org>
4358 For PR automake/450:
4359 * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
4361 * automake.in (scan_autoconf_traces): Likewise.
4362 * tests/sinclude.test: Augment.
4363 Report from Peter Breitenlohner.
4365 For PR automake/450:
4366 * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
4367 acinclude.m4 and configure.ac to the include map in these two
4369 (strip_redundant_includes): ... do it here. This completes the
4370 previous change from 2005-03-01, that did not update
4372 * tests/acloca19.test: Augment.
4373 Report from Peter Breitenlohner.
4375 2005-03-02 Alexandre Duret-Lutz <adl@gnu.org>
4377 * tests/comment9.test: Typo.
4379 2005-03-01 Alexandre Duret-Lutz <adl@gnu.org>
4381 * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
4382 * tests/comment9.test: New file.
4383 * tests/Makefile.am (TESTS): Add comment9.test.
4384 Report from Julien Sopena.
4386 For PR automake/450:
4387 * aclocal.in (trace_used_macros): Do not explicitly trace files
4388 included by configure.ac.
4389 * tests/acloca19.test: New file.
4390 * tests/Makefile.am (TESTS): Add acloca19.test.
4391 Report from Peter Breitenlohner.
4393 2005-02-27 Alexandre Duret-Lutz <adl@gnu.org>
4395 Fix for PR automake/448:
4396 * automake.in (handle_factored_dependencies): Flag install-hook as
4398 * tests/insthook.test: Exercise this.
4400 * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
4401 * doc/automake.texi (Hard-Coded Install Paths): Adjust.
4403 * doc/automake.texi: Replace many uses of @samp by @code, and
4404 vice versa. Use @command, @option, and @env where appropriate.
4406 2005-02-26 Alexandre Duret-Lutz <adl@gnu.org>
4408 * doc/automake.texi: "filename" -> "file name", for consistency
4409 with GNU Coding Standards. See also Paul's change on 2004-08-20
4412 * doc/automake.texi (A Library, Libtool Libraries): Show how to link
4413 a program with a static or libtool library.
4414 (Program and Library Variables): Make clearer that _LDADD and
4415 _LIBADD may also list libraries.
4416 Prompted by a mail from Bruce Korb.
4418 * doc/automake.texi (Alternative): Show how to rewrite nobase_
4419 variables using custom directory variables, and link to node
4420 Uniform. Suggested by Leonardo Boiko.
4422 * doc/automake.texi (Flag Variables Ordering, User Variables):
4423 Make clearer who the maintainer is, and that he can AC_SUBST AM_
4424 variables in configure.ac. Suggested by Norman Gray.
4425 (Uniform, Public macros, Libtool Issues, Java Support,
4426 Conditionals): Use `---' for em dash, and stick them to the
4429 * doc/automake.texi: Reword a few sentences to fix all underflow
4430 and overflow warnings during `make dvi'.
4431 (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
4432 (Public macros) <AM_WITH_DMALLOC>: Likewise.
4434 2005-02-12 Alexandre Duret-Lutz <adl@gnu.org>
4436 * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
4437 lib/texinfo.tex: New upstream versions.
4439 * doc/automake.texi (Hard-Coded Install Paths): New node.
4440 (Extending, Extending aclocal, Python): Link to it.
4441 (Extending): Don't show how to install a file in /etc/ directly,
4444 * automake.in (read_am_file): Define variables containing long
4445 lines as VAR_PRETTY to work around tools with limited input width.
4446 * tests/longlin2.test: New file.
4447 * tests/Makefile.am (TESTS): Add it.
4448 Report from Albert Chin.
4450 2005-02-09 Alexandre Duret-Lutz <adl@gnu.org>
4452 Fix for PR automake/447:
4453 * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
4454 Report from Mathias Doreille. Add some old comments from
4455 Nicolas Joly for reference.
4457 2005-02-08 Stepan Kasal <kasal@ucw.cz>
4459 * lib/mdate-sh: Check the size of the word following the month to
4460 catch Darwin. This way the filename can contain spaces.
4462 * doc/automake.texi (Requirements, Options): Typos.
4464 2005-02-08 Alexandre Duret-Lutz <adl@gnu.org>
4466 * lib/missing (makeinfo): Compute the output file if neither -o
4467 nor @setfilename is used.
4468 Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
4470 2005-02-07 Alexandre Duret-Lutz <adl@gnu.org>
4472 * doc/automake.texi (Requirements): Show one example of
4473 AC_CONFIG_FILES with multiple outputs, and correct a few typos.
4475 * aclocal.in ($serial_line_rx): Expect at least one space between
4476 `serial' and the following number.
4477 Report from Jim Meyering.
4479 * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
4480 Report from Peter O'Gorman.
4482 2005-02-06 Alexandre Duret-Lutz <adl@gnu.org>
4484 * aclocal.in (usage, parse_arguments): New --dry-run and --diff
4486 (install_file, write_aclocal): Honor --dry-run and --diff.
4487 * doc/automake.texi (aclocal options): Document --dry-run and --diff.
4488 (Serials): Mention --diff.
4489 * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
4490 $expected_exit_code argument.
4491 (xsystem): Take a list of arguments, not a string.
4492 * tests/acloca18.test: Use --dry-run and --diff.
4493 Suggested by Paul Eggert.
4495 * doc/automake.texi (aclocal options, Macro search path,
4496 Extending aclocal, Local Macros, Serials, Future of aclocal): Make
4497 these subsection of ...
4498 (Invoking aclocal): ... this.
4500 * aclocal.in ($serial_line_rx): Allow trailing garbage after the
4502 (scan_file): Explicitly mark the "ill-formed serial" message
4504 * doc/automake.texi (aclocal options, Local Macros): Link to...
4505 (Serials): ... this new section.
4507 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
4509 * lib/compile: Likewise.
4511 2005-02-02 Alexandre Duret-Lutz <adl@gnu.org>
4513 * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
4515 * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
4516 status if a write failure occurs with --help or --version option,
4519 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
4521 * lib/depcomp: Exit with nonzero status if a write failure occurs
4522 with --help or --version option.
4523 * lib/elisp-comp: Likewise.
4524 * lib/gnupload: Likewise.
4525 * lib/install-sh: Likewise.
4526 * lib/missing: Likewise.
4527 * lib/mkinstalldirs: Likewise.
4529 2005-02-01 Alexandre Duret-Lutz <adl@gnu.org>
4531 * doc/automake.texi (aclocal options): Typo.
4533 * aclocal.in (list_compare): New functions.
4534 (scan_file): Honor #serial lines.
4535 * tests/acloca18.test: New test.
4536 * tests/Makefile.am (TESTS): Add it.
4537 * doc/automake.texi (aclocal options, Local Macros): Document
4540 2005-01-30 Alexandre Duret-Lutz <adl@gnu.org>
4542 Preliminary support for `aclocal --install'.
4543 This still lacks #serial support.
4544 * aclocal.in (reset_maps, install_file): New functions.
4545 (write_aclocal): Copy files if --install.
4546 (usage, parse_arguments): Recognize --install.
4547 ("MAIN"): Start aclocal again if some file were installed.
4548 * tests/acloca10.test: Augment to test --install.
4549 * tests/aclocal.in, tests/defs.in: Add support for
4550 ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
4551 * doc/automake.texi (aclocal options, Local Macros): Document
4553 (Future of aclocal): Adjust.
4555 * doc/automake.texi (Macro search path): Using --acdir is not
4556 obvious, it's erroneous.
4558 * doc/automake.texi (direntry): Let `info Automake' point to the
4559 manual, and `info automake' to the `Invoking automake' node. Like
4562 2005-01-27 Akim Demaille <akim@epita.fr>
4564 * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
4567 2005-01-24 Akim Demaille <akim@epita.fr>
4569 * lib/Automake/FileUtils.pm: Rename filename as file_name to be
4570 consistent with the terminology of the GNU coding standards.
4572 (update_file): Accept a $force argument, so that --force always
4573 updates the time stamps.
4575 2005-01-23 Alexandre Duret-Lutz <adl@gnu.org>
4577 * doc/automake.texi (How the Linker is Chosen): Explain how the
4578 linker is chosen without diagram, and update to match the code.
4579 Suggestion from Adrian Bunk.
4581 2005-01-16 Alexandre Duret-Lutz <adl@gnu.org>
4583 * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
4584 Process all words of $MAKEFLAGS when checking for -k.
4585 * tests/check4.test: New file.
4586 * tests/Makefile.am (TESTS): Add check4.test.
4587 Report from Eric Blake.
4589 2005-01-13 Alexandre Duret-Lutz <adl@gnu.org>
4591 * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
4592 AM_INIT_AUTOMAKE if the version passed is incorrect.
4593 * tests/version8.test: New file.
4594 * tests/Makefile.am (TESTS): Add version8.test.
4596 2005-01-09 Alexandre Duret-Lutz <adl@gnu.org>
4598 * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
4599 m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
4600 m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
4601 m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
4602 m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
4603 m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
4604 m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
4605 m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
4606 license that is used in aclocal.m4. Relicensing backed by RMS.
4608 * doc/automake.texi (A Library, LIBOBJS): Mention that empty
4609 libraries are not portable.
4611 2005-01-05 Akim Demaille <akim@epita.fr>
4613 * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
4614 * tests/aclocal5.test (MORE_DEFS): Rename as...
4615 (AM_TEST): this so that undefined macros are caught.
4616 And make it an alias of AC_SUBST.
4618 Reported by Martin Bravenboer.
4620 2005-01-03 Alexandre Duret-Lutz <adl@gnu.org>
4622 Fix handling of per-target flags in link rules.
4623 * automake.in (define_per_target_linker_variable): New function.
4624 (handle_programs, handle_ltlibraries): Use it.
4625 (%link_languages): New map.
4626 (register_language): Fill it.
4627 * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
4628 $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
4629 define_per_target_linker_variable if needed.
4630 * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
4631 $(%XPROGRAM%_LDFLAGS).
4632 * doc/automake.texi (Program and Library Variables): Mention
4633 AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
4634 and maude_LIBTOOLFLAGS.
4635 * tests/libtool9.test: New file.
4636 * tests/Makefile.am (TESTS): Add it.
4637 * NEWS: Explain the backward incompatibility.
4638 Report from Akim Demaille.
4640 2005-01-01 Alexandre Duret-Lutz <adl@gnu.org>
4642 * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
4643 specifications with shell variables.
4644 (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
4645 AC_CONFIG_FILES for this explanation.
4646 * automake.in (substitute_ac_subst_variables_worker,
4647 substitute_ac_subst_variables): Mew functions.
4648 (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
4649 to ignore dependencies that contain unAC_SUBSTed shell variables.
4650 (handle_configure): Likewise, do not output rules for
4651 AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
4652 unAC_SUBSTed contain shell variables.
4653 * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
4654 * tests/output11.test, tests/output12.test: New files.
4655 * tests/Makefile.am (TESTS): Add output11.test and output12.test.
4657 * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
4658 * automake.in ($gen_copyright, version): Likewise.
4662 Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
4664 Copying and distribution of this file, with or without modification, are
4665 permitted provided the copyright notice and this notice are preserved.