1 2008-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
3 Implement the `notrans_' prefix for untransformed manpages.
4 * automake.in (handle_man_pages), lib/am/mans.am: Implement
5 notrans_ prefix for MANS primary and rework dependencies for
6 install-man%SECTION%; use only vars defined in Makefile.am.
7 * doc/automake.texi (Renaming, Uniform, Man pages):
8 Document notrans_ prefix.
10 * tests/notrans.test: New test.
11 * tests/Makefile.am: Update.
13 * automake.in (handle_man_pages): Reindent, for next patch.
15 2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 Use `install' with multiple files at once for some primaries.
18 With nobase targets, at most 50 files are installed at once,
19 to avoid quadratic string concatenation and line length limits.
20 This isn't yet done with base targets. One hope is that there,
21 the typical file name length is lower. If this turns out to be
22 a problem, it should be revisited.
24 * lib/am/inst-vars.am (am__nobase_list): New helper macro for
25 installation of multiple nobase files at once: sorts and lists
26 files keyed by their target directory.
27 * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): No need to set it to
28 $(install_sh_DATA) any more, not even for nobase targets.
29 (install-%DIR%%PRIMARY%): Split base and nobase cases.
30 Rewrite to pass lists of files which all go in the same
31 directory to `install'. In the nobase case, make use of
32 $(am__nobase_list) and $(MKDIR_P) each directory before
33 populating it. Take care of files in source and build trees,
34 and avoid creating directories where no files are to be
36 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Likewise.
37 (install-%DIR%LIBRARIES): Likewise.
38 * lib/am/python.am (%DIR%PYTHON_INSTALL): Likewise.
39 (install-%DIR%PYTHON): Likewise. Also take care to keep note of
40 a list for byte compilation after installation.
41 * lib/am/texinfos.am (install-dvi-am, install-html-am)
42 (install-info-am, install-pdf-am, install-ps-am): Use file lists
43 to install multiple files at once.
45 Suggested by Akim Demaille.
47 2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
49 Require unreleased Autoconf for fixed AC_PROG_INSTALL.
50 * m4/init.m4 (AM_INIT_AUTOMAKE): Bump AC_PREREQ to 2.61-341,
52 * configure.ac: Also require Autoconf 2.61-341, to catch
53 failure early and provide a sensible error message.
55 Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT.
56 * tests/ansi4.test: Drop AC_OBJEXT and AC_EXEEXT.
57 * tests/ansi6.test: Likewise.
58 * tests/ansi7.test: Likewise.
59 * tests/condlib.test: Likewise.
60 * tests/cygwin32.test: Likewise.
61 * tests/exeext2.test: Likewise.
62 * tests/libobj11.test: Likewise.
63 * tests/library.test: Likewise.
64 * tests/txinfo5.test: Likewise.
66 2008-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
68 Skip instsh3.test if `touch -t' does not work.
69 * tests/instsh3.test: Test for `touch -t', fails with Solaris
72 Report by Younes Younes.
74 2008-02-27 Reuben Thomas <rrt@sc3d.org>
76 * doc/automake.texi (wildcards): Improve "Why doesn't Automake
77 support wildcards" node's English and sense.
79 2008-02-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
81 * lib/am/check.am (check-TESTS): In the case patterns for
82 XFAILed tests, add literal bracket expression for matching
83 whitespace, as NetBSD 4.99.54 ksh does not understand a
84 bracket expression resulting from variable expansion.
85 * README: Explain how to run the Automake test suite, including
86 setting MAKE to test gmake.
87 Report by Patrick Welche.
89 2008-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
92 * m4/options.m4 (_AM_SET_OPTIONS): Use m4_foreach_w instead of
94 Report by NightStrike and gurganbl@rose-hulman.edu.
96 2008-02-17 Colin Watson <cjwatson@debian.org> (tiny change)
98 * lib/am/tags.am (ID): Fix typo in workaround for old awk.
100 2008-02-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
102 * doc/.gitignore: Ignore files generated by `make ps pdf html'.
104 2008-02-05 Reuben Thomas <rrt@sc3d.org>
106 * doc/automake.texi (CVS): configure.ac will appear newer, not
107 older, than configure. Use `lexical' instead of `alphabetical'.
109 2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
111 * tests/man3.test: Avoid `make VAR=value'.
113 * tests/subst3.test: New test.
114 * tests/Makefile.am: Update.
116 * tests/instsh2.test: Split off testing of `install-sh -C' ...
117 * tests/instsh3.test: ... to this new test, requiring non-root.
118 * tests/Makefile.am: Adjust.
120 Report by Theodoros V. Kalamatianos.
122 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
124 * tests/nobase.test: Extend test to generated files.
126 * tests/nobase-python.test: New test, nobase for python files.
127 * tests/Makefile.am: Update.
129 * tests/nobase.test: Split off libtool part of nobase.test for
130 increased test exposure, to ...
131 * tests/nobase-libtool.test: ... this new test.
132 * tests/Makefile.am: Update.
134 2008-01-23 Eric Blake <ebb9@byu.net>
136 Fix color.test when using BSD grep.
137 * tests/color.test: Ensure that grep can handle non-printing
140 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
142 * tests/lisp3.test: Fix typo.
144 2008-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
146 * lib/am/mans.am (install-man%SECTION%): Prefer generated manpages
147 over distributed ones.
148 Report and patch by Peter Breitenlohner.
149 * tests/man3.test: New test.
150 * tests/Makefile.am: Update.
152 2008-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
154 * tests/tar.test: Skip if no appropriate tar was found.
156 2008-01-19 NightStrike <nightstrike@gmail.com>
158 * doc/automake.texi (Dependency Tracking): Fix typo.
160 2008-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
162 * lib/config-ml.in, lib/config.guess, lib/config.sub,
163 lib/symlink-tree: Sync from upstream.
165 * Makefile.am (WGET_SV_CVS): Renamed from WGETSGO.
166 (WGET_SV_GIT_AC, WGET_SV_GIT_GL, WGET_GCC): New.
167 (fetch): Update to match current upstream locations.
169 2008-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
171 * doc/automake.texi (DESTDIR, Built sources example): Fix wording.
173 Reports and suggestions by William Pursell and nightstrike@gmail.com.
175 2008-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
177 Do not fail if `autoupdate' is not present.
178 * tests/obsolete.test: Check for presence of autoupdate. Apparently,
179 FreeBSD may install the other Autoconf programs without a version
180 suffix but not autoupdate.
182 Fix Heisenbug trying to unset a sometimes-not-set variable.
183 * tests/check5.test: Do not error out upon `unset TESTS' due to
184 `set -e', in case TESTS was not set.
185 * tests/color.test: Likewise.
187 * doc/automake.texi (amhello Explained): Fix odd sentence.
188 Report by nightstrike@gmail.com.
190 2008-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
192 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Rewrite to be more
193 resistant to different quoting styles of $1.
195 Clarify texinfo.tex and TEXINFO_TEX semantics.
196 * doc/automake.texi (Texinfo): Clarify that by default,
197 texinfo.tex is searched in the same directory as the Makefile.am
198 that needs it. Clarify that TEXINFO_TEX has precedence over
199 AC_CONFIG_AUX_DIR, and that it requires the user to install and
201 * tests/txinfo22.test: Ensure TEXINFO_TEX is not distributed.
203 Reports by Dilyan Palauzov and Roumen Petrov.
205 2008-01-11 Bruno Haible <bruno@clisp.org>
206 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
208 * tests/output-order.test: New test, for the stable output fix.
209 * tests/Makefile.am: Update.
211 2008-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
213 * Makefile.am (dist-hook): New, ensure world-executable tests.
215 Report by Arto C. Nirkko.
217 * tests/acloca20.test: Use `--force' with the second $AUTOCONF,
218 to force update on fast machines where both autoconf invocations
219 happen within the same second.
220 Report by Greg Schafer.
222 2008-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
224 * automake.in (scan_autoconf_files): Sort loop over
225 %required_aux_file, for stable verbose output.
226 Report by Bruno Haible.
228 * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
231 * tests/ccnoco.test (Mycomp): Use a tighter match for -c -o,
232 to avoid matching for example `LDFLAGS=-Wl,--sort-common'.
234 Report and analysis by Carsten Lohrke and Mike Frysinger.
236 2008-01-07 Stepan Kasal <skasal@redhat.com>
238 * automake.in (handle_texinfo_helper, handle_lib_objects): Fix
241 2008-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
243 Bump copyright years.
244 * aclocal.in (write_aclocal, version): Likewise.
245 * automake.in ($gen_copyright, version): Likewise.
246 * doc/automake.texi: Likewise.
248 2007-12-18 Jim Meyering <meyering@redhat.com>
250 * lib/gnupload (GPG): Don't use an absolute path.
251 This reverts part of the 2004-01-28 change.
253 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
255 * lib/Automake/FileUtils.pm (open_quote): New function.
256 (update_file, contents): Use it.
258 Reword the copyright notices to match what's suggested in GPLv3.
260 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
262 * tests/defs.in: Quote $srcdir, $PATH; skip libtool and gettext
263 tests if the absolute source or build tree name contain whitespace.
265 Modify some tests for absolute trees containing whitespace.
266 * tests/missing.test: Use "./missing" instead of "`pwd`/missing".
267 * tests/missing2.test: Likewise.
268 * tests/mmodely.test: Add `pwd` to $PATH instead of absolute
269 references to myyacc.sh and mylex.sh.
270 * tests/multlib.test: Likewise for mycc.
271 * tests/txinfo26.test: Skip if `pwd` contains whitespace, as
272 an absolute --srcdir does not work there.
274 * INSTALL, lib/INSTALL, lib/config-ml.in, lib/config.guess,
275 lib/config.sub, lib/texinfo.tex: Sync from upstream.
277 Fix the distdir target to cope with spaces in absolute file names.
278 * lib/am/distdir.am: Quote all instances of $(distdir) and
279 $(top_distdir). They could contain white space, coming from
280 a toplevel package bootstrapped with an older Automake version.
281 (am__relativize): New macro, taken from gnulib code, written by
283 (distdir): Use it to compute relative paths to distdir and
284 top_distdir for enclosed subpackages.
285 Also, quote $(distuninstallcheck_dir).
286 * lib/am/texinfos.am: Likewise, quote $(distdir).
288 2007-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
290 Quote file names in tests that can be absolute.
291 * tests/auxdir.test, tests/check3.test, tests/check4.test,
292 tests/compile.test, tests/cond33.test, tests/condhook.test,
293 tests/distdir.test, tests/dollar.test, tests/empty.test,
294 tests/gnits2.test, tests/gnits3.test, tests/include2.test,
295 tests/insthook.test, tests/java.test, tests/libtool7.test,
296 tests/lisp4.test, tests/lisp5.test, tests/lisp6.test,
297 tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test,
298 tests/multlib.test, tests/nobase.test, tests/nodist2.test,
299 tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test,
300 tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test,
301 tests/python3.test, tests/strip.test, tests/transform.test,
302 tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test,
303 tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test:
306 Quote @abs_top_builddir@ and @abs_top_srcdir@.
307 * tests/aclocal.in: Likewise.
308 * tests/automake.in: Likewise.
310 Fix TAGS and GTAGS rules to cope with whitespace in `pwd`.
311 * lib/am/tags.am (TAGS): Use positional parameters to avoid
312 the need to quote absolute file names.
313 (GTAGS): Quote absolute file name.
314 (CTAGS): Simplify, dropping unused variable `$tags'.
316 2007-11-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
318 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Fix another instance
319 of am__strip_dir. Fixes nobase and pr300-ltlib test failures.
321 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
323 Several *-local in a rule do not work.
324 * tests/all.test: Check this case.
326 * tests/Makefile.am (XFAIL_TESTS): Add it.
328 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
330 Fix uses of am__strip_dir.
331 * lib/am/libs.am, lib/am/ltlib.am: Catch up with the change of
332 definition of am__strip_dir.
334 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
336 Define and use register_action.
337 * lib/Automake/Rule.pm: Fix a few typos in the doc.
338 (&rule): Use || to simplify the code.
339 (®ister_action): New.
341 * automake.in (&handle_factored_dependencies, &file_contents_internal):
344 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
346 * bootstrap: Fix typos on redirections.
348 2007-11-24 Akim Demaille <akim@lrde.epita.fr>
350 Skip comments and empty lines in dirlist in the tests.
351 * defs.in (extra_includes): Skip comments and empty lines in dirlist.
353 2007-11-24 Akim Demaille <akim@lrde.epita.fr>
355 Ternary operator in lib/am files.
356 * automake.in (&transform_token): New.
357 (&transform): Use it.
358 Support %KEY?TRUE:FALSE%.
359 (&make_paragraphs): Adjust the regexp to call %transform.
360 * lib/am/data.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
361 * lib/am/progs.am, lib/am/python.am, lib/am/scripts.am:
362 Use %KEY?TRUE:FALSE%.
363 * lib/am/inst-vars.am (am__strip_dir): Assign the result to f
364 to be more alike am__vpath_adj.
367 2007-11-24 Akim Demaille <demaille@gostai.com>
369 * automake.in: Normalize white spaces.
371 2007-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
373 * configure.ac (ACLOCAL, AUTOMAKE): Fix quoting for rebuilding
374 rules, if the absolute build directory name contains white space.
376 2007-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
378 * aclocal.in (trace_used_macros): Quote input files.
380 * lib/ylwrap: Cope with white space in `PROGRAM' and `pwd`.
382 * lib/am/tags.am (ID, TAGS, CTAGS): Make awk scripts portable again.
383 (CTAGS): Drop unneeded variable `here'.
385 2007-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
387 * tests/output13.test: New test.
388 * tests/Makefile.am: Adjust.
389 Prompted by report from Bruno Haible in
390 <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00479.html>.
392 Fix signal handling in aclocal.
393 * aclocal.in (unlink_tmp): If invoked by a signal, note so
394 in verbose mode. Reinstall default signal handler and reraise,
395 to transport the interrupt information.
397 2007-11-13 Bob Proulx <bob@proulx.com>
399 Fix color test failure on dumb (and other) terminals.
400 * tests/color.test: Set TERM to `ansi'.
402 2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
404 Avoid spurious test failure with `make check TESTS=check5.test'.
405 * tests/check5.test: unset TESTS.
407 Fix maintainer-check failure.
408 * tests/color.test: unset TESTS, use `make -e' rather than
411 2007-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
413 * configure.ac (AM_INIT_AUTOMAKE): Require version 1.10a.
415 * automake.in (handle_tests): Remove debugging leftover.
417 Run each test in a process-private subdirectory.
418 * tests/defs.in: Employ a trap to clean up at the end of the
419 test in case the test succeeded. This needs to be revisited
420 because we would like to keep the output of XPASSing tests.
421 Also, note when we were interrupted by a signal. Code taken
422 from Autoconf's _AC_INIT_PREPARE.
423 If $keep_testdirs is set, keep them even for successful tests.
424 * tests/Makefile.am (check-clean-local): New target. Remove all
425 tests subdirs, but also make them writable first. The latter
426 was already needed without per-test subdirs.
427 (distclean-local): Depend upon check-clean-local.
428 * tests/Makefile.in: Regenerate.
429 * tests/.cvsignore, tests/.gitignore: Adjust.
431 Fix default includes ordering to be `-I. -I$(srcdir) ...' again.
432 * automake.in (handle_compile): Put -I$(srcdir) before include
433 paths for config headers, as was done before Automake 1.10, but
434 keep uniquified list without multiple adjacent spaces.
435 * doc/automake.texi (Program variables): List include paths
437 * NEWS: Mention 1.10 regression.
438 * tests/stdinc.test: New test.
439 * tests/Makefile.am: Adjust.
441 Report by Kent Boortz.
443 2007-11-08 Akim Demaille <akim@lrde.epita.fr>
444 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
445 Bob Proulx <bob@proulx.com>
447 Implement colorized test output.
448 * automake.in (handle_tests): Set COLOR depending on `color-tests'.
449 * configure.ac (AM_INIT_AUTOMAKE): Use `color-tests'.
450 * doc/automake.texi (Tests, Options): Document test results,
451 document new option, document AM_COLOR_TESTS.
452 * lib/Automake/Options.pm (_process_option_list): Handle it.
453 * lib/am/check.am (am__tty_colors): New variable. Enable colored
454 output if TERM is not dumb and depending on AM_COLOR_TESTS and
455 whether stdout is connected to a terminal.
456 (check-TESTS): Use am__tty_colors.
457 * NEWS: Mention color-tests.
458 * tests/color.test: New test.
459 * tests/Makefile.am: Adjust.
461 2007-11-08 NightStrike <nightstrike@gmail.com> (tiny change)
464 * doc/automake.texi (Basic Installation): Fix typo.
466 2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
468 Accommodate for new macro AC_AUTOCONF_VERSION.
469 * aclocal.in (write_aclocal): Use AC_AUTOCONF_VERSION rather
470 than m4_PACKAGE_VERSION. Define the former if not defined.
471 * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Likewise.
472 * tests/missing4.test: Use AC_AUTOCONF_VERSION.
474 2007-10-29 Bruno Haible <bruno@clisp.org>
476 * doc/automake.texi (Program variables): Clarify that
477 Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but
478 passes it directly to compilation commands.
480 2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
482 Move to git as primary source repository.
483 * Makefile.am (git-dist, git-release): Renamed and adjusted from ...
484 (cvs-dist, cvs-release): ... these.
485 (git-diff): New target, taken and adjusted from cvs-diff.
486 * Makefile.in: Regenerate.
488 * NEWS: Announce change.
489 * doc/automake.texi (General Operation): cvs-dist is git-dist now.
490 (Timeline): Mention change.
492 2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
494 * automake.in: Treat extension .sx also like preprocessed
495 assembler (.S), following GCC.
497 * doc/automake.texi (Assembly Support): Adjust.
498 * tests/asm3.test: New test.
499 * tests/Makefile.am: Update.
501 2007-10-09 Jim Meyering <meyering@redhat.com>
503 Add lzma compression support.
505 * automake.in (handle_dist): Recognize dist-lzma.
506 (make_paragraphs): Map LZMA to dist-lzma.
507 * doc/automake.texi (Dist): Add dist-lzma.
509 * lib/Automake/Options.pm (_process_option_list):
510 (dist dist-all): Add command to create an lzma-compressed tarball.
511 (distcheck): Handle lzma-compressed tarballs just like the others.
512 * tests/defs.in: Test for lzma, too.
513 * tests/lzma.test: New file, based on nogzip.test.
514 * tests/Makefile.am (TESTS): Add lzma.test.
515 Suggestion from Karl Berry.
517 2007-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
519 * automake.in (TARGET_PATTERN): Allow leading digit.
520 * tests/exeext3.test: Adjust to expose this.
521 Report by Claudio Fontana and Laurence Finston.
523 2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
525 * tests/defs.in (required): For gcj, check whether `gcj -v'
526 works, to avoid broken installations without libgcj.spec.
528 * tests/gcj4.test: Setting GCJ not needed any more.
530 Report by Jesse Chisholm.
532 2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
534 * lib/config-ml.in, lib/config.guess, lib/config.sub,
535 lib/symlink-tree, lib/texinfo.tex: New upstream versions.
537 2007-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
539 * doc/automake.texi (gettext): Fix link to gettext manual.
541 2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
543 In ChangeLog files, use more-permissive notice rather than GPL,
544 as per usual GNU standards these days.
546 2007-08-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
548 * automake.in (handle_programs): Also clean .libs/_libs
549 directory for _PROGRAMS.
550 * tests/libtoo10.test: New test.
551 * tests/Makefile.am: Update.
553 Report by Guillermo Ontañón.
555 2007-08-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
557 * configure.ac: Actually require version 2.60 in the test for
558 Autoconf, and recommend it in the error messages.
560 Report by Robert Swafford.
562 2007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
564 * doc/automake.texi (VPATH Builds): Fix wording.
565 Report by Reuben Thomas.
567 2007-07-22 Noah Misch <noah@cs.caltech.edu>
569 * tests/subst.test: Move the AC_SUBST into a macro definition.
570 Avoids an error from CVS Autoconf.
572 Report by Benoit Sigoure.
574 2007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
575 Alexandre Duret-Lutz <adl@gnu.org>
577 * lib/am/configure.am (%?REGEN-ACLOCAL-M4%): New target
578 $(am__aclocal_m4_deps) without any dependencies, to avoid the
579 "deleted .m4 file" problem.
580 * tests/acloca22.test: New test.
581 * tests/Makefile.am: Update.
584 2007-07-22 Francesco Salvestrini <salvestrini@gmail.com>
585 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
587 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES)
588 (uninstall-%DIR%LTLIBRARIES): Use $(AM_LIBTOOLFLAGS) and
590 * lib/am/progs.am (install-%DIR%PROGRAMS)
591 (uninstall-%DIR%PROGRAMS): Likewise.
592 * tests/libtool7.test: Update test for `install' and
594 * NEWS, THANKS: Update.
596 2007-07-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
598 * doc/automake.texi: Remove Front-Cover and Back-Cover Texts,
599 this manual is not printed by the FSF.
601 2007-07-16 Alexandre Duret-Lutz <adl@gnu.org>
603 * NEWS: Clarify that COPYING files are not updated.
605 2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
607 * doc/automake.texi: New Back-Cover Text.
608 Report by Karl Berry.
610 2007-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
612 * aclocal.in (version): Fix output to match GCS requirements.
613 * automake.in (version): Likewise.
614 Report by Eric Blake.
616 * COPYING, lib/COPYING: Update to GPLv3. All uses changed.
619 2007-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
621 * lib/gnupload: Fix shell portability issues with for loops.
622 Report by Karl Berry.
624 2007-06-23 Paul Eggert <eggert@cs.ucla.edu>
625 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
627 * aclocal.in (write_aclocal): Warn about autoconf
628 incompatibilities instead of making them fatal.
629 * tests/missing4.test: Adjust.
631 Problem reported by Bruno Haible in
632 <http://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>.
634 2007-05-03 Stepan Kasal <kasal@ucw.cz>
636 * doc/automake.texi, lib/Automake/Rule.pm: Fix typos.
637 * automake.in: Likewise.
638 (am_primary_prefixes): Keep the intentional typo there.
640 2007-04-25 Eric Blake <ebb9@byu.net>
642 * doc/stamp-vti: Remove generated file from revision control.
643 * doc/version.texi: Likewise.
645 2007-04-23 Reuben Thomas <rrt@sc3d.org> (tiny change)
647 * doc/automake.texi (Python): Fix typo.
649 2007-03-30 Eric Blake <ebb9@byu.net>
650 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
652 * lib/mdate-sh (ls_command): Use -n when available to avoid
653 problems with spaces in user/group names.
654 * tests/mdate5.test: New test.
655 * tests/Makefile.am: Adjust.
657 2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
659 * automake.in (handle_tests): Rewrite XFAIL_TESTS just like
660 TESTS, appending $(EXEEXT), so that matching continues to work
662 * NEWS: Mention this.
663 * doc/automake.texi (EXEEXT, Extending): Update.
664 * tests/check7.test: New test.
665 * tests/Makefile.am: Adjust.
666 Bug report by Ed Hartnett.
668 2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
670 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Again search
671 the whole file, but use sed to reduce the line length.
672 Fixes 1.10 regression. Report by David Byron.
673 * THANKS, NEWS: Update.
675 2007-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
677 * lib/depcomp (aix): Rewrite depmode in the spirit of the tru64
678 one. Fixes failure to catch dependencies with libtool and xlc
679 in case of enable_static=no (which is the default on AIX without
681 * tests/depcomp7.test: Run test once with --disable-shared and
682 once with --disable-static, to expose failure systematically.
685 2007-03-29 Stepan Kasal <kasal@ucw.cz>
686 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
688 * automake.in (handle_LIBOBJS_or_ALLOCA): Fix the error message.
689 * tests/pr401.test: Update to expose the error.
690 * tests/pr401b.test: Likewise.
691 * tests/pr401c.test: Likewise.
693 2007-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
695 * automake.in (scan_autoconf_config_files): Warn about leading
696 `./' in config file names.
697 * tests/canon-name.test: New test.
698 * tests/Makefile.am: Update.
700 Suggestion by Claudio Fontana.
702 * tests/yacc6.test: Add the generated headers to `BUILT_SOURCES'
703 as documented in the manual. Fixes parallel make failure.
704 Report by Dieter Jurzitza.
707 * ChangeLog, TODO, tests/exdir3.test: Fix copyright notice.
709 * TODO: Kill a couple of outdated items.
710 * tests/exdir3.test: New test.
711 * tests/Makefile.am: Update.
713 2007-01-27 Bruno Haible <bruno@clisp.org>
715 * doc/automake.texi (Multiple Outputs): Fix the multiple outputs
716 with locking example.
718 2007-01-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
720 * doc/automake.texi (Subpackages): Fix ambiguous wording.
721 Report and suggestions by Reuben Thomas.
724 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
726 * tests/defs.in (is_newest): Cope with multiple newer files.
727 * NEWS: mention `install-sh -C'.
729 2006-12-25 Paul Eggert <eggert@cs.ucla.edu>
731 * lib/install-sh (initialize_posix_glob): New var.
732 Use it instead of setting posix_glob inline.
733 (posix_glob): Use '?'/''/: instead of ''/yes/no, for convenience.
734 (cmpprog, CMPPROG): New vars, since we use cmp rather than the diff
736 Use LC_ALL before invoking 'ls' when we depend on its output format.
737 Don't use awk; just use the shell's builtin features.
738 Clean up $dsttmp if -C detects no installation is needed.
739 * tests/defs.in (is_newest): Renamed from is_younger; the new
740 name is more accurate. All uses changed.
741 (old_timestamp): New var.
742 * tests/instsh2.test: Rewrite to avoid the need for sleeping.
744 2006-12-25 Akim Demaille <akim@epita.fr>
746 * lib/install-sh: Implement install-sh -C.
747 (This patch is the remaining part of the patch proposed in
748 <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
749 (usage): Document it.
750 (copy_on_change): New var.
751 * tests/defs.in (is_younger): New function.
752 * tests/instsh2.test: Check install-sh -C.
754 2006-12-24 Paul Eggert <eggert@cs.ucla.edu>
756 * lib/install-sh: Fix typo in previous patch for handling --.
757 Use more-consistent style for ';;'.
758 Prefer || to if-then-else-:.
759 * tests/install2.test: Rework to avoid set -e problems.
761 2006-12-24 Akim Demaille <akim@epita.fr>
763 Simplify install-sh and its test. This shouldn't change any behavior.
764 (This patch is a subset of the patch proposed in
765 <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
766 * lib/install-sh (usage): Use usual GNU style.
767 (dstarg): Rename as...
768 (dst_arg): this for consistency.
769 Simplify quoting of assignments.
771 Don't use '\' to continue commands: && suffices.
772 Remove useless "continue" in the argument processing,
773 and factor the shifts.
774 * tests/defs.in: Some improvements to make it set -e clean.
775 Use the traditional ":" trick to protect loops from being empty.
776 Remove an empty straightforward piece of code prepared to define
777 additional variables.
778 Use test instead of [], for consistency.
779 * tests/install2.test: Use set -e, to simplify code.
781 2006-12-20 Reuben Thomas <rrt@sc3d.org> (tiny change)
783 * doc/automake.texi: Fix typo.
785 2006-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
787 * doc/Makefile.am: Use $(MAKE) $(AM_MAKEFLAGS) for building
788 amhello, to prevent gmake from invoking make with MAKEFLAGS
789 it does not understand.
790 Report by Patrick Welche.
792 * lib/gnupload: Revert last change. Add pointer to upload
793 instructions of the GNU Maintenance Instructions.
794 Suggestion by Karl Berry.
796 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
798 * lib/gnupload: Add missing 'gnu' to example URL.
799 Report by Karl Berry.
801 2006-10-28 Bobby Jack <bobbykjack@yahoo.co.uk> (tiny change)
803 * doc/automake.texi (amhello Explained): autoconf creates
804 configure, not configure.ac.
807 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
809 * doc/automake.texi (Dist, Dependency Tracking Evolution):
811 * lib/Automake/Condition.pm: Likewise.
812 * lib/Automake/DisjConditions.pm: Likewise.
813 * lib/Automake/ItemDef.pm: Likewise.
814 * lib/Automake/Options.pm: Likewise.
815 * lib/Automake/Rule.pm: Likewise.
816 * lib/Automake/VarDef.pm: Likewise.
817 * lib/Automake/Variable.pm: Likewise.
818 * lib/Automake/Wrap.pm: Likewise.
819 * lib/Automake/XFile.pm: Likewise.
820 * m4/substnot.m4: Likewise.
822 2006-10-16 Alexandre Duret-Lutz <adl@gnu.org>
824 * lib/gnupload: Update to version 1.1 of directive file.
826 2006-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
828 * lib/am/depend2.am (%SOURCEFLAG%): New substitution, goes
829 right before the expanded source file name.
830 * automake.in (%sourceflags): New global: per-extension flag
831 to denote that the next compiler argument is the source file.
832 (scan_autoconf_traces): Trace AC_FC_SRCEXT; initialize
833 %sourceflags accordingly.
834 (handle_single_transform): Store source file extension in...
835 (%lang_specific_files): ...this and...
836 (handle_languages): ...adjust here. Pass flag in SOURCEFLAG.
837 * doc/automake.texi (Optional): Add AC_FC_SRCEXT.
838 (Fortran 9x Support): Update.
839 * tests/fort2.test: New test.
840 * tests/Makefile.am: Adjust.
841 * NEWS, THANKS: Update.
842 Suggested by Steven G. Johnson.
845 * automake.in (lang_f77_rewrite, lang_fc_rewrite)
846 (lang_ppfc_rewrite, lang_ppf77_rewrite, lang_ratfor_rewrite):
847 return `lang_sub_obj' to support subdir-object mode for the
849 * tests/fort4.test, tests/fort5.test: New tests.
850 * tests/Makefile.am: Update.
851 * NEWS, THANKS: Update.
852 Report by Davyd Madeley and Shannon L. Brown.
854 * lib/am/header-vars.am (pkglibexecdir): New variable.
855 * automake.in (%standard_prefix): Add it.
856 * doc/automake.texi (Uniform): Document it.
857 (Program Sources): Adjust.
859 * tests/libexec.test: New test.
860 * tests/Makefile.am: Update.
861 Suggested by Eric Blake.
863 2006-10-15 Alexandre Duret-Lutz <adl@gnu.org>
865 * lib/gnupload: Update to version 1.1 of directive file.
867 * configure.ac, NEWS: Bump version to 1.10a.
869 * configure.ac, NEWS: Bump version to 1.10.
870 * doc/automake.texi (Releases): Update for 1.10.
872 * lib/config.sub, lib/texinfo.tex: New upstream versions.
874 * lib/am/depend2.am: Typo.
875 * lib/depcomp (scriptversion): Bump, to account for recent changes.
877 * doc/automake.texi (Examples): Introduce the example, and point
879 (Hello): Remove this obsolete node.
881 2006-10-15 Hans Ulrich Niedermann <hun@n-dimensional.de>
882 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
885 * lib/am/distdir.am (distdir): filename-length-max check is not
886 done in sub-packages.
887 * doc/automake.texi (Options): Document this.
888 * tests/fn99subdir.test: New test.
889 * tests/Makefile.am: Update.
892 2006-10-14 Alfred M. Szmidt <ams@gnu.org> (tiny change)
894 * doc/automake.texi (Third-Party Makefiles): Fix typo.
897 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
899 * aclocal.in (write_aclocal): Improve warning for mismatched
902 * automake.in: For preprocessed assembler, add `$(DEFS)
903 $(DEFAULT_INCLUDES) $(INCLUDES)' to the compile rule.
904 * doc/automake.texi (Assembly Support): Update.
906 Suggested by Thomas Schwinge and Ralf Corsepius.
909 * automake.in (output_flag): Set to `-o' for Assembler and
910 preprocessed Assembler, assuming that all understand `-c -o'.
911 * THANKS, NEWS: Update.
912 * tests/subobj10.test: New test.
913 * tests/Makefile.am: Update.
914 Report by Thomas Schwinge.
916 * automake.in (%_macro_for_cond): New variable.
917 (cond_stack_if): Use it for better error message about
918 missing dependency tracking conditionals.
919 * tests/asm2.test: New test, modeled after asm.test.
920 * tests/Makefile.am: Adjust.
921 Report by Ralf Corsepius.
923 * doc/automake.texi (Options): `no-dependencies' is similar
924 to `--ignore-deps', not `--include-deps'.
925 * m4/as.m4 (AM_PROG_AS): If `no-dependencies', do not invoke
927 * tests/nodep2.test: New test.
928 * tests/Makefile.am: Adjust.
930 * automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the
931 LIBOBJDIR, then we should not add a DEPDIR prefix.
932 * tests/pr401.test: Update test.
933 * tests/pr401b.test: Likewise.
934 * tests/pr401c.test: Likewise.
935 Report by Jim Meyering and Eric Blake.
937 * lib/depcomp (gcc3): Put dependency extraction flags before the
938 `-c' flag, so they appear at the same position as in %FASTDEP%
939 mode in depend2.am. Fixes build failure for FreeBSD's c89,
940 which ignores unknown options only after the first non-option.
941 Bug report against M4 by Nelson H. F. Beebe.
943 2006-10-14 Bruno Haible <bruno@clisp.org>
944 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
946 * automake.in ($seen_gettext_intl): New variable.
947 (handle_gettext): Consider it.
948 (scan_autoconf_traces): Add AM_GNU_GETTEXT_INTL_SUBDIR to the list.
949 Set $seen_gettext_intl when it is seen.
950 * doc/automake.texi (gettext, Optional): Update.
951 * tests/gettext3.test: New test.
952 * tests/Makefile.am: Update.
954 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
956 * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
957 which incorrectly sets the mode of an existing destination
958 directory. In some cases the unpatched install-sh could do the
959 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
960 system. We hope this is rare in practice, but it's clearly worth
961 fixing. Problem reported by Alex Unleashed in
962 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
963 Also, don't bother to check for -m bugs unless we're using -m;
964 suggested by Stepan Kasal.
966 2006-10-14 Geoffrey Keating <geoffk@apple.com> (tiny change)
968 * m4/multi.m4: Non-default multilibs may be cross compilation.
970 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
972 * automake.in: Fix some typos in comments.
973 * lib/Automake/Variable.pm: Likewise.
975 2006-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
977 * automake.in (handle_compile): Use subst, for maintainer-check.
979 2006-10-09 Andreas Köhler <andi5.py@gmx.net> (tiny change)
982 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES):
983 Fix typo: `config.status.lineno', not `configure.status.lineno'.
985 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
987 * NEWS: Mention that `install-sh' needs executable permissions.
988 * tests/nobase.test: Adjust.
989 Report by Patrick Welche.
991 2006-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
993 * lib/am/check.am (check-TESTS): Fix matching of XFAIL_TESTS
994 against currently running test for the first and last element
995 of $(TESTS): add spacing so Solaris make does VPATH expansion
997 * tests/check6.test: Update.
999 2006-08-30 Paul Eggert <eggert@cs.ucla.edu>
1001 For PR automake/501:
1002 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?!GENERIC?%OBJ%):
1003 Abbreviate output a bit by not bothering to quote the .Po file
1004 name (the quoting doesn't suffice in general anyway), and by not
1005 bothering to remove junk .Tpo files (as they'll be removed later).
1006 This also lets 'make' run faster by avoiding a subshell.
1008 2006-08-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1010 * automake.in: Fortran 77 and Fortran should require variables
1011 F77 resp. FC to be defined, and suggest the respective Autoconf
1013 * tests/fort1.test: New test.
1014 * tests/Makefile.am: Update.
1016 * tests/ext.test: Add extensions f95, F90, F95.
1018 2006-08-30 Alexandre Duret-Lutz <adl@gnu.org>
1020 For PR automake/500:
1021 * automake.in (handle_compile) <$default_includes>: Do not output
1022 the same -I twice. Use @am__isrc@ instead of ` -I$(srcdir)'.
1023 * m4/init.m4: Define am__isrc as ` -I$(srcdir)' only in
1024 non-VPATH builds since we always have `-I.'.
1025 * tests/subpkg.test: Make sure config headers are found in VPATH
1026 and non-VPATH builds.
1028 2006-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1030 * doc/automake.texi, lib/Automake/Rule.pm: Fix some typos.
1031 * NEWS: Likewise. Clarify that only one LIBOBJDIR is supported.
1033 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
1035 * lib/Automake/ChannelDefs.pm (usage): Mention that -Wportability
1036 is enabled by default with gnu and gnits strictness.
1037 Report from Bruno Haible.
1039 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
1041 * NEWS: Mark de-ANSI-fication as being obsolete.
1042 * doc/automake.texi: Likewise.
1044 2006-08-21 Stepan Kasal <kasal@ucw.cz>
1046 * Makefile.am, THANKS: Fix typos.
1048 2006-08-20 Alexandre Duret-Lutz <adl@gnu.org>
1050 * NEWS, configure.ac: Bump version to 1.9c.
1052 * NEWS, configure.ac: Bump version to 1.9b.
1054 * Makefile.am (maintainer-check): Check for mkdir_p in automake.in
1056 * automake.in (require_build_directory): Use MKDIR_P, not mkdir_p.
1058 * m4/mkdirp.m4: Typo in previous patch.
1060 * Makefile.am (maintainer-check): Fine-tune the "Unescaped @"
1061 check so it doesn't complain about the '@ 's in node "Standard
1062 Directory Variables".
1064 * INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New
1067 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with
1068 $(top_builddir)/ if it is a relative directory.
1070 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
1072 * lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use
1073 ylwrap. Suggested by Akim Demaille long ago, to ease maintenance.
1074 * automake.in (handle_languages): Do not define MORE-THAN-ONE.
1075 (yacc_lex_finish_helper, lang_yacc_finish, lang_lex_finish): Always
1077 * doc/automake.texi (Auxiliary Programs, Yacc and Lex): Update the
1078 documentation of ylwrap.
1079 * tests/lex.test, tests/lex4.test, tests/mmodely.test,
1080 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
1081 tests/yaccpp.test: Adjust.
1083 * doc/automake.texi (Releases): Update statistics until 1.9.6.
1085 * Makefile.am (maintainer-check): Check for mkdir_p.
1086 * automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P.
1087 * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
1088 lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
1089 lib/am/mans.am, lib/am/progs.am, lib/am/python.am,
1090 lib/am/scripts.am, lib/am/texinfos.am: Use MKDIR_P instead of mkdir_p.
1091 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not
1092 as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use
1093 mkdir_p without defining MKDIR_P.
1094 * tests/distdir.test, tests/instman.test, tests/txinfo21.test:
1097 * Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm.
1098 * configure.ac (ACLOCAL): Use --acdir=m4 in addition to
1099 -I m4. Running aclocal during the rebuild rules will fail
1100 if the default acdir does not exist.
1102 * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4:
1103 Require Autoconf 2.60 instead of some intermediate development
1106 * doc/automake.texi (Standard Directory Variables): Fix multitable
1108 (Autotools Introduction): Fix @uref usage.
1110 2006-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1112 * doc/automake.texi: Fix some typos in the introduction,
1113 adjust some spacing; spell `GNU Build System' consistently.
1114 (menu): Unify node naming.
1115 (Standard Directory Variables): Clarify that this list is not
1117 (DESTDIR): Fix example.
1119 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
1121 * doc/automake.texi (Autotools Introduction) New chapter.
1122 Thanks to Ben Pfaff and Ralf Wildenhues for comments.
1123 (Auxiliary Programs, Install, Dist, Third-Party Makefiles)
1124 (distcleancheck): More cross references.
1125 * doc/amhello/configure.ac, doc/amhello/README,
1126 doc/amhello/Makefile.am, doc/amhello/src/Makefile.am,
1127 doc/amhello/src/main.c: New files.
1128 * doc/Makefile.am (dist_noinst_DATA): Distribute them.
1129 ($(srcdir)/amhello-1.0.tar.gz): New rule.
1130 (dist_doc_DATA): Install amhello-1.0.tar.gz.
1131 * Makefile.am (SUBDIRS): Update comment.
1133 2006-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1135 * doc/automake.texi: Fix some typos.
1137 2006-08-14 Jonathan Higa <jthiga@gmail.com>
1139 * automake.in: Register "Unified Parallel C" as language.
1140 (lang_upc_rewrite): New function.
1141 (resolve_linker): Consider UPCLINK.
1142 * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest
1143 AM_PROG_UPC for UPC and UPCFLAGS.
1144 * m4/upc.m4: New file.
1145 * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case.
1146 * m4/Makefile.am (dist_m4data_DATA): Add upc.m4.
1147 * doc/automake.texi (Unified Parallel C Support): New node.
1148 (Public macros): Mention AM_PROG_UPC.
1149 (Program and Library Variables, Flag Variables Ordering):
1151 * tests/upc.test, tests/upc2.test, tests/upc3.test: New file.
1152 * tests/Makefile.am (TESTS): Add them.
1153 * tests/ext.test: Also test upc files.
1155 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
1157 * doc/automake.texi (Scripts): Fix some errors in previous patch.
1159 * doc/automake.texi (Scripts): Revamp. Show an example of script
1160 built from configure.ac. Discuss CLEANFILES and EXTRA_DIST for
1161 other built scripts.
1163 * m4/init.m4: Suggest fixing the call to AC_INIT when
1164 AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined. This is for
1165 newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments.
1166 * tests/init.test: New file.
1167 * tests/Makefile.am (TESTS): Add it.
1169 2006-08-04 Stepan Kasal <kasal@ucw.cz>
1171 * automake.in (dist_dirs, fill_dist_dirs): Remove.
1172 * lib/am/distdir.am (DISTDIRS): Remove.
1173 * tests/distdir.test, tests/pr2.test: Do not grep, use
1174 `make distdir' instead.
1176 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
1178 * doc/automake.texi (Conditionals): Split in two sections, "Usage"
1179 and "Portability", and add a third one, "Limits" to explain how
1180 conditional definitions inside multi-lines definitions can be
1182 * automake.in (handle_options): Do not assume that
1183 AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional
1184 definitions of AUTOMAKE_OPTIONS.
1185 Report from Bas Wijnen.
1186 * tests/amopt.test: New test.
1187 * tests/Makefile.am (TESTS): Add it.
1189 * aclocal.in (install_file): Cannot use /dev/null while diffing
1190 new files, because Tru64's diff do not handle /dev/null. So
1191 create an empty destination file before running diff on a new
1192 file, and erase it afterward. Fall back to using /dev/null only
1193 if we cannot create this file.
1194 Report and initial patch from Ralf Wildenhues.
1195 (unlink_tmp): New function.
1196 * test/acloca18.test: Make sure the empty file has been erased.
1198 2006-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1200 * automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects,
1201 do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR,
1202 to help BSD Make find the files also in a VPATH build.
1203 Also return the same path, possibly prefixed, for correct
1205 * tests/pr401.test: Update to expose wrong depdir computation.
1206 Rewrite to not use the same file name for library object and
1208 * tests/pr401b.test, tests/pr401c.test: Likewise.
1210 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
1212 * lib/install-sh: Don't incorrectly claim that this implementation
1213 can install only one file at a time.
1214 (doit_exec): New var, for using 'exec' if possible, to save a process.
1215 (test_mode, intermediate_mode): Remove.
1216 (mode): Check for IFS or globbing characters in mode, since they might
1217 cause weird behavior with the other changes below. All later uses
1218 of '"$mode"' changed to '$mode', since the ""s no longer matter.
1219 Use octal modes if the invoker specifies an octal mode, and use
1220 octal umask values if 'umask' outputs octal values; this is more
1221 likely to work with older operating systems since Automake uses
1222 octal modes, and also works around a bug with HP-UX 11.23
1223 'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in
1224 <http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>.
1225 (cp_umask, mkdir_umask): New variables, to avoid
1226 temporarily creating files or directories with too-permissive modes.
1227 (mkdir_mode): Use the FreeBSD 'install' method for computing modes of
1228 intermediate directories; this is safer.
1229 (posix_mkdir): Also test mkdir -p -m ... by making a directory in
1230 /tmp and checking the resulting mode with 'ls', to catch a bug in
1231 HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message.
1232 Use ':' for true, not 'true'; this is a bit faster on
1233 traditional implementations.
1235 2006-07-09 Jim Meyering <jim@meyering.net>
1237 * lib/depcomp: "in in" -> "in" in comment.
1239 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1241 * tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr,
1242 for consistency with the recommendation prompted by this report:
1243 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
1245 2006-06-24 Stepan Kasal <kasal@ucw.cz>
1246 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1248 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to
1249 `'$(MKDIR_P)'', so that it retains the per-directory value
1250 computed by config.status.
1251 * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from
1252 a changed directory. Bugs reported by Ralf Menzel.
1255 2006-06-24 Eric Dorland <eric@debian.org>
1256 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1258 * automake.in (scan_texinfo_file): Fix matching file extension.
1259 * tests/txinfo31.test: New test.
1260 * tests/Makefile.am: Update.
1262 2006-06-07 Alexandre Duret-Lutz <adl@gnu.org>
1264 * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.
1266 2006-06-07 Stepan Kasal <kasal@ucw.cz>
1268 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
1270 2006-06-06 Stepan Kasal <kasal@ucw.cz>
1271 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1273 * lib/am/distdir.am: Do not call $(mkdir_p) for each
1274 distributed file, collect them and create them in one run,
1275 and strip $(srcdir) and $(top_srcdir) all at once.
1276 Fix some comment typos.
1278 2006-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1280 * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
1281 7.4.4m may omit the first included header dependency information
1282 with `-MDupdate'. Refine test to catch this.
1284 * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
1287 * tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3
1288 requires `config.rpath' to be present, and automake now enforces
1289 this. Test this, but only if the gettext installation works and
1290 is recent enough to provide this diagnosis.
1291 * tests/gettext.test: Provide a dummy `config.rpath' for all
1293 * tests/gettext2.test, tests/subcond.test: Likewise.
1295 * tests/pr401.test: Replace "perl -i" with sed and mv, for
1297 * tests/pr401b.test, tests/pr401c.test, tests/python11.test,
1298 * tests/yacc6.test, tests/yacc8.test: Likewise.
1300 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
1301 plain `grep' on the Makefile, as its line length may exceed that
1302 for grep. Bug report against coreutils by Sam Sirlin.
1305 2006-05-26 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
1307 * doc/automake.texi (Options): Add anchor `tar-formats'.
1309 2006-05-25 Noah Misch <noah@cs.caltech.edu>
1311 * lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides
1312 ENOLCK. Only mention `make -j' when applicable. Only raise
1313 fatal errors when `make -j' is involved. Improve error message.
1315 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1317 * lib/Automake/Configure_ac.pm (find_configure_ac): Use
1318 `$configure_in' instead of `configure.in', to preserve
1319 directory component.
1320 * lib/Automake/Configure_ac.pm: Add note that Automake owns
1322 * lib/Automake/Channels.pm: Likewise.
1323 * lib/Automake/FileUtils.pm: Likewise.
1324 * lib/Automake/Struct.pm: Likewise.
1326 2006-05-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1328 * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
1329 New upstream versions.
1331 2006-05-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1333 * doc/automake.texi (Auxiliary Programs): Fix URL to GCC
1334 repository, they use SVN now.
1336 2006-05-13 Werner Lemberg <wl@gnu.org>
1338 * lib/gnupload: Add support for savannah.gnu.org and
1339 savannah.nongnu.org.
1341 2006-05-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1343 * lib/Automake/Channels.pm, lib/Automake/Condition.pm,
1344 lib/Automake/DisjConditions.pm, lib/Automake/Options.pm,
1345 lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos.
1347 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
1349 * lib/install-sh: Sync from Autoconf, as follows:
1350 Don't use 'path' to talk about file names,
1351 as per GNU coding standards. Close a race condition reported by Ralf
1352 Wildenhues and Stepan Kasal. There is still a race condition
1353 on hosts that predate Posix 1003.1-1992, but we can't help this.
1354 Don't mishandle weird characters like space on pre-Posix hosts.
1355 Invoke mkdir at most once per dir arg on pre-Posix hosts.
1357 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1359 * tests/missing.test, tests/missing2.test: Do not require
1361 * Makefile.am (maintainer-check): Make sure `required=' does not
1362 follow `. ./defs' in the tests.
1364 * tests/ansi10.test: Use AC_PROG_CC_STDC. Fix test that
1365 ac_cv_prog_cc_stdc isn't just used by Automake code in
1367 * tests/ansi6.test, tests/ansi7.test: Likewise.
1368 * tests/ansi9.test: Likewise. Do not override by setting
1369 $U and $(ANSI2KNR) at `make' time; that will be fragile.
1370 * tests/libobj8.test: Use AC_PROG_CC_STDC.
1371 * tests/subobj3.test: Likewise. Use `set -e'.
1373 * lib/install-sh: Initialize IFS, so field splitting isn't
1375 * lib/mkinstalldirs: Likewise.
1377 * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
1378 the path of the prerequisite added; IRIX 6.5 make does not add
1379 it, Solaris 2.6 make is inconsistent about adding it. Fixes
1382 * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
1383 files in the source tree. Fixes failures with HP-UX and Tru64
1386 * lib/am/ansi2knr.am (ansi2knr): Rename target as...
1387 (./ansi2knr): ...this, for BSD make.
1388 (%ANSI2KNR-DIR%/ansi2knr): Adjust.
1390 2006-05-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1392 * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
1393 /bin/sh -e issue with failing commands in if clauses.
1395 * tests/defs.in (Be Bourne compatible): Update from current
1398 * configure.ac: Recommend perl-5.8.2.
1399 * tests/automake.test: Do not fail because of buggy Getopt::Long
1402 * tests/longlin2.test: Do not use `grep' on Makefile.am:
1403 it has long lines and is thus not a text file; AIX 5.1 grep
1404 fails to scan non-plain patterns from long lines.
1406 * tests/overrid.test: Change all regexes for warning messages to
1407 match after a colon, so that the prepended file names do not
1408 cause false matches. Tighten overrides regex. Fix typo
1409 `cleam-am-local' -> `clean-am-local'.
1411 * tests/java.test: `configure' uses a trap, so use `(exit 77);
1412 exit 77' to portably set the exit status similar to AS_EXIT.
1413 * tests/fn99.test: propagate nonzero exit status from subshell.
1415 * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
1416 if ``pwd`' contains the string `-p'. Create the wrapper in a
1417 subdirectory so that `.' in $PATH does not lead to an endless
1420 * lib/depcomp (ia64hp): Rename dependency style to..
1421 (hp2): ..this, as it works with aCC on HPPA, too; adjust
1422 comment. Report by Olivier Fourdan (PR automake/481).
1425 * tests/aclocal7.test: Add `$sleep's between file touching
1426 and automake resp aclocal+automake invocations, to ensure
1427 they complete with a time stamp strictly later than the touched
1430 * lib/missing: Remove superfluous quotes. Replace all uses of
1431 `[' by `test', for consistency, and for..
1432 * tests/missing5.test: ..this new test.
1433 * tests/Makefile.am: Update.
1435 * lib/missing (sed_minuso, sed_output): New variables.
1436 (autom4te, help2man, makeinfo): Use them. Unifies detection of
1437 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
1438 Fixes `missing' to detect `--output' for help2man. Fixes
1439 PR automake/483. Report by Dennis J. Linse.
1440 (autom4te): Document in `missing --help'.
1443 2006-04-26 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
1445 * doc/automake.texi (Dependency Tracking Evolution): Fix typo.
1447 2006-04-25 Stepan Kasal <kasal@ucw.cz>
1449 * lib/install-sh: Simplify the expr implementation of dirname.
1451 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
1453 * lib/install-sh: Handle --, and diagnose unknown options.
1454 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set
1455 mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with
1456 the other ways that mkdir_p might be set.
1458 2006-04-21 Alexandre Duret-Lutz <adl@gnu.org>
1460 * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
1461 (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
1462 * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
1463 (write_aclocal): Output a check for Autoconf's version in aclocal.m4.
1464 Doing so ensures that users cannot build configure and Makefiles
1465 with two different autoconf versions. Report from Noah Misch.
1466 * tests/missing4.test: New file.
1467 * tests/Makefile.am (TESTS): Add it.
1469 2006-04-20 Paul Lunau <temp@lunau.me.uk> (tiny change)
1470 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1472 * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
1473 failed, instead of when the last one failed (PR automake/488).
1474 Report from Paul Lunau.
1475 * tests/dejagnu4.test: Update to expose this.
1478 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1480 * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
1481 TABs as well as spaces. Fixes PR automake/490.
1482 * tests/check6.test: New test.
1483 * tests/Makefile.am, THANKS: Update.
1484 Report from Diab Jerius <djerius@cfa.harvard.edu>.
1486 2006-04-17 Stepan Kasal <kasal@ucw.cz>
1488 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
1489 description; eliminate the duplicate error message.
1490 * doc/automake.texi (@direntry): `Invoking Automake' is the name
1491 of the usage node for `automake'
1492 * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the
1495 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1497 * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
1498 because it uses `datarootdir'. Bump copyright year and serial.
1500 2006-04-10 Stepan Kasal <kasal@ucw.cz>
1504 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
1506 * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
1507 (_gen_varname): Use _hash_values, and return a flag indicating whether
1508 the variable name was generated or reused.
1509 (transform_variable_recursively): Do not redefine variables that
1510 are reused, and try to reuse the variable being transformed.
1511 * tests/check2.test: Make sure TESTS hasn't been redefined.
1512 * tests/check5.test, tests/exeext4.test: Make sure variables have
1514 * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.
1516 * automake.in (%ignored_configure_vars): New variable.
1517 (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill
1518 %ignored_configure_vars.
1519 (define_configure_variable): Declare ignored configure variables
1520 as VAR_SILENT. Do not special-case AMDEPBACKSLASH and ANSI2KNR
1522 * m4/substign.m4: New file.
1523 * m4/Makefile.am (dist_m4data_DATA): Add substign.m4.
1524 * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477).
1525 * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH.
1526 * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR.
1527 * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined.
1528 * tests/amsubst.test: New file.
1529 * tests/Makefile.am (TESTS): Add it.
1531 2006-04-09 Stepan Kasal <kasal@ucw.cz>
1532 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1534 * automake.in (handle_single_transform): Preserve directories in
1535 direct suffix rules.
1536 * tests/suffix12.test: New test.
1537 * tests/Makefile.am (TESTS): Add it.
1538 Report from John Ratliff.
1540 2006-03-25 Mike Frysinger <vapier@gentoo.org> (tiny change)
1541 Alexandre Duret-Lutz <adl@gnu.org>
1543 * aclocal.in ($m4_include_rx): Do not recognize `include', and
1544 adjust scan_configure_dep and scan_file accordingly.
1545 (scan_configure_dep): Do not search white lines.
1546 (scan_file): Strip comments from current line after checking
1547 for serial, so that aclocal does not trip on `m4_include' macros
1548 in comments. Report from Mike Frysinger.
1549 * tests/acloca21.test: New file.
1550 * tests/Makefile.am (TESTS): Add it.
1552 2006-03-24 Stepan Kasal <kasal@ucw.cz>
1554 * tests/mmodely.test: Fix the test on systems with no lex.
1556 2006-03-23 Stepan Kasal <kasal@ucw.cz>
1558 * automake.in (libtool_new_api): Fix a typo in the comment.
1559 * lib/Automake/Makefile.am (Config.pm): Likewise.
1560 * lib/am/depend2.am: Likewise.
1561 * tests/xsource.test: With `set -e', `|| exit 1' is no longer
1564 2006-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1566 * tests/depcomp6.test, tests/depcomp7.test: Change back to
1567 using `$MAKE && exit 1', but make sure the last command in the
1570 2006-03-21 Clifford Wolf <clifford@clifford.at> (tiny change)
1571 Stepan Kasal <kasal@ucw.cz>
1572 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1574 * aclocal.in (parse_arguments): Added wildcard support to the
1576 * doc/automake.texi (Macro search path): Document it.
1577 * tests/dirlist2.test: New test.
1578 * m4/dirlist, tests/Makefile.am: Adjust.
1580 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1582 * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)'
1583 to `AC_PROG_OBJC' if provided, to fix Objective C depmode
1585 * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for
1587 * tests/ext.test: Adjust.
1588 * tests/objc.test, tests/objc2.test: New tests.
1589 * tests/Makefile.am: Adjust.
1590 * doc/automake.texi (Objective C Support): New node.
1591 (Support for Other Languages): Adjust.
1593 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1595 * lib/Automake/RuleDef.pm (DESCRIPTION): Typo.
1597 * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic
1598 to work with `set -e'.
1600 * tests/depcomp6.test, tests/depcomp7.test: New tests,
1601 for general `depcomp' functionality, with and without
1602 `subdir-objects', with and without `libtool'.
1603 * tests/Makefile.am: Adjust.
1605 * aclocal.in (write_aclocal): Unlink `aclocal.m4' before
1606 writing into it, to break a symlinked file.
1607 * tests/acloca20.test: New test.
1608 * tests/Makefile.am: Updated.
1610 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1612 Allow package trees (packages with subpackages) to share
1613 common distributed auxiliary files (and directories) that
1614 reside within a subpackage.
1616 * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if
1617 `$(distdir)' already exists.
1618 (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent
1619 removal of subpackage trees for distribution.
1620 * tests/subpkg3.test: New test.
1621 * tests/Makefile.am: Update.
1623 2006-03-18 Alexandre Duret-Lutz <adl@gnu.org>
1625 * tests/check5.test, tests/nobast.test: Fix $MAKE and rm
1626 invocations to please maintainer-check.
1628 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
1630 * automake.in (lang_c_rewrite): Typo in previous change.
1631 * tests/ccnoco2.test: New file.
1632 * tests/Makefile.am (TESTS): Add ccnoco2.test.
1634 * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
1635 a 'portability' warning, so that people can ignore it. Suggested
1638 * lib/Automake/ChannelDefs.pm: Make -Wportability the default in
1639 gnu and gnits modes.
1640 * doc/automake.texi (Invoking Automake): Adjust.
1642 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1644 * doc/automake.texi (Yacc and Lex): Document that `.ypp' and
1645 `.lpp' file extensions are recognized.
1647 2006-02-21 Alexandre Duret-Lutz <adl@gnu.org>
1649 * doc/automake.texi (Complete, Extending aclocal, Public macros)
1650 (Python, Conditionals, API versioning): Always quote macro arguments.
1651 Report from Stepan Kasal.
1653 2006-02-16 Alexandre Duret-Lutz <adl@gnu.org>
1655 * doc/automake.texi (Python): More examples.
1657 2006-02-05 Alexandre Duret-Lutz <adl@gnu.org>
1659 * doc/automake.texi (distcleancheck): Fix bad wording. Report
1661 (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS).
1663 2006-01-29 Alexandre Duret-Lutz <adl@gnu.org>
1665 Append $(EXEEXT) to programs that may be listed in TESTS.
1666 Report from Simon Josefsson.
1668 * automake.in (%known_programs): New global.
1669 (initialize_per_input): Reset it.
1670 (append_exeext): Take a predicate as first argument to select
1671 the filename to rewrite.
1672 (handle_programs): Fill %known_programs.
1673 (handle_tests): Append $(EXEEXT) to all tests that are in
1675 (am_install_var): Update call to append_exeext.
1676 * doc/automake.texi (EXEEXT): TESTS is also rewritten.
1677 (Tests): More about the difference between check_PROGRAMS and TESTS.
1678 Give an example of TEST_ENVIRONMENT.
1679 * tests/cond32.test: Augment with a nested condition.
1680 * tests/exeext4.test: Also check TESTS.
1681 * tests/check5.test: New file.
1682 * tests/Makefile.am (TESTS): Add check5.test.
1684 2006-01-12 Paul Eggert <eggert@cs.ucla.edu>
1686 * lib/install-sh (dstdir): Don't use semicolons inside { } in
1687 sed scripts, as Posix says it's not portable.
1688 * lib/missing (file): Likewise.
1689 * lib/am/distdir.am (distcheck): Likewise.
1690 * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
1691 * tests/distcom2.test, tests/distcom3.test: Likewise.
1692 * tests/distcom4.test, tests/distcom5.test: Likewise.
1693 * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
1695 2006-01-12 Alexandre Duret-Lutz <adl@gnu.org>
1697 * ChangeLog: Move 2004's entries to ...
1698 * ChangeLog.04: ... this new file.
1699 * Makefile.am (EXTRA_DIST): Add ChangeLog.04.
1701 * tests/txinfo13.test: Test fix below.
1703 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1705 * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted
1706 extra files in distribution. Reported by Vincent Lefevre.
1708 2006-01-06 Alexandre Duret-Lutz <adl@gnu.org>
1710 * doc/automake.texi (Linking, Program and Library Variables):
1711 Mention the file extensions that usually appear in _DEPENDENCIES,
1712 and point to BUILT_SOURCES and example of _DEPENDENCIES uses. A
1713 couple of people have been listing sources files in _DEPENDENCIES
1716 * doc/automake.texi: Bump copyright year.
1717 * automake.in ($gen_copyright, version): Likewise.
1718 * aclocal.in (write_aclocal, version): Likewise.
1720 2006-01-05 Stepan Kasal <kasal@ucw.cz>
1721 Alexandre Duret-Lutz <adl@gnu.org>
1723 * automake.in (topsrcdir): New global.
1724 (generate_makefile): Compute it.
1725 (fill_dist_dirs): New function extracted from handle_dist.
1726 (handle_dist, handle_configure): Use fill_dist_dirs.
1727 * tests/distdir.test: Test for cases where $(top_srcdir) or
1728 $(srcdir) appear in EXTRA_DIST. Report from Sander Niemeijer.
1730 2006-01-05 Zack Weinberg <zackw@panix.com>
1731 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1733 * lib/depcomp: Add 'ia64hp' dependency style.
1734 Zack's original patch was contributed to GCC on 2005-06-13.
1737 2005-11-01 Stepan Kasal <kasal@ucw.cz>
1739 * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
1740 the code is portable to both POSIX and pre-POSIX shells.
1742 2005-10-17 Alexandre Duret-Lutz <adl@gnu.org>
1744 * tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
1745 suggested by Eric Blake.
1747 2005-10-17 Stepan Kasal <kasal@ucw.cz>
1749 * doc/automake.texi (Program and Library Variables): Typo.
1750 * lib/Automake/Variable.pm (transform_variable_recursively): Typo
1753 2005-10-03 Stepan Kasal <kasal@ucw.cz>
1755 * ChangeLog.03, automake.in, tests/overrid.test: Typos.
1757 2005-10-03 Alexandre Duret-Lutz <adl@gnu.org>
1759 * tests/nobase.test: Exercise previous patch.
1761 2005-10-03 Peter O'Gorman <peter@pogma.com> (tiny change)
1763 * lib/am/distdir.am: Remove $(SHELL) when calling install_sh
1764 * m4/strip.m4: Ditto.
1765 * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
1767 2005-09-13 Paul Eggert <eggert@cs.ucla.edu>
1769 * doc/automake.texi (limitations on file names): New section.
1770 * lib/install-sh: Rewrite to support '*' in file names.
1771 Also, tune so that we don't invoke so many commands in the usual case.
1772 This has the side effect of fixing `install-sh -d' to not fail if it
1773 loses the race in creating the last path component against another
1775 * tests/instspc.test: The "*" test is now fixed.
1777 2005-09-13 Stepan Kasal <kasal@ucw.cz>
1779 * automake.in (Languages) <cppasm>: Fix typo in the comment.
1781 2005-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1783 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
1784 shell in verbose mode.
1786 2005-08-07 Alexandre Duret-Lutz <adl@gnu.org>
1788 * lib/Automake/Variable.pm (variable_value): Do not read the TRUE
1789 value of a conditionally defined variable.
1790 Report from Juergen Leising.
1792 * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
1793 $(MAKE) invocations.
1794 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
1796 * lib/am/texi-vers.am (%STAMPVTI%): Likewise.
1797 * lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
1798 * Makefile.am (maintainer-check): Check for this.
1799 Report from Stepan Kasal.
1801 * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.
1802 Prompted by Stepan Kasal.
1804 2005-08-07 Stepan Kasal <kasal@ucw.cz>
1806 * lib/am/texinfos.am (uninstall-info-am): Call install-info only if
1807 the $(infodir) exists.
1809 2005-07-31 Stepan Kasal <kasal@ucw.cz>
1811 * tests/library3.test: Fix a typo which made the test fail.
1813 2005-07-27 Alexandre Duret-Lutz <adl@gnu.org>
1815 * doc/automake.texi (Linking, Program and Library Variables):
1816 Suggest reserving -l for third-party libraries.
1818 * lib/Automake/Variable.pm (require_variables): Mention aclocal's
1819 search path when suggesting to add a macro in configure.ac.
1820 People are confused when Automake suggests adding a macro (such as
1821 AC_PROG_LIBTOOL) that is already in configure.ac.
1822 * automake.in (require_file_internal): Suggest `automake --add-missing'
1823 for missing files that can be installed.
1824 * tests/library3.test: Adjust.
1826 2005-07-27 Stepan Kasal <kasal@ucw.cz>
1828 * tests/defs.in: When required matches both `*libtool*' and
1829 `*gettext*', check for both m4 files.
1831 * doc/automake.texi (Auxiliary Programs): Fix a typo.
1832 * tests/suffix11.test: Fix a typo.
1833 * tests/colon3.test: s/EGREP/FGREP/.
1835 2005-07-19 Paul Eggert <eggert@cs.ucla.edu>
1837 * tests/instspc.test: Major rewrite to test for many other
1838 problematic file names, e.g., '$', '"', '('. Automake and
1839 Autoconf can't handle many of them, so do not report a failure
1840 if the usual candidates show up.
1842 2005-07-19 Stepan Kasal <kasal@ucw.cz>
1844 * Makefile.am (automake, aclocal): Merge the rules.
1846 2005-07-10 Alexandre Duret-Lutz <adl@gnu.org>
1848 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1851 2005-07-09 Alexandre Duret-Lutz <adl@gnu.org>
1853 * lib/install-sh: Use IFS=/ to split directories on /, don't translate
1854 / into % as it prevents directory names using %...
1856 2005-07-09 Stepan Kasal <kasal@ucw.cz>
1858 * doc/automake.texi (Public macros): Typo.
1859 * aclocal.in: Typo in comment.
1861 2005-07-09 Zack Weinberg <zack@codesourcery.com> (tiny change)
1863 * lib/depcomp: Handle "#line" markers as well as "# " markers in
1864 "cpp" style, so it can work with newer HP compilers (for their
1867 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
1869 * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
1870 fix an underful hbox.
1871 * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
1872 New upstream versions.
1874 2005-07-01 Alexandre Duret-Lutz <adl@gnu.org>
1876 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
1878 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
1880 * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
1881 lib/am/header-vars.am no longer uses it.
1882 * lib/am/libtool.am (distclean-am, distclean-libtool): Define
1883 if TOPDIR_P is true, not TOPDIR.
1884 Suggested by Stepan Kasal.
1886 * automake.in (read_am_file): Correctly diagnose comments following
1888 * tests/commen10.test: New file.
1889 * tests/Makefile.am (TESTS): Add commen10.test.
1890 Report from Harald Dunkel.
1892 * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead
1894 * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL):
1895 Do not define, they are AC_SUBST_TRACEd by Autoconf.
1896 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c.
1897 * tests/include.test: Call AC_OUTPUT.
1899 2005-06-29 Alexandre Duret-Lutz <adl@gnu.org>
1901 * lib/mkinstalldirs: Fix support for directory name with spaces if
1902 `mkdir -p' does not work.
1903 * tests/Makefile.am (TESTS): Add mkinst3.test.
1904 * tests/mkinst3.test: New file.
1905 Report from Noah Friedman.
1907 * doc/automake.texi (Include, Extending aclocal): Typos.
1908 Report from Karl Berry.
1910 2005-06-28 Stepan Kasal <kasal@ucw.cz>
1911 Alexandre Duret-Lutz <adl@gnu.org>
1913 * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
1914 * tests/txinfo28.test: Set TIME_STYLE.
1915 Report from Vincent Lefevre and James Youngman.
1917 2005-06-24 Alexandre Duret-Lutz <adl@gnu.org>
1919 * lib/Automake/Variable.pm (define, _new): Remember the helper
1920 variable created for the last conditional += on each variable, and
1921 only append further += in the same condition to this last helper
1922 variable, not to older helper variables. This way the order of
1923 the items appended to the variable is preserved.
1924 * tests/cond21.test: Adjust.
1925 * tests/cond38.test: New file.
1926 * tests/Makefile.am (TESTS): Add cond38.test.
1927 Report from Ed Hartnett.
1929 2005-06-22 Alexandre Duret-Lutz <adl@gnu.org>
1931 * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
1933 * automake.in (handle_footer): Do not output an unformatted
1934 definition of SOURCES, it is already done correctly in
1935 generate_makefile. This superfluous definition introduced long
1936 lines in some Makefiles, hence breakages in tools with a limited
1937 line length. Report from Mathias Froehlich.
1939 2005-06-11 Alexandre Duret-Lutz <adl@gnu.org>
1941 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
1942 Fix redirections in previous patch.
1944 2005-06-08 Alexandre Duret-Lutz <adl@gnu.org>
1946 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
1947 Do not backup any file if makeinfo is not installed.
1948 * lib/missing (makeinfo): Do not touch a missing info file.
1949 * tests/txinfo30.test: New file.
1950 * tests/Makefile.am (TESTS): Add txinfo30.test.
1951 Report from Bob Proulx.
1953 * doc/automake.texi (Extending aclocal): Typo.
1955 2005-05-24 Brian Gough <bjg@network-theory.co.uk> (tiny change)
1957 * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
1959 2005-05-15 Alexandre Duret-Lutz <adl@gnu.org>
1961 Fix PR automake/461:
1962 * automake.in (require_build_directory): Canonicalize directories
1963 with different names, such as `foo/bar' and `./foo//bar'.
1964 * tests/subobj9.test: Augment to test that.
1965 Report from Tom Tromey.
1967 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
1969 * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
1970 ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am,
1971 NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure,
1972 configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING,
1973 lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in,
1974 lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp,
1975 lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile,
1976 lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
1977 lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
1978 lib/Automake/Condition.pm, lib/Automake/Config.in,
1979 lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
1980 lib/Automake/FileUtils.pm, lib/Automake/General.pm,
1981 lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
1982 lib/Automake/Location.pm, lib/Automake/Makefile.am,
1983 lib/Automake/Options.pm, lib/Automake/Rule.pm,
1984 lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
1985 lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
1986 lib/Automake/Version.pm, lib/Automake/Wrap.pm,
1987 lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
1988 lib/Automake/tests/DisjConditions.pl,
1989 lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
1990 lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
1991 lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
1992 lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
1993 lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
1994 lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
1995 lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
1996 lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
1997 lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
1998 lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
1999 lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
2000 lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
2001 lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
2002 lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
2003 lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
2004 m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
2005 tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
2006 tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
2007 tests/acloca17.test, tests/acloca18.test, tests/acloca19.test,
2008 tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test,
2009 tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test,
2010 tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test,
2011 tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test,
2012 tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test,
2013 tests/acsubst.test, tests/acsubst2.test, tests/all.test,
2014 tests/alloca.test, tests/alloca2.test, tests/alpha.test,
2015 tests/alpha2.test, tests/amassign.test, tests/ammissing.test,
2016 tests/ansi.test, tests/ansi10.test, tests/ansi2.test,
2017 tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test,
2018 tests/ansi5.test, tests/ansi6.test, tests/ansi7.test,
2019 tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test,
2020 tests/asm.test, tests/autohdr.test, tests/autohdr2.test,
2021 tests/autohdr3.test, tests/autohdr4.test, tests/automake.test,
2022 tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test,
2023 tests/auxdir4.test, tests/backsl.test, tests/backsl2.test,
2024 tests/backsl3.test, tests/backsl4.test, tests/badline.test,
2025 tests/badopt.test, tests/badprog.test, tests/block.test,
2026 tests/bsource.test, tests/canon.test, tests/canon2.test,
2027 tests/canon3.test, tests/canon4.test, tests/canon5.test,
2028 tests/ccnoco.test, tests/check.test, tests/check2.test,
2029 tests/check3.test, tests/check4.test, tests/checkall.test,
2030 tests/clean.test, tests/clean2.test, tests/colneq.test,
2031 tests/colneq2.test, tests/colon.test, tests/colon2.test,
2032 tests/colon3.test, tests/colon4.test, tests/colon5.test,
2033 tests/colon6.test, tests/colon7.test, tests/comment.test,
2034 tests/comment2.test, tests/comment3.test, tests/comment4.test,
2035 tests/comment5.test, tests/comment6.test, tests/comment7.test,
2036 tests/comment8.test, tests/comment9.test, tests/compile.test,
2037 tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test,
2038 tests/cond.test, tests/cond10.test, tests/cond11.test,
2039 tests/cond13.test, tests/cond14.test, tests/cond15.test,
2040 tests/cond16.test, tests/cond17.test, tests/cond18.test,
2041 tests/cond19.test, tests/cond2.test, tests/cond20.test,
2042 tests/cond21.test, tests/cond22.test, tests/cond23.test,
2043 tests/cond24.test, tests/cond25.test, tests/cond26.test,
2044 tests/cond27.test, tests/cond28.test, tests/cond29.test,
2045 tests/cond3.test, tests/cond30.test, tests/cond31.test,
2046 tests/cond32.test, tests/cond33.test, tests/cond34.test,
2047 tests/cond35.test, tests/cond36.test, tests/cond37.test,
2048 tests/cond4.test, tests/cond5.test, tests/cond6.test,
2049 tests/cond7.test, tests/cond8.test, tests/cond9.test,
2050 tests/condd.test, tests/condhook.test, tests/condinc.test,
2051 tests/condinc2.test, tests/condlib.test, tests/condman.test,
2052 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
2053 tests/conff.test, tests/conff2.test, tests/confh.test,
2054 tests/confh4.test, tests/confh5.test, tests/config.test,
2055 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
2056 tests/conflnk3.test, tests/confsub.test, tests/confvar.test,
2057 tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
2058 tests/cxx.test, tests/cxx2.test, tests/cxxansi.test,
2059 tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test,
2060 tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test,
2061 tests/dash.test, tests/defs.in, tests/defun.test,
2062 tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
2063 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
2064 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
2065 tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test,
2066 tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test,
2067 tests/depend.test, tests/depend2.test, tests/depend3.test,
2068 tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
2069 tests/dirlist.test, tests/discover.test, tests/distcom2.test,
2070 tests/distcom3.test, tests/distcom4.test, tests/distcom5.test,
2071 tests/distcom6.test, tests/distcom7.test, tests/distdir.test,
2072 tests/distname.test, tests/dollar.test, tests/double.test,
2073 tests/dup2.test, tests/else.test, tests/empty.test,
2074 tests/empty2.test, tests/empty3.test, tests/empty4.test,
2075 tests/exdir.test, tests/exdir2.test, tests/exeext.test,
2076 tests/exeext2.test, tests/exeext3.test, tests/exeext4.test,
2077 tests/exsource.test, tests/ext.test, tests/ext2.test,
2078 tests/extra.test, tests/extra2.test, tests/extra3.test,
2079 tests/extra4.test, tests/extra5.test, tests/extra6.test,
2080 tests/extra7.test, tests/f90only.test, tests/flibs.test,
2081 tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test,
2082 tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
2083 tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
2084 tests/gcj5.test, tests/getopt.test, tests/gettext.test,
2085 tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
2086 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
2087 tests/gnuwarn2.test, tests/header.test, tests/help.test,
2088 tests/hfs.test, tests/hosts.test, tests/implicit.test,
2089 tests/include.test, tests/include2.test, tests/info.test,
2090 tests/insh2.test, tests/install2.test, tests/installdir.test,
2091 tests/instdat.test, tests/instdat2.test, tests/instexec.test,
2092 tests/insthook.test, tests/instman.test, tests/instman2.test,
2093 tests/instsh.test, tests/instsh2.test, tests/instspc.test,
2094 tests/interp.test, tests/interp2.test, tests/java.test,
2095 tests/java2.test, tests/java3.test, tests/javaprim.test,
2096 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
2097 tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
2098 tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
2099 tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
2100 tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
2101 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
2102 tests/library.test, tests/library2.test, tests/library3.test,
2103 tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
2104 tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
2105 tests/libtool7.test, tests/libtool8.test, tests/libtool9.test,
2106 tests/license.test, tests/link_c_cxx.test, tests/link_dist.test,
2107 tests/link_f90_only.test, tests/link_f_only.test,
2108 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
2109 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
2110 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
2111 tests/lisp8.test, tests/listval.test, tests/location.test,
2112 tests/longlin2.test, tests/longline.test, tests/ltcond.test,
2113 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
2114 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
2115 tests/make.test, tests/makej.test, tests/makevars.test,
2116 tests/man.test, tests/man2.test, tests/mclean.test,
2117 tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
2118 tests/mdate4.test, tests/missing.test, tests/missing2.test,
2119 tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
2120 tests/mmodely.test, tests/multlib.test, tests/nobase.test,
2121 tests/nodef.test, tests/nodef2.test, tests/nodep.test,
2122 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
2123 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
2124 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
2125 tests/nostdinc.test, tests/number.test, tests/obsolete.test,
2126 tests/order.test, tests/outdir.test, tests/output.test,
2127 tests/output10.test, tests/output11.test, tests/output12.test,
2128 tests/output2.test, tests/output3.test, tests/output4.test,
2129 tests/output5.test, tests/output6.test, tests/output7.test,
2130 tests/output8.test, tests/output9.test, tests/overrid.test,
2131 tests/parse.test, tests/percent.test, tests/percent2.test,
2132 tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
2133 tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
2134 tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
2135 tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
2136 tests/ppf77.test, tests/pr2.test, tests/pr204.test,
2137 tests/pr211.test, tests/pr220.test, tests/pr224.test,
2138 tests/pr229.test, tests/pr243.test, tests/pr266.test,
2139 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
2140 tests/pr300-lib.test, tests/pr300-ltlib.test,
2141 tests/pr300-prog.test, tests/pr307.test, tests/pr401.test,
2142 tests/pr401b.test, tests/pr401c.test, tests/pr72.test,
2143 tests/pr87.test, tests/pr9.test, tests/prefix.test,
2144 tests/primary.test, tests/primary2.test, tests/primary3.test,
2145 tests/proginst.test, tests/python.test, tests/python10.test,
2146 tests/python11.test, tests/python12.test, tests/python2.test,
2147 tests/python3.test, tests/python4.test, tests/python5.test,
2148 tests/python6.test, tests/python7.test, tests/python8.test,
2149 tests/python9.test, tests/recurs.test, tests/recurs2.test,
2150 tests/regex.test, tests/remake.test, tests/remake2.test,
2151 tests/remake3.test, tests/remake4.test, tests/remake5.test,
2152 tests/req.test, tests/reqd.test, tests/reqd2.test,
2153 tests/rulepat.test, tests/scripts.test, tests/seenc.test,
2154 tests/sinclude.test, tests/space.test, tests/specflg.test,
2155 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
2156 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
2157 tests/spell.test, tests/spell2.test, tests/spell3.test,
2158 tests/spelling.test, tests/spy.test, tests/srcsub.test,
2159 tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
2160 tests/stdlib2.test, tests/strip.test, tests/subcond.test,
2161 tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
2162 tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
2163 tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
2164 tests/subdir8.test, tests/subdir9.test,
2165 tests/subdirbuiltsources.test, tests/subobj.test,
2166 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
2167 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
2168 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
2169 tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
2170 tests/subst2.test, tests/substre2.test, tests/substref.test,
2171 tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
2172 tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
2173 tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
2174 tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
2175 tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
2176 tests/syntax.test, tests/tags.test, tests/tagsub.test,
2177 tests/tar.test, tests/tar2.test, tests/tar3.test,
2178 tests/target-cflags.test, tests/targetclash.test,
2179 tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
2180 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
2181 tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
2182 tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
2183 tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
2184 tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
2185 tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
2186 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
2187 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
2188 tests/vars.test, tests/vars3.test, tests/vartar.test,
2189 tests/version.test, tests/version2.test, tests/version3.test,
2190 tests/version4.test, tests/version6.test, tests/version7.test,
2191 tests/version8.test, tests/vpath.test, tests/vtexi.test,
2192 tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
2193 tests/werror2.test, tests/whoami.test, tests/xsource.test,
2194 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
2195 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
2196 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
2197 tests/yaccvpath.test: Update FSF postal mail address.
2199 * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
2200 Autoconf currently defines a CCC variable.
2202 * tests/output11.test, tests/output12.test: Use rm -f.
2204 2005-04-25 Gary V. Vaughan <gary@gnu.org>
2205 Alexandre Duret-Lutz <adl@gnu.org>
2207 Support for remote LIBOBJS (and friends) with subdir-objects.
2208 Fixes PR automake/401.
2210 * automake.in (config_libobj_dir): New variable.
2211 (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
2212 (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
2213 (handle_LIBOBJS, handle_ALLOCA): Use them. Adjust location of
2214 dependency files, possibly in a subdirectory.
2215 * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
2216 * tests/Makefile.am (TESTS): Add them.
2217 * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
2218 (LIBOBJS): Document changes in behaviour of
2219 LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
2220 subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
2222 2005-04-18 Jim Meyering <jim@meyering.net>
2224 * doc/automake.texi (Dist): Correct English.
2226 2005-03-31 Stepan Kasal <kasal@ucw.cz>
2228 * doc/automake.texi: When the phrase "for instance" introduces a
2229 sentence, it should be delimited by a comma.
2231 * doc/automake.texi: Fix a few typos.
2233 2005-03-30 Alexandre Duret-Lutz <adl@gnu.org>
2235 * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
2236 example, since the GCS now define htmldir.
2237 (Auxiliary Programs): Mention config-ml.in and symlink-tree.
2238 Give a URL for texinfo.tex.
2239 (Public macros): Sort alphabetically, and move obsolete macros...
2240 (Obsolete macros): ... here.
2241 Prompted by Karl Berry.
2243 2005-03-29 Alexandre Duret-Lutz <adl@gnu.org>
2245 * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
2248 * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
2249 rule is run with `make -j'.
2250 * doc/automake.texi (Multiple Outputs): Adjust.
2251 * tests/lisp6.test: Augment it.
2252 * tests/lisp8.test: New file.
2253 * tests/Makefile.am (TESTS): Add lisp8.test.
2254 Suggested by Bruno Haible.
2256 2005-03-27 Alexandre Duret-Lutz <adl@gnu.org>
2258 * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
2260 2005-03-16 Alexandre Duret-Lutz <adl@gnu.org>
2262 * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
2263 a missing *.elc file if it cannot be created because emacs does
2265 * tests/lisp7.test: New file.
2266 * tests/Makefile.am (TESTS): Add lisp7.test.
2267 Report from Greg Schafer.
2269 2005-03-05 Alexandre Duret-Lutz <adl@gnu.org>
2271 * doc/automake.texi: Replace wicked whiches by thats.
2273 2005-03-04 Alexandre Duret-Lutz <adl@gnu.org>
2275 * aclocal.in (scan_configure_dep, scan_file): Include file names
2276 are relative to the directory of configure.ac, not to the
2277 directory of the file doing the include. Remove code for this
2279 * tests/acloca13.test: Run distcheck and make sure all macros are
2280 actually distributed.
2282 2005-03-03 Alexandre Duret-Lutz <adl@gnu.org>
2284 For PR automake/450:
2285 * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
2287 * automake.in (scan_autoconf_traces): Likewise.
2288 * tests/sinclude.test: Augment.
2289 Report from Peter Breitenlohner.
2291 For PR automake/450:
2292 * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
2293 acinclude.m4 and configure.ac to the include map in these two
2295 (strip_redundant_includes): ... do it here. This completes the
2296 previous change from 2005-03-01, that did not update
2298 * tests/acloca19.test: Augment.
2299 Report from Peter Breitenlohner.
2301 2005-03-02 Alexandre Duret-Lutz <adl@gnu.org>
2303 * tests/comment9.test: Typo.
2305 2005-03-01 Alexandre Duret-Lutz <adl@gnu.org>
2307 * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
2308 * tests/comment9.test: New file.
2309 * tests/Makefile.am (TESTS): Add comment9.test.
2310 Report from Julien Sopena.
2312 For PR automake/450:
2313 * aclocal.in (trace_used_macros): Do not explicitly trace files
2314 included by configure.ac.
2315 * tests/acloca19.test: New file.
2316 * tests/Makefile.am (TESTS): Add acloca19.test.
2317 Report from Peter Breitenlohner.
2319 2005-02-27 Alexandre Duret-Lutz <adl@gnu.org>
2321 Fix for PR automake/448:
2322 * automake.in (handle_factored_dependencies): Flag install-hook as
2324 * tests/insthook.test: Exercise this.
2326 * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
2327 * doc/automake.texi (Hard-Coded Install Paths): Adjust.
2329 * doc/automake.texi: Replace many uses of @samp by @code, and
2330 vice versa. Use @command, @option, and @env where appropriate.
2332 2005-02-26 Alexandre Duret-Lutz <adl@gnu.org>
2334 * doc/automake.texi: "filename" -> "file name", for consistency
2335 with GNU Coding Standards. See also Paul's change on 2004-08-20
2338 * doc/automake.texi (A Library, Libtool Libraries): Show how to link
2339 a program with a static or libtool library.
2340 (Program and Library Variables): Make clearer that _LDADD and
2341 _LIBADD may also list libraries.
2342 Prompted by a mail from Bruce Korb.
2344 * doc/automake.texi (Alternative): Show how to rewrite nobase_
2345 variables using custom directory variables, and link to node
2346 Uniform. Suggested by Leonardo Boiko.
2348 * doc/automake.texi (Flag Variables Ordering, User Variables):
2349 Make clearer who the maintainer is, and that he can AC_SUBST AM_
2350 variables in configure.ac. Suggested by Norman Gray.
2351 (Uniform, Public macros, Libtool Issues, Java Support,
2352 Conditionals): Use `---' for em dash, and stick them to the
2355 * doc/automake.texi: Reword a few sentences to fix all underflow
2356 and overflow warnings during `make dvi'.
2357 (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
2358 (Public macros) <AM_WITH_DMALLOC>: Likewise.
2360 2005-02-12 Alexandre Duret-Lutz <adl@gnu.org>
2362 * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
2363 lib/texinfo.tex: New upstream versions.
2365 * doc/automake.texi (Hard-Coded Install Paths): New node.
2366 (Extending, Extending aclocal, Python): Link to it.
2367 (Extending): Don't show how to install a file in /etc/ directly,
2370 * automake.in (read_am_file): Define variables containing long
2371 lines as VAR_PRETTY to work around tools with limited input width.
2372 * tests/longlin2.test: New file.
2373 * tests/Makefile.am (TESTS): Add it.
2374 Report from Albert Chin.
2376 2005-02-09 Alexandre Duret-Lutz <adl@gnu.org>
2378 Fix for PR automake/447:
2379 * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
2380 Report from Mathias Doreille. Add some old comments from
2381 Nicolas Joly for reference.
2383 2005-02-08 Stepan Kasal <kasal@ucw.cz>
2385 * lib/mdate-sh: Check the size of the word following the month to
2386 catch Darwin. This way the filename can contain spaces.
2388 * doc/automake.texi (Requirements, Options): Typos.
2390 2005-02-08 Alexandre Duret-Lutz <adl@gnu.org>
2392 * lib/missing (makeinfo): Compute the output file if neither -o
2393 nor @setfilename is used.
2394 Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
2396 2005-02-07 Alexandre Duret-Lutz <adl@gnu.org>
2398 * doc/automake.texi (Requirements): Show one example of
2399 AC_CONFIG_FILES with multiple outputs, and correct a few typos.
2401 * aclocal.in ($serial_line_rx): Expect at least one space between
2402 `serial' and the following number.
2403 Report from Jim Meyering.
2405 * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
2406 Report from Peter O'Gorman.
2408 2005-02-06 Alexandre Duret-Lutz <adl@gnu.org>
2410 * aclocal.in (usage, parse_arguments): New --dry-run and --diff
2412 (install_file, write_aclocal): Honor --dry-run and --diff.
2413 * doc/automake.texi (aclocal options): Document --dry-run and --diff.
2414 (Serials): Mention --diff.
2415 * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
2416 $expected_exit_code argument.
2417 (xsystem): Take a list of arguments, not a string.
2418 * tests/acloca18.test: Use --dry-run and --diff.
2419 Suggested by Paul Eggert.
2421 * doc/automake.texi (aclocal options, Macro search path,
2422 Extending aclocal, Local Macros, Serials, Future of aclocal): Make
2423 these subsection of ...
2424 (Invoking aclocal): ... this.
2426 * aclocal.in ($serial_line_rx): Allow trailing garbage after the
2428 (scan_file): Explicitly mark the "ill-formed serial" message
2430 * doc/automake.texi (aclocal options, Local Macros): Link to...
2431 (Serials): ... this new section.
2433 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
2435 * lib/compile: Likewise.
2437 2005-02-02 Alexandre Duret-Lutz <adl@gnu.org>
2439 * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
2441 * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
2442 status if a write failure occurs with --help or --version option,
2445 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
2447 * lib/depcomp: Exit with nonzero status if a write failure occurs
2448 with --help or --version option.
2449 * lib/elisp-comp: Likewise.
2450 * lib/gnupload: Likewise.
2451 * lib/install-sh: Likewise.
2452 * lib/missing: Likewise.
2453 * lib/mkinstalldirs: Likewise.
2455 2005-02-01 Alexandre Duret-Lutz <adl@gnu.org>
2457 * doc/automake.texi (aclocal options): Typo.
2459 * aclocal.in (list_compare): New functions.
2460 (scan_file): Honor #serial lines.
2461 * tests/acloca18.test: New test.
2462 * tests/Makefile.am (TESTS): Add it.
2463 * doc/automake.texi (aclocal options, Local Macros): Document
2466 2005-01-30 Alexandre Duret-Lutz <adl@gnu.org>
2468 Preliminary support for `aclocal --install'.
2469 This still lacks #serial support.
2470 * aclocal.in (reset_maps, install_file): New functions.
2471 (write_aclocal): Copy files if --install.
2472 (usage, parse_arguments): Recognize --install.
2473 ("MAIN"): Start aclocal again if some file were installed.
2474 * tests/acloca10.test: Augment to test --install.
2475 * tests/aclocal.in, tests/defs.in: Add support for
2476 ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
2477 * doc/automake.texi (aclocal options, Local Macros): Document
2479 (Future of aclocal): Adjust.
2481 * doc/automake.texi (Macro search path): Using --acdir is not
2482 obvious, it's erroneous.
2484 * doc/automake.texi (direntry): Let `info Automake' point to the
2485 manual, and `info automake' to the `Invoking automake' node. Like
2488 2005-01-27 Akim Demaille <akim@epita.fr>
2490 * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
2493 2005-01-24 Akim Demaille <akim@epita.fr>
2495 * lib/Automake/FileUtils.pm: Rename filename as file_name to be
2496 consistent with the terminology of the GNU coding standards.
2498 (update_file): Accept a $force argument, so that --force always
2499 updates the time stamps.
2501 2005-01-23 Alexandre Duret-Lutz <adl@gnu.org>
2503 * doc/automake.texi (How the Linker is Chosen): Explain how the
2504 linker is chosen without diagram, and update to match the code.
2505 Suggestion from Adrian Bunk.
2507 2005-01-16 Alexandre Duret-Lutz <adl@gnu.org>
2509 * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
2510 Process all words of $MAKEFLAGS when checking for -k.
2511 * tests/check4.test: New file.
2512 * tests/Makefile.am (TESTS): Add check4.test.
2513 Report from Eric Blake.
2515 2005-01-13 Alexandre Duret-Lutz <adl@gnu.org>
2517 * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
2518 AM_INIT_AUTOMAKE if the version passed is incorrect.
2519 * tests/version8.test: New file.
2520 * tests/Makefile.am (TESTS): Add version8.test.
2522 2005-01-09 Alexandre Duret-Lutz <adl@gnu.org>
2524 * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
2525 m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
2526 m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
2527 m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
2528 m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
2529 m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
2530 m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
2531 m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
2532 license that is used in aclocal.m4. Relicensing backed by RMS.
2534 * doc/automake.texi (A Library, LIBOBJS): Mention that empty
2535 libraries are not portable.
2537 2005-01-05 Akim Demaille <akim@epita.fr>
2539 * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
2540 * tests/aclocal5.test (MORE_DEFS): Rename as...
2541 (AM_TEST): this so that undefined macros are caught.
2542 And make it an alias of AC_SUBST.
2544 Reported by Martin Bravenboer.
2546 2005-01-03 Alexandre Duret-Lutz <adl@gnu.org>
2548 Fix handling of per-target flags in link rules.
2549 * automake.in (define_per_target_linker_variable): New function.
2550 (handle_programs, handle_ltlibraries): Use it.
2551 (%link_languages): New map.
2552 (register_language): Fill it.
2553 * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
2554 $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
2555 define_per_target_linker_variable if needed.
2556 * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
2557 $(%XPROGRAM%_LDFLAGS).
2558 * doc/automake.texi (Program and Library Variables): Mention
2559 AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
2560 and maude_LIBTOOLFLAGS.
2561 * tests/libtool9.test: New file.
2562 * tests/Makefile.am (TESTS): Add it.
2563 * NEWS: Explain the backward incompatibility.
2564 Report from Akim Demaille.
2566 2005-01-01 Alexandre Duret-Lutz <adl@gnu.org>
2568 * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
2569 specifications with shell variables.
2570 (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
2571 AC_CONFIG_FILES for this explanation.
2572 * automake.in (substitute_ac_subst_variables_worker,
2573 substitute_ac_subst_variables): Mew functions.
2574 (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
2575 to ignore dependencies that contain unAC_SUBSTed shell variables.
2576 (handle_configure): Likewise, do not output rules for
2577 AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
2578 unAC_SUBSTed contain shell variables.
2579 * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
2580 * tests/output11.test, tests/output12.test: New files.
2581 * tests/Makefile.am (TESTS): Add output11.test and output12.test.
2583 * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
2584 * automake.in ($gen_copyright, version): Likewise.
2588 Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2590 Copying and distribution of this file, with or without modification, are
2591 permitted provided the copyright notice and this notice are preserved.