1 2009-04-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 parallel-tests: LOG_COMPILER for tests without known extension.
4 * automake.in (handle_tests): If we don't match a known
5 extension, define `LOG_COMPILER' as `$(LOG_COMPILE)
6 $(AM_LOG_FLAGS) $(LOG_FLAGS)' and use it as %COMPILE% in check2.
7 * doc/automake.texi (Simple Tests using parallel-tests):
8 Document it. In the examples, suggest using the AM_*LOG_FLAGS
9 flags in Makefile.am rather than the variables without `AM_'
11 * lib/Automake/tests/Makefile.am (AM_PL_LOG_FLAGS): Renamed from
12 (PL_LOG_FLAGS): ... this variable, intended for the user.
13 * tests/parallel-tests7.test: Extend test.
15 Suggestion by Akim Demaille.
17 More node renaming in the manual.
18 * doc/automake.texi (Top): Adjust menu to ...
19 (API Versioning): ... this node being renamed from ...
20 (API versioning): ... this, and ...
21 (Wildcards): ... this being renamed from ...
22 (wildcards): ... this.
25 2009-04-03 Andreas Schwab <schwab@linux-m68k.org>
27 * tests/instdir-java.test: Don't require gcj. Skip if javac is
30 2009-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
32 Fix testsuite failures due to nonexistent `dirlist' entries.
33 * tests/defs.in: When parsing `$aclocaldir/dirlist', only add
34 existing directories D to aclocal `-I D' flags, as aclocal
35 errors on nonexisting directories.
36 Report and analysis by Andreas Schwab.
38 2009-03-31 Akim Demaille <akim@lrde.epita.fr>
41 * doc/automake.texi (Simple Tests using parallel-tests): Fix
44 2009-03-31 Jim Meyering <meyering@redhat.com>
46 Avoid test failure due to paranoid TAR_OPTIONS envvar setting.
47 * tests/txinfo18.test: Don't let a TAR_OPTIONS=--keep-old-files
48 environment variable setting cause test failure. Fixed in
51 Use more common spelling in diagnostic: s/canonic/canonical/.
52 * automake.in (check_typos): s/canonic/canonical/.
54 2009-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
56 * configure.ac, NEWS: Bump version to 1.10c.
58 2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
60 * configure.ac, NEWS: Bump version to 1.10b.
61 * doc/automake.texi (Releases): Add statistics for 1.10b.
65 Reorganize nodes in the manual.
66 Avoid texinfo sectioning commands without nodes, by either
67 introducing new nodes along with menus, or using headings
68 commands. Adjust all references.
69 * doc/automake.texi: Throughout the manual, adjust references to
70 new or changed node names. Rename `non-configured' to
71 `unconfigured', capitalize headings and section names better.
72 (Top): List new menus and nodes introduced below.
73 (Length Limitations): Renamed from ...
74 (Length limitations): ... this.
75 (aclocal Options): Renamed from ...
76 (aclocal options): ... this.
77 (Macro Search Path): Renamed from ...
78 (Macro search path): ... this. Rename subsubsections to
80 (Public Macros, Obsolete Macros, Private Macros): Renamed from
81 (Public macros, Obsolete macros, Private macros): ... these.
82 (Conditional Subdirectories): Introduce sub menu and split ...
83 (SUBDIRS vs DIST_SUBDIRS, Subdirectories with AM_CONDITIONAL)
84 (Subdirectories with AC_SUBST, Unconfigured Subdirectories):
85 ... into these new nodes. Adjust subsection names to node
87 (Conditional Sources): Rename subsubsections to subsubheadings.
88 (Conditional Programs): Likewise.
89 (Program Variables): Renamed from ...
90 (Program variables): ... this.
91 (Libtool Issues): Introduce sub menu and split into ...
92 (Required file ltmain.sh not found)
93 (Objects created both with libtool and without): ... these new
95 (Other Objects, Built Sources): Renamed from ...
96 (Other objects, Built sources): ... these.
97 (Built Sources Example): Renamed from ...
98 (Built sources example): this. Rename unnumberedsubsecs to
100 (Man Pages): Renamed from ...
101 (Man pages): ... this.
102 (Install): Introduce sub menu and split into ...
103 (Basics of Installation, The Two Parts of Install)
104 (Extending Installation, Staged Installs)
105 (Install Rules for the User): ... these new nodes.
106 (Dist): Introduce sub menu and split into ...
107 (Basics of Distribution, Fine-grained Distribution Control)
108 (The dist Hook, Checking the Distribution)
109 (The Types of Distributions): ... these new nodes.
110 (Tests): Introduce sub menu and split into ...
111 (Simple Tests, Simple Tests using parallel-tests, DejaGnu Tests)
112 (Install Tests): ... these new nodes.
113 (Conditionals): Move the portability paragraph up, introduce sub
114 menu and split into ...
115 (Usage of Conditionals, Limits of Conditionals): ... these new
116 nodes. Link to several sections throughout the manual that deal
117 with specific usage of conditionals.
118 (CVS): Rename subsections to subheadings.
119 (maintainer-mode): Likewise.
120 (Limitations on File Names): Renamed from ...
121 (limitations on file names): ... this.
122 (Flag Variables Ordering): Rename subsections to subheadings.
123 (Renamed Objects): Renamed from ...
124 (Renamed objects): ... this.
125 (Dependency Tracking Evolution): Introduce sub menu and split
127 (First Take on Dependencies, Dependencies As Side Effects)
128 (Dependencies for the User, Techniques for Dependencies)
129 (Recommendations for Tool Writers)
130 (Future Directions for Dependencies): ... these new nodes.
131 Report by Karl Berry.
133 2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
135 Update AM_RECURSIVE_TARGETS for parallel-tests.
136 * lib/am/check.am [PARALLEL_TESTS] (AM_RECURSIVE_TARGETS):
137 Add check, recheck, check-html, recheck-html.
139 2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
140 Akim Demaille <akim@lrde.epita.fr>
142 parallel-tests: New target recheck-html.
143 * lib/am/check.am [PARALLEL_TESTS] (recheck-html): New phony,
144 recursive target. Factor common implementation with
146 * doc/automake.texi (Tests): Document recheck-html.
147 * tests/parallel-tests2.test: Test it.
149 2009-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
150 Akim Demaille <akim@lrde.epita.fr>
152 parallel-tests: redo lazy checking: recheck and RECHECK_LOGS.
153 Replace the LAZY_TEST_SUITE API with a simpler yet more powerful
154 one: RECHECK_LOGS specifies those tests which are to be removed
155 in any case before testing. Provide a `recheck' convenience
156 target to set RECHECK_LOGS to all failed and unexpectedly passed
157 tests. Document several ways to limit the set of tests run.
158 * lib/am/check.am [PARALLEL_TESTS] (RECHECK_LOGS): New variable,
159 default to $(TESTS_LOGS).
160 (check-TESTS): Remove $(RECHECK_LOGS) not $(TEST_LOGS). Drop use
162 ($(TEST_SUITE_LOG)): Do not output note about lazy rerun, as
163 LAZY_TEST_SUITE is gone.
164 (recheck): New target.
165 (recheck-am, recheck-TESTS): New internal targets.
166 * doc/automake.texi (Tests): Update @vindex for TESTS and
167 TEST_LOGS. Replace description of LAZY_TEST_SUITE with a list
168 of ways the set of tests to be run can be modified. Document
169 RECHECK_LOGS and the recheck target.
170 * tests/defs.in: Unset RECHECK_LOGS not LAZY_TEST_SUITE.
171 * tests/parallel-tests.test: Adjust, replacing LAZY_TEST_SUITE
172 with corresponding RECHECK_LOGS settings.
173 * tests/parallel-tests9.test: New tests.
174 * tests/Makefile.am: Update.
175 Suggestion and different implementation by Akim Demaille.
177 parallel-tests: do not mark check-TESTS as `.MAKE'.
178 * lib/am/check.am [PARALLEL_TESTS] (.MAKE): Remove check-TESTS.
179 This rule removes files, which should not be executed with BSD
182 parallel-tests: warn about $(srcdir), $(top_srcdir) in TESTS.
183 * automake.in (handle_tests): Warn about portability issue
184 concerning generated TESTS files listed with a `$(srcdir)/'
185 or `$(top_srcdir)/' prefix.
186 * doc/automake.texi (TESTS): Document this issue. Mention that
187 the parallel-tests driver is still experimental.
188 * tests/parallel-tests8.test: New test.
189 * tests/Makefile.am: Update.
191 check-html: Always create HTML output, note conversion failure.
192 * lib/am/check.am (check-html): Create `$(TEST_SUITE_HTML)' in
193 any case. Exit unsuccessfully if HTML creation failed.
194 * tests/parallel-tests2.test: Amend test to expose this.
196 2009-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
198 parallel-tests: per-extension test driver: <EXT>_LOG_COMPILER.
199 For test files with extension <ext>, introduce the internal
200 variable <EXT>_LOG_COMPILE, which expands to
201 $(<EXT>_LOG_COMPILER) $(AM_<EXT>_LOG_FLAGS) $(<EXT>_LOG_FLAGS).
202 Turn also the lib/Automake/tests testsuite over to the new
204 * doc/automake.texi (Tests): Document `EXT_LOG_COMPILER' and
206 * lib/am/check2.am: Insert `%COMPILE%' right before test.
207 * automake.in (handle_tests): Substitute `COMPILE' for check2,
208 empty for tests without extension, and `$(ext_LOG_COMPILE)' for
209 extension `ext'. In the latter case, define it from the public
211 * configure.ac (AM_INIT_AUTOMAKE): Use `parallel-test' globally.
212 * tests/Makefile.am (AUTOMAKE_OPTIONS): Remove, not needed here
214 * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Split ...
215 (PL_LOG_COMPILER, PL_LOG_FLAGS): ... into these new variables.
216 (TESTS_EXTENSIONS): New variable, initialize to `.pl'.
217 * tests/parallel-tests7.test: New test.
218 * tests/Makefile.am: Update.
219 Suggestion by Akim Demaille.
221 2009-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
223 parallel-tests: also record logs of SKIPped tests.
224 * lib/am/check.am [PARALLEL_TESTS] ($(TEST_SUITE_LOG)): Record
226 Suggested by Jim Meyering.
228 Minor optimization in parallel-tests text box creation.
229 * lib/am/check.am [PARALLEL-TESTS] (am__text_box): Use only one
230 awk invocation, rather than several tools, to create a text box.
231 Suggestion from Akim Demaille.
233 2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
235 Rewrite maintainer-check in separate tests, parallelizable.
236 * Makefile.am (sc_diff_automake_in_automake, sc_perl_syntax)
237 (sc_no_brace_variable_expansions, sc_rm_minus_f)
238 (sc_no_for_variable_in_macro, sc_mkinstalldirs)
239 (sc_pre_normal_post_install_uninstall, sc_perl_no_undef)
240 (sc_perl_no_split_regex_space, sc_cd_in_backquotes)
241 (sc_cd_relative_dir, sc_perl_at_uscore_in_scalar_context)
242 (sc_perl_local_no_parens, sc_perl_local)
243 (sc_AMDEP_TRUE_in_automake_in, sc_tests_make_without_am_makeflags)
244 (sc_tests_plain_make, sc_tests_plain_autoconf)
245 (sc_tests_plain_autoupdate, sc_tests_plain_automake)
246 (sc_tests_here_document_format, sc_tests_Exit_not_exit)
247 (sc_tests_automake_fails, sc_tests_plain_aclocal)
248 (sc_tests_plain_perl, sc_tests_required_after_defs)
249 (sc_tests_overriding_macros_on_cmdline, sc_tests_plain_sleep)
250 (sc_tests_plain_egrep_fgrep, sc_mkdir_p, sc_perl_at_substs)
251 (sc_unquoted_DESTDIR, sc_tabs_in_texi, sc_at_in_texi): New rules,
252 all phony, all listed in ...
253 (syntax_check_rules): ... this new variable and split out from ...
254 (maintainer-check): ... this rule. Depend on $(syntax_check_rules).
256 * Makefile.am (maintainer-check): Do not complain if DESTDIR is
257 passed as argument to `make'.
259 * doc/automake.texi (Cross-Compilation): Fix underfull hbox.
261 Sync auxiliary files from upstream.
262 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
263 lib/texinfo.tex: Sync from upstream.
265 2009-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
267 manual: minor cleanups.
268 * doc/automake.texi (Yacc and Lex): Adjust spacing in example.
269 (Mixing Fortran 77 With C and C++): Drop unneeded @page breaks.
271 Sane (un)install for empty directory variables.
272 This patch fixes all install and uninstall rules to behave
273 sanely when $(wheredir) is the empty string, but $(where_HOW) is
274 nonempty, for all kinds of values of `where' and `HOW'.
275 * lib/am/data.am (install-%DIR%%PRIMARY%, uninstall-%DIR%%PRIMARY%):
276 Do not touch the install tree if the corresponding directory variable
277 $(%NDIR%dir) is empty.
278 * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Likewise.
279 * lib/am/libs.am (install-%DIR%LIBRARIES, uninstall-%DIR%LIBRARIES):
281 * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Likewise.
282 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES, uninstall-%DIR%LTLIBRARIES):
284 * lib/am/mans.am (install-man%SECTION%, uninstall-man%SECTION%):
286 * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS):
288 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
290 * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS):
292 * lib/am/texinfos.am (install-dvi-am, install-html-am, install-pdf-am)
293 (install-ps-am, uninstall-dvi-am, uninstall-html-am, uninstall-pdf-am)
294 (uninstall-ps-am): Likewise.
295 * tests/instdir2.test, tests/instdir-java.test,
296 tests/instdir-lisp.test, tests/instdir-ltlib.test,
297 tests/instdir-prog.test, tests/instdir-python.test,
298 tests/instdir-texi.test: New tests.
299 * tests/Makefile.am: Update.
301 Suggestion by Akim Demaille.
303 Ensure that empty directory variables work with empty content variables.
304 This test ensures that, if both $(wheredir) and $(where_HOW) are
305 the empty string, then the `install' and `uninstall' rules behave
306 sanely, for several directory variables `wheredir' and several
308 * tests/instdir.test: New test.
309 * tests/Makefile.am: Update.
311 2009-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
313 Use --tag=FC with libtool also for .f90 files.
314 * automake.in: Set 'libtool_tag' for language `fc'.
315 * tests/fort5.test: Grep for the tag.
317 Report by John R. Cary.
319 2009-03-22 Peter Breitenlohner <peb@mppmu.mpg.de>
320 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
323 DISTFILES containing a directory and files in that directory.
324 When the source tree contains non-writable files or directories
325 (as happens during distcheck), and directories or entries
326 thereof are listed multiple times in variables to be
327 distributed, then the corresponding directories below $(distdir)
328 need to be made writable recursively. Since file modes should
329 not change, they need to be copied recursively using `cp -f'.
330 * lib/am/distdir.am: Handle this situation.
331 * tests/distdir.test: Extend test to those cases.
333 Report by Peter Breitenlohner.
335 2009-03-22 Jim Meyering <meyering@redhat.com>
337 Fix a documentation typo.
338 * doc/automake.texi (Headers): Clarify the note telling when it's
339 better not to use noinst_HEADERS.
341 2009-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
343 Define AM_RECURSIVE_TARGETS, for gnulib's GNUmakefile.
344 This new macro lists all public targets which invoke `make'
345 recursively, or depend on targets which do so. It allows to
346 prevent parallelism selectively, when multiple targets are
347 passed on the `make' command line.
348 * lib/am/distdir.am [%?SUBDIRS%] (AM_RECURSIVE_TARGETS): New
350 * lib/am/subdirs.am (AM_RECURSIVE_TARGETS): Likewise.
351 * lib/am/tags.am [%?SUBDIRS%] (AM_RECURSIVE_TARGETS):
354 2009-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
356 Fix LAZY_TEST_SUITE handling and $(TEST_SUITE_LOG) recreation.
357 * lib/am/check.am (check-TESTS): Expand `$(TEST_LOGS)' only once
358 in the rule command, for systems with low command line limits.
359 Remove $(TEST_SUITE_LOG) even in LAZY_TEST_SUITE mode.
360 ($(TEST_SUITE_LOG)): Always recreate $(TEST_SUITE_LOG). Mention
361 lazy mode in the summary output.
362 * tests/parallel-tests.test: Test LAZY_TEST_SUITE semantics.
364 2009-03-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
366 Fix parallel-tests with empty $(TESTS) for BSD make.
367 * lib/am/check.am [PARALLEL_TESTS] ($(TEST_SUITE_LOG)): Ignore
368 empty line stemming from empty $(TEST_LOGS), to avoid counting
370 (check-TESTS): If `$(TESTS)' is empty, override TEST_LOGS to be
371 empty, rather than `.log', for BSD make.
372 * tests/parallel-tests6.test: New test.
373 * tests/Makefile.am: Update.
375 Mark check-html and check-TESTS as recursive for BSD make.
376 * lib/am/check.am [PARALLEL_TESTS] (.MAKE): Add check-TESTS
377 and check-html prerequisites.
379 Match XFAIL_TESTS correctly with Solaris make.
380 * lib/am/check.am [PARALLEL_TESTS]: VPATH rewriting may have
381 changed test names, so srcdir needs to be taken into account
382 explicitly when checking against the list of tests expected
383 to fail. Fixes spurious FAILures from XFAIL_TESTS.
385 Use append mode to capture parallel test output.
386 * tests/lisp8.test: Use append mode for output from `make -j',
387 to avoid dropped lines.
388 * tests/parallel-tests3.test: Likewise.
390 parallel-tests: Fix summary output.
391 * lib/am/check.am (am__text_box): Fix unportable sed script,
392 replacing `\n' in the right hand side of an `s' command with
393 a literal newline. Kudos to Bruno Haible for the newline idea.
394 * tests/parallel-tests.test: Update test to expose this.
396 2009-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
398 Overhaul of tests/README.
399 * tests/README: General overhaul. Mention parallel test suite
400 execution, the test-suite.log file; document `Exit' vs. `exit',
401 `defs' vs. `defs-p', the naming of `parallel-tests' tests.
402 * README: Simplify, point to tests/README.
404 Documentation for the parallel-tests driver.
405 * doc/automake.texi (Tests, Options): Document the `parallel-tests'
406 option, including new features of the test driver.
409 New tests for `parallel-tests'.
410 * tests/parallel-tests.test: New file, to expose a bunch of
411 features of `parallel-tests': VERBOSE, clean, TEST_SUITE_LOG,
412 test dependencies, DISABLE_HARD_ERRORS.
413 * tests/parallel-tests2.test: New file, test check-html.
414 * tests/parallel-tests3.test: New file, test concurrency.
415 * tests/parallel-tests4.test: New file, test suffix rules.
416 * tests/parallel-tests5.test: New file, demonstrate compile/test
418 * tests/defs.in: Add a `required' check for rst2html.
419 * tests/Makefile.am: Update.
421 parallel-tests: Ensure backward-compatible semantics.
422 For each test in Automake's test suite that uses TESTS, generate
423 an identical one that uses the `parallel-tests' option, for
424 coverage of backward-compatible functionality.
425 * tests/gen-parallel-tests: New file, generates distributed
426 Makefile.am snippet tests/parallel-tests.am to list all tests
427 that use the TESTS interface but not yet the `parallel-tests'
428 option, with names mangled to use suffix `-p.test', in ...
429 (parallel_tests): ... this new make macro.
430 * tests/Makefile.am ($(srcdir)/parallel-tests.am)
431 ($(parallel_tests), defs-p): New rules.
432 (TESTS): Add check11.test and $(parallel_tests).
433 (check_SCRIPTS): Add defs-p, $(parallel_tests).
434 (check-clean-local): Remove `defs-p'.
435 (EXTRA_DIST): Distribute gen-parallel-tests.
436 (MAINTAINERCLEANFILES): New variable, remove $(parallel_tests).
437 * bootstrap: Generate parallel-tests.am.
438 * tests/check8.test: Check for circular dependencies in rules.
439 * tests/check11.test: New test, check that SKIPs are not counted
441 * tests/defs.in: Unset DISABLE_HARD_ERRORS, LAZY_TEST_SUITE,
442 VERBOSE, so the tests are not influenced by the way our test
445 2009-03-08 Akim Demaille <akim@lrde.epita.fr>
446 Jim Meyering <jim@meyering.net>
447 Benoit Sigoure <tsuna@lrde.epita.fr>
448 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
450 Parallel test execution: new option `parallel-tests'.
451 * automake.in (handle_tests): Set new conditional PARALLEL_TESTS
452 when reading check.am. Handle option `parallel-tests' and all
453 its new semantics. Define macros TEST_SUFFIXES, TEST_SUITE_LOG,
454 TEST_SUITE_HTML, TEST_LOGS, TEST_LOGS_TMP, suffix rules if
455 applicable, and per-target rules for other tests. Add all log
456 files to %clean_files at the `MOSTLY_CLEAN' level.
457 * lib/Automake/Options.pm (_process_option_list): Accept
459 * lib/am/check.am [!PARALLEL_TESTS] (check-TESTS): Move existing
460 testsuite driver under this new conditional.
462 (am__rst_title, am__rst_section, am__text_box am__sh_e_setup)
463 (am__check_pre, am__check_post): New internal macros.
464 ($(TEST_SUITE_LOG), check-TESTS, .log.html, check-html): New
466 * lib/am/check2.am: New file.
467 * lib/am/Makefile.am (dist_am_DATA): Add check2.am.
468 * tests/Makefile.am (AUTOMAKE_OPTIONS): Use `parallel-tests'.
469 (clean-local): Renamed from distclean-local.
470 * tests/defs.in: Drop VERBOSE handling, not needed here any more.
472 2009-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
474 Rename `silent' mode to `silent-rules' mode.
475 * automake.in (define_verbose_var, verbose_flag)
476 (define_verbose_tagvar, handle_options, handle_languages)
477 (handle_configure, parse_arguments): Rename the `silent' option
478 to `silent-rules', so it coincides with the `--silent-rules'
479 command line option; adjust all code and comments.
480 * lib/Automake/Options.pm (_process_option_list): Likewise.
481 * doc/automake.texi (Invoking Automake, Libtool Flags, Options):
484 * tests/dollarvar.test, tests/silent.test, tests/silent2.test,
485 tests/silent3.test, tests/silent4.test, tests/silent5.test,
486 tests/silent6.test, tests/silent7.test: Likewise.
487 Suggestion by Jan Engelhardt.
489 2009-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
491 `silent' mode unconditionally overrides portability-recursive.
492 * automake.in (parse_arguments): Don't handle a global `silent'
493 option here; instead, ...
494 (handle_options): ... handle the "normal" `silent' option here.
495 Override `portability-recursive' here, at the last point we deal
496 with options, instead ...
497 * lib/Automake/Options.pm (_process_option_list): ... of here.
498 * tests/silent6.test: Replace unportable make snippet, remove
499 FIXME note, add more test cases of options passed in the various
502 Drop extra line from compile rules when `silent' is not used.
503 * lib/am/depend2.am [!%FASTDEP%]: Only use the `%VERBOSE%
504 @AM_BACKSLASH@' extra line if ?VERBOSE?.
505 Report by Ralf Corsepius.
507 2009-03-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
509 Keep `--silent-rules' across triggered automake reruns.
510 * automake.in (usage): Reformat to be a bit clearer.
511 (handle_configure): Remove substitutions %STRICTNESS% and
512 %USE-DEPS% in favor of a new substitution %AUTOMAKE-OPTIONS%
513 that carries over all needed flags.
514 * lib/am/configure.am (%MAKEFILE-IN%): Adjust rule.
515 * tests/flavor.test: New test, to ensure --$flavor (gnu,
516 gnits, foreign, cygnus), --ignore-deps, and --silent-rules are
517 preserved across automake reruns.
518 * tests/Makefile.am: Update.
520 2009-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
522 Provide variables for silencing of user rules.
523 * automake.in (handle_languages): Always define `AM_V_GEN' and
525 * doc/automake.texi (Options): Document these flags.
526 * tests/silent7.test: New test.
527 * tests/Makefile.am: Update.
529 Redo variable naming for `silent' machinery.
530 The public variables are named `AM_V_' plus the compiler
531 short-hand now, e.g.: AM_V_CC, AM_V_CXXLD, AM_V_GEN. The
532 dispatch variables are internal details and begin with
534 * automake.in (verbose_var): Update comment.
535 (verbose_private_var): New function. Order functions so that
536 ones not needed outside this section are listed first.
537 (verbose_dispatch): Remove, no need to factor this.
538 (define_verbose_var, define_verbose_libtool): Use
540 (define_verbose_tagvar): Likewise; and simplify.
541 Report by Jan Engelhardt.
543 Let -Wportability turn on/off the portability-recursive channel.
544 * lib/Automake/ChannelDefs.pm (switch_warning): switch
545 `portability-recursive' channel as well if changing the
546 `portability' channel.
547 * tests/dollarvar2.test: New test.
548 * tests/Makefile.am: Update.
550 2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
552 New automake command line option `--silent-rules'.
553 * automake.in (parse_arguments): Accept `--silent-rules; let it
554 override command line warning settings.
555 (usage): Document it.
556 * doc/automake.texi (Invoking Automake): Document it.
558 * tests/dollarvar.test: Also test `--silent-rules'.
559 * tests/pr300-ltlib.test: Use `$MAKE V=1' to enable verbose
560 output, which is matched later in the test.
561 * tests/silent6.test: New test.
562 * tests/Makefile.am: Update.
564 Documentation and tests for the `silent' option.
566 * doc/automake.texi (Invoking Automake): `silent' turns off some
567 portability warnings.
568 (Libtool Flags): `silent' silences libtool.
569 (Options): Document the `silent' flag.
570 * tests/dollarvar.test, tests/silent.test, tests/silent2.test,
571 tests/silent3.test, tests/silent4.test, tests/silent5.test: New
573 * tests/Makefile.am: Update.
574 * Makefile.am (maintainer-check): Ignore `DESTDIR' and `V' when
575 checking for make variables that should not be overridden from
578 2009-03-07 Jan Engelhardt <jengelh@medozas.de>
579 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
581 Implement `silent' build rules.
582 * automake.in (ccer): New field in the language structure.
583 Initialize it for all registered languages.
584 (verbose_var, verbose_flag, verbose_dispatch)
585 (silent_flag, define_verbose_var, define_verbose_tagvar)
586 (define_verbose_libtool): New functions.
587 (handle_languages, handle_programs, handle_libraries)
588 (handle_ltlibraries, handle_configure)
589 (define_compiler_variable, define_linker_variable)
590 (define_per_target_linker_variable): Use them where appropriate
591 to define variables to implement the silent output machinery.
592 * lib/Automake/Options.pm (_process_option_list): Accept
593 `silent', turning off `portability-recursive'.
594 * lib/am/depend2.am: Add %VERBOSE% and %SILENT% prefixes where
596 * lib/am/lex.am: Likewise.
597 * lib/am/library.am: Likewise.
598 * lib/am/ltlibrary.am: Likewise.
599 * lib/am/program.am: Likewise.
600 * lib/am/yacc.am: Likewise.
601 * m4/init.m4 (AM_INIT_AUTOMAKE): Substitute, but do not define,
603 * tests/defs.in: Unset `V', to avoid influencing inner tests.
605 2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
607 New channel `portability-recursive'.
608 Add new channel for portability warnings about recursive make
609 variable expansions `$(var1$(var2))'. Enable it alongside
611 * lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Register
612 channel `portability-recursive'.
613 * lib/Automake/Variable.pm (_VARIABLE_CHARACTERS)
614 (_VARIABLE_RECURSIVE_PATTERN): New variables.
615 (check_variable_expansions): Diagnose recursive variable
616 expansions through the new channel.
618 2009-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
622 2009-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
624 Ignore warnings from autom4te about Libtool macros.
625 * tests/ltinstloc.test: When testing for presence of warnings,
626 filter out any that are not interesting for this test, e.g.,
627 warnings about installed files or about bogusly named cache
628 variables in libtool.m4, emitted by recent Autoconf when older
631 2009-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
633 Relax depcomp test for MSVC to not require minuso.
634 * m4/depend.m4 (_AM_DEPENDENCIES): When checking the msvisualcpp
635 and msvcmsys depmodes, do not require `-c -o' to work just yet.
636 It is not needed by the depcomp script for these depmodes, and
637 works around the ordering issue between the tests.
638 Report by Peter Rosin.
640 2009-03-09 Peter Rosin <peda@lysator.liu.se>
642 * tests/compile2.test: Fix typo.
644 2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
646 Improve NetBSD 'make -n' output for many standard targets.
647 * automake.in (handle_tags): Let .MAKE depend on
648 `tags-recursive' and `ctags-recursive' if appropriate.
649 (handle_all): Likewise for `all'.
650 (do_check_merge_target): Likewise for `check-am' and `check'.
651 * lib/am/ansi2knr.am (.MAKE): Depend on %ANSI2KNR-DIR%/ansi2knr.
652 * lib/am/install.am [%?maybe_BUILT_SOURCES%] (.MAKE): Depend on
654 * tests/maken3.test, tests/maken4.test: New tests.
655 * tests/Makefile.am: Update.
657 Improve `make -n dist' and `make -n distcheck' for GNU make.
658 Ensure that `make -n dist' and `make -n distcheck' do not change
659 files, due to GNU make executing rules containing `$(MAKE)'.
660 * lib/am/distdir.am (distdir): Separate the creation of
661 `$(distdir)/$$subdir' for `$(DIST_SUBDIRS)' and the recursion
662 into the `$(DIST_SUBDIRS)' in two separate rule commands.
663 (distcheck): Exit recursive rule early when run with `make -n',
664 as detected by a witness file.
665 * tests/maken.test, tests/maken2.test: New tests.
666 * tests/Makefile.am: Update.
669 2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
671 Solaris make testsuite fixes.
672 * tests/check10.test: When a rule fails, Solaris make will
673 output the complete command that failed; in this case the test
674 suite driver. Adjust the test to not bogusly match lines from
675 the driver, rather than its output.
676 * tests/distcleancheck.test: Avoid triggering VPATH rewriting,
677 not desirable in this test.
678 * tests/specflg10.test: Use BUILT_SOURCES to specify an
679 intermediate target, so Solaris make knows what to do.
681 testsuite: SKIP compile tests if configure found no compiler.
682 * tests/depend6.test: configure will exit 77 if AC_PROG_CC found
683 no working compiler. Allow the test to be SKIPped in that case.
684 * tests/postproc.test: Likewise.
685 * tests/pr243.test: Likewise.
686 * tests/pr266.test: Likewise.
688 Fix maintainer-check fallout.
689 * tests/compile2.test: Use `Exit', not `exit'.
691 2009-03-07 Peter Breitenlohner <peb@mppmu.mpg.de>
692 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
694 Extract correct man section from files in man_MANS.
695 * lib/am/mans.am: Extract correct man section in the presence of
696 multiple dots in the file base name and/or directory components.
697 * tests/man5.test: New test case.
698 * tests/Makefile.am: Update.
700 2009-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
702 * doc/automake.texi (maintainer-mode): Fix logic in
703 AM_MAINTAINER_MODE description.
705 Report by Daniel Kahn Gillmor.
707 2009-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
709 * lib/gnupload: Change conffile name to `.gnuploadrc'.
711 2009-03-04 William Pursell <bill.pursell@gmail.com>
713 Replace bare `automake' with `@command{automake}' or `Automake'.
714 * doc/automake.texi: Avoid bare `automake' in the manual,
715 replacing occurrences with `@command{automake}' when the command
716 is meant, and `Automake' when speaking about the software
719 2009-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
721 * lib/depcomp: Various portability and quoting nits.
723 reformat gnupload script.
724 * lib/gnupload: Reformat and reindent.
727 * lib/gnupload (conffile): New variable. Use throughout.
728 (dry_run): Use `false' and `:' values. Show, don't execute,
729 gpg signing commands upon --dry-run.
730 (usage): Typo and formatting fixes. Mention that commands are
732 (argument loop): Factorize a bit, fix quoting.
733 (dprint, mkdirective, mksymlink, upload): Formatting and
736 2009-03-04 Sergey Poznyakoff <gray@gnu.org>
738 Various gnupload improvements.
739 Add support for uploading to download.gnu.org.ua.
740 Add support for a .gnupload configuration file.
741 Support creating and removing symlinks.
742 Allow for several operations in a single invocation.
743 Add debugging features.
744 * lib/gnupload: New options --delete, --symlink, --rmsymlink,
745 --symlink-regex, --dry-run; support `--' to separate options and
746 commands from files. New target download.gnu.org.ua. Expand
747 `.gnupload' file contents before command line arguments.
749 (dprint, mkdirective, mksymlink, upload): New functions.
752 2009-03-03 Peter Rosin <peda@lysator.liu.se>
754 Add depmode=msvcmsys for Microsoft Visual C++ on MSYS.
755 * lib/depcomp [msvisualcpp]: Fork fewer processes. Filter out
756 libtool in the preprocessor invocation (as is done in
757 depmode=cpp). Silence compiler stderr.
758 [msvcmsys]: New depmode as a derivative of depmode=msvisualcpp.
759 msvcmsys transforms any backslashes into forward slashes to
760 make the grep in depend.m4 match, instead of the "cygpath -u"
761 that is used in msvisualcpp.
763 2009-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
764 Peter Rosin <peda@lysator.liu.se>
766 Fix w32 path handling in the `compile' script.
767 * lib/compile: Handle colons and backslashes in win32 paths.
768 * tests/compile2.test: New test.
769 * tests/Makefile.am: Update.
770 Report and initial patch by Peter Rosin.
772 2009-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
774 Fix `use constant' usage for MSYS Perl 5.6.0.
775 * automake.in (QUEUE_MESSAGE, QUEUE_CONF_FILE, QUEUE_LOCATION)
776 (QUEUE_STRING): Define using one `use constant' each; as perl
777 5.6.0 (on MSYS) does not understand `use constant { ... }'.
779 Report by Peter Rosin.
781 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
783 Fix recursive html and install-* doc rules for BSD make.
784 * automake.in (%required_targets): Add html-am,
785 install-html-am, install-dvi-am, install-pdf-am, install-ps-am,
787 * tests/txinfo32.test: New test.
788 * tests/Makefile.am: Update.
791 * lib/am/distdir.am (distcheck): Fix typo in comment.
793 Ignore generated files below doc/amhello for git.
794 * doc/amhello/.gitignore: New file.
796 2009-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
798 * doc/automake.texi (Program variables): Add cross reference to
799 `Flag Variables Ordering' node.
800 Report by Karl Berry.
802 2009-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
804 Fix mmodely.test to work on Solaris 10.
805 * tests/mmodely.test: Define yylex, to satisfy needed symbol in
806 libfl. Return from main instead of using exit, undeclared.
808 Report by Chris Hoogendyk.
810 2009-01-30 Karl Berry <karl@freefriends.org>
812 * lib/gnupload: Add download URL to --help output.
814 2009-01-23 Eric Blake <ebb9@byu.net>
816 Use no-arg macros via AC_REQUIRE for consistency.
817 * m4/init.m4 (AM_INIT_AUTOMAKE): Require, rather than directly
818 expand, AM_PROG_INSTALL_SH and AM_PROG_INSTALL_STRIP.
819 * configure: Regenerate.
821 2009-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
823 Bump copyright years.
824 * aclocal.in (write_aclocal, version): Bump copyright years.
825 * automake.in (gen_copyright, version): Likewise.
826 * doc/automake.texi: Likewise.
828 2008-12-29 Chris Pickett <chris.pickett@mail.mcgill.ca> (tiny change)
830 * doc/automake.texi (LIBOBJS): Clarify overriding of
834 2008-12-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
836 Revamp semantics for `missing help2man' and manpage distribution.
837 Previously, `missing help2man' would create a missing man page
838 containing an error message, and exit 1. This does not play
839 well with `make': the next run will see this particular man page
840 as being up to date, and will only error out on the next
841 generated man page, if any; repeat until all pages are done.
842 This patch changes `missing' to exit successfully in this case,
843 but `make dist' will ensure that no such man pages are packaged.
844 * lib/missing: Exit successfully even if we create a replacement
845 page due to missing help2man.
846 * automake.in (make_paragraphs): Define %HAVE-MANS% to be true
847 if this makefile deals with man pages.
848 * lib/am/distdir.am (distdir): If %INSTALL-MAN% and %HAVE-MANS%,
849 check that no man page in $(MANS) contains the replacement text
851 * tests/man4.test: New test.
852 * tests/Makefile.am: Update.
853 * NEWS: Reorder a bit, update.
855 Report by Werner Lemberg and Karl Berry.
857 Do not use 'global' for makefile-wide settings.
858 * doc/automake.texi (Linking, Libtool Flags)
859 (Program and Library Variables, Flag Variables Ordering):
860 Reword instances of `global variables' that really mean
863 Report by Andreas Bergmeier.
865 Fix config.status depfiles failure.
866 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Commands are
867 again a single shell brace group, so they are correctly skipped
868 when dependencies are turned off. The failure is noisy with
870 * tests/depend6.test: New test.
871 * tests/Makefile.am: Adjust.
873 Report and different suggested patch by Markus Duft.
875 2008-12-21 Zoltan Rado <z.rado@chello.hu> (tiny change)
877 * doc/automake.texi (DESTDIR): Fix a couple of typos.
880 2008-12-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
882 Fix nonportable sed script in 'missing'.
883 * lib/missing: In sed script, do not use ';' after 't' commands.
885 2008-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
888 * doc/automake.texi (amhello Explained)
889 (Mixing Fortran 77 With C and C++): Fix broken links to
891 Report by Michael Ploujnikov.
893 2008-12-07 Michael Ploujnikov <ploujj@gmail.com> (tiny change)
895 * doc/automake.texi (Optional, Future of aclocal): Various
896 spelling and grammar fixes.
899 2008-12-03 William Pursell <bill.pursell@gmail.com>
901 Simple typographical and grammar errors in automake.texi.
902 * doc/automake.texi: Fix object/article consistency (eg "an
903 flag" becomes "a flag"), correct minor punctuation errors, etc.
905 * doc/automake.texi (Auxiliary Programs, Python, Rebuilding):
906 Replace 'configure' with '@command{configure}' as appropriate.
908 2008-11-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
911 * Makefile.am (cvs-diff): Remove.
912 (git-dist): Do not use clcommit any more. Use new-style tag
913 name. Pass $(AM_MAKEFLAGS) to $(MAKE).
915 (git-release): Do not upload to sources.redhat.com.
917 2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
919 Fix portability issues in distcleancheck_listfiles doc example.
920 * doc/automake.texi (Dist): In the `distcleancheck_listfiles'
921 code example, add `.' path, for Solaris `find', also rewrite so
922 `{}' appears only once and as separate argument, for Posix.
923 * tests/distcleancheck.test: New test.
924 * tests/Makefile.am: Update.
926 Report by Jan Engelhardt and Andreas Schwab.
928 2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
929 Jim Meyering <jim@meyering.net>
931 Cope with whitespace in $MISSING and $install_sh.
932 * configure.ac (am_AUTOHEADER): New substitution, save the value
933 of $AUTOHEADER before AM_INIT_AUTOMAKE may add $MISSING.
934 * tests/defs.in: Use am_AUTOHEADER.
935 * lib/am/install.am: Fix typo.
936 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): Add suitable
937 single-quote quoting to install_sh, but only if needed.
938 * m4/missing.m4 (AM_MISSING_HAS_RUN): Add suitable double-quote
939 quoting to MISSING, but only if needed.
940 * m4/sanity.m4 (AM_SANITY_CHECK): Abort configure if `pwd` or
941 $srcdir contain shell meta-characters that cannot be handled;
942 space and tab are allowed in the former only.
943 * tests/sanity.test: New test.
944 * tests/Makefile.am: Adjust.
946 Reports by Jim Meyering and others.
948 2008-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
950 Let `missing' also work with versioned and prefixed programs.
951 * lib/missing: Ignore prefixes of `gnu-', `gnu', and `g' when
952 testing for known programs; also, ignore suffixes.
953 * tests/missing.test: Amend test.
954 * NEWS, THANKS: Update.
957 2008-11-23 William Pursell <bill.pursell@gmail.com>
959 * doc/automake.texi (Macro search path, Extending aclocal)
960 (Local Macros, Serials, Public macros, Directories)
961 (Conditional Subdirectories, Nesting Packages)
962 (Building a program, Libtool Modules)
963 (Program and Library Variables, Default _SOURCES, LIBOBJS):
964 Correct verb/object tense agreement, swap some words,
965 and general trivial cleanup.
967 2008-11-22 William Pursell <bill.pursell@gmail.com>
968 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
970 * doc/automake.texi (VPATH Builds, Nested Packages)
971 (Length limitations, Auxiliary Programs, Invoking Automake)
972 (Requirements, Optional): Fix typos and grammaros, correct URL
973 to 'config' source repository. Rewrite description of AC_SUBST.
974 (true): Cross-reference to `Default _SOURCES' node.
976 2008-11-22 William Pursell <bill.pursell@gmail.com>
978 * configure.ac: Quote APIVERSION.
980 2008-11-22 Jim Meyering <meyering@redhat.com>
982 * tests/xz.test: Fix typo introduced by Ralf in last patch.
984 Add xz compression support.
985 * NEWS: Mention xz as well as lzma (xz will displace lzma).
986 * automake.in (handle_dist): Recognize dist-xz.
987 (make_paragraphs): Map XZ to dist-xz.
988 * doc/automake.texi (Dist): Add dist-xz.
990 * lib/Automake/Options.pm (_process_option_list): Accept
992 * lib/am/distdir.am (dist-xz): New rule.
993 (dist dist-all): Add command to create an xz-compressed tarball.
994 (distcheck): Handle xz-compressed tarballs just like the others.
995 * tests/xz.test: New file, based on nogzip.test.
996 * tests/Makefile.am (TESTS): Add xz.test.
998 2008-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1000 When installing COPYING, recommend adding the file to VCS.
1001 * automake.in (require_file_internal): If installing `COPYING',
1002 mention that we install the GPLv3 file and recommend adding the
1003 file to version control.
1004 * doc/automake.texi (Invoking Automake): Point to `Gnits' node
1005 for `--add-missing'.
1006 (Gnits): Clarify semantics: that for strictness gnu or higher,
1007 INSTALL is installed, and that COPYING is installed as GPLv3
1008 if no COPYING file exists.
1009 * tests/license2.test: New test.
1010 * tests/Makefile.am: Update.
1011 * NEWS, THANKS: Update.
1012 Report by Brian Cameron.
1014 2008-11-20 William Pursell <bill.pursell@gmail.com>
1016 * doc/automake.texi (Timeline): Fix typos and grammaros.
1018 2008-11-12 Karl Berry <karl@freefriends.org>
1020 New gnupload option --delete to remove archive files.
1021 * lib/gnupload: Accept --delete to remove files from
1022 alpha.gnu.org or ftp.gnu.org.
1024 2008-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1026 Testsuite fixes for ksh.
1027 * tests/check10.test: Add ':' as last command in subshell, for
1028 zero exit status of the subshell.
1029 * tests/parallel-am.test: Do not let failing 'unset' of
1030 nonexistent variable exit the test.
1031 * tests/parallel-am2.test: Likewise.
1032 * tests/parallel-am3.test: Likewise.
1034 2008-11-11 Charles Wilson <libtool@cwilson.fastmail.fm> (tiny change)
1035 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1037 Cleanup config.lt in case LT_OUTPUT is in use.
1038 * lib/am/libtool.am [TOPDIR_P] (distclean-libtool): clean up
1039 config.lt as well as libtool.
1040 * tests/libtoo11.test: New test.
1041 * tests/Makefile.am: Update.
1044 2008-11-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1046 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
1047 lib/texinfo.tex: Sync from upstream.
1049 2008-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1052 * doc/fdl.texi: Update to GFDL 1.3.
1053 * doc/automake.texi (GNU Free Documentation License): Adjust.
1057 * automake.in: Fix typos in comments. Remove extraneous
1060 2008-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1062 Cope with absent Perl modules threads and Thread::Queue.
1063 * automake.in: Instead of `use threads', use `require threads;
1064 import threads' inside a BEGIN section. Likewise for
1066 * lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Likewise.
1067 * lib/Automake/tests/Condition-t.pl: Likewise.
1068 * lib/Automake/tests/DisjConditions-t.pl: Likewise.
1069 * configure.ac: Likewise, use `require' and `import'.
1070 Report by Eric Blake, fix suggested by Ben Pfaff.
1072 2008-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1074 Multiple 'make uninstall' should not fail even for TEXINFOS.
1075 * lib/am/texinfos.am (uninstall-info-am): Do not fail due to
1076 install-info if the installed file does not exist (any more).
1077 * tests/txinfo26.test: Issue multiple `make uninstall'.
1078 * tests/instmany-mans.test: Likewise.
1079 * tests/instmany-python.test: Likewise.
1080 * tests/instmany.test: Likewise.
1081 * tests/txinfo26.test: Likewise.
1084 2008-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1086 New public macro AM_SUBST_NOTMAKE.
1087 * m4/substnot.m4 (AM_SUBST_NOTMAKE): New public macro; invoke
1088 _AM_SUBST_NOTMAKE with arguments.
1089 * doc/automake.texi (Optional): Document it.
1091 * tests/subst4.test: New test.
1092 * tests/Makefile.am: Update.
1093 Suggestion by Bruno Haible.
1095 Fix regression introduced by AM_DEFAULT_SOURCE_EXT.
1096 * automake.in (handle_source_transform): Use the right variable
1097 when determining whether to apply the old rule for the libtool
1098 library default source name.
1099 Testsuite failure exposed by Bob Proulx' build daemon.
1101 2008-11-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1103 New maintainer target release-stats.
1104 * Makefile.am (release-stats): New target, to help computing the
1105 entries in the statistics table in automake.texi.
1106 * doc/automake.texi (Releases): Reformat a bit. Add number of
1107 generated files. Add entry for 1.10.1.
1109 Choose default source extension: AM_DEFAULT_SOURCE_EXT.
1110 * automake.in (handle_source_transform): Accept unconditional
1111 literal extension in AM_DEFAULT_SOURCE_EXT as override for the
1112 default source extension `.c'. If set, ignore the old default
1113 source rule for libtool libraries.
1114 * doc/automake.texi (Default _SOURCES): Document this.
1116 * tests/specflg10.test: New test.
1117 * tests/Makefile.am: Update.
1118 Suggestion by Akim Demaille.
1120 Fix maintainer-check failure.
1121 * tests/parallel-am.test: Rename variable to not match pattern
1122 used in maintainer-check.
1124 2008-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1127 Spotted by Jim Meyering.
1129 2008-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1131 Parallel automake --add-missing: serialized file installs.
1132 * automake.in (QUEUE_CONF_FILE, QUEUE_LOCATION, QUEUE_STRING):
1133 New serialization keys.
1134 ($required_conf_file_queue): New file global.
1135 (queue_required_conf_file, require_queued_conf_file): New
1136 functions, to queue and dequeue requirements for aux dir files.
1137 (require_conf_file): Enqueue if needed.
1138 (get_number_of_threads): Can do threads with --add-missing now.
1139 (handle_makefiles_threaded): Let worker threads enqueue, let
1140 master attend to queued requirements at the right time.
1141 * tests/parallel-am.test: Explain the purpose of the include
1143 * tests/parallel-am2.test: Also cope with --add-missing.
1144 * tests/parallel-am3.test: New test, test absence of races with
1145 concurrent same-file installs stemming from --add-missing.
1146 * tests/Makefile.am: Adjust.
1148 Implement serialization for Locations.
1149 * lib/Automake/Location.pm (serialize, deserialize): New
1150 functions. They allows to serialize a Location in an array, and
1151 to restore a Location from a thread queue. The API is
1152 unsymmetric (array vs. queue) because enqueuing data needs to
1155 Parallel automake: ordered output messages.
1156 * lib/Automake/Channels.pm (%_default_options): New options
1157 `ordered' default enabled, `queue', default zero (no queue),
1158 `queue_key' default undefined.
1159 (_merge_options): Ensure `ordered' channels cannot have fatal
1160 messages or backtrace output.
1161 (_enqueue, _dequeue): New functions, to push messages onto a
1162 Thread::Queue, and output messages from such a queue, suitably
1163 weeded for duplicates in the same manner as _print_message.
1164 (_print_message): If the channel is ordered and has an
1165 associated queue, then enqueue messages instead of printing
1167 (setup_channel_queue, pop_channel_queue): New functions,
1168 to set a Thread::Queue for channels, and to flush a queue.
1169 * lib/Automake/ChannelDefs.pm: Unset channel option `ordered'
1170 for fatal, automake, and verb channels.
1171 * automake.in (QUEUE_MESSAGE): New global constant, used as
1173 (handle_makefiles_threaded): Create message queues for each
1174 input file; workers queue messages, and the master outputs them
1175 ordered, using the new Channels.pm functions.
1176 * tests/parallel-am.test: Also check for ordered output (in the
1177 absence of --add-missing races).
1178 * tests/parallel-am2.test: New test; check for ordered output of
1179 warning and (regular) error messages.
1180 * tests/Makefile.am: Adjust.
1182 Parallel automake execution: AUTOMAKE_JOBS.
1183 * lib/Automake/Config.in (perl_threads): New global.
1184 * automake.in: Use it. If the perl supports interpreter-based
1185 threading, then use `threads' and `Thread::Queue'.
1186 (handle_makefile, handle_makefiles_serial): New functions,
1187 factored out from main.
1188 (get_number_of_threads): New function, compute number of threads
1189 to use, based on environment variable `AUTOMAKE_JOBS' and number
1190 of independent makefiles.
1191 (handle_makefiles_threaded): New function. Spawn threads, use
1192 thread queue to distribute handling the different makefiles.
1193 Collect $exit_code values from threads.
1194 (main): Use new functions.
1195 * aclocal.in: No threads here.
1196 * configure.ac: Substitute PERL_THREADS; enabled with perl >=
1197 5.7.2 and when ithreads are available.
1198 * bootstrap (dosubst): Likewise.
1199 * Makefile.am (do_subst): Likewise.
1200 * lib/Automake/Makefile.am (do_subst): Likewise.
1201 * lib/Automake/ChannelDefs.pm: Use `Automake::Config' and
1203 (verb): Prepend thread ID (tid) to verbose messages.
1204 * lib/Automake/Channels.pm (msg): Before exiting, flush stderr,
1205 needed for worker threads.
1206 * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Also
1207 include the build tree path, so Config.pm is found.
1208 * tests/parallel-am.test: New test.
1209 * tests/Makefile.am: Update.
1210 * doc/automake.texi (Invoking Automake): Document AUTOMAKE_JOBS.
1211 * NEWS, THANKS: Update.
1212 Report about long execution times by Joakim Tjernlund and others.
1214 2008-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1216 Minor file checking optimization: set_dir_cache_file.
1217 * lib/Automake/FileUtils.pm (set_dir_cache_file): New function.
1218 * automake.in (require_file_internal): Instead of resetting the
1219 cache when a file has been installed, simply correct the cache
1220 using set_dir_cache_file.
1222 No uniquifying for fatal, prog_error, and verbose messages.
1223 There is no point in dropping critical messages, even if they
1224 are duplicates (unlikely to happen unless they have been sent
1225 as non-critical messages before), and verbose messages should
1226 enable to show progress, even using duplicate statements.
1227 * lib/Automake/ChannelDefs.pm (fatal, automake, verb): Set
1228 `uniq_part' to `UP_NONE' when registering these channels.
1230 Fix 'config.status --file=... depfiles' with new Autoconf.
1231 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Eval
1232 $CONFIG_STATUS contents if we detect the quoting used by
1233 Autoconf 2.62 and newer for --file=.
1234 * tests/depend5.test: New test.
1235 * tests/Makefile.am: Update.
1236 * NEWS, THANKS: Update.
1237 Report by Sam Steingold against gnulib.
1239 2008-10-26 Johan Dahlin <jdahlin@async.com.br>
1241 Support for Python 3.0, drop support for pre-2.0.
1242 * lib/py-compile: Do not import string; use sys.stdout.write
1243 instead of print, files.split instead of string.split.
1244 * m4/python.m4 (AM_PATH_PYTHON): Also look for python3 and
1245 phython3.0; do not look for python1.5. Use sys.stdout.write.
1246 (AM_PYTHON_CHECK_VERSION): Do not use string; adjust to xrange
1247 removal in Python 3.0, and changed semantics of map.
1248 * doc/automake.texi (Python, Hard-Coded Install Paths): Update
1249 Python versions mentioned in the manual, using 2.5 everywhere.
1250 * NEWS, THANKS: Update.
1252 2008-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1254 * lib/Automake/Channels.pm (@chain): Drop unused variable.
1256 Cleanup of per-input global variables in automake.in.
1257 * automake.in ($output_vars, $output_all, $output_header)
1258 ($output_rules, $output_trailer): Fix comment, and sort
1259 declarations in the order they will appear in the output.
1260 ($all_target): Unused variable, remove.
1261 (Variables not reset by &initialize_per_input.): New section,
1262 clarify that %am_file_cache is not reset.
1263 (initialize_per_input): Reset $am_file_name, $am_relative_dir,
1264 $in_file_name, $relative_dir, and $topsrcdir to `undef' rather
1265 than the empty string; $topsrcdir was not reset at all. Sort
1266 remaining variables in the same order as in the section
1267 `Variables reset by &initialize_per_input'.
1269 Let stderr output end up on fd 2 in testsuite.
1270 * tests/defs.in (AUTOMAKE_run): Output recorded stderr on file
1272 * tests/getopt.test: Fix erroneous multiple redirection,
1273 uncovered by above change.
1275 2008-10-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1277 Fix DisjConditions module to be thread-safe for perl >= 5.7.2.
1278 Self-hashes of blessed references are not correctly transported
1279 through thread creation. This patch fixes that by recreating
1280 the hashes upon thread creation with a CLONE special subroutine,
1281 which is automatically invoked by new enough Perl versions.
1282 * lib/Automake/DisjConditions.pm (CLONE): New special
1283 subroutine to fix self hashes upon thread creation.
1284 * lib/Automake/tests/Condition-t.pl: New, sister test to
1285 Condition.pl, but spawns a new threads after each creation of a
1286 new condition; skip test if perl is too old or ithreads are not
1288 * lib/Automake/tests/DisjConditions-t.pl: Likewise.
1289 * lib/Automake/tests/Makefile.am (TESTS): Add them.
1291 2008-10-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1294 * automake.in (require_file_internal): Fix typos in comments.
1295 * m4/amversion.in: Likewise.
1296 * lib/Automake/Variable.pm: Likewise.
1297 * lib/Automake/XFile.pm: Likewise.
1299 Diagnose unsupported uses of `backname' helper function.
1300 * automake.in (backname): Error out if the path points outside
1301 the directory it started in.
1303 2008-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1305 Nicer 'make dist' output.
1306 * lib/am/distdir.am (distdir): Hide the complex script
1307 used for computing the relative subdirs; echo the sub-make
1310 2008-10-12 William Pursell <bill.pursell@gmail.com> (tiny patch)
1312 * tests/defs.in: Fix comment typo.
1314 2008-10-12 William Pursell <bill.pursell@gmail.com>
1315 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1317 Fix grammar w.r.t. plurals in test reports.
1318 * lib/am/check.am: Fix singular/plural forms in test reports.
1319 * tests/check10.test: New test.
1320 * tests/Makefile.am: Update.
1322 2008-10-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1324 Require texi2dvi in tests, makeinfo may not be enough.
1325 * tests/txinfo16.test: RHEL 5.2 has makeinfo and texi2dvi in
1326 separate packages, so also list the latter as required, as the
1327 test generates DVI and/or PDF output (through distcheck).
1328 * tests/txinfo18.test: Likewise.
1329 * tests/txinfo21.test: Likewise.
1330 * tests/txinfo22.test: Likewise.
1331 * tests/txinfo3.test: Likewise.
1332 * tests/version7.test: Likewise.
1334 Report by Alexander Martens.
1336 Fix bootstrap to remove read-only directories right.
1337 * bootstrap: Remove automake-$APIVERSION correctly.
1339 2008-10-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1341 Improve test coverage of current TESTS semantics.
1342 * tests/check8.test: New test, for subdir tests and setting of
1344 * tests/check9.test: New test, check @substituted@ TESTS.
1345 * tests/Makefile.am: Update.
1347 2008-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1349 * m4/minuso.m4 (AM_PROG_CC_C_O): Work around shell quoting issue
1350 with AIX sh; fixes depcomp6.test failure.
1351 * NEWS, THANKS: Update.
1352 Report by Rainer Tammer.
1354 Print captured output before failing.
1355 * tests/acloca14.test, tests/acloca17.test, tests/acloca18.test,
1356 tests/aclocal.test, tests/acsilent.test, tests/alpha.test,
1357 tests/check4.test, tests/color.test, tests/fn99.test,
1358 tests/fn99subdir.test, tests/help.test, tests/init.test,
1359 tests/lisp8.test, tests/missing3.test, tests/pr220.test,
1360 tests/python11.test, tests/python4.test, tests/python5.test,
1361 tests/unused.test, tests/version8.test: When Exit is called
1362 after a command that has stdout or stderr redirected to a file
1363 for later inspection, output the file before failing the test.
1365 Fix some comment typos.
1366 * automake.in: Fix some comment typos.
1367 * lib/Automake/Condition.pm: Likewise.
1368 * lib/Automake/DisjConditions.pm: Likewise.
1369 * lib/Automake/Variable.pm: Likewise.
1370 * lib/Automake/tests/DisjConditions.pl: Likewise.
1372 2008-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1374 * tests/aclibobj.test: Fix race condition.
1376 2008-09-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1378 Fix man page creation without installed files.
1379 * doc/Makefile.am (update_mans): Use wrappers in tests/
1381 ($(srcdir)/aclocal-$(APIVERSION).1): Use versioned wrapper as
1382 input program to help2man.
1383 ($(srcdir)/automake-$(APIVERSION).1): Likewise.
1384 Report by Eric Blake.
1386 2008-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1388 Remove unneeded per-rule *INSTALL variables.
1390 * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): Remove.
1391 (install-%DIR%%PRIMARY%): Adjust.
1392 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Remove.
1393 (install-%DIR%LIBRARIES): Adjust.
1394 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): Remove.
1395 (install-%DIR%LTLIBRARIES): Adjust.
1396 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): Remove.
1397 (install-%DIR%PROGRAMS): Adjust.
1398 * lib/am/python.am (%DIR%PYTHON_INSTALL): Remove.
1399 (install-%DIR%PYTHON): Adjust.
1400 * lib/am/scripts.am (%DIR%SCRIPT_INSTALL): Remove.
1401 (install-%DIR%SCRIPTS): Adjust.
1403 Compactify program rules using ternary operators.
1404 * lib/am/progs.am (install-%DIR%PROGRAMS): Uglify^WCompactify
1405 using ternary operators `%KEY?TRUE:FALSE%'.
1406 (uninstall-%DIR%PROGRAMS): Likewise.
1408 New doc section about command line length limits.
1409 * doc/automake.texi (Length limitations): New node.
1410 (Alternative): `nobase_' is not always equivalent to several
1412 (Install): Mention multi-file install.
1413 * NEWS: Expand on the issue, list some more user-visible
1416 Install nobase_lib_LTLIBRARIES before bin_PROGRAMS.
1417 * automake.in (generate_makefile): If nobase_lib_LTLIBRARIES are
1418 used, add an ugly hack to install them before bin_PROGRAMS, just
1419 like done with lib_LTLIBRARIES.
1420 * tests/ltorder.test: Add program, to expose this.
1422 Do not reorder nobase ltlib installation.
1423 This patch changes back the order of installation of nobase
1424 LTLIBRARIES to that in which files are listed in the variables.
1425 It does not fix the issue of strict dependency ordering, as
1426 implied by *_LIBADD, but as before allows to steer the order by
1427 listing the libraries in nobase_*_LTLIBRARIES appropriately.
1428 As an advantage over the state of 1.10, multiple consecutive
1429 nobase libraries to be installed in the same directory are
1430 passed to libtool in one invocation.
1431 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES) [!%?BASE%]: Do not
1432 reorder libraries upon installation. Remove spurious empty
1434 * tests/ltorder.test: New test.
1435 * tests/Makefile.am: Update.
1437 Fix -rpath arguments for nobase_*_LTLIBRARIES.
1438 * automake.in (handle_ltlibraries): New hash %instsubdirs to
1439 track the dirname of nobase ltlibraries, and tack it onto the
1440 end of the -rpath argument. Also, fix the warning about ltlibs
1441 installed in multiple locations to fit a bit better.
1442 * tests/pr300-ltlib.test: Expose this bug here.
1443 * tests/ltinstloc.test: New test.
1444 * tests/Makefile.am: Update.
1447 Man pages for automake and aclocal.
1448 * configure.ac (HELP2MAN): New substitution.
1449 * doc/Makefile.am (dist_man1_MANS, MAINTAINERCLEANFILES)
1450 (update_mans): New macros.
1451 ($(srcdir)/aclocal-$(APIVERSION).1)
1452 ($(srcdir)/automake-$(APIVERSION).1): New rules, generate
1453 man pages from the command line help with help2man.
1454 ($(srcdir)/aclocal.1, $(srcdir)/automake.1): New rules, for
1455 `.so' man page links to the versioned pages.
1458 2008-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1460 Faster install for libtool outputs.
1461 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Invoke `libtool
1462 --mode=install' with multiple libraries at once.
1463 (%DIR%LTLIBRARIES_INSTALL): No need to use install_sh any more.
1464 * lib/am/progs.am (install-%DIR%PROGRAMS): Likewise, remove much
1465 of the libtool special-casing by invoking it for multiple
1468 2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1470 Fast install and uninstall for SCRIPTS.
1471 * lib/am/scripts.am [%?INSTALL%]: Include inst-vars.am
1472 independent of `%?BASE%'.
1473 (install-%DIR%SCRIPTS): Install multiple scripts at once,
1474 using awk and a number of sed scripts.
1475 (uninstall-%DIR%SCRIPTS): Compute the installed names, and
1476 remove them, all at once.
1477 (%DIR%SCRIPT_INSTALL) [!BASE]: No need to use install-sh any
1480 Multi-file install for PROGRAMS.
1481 * lib/am/progs.am (install-%DIR%PROGRAMS): Allow to install
1482 several programs with one install invocation, when not using
1483 libtool; employs some trickery to cater for nobase_, $(EXEEXT),
1484 create needed directories, libtool, while only forking a
1485 constant number of times in the fast path; uses awk and sed also
1486 in the default path.
1487 (%DIR%PROGRAMS_INSTALL) [!BASE]: No need to use install-sh any
1490 Enhance cleaning of programs in libtool mode.
1491 * lib/am/progs.am (clean-%DIR%PROGRAMS) [?LIBTOOL?]: Fork less
1492 often, avoid removing programs twice if $(EXEEXT) is empty.
1493 * tests/nobase-libtool.test: Also test PROGRAMS, in order to
1494 exercise the code path.
1496 Report by Toralf Förster.
1498 2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1499 Jim Meyering <jim@meyering.net>
1501 Reliable multi-file install for man pages.
1502 * lib/am/mans.am: Include inst-vars.am.
1503 (install-man%SECTION%): Gather lists of man pages to install,
1504 and install up to 40 of those that do not have to be renamed
1505 at once. Fail if installation of any file fails.
1506 (uninstall-man%SECTION%): Rewrite to use fewer sed invocations.
1507 * doc/automake.texi (Man pages): Hint the user to the fast path.
1509 * tests/instmany-mans.test: New test.
1510 * tests/Makefile.am: Update.
1512 2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1514 Faster `make uninstall'; fast install for JAVA.
1515 * lib/am/inst-vars.am (am__nobase_strip_setup)
1516 (am__nobase_strip): New macros.
1517 (am__nobase_list): Factorize.
1518 * lib/am/data.am (uninstall-%DIR%%PRIMARY%): Use them, for a
1519 constant number of forks per uninstall.
1520 * lib/am/libs.am (uninstall-%DIR%LIBRARIES): Likewise.
1521 * lib/am/lisp.am (uninstall-%DIR%LISP): Likewise.
1522 * lib/am/progs.am (uninstall-%DIR%PROGRAMS): Fast uninstall.
1523 * lib/am/python.am (uninstall-%DIR%PYTHON): Fast uninstall.
1524 Echo all `rm' commands that are are executed.
1525 * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA):
1526 Fast install and uninstall.
1528 AIX ranlib dislikes spaces in the argument.
1529 * lib/am/libs.am (install-%DIR%LIBRARIES): Fix instsh.test
1530 failure on AIX due to ranlib and whitespace in the directory.
1532 Report by John F Trudeau.
1534 Fail upon install or ranlib failure, part two.
1535 * lib/am/java.am (install-%DIR%JAVA): Fail upon install failure.
1536 * lib/am/lisp.am (install-%DIR%LISP): Likewise.
1537 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Likewise.
1538 * lib/am/libs.am (install-%DIR%LIBRARIES): Likewise, for
1539 `install' as well as `ranlib'.
1540 * lib/am/progs.am (install-%DIR%PROGRAMS): If `install' fails,
1541 return its exit failure, not 1.
1542 * tests/instfail.test: New test, for PROGRAMS (without libtool),
1543 LIBRARIES, including nobase variants.
1544 * tests/instfail-info.test: Likewise, for TEXINFOS.
1545 * tests/instfail-java.test: Likewise, for JAVA.
1546 * tests/instfail-libtool.test: Likewise, for PROGRAMS (with
1547 libtool) and LTLIBRARIES.
1548 * tests/Makefile.am: Adjust.
1550 Exit upon `install' failure, part one.
1551 * lib/am/data.am (install-%DIR%%PRIMARY%): Exit if any install
1553 * lib/am/python.am (install-%DIR%PYTHON): Likewise.
1554 * lib/am/scripts.am (install-%DIR%SCRIPTS): Likewise.
1555 * lib/am/texinfos.am (install-dvi-am, install-html-am)
1556 (install-info-am:, install-pdf-am): Likewise.
1557 * tests/instmany.test: New test, for SCRIPTS, DATA, and HEADERS.
1558 * tests/instmany-python.test: New test, for PYTHON.
1559 * tests/Makefile.am: Adjust.
1561 2008-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1563 Fix multi-file installation for files in srcdir.
1564 For files that can live in the build tree or the source tree,
1565 we have to expect that prepending `$(srcdir)/' to each name
1566 will let the install command line exceed length limitations.
1567 Thus use a new macro, $(am__base_list), to install in chunks
1568 of 40 files, similar to what we do for nobase_* files. There,
1569 lower the limit to 40, too.
1570 * lib/am/inst-vars.am (am__install_max): Lower to 40.
1571 (am__base_list): New macro.
1572 * lib/am/data.am (install-%DIR%%PRIMARY%) [%?BASE%]: Use it.
1573 * lib/am/texinfos.am (install-dvi-am, install-html-am)
1574 (install-info-am, install-pdf-am, install-ps-am): Likewise.
1576 2008-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1578 Use `Exit' instead of `exit' in test suite.
1579 Cater to Bourne shells like Solaris sh that do not pass the
1580 `exit' argument as status to the cleanup trap.
1581 * Makefile.am (maintainer-check): Check that here-documents
1582 use only `END' or `EOF' as delimiter in the test suite.
1583 Check that, outside of here-documents, the tests do not use
1584 `exit' with an argument, but use `Exit' instead.
1585 * tests/defs.in (Exit): New function. Use it throughout,
1586 starting with the introduction of the exit trap.
1587 * tests/aclibobj.test, tests/acloca10.test, tests/acloca11.test,
1588 tests/acloca12.test, tests/acloca13.test, tests/acloca14.test,
1589 tests/acloca15.test, tests/acloca16.test, tests/acloca17.test,
1590 tests/acloca18.test, tests/acloca19.test, tests/acloca20.test,
1591 tests/acloca21.test, tests/acloca22.test, tests/aclocal.test,
1592 tests/aclocal3.test, tests/aclocal4.test, tests/aclocal5.test,
1593 tests/aclocal6.test, tests/aclocal7.test, tests/aclocal8.test,
1594 tests/aclocal9.test, tests/acoutbs.test, tests/acoutbs2.test,
1595 tests/acoutnoq.test, tests/acoutpt.test, tests/acoutpt2.test,
1596 tests/acoutqnl.test, tests/acsilent.test, tests/acsubst.test,
1597 tests/acsubst2.test, tests/all.test, tests/alloca.test,
1598 tests/alloca2.test, tests/alpha.test, tests/alpha2.test,
1599 tests/amassign.test, tests/ammissing.test, tests/amopt.test,
1600 tests/amsubst.test, tests/ansi.test, tests/ansi10.test,
1601 tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
1602 tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
1603 tests/ansi7.test, tests/ansi8.test, tests/ansi9.test (main),
1604 tests/ar.test, tests/ar2.test, tests/asm.test, tests/asm2.test,
1605 tests/asm3.test, tests/automake.test, tests/auxdir.test,
1606 tests/auxdir2.test, tests/auxdir3.test, tests/auxdir4.test,
1607 tests/backsl.test, tests/backsl2.test, tests/backsl3.test,
1608 tests/backsl4.test, tests/badline.test, tests/badopt.test,
1609 tests/badprog.test, tests/block.test, tests/bsource.test,
1610 tests/canon-name.test, tests/canon.test, tests/canon2.test,
1611 tests/canon3.test, tests/canon4.test, tests/canon5.test,
1612 tests/ccnoco.test, tests/ccnoco2.test, tests/check.test,
1613 tests/check2.test, tests/check3.test, tests/check4.test,
1614 tests/check5.test, tests/check6.test, tests/check7.test,
1615 tests/checkall.test, tests/clean.test, tests/clean2.test,
1616 tests/colneq.test, tests/colneq2.test, tests/colon.test,
1617 tests/colon2.test, tests/colon3.test, tests/colon4.test,
1618 tests/colon5.test, tests/colon6.test, tests/colon7.test,
1619 tests/color.test (test_no_color), tests/commen10.test,
1620 tests/comment.test, tests/comment2.test, tests/comment3.test,
1621 tests/comment4.test, tests/comment5.test, tests/comment6.test,
1622 tests/comment7.test, tests/comment8.test, tests/comment9.test,
1623 tests/compile.test, tests/compile_f90_c_cxx.test,
1624 tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
1625 tests/cond11.test, tests/cond13.test, tests/cond14.test,
1626 tests/cond15.test, tests/cond16.test, tests/cond17.test,
1627 tests/cond18.test, tests/cond19.test, tests/cond2.test,
1628 tests/cond20.test, tests/cond21.test, tests/cond22.test,
1629 tests/cond27.test, tests/cond3.test, tests/cond37.test,
1630 tests/cond39.test, tests/cond4.test, tests/cond40.test,
1631 tests/cond41.test, tests/cond5.test, tests/cond6.test,
1632 tests/cond7.test (AC_INIT), tests/cond8.test, tests/cond9.test,
1633 tests/condd.test, tests/condhook.test, tests/condinc.test,
1634 tests/condinc2.test, tests/condlib.test, tests/condman.test,
1635 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
1636 tests/conff.test, tests/conff2.test, tests/confh.test,
1637 tests/confh4.test, tests/confh5.test, tests/config.test,
1638 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
1639 tests/conflnk3.test, tests/conflnk4.test, tests/confsub.test,
1640 tests/confvar.test, tests/confvar2.test, tests/copy.test,
1641 tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
1642 tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
1643 tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
1644 tests/cygwin32.test, tests/dash.test, tests/defs.in (else),
1645 tests/defun.test, tests/defun2.test, tests/dejagnu.test,
1646 tests/dejagnu2.test, tests/dejagnu3.test, tests/dejagnu4.test,
1647 tests/dejagnu5.test, tests/dejagnu6.test, tests/dejagnu7.test,
1648 tests/depacl2.test, tests/depcomp.test, tests/depcomp2.test,
1649 tests/depcomp3.test, tests/depcomp4.test, tests/depcomp5.test,
1650 tests/depcomp6.test, tests/depcomp7.test, tests/depdist.test,
1651 tests/depend.test, tests/depend2.test, tests/depend3.test,
1652 tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
1653 tests/dirlist.test, tests/dirlist2.test, tests/discover.test,
1654 tests/distcom2.test, tests/distcom3.test, tests/distcom4.test,
1655 tests/distcom5.test, tests/distcom6.test, tests/distcom7.test,
1656 tests/distdir.test, tests/distname.test, tests/dollar.test,
1657 tests/double.test, tests/dup2.test, tests/else.test,
1658 tests/empty.test, tests/empty2.test, tests/empty3.test,
1659 tests/empty4.test, tests/exdir.test, tests/exdir2.test,
1660 tests/exdir3.test, tests/exeext.test, tests/exeext2.test,
1661 tests/exeext3.test, tests/exeext4.test, tests/exsource.test,
1662 tests/ext.test, tests/extra.test, tests/extra2.test,
1663 tests/extra3.test, tests/extra4.test, tests/extra5.test,
1664 tests/extra6.test, tests/extra7.test, tests/f90only.test,
1665 tests/flibs.test, tests/fn99.test, tests/fn99subdir.test,
1666 tests/fnoc.test, tests/fo.test, tests/fonly.test,
1667 tests/fort1.test, tests/fort2.test, tests/fort4.test,
1668 tests/fort5.test, tests/fortdep.test, tests/fpinst2.test,
1669 tests/fpinstall.test, tests/gcj.test, tests/gcj2.test,
1670 tests/gcj3.test, tests/gcj4.test, tests/gcj5.test,
1671 tests/getopt.test, tests/gettext.test, tests/gettext2.test,
1672 tests/gettext3.test, tests/gnits.test, tests/gnits2.test (main),
1673 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
1674 tests/gnuwarn2.test, tests/header.test, tests/help.test,
1675 tests/hosts.test, tests/implicit.test, tests/include.test,
1676 tests/include2.test, tests/info.test, tests/init.test,
1677 tests/insh2.test, tests/install2.test, tests/installdir.test,
1678 tests/instdat.test, tests/instdat2.test, tests/instexec.test,
1679 tests/insthook.test, tests/instman.test, tests/instman2.test,
1680 tests/instsh.test, tests/instsh2.test, tests/instsh3.test,
1681 tests/instspc.test, tests/interp.test, tests/interp2.test,
1682 tests/java.test, tests/java2.test, tests/java3.test,
1683 tests/javaprim.test, tests/javasubst.test, tests/ldadd.test,
1684 tests/ldflags.test, tests/lex.test, tests/lex2.test,
1685 tests/lex3.test, tests/lex4.test, tests/lex5.test (main),
1686 tests/libexec.test, tests/libobj10.test, tests/libobj11.test,
1687 tests/libobj12.test, tests/libobj13.test, tests/libobj2.test,
1688 tests/libobj3.test, tests/libobj4.test, tests/libobj5.test,
1689 tests/libobj7.test, tests/libobj8.test, tests/library.test,
1690 tests/library2.test, tests/library3.test, tests/libtoo10.test,
1691 tests/libtool.test, tests/libtool2.test, tests/libtool3.test
1692 (main), tests/libtool4.test, tests/libtool5.test,
1693 tests/libtool6.test, tests/libtool7.test, tests/libtool8.test,
1694 tests/libtool9.test (main), tests/license.test,
1695 tests/link_c_cxx.test, tests/link_dist.test,
1696 tests/link_f90_only.test, tests/link_f_only.test,
1697 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
1698 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
1699 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
1700 tests/lisp8.test, tests/listval.test, tests/location.test,
1701 tests/longlin2.test, tests/longline.test, tests/ltcond.test,
1702 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
1703 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/lzma.test,
1704 tests/maintclean.test, tests/make.test, tests/makej.test,
1705 tests/makevars.test, tests/man.test, tests/man2.test,
1706 tests/man3.test, tests/mclean.test, tests/mdate.test,
1707 tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
1708 tests/mdate5.test, tests/missing.test, tests/missing2.test,
1709 tests/missing3.test, tests/missing4.test, tests/missing5.test,
1710 tests/missing6.test, tests/mkinst2.test, tests/mkinst3.test,
1711 tests/mkinstall.test, tests/mmode.test, tests/mmodely.test,
1712 tests/multlib.test, tests/nobase-libtool.test,
1713 tests/nobase-python.test, tests/nobase.test, tests/nodef.test,
1714 tests/nodef2.test, tests/nodep.test, tests/nodep2.test,
1715 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
1716 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
1717 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
1718 tests/nostdinc.test, tests/notrans.test, tests/number.test,
1719 tests/objc.test, tests/objc2.test, tests/obsolete.test,
1720 tests/order.test, tests/outdir.test, tests/output-order.test,
1721 tests/output.test, tests/output10.test, tests/output11.test,
1722 tests/output12.test, tests/output13.test, tests/output2.test,
1723 tests/output3.test, tests/output4.test, tests/output5.test,
1724 tests/output6.test, tests/output7.test, tests/output8.test,
1725 tests/output9.test, tests/overrid.test, tests/parse.test,
1726 tests/pluseq.test, tests/pluseq10.test, tests/pluseq2.test,
1727 tests/pluseq3.test, tests/pluseq4.test, tests/pluseq5.test,
1728 tests/pluseq6.test, tests/pluseq7.test, tests/pluseq8.test,
1729 tests/pluseq9.test, tests/postproc.test, tests/ppf77.test,
1730 tests/pr2.test, tests/pr204.test, tests/pr211.test,
1731 tests/pr220.test, tests/pr224.test, tests/pr229.test,
1732 tests/pr243.test, tests/pr266.test, tests/pr279-2.test,
1733 tests/pr279.test, tests/pr287.test, tests/pr300-lib.test,
1734 tests/pr300-ltlib.test, tests/pr300-prog.test, tests/pr307.test,
1735 tests/pr401.test, tests/pr401b.test, tests/pr401c.test,
1736 tests/pr72.test, tests/pr87.test, tests/pr9.test,
1737 tests/prefix.test, tests/primary.test, tests/primary2.test,
1738 tests/primary3.test, tests/proginst.test, tests/python.test,
1739 tests/python10.test, tests/python11.test, tests/python12.test,
1740 tests/python2.test, tests/python3.test, tests/python4.test,
1741 tests/python5.test, tests/python6.test, tests/python7.test,
1742 tests/python8.test, tests/python9.test, tests/recurs.test,
1743 tests/recurs2.test, tests/regex.test, tests/remake.test,
1744 tests/remake2.test, tests/remake3.test, tests/remake4.test,
1745 tests/remake5.test, tests/remake6.test, tests/remake7.test,
1746 tests/req.test, tests/reqd.test, tests/reqd2.test,
1747 tests/rulepat.test, tests/scripts.test, tests/seenc.test,
1748 tests/sinclude.test, tests/space.test, tests/specflg.test,
1749 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
1750 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
1751 tests/spell.test, tests/spell2.test, tests/spell3.test,
1752 tests/spelling.test, tests/spy.test, tests/srcsub.test,
1753 tests/srcsub2.test, tests/stamph2.test, tests/stdinc.test,
1754 tests/stdlib.test, tests/stdlib2.test, tests/strip.test,
1755 tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
1756 tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
1757 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
1758 tests/subdir7.test, tests/subdir8.test, tests/subdir9.test,
1759 tests/subdirbuiltsources.test, tests/subobj.test,
1760 tests/subobj10.test, tests/subobj2.test, tests/subobj3.test,
1761 tests/subobj4.test, tests/subobj5.test, tests/subobj6.test,
1762 tests/subobj7.test, tests/subobj8.test, tests/subobj9.test,
1763 tests/subobjname.test, tests/subpkg.test, tests/subpkg2.test,
1764 tests/subpkg3.test, tests/subst.test, tests/subst2.test,
1765 tests/subst3.test, tests/substre2.test, tests/substref.test,
1766 tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
1767 tests/suffix11.test, tests/suffix12.test, tests/suffix2.test,
1768 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
1769 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
1770 tests/suffix9.test, tests/symlink.test, tests/symlink2.test,
1771 tests/symlink3.test, tests/syntax.test, tests/tags.test,
1772 tests/tagsub.test, tests/tar.test, tests/tar2.test,
1773 tests/tar3.test, tests/target-cflags.test,
1774 tests/targetclash.test, tests/transform.test, tests/txinfo.test,
1775 tests/txinfo10.test, tests/txinfo13.test, tests/txinfo16.test,
1776 tests/txinfo17.test, tests/txinfo18.test, tests/txinfo19.test,
1777 tests/txinfo2.test, tests/txinfo20.test, tests/txinfo21.test,
1778 tests/txinfo22.test, tests/txinfo23.test, tests/txinfo24.test,
1779 tests/txinfo25.test, tests/txinfo26.test, tests/txinfo27.test,
1780 tests/txinfo28.test, tests/txinfo29.test, tests/txinfo3.test,
1781 tests/txinfo30.test, tests/txinfo31.test, tests/txinfo4.test,
1782 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
1783 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
1784 tests/upc.test, tests/upc2.test, tests/upc3.test,
1785 tests/vars.test, tests/vars3.test, tests/vartar.test,
1786 tests/version.test, tests/version2.test, tests/version3.test,
1787 tests/version4.test, tests/version6.test, tests/version7.test,
1788 tests/version8.test, tests/vpath.test, tests/vtexi.test,
1789 tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
1790 tests/werror2.test, tests/whoami.test, tests/xsource.test,
1791 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
1792 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
1793 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
1794 tests/yaccvpath.test: Use `Exit $arg' instead of `exit $arg'
1795 throughout, except inside created files.
1797 2008-09-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1799 Avoid Heisenbug with verbose testing on HP-UX.
1800 * tests/output-order.test: Remove spurious redirection line
1801 from output for comparison.
1803 For all possibly-relative subdirs, use $(am__cd).
1804 Up to now, $(am__cd) was only used within backquotes, to avoid
1805 extraneous output. This patch also uses it for every `cd' to a
1806 relative subdir, to prevent CDPATH from entering an unwanted
1808 * Makefile.am (maintainer-check): Fix current check for
1809 $(am__cd) within backquotes a bit. Add new check for `cd' to a
1811 * automake.in (handle_tags, handle_configure): Adjust rules.
1812 * lib/am/ansi2knr.am: Likewise.
1813 * lib/am/configure.am: Likewise.
1814 * lib/am/distdir.am: Likewise.
1815 * lib/am/remake-hdr.am: Likewise.
1816 * lib/am/subdirs.am: Likewise.
1817 * lib/am/tags.am: Likewise.
1818 * lib/am/texibuild.am: Likewise.
1820 Fix nobase-python.test for BSD make.
1821 * tests/nobase-python.test: Listing a dependency to be found
1822 via VPATH search explicitly, without the path, as a target,
1823 will turn off VPATH search for FreeBSD make. So move the
1824 creation of the files outside of the Makefile.
1826 2008-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1828 Implement AM_MAINTAINER_MODE([DEFAULT-MODE]).
1829 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Allow for an optional
1830 first argument of `enable' or `disable', setting the default.
1831 * doc/automake.texi (Optional, maintainer-mode): Document.
1832 * tests/mmode.test: New test.
1833 * tests/Makefile.am: Adjust.
1835 Suggestion by Vincent Lefevre.
1837 2008-08-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1839 Copyright year updates.
1840 * lib/am/header-vars.am: Update copyright years.
1841 * lib/am/remake-hdr.am: Likewise.
1842 * lib/am/tags.am: Likewise.
1844 2008-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1846 * THANKS: Use Cyrillic name instead of ASCII transcription.
1848 2008-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1850 Fix rebuilding of removed subdir/Makefile.in files.
1851 * lib/am/configure.am (%MAKEFILE-IN%) [?!TOPDIR_P?]: If
1852 subdir/Makefile.in was removed, am--refresh would not update
1853 it. Fix up for it by running the per-directory rebuild rule.
1854 * tests/remake6.test, tests/remake7.test: New tests.
1855 * tests/Makefile.am: Adjust.
1856 * NEWS, THANKS: Update.
1857 Report and initial patch by Ilya N. Golubev.
1859 2008-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1861 * tests/notrans.test: Use multiple man files of each type.
1863 Fix maintainer-check failures.
1864 * doc/automake.texi (Conditionals): Drop TAB.
1865 * tests/missing6.test: Use 'rm -f'.
1867 2008-08-19 Reuben Thomas <rrt@sc3d.org> (tiny patch)
1869 * doc/automake.texi (Flag Variables Ordering, Per-Object Flags):
1872 2008-08-02 Karl Berry <karl@freefriends.org>
1874 * lib/gnupload: Provide also a simple example.
1876 2008-06-25 Thien-Thi Nguyen <ttn@gnuvola.org>
1879 * doc/automake.texi (Public Macros): Close open paren.
1881 2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1883 Introduce macro $(am__mv) to facilitate 'libtool --dry-run'.
1884 * lib/am/depend.am (am__mv): New macro, set to 'mv -f'.
1885 * lib/am/depend2.am: Use throughout to move the temporary
1886 depfile *.Tpo to its final destination *.Po.
1888 2008-06-18 Rafael Espindola <espindola@google.com>
1890 * lib/config-ml.in: don't handle --enable-shared and --enable-static.
1892 2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1894 * lib/am/inst-vars.am (am__install_max): New variable.
1895 (am__nobase_list): Use it.
1897 Fix conditional rules competing with config.status rules.
1898 * automake.in (handle_configure): Teach targets about the
1899 conditional config.status rule.
1900 * tests/cond39.test: Adjust test to expose this.
1902 For AC_CONFIG_LINKS(X,X), do not clean X in a non-VPATH build.
1903 * automake.in (rewrite_inputs_into_dependencies): Do distribute
1904 inputs where input and output name are equal. This relies on
1905 the assumption that it only happens with AC_CONFIG_LINKS.
1906 (handle_configure) <CONFIG_CLEAN_VPATH_FILES>: New variable, for
1907 links where source and dest are equal.
1908 * lib/am/clean.am (distclean-generic): Remove, if build tree not
1910 * tests/conflnk4.test: New test.
1911 * tests/Makefile.am: Adjust.
1914 2008-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1916 * doc/automake.texi (Extending): Fix ambivalent wording.
1917 Report by Ben Pfaff.
1919 2008-06-04 Karl Berry <karl@freefriends.org>
1921 * doc/automake.texi (Install, Hard-Coded Install Paths): Fix
1922 punctuation and markup.
1923 (Extending): Improve wording and clarify order semantics of
1924 *-local and *-hook targets.
1926 2008-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1928 * doc/automake.texi (Extending): Fix grammar.
1929 Report by Karl Berry.
1931 2008-05-13 Stepan Kasal <skasal@redhat.com>
1934 * doc/automake.texi (Timeline): Reported by Reuben Thomas.
1935 * lib/am/remake-hdr.am: A few typos in comments.
1937 2008-04-10 Eric Blake <ebb9@byu.net>
1939 Prefer a released version of autoconf.
1940 * NEWS: Bump requirement to autoconf 2.62.
1941 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
1942 * configure.ac: Likewise.
1943 (AC_PREREQ): Remove check, done by AM_INIT_AUTOMAKE instead.
1945 AC_AUTOCONF_VERSION can inadvertently expand to a macro name.
1946 * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Use proper
1948 * aclocal.in (write_aclocal): Likewise.
1949 * tests/missing6.test: New test.
1950 * tests/Makefile.am (TESTS): Run it.
1951 * tests/missing4.test: Adjust.
1953 2008-04-02 Eric Blake <ebb9@byu.net>
1955 Make gnupload friendlier for VPATH usage.
1956 * lib/gnupload: Allow uploads from separate directory.
1958 2008-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1960 Implement conditional AC_CONFIG_FILES: AM_COND_IF.
1961 * automake.in (%ac_config_files_condition): New.
1962 (scan_autoconf_config_files): Record condition if any.
1963 (scan_autoconf_traces): Trace _AM_COND_IF, _AM_COND_ELSE,
1964 _AM_COND_ENDIF, updating @cond_stack as appropriate.
1965 (handle_configure): Prefix config.status rule with condition.
1966 Check that m4 quotation is done consistently.
1967 * m4/cond.m4 (AM_CONDITION): Define `_AM_COND_VALUE_name'
1968 with `name' being the name of the condition, to its shell
1970 * m4/cond-if.m4: New file.
1971 (_AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF): New trace helpers.
1972 (AM_COND_IF): New macro, implements conditionals.
1973 * m4/Makefile.am: Adjust.
1974 * doc/automake.texi (Requirements, Optional, Conditionals):
1975 Document AM_COND_IF.
1977 * tests/cond39.test, tests/cond40.test, tests/cond41.test,
1978 tests/cond42.test, tests/cond43.test: New tests.
1979 * tests/Makefile.am: Adjust.
1981 2008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1983 * doc/automake.texi (@ovar): New macro, from autoconf.texi.
1985 Suggestion by Eric Blake.
1987 2008-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1989 * lib/texinfo.tex: Sync from upstream.
1991 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1993 * doc/automake.texi (Requirements, Linking, Extending):
1994 Fix underfull and overfull lines, fix wording a bit.
1996 * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
1999 * Makefile.am (WGET_SV_GIT_CF): New.
2000 (fetch): Pull config.guess and config.sub from git repo now.
2002 * lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument
2003 $hint, show if the executing program does not exist.
2004 (xsystem_hint): New function, like xsystem but allows to pass
2007 2008-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
2009 Implement the `notrans_' prefix for untransformed manpages.
2010 * automake.in (handle_man_pages), lib/am/mans.am: Implement
2011 notrans_ prefix for MANS primary and rework dependencies for
2012 install-man%SECTION%; use only vars defined in Makefile.am.
2013 * doc/automake.texi (Renaming, Uniform, Man pages):
2014 Document notrans_ prefix.
2016 * tests/notrans.test: New test.
2017 * tests/Makefile.am: Update.
2019 * automake.in (handle_man_pages): Reindent, for next patch.
2021 2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2023 Use `install' with multiple files at once for some primaries.
2024 With nobase targets, at most 50 files are installed at once,
2025 to avoid quadratic string concatenation and line length limits.
2026 This isn't yet done with base targets. One hope is that there,
2027 the typical file name length is lower. If this turns out to be
2028 a problem, it should be revisited.
2030 * lib/am/inst-vars.am (am__nobase_list): New helper macro for
2031 installation of multiple nobase files at once: sorts and lists
2032 files keyed by their target directory.
2033 * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): No need to set it to
2034 $(install_sh_DATA) any more, not even for nobase targets.
2035 (install-%DIR%%PRIMARY%): Split base and nobase cases.
2036 Rewrite to pass lists of files which all go in the same
2037 directory to `install'. In the nobase case, make use of
2038 $(am__nobase_list) and $(MKDIR_P) each directory before
2039 populating it. Take care of files in source and build trees,
2040 and avoid creating directories where no files are to be
2042 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Likewise.
2043 (install-%DIR%LIBRARIES): Likewise.
2044 * lib/am/python.am (%DIR%PYTHON_INSTALL): Likewise.
2045 (install-%DIR%PYTHON): Likewise. Also take care to keep note of
2046 a list for byte compilation after installation.
2047 * lib/am/texinfos.am (install-dvi-am, install-html-am)
2048 (install-info-am, install-pdf-am, install-ps-am): Use file lists
2049 to install multiple files at once.
2051 Suggested by Akim Demaille.
2053 2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2055 Require unreleased Autoconf for fixed AC_PROG_INSTALL.
2056 * m4/init.m4 (AM_INIT_AUTOMAKE): Bump AC_PREREQ to 2.61-341,
2058 * configure.ac: Also require Autoconf 2.61-341, to catch
2059 failure early and provide a sensible error message.
2061 Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT.
2062 * tests/ansi4.test: Drop AC_OBJEXT and AC_EXEEXT.
2063 * tests/ansi6.test: Likewise.
2064 * tests/ansi7.test: Likewise.
2065 * tests/condlib.test: Likewise.
2066 * tests/cygwin32.test: Likewise.
2067 * tests/exeext2.test: Likewise.
2068 * tests/libobj11.test: Likewise.
2069 * tests/library.test: Likewise.
2070 * tests/txinfo5.test: Likewise.
2072 2008-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2074 Skip instsh3.test if `touch -t' does not work.
2075 * tests/instsh3.test: Test for `touch -t', fails with Solaris
2078 Report by Younes Younes.
2080 2008-02-27 Reuben Thomas <rrt@sc3d.org>
2082 * doc/automake.texi (wildcards): Improve "Why doesn't Automake
2083 support wildcards" node's English and sense.
2085 2008-02-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2087 * lib/am/check.am (check-TESTS): In the case patterns for
2088 XFAILed tests, add literal bracket expression for matching
2089 whitespace, as NetBSD 4.99.54 ksh does not understand a
2090 bracket expression resulting from variable expansion.
2091 * README: Explain how to run the Automake test suite, including
2092 setting MAKE to test gmake.
2093 Report by Patrick Welche.
2095 2008-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2098 * m4/options.m4 (_AM_SET_OPTIONS): Use m4_foreach_w instead of
2099 obsolete AC_FOREACH.
2100 Report by NightStrike and gurganbl@rose-hulman.edu.
2102 2008-02-17 Colin Watson <cjwatson@debian.org> (tiny change)
2104 * lib/am/tags.am (ID): Fix typo in workaround for old awk.
2106 2008-02-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2108 * doc/.gitignore: Ignore files generated by `make ps pdf html'.
2110 2008-02-05 Reuben Thomas <rrt@sc3d.org>
2112 * doc/automake.texi (CVS): configure.ac will appear newer, not
2113 older, than configure. Use `lexical' instead of `alphabetical'.
2115 2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2117 * tests/man3.test: Avoid `make VAR=value'.
2119 * tests/subst3.test: New test.
2120 * tests/Makefile.am: Update.
2122 * tests/instsh2.test: Split off testing of `install-sh -C' ...
2123 * tests/instsh3.test: ... to this new test, requiring non-root.
2124 * tests/Makefile.am: Adjust.
2126 Report by Theodoros V. Kalamatianos.
2128 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2130 * tests/nobase.test: Extend test to generated files.
2132 * tests/nobase-python.test: New test, nobase for python files.
2133 * tests/Makefile.am: Update.
2135 * tests/nobase.test: Split off libtool part of nobase.test for
2136 increased test exposure, to ...
2137 * tests/nobase-libtool.test: ... this new test.
2138 * tests/Makefile.am: Update.
2140 2008-01-23 Eric Blake <ebb9@byu.net>
2142 Fix color.test when using BSD grep.
2143 * tests/color.test: Ensure that grep can handle non-printing
2146 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2148 * tests/lisp3.test: Fix typo.
2150 2008-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2152 * lib/am/mans.am (install-man%SECTION%): Prefer generated manpages
2153 over distributed ones.
2154 Report and patch by Peter Breitenlohner.
2155 * tests/man3.test: New test.
2156 * tests/Makefile.am: Update.
2158 2008-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2160 * tests/tar.test: Skip if no appropriate tar was found.
2162 2008-01-19 NightStrike <nightstrike@gmail.com>
2164 * doc/automake.texi (Dependency Tracking): Fix typo.
2166 2008-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2168 * lib/config-ml.in, lib/config.guess, lib/config.sub,
2169 lib/symlink-tree: Sync from upstream.
2171 * Makefile.am (WGET_SV_CVS): Renamed from WGETSGO.
2172 (WGET_SV_GIT_AC, WGET_SV_GIT_GL, WGET_GCC): New.
2173 (fetch): Update to match current upstream locations.
2175 2008-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2177 * doc/automake.texi (DESTDIR, Built sources example): Fix wording.
2179 Reports and suggestions by William Pursell and nightstrike@gmail.com.
2181 2008-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2183 Do not fail if `autoupdate' is not present.
2184 * tests/obsolete.test: Check for presence of autoupdate. Apparently,
2185 FreeBSD may install the other Autoconf programs without a version
2186 suffix but not autoupdate.
2188 Fix Heisenbug trying to unset a sometimes-not-set variable.
2189 * tests/check5.test: Do not error out upon `unset TESTS' due to
2190 `set -e', in case TESTS was not set.
2191 * tests/color.test: Likewise.
2193 * doc/automake.texi (amhello Explained): Fix odd sentence.
2194 Report by nightstrike@gmail.com.
2196 2008-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2198 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Rewrite to be more
2199 resistant to different quoting styles of $1.
2201 Clarify texinfo.tex and TEXINFO_TEX semantics.
2202 * doc/automake.texi (Texinfo): Clarify that by default,
2203 texinfo.tex is searched in the same directory as the Makefile.am
2204 that needs it. Clarify that TEXINFO_TEX has precedence over
2205 AC_CONFIG_AUX_DIR, and that it requires the user to install and
2207 * tests/txinfo22.test: Ensure TEXINFO_TEX is not distributed.
2209 Reports by Dilyan Palauzov and Roumen Petrov.
2211 2008-01-11 Bruno Haible <bruno@clisp.org>
2212 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2214 * tests/output-order.test: New test, for the stable output fix.
2215 * tests/Makefile.am: Update.
2217 2008-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2219 * Makefile.am (dist-hook): New, ensure world-executable tests.
2221 Report by Arto C. Nirkko.
2223 * tests/acloca20.test: Use `--force' with the second $AUTOCONF,
2224 to force update on fast machines where both autoconf invocations
2225 happen within the same second.
2226 Report by Greg Schafer.
2228 2008-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2230 * automake.in (scan_autoconf_files): Sort loop over
2231 %required_aux_file, for stable verbose output.
2232 Report by Bruno Haible.
2234 * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
2237 * tests/ccnoco.test (Mycomp): Use a tighter match for -c -o,
2238 to avoid matching for example `LDFLAGS=-Wl,--sort-common'.
2240 Report and analysis by Carsten Lohrke and Mike Frysinger.
2242 2008-01-07 Stepan Kasal <skasal@redhat.com>
2244 * automake.in (handle_texinfo_helper, handle_lib_objects): Fix
2247 2008-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2249 Bump copyright years.
2250 * aclocal.in (write_aclocal, version): Likewise.
2251 * automake.in ($gen_copyright, version): Likewise.
2252 * doc/automake.texi: Likewise.
2254 2007-12-18 Jim Meyering <meyering@redhat.com>
2256 * lib/gnupload (GPG): Don't use an absolute path.
2257 This reverts part of the 2004-01-28 change.
2259 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2261 * lib/Automake/FileUtils.pm (open_quote): New function.
2262 (update_file, contents): Use it.
2264 Reword the copyright notices to match what's suggested in GPLv3.
2266 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2268 * tests/defs.in: Quote $srcdir, $PATH; skip libtool and gettext
2269 tests if the absolute source or build tree name contain whitespace.
2271 Modify some tests for absolute trees containing whitespace.
2272 * tests/missing.test: Use "./missing" instead of "`pwd`/missing".
2273 * tests/missing2.test: Likewise.
2274 * tests/mmodely.test: Add `pwd` to $PATH instead of absolute
2275 references to myyacc.sh and mylex.sh.
2276 * tests/multlib.test: Likewise for mycc.
2277 * tests/txinfo26.test: Skip if `pwd` contains whitespace, as
2278 an absolute --srcdir does not work there.
2280 * INSTALL, lib/INSTALL, lib/config-ml.in, lib/config.guess,
2281 lib/config.sub, lib/texinfo.tex: Sync from upstream.
2283 Fix the distdir target to cope with spaces in absolute file names.
2284 * lib/am/distdir.am: Quote all instances of $(distdir) and
2285 $(top_distdir). They could contain white space, coming from
2286 a toplevel package bootstrapped with an older Automake version.
2287 (am__relativize): New macro, taken from gnulib code, written by
2289 (distdir): Use it to compute relative paths to distdir and
2290 top_distdir for enclosed subpackages.
2291 Also, quote $(distuninstallcheck_dir).
2292 * lib/am/texinfos.am: Likewise, quote $(distdir).
2294 2007-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2296 Quote file names in tests that can be absolute.
2297 * tests/auxdir.test, tests/check3.test, tests/check4.test,
2298 tests/compile.test, tests/cond33.test, tests/condhook.test,
2299 tests/distdir.test, tests/dollar.test, tests/empty.test,
2300 tests/gnits2.test, tests/gnits3.test, tests/include2.test,
2301 tests/insthook.test, tests/java.test, tests/libtool7.test,
2302 tests/lisp4.test, tests/lisp5.test, tests/lisp6.test,
2303 tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test,
2304 tests/multlib.test, tests/nobase.test, tests/nodist2.test,
2305 tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test,
2306 tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test,
2307 tests/python3.test, tests/strip.test, tests/transform.test,
2308 tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test,
2309 tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test:
2312 Quote @abs_top_builddir@ and @abs_top_srcdir@.
2313 * tests/aclocal.in: Likewise.
2314 * tests/automake.in: Likewise.
2316 Fix TAGS and GTAGS rules to cope with whitespace in `pwd`.
2317 * lib/am/tags.am (TAGS): Use positional parameters to avoid
2318 the need to quote absolute file names.
2319 (GTAGS): Quote absolute file name.
2320 (CTAGS): Simplify, dropping unused variable `$tags'.
2322 2007-11-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2324 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Fix another instance
2325 of am__strip_dir. Fixes nobase and pr300-ltlib test failures.
2327 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
2329 Several *-local in a rule do not work.
2330 * tests/all.test: Check this case.
2332 * tests/Makefile.am (XFAIL_TESTS): Add it.
2334 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
2336 Fix uses of am__strip_dir.
2337 * lib/am/libs.am, lib/am/ltlib.am: Catch up with the change of
2338 definition of am__strip_dir.
2340 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
2342 Define and use register_action.
2343 * lib/Automake/Rule.pm: Fix a few typos in the doc.
2344 (&rule): Use || to simplify the code.
2345 (®ister_action): New.
2347 * automake.in (&handle_factored_dependencies, &file_contents_internal):
2350 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
2352 * bootstrap: Fix typos on redirections.
2354 2007-11-24 Akim Demaille <akim@lrde.epita.fr>
2356 Skip comments and empty lines in dirlist in the tests.
2357 * defs.in (extra_includes): Skip comments and empty lines in dirlist.
2359 2007-11-24 Akim Demaille <akim@lrde.epita.fr>
2361 Ternary operator in lib/am files.
2362 * automake.in (&transform_token): New.
2363 (&transform): Use it.
2364 Support %KEY?TRUE:FALSE%.
2365 (&make_paragraphs): Adjust the regexp to call %transform.
2366 * lib/am/data.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
2367 * lib/am/progs.am, lib/am/python.am, lib/am/scripts.am:
2368 Use %KEY?TRUE:FALSE%.
2369 * lib/am/inst-vars.am (am__strip_dir): Assign the result to f
2370 to be more alike am__vpath_adj.
2371 Adjust dependencies.
2373 2007-11-24 Akim Demaille <demaille@gostai.com>
2375 * automake.in: Normalize white spaces.
2377 2007-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2379 * configure.ac (ACLOCAL, AUTOMAKE): Fix quoting for rebuilding
2380 rules, if the absolute build directory name contains white space.
2382 2007-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2384 * aclocal.in (trace_used_macros): Quote input files.
2386 * lib/ylwrap: Cope with white space in `PROGRAM' and `pwd`.
2388 * lib/am/tags.am (ID, TAGS, CTAGS): Make awk scripts portable again.
2389 (CTAGS): Drop unneeded variable `here'.
2391 2007-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2393 * tests/output13.test: New test.
2394 * tests/Makefile.am: Adjust.
2395 Prompted by report from Bruno Haible in
2396 <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00479.html>.
2398 Fix signal handling in aclocal.
2399 * aclocal.in (unlink_tmp): If invoked by a signal, note so
2400 in verbose mode. Reinstall default signal handler and reraise,
2401 to transport the interrupt information.
2403 2007-11-13 Bob Proulx <bob@proulx.com>
2405 Fix color test failure on dumb (and other) terminals.
2406 * tests/color.test: Set TERM to `ansi'.
2408 2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2410 Avoid spurious test failure with `make check TESTS=check5.test'.
2411 * tests/check5.test: unset TESTS.
2413 Fix maintainer-check failure.
2414 * tests/color.test: unset TESTS, use `make -e' rather than
2417 2007-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2419 * configure.ac (AM_INIT_AUTOMAKE): Require version 1.10a.
2421 * automake.in (handle_tests): Remove debugging leftover.
2423 Run each test in a process-private subdirectory.
2424 * tests/defs.in: Employ a trap to clean up at the end of the
2425 test in case the test succeeded. This needs to be revisited
2426 because we would like to keep the output of XPASSing tests.
2427 Also, note when we were interrupted by a signal. Code taken
2428 from Autoconf's _AC_INIT_PREPARE.
2429 If $keep_testdirs is set, keep them even for successful tests.
2430 * tests/Makefile.am (check-clean-local): New target. Remove all
2431 tests subdirs, but also make them writable first. The latter
2432 was already needed without per-test subdirs.
2433 (distclean-local): Depend upon check-clean-local.
2434 * tests/Makefile.in: Regenerate.
2435 * tests/.cvsignore, tests/.gitignore: Adjust.
2437 Fix default includes ordering to be `-I. -I$(srcdir) ...' again.
2438 * automake.in (handle_compile): Put -I$(srcdir) before include
2439 paths for config headers, as was done before Automake 1.10, but
2440 keep uniquified list without multiple adjacent spaces.
2441 * doc/automake.texi (Program variables): List include paths
2443 * NEWS: Mention 1.10 regression.
2444 * tests/stdinc.test: New test.
2445 * tests/Makefile.am: Adjust.
2447 Report by Kent Boortz.
2449 2007-11-08 Akim Demaille <akim@lrde.epita.fr>
2450 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2451 Bob Proulx <bob@proulx.com>
2453 Implement colorized test output.
2454 * automake.in (handle_tests): Set COLOR depending on `color-tests'.
2455 * configure.ac (AM_INIT_AUTOMAKE): Use `color-tests'.
2456 * doc/automake.texi (Tests, Options): Document test results,
2457 document new option, document AM_COLOR_TESTS.
2458 * lib/Automake/Options.pm (_process_option_list): Handle it.
2459 * lib/am/check.am (am__tty_colors): New variable. Enable colored
2460 output if TERM is not dumb and depending on AM_COLOR_TESTS and
2461 whether stdout is connected to a terminal.
2462 (check-TESTS): Use am__tty_colors.
2463 * NEWS: Mention color-tests.
2464 * tests/color.test: New test.
2465 * tests/Makefile.am: Adjust.
2467 2007-11-08 NightStrike <nightstrike@gmail.com> (tiny change)
2469 For PR automake/526:
2470 * doc/automake.texi (Basic Installation): Fix typo.
2472 2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2474 Accommodate for new macro AC_AUTOCONF_VERSION.
2475 * aclocal.in (write_aclocal): Use AC_AUTOCONF_VERSION rather
2476 than m4_PACKAGE_VERSION. Define the former if not defined.
2477 * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Likewise.
2478 * tests/missing4.test: Use AC_AUTOCONF_VERSION.
2480 2007-10-29 Bruno Haible <bruno@clisp.org>
2482 * doc/automake.texi (Program variables): Clarify that
2483 Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but
2484 passes it directly to compilation commands.
2486 2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2488 Move to git as primary source repository.
2489 * Makefile.am (git-dist, git-release): Renamed and adjusted from ...
2490 (cvs-dist, cvs-release): ... these.
2491 (git-diff): New target, taken and adjusted from cvs-diff.
2492 * Makefile.in: Regenerate.
2493 * bootstrap: Adjust.
2494 * NEWS: Announce change.
2495 * doc/automake.texi (General Operation): cvs-dist is git-dist now.
2496 (Timeline): Mention change.
2498 2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2500 * automake.in: Treat extension .sx also like preprocessed
2501 assembler (.S), following GCC.
2503 * doc/automake.texi (Assembly Support): Adjust.
2504 * tests/asm3.test: New test.
2505 * tests/Makefile.am: Update.
2507 2007-10-09 Jim Meyering <meyering@redhat.com>
2509 Add lzma compression support.
2511 * automake.in (handle_dist): Recognize dist-lzma.
2512 (make_paragraphs): Map LZMA to dist-lzma.
2513 * doc/automake.texi (Dist): Add dist-lzma.
2514 (Options): Likewise.
2515 * lib/Automake/Options.pm (_process_option_list):
2516 (dist dist-all): Add command to create an lzma-compressed tarball.
2517 (distcheck): Handle lzma-compressed tarballs just like the others.
2518 * tests/defs.in: Test for lzma, too.
2519 * tests/lzma.test: New file, based on nogzip.test.
2520 * tests/Makefile.am (TESTS): Add lzma.test.
2521 Suggestion from Karl Berry.
2523 2007-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2525 * automake.in (TARGET_PATTERN): Allow leading digit.
2526 * tests/exeext3.test: Adjust to expose this.
2527 Report by Claudio Fontana and Laurence Finston.
2529 2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2531 * tests/defs.in (required): For gcj, check whether `gcj -v'
2532 works, to avoid broken installations without libgcj.spec.
2534 * tests/gcj4.test: Setting GCJ not needed any more.
2536 Report by Jesse Chisholm.
2538 2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2540 * lib/config-ml.in, lib/config.guess, lib/config.sub,
2541 lib/symlink-tree, lib/texinfo.tex: New upstream versions.
2543 2007-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2545 * doc/automake.texi (gettext): Fix link to gettext manual.
2547 2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2549 In ChangeLog files, use more-permissive notice rather than GPL,
2550 as per usual GNU standards these days.
2552 2007-08-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2554 * automake.in (handle_programs): Also clean .libs/_libs
2555 directory for _PROGRAMS.
2556 * tests/libtoo10.test: New test.
2557 * tests/Makefile.am: Update.
2559 Report by Guillermo Ontañón.
2561 2007-08-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2563 * configure.ac: Actually require version 2.60 in the test for
2564 Autoconf, and recommend it in the error messages.
2566 Report by Robert Swafford.
2568 2007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2570 * doc/automake.texi (VPATH Builds): Fix wording.
2571 Report by Reuben Thomas.
2573 2007-07-22 Noah Misch <noah@cs.caltech.edu>
2575 * tests/subst.test: Move the AC_SUBST into a macro definition.
2576 Avoids an error from CVS Autoconf.
2578 Report by Benoit Sigoure.
2580 2007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2581 Alexandre Duret-Lutz <adl@gnu.org>
2583 * lib/am/configure.am (%?REGEN-ACLOCAL-M4%): New target
2584 $(am__aclocal_m4_deps) without any dependencies, to avoid the
2585 "deleted .m4 file" problem.
2586 * tests/acloca22.test: New test.
2587 * tests/Makefile.am: Update.
2590 2007-07-22 Francesco Salvestrini <salvestrini@gmail.com>
2591 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2593 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES)
2594 (uninstall-%DIR%LTLIBRARIES): Use $(AM_LIBTOOLFLAGS) and
2596 * lib/am/progs.am (install-%DIR%PROGRAMS)
2597 (uninstall-%DIR%PROGRAMS): Likewise.
2598 * tests/libtool7.test: Update test for `install' and
2600 * NEWS, THANKS: Update.
2602 2007-07-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2604 * doc/automake.texi: Remove Front-Cover and Back-Cover Texts,
2605 this manual is not printed by the FSF.
2607 2007-07-16 Alexandre Duret-Lutz <adl@gnu.org>
2609 * NEWS: Clarify that COPYING files are not updated.
2611 2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2613 * doc/automake.texi: New Back-Cover Text.
2614 Report by Karl Berry.
2616 2007-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2618 * aclocal.in (version): Fix output to match GCS requirements.
2619 * automake.in (version): Likewise.
2620 Report by Eric Blake.
2622 * COPYING, lib/COPYING: Update to GPLv3. All uses changed.
2625 2007-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2627 * lib/gnupload: Fix shell portability issues with for loops.
2628 Report by Karl Berry.
2630 2007-06-23 Paul Eggert <eggert@cs.ucla.edu>
2631 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2633 * aclocal.in (write_aclocal): Warn about autoconf
2634 incompatibilities instead of making them fatal.
2635 * tests/missing4.test: Adjust.
2637 Problem reported by Bruno Haible in
2638 <http://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>.
2640 2007-05-03 Stepan Kasal <kasal@ucw.cz>
2642 * doc/automake.texi, lib/Automake/Rule.pm: Fix typos.
2643 * automake.in: Likewise.
2644 (am_primary_prefixes): Keep the intentional typo there.
2646 2007-04-25 Eric Blake <ebb9@byu.net>
2648 * doc/stamp-vti: Remove generated file from revision control.
2649 * doc/version.texi: Likewise.
2651 2007-04-23 Reuben Thomas <rrt@sc3d.org> (tiny change)
2653 * doc/automake.texi (Python): Fix typo.
2655 2007-03-30 Eric Blake <ebb9@byu.net>
2656 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2658 * lib/mdate-sh (ls_command): Use -n when available to avoid
2659 problems with spaces in user/group names.
2660 * tests/mdate5.test: New test.
2661 * tests/Makefile.am: Adjust.
2663 2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2665 * automake.in (handle_tests): Rewrite XFAIL_TESTS just like
2666 TESTS, appending $(EXEEXT), so that matching continues to work
2668 * NEWS: Mention this.
2669 * doc/automake.texi (EXEEXT, Extending): Update.
2670 * tests/check7.test: New test.
2671 * tests/Makefile.am: Adjust.
2672 Bug report by Ed Hartnett.
2674 2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2676 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Again search
2677 the whole file, but use sed to reduce the line length.
2678 Fixes 1.10 regression. Report by David Byron.
2679 * THANKS, NEWS: Update.
2681 2007-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2683 * lib/depcomp (aix): Rewrite depmode in the spirit of the tru64
2684 one. Fixes failure to catch dependencies with libtool and xlc
2685 in case of enable_static=no (which is the default on AIX without
2687 * tests/depcomp7.test: Run test once with --disable-shared and
2688 once with --disable-static, to expose failure systematically.
2691 2007-03-29 Stepan Kasal <kasal@ucw.cz>
2692 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2694 * automake.in (handle_LIBOBJS_or_ALLOCA): Fix the error message.
2695 * tests/pr401.test: Update to expose the error.
2696 * tests/pr401b.test: Likewise.
2697 * tests/pr401c.test: Likewise.
2699 2007-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2701 * automake.in (scan_autoconf_config_files): Warn about leading
2702 `./' in config file names.
2703 * tests/canon-name.test: New test.
2704 * tests/Makefile.am: Update.
2706 Suggestion by Claudio Fontana.
2708 * tests/yacc6.test: Add the generated headers to `BUILT_SOURCES'
2709 as documented in the manual. Fixes parallel make failure.
2710 Report by Dieter Jurzitza.
2713 * ChangeLog, TODO, tests/exdir3.test: Fix copyright notice.
2715 * TODO: Kill a couple of outdated items.
2716 * tests/exdir3.test: New test.
2717 * tests/Makefile.am: Update.
2719 2007-01-27 Bruno Haible <bruno@clisp.org>
2721 * doc/automake.texi (Multiple Outputs): Fix the multiple outputs
2722 with locking example.
2724 2007-01-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2726 * doc/automake.texi (Subpackages): Fix ambiguous wording.
2727 Report and suggestions by Reuben Thomas.
2730 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2732 * tests/defs.in (is_newest): Cope with multiple newer files.
2733 * NEWS: mention `install-sh -C'.
2735 2006-12-25 Paul Eggert <eggert@cs.ucla.edu>
2737 * lib/install-sh (initialize_posix_glob): New var.
2738 Use it instead of setting posix_glob inline.
2739 (posix_glob): Use '?'/''/: instead of ''/yes/no, for convenience.
2740 (cmpprog, CMPPROG): New vars, since we use cmp rather than the diff
2742 Use LC_ALL before invoking 'ls' when we depend on its output format.
2743 Don't use awk; just use the shell's builtin features.
2744 Clean up $dsttmp if -C detects no installation is needed.
2745 * tests/defs.in (is_newest): Renamed from is_younger; the new
2746 name is more accurate. All uses changed.
2747 (old_timestamp): New var.
2748 * tests/instsh2.test: Rewrite to avoid the need for sleeping.
2750 2006-12-25 Akim Demaille <akim@epita.fr>
2752 * lib/install-sh: Implement install-sh -C.
2753 (This patch is the remaining part of the patch proposed in
2754 <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
2755 (usage): Document it.
2756 (copy_on_change): New var.
2757 * tests/defs.in (is_younger): New function.
2758 * tests/instsh2.test: Check install-sh -C.
2760 2006-12-24 Paul Eggert <eggert@cs.ucla.edu>
2762 * lib/install-sh: Fix typo in previous patch for handling --.
2763 Use more-consistent style for ';;'.
2764 Prefer || to if-then-else-:.
2765 * tests/install2.test: Rework to avoid set -e problems.
2767 2006-12-24 Akim Demaille <akim@epita.fr>
2769 Simplify install-sh and its test. This shouldn't change any behavior.
2770 (This patch is a subset of the patch proposed in
2771 <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
2772 * lib/install-sh (usage): Use usual GNU style.
2773 (dstarg): Rename as...
2774 (dst_arg): this for consistency.
2775 Simplify quoting of assignments.
2777 Don't use '\' to continue commands: && suffices.
2778 Remove useless "continue" in the argument processing,
2779 and factor the shifts.
2780 * tests/defs.in: Some improvements to make it set -e clean.
2781 Use the traditional ":" trick to protect loops from being empty.
2782 Remove an empty straightforward piece of code prepared to define
2783 additional variables.
2784 Use test instead of [], for consistency.
2785 * tests/install2.test: Use set -e, to simplify code.
2787 2006-12-20 Reuben Thomas <rrt@sc3d.org> (tiny change)
2789 * doc/automake.texi: Fix typo.
2791 2006-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2793 * doc/Makefile.am: Use $(MAKE) $(AM_MAKEFLAGS) for building
2794 amhello, to prevent gmake from invoking make with MAKEFLAGS
2795 it does not understand.
2796 Report by Patrick Welche.
2798 * lib/gnupload: Revert last change. Add pointer to upload
2799 instructions of the GNU Maintenance Instructions.
2800 Suggestion by Karl Berry.
2802 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2804 * lib/gnupload: Add missing 'gnu' to example URL.
2805 Report by Karl Berry.
2807 2006-10-28 Bobby Jack <bobbykjack@yahoo.co.uk> (tiny change)
2809 * doc/automake.texi (amhello Explained): autoconf creates
2810 configure, not configure.ac.
2813 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2815 * doc/automake.texi (Dist, Dependency Tracking Evolution):
2817 * lib/Automake/Condition.pm: Likewise.
2818 * lib/Automake/DisjConditions.pm: Likewise.
2819 * lib/Automake/ItemDef.pm: Likewise.
2820 * lib/Automake/Options.pm: Likewise.
2821 * lib/Automake/Rule.pm: Likewise.
2822 * lib/Automake/VarDef.pm: Likewise.
2823 * lib/Automake/Variable.pm: Likewise.
2824 * lib/Automake/Wrap.pm: Likewise.
2825 * lib/Automake/XFile.pm: Likewise.
2826 * m4/substnot.m4: Likewise.
2828 2006-10-16 Alexandre Duret-Lutz <adl@gnu.org>
2830 * lib/gnupload: Update to version 1.1 of directive file.
2832 2006-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2834 * lib/am/depend2.am (%SOURCEFLAG%): New substitution, goes
2835 right before the expanded source file name.
2836 * automake.in (%sourceflags): New global: per-extension flag
2837 to denote that the next compiler argument is the source file.
2838 (scan_autoconf_traces): Trace AC_FC_SRCEXT; initialize
2839 %sourceflags accordingly.
2840 (handle_single_transform): Store source file extension in...
2841 (%lang_specific_files): ...this and...
2842 (handle_languages): ...adjust here. Pass flag in SOURCEFLAG.
2843 * doc/automake.texi (Optional): Add AC_FC_SRCEXT.
2844 (Fortran 9x Support): Update.
2845 * tests/fort2.test: New test.
2846 * tests/Makefile.am: Adjust.
2847 * NEWS, THANKS: Update.
2848 Suggested by Steven G. Johnson.
2850 For PR automake/480.
2851 * automake.in (lang_f77_rewrite, lang_fc_rewrite)
2852 (lang_ppfc_rewrite, lang_ppf77_rewrite, lang_ratfor_rewrite):
2853 return `lang_sub_obj' to support subdir-object mode for the
2855 * tests/fort4.test, tests/fort5.test: New tests.
2856 * tests/Makefile.am: Update.
2857 * NEWS, THANKS: Update.
2858 Report by Davyd Madeley and Shannon L. Brown.
2860 * lib/am/header-vars.am (pkglibexecdir): New variable.
2861 * automake.in (%standard_prefix): Add it.
2862 * doc/automake.texi (Uniform): Document it.
2863 (Program Sources): Adjust.
2865 * tests/libexec.test: New test.
2866 * tests/Makefile.am: Update.
2867 Suggested by Eric Blake.
2869 2006-10-15 Alexandre Duret-Lutz <adl@gnu.org>
2871 * lib/gnupload: Update to version 1.1 of directive file.
2873 * configure.ac, NEWS: Bump version to 1.10a.
2875 * configure.ac, NEWS: Bump version to 1.10.
2876 * doc/automake.texi (Releases): Update for 1.10.
2878 * lib/config.sub, lib/texinfo.tex: New upstream versions.
2880 * lib/am/depend2.am: Typo.
2881 * lib/depcomp (scriptversion): Bump, to account for recent changes.
2883 * doc/automake.texi (Examples): Introduce the example, and point
2885 (Hello): Remove this obsolete node.
2887 2006-10-15 Hans Ulrich Niedermann <hun@n-dimensional.de>
2888 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2890 For PR automake/507:
2891 * lib/am/distdir.am (distdir): filename-length-max check is not
2892 done in sub-packages.
2893 * doc/automake.texi (Options): Document this.
2894 * tests/fn99subdir.test: New test.
2895 * tests/Makefile.am: Update.
2898 2006-10-14 Alfred M. Szmidt <ams@gnu.org> (tiny change)
2900 * doc/automake.texi (Third-Party Makefiles): Fix typo.
2903 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2905 * aclocal.in (write_aclocal): Improve warning for mismatched
2908 * automake.in: For preprocessed assembler, add `$(DEFS)
2909 $(DEFAULT_INCLUDES) $(INCLUDES)' to the compile rule.
2910 * doc/automake.texi (Assembly Support): Update.
2912 Suggested by Thomas Schwinge and Ralf Corsepius.
2914 For PR automake/492.
2915 * automake.in (output_flag): Set to `-o' for Assembler and
2916 preprocessed Assembler, assuming that all understand `-c -o'.
2917 * THANKS, NEWS: Update.
2918 * tests/subobj10.test: New test.
2919 * tests/Makefile.am: Update.
2920 Report by Thomas Schwinge.
2922 * automake.in (%_macro_for_cond): New variable.
2923 (cond_stack_if): Use it for better error message about
2924 missing dependency tracking conditionals.
2925 * tests/asm2.test: New test, modeled after asm.test.
2926 * tests/Makefile.am: Adjust.
2927 Report by Ralf Corsepius.
2929 * doc/automake.texi (Options): `no-dependencies' is similar
2930 to `--ignore-deps', not `--include-deps'.
2931 * m4/as.m4 (AM_PROG_AS): If `no-dependencies', do not invoke
2933 * tests/nodep2.test: New test.
2934 * tests/Makefile.am: Adjust.
2936 * automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the
2937 LIBOBJDIR, then we should not add a DEPDIR prefix.
2938 * tests/pr401.test: Update test.
2939 * tests/pr401b.test: Likewise.
2940 * tests/pr401c.test: Likewise.
2941 Report by Jim Meyering and Eric Blake.
2943 * lib/depcomp (gcc3): Put dependency extraction flags before the
2944 `-c' flag, so they appear at the same position as in %FASTDEP%
2945 mode in depend2.am. Fixes build failure for FreeBSD's c89,
2946 which ignores unknown options only after the first non-option.
2947 Bug report against M4 by Nelson H. F. Beebe.
2949 2006-10-14 Bruno Haible <bruno@clisp.org>
2950 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2952 * automake.in ($seen_gettext_intl): New variable.
2953 (handle_gettext): Consider it.
2954 (scan_autoconf_traces): Add AM_GNU_GETTEXT_INTL_SUBDIR to the list.
2955 Set $seen_gettext_intl when it is seen.
2956 * doc/automake.texi (gettext, Optional): Update.
2957 * tests/gettext3.test: New test.
2958 * tests/Makefile.am: Update.
2960 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
2962 * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
2963 which incorrectly sets the mode of an existing destination
2964 directory. In some cases the unpatched install-sh could do the
2965 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
2966 system. We hope this is rare in practice, but it's clearly worth
2967 fixing. Problem reported by Alex Unleashed in
2968 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
2969 Also, don't bother to check for -m bugs unless we're using -m;
2970 suggested by Stepan Kasal.
2972 2006-10-14 Geoffrey Keating <geoffk@apple.com> (tiny change)
2974 * m4/multi.m4: Non-default multilibs may be cross compilation.
2976 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2978 * automake.in: Fix some typos in comments.
2979 * lib/Automake/Variable.pm: Likewise.
2981 2006-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2983 * automake.in (handle_compile): Use subst, for maintainer-check.
2985 2006-10-09 Andreas Köhler <andi5.py@gmx.net> (tiny change)
2987 For PR automake/505:
2988 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES):
2989 Fix typo: `config.status.lineno', not `configure.status.lineno'.
2991 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2993 * NEWS: Mention that `install-sh' needs executable permissions.
2994 * tests/nobase.test: Adjust.
2995 Report by Patrick Welche.
2997 2006-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2999 * lib/am/check.am (check-TESTS): Fix matching of XFAIL_TESTS
3000 against currently running test for the first and last element
3001 of $(TESTS): add spacing so Solaris make does VPATH expansion
3002 on these words, too.
3003 * tests/check6.test: Update.
3005 2006-08-30 Paul Eggert <eggert@cs.ucla.edu>
3007 For PR automake/501:
3008 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?!GENERIC?%OBJ%):
3009 Abbreviate output a bit by not bothering to quote the .Po file
3010 name (the quoting doesn't suffice in general anyway), and by not
3011 bothering to remove junk .Tpo files (as they'll be removed later).
3012 This also lets 'make' run faster by avoiding a subshell.
3014 2006-08-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3016 * automake.in: Fortran 77 and Fortran should require variables
3017 F77 resp. FC to be defined, and suggest the respective Autoconf
3019 * tests/fort1.test: New test.
3020 * tests/Makefile.am: Update.
3022 * tests/ext.test: Add extensions f95, F90, F95.
3024 2006-08-30 Alexandre Duret-Lutz <adl@gnu.org>
3026 For PR automake/500:
3027 * automake.in (handle_compile) <$default_includes>: Do not output
3028 the same -I twice. Use @am__isrc@ instead of ` -I$(srcdir)'.
3029 * m4/init.m4: Define am__isrc as ` -I$(srcdir)' only in
3030 non-VPATH builds since we always have `-I.'.
3031 * tests/subpkg.test: Make sure config headers are found in VPATH
3032 and non-VPATH builds.
3034 2006-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3036 * doc/automake.texi, lib/Automake/Rule.pm: Fix some typos.
3037 * NEWS: Likewise. Clarify that only one LIBOBJDIR is supported.
3039 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
3041 * lib/Automake/ChannelDefs.pm (usage): Mention that -Wportability
3042 is enabled by default with gnu and gnits strictness.
3043 Report from Bruno Haible.
3045 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
3047 * NEWS: Mark de-ANSI-fication as being obsolete.
3048 * doc/automake.texi: Likewise.
3050 2006-08-21 Stepan Kasal <kasal@ucw.cz>
3052 * Makefile.am, THANKS: Fix typos.
3054 2006-08-20 Alexandre Duret-Lutz <adl@gnu.org>
3056 * NEWS, configure.ac: Bump version to 1.9c.
3058 * NEWS, configure.ac: Bump version to 1.9b.
3060 * Makefile.am (maintainer-check): Check for mkdir_p in automake.in
3062 * automake.in (require_build_directory): Use MKDIR_P, not mkdir_p.
3064 * m4/mkdirp.m4: Typo in previous patch.
3066 * Makefile.am (maintainer-check): Fine-tune the "Unescaped @"
3067 check so it doesn't complain about the '@ 's in node "Standard
3068 Directory Variables".
3070 * INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New
3073 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with
3074 $(top_builddir)/ if it is a relative directory.
3076 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
3078 * lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use
3079 ylwrap. Suggested by Akim Demaille long ago, to ease maintenance.
3080 * automake.in (handle_languages): Do not define MORE-THAN-ONE.
3081 (yacc_lex_finish_helper, lang_yacc_finish, lang_lex_finish): Always
3083 * doc/automake.texi (Auxiliary Programs, Yacc and Lex): Update the
3084 documentation of ylwrap.
3085 * tests/lex.test, tests/lex4.test, tests/mmodely.test,
3086 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
3087 tests/yaccpp.test: Adjust.
3089 * doc/automake.texi (Releases): Update statistics until 1.9.6.
3091 * Makefile.am (maintainer-check): Check for mkdir_p.
3092 * automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P.
3093 * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
3094 lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
3095 lib/am/mans.am, lib/am/progs.am, lib/am/python.am,
3096 lib/am/scripts.am, lib/am/texinfos.am: Use MKDIR_P instead of mkdir_p.
3097 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not
3098 as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use
3099 mkdir_p without defining MKDIR_P.
3100 * tests/distdir.test, tests/instman.test, tests/txinfo21.test:
3103 * Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm.
3104 * configure.ac (ACLOCAL): Use --acdir=m4 in addition to
3105 -I m4. Running aclocal during the rebuild rules will fail
3106 if the default acdir does not exist.
3108 * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4:
3109 Require Autoconf 2.60 instead of some intermediate development
3112 * doc/automake.texi (Standard Directory Variables): Fix multitable
3114 (Autotools Introduction): Fix @uref usage.
3116 2006-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3118 * doc/automake.texi: Fix some typos in the introduction,
3119 adjust some spacing; spell `GNU Build System' consistently.
3120 (menu): Unify node naming.
3121 (Standard Directory Variables): Clarify that this list is not
3123 (DESTDIR): Fix example.
3125 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
3127 * doc/automake.texi (Autotools Introduction) New chapter.
3128 Thanks to Ben Pfaff and Ralf Wildenhues for comments.
3129 (Auxiliary Programs, Install, Dist, Third-Party Makefiles)
3130 (distcleancheck): More cross references.
3131 * doc/amhello/configure.ac, doc/amhello/README,
3132 doc/amhello/Makefile.am, doc/amhello/src/Makefile.am,
3133 doc/amhello/src/main.c: New files.
3134 * doc/Makefile.am (dist_noinst_DATA): Distribute them.
3135 ($(srcdir)/amhello-1.0.tar.gz): New rule.
3136 (dist_doc_DATA): Install amhello-1.0.tar.gz.
3137 * Makefile.am (SUBDIRS): Update comment.
3139 2006-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3141 * doc/automake.texi: Fix some typos.
3143 2006-08-14 Jonathan Higa <jthiga@gmail.com>
3145 * automake.in: Register "Unified Parallel C" as language.
3146 (lang_upc_rewrite): New function.
3147 (resolve_linker): Consider UPCLINK.
3148 * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest
3149 AM_PROG_UPC for UPC and UPCFLAGS.
3150 * m4/upc.m4: New file.
3151 * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case.
3152 * m4/Makefile.am (dist_m4data_DATA): Add upc.m4.
3153 * doc/automake.texi (Unified Parallel C Support): New node.
3154 (Public macros): Mention AM_PROG_UPC.
3155 (Program and Library Variables, Flag Variables Ordering):
3157 * tests/upc.test, tests/upc2.test, tests/upc3.test: New file.
3158 * tests/Makefile.am (TESTS): Add them.
3159 * tests/ext.test: Also test upc files.
3161 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
3163 * doc/automake.texi (Scripts): Fix some errors in previous patch.
3165 * doc/automake.texi (Scripts): Revamp. Show an example of script
3166 built from configure.ac. Discuss CLEANFILES and EXTRA_DIST for
3167 other built scripts.
3169 * m4/init.m4: Suggest fixing the call to AC_INIT when
3170 AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined. This is for
3171 newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments.
3172 * tests/init.test: New file.
3173 * tests/Makefile.am (TESTS): Add it.
3175 2006-08-04 Stepan Kasal <kasal@ucw.cz>
3177 * automake.in (dist_dirs, fill_dist_dirs): Remove.
3178 * lib/am/distdir.am (DISTDIRS): Remove.
3179 * tests/distdir.test, tests/pr2.test: Do not grep, use
3180 `make distdir' instead.
3182 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
3184 * doc/automake.texi (Conditionals): Split in two sections, "Usage"
3185 and "Portability", and add a third one, "Limits" to explain how
3186 conditional definitions inside multi-lines definitions can be
3188 * automake.in (handle_options): Do not assume that
3189 AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional
3190 definitions of AUTOMAKE_OPTIONS.
3191 Report from Bas Wijnen.
3192 * tests/amopt.test: New test.
3193 * tests/Makefile.am (TESTS): Add it.
3195 * aclocal.in (install_file): Cannot use /dev/null while diffing
3196 new files, because Tru64's diff do not handle /dev/null. So
3197 create an empty destination file before running diff on a new
3198 file, and erase it afterward. Fall back to using /dev/null only
3199 if we cannot create this file.
3200 Report and initial patch from Ralf Wildenhues.
3201 (unlink_tmp): New function.
3202 * test/acloca18.test: Make sure the empty file has been erased.
3204 2006-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3206 * automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects,
3207 do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR,
3208 to help BSD Make find the files also in a VPATH build.
3209 Also return the same path, possibly prefixed, for correct
3211 * tests/pr401.test: Update to expose wrong depdir computation.
3212 Rewrite to not use the same file name for library object and
3214 * tests/pr401b.test, tests/pr401c.test: Likewise.
3216 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
3218 * lib/install-sh: Don't incorrectly claim that this implementation
3219 can install only one file at a time.
3220 (doit_exec): New var, for using 'exec' if possible, to save a process.
3221 (test_mode, intermediate_mode): Remove.
3222 (mode): Check for IFS or globbing characters in mode, since they might
3223 cause weird behavior with the other changes below. All later uses
3224 of '"$mode"' changed to '$mode', since the ""s no longer matter.
3225 Use octal modes if the invoker specifies an octal mode, and use
3226 octal umask values if 'umask' outputs octal values; this is more
3227 likely to work with older operating systems since Automake uses
3228 octal modes, and also works around a bug with HP-UX 11.23
3229 'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in
3230 <http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>.
3231 (cp_umask, mkdir_umask): New variables, to avoid
3232 temporarily creating files or directories with too-permissive modes.
3233 (mkdir_mode): Use the FreeBSD 'install' method for computing modes of
3234 intermediate directories; this is safer.
3235 (posix_mkdir): Also test mkdir -p -m ... by making a directory in
3236 /tmp and checking the resulting mode with 'ls', to catch a bug in
3237 HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message.
3238 Use ':' for true, not 'true'; this is a bit faster on
3239 traditional implementations.
3241 2006-07-09 Jim Meyering <jim@meyering.net>
3243 * lib/depcomp: "in in" -> "in" in comment.
3245 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3247 * tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr,
3248 for consistency with the recommendation prompted by this report:
3249 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
3251 2006-06-24 Stepan Kasal <kasal@ucw.cz>
3252 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3254 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to
3255 `'$(MKDIR_P)'', so that it retains the per-directory value
3256 computed by config.status.
3257 * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from
3258 a changed directory. Bugs reported by Ralf Menzel.
3261 2006-06-24 Eric Dorland <eric@debian.org>
3262 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3264 * automake.in (scan_texinfo_file): Fix matching file extension.
3265 * tests/txinfo31.test: New test.
3266 * tests/Makefile.am: Update.
3268 2006-06-07 Alexandre Duret-Lutz <adl@gnu.org>
3270 * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.
3272 2006-06-07 Stepan Kasal <kasal@ucw.cz>
3274 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
3276 2006-06-06 Stepan Kasal <kasal@ucw.cz>
3277 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3279 * lib/am/distdir.am: Do not call $(mkdir_p) for each
3280 distributed file, collect them and create them in one run,
3281 and strip $(srcdir) and $(top_srcdir) all at once.
3282 Fix some comment typos.
3284 2006-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3286 * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
3287 7.4.4m may omit the first included header dependency information
3288 with `-MDupdate'. Refine test to catch this.
3290 * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
3293 * tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3
3294 requires `config.rpath' to be present, and automake now enforces
3295 this. Test this, but only if the gettext installation works and
3296 is recent enough to provide this diagnosis.
3297 * tests/gettext.test: Provide a dummy `config.rpath' for all
3299 * tests/gettext2.test, tests/subcond.test: Likewise.
3301 * tests/pr401.test: Replace "perl -i" with sed and mv, for
3303 * tests/pr401b.test, tests/pr401c.test, tests/python11.test,
3304 * tests/yacc6.test, tests/yacc8.test: Likewise.
3306 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
3307 plain `grep' on the Makefile, as its line length may exceed that
3308 for grep. Bug report against coreutils by Sam Sirlin.
3311 2006-05-26 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
3313 * doc/automake.texi (Options): Add anchor `tar-formats'.
3315 2006-05-25 Noah Misch <noah@cs.caltech.edu>
3317 * lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides
3318 ENOLCK. Only mention `make -j' when applicable. Only raise
3319 fatal errors when `make -j' is involved. Improve error message.
3321 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3323 * lib/Automake/Configure_ac.pm (find_configure_ac): Use
3324 `$configure_in' instead of `configure.in', to preserve
3325 directory component.
3326 * lib/Automake/Configure_ac.pm: Add note that Automake owns
3328 * lib/Automake/Channels.pm: Likewise.
3329 * lib/Automake/FileUtils.pm: Likewise.
3330 * lib/Automake/Struct.pm: Likewise.
3332 2006-05-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3334 * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
3335 New upstream versions.
3337 2006-05-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3339 * doc/automake.texi (Auxiliary Programs): Fix URL to GCC
3340 repository, they use SVN now.
3342 2006-05-13 Werner Lemberg <wl@gnu.org>
3344 * lib/gnupload: Add support for savannah.gnu.org and
3345 savannah.nongnu.org.
3347 2006-05-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3349 * lib/Automake/Channels.pm, lib/Automake/Condition.pm,
3350 lib/Automake/DisjConditions.pm, lib/Automake/Options.pm,
3351 lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos.
3353 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
3355 * lib/install-sh: Sync from Autoconf, as follows:
3356 Don't use 'path' to talk about file names,
3357 as per GNU coding standards. Close a race condition reported by Ralf
3358 Wildenhues and Stepan Kasal. There is still a race condition
3359 on hosts that predate Posix 1003.1-1992, but we can't help this.
3360 Don't mishandle weird characters like space on pre-Posix hosts.
3361 Invoke mkdir at most once per dir arg on pre-Posix hosts.
3363 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3365 * tests/missing.test, tests/missing2.test: Do not require
3367 * Makefile.am (maintainer-check): Make sure `required=' does not
3368 follow `. ./defs' in the tests.
3370 * tests/ansi10.test: Use AC_PROG_CC_STDC. Fix test that
3371 ac_cv_prog_cc_stdc isn't just used by Automake code in
3373 * tests/ansi6.test, tests/ansi7.test: Likewise.
3374 * tests/ansi9.test: Likewise. Do not override by setting
3375 $U and $(ANSI2KNR) at `make' time; that will be fragile.
3376 * tests/libobj8.test: Use AC_PROG_CC_STDC.
3377 * tests/subobj3.test: Likewise. Use `set -e'.
3379 * lib/install-sh: Initialize IFS, so field splitting isn't
3381 * lib/mkinstalldirs: Likewise.
3383 * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
3384 the path of the prerequisite added; IRIX 6.5 make does not add
3385 it, Solaris 2.6 make is inconsistent about adding it. Fixes
3388 * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
3389 files in the source tree. Fixes failures with HP-UX and Tru64
3392 * lib/am/ansi2knr.am (ansi2knr): Rename target as...
3393 (./ansi2knr): ...this, for BSD make.
3394 (%ANSI2KNR-DIR%/ansi2knr): Adjust.
3396 2006-05-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3398 * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
3399 /bin/sh -e issue with failing commands in if clauses.
3401 * tests/defs.in (Be Bourne compatible): Update from current
3404 * configure.ac: Recommend perl-5.8.2.
3405 * tests/automake.test: Do not fail because of buggy Getopt::Long
3408 * tests/longlin2.test: Do not use `grep' on Makefile.am:
3409 it has long lines and is thus not a text file; AIX 5.1 grep
3410 fails to scan non-plain patterns from long lines.
3412 * tests/overrid.test: Change all regexes for warning messages to
3413 match after a colon, so that the prepended file names do not
3414 cause false matches. Tighten overrides regex. Fix typo
3415 `cleam-am-local' -> `clean-am-local'.
3417 * tests/java.test: `configure' uses a trap, so use `(exit 77);
3418 exit 77' to portably set the exit status similar to AS_EXIT.
3419 * tests/fn99.test: propagate nonzero exit status from subshell.
3421 * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
3422 if ``pwd`' contains the string `-p'. Create the wrapper in a
3423 subdirectory so that `.' in $PATH does not lead to an endless
3426 * lib/depcomp (ia64hp): Rename dependency style to..
3427 (hp2): ..this, as it works with aCC on HPPA, too; adjust
3428 comment. Report by Olivier Fourdan (PR automake/481).
3431 * tests/aclocal7.test: Add `$sleep's between file touching
3432 and automake resp aclocal+automake invocations, to ensure
3433 they complete with a time stamp strictly later than the touched
3436 * lib/missing: Remove superfluous quotes. Replace all uses of
3437 `[' by `test', for consistency, and for..
3438 * tests/missing5.test: ..this new test.
3439 * tests/Makefile.am: Update.
3441 * lib/missing (sed_minuso, sed_output): New variables.
3442 (autom4te, help2man, makeinfo): Use them. Unifies detection of
3443 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
3444 Fixes `missing' to detect `--output' for help2man. Fixes
3445 PR automake/483. Report by Dennis J. Linse.
3446 (autom4te): Document in `missing --help'.
3449 2006-04-26 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
3451 * doc/automake.texi (Dependency Tracking Evolution): Fix typo.
3453 2006-04-25 Stepan Kasal <kasal@ucw.cz>
3455 * lib/install-sh: Simplify the expr implementation of dirname.
3457 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
3459 * lib/install-sh: Handle --, and diagnose unknown options.
3460 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set
3461 mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with
3462 the other ways that mkdir_p might be set.
3464 2006-04-21 Alexandre Duret-Lutz <adl@gnu.org>
3466 * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
3467 (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
3468 * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
3469 (write_aclocal): Output a check for Autoconf's version in aclocal.m4.
3470 Doing so ensures that users cannot build configure and Makefiles
3471 with two different autoconf versions. Report from Noah Misch.
3472 * tests/missing4.test: New file.
3473 * tests/Makefile.am (TESTS): Add it.
3475 2006-04-20 Paul Lunau <temp@lunau.me.uk> (tiny change)
3476 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3478 * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
3479 failed, instead of when the last one failed (PR automake/488).
3480 Report from Paul Lunau.
3481 * tests/dejagnu4.test: Update to expose this.
3484 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3486 * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
3487 TABs as well as spaces. Fixes PR automake/490.
3488 * tests/check6.test: New test.
3489 * tests/Makefile.am, THANKS: Update.
3490 Report from Diab Jerius <djerius@cfa.harvard.edu>.
3492 2006-04-17 Stepan Kasal <kasal@ucw.cz>
3494 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
3495 description; eliminate the duplicate error message.
3496 * doc/automake.texi (@direntry): `Invoking Automake' is the name
3497 of the usage node for `automake'
3498 * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the
3501 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3503 * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
3504 because it uses `datarootdir'. Bump copyright year and serial.
3506 2006-04-10 Stepan Kasal <kasal@ucw.cz>
3510 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
3512 * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
3513 (_gen_varname): Use _hash_values, and return a flag indicating whether
3514 the variable name was generated or reused.
3515 (transform_variable_recursively): Do not redefine variables that
3516 are reused, and try to reuse the variable being transformed.
3517 * tests/check2.test: Make sure TESTS hasn't been redefined.
3518 * tests/check5.test, tests/exeext4.test: Make sure variables have
3520 * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.
3522 * automake.in (%ignored_configure_vars): New variable.
3523 (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill
3524 %ignored_configure_vars.
3525 (define_configure_variable): Declare ignored configure variables
3526 as VAR_SILENT. Do not special-case AMDEPBACKSLASH and ANSI2KNR
3528 * m4/substign.m4: New file.
3529 * m4/Makefile.am (dist_m4data_DATA): Add substign.m4.
3530 * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477).
3531 * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH.
3532 * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR.
3533 * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined.
3534 * tests/amsubst.test: New file.
3535 * tests/Makefile.am (TESTS): Add it.
3537 2006-04-09 Stepan Kasal <kasal@ucw.cz>
3538 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3540 * automake.in (handle_single_transform): Preserve directories in
3541 direct suffix rules.
3542 * tests/suffix12.test: New test.
3543 * tests/Makefile.am (TESTS): Add it.
3544 Report from John Ratliff.
3546 2006-03-25 Mike Frysinger <vapier@gentoo.org> (tiny change)
3547 Alexandre Duret-Lutz <adl@gnu.org>
3549 * aclocal.in ($m4_include_rx): Do not recognize `include', and
3550 adjust scan_configure_dep and scan_file accordingly.
3551 (scan_configure_dep): Do not search white lines.
3552 (scan_file): Strip comments from current line after checking
3553 for serial, so that aclocal does not trip on `m4_include' macros
3554 in comments. Report from Mike Frysinger.
3555 * tests/acloca21.test: New file.
3556 * tests/Makefile.am (TESTS): Add it.
3558 2006-03-24 Stepan Kasal <kasal@ucw.cz>
3560 * tests/mmodely.test: Fix the test on systems with no lex.
3562 2006-03-23 Stepan Kasal <kasal@ucw.cz>
3564 * automake.in (libtool_new_api): Fix a typo in the comment.
3565 * lib/Automake/Makefile.am (Config.pm): Likewise.
3566 * lib/am/depend2.am: Likewise.
3567 * tests/xsource.test: With `set -e', `|| exit 1' is no longer
3570 2006-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3572 * tests/depcomp6.test, tests/depcomp7.test: Change back to
3573 using `$MAKE && exit 1', but make sure the last command in the
3576 2006-03-21 Clifford Wolf <clifford@clifford.at> (tiny change)
3577 Stepan Kasal <kasal@ucw.cz>
3578 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3580 * aclocal.in (parse_arguments): Added wildcard support to the
3582 * doc/automake.texi (Macro search path): Document it.
3583 * tests/dirlist2.test: New test.
3584 * m4/dirlist, tests/Makefile.am: Adjust.
3586 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3588 * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)'
3589 to `AC_PROG_OBJC' if provided, to fix Objective C depmode
3591 * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for
3593 * tests/ext.test: Adjust.
3594 * tests/objc.test, tests/objc2.test: New tests.
3595 * tests/Makefile.am: Adjust.
3596 * doc/automake.texi (Objective C Support): New node.
3597 (Support for Other Languages): Adjust.
3599 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3601 * lib/Automake/RuleDef.pm (DESCRIPTION): Typo.
3603 * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic
3604 to work with `set -e'.
3606 * tests/depcomp6.test, tests/depcomp7.test: New tests,
3607 for general `depcomp' functionality, with and without
3608 `subdir-objects', with and without `libtool'.
3609 * tests/Makefile.am: Adjust.
3611 * aclocal.in (write_aclocal): Unlink `aclocal.m4' before
3612 writing into it, to break a symlinked file.
3613 * tests/acloca20.test: New test.
3614 * tests/Makefile.am: Updated.
3616 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3618 Allow package trees (packages with subpackages) to share
3619 common distributed auxiliary files (and directories) that
3620 reside within a subpackage.
3622 * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if
3623 `$(distdir)' already exists.
3624 (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent
3625 removal of subpackage trees for distribution.
3626 * tests/subpkg3.test: New test.
3627 * tests/Makefile.am: Update.
3629 2006-03-18 Alexandre Duret-Lutz <adl@gnu.org>
3631 * tests/check5.test, tests/nobast.test: Fix $MAKE and rm
3632 invocations to please maintainer-check.
3634 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
3636 * automake.in (lang_c_rewrite): Typo in previous change.
3637 * tests/ccnoco2.test: New file.
3638 * tests/Makefile.am (TESTS): Add ccnoco2.test.
3640 * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
3641 a 'portability' warning, so that people can ignore it. Suggested
3644 * lib/Automake/ChannelDefs.pm: Make -Wportability the default in
3645 gnu and gnits modes.
3646 * doc/automake.texi (Invoking Automake): Adjust.
3648 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3650 * doc/automake.texi (Yacc and Lex): Document that `.ypp' and
3651 `.lpp' file extensions are recognized.
3653 2006-02-21 Alexandre Duret-Lutz <adl@gnu.org>
3655 * doc/automake.texi (Complete, Extending aclocal, Public macros)
3656 (Python, Conditionals, API versioning): Always quote macro arguments.
3657 Report from Stepan Kasal.
3659 2006-02-16 Alexandre Duret-Lutz <adl@gnu.org>
3661 * doc/automake.texi (Python): More examples.
3663 2006-02-05 Alexandre Duret-Lutz <adl@gnu.org>
3665 * doc/automake.texi (distcleancheck): Fix bad wording. Report
3667 (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS).
3669 2006-01-29 Alexandre Duret-Lutz <adl@gnu.org>
3671 Append $(EXEEXT) to programs that may be listed in TESTS.
3672 Report from Simon Josefsson.
3674 * automake.in (%known_programs): New global.
3675 (initialize_per_input): Reset it.
3676 (append_exeext): Take a predicate as first argument to select
3677 the filename to rewrite.
3678 (handle_programs): Fill %known_programs.
3679 (handle_tests): Append $(EXEEXT) to all tests that are in
3681 (am_install_var): Update call to append_exeext.
3682 * doc/automake.texi (EXEEXT): TESTS is also rewritten.
3683 (Tests): More about the difference between check_PROGRAMS and TESTS.
3684 Give an example of TEST_ENVIRONMENT.
3685 * tests/cond32.test: Augment with a nested condition.
3686 * tests/exeext4.test: Also check TESTS.
3687 * tests/check5.test: New file.
3688 * tests/Makefile.am (TESTS): Add check5.test.
3690 2006-01-12 Paul Eggert <eggert@cs.ucla.edu>
3692 * lib/install-sh (dstdir): Don't use semicolons inside { } in
3693 sed scripts, as Posix says it's not portable.
3694 * lib/missing (file): Likewise.
3695 * lib/am/distdir.am (distcheck): Likewise.
3696 * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
3697 * tests/distcom2.test, tests/distcom3.test: Likewise.
3698 * tests/distcom4.test, tests/distcom5.test: Likewise.
3699 * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
3701 2006-01-12 Alexandre Duret-Lutz <adl@gnu.org>
3703 * ChangeLog: Move 2004's entries to ...
3704 * ChangeLog.04: ... this new file.
3705 * Makefile.am (EXTRA_DIST): Add ChangeLog.04.
3707 * tests/txinfo13.test: Test fix below.
3709 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3711 * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted
3712 extra files in distribution. Reported by Vincent Lefevre.
3714 2006-01-06 Alexandre Duret-Lutz <adl@gnu.org>
3716 * doc/automake.texi (Linking, Program and Library Variables):
3717 Mention the file extensions that usually appear in _DEPENDENCIES,
3718 and point to BUILT_SOURCES and example of _DEPENDENCIES uses. A
3719 couple of people have been listing sources files in _DEPENDENCIES
3722 * doc/automake.texi: Bump copyright year.
3723 * automake.in ($gen_copyright, version): Likewise.
3724 * aclocal.in (write_aclocal, version): Likewise.
3726 2006-01-05 Stepan Kasal <kasal@ucw.cz>
3727 Alexandre Duret-Lutz <adl@gnu.org>
3729 * automake.in (topsrcdir): New global.
3730 (generate_makefile): Compute it.
3731 (fill_dist_dirs): New function extracted from handle_dist.
3732 (handle_dist, handle_configure): Use fill_dist_dirs.
3733 * tests/distdir.test: Test for cases where $(top_srcdir) or
3734 $(srcdir) appear in EXTRA_DIST. Report from Sander Niemeijer.
3736 2006-01-05 Zack Weinberg <zackw@panix.com>
3737 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3739 * lib/depcomp: Add 'ia64hp' dependency style.
3740 Zack's original patch was contributed to GCC on 2005-06-13.
3743 2005-11-01 Stepan Kasal <kasal@ucw.cz>
3745 * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
3746 the code is portable to both POSIX and pre-POSIX shells.
3748 2005-10-17 Alexandre Duret-Lutz <adl@gnu.org>
3750 * tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
3751 suggested by Eric Blake.
3753 2005-10-17 Stepan Kasal <kasal@ucw.cz>
3755 * doc/automake.texi (Program and Library Variables): Typo.
3756 * lib/Automake/Variable.pm (transform_variable_recursively): Typo
3759 2005-10-03 Stepan Kasal <kasal@ucw.cz>
3761 * ChangeLog.03, automake.in, tests/overrid.test: Typos.
3763 2005-10-03 Alexandre Duret-Lutz <adl@gnu.org>
3765 * tests/nobase.test: Exercise previous patch.
3767 2005-10-03 Peter O'Gorman <peter@pogma.com> (tiny change)
3769 * lib/am/distdir.am: Remove $(SHELL) when calling install_sh
3770 * m4/strip.m4: Ditto.
3771 * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
3773 2005-09-13 Paul Eggert <eggert@cs.ucla.edu>
3775 * doc/automake.texi (limitations on file names): New section.
3776 * lib/install-sh: Rewrite to support '*' in file names.
3777 Also, tune so that we don't invoke so many commands in the usual case.
3778 This has the side effect of fixing `install-sh -d' to not fail if it
3779 loses the race in creating the last path component against another
3781 * tests/instspc.test: The "*" test is now fixed.
3783 2005-09-13 Stepan Kasal <kasal@ucw.cz>
3785 * automake.in (Languages) <cppasm>: Fix typo in the comment.
3787 2005-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3789 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
3790 shell in verbose mode.
3792 2005-08-07 Alexandre Duret-Lutz <adl@gnu.org>
3794 * lib/Automake/Variable.pm (variable_value): Do not read the TRUE
3795 value of a conditionally defined variable.
3796 Report from Juergen Leising.
3798 * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
3799 $(MAKE) invocations.
3800 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
3802 * lib/am/texi-vers.am (%STAMPVTI%): Likewise.
3803 * lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
3804 * Makefile.am (maintainer-check): Check for this.
3805 Report from Stepan Kasal.
3807 * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.
3808 Prompted by Stepan Kasal.
3810 2005-08-07 Stepan Kasal <kasal@ucw.cz>
3812 * lib/am/texinfos.am (uninstall-info-am): Call install-info only if
3813 the $(infodir) exists.
3815 2005-07-31 Stepan Kasal <kasal@ucw.cz>
3817 * tests/library3.test: Fix a typo which made the test fail.
3819 2005-07-27 Alexandre Duret-Lutz <adl@gnu.org>
3821 * doc/automake.texi (Linking, Program and Library Variables):
3822 Suggest reserving -l for third-party libraries.
3824 * lib/Automake/Variable.pm (require_variables): Mention aclocal's
3825 search path when suggesting to add a macro in configure.ac.
3826 People are confused when Automake suggests adding a macro (such as
3827 AC_PROG_LIBTOOL) that is already in configure.ac.
3828 * automake.in (require_file_internal): Suggest `automake --add-missing'
3829 for missing files that can be installed.
3830 * tests/library3.test: Adjust.
3832 2005-07-27 Stepan Kasal <kasal@ucw.cz>
3834 * tests/defs.in: When required matches both `*libtool*' and
3835 `*gettext*', check for both m4 files.
3837 * doc/automake.texi (Auxiliary Programs): Fix a typo.
3838 * tests/suffix11.test: Fix a typo.
3839 * tests/colon3.test: s/EGREP/FGREP/.
3841 2005-07-19 Paul Eggert <eggert@cs.ucla.edu>
3843 * tests/instspc.test: Major rewrite to test for many other
3844 problematic file names, e.g., '$', '"', '('. Automake and
3845 Autoconf can't handle many of them, so do not report a failure
3846 if the usual candidates show up.
3848 2005-07-19 Stepan Kasal <kasal@ucw.cz>
3850 * Makefile.am (automake, aclocal): Merge the rules.
3852 2005-07-10 Alexandre Duret-Lutz <adl@gnu.org>
3854 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
3857 2005-07-09 Alexandre Duret-Lutz <adl@gnu.org>
3859 * lib/install-sh: Use IFS=/ to split directories on /, don't translate
3860 / into % as it prevents directory names using %...
3862 2005-07-09 Stepan Kasal <kasal@ucw.cz>
3864 * doc/automake.texi (Public macros): Typo.
3865 * aclocal.in: Typo in comment.
3867 2005-07-09 Zack Weinberg <zack@codesourcery.com> (tiny change)
3869 * lib/depcomp: Handle "#line" markers as well as "# " markers in
3870 "cpp" style, so it can work with newer HP compilers (for their
3873 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
3875 * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
3876 fix an underful hbox.
3877 * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
3878 New upstream versions.
3880 2005-07-01 Alexandre Duret-Lutz <adl@gnu.org>
3882 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
3884 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
3886 * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
3887 lib/am/header-vars.am no longer uses it.
3888 * lib/am/libtool.am (distclean-am, distclean-libtool): Define
3889 if TOPDIR_P is true, not TOPDIR.
3890 Suggested by Stepan Kasal.
3892 * automake.in (read_am_file): Correctly diagnose comments following
3894 * tests/commen10.test: New file.
3895 * tests/Makefile.am (TESTS): Add commen10.test.
3896 Report from Harald Dunkel.
3898 * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead
3900 * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL):
3901 Do not define, they are AC_SUBST_TRACEd by Autoconf.
3902 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c.
3903 * tests/include.test: Call AC_OUTPUT.
3905 2005-06-29 Alexandre Duret-Lutz <adl@gnu.org>
3907 * lib/mkinstalldirs: Fix support for directory name with spaces if
3908 `mkdir -p' does not work.
3909 * tests/Makefile.am (TESTS): Add mkinst3.test.
3910 * tests/mkinst3.test: New file.
3911 Report from Noah Friedman.
3913 * doc/automake.texi (Include, Extending aclocal): Typos.
3914 Report from Karl Berry.
3916 2005-06-28 Stepan Kasal <kasal@ucw.cz>
3917 Alexandre Duret-Lutz <adl@gnu.org>
3919 * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
3920 * tests/txinfo28.test: Set TIME_STYLE.
3921 Report from Vincent Lefevre and James Youngman.
3923 2005-06-24 Alexandre Duret-Lutz <adl@gnu.org>
3925 * lib/Automake/Variable.pm (define, _new): Remember the helper
3926 variable created for the last conditional += on each variable, and
3927 only append further += in the same condition to this last helper
3928 variable, not to older helper variables. This way the order of
3929 the items appended to the variable is preserved.
3930 * tests/cond21.test: Adjust.
3931 * tests/cond38.test: New file.
3932 * tests/Makefile.am (TESTS): Add cond38.test.
3933 Report from Ed Hartnett.
3935 2005-06-22 Alexandre Duret-Lutz <adl@gnu.org>
3937 * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
3939 * automake.in (handle_footer): Do not output an unformatted
3940 definition of SOURCES, it is already done correctly in
3941 generate_makefile. This superfluous definition introduced long
3942 lines in some Makefiles, hence breakages in tools with a limited
3943 line length. Report from Mathias Froehlich.
3945 2005-06-11 Alexandre Duret-Lutz <adl@gnu.org>
3947 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
3948 Fix redirections in previous patch.
3950 2005-06-08 Alexandre Duret-Lutz <adl@gnu.org>
3952 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
3953 Do not backup any file if makeinfo is not installed.
3954 * lib/missing (makeinfo): Do not touch a missing info file.
3955 * tests/txinfo30.test: New file.
3956 * tests/Makefile.am (TESTS): Add txinfo30.test.
3957 Report from Bob Proulx.
3959 * doc/automake.texi (Extending aclocal): Typo.
3961 2005-05-24 Brian Gough <bjg@network-theory.co.uk> (tiny change)
3963 * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
3965 2005-05-15 Alexandre Duret-Lutz <adl@gnu.org>
3967 Fix PR automake/461:
3968 * automake.in (require_build_directory): Canonicalize directories
3969 with different names, such as `foo/bar' and `./foo//bar'.
3970 * tests/subobj9.test: Augment to test that.
3971 Report from Tom Tromey.
3973 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
3975 * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
3976 ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am,
3977 NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure,
3978 configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING,
3979 lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in,
3980 lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp,
3981 lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile,
3982 lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
3983 lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
3984 lib/Automake/Condition.pm, lib/Automake/Config.in,
3985 lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
3986 lib/Automake/FileUtils.pm, lib/Automake/General.pm,
3987 lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
3988 lib/Automake/Location.pm, lib/Automake/Makefile.am,
3989 lib/Automake/Options.pm, lib/Automake/Rule.pm,
3990 lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
3991 lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
3992 lib/Automake/Version.pm, lib/Automake/Wrap.pm,
3993 lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
3994 lib/Automake/tests/DisjConditions.pl,
3995 lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
3996 lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
3997 lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
3998 lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
3999 lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
4000 lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
4001 lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
4002 lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
4003 lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
4004 lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
4005 lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
4006 lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
4007 lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
4008 lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
4009 lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
4010 m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
4011 tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
4012 tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
4013 tests/acloca17.test, tests/acloca18.test, tests/acloca19.test,
4014 tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test,
4015 tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test,
4016 tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test,
4017 tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test,
4018 tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test,
4019 tests/acsubst.test, tests/acsubst2.test, tests/all.test,
4020 tests/alloca.test, tests/alloca2.test, tests/alpha.test,
4021 tests/alpha2.test, tests/amassign.test, tests/ammissing.test,
4022 tests/ansi.test, tests/ansi10.test, tests/ansi2.test,
4023 tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test,
4024 tests/ansi5.test, tests/ansi6.test, tests/ansi7.test,
4025 tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test,
4026 tests/asm.test, tests/autohdr.test, tests/autohdr2.test,
4027 tests/autohdr3.test, tests/autohdr4.test, tests/automake.test,
4028 tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test,
4029 tests/auxdir4.test, tests/backsl.test, tests/backsl2.test,
4030 tests/backsl3.test, tests/backsl4.test, tests/badline.test,
4031 tests/badopt.test, tests/badprog.test, tests/block.test,
4032 tests/bsource.test, tests/canon.test, tests/canon2.test,
4033 tests/canon3.test, tests/canon4.test, tests/canon5.test,
4034 tests/ccnoco.test, tests/check.test, tests/check2.test,
4035 tests/check3.test, tests/check4.test, tests/checkall.test,
4036 tests/clean.test, tests/clean2.test, tests/colneq.test,
4037 tests/colneq2.test, tests/colon.test, tests/colon2.test,
4038 tests/colon3.test, tests/colon4.test, tests/colon5.test,
4039 tests/colon6.test, tests/colon7.test, tests/comment.test,
4040 tests/comment2.test, tests/comment3.test, tests/comment4.test,
4041 tests/comment5.test, tests/comment6.test, tests/comment7.test,
4042 tests/comment8.test, tests/comment9.test, tests/compile.test,
4043 tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test,
4044 tests/cond.test, tests/cond10.test, tests/cond11.test,
4045 tests/cond13.test, tests/cond14.test, tests/cond15.test,
4046 tests/cond16.test, tests/cond17.test, tests/cond18.test,
4047 tests/cond19.test, tests/cond2.test, tests/cond20.test,
4048 tests/cond21.test, tests/cond22.test, tests/cond23.test,
4049 tests/cond24.test, tests/cond25.test, tests/cond26.test,
4050 tests/cond27.test, tests/cond28.test, tests/cond29.test,
4051 tests/cond3.test, tests/cond30.test, tests/cond31.test,
4052 tests/cond32.test, tests/cond33.test, tests/cond34.test,
4053 tests/cond35.test, tests/cond36.test, tests/cond37.test,
4054 tests/cond4.test, tests/cond5.test, tests/cond6.test,
4055 tests/cond7.test, tests/cond8.test, tests/cond9.test,
4056 tests/condd.test, tests/condhook.test, tests/condinc.test,
4057 tests/condinc2.test, tests/condlib.test, tests/condman.test,
4058 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
4059 tests/conff.test, tests/conff2.test, tests/confh.test,
4060 tests/confh4.test, tests/confh5.test, tests/config.test,
4061 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
4062 tests/conflnk3.test, tests/confsub.test, tests/confvar.test,
4063 tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
4064 tests/cxx.test, tests/cxx2.test, tests/cxxansi.test,
4065 tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test,
4066 tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test,
4067 tests/dash.test, tests/defs.in, tests/defun.test,
4068 tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
4069 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
4070 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
4071 tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test,
4072 tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test,
4073 tests/depend.test, tests/depend2.test, tests/depend3.test,
4074 tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
4075 tests/dirlist.test, tests/discover.test, tests/distcom2.test,
4076 tests/distcom3.test, tests/distcom4.test, tests/distcom5.test,
4077 tests/distcom6.test, tests/distcom7.test, tests/distdir.test,
4078 tests/distname.test, tests/dollar.test, tests/double.test,
4079 tests/dup2.test, tests/else.test, tests/empty.test,
4080 tests/empty2.test, tests/empty3.test, tests/empty4.test,
4081 tests/exdir.test, tests/exdir2.test, tests/exeext.test,
4082 tests/exeext2.test, tests/exeext3.test, tests/exeext4.test,
4083 tests/exsource.test, tests/ext.test, tests/ext2.test,
4084 tests/extra.test, tests/extra2.test, tests/extra3.test,
4085 tests/extra4.test, tests/extra5.test, tests/extra6.test,
4086 tests/extra7.test, tests/f90only.test, tests/flibs.test,
4087 tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test,
4088 tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
4089 tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
4090 tests/gcj5.test, tests/getopt.test, tests/gettext.test,
4091 tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
4092 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
4093 tests/gnuwarn2.test, tests/header.test, tests/help.test,
4094 tests/hfs.test, tests/hosts.test, tests/implicit.test,
4095 tests/include.test, tests/include2.test, tests/info.test,
4096 tests/insh2.test, tests/install2.test, tests/installdir.test,
4097 tests/instdat.test, tests/instdat2.test, tests/instexec.test,
4098 tests/insthook.test, tests/instman.test, tests/instman2.test,
4099 tests/instsh.test, tests/instsh2.test, tests/instspc.test,
4100 tests/interp.test, tests/interp2.test, tests/java.test,
4101 tests/java2.test, tests/java3.test, tests/javaprim.test,
4102 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
4103 tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
4104 tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
4105 tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
4106 tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
4107 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
4108 tests/library.test, tests/library2.test, tests/library3.test,
4109 tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
4110 tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
4111 tests/libtool7.test, tests/libtool8.test, tests/libtool9.test,
4112 tests/license.test, tests/link_c_cxx.test, tests/link_dist.test,
4113 tests/link_f90_only.test, tests/link_f_only.test,
4114 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
4115 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
4116 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
4117 tests/lisp8.test, tests/listval.test, tests/location.test,
4118 tests/longlin2.test, tests/longline.test, tests/ltcond.test,
4119 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
4120 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
4121 tests/make.test, tests/makej.test, tests/makevars.test,
4122 tests/man.test, tests/man2.test, tests/mclean.test,
4123 tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
4124 tests/mdate4.test, tests/missing.test, tests/missing2.test,
4125 tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
4126 tests/mmodely.test, tests/multlib.test, tests/nobase.test,
4127 tests/nodef.test, tests/nodef2.test, tests/nodep.test,
4128 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
4129 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
4130 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
4131 tests/nostdinc.test, tests/number.test, tests/obsolete.test,
4132 tests/order.test, tests/outdir.test, tests/output.test,
4133 tests/output10.test, tests/output11.test, tests/output12.test,
4134 tests/output2.test, tests/output3.test, tests/output4.test,
4135 tests/output5.test, tests/output6.test, tests/output7.test,
4136 tests/output8.test, tests/output9.test, tests/overrid.test,
4137 tests/parse.test, tests/percent.test, tests/percent2.test,
4138 tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
4139 tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
4140 tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
4141 tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
4142 tests/ppf77.test, tests/pr2.test, tests/pr204.test,
4143 tests/pr211.test, tests/pr220.test, tests/pr224.test,
4144 tests/pr229.test, tests/pr243.test, tests/pr266.test,
4145 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
4146 tests/pr300-lib.test, tests/pr300-ltlib.test,
4147 tests/pr300-prog.test, tests/pr307.test, tests/pr401.test,
4148 tests/pr401b.test, tests/pr401c.test, tests/pr72.test,
4149 tests/pr87.test, tests/pr9.test, tests/prefix.test,
4150 tests/primary.test, tests/primary2.test, tests/primary3.test,
4151 tests/proginst.test, tests/python.test, tests/python10.test,
4152 tests/python11.test, tests/python12.test, tests/python2.test,
4153 tests/python3.test, tests/python4.test, tests/python5.test,
4154 tests/python6.test, tests/python7.test, tests/python8.test,
4155 tests/python9.test, tests/recurs.test, tests/recurs2.test,
4156 tests/regex.test, tests/remake.test, tests/remake2.test,
4157 tests/remake3.test, tests/remake4.test, tests/remake5.test,
4158 tests/req.test, tests/reqd.test, tests/reqd2.test,
4159 tests/rulepat.test, tests/scripts.test, tests/seenc.test,
4160 tests/sinclude.test, tests/space.test, tests/specflg.test,
4161 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
4162 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
4163 tests/spell.test, tests/spell2.test, tests/spell3.test,
4164 tests/spelling.test, tests/spy.test, tests/srcsub.test,
4165 tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
4166 tests/stdlib2.test, tests/strip.test, tests/subcond.test,
4167 tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
4168 tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
4169 tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
4170 tests/subdir8.test, tests/subdir9.test,
4171 tests/subdirbuiltsources.test, tests/subobj.test,
4172 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
4173 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
4174 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
4175 tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
4176 tests/subst2.test, tests/substre2.test, tests/substref.test,
4177 tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
4178 tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
4179 tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
4180 tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
4181 tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
4182 tests/syntax.test, tests/tags.test, tests/tagsub.test,
4183 tests/tar.test, tests/tar2.test, tests/tar3.test,
4184 tests/target-cflags.test, tests/targetclash.test,
4185 tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
4186 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
4187 tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
4188 tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
4189 tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
4190 tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
4191 tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
4192 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
4193 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
4194 tests/vars.test, tests/vars3.test, tests/vartar.test,
4195 tests/version.test, tests/version2.test, tests/version3.test,
4196 tests/version4.test, tests/version6.test, tests/version7.test,
4197 tests/version8.test, tests/vpath.test, tests/vtexi.test,
4198 tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
4199 tests/werror2.test, tests/whoami.test, tests/xsource.test,
4200 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
4201 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
4202 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
4203 tests/yaccvpath.test: Update FSF postal mail address.
4205 * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
4206 Autoconf currently defines a CCC variable.
4208 * tests/output11.test, tests/output12.test: Use rm -f.
4210 2005-04-25 Gary V. Vaughan <gary@gnu.org>
4211 Alexandre Duret-Lutz <adl@gnu.org>
4213 Support for remote LIBOBJS (and friends) with subdir-objects.
4214 Fixes PR automake/401.
4216 * automake.in (config_libobj_dir): New variable.
4217 (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
4218 (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
4219 (handle_LIBOBJS, handle_ALLOCA): Use them. Adjust location of
4220 dependency files, possibly in a subdirectory.
4221 * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
4222 * tests/Makefile.am (TESTS): Add them.
4223 * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
4224 (LIBOBJS): Document changes in behaviour of
4225 LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
4226 subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
4228 2005-04-18 Jim Meyering <jim@meyering.net>
4230 * doc/automake.texi (Dist): Correct English.
4232 2005-03-31 Stepan Kasal <kasal@ucw.cz>
4234 * doc/automake.texi: When the phrase "for instance" introduces a
4235 sentence, it should be delimited by a comma.
4237 * doc/automake.texi: Fix a few typos.
4239 2005-03-30 Alexandre Duret-Lutz <adl@gnu.org>
4241 * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
4242 example, since the GCS now define htmldir.
4243 (Auxiliary Programs): Mention config-ml.in and symlink-tree.
4244 Give a URL for texinfo.tex.
4245 (Public macros): Sort alphabetically, and move obsolete macros...
4246 (Obsolete macros): ... here.
4247 Prompted by Karl Berry.
4249 2005-03-29 Alexandre Duret-Lutz <adl@gnu.org>
4251 * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
4254 * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
4255 rule is run with `make -j'.
4256 * doc/automake.texi (Multiple Outputs): Adjust.
4257 * tests/lisp6.test: Augment it.
4258 * tests/lisp8.test: New file.
4259 * tests/Makefile.am (TESTS): Add lisp8.test.
4260 Suggested by Bruno Haible.
4262 2005-03-27 Alexandre Duret-Lutz <adl@gnu.org>
4264 * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
4266 2005-03-16 Alexandre Duret-Lutz <adl@gnu.org>
4268 * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
4269 a missing *.elc file if it cannot be created because emacs does
4271 * tests/lisp7.test: New file.
4272 * tests/Makefile.am (TESTS): Add lisp7.test.
4273 Report from Greg Schafer.
4275 2005-03-05 Alexandre Duret-Lutz <adl@gnu.org>
4277 * doc/automake.texi: Replace wicked whiches by thats.
4279 2005-03-04 Alexandre Duret-Lutz <adl@gnu.org>
4281 * aclocal.in (scan_configure_dep, scan_file): Include file names
4282 are relative to the directory of configure.ac, not to the
4283 directory of the file doing the include. Remove code for this
4285 * tests/acloca13.test: Run distcheck and make sure all macros are
4286 actually distributed.
4288 2005-03-03 Alexandre Duret-Lutz <adl@gnu.org>
4290 For PR automake/450:
4291 * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
4293 * automake.in (scan_autoconf_traces): Likewise.
4294 * tests/sinclude.test: Augment.
4295 Report from Peter Breitenlohner.
4297 For PR automake/450:
4298 * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
4299 acinclude.m4 and configure.ac to the include map in these two
4301 (strip_redundant_includes): ... do it here. This completes the
4302 previous change from 2005-03-01, that did not update
4304 * tests/acloca19.test: Augment.
4305 Report from Peter Breitenlohner.
4307 2005-03-02 Alexandre Duret-Lutz <adl@gnu.org>
4309 * tests/comment9.test: Typo.
4311 2005-03-01 Alexandre Duret-Lutz <adl@gnu.org>
4313 * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
4314 * tests/comment9.test: New file.
4315 * tests/Makefile.am (TESTS): Add comment9.test.
4316 Report from Julien Sopena.
4318 For PR automake/450:
4319 * aclocal.in (trace_used_macros): Do not explicitly trace files
4320 included by configure.ac.
4321 * tests/acloca19.test: New file.
4322 * tests/Makefile.am (TESTS): Add acloca19.test.
4323 Report from Peter Breitenlohner.
4325 2005-02-27 Alexandre Duret-Lutz <adl@gnu.org>
4327 Fix for PR automake/448:
4328 * automake.in (handle_factored_dependencies): Flag install-hook as
4330 * tests/insthook.test: Exercise this.
4332 * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
4333 * doc/automake.texi (Hard-Coded Install Paths): Adjust.
4335 * doc/automake.texi: Replace many uses of @samp by @code, and
4336 vice versa. Use @command, @option, and @env where appropriate.
4338 2005-02-26 Alexandre Duret-Lutz <adl@gnu.org>
4340 * doc/automake.texi: "filename" -> "file name", for consistency
4341 with GNU Coding Standards. See also Paul's change on 2004-08-20
4344 * doc/automake.texi (A Library, Libtool Libraries): Show how to link
4345 a program with a static or libtool library.
4346 (Program and Library Variables): Make clearer that _LDADD and
4347 _LIBADD may also list libraries.
4348 Prompted by a mail from Bruce Korb.
4350 * doc/automake.texi (Alternative): Show how to rewrite nobase_
4351 variables using custom directory variables, and link to node
4352 Uniform. Suggested by Leonardo Boiko.
4354 * doc/automake.texi (Flag Variables Ordering, User Variables):
4355 Make clearer who the maintainer is, and that he can AC_SUBST AM_
4356 variables in configure.ac. Suggested by Norman Gray.
4357 (Uniform, Public macros, Libtool Issues, Java Support,
4358 Conditionals): Use `---' for em dash, and stick them to the
4361 * doc/automake.texi: Reword a few sentences to fix all underflow
4362 and overflow warnings during `make dvi'.
4363 (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
4364 (Public macros) <AM_WITH_DMALLOC>: Likewise.
4366 2005-02-12 Alexandre Duret-Lutz <adl@gnu.org>
4368 * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
4369 lib/texinfo.tex: New upstream versions.
4371 * doc/automake.texi (Hard-Coded Install Paths): New node.
4372 (Extending, Extending aclocal, Python): Link to it.
4373 (Extending): Don't show how to install a file in /etc/ directly,
4376 * automake.in (read_am_file): Define variables containing long
4377 lines as VAR_PRETTY to work around tools with limited input width.
4378 * tests/longlin2.test: New file.
4379 * tests/Makefile.am (TESTS): Add it.
4380 Report from Albert Chin.
4382 2005-02-09 Alexandre Duret-Lutz <adl@gnu.org>
4384 Fix for PR automake/447:
4385 * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
4386 Report from Mathias Doreille. Add some old comments from
4387 Nicolas Joly for reference.
4389 2005-02-08 Stepan Kasal <kasal@ucw.cz>
4391 * lib/mdate-sh: Check the size of the word following the month to
4392 catch Darwin. This way the filename can contain spaces.
4394 * doc/automake.texi (Requirements, Options): Typos.
4396 2005-02-08 Alexandre Duret-Lutz <adl@gnu.org>
4398 * lib/missing (makeinfo): Compute the output file if neither -o
4399 nor @setfilename is used.
4400 Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
4402 2005-02-07 Alexandre Duret-Lutz <adl@gnu.org>
4404 * doc/automake.texi (Requirements): Show one example of
4405 AC_CONFIG_FILES with multiple outputs, and correct a few typos.
4407 * aclocal.in ($serial_line_rx): Expect at least one space between
4408 `serial' and the following number.
4409 Report from Jim Meyering.
4411 * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
4412 Report from Peter O'Gorman.
4414 2005-02-06 Alexandre Duret-Lutz <adl@gnu.org>
4416 * aclocal.in (usage, parse_arguments): New --dry-run and --diff
4418 (install_file, write_aclocal): Honor --dry-run and --diff.
4419 * doc/automake.texi (aclocal options): Document --dry-run and --diff.
4420 (Serials): Mention --diff.
4421 * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
4422 $expected_exit_code argument.
4423 (xsystem): Take a list of arguments, not a string.
4424 * tests/acloca18.test: Use --dry-run and --diff.
4425 Suggested by Paul Eggert.
4427 * doc/automake.texi (aclocal options, Macro search path,
4428 Extending aclocal, Local Macros, Serials, Future of aclocal): Make
4429 these subsection of ...
4430 (Invoking aclocal): ... this.
4432 * aclocal.in ($serial_line_rx): Allow trailing garbage after the
4434 (scan_file): Explicitly mark the "ill-formed serial" message
4436 * doc/automake.texi (aclocal options, Local Macros): Link to...
4437 (Serials): ... this new section.
4439 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
4441 * lib/compile: Likewise.
4443 2005-02-02 Alexandre Duret-Lutz <adl@gnu.org>
4445 * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
4447 * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
4448 status if a write failure occurs with --help or --version option,
4451 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
4453 * lib/depcomp: Exit with nonzero status if a write failure occurs
4454 with --help or --version option.
4455 * lib/elisp-comp: Likewise.
4456 * lib/gnupload: Likewise.
4457 * lib/install-sh: Likewise.
4458 * lib/missing: Likewise.
4459 * lib/mkinstalldirs: Likewise.
4461 2005-02-01 Alexandre Duret-Lutz <adl@gnu.org>
4463 * doc/automake.texi (aclocal options): Typo.
4465 * aclocal.in (list_compare): New functions.
4466 (scan_file): Honor #serial lines.
4467 * tests/acloca18.test: New test.
4468 * tests/Makefile.am (TESTS): Add it.
4469 * doc/automake.texi (aclocal options, Local Macros): Document
4472 2005-01-30 Alexandre Duret-Lutz <adl@gnu.org>
4474 Preliminary support for `aclocal --install'.
4475 This still lacks #serial support.
4476 * aclocal.in (reset_maps, install_file): New functions.
4477 (write_aclocal): Copy files if --install.
4478 (usage, parse_arguments): Recognize --install.
4479 ("MAIN"): Start aclocal again if some file were installed.
4480 * tests/acloca10.test: Augment to test --install.
4481 * tests/aclocal.in, tests/defs.in: Add support for
4482 ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
4483 * doc/automake.texi (aclocal options, Local Macros): Document
4485 (Future of aclocal): Adjust.
4487 * doc/automake.texi (Macro search path): Using --acdir is not
4488 obvious, it's erroneous.
4490 * doc/automake.texi (direntry): Let `info Automake' point to the
4491 manual, and `info automake' to the `Invoking automake' node. Like
4494 2005-01-27 Akim Demaille <akim@epita.fr>
4496 * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
4499 2005-01-24 Akim Demaille <akim@epita.fr>
4501 * lib/Automake/FileUtils.pm: Rename filename as file_name to be
4502 consistent with the terminology of the GNU coding standards.
4504 (update_file): Accept a $force argument, so that --force always
4505 updates the time stamps.
4507 2005-01-23 Alexandre Duret-Lutz <adl@gnu.org>
4509 * doc/automake.texi (How the Linker is Chosen): Explain how the
4510 linker is chosen without diagram, and update to match the code.
4511 Suggestion from Adrian Bunk.
4513 2005-01-16 Alexandre Duret-Lutz <adl@gnu.org>
4515 * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
4516 Process all words of $MAKEFLAGS when checking for -k.
4517 * tests/check4.test: New file.
4518 * tests/Makefile.am (TESTS): Add check4.test.
4519 Report from Eric Blake.
4521 2005-01-13 Alexandre Duret-Lutz <adl@gnu.org>
4523 * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
4524 AM_INIT_AUTOMAKE if the version passed is incorrect.
4525 * tests/version8.test: New file.
4526 * tests/Makefile.am (TESTS): Add version8.test.
4528 2005-01-09 Alexandre Duret-Lutz <adl@gnu.org>
4530 * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
4531 m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
4532 m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
4533 m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
4534 m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
4535 m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
4536 m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
4537 m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
4538 license that is used in aclocal.m4. Relicensing backed by RMS.
4540 * doc/automake.texi (A Library, LIBOBJS): Mention that empty
4541 libraries are not portable.
4543 2005-01-05 Akim Demaille <akim@epita.fr>
4545 * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
4546 * tests/aclocal5.test (MORE_DEFS): Rename as...
4547 (AM_TEST): this so that undefined macros are caught.
4548 And make it an alias of AC_SUBST.
4550 Reported by Martin Bravenboer.
4552 2005-01-03 Alexandre Duret-Lutz <adl@gnu.org>
4554 Fix handling of per-target flags in link rules.
4555 * automake.in (define_per_target_linker_variable): New function.
4556 (handle_programs, handle_ltlibraries): Use it.
4557 (%link_languages): New map.
4558 (register_language): Fill it.
4559 * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
4560 $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
4561 define_per_target_linker_variable if needed.
4562 * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
4563 $(%XPROGRAM%_LDFLAGS).
4564 * doc/automake.texi (Program and Library Variables): Mention
4565 AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
4566 and maude_LIBTOOLFLAGS.
4567 * tests/libtool9.test: New file.
4568 * tests/Makefile.am (TESTS): Add it.
4569 * NEWS: Explain the backward incompatibility.
4570 Report from Akim Demaille.
4572 2005-01-01 Alexandre Duret-Lutz <adl@gnu.org>
4574 * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
4575 specifications with shell variables.
4576 (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
4577 AC_CONFIG_FILES for this explanation.
4578 * automake.in (substitute_ac_subst_variables_worker,
4579 substitute_ac_subst_variables): Mew functions.
4580 (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
4581 to ignore dependencies that contain unAC_SUBSTed shell variables.
4582 (handle_configure): Likewise, do not output rules for
4583 AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
4584 unAC_SUBSTed contain shell variables.
4585 * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
4586 * tests/output11.test, tests/output12.test: New files.
4587 * tests/Makefile.am (TESTS): Add output11.test and output12.test.
4589 * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
4590 * automake.in ($gen_copyright, version): Likewise.
4594 Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
4596 Copying and distribution of this file, with or without modification, are
4597 permitted provided the copyright notice and this notice are preserved.