1 2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 Improve NetBSD 'make -n' output for many standard targets.
4 * automake.in (handle_tags): Let .MAKE depend on
5 `tags-recursive' and `ctags-recursive' if appropriate.
6 (handle_all): Likewise for `all'.
7 (do_check_merge_target): Likewise for `check-am' and `check'.
8 * lib/am/ansi2knr.am (.MAKE): Depend on %ANSI2KNR-DIR%/ansi2knr.
9 * lib/am/install.am [%?maybe_BUILT_SOURCES%] (.MAKE): Depend on
11 * tests/maken3.test, tests/maken4.test: New tests.
12 * tests/Makefile.am: Update.
14 Improve `make -n dist' and `make -n distcheck' for GNU make.
15 Ensure that `make -n dist' and `make -n distcheck' do not change
16 files, due to GNU make executing rules containing `$(MAKE)'.
17 * lib/am/distdir.am (distdir): Separate the creation of
18 `$(distdir)/$$subdir' for `$(DIST_SUBDIRS)' and the recursion
19 into the `$(DIST_SUBDIRS)' in two separate rule commands.
20 (distcheck): Exit recursive rule early when run with `make -n',
21 as detected by a witness file.
22 * tests/maken.test, tests/maken2.test: New tests.
23 * tests/Makefile.am: Update.
26 2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
28 Solaris make testsuite fixes.
29 * tests/check10.test: When a rule fails, Solaris make will
30 output the complete command that failed; in this case the test
31 suite driver. Adjust the test to not bogusly match lines from
32 the driver, rather than its output.
33 * tests/distcleancheck.test: Avoid triggering VPATH rewriting,
34 not desirable in this test.
35 * tests/specflg10.test: Use BUILT_SOURCES to specify an
36 intermediate target, so Solaris make knows what to do.
38 testsuite: SKIP compile tests if configure found no compiler.
39 * tests/depend6.test: configure will exit 77 if AC_PROG_CC found
40 no working compiler. Allow the test to be SKIPped in that case.
41 * tests/postproc.test: Likewise.
42 * tests/pr243.test: Likewise.
43 * tests/pr266.test: Likewise.
45 Fix maintainer-check fallout.
46 * tests/compile2.test: Use `Exit', not `exit'.
48 2009-03-07 Peter Breitenlohner <peb@mppmu.mpg.de>
49 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
51 Extract correct man section from files in man_MANS.
52 * lib/am/mans.am: Extract correct man section in the presence of
53 multiple dots in the file base name and/or directory components.
54 * tests/man5.test: New test case.
55 * tests/Makefile.am: Update.
57 2009-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
59 * doc/automake.texi (maintainer-mode): Fix logic in
60 AM_MAINTAINER_MODE description.
62 Report by Daniel Kahn Gillmor.
64 2009-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
66 * lib/gnupload: Change conffile name to `.gnuploadrc'.
68 2009-03-04 William Pursell <bill.pursell@gmail.com>
70 Replace bare `automake' with `@command{automake}' or `Automake'.
71 * doc/automake.texi: Avoid bare `automake' in the manual,
72 replacing occurrences with `@command{automake}' when the command
73 is meant, and `Automake' when speaking about the software
76 2009-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
78 * lib/depcomp: Various portability and quoting nits.
80 reformat gnupload script.
81 * lib/gnupload: Reformat and reindent.
84 * lib/gnupload (conffile): New variable. Use throughout.
85 (dry_run): Use `false' and `:' values. Show, don't execute,
86 gpg signing commands upon --dry-run.
87 (usage): Typo and formatting fixes. Mention that commands are
89 (argument loop): Factorize a bit, fix quoting.
90 (dprint, mkdirective, mksymlink, upload): Formatting and
93 2009-03-04 Sergey Poznyakoff <gray@gnu.org>
95 Various gnupload improvements.
96 Add support for uploading to download.gnu.org.ua.
97 Add support for a .gnupload configuration file.
98 Support creating and removing symlinks.
99 Allow for several operations in a single invocation.
100 Add debugging features.
101 * lib/gnupload: New options --delete, --symlink, --rmsymlink,
102 --symlink-regex, --dry-run; support `--' to separate options and
103 commands from files. New target download.gnu.org.ua. Expand
104 `.gnupload' file contents before command line arguments.
106 (dprint, mkdirective, mksymlink, upload): New functions.
109 2009-03-03 Peter Rosin <peda@lysator.liu.se>
111 Add depmode=msvcmsys for Microsoft Visual C++ on MSYS.
112 * lib/depcomp [msvisualcpp]: Fork fewer processes. Filter out
113 libtool in the preprocessor invocation (as is done in
114 depmode=cpp). Silence compiler stderr.
115 [msvcmsys]: New depmode as a derivative of depmode=msvisualcpp.
116 msvcmsys transforms any backslashes into forward slashes to
117 make the grep in depend.m4 match, instead of the "cygpath -u"
118 that is used in msvisualcpp.
120 2009-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
121 Peter Rosin <peda@lysator.liu.se>
123 Fix w32 path handling in the `compile' script.
124 * lib/compile: Handle colons and backslashes in win32 paths.
125 * tests/compile2.test: New test.
126 * tests/Makefile.am: Update.
127 Report and initial patch by Peter Rosin.
129 2009-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
131 Fix `use constant' usage for MSYS Perl 5.6.0.
132 * automake.in (QUEUE_MESSAGE, QUEUE_CONF_FILE, QUEUE_LOCATION)
133 (QUEUE_STRING): Define using one `use constant' each; as perl
134 5.6.0 (on MSYS) does not understand `use constant { ... }'.
136 Report by Peter Rosin.
138 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
140 Fix recursive html and install-* doc rules for BSD make.
141 * automake.in (%required_targets): Add html-am,
142 install-html-am, install-dvi-am, install-pdf-am, install-ps-am,
144 * tests/txinfo32.test: New test.
145 * tests/Makefile.am: Update.
148 * lib/am/distdir.am (distcheck): Fix typo in comment.
150 Ignore generated files below doc/amhello for git.
151 * doc/amhello/.gitignore: New file.
153 2009-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
155 * doc/automake.texi (Program variables): Add cross reference to
156 `Flag Variables Ordering' node.
157 Report by Karl Berry.
159 2009-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
161 Fix mmodely.test to work on Solaris 10.
162 * tests/mmodely.test: Define yylex, to satisfy needed symbol in
163 libfl. Return from main instead of using exit, undeclared.
165 Report by Chris Hoogendyk.
167 2009-01-30 Karl Berry <karl@freefriends.org>
169 * lib/gnupload: Add download URL to --help output.
171 2009-01-23 Eric Blake <ebb9@byu.net>
173 Use no-arg macros via AC_REQUIRE for consistency.
174 * m4/init.m4 (AM_INIT_AUTOMAKE): Require, rather than directly
175 expand, AM_PROG_INSTALL_SH and AM_PROG_INSTALL_STRIP.
176 * configure: Regenerate.
178 2009-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
180 Bump copyright years.
181 * aclocal.in (write_aclocal, version): Bump copyright years.
182 * automake.in (gen_copyright, version): Likewise.
183 * doc/automake.texi: Likewise.
185 2008-12-29 Chris Pickett <chris.pickett@mail.mcgill.ca> (tiny change)
187 * doc/automake.texi (LIBOBJS): Clarify overriding of
191 2008-12-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
193 Revamp semantics for `missing help2man' and manpage distribution.
194 Previously, `missing help2man' would create a missing man page
195 containing an error message, and exit 1. This does not play
196 well with `make': the next run will see this particular man page
197 as being up to date, and will only error out on the next
198 generated man page, if any; repeat until all pages are done.
199 This patch changes `missing' to exit successfully in this case,
200 but `make dist' will ensure that no such man pages are packaged.
201 * lib/missing: Exit successfully even if we create a replacement
202 page due to missing help2man.
203 * automake.in (make_paragraphs): Define %HAVE-MANS% to be true
204 if this makefile deals with man pages.
205 * lib/am/distdir.am (distdir): If %INSTALL-MAN% and %HAVE-MANS%,
206 check that no man page in $(MANS) contains the replacement text
208 * tests/man4.test: New test.
209 * tests/Makefile.am: Update.
210 * NEWS: Reorder a bit, update.
212 Report by Werner Lemberg and Karl Berry.
214 Do not use 'global' for makefile-wide settings.
215 * doc/automake.texi (Linking, Libtool Flags)
216 (Program and Library Variables, Flag Variables Ordering):
217 Reword instances of `global variables' that really mean
220 Report by Andreas Bergmeier.
222 Fix config.status depfiles failure.
223 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Commands are
224 again a single shell brace group, so they are correctly skipped
225 when dependencies are turned off. The failure is noisy with
227 * tests/depend6.test: New test.
228 * tests/Makefile.am: Adjust.
230 Report and different suggested patch by Markus Duft.
232 2008-12-21 Zoltan Rado <z.rado@chello.hu> (tiny change)
234 * doc/automake.texi (DESTDIR): Fix a couple of typos.
237 2008-12-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
239 Fix nonportable sed script in 'missing'.
240 * lib/missing: In sed script, do not use ';' after 't' commands.
242 2008-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
245 * doc/automake.texi (amhello Explained)
246 (Mixing Fortran 77 With C and C++): Fix broken links to
248 Report by Michael Ploujnikov.
250 2008-12-07 Michael Ploujnikov <ploujj@gmail.com> (tiny change)
252 * doc/automake.texi (Optional, Future of aclocal): Various
253 spelling and grammar fixes.
256 2008-12-03 William Pursell <bill.pursell@gmail.com>
258 Simple typographical and grammar errors in automake.texi.
259 * doc/automake.texi: Fix object/article consistency (eg "an
260 flag" becomes "a flag"), correct minor punctuation errors, etc.
262 * doc/automake.texi (Auxiliary Programs, Python, Rebuilding):
263 Replace 'configure' with '@command{configure}' as appropriate.
265 2008-11-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
268 * Makefile.am (cvs-diff): Remove.
269 (git-dist): Do not use clcommit any more. Use new-style tag
270 name. Pass $(AM_MAKEFLAGS) to $(MAKE).
272 (git-release): Do not upload to sources.redhat.com.
274 2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
276 Fix portability issues in distcleancheck_listfiles doc example.
277 * doc/automake.texi (Dist): In the `distcleancheck_listfiles'
278 code example, add `.' path, for Solaris `find', also rewrite so
279 `{}' appears only once and as separate argument, for Posix.
280 * tests/distcleancheck.test: New test.
281 * tests/Makefile.am: Update.
283 Report by Jan Engelhardt and Andreas Schwab.
285 2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
286 Jim Meyering <jim@meyering.net>
288 Cope with whitespace in $MISSING and $install_sh.
289 * configure.ac (am_AUTOHEADER): New substitution, save the value
290 of $AUTOHEADER before AM_INIT_AUTOMAKE may add $MISSING.
291 * tests/defs.in: Use am_AUTOHEADER.
292 * lib/am/install.am: Fix typo.
293 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): Add suitable
294 single-quote quoting to install_sh, but only if needed.
295 * m4/missing.m4 (AM_MISSING_HAS_RUN): Add suitable double-quote
296 quoting to MISSING, but only if needed.
297 * m4/sanity.m4 (AM_SANITY_CHECK): Abort configure if `pwd` or
298 $srcdir contain shell meta-characters that cannot be handled;
299 space and tab are allowed in the former only.
300 * tests/sanity.test: New test.
301 * tests/Makefile.am: Adjust.
303 Reports by Jim Meyering and others.
305 2008-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
307 Let `missing' also work with versioned and prefixed programs.
308 * lib/missing: Ignore prefixes of `gnu-', `gnu', and `g' when
309 testing for known programs; also, ignore suffixes.
310 * tests/missing.test: Amend test.
311 * NEWS, THANKS: Update.
314 2008-11-23 William Pursell <bill.pursell@gmail.com>
316 * doc/automake.texi (Macro search path, Extending aclocal)
317 (Local Macros, Serials, Public macros, Directories)
318 (Conditional Subdirectories, Nesting Packages)
319 (Building a program, Libtool Modules)
320 (Program and Library Variables, Default _SOURCES, LIBOBJS):
321 Correct verb/object tense agreement, swap some words,
322 and general trivial cleanup.
324 2008-11-22 William Pursell <bill.pursell@gmail.com>
325 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
327 * doc/automake.texi (VPATH Builds, Nested Packages)
328 (Length limitations, Auxiliary Programs, Invoking Automake)
329 (Requirements, Optional): Fix typos and grammaros, correct URL
330 to 'config' source repository. Rewrite description of AC_SUBST.
331 (true): Cross-reference to `Default _SOURCES' node.
333 2008-11-22 William Pursell <bill.pursell@gmail.com>
335 * configure.ac: Quote APIVERSION.
337 2008-11-22 Jim Meyering <meyering@redhat.com>
339 * tests/xz.test: Fix typo introduced by Ralf in last patch.
341 Add xz compression support.
342 * NEWS: Mention xz as well as lzma (xz will displace lzma).
343 * automake.in (handle_dist): Recognize dist-xz.
344 (make_paragraphs): Map XZ to dist-xz.
345 * doc/automake.texi (Dist): Add dist-xz.
347 * lib/Automake/Options.pm (_process_option_list): Accept
349 * lib/am/distdir.am (dist-xz): New rule.
350 (dist dist-all): Add command to create an xz-compressed tarball.
351 (distcheck): Handle xz-compressed tarballs just like the others.
352 * tests/xz.test: New file, based on nogzip.test.
353 * tests/Makefile.am (TESTS): Add xz.test.
355 2008-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
357 When installing COPYING, recommend adding the file to VCS.
358 * automake.in (require_file_internal): If installing `COPYING',
359 mention that we install the GPLv3 file and recommend adding the
360 file to version control.
361 * doc/automake.texi (Invoking Automake): Point to `Gnits' node
363 (Gnits): Clarify semantics: that for strictness gnu or higher,
364 INSTALL is installed, and that COPYING is installed as GPLv3
365 if no COPYING file exists.
366 * tests/license2.test: New test.
367 * tests/Makefile.am: Update.
368 * NEWS, THANKS: Update.
369 Report by Brian Cameron.
371 2008-11-20 William Pursell <bill.pursell@gmail.com>
373 * doc/automake.texi (Timeline): Fix typos and grammaros.
375 2008-11-12 Karl Berry <karl@freefriends.org>
377 New gnupload option --delete to remove archive files.
378 * lib/gnupload: Accept --delete to remove files from
379 alpha.gnu.org or ftp.gnu.org.
381 2008-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
383 Testsuite fixes for ksh.
384 * tests/check10.test: Add ':' as last command in subshell, for
385 zero exit status of the subshell.
386 * tests/parallel-am.test: Do not let failing 'unset' of
387 nonexistent variable exit the test.
388 * tests/parallel-am2.test: Likewise.
389 * tests/parallel-am3.test: Likewise.
391 2008-11-11 Charles Wilson <libtool@cwilson.fastmail.fm> (tiny change)
392 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
394 Cleanup config.lt in case LT_OUTPUT is in use.
395 * lib/am/libtool.am [TOPDIR_P] (distclean-libtool): clean up
396 config.lt as well as libtool.
397 * tests/libtoo11.test: New test.
398 * tests/Makefile.am: Update.
401 2008-11-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
403 * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub,
404 lib/texinfo.tex: Sync from upstream.
406 2008-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
409 * doc/fdl.texi: Update to GFDL 1.3.
410 * doc/automake.texi (GNU Free Documentation License): Adjust.
414 * automake.in: Fix typos in comments. Remove extraneous
417 2008-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
419 Cope with absent Perl modules threads and Thread::Queue.
420 * automake.in: Instead of `use threads', use `require threads;
421 import threads' inside a BEGIN section. Likewise for
423 * lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Likewise.
424 * lib/Automake/tests/Condition-t.pl: Likewise.
425 * lib/Automake/tests/DisjConditions-t.pl: Likewise.
426 * configure.ac: Likewise, use `require' and `import'.
427 Report by Eric Blake, fix suggested by Ben Pfaff.
429 2008-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
431 Multiple 'make uninstall' should not fail even for TEXINFOS.
432 * lib/am/texinfos.am (uninstall-info-am): Do not fail due to
433 install-info if the installed file does not exist (any more).
434 * tests/txinfo26.test: Issue multiple `make uninstall'.
435 * tests/instmany-mans.test: Likewise.
436 * tests/instmany-python.test: Likewise.
437 * tests/instmany.test: Likewise.
438 * tests/txinfo26.test: Likewise.
441 2008-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
443 New public macro AM_SUBST_NOTMAKE.
444 * m4/substnot.m4 (AM_SUBST_NOTMAKE): New public macro; invoke
445 _AM_SUBST_NOTMAKE with arguments.
446 * doc/automake.texi (Optional): Document it.
448 * tests/subst4.test: New test.
449 * tests/Makefile.am: Update.
450 Suggestion by Bruno Haible.
452 Fix regression introduced by AM_DEFAULT_SOURCE_EXT.
453 * automake.in (handle_source_transform): Use the right variable
454 when determining whether to apply the old rule for the libtool
455 library default source name.
456 Testsuite failure exposed by Bob Proulx' build daemon.
458 2008-11-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
460 New maintainer target release-stats.
461 * Makefile.am (release-stats): New target, to help computing the
462 entries in the statistics table in automake.texi.
463 * doc/automake.texi (Releases): Reformat a bit. Add number of
464 generated files. Add entry for 1.10.1.
466 Choose default source extension: AM_DEFAULT_SOURCE_EXT.
467 * automake.in (handle_source_transform): Accept unconditional
468 literal extension in AM_DEFAULT_SOURCE_EXT as override for the
469 default source extension `.c'. If set, ignore the old default
470 source rule for libtool libraries.
471 * doc/automake.texi (Default _SOURCES): Document this.
473 * tests/specflg10.test: New test.
474 * tests/Makefile.am: Update.
475 Suggestion by Akim Demaille.
477 Fix maintainer-check failure.
478 * tests/parallel-am.test: Rename variable to not match pattern
479 used in maintainer-check.
481 2008-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
484 Spotted by Jim Meyering.
486 2008-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
488 Parallel automake --add-missing: serialized file installs.
489 * automake.in (QUEUE_CONF_FILE, QUEUE_LOCATION, QUEUE_STRING):
490 New serialization keys.
491 ($required_conf_file_queue): New file global.
492 (queue_required_conf_file, require_queued_conf_file): New
493 functions, to queue and dequeue requirements for aux dir files.
494 (require_conf_file): Enqueue if needed.
495 (get_number_of_threads): Can do threads with --add-missing now.
496 (handle_makefiles_threaded): Let worker threads enqueue, let
497 master attend to queued requirements at the right time.
498 * tests/parallel-am.test: Explain the purpose of the include
500 * tests/parallel-am2.test: Also cope with --add-missing.
501 * tests/parallel-am3.test: New test, test absence of races with
502 concurrent same-file installs stemming from --add-missing.
503 * tests/Makefile.am: Adjust.
505 Implement serialization for Locations.
506 * lib/Automake/Location.pm (serialize, deserialize): New
507 functions. They allows to serialize a Location in an array, and
508 to restore a Location from a thread queue. The API is
509 unsymmetric (array vs. queue) because enqueuing data needs to
512 Parallel automake: ordered output messages.
513 * lib/Automake/Channels.pm (%_default_options): New options
514 `ordered' default enabled, `queue', default zero (no queue),
515 `queue_key' default undefined.
516 (_merge_options): Ensure `ordered' channels cannot have fatal
517 messages or backtrace output.
518 (_enqueue, _dequeue): New functions, to push messages onto a
519 Thread::Queue, and output messages from such a queue, suitably
520 weeded for duplicates in the same manner as _print_message.
521 (_print_message): If the channel is ordered and has an
522 associated queue, then enqueue messages instead of printing
524 (setup_channel_queue, pop_channel_queue): New functions,
525 to set a Thread::Queue for channels, and to flush a queue.
526 * lib/Automake/ChannelDefs.pm: Unset channel option `ordered'
527 for fatal, automake, and verb channels.
528 * automake.in (QUEUE_MESSAGE): New global constant, used as
530 (handle_makefiles_threaded): Create message queues for each
531 input file; workers queue messages, and the master outputs them
532 ordered, using the new Channels.pm functions.
533 * tests/parallel-am.test: Also check for ordered output (in the
534 absence of --add-missing races).
535 * tests/parallel-am2.test: New test; check for ordered output of
536 warning and (regular) error messages.
537 * tests/Makefile.am: Adjust.
539 Parallel automake execution: AUTOMAKE_JOBS.
540 * lib/Automake/Config.in (perl_threads): New global.
541 * automake.in: Use it. If the perl supports interpreter-based
542 threading, then use `threads' and `Thread::Queue'.
543 (handle_makefile, handle_makefiles_serial): New functions,
544 factored out from main.
545 (get_number_of_threads): New function, compute number of threads
546 to use, based on environment variable `AUTOMAKE_JOBS' and number
547 of independent makefiles.
548 (handle_makefiles_threaded): New function. Spawn threads, use
549 thread queue to distribute handling the different makefiles.
550 Collect $exit_code values from threads.
551 (main): Use new functions.
552 * aclocal.in: No threads here.
553 * configure.ac: Substitute PERL_THREADS; enabled with perl >=
554 5.7.2 and when ithreads are available.
555 * bootstrap (dosubst): Likewise.
556 * Makefile.am (do_subst): Likewise.
557 * lib/Automake/Makefile.am (do_subst): Likewise.
558 * lib/Automake/ChannelDefs.pm: Use `Automake::Config' and
560 (verb): Prepend thread ID (tid) to verbose messages.
561 * lib/Automake/Channels.pm (msg): Before exiting, flush stderr,
562 needed for worker threads.
563 * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Also
564 include the build tree path, so Config.pm is found.
565 * tests/parallel-am.test: New test.
566 * tests/Makefile.am: Update.
567 * doc/automake.texi (Invoking Automake): Document AUTOMAKE_JOBS.
568 * NEWS, THANKS: Update.
569 Report about long execution times by Joakim Tjernlund and others.
571 2008-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
573 Minor file checking optimization: set_dir_cache_file.
574 * lib/Automake/FileUtils.pm (set_dir_cache_file): New function.
575 * automake.in (require_file_internal): Instead of resetting the
576 cache when a file has been installed, simply correct the cache
577 using set_dir_cache_file.
579 No uniquifying for fatal, prog_error, and verbose messages.
580 There is no point in dropping critical messages, even if they
581 are duplicates (unlikely to happen unless they have been sent
582 as non-critical messages before), and verbose messages should
583 enable to show progress, even using duplicate statements.
584 * lib/Automake/ChannelDefs.pm (fatal, automake, verb): Set
585 `uniq_part' to `UP_NONE' when registering these channels.
587 Fix 'config.status --file=... depfiles' with new Autoconf.
588 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Eval
589 $CONFIG_STATUS contents if we detect the quoting used by
590 Autoconf 2.62 and newer for --file=.
591 * tests/depend5.test: New test.
592 * tests/Makefile.am: Update.
593 * NEWS, THANKS: Update.
594 Report by Sam Steingold against gnulib.
596 2008-10-26 Johan Dahlin <jdahlin@async.com.br>
598 Support for Python 3.0, drop support for pre-2.0.
599 * lib/py-compile: Do not import string; use sys.stdout.write
600 instead of print, files.split instead of string.split.
601 * m4/python.m4 (AM_PATH_PYTHON): Also look for python3 and
602 phython3.0; do not look for python1.5. Use sys.stdout.write.
603 (AM_PYTHON_CHECK_VERSION): Do not use string; adjust to xrange
604 removal in Python 3.0, and changed semantics of map.
605 * doc/automake.texi (Python, Hard-Coded Install Paths): Update
606 Python versions mentioned in the manual, using 2.5 everywhere.
607 * NEWS, THANKS: Update.
609 2008-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
611 * lib/Automake/Channels.pm (@chain): Drop unused variable.
613 Cleanup of per-input global variables in automake.in.
614 * automake.in ($output_vars, $output_all, $output_header)
615 ($output_rules, $output_trailer): Fix comment, and sort
616 declarations in the order they will appear in the output.
617 ($all_target): Unused variable, remove.
618 (Variables not reset by &initialize_per_input.): New section,
619 clarify that %am_file_cache is not reset.
620 (initialize_per_input): Reset $am_file_name, $am_relative_dir,
621 $in_file_name, $relative_dir, and $topsrcdir to `undef' rather
622 than the empty string; $topsrcdir was not reset at all. Sort
623 remaining variables in the same order as in the section
624 `Variables reset by &initialize_per_input'.
626 Let stderr output end up on fd 2 in testsuite.
627 * tests/defs.in (AUTOMAKE_run): Output recorded stderr on file
629 * tests/getopt.test: Fix erroneous multiple redirection,
630 uncovered by above change.
632 2008-10-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
634 Fix DisjConditions module to be thread-safe for perl >= 5.7.2.
635 Self-hashes of blessed references are not correctly transported
636 through thread creation. This patch fixes that by recreating
637 the hashes upon thread creation with a CLONE special subroutine,
638 which is automatically invoked by new enough Perl versions.
639 * lib/Automake/DisjConditions.pm (CLONE): New special
640 subroutine to fix self hashes upon thread creation.
641 * lib/Automake/tests/Condition-t.pl: New, sister test to
642 Condition.pl, but spawns a new threads after each creation of a
643 new condition; skip test if perl is too old or ithreads are not
645 * lib/Automake/tests/DisjConditions-t.pl: Likewise.
646 * lib/Automake/tests/Makefile.am (TESTS): Add them.
648 2008-10-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
651 * automake.in (require_file_internal): Fix typos in comments.
652 * m4/amversion.in: Likewise.
653 * lib/Automake/Variable.pm: Likewise.
654 * lib/Automake/XFile.pm: Likewise.
656 Diagnose unsupported uses of `backname' helper function.
657 * automake.in (backname): Error out if the path points outside
658 the directory it started in.
660 2008-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
662 Nicer 'make dist' output.
663 * lib/am/distdir.am (distdir): Hide the complex script
664 used for computing the relative subdirs; echo the sub-make
667 2008-10-12 William Pursell <bill.pursell@gmail.com> (tiny patch)
669 * tests/defs.in: Fix comment typo.
671 2008-10-12 William Pursell <bill.pursell@gmail.com>
672 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
674 Fix grammar w.r.t. plurals in test reports.
675 * lib/am/check.am: Fix singular/plural forms in test reports.
676 * tests/check10.test: New test.
677 * tests/Makefile.am: Update.
679 2008-10-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
681 Require texi2dvi in tests, makeinfo may not be enough.
682 * tests/txinfo16.test: RHEL 5.2 has makeinfo and texi2dvi in
683 separate packages, so also list the latter as required, as the
684 test generates DVI and/or PDF output (through distcheck).
685 * tests/txinfo18.test: Likewise.
686 * tests/txinfo21.test: Likewise.
687 * tests/txinfo22.test: Likewise.
688 * tests/txinfo3.test: Likewise.
689 * tests/version7.test: Likewise.
691 Report by Alexander Martens.
693 Fix bootstrap to remove read-only directories right.
694 * bootstrap: Remove automake-$APIVERSION correctly.
696 2008-10-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
698 Improve test coverage of current TESTS semantics.
699 * tests/check8.test: New test, for subdir tests and setting of
701 * tests/check9.test: New test, check @substituted@ TESTS.
702 * tests/Makefile.am: Update.
704 2008-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
706 * m4/minuso.m4 (AM_PROG_CC_C_O): Work around shell quoting issue
707 with AIX sh; fixes depcomp6.test failure.
708 * NEWS, THANKS: Update.
709 Report by Rainer Tammer.
711 Print captured output before failing.
712 * tests/acloca14.test, tests/acloca17.test, tests/acloca18.test,
713 tests/aclocal.test, tests/acsilent.test, tests/alpha.test,
714 tests/check4.test, tests/color.test, tests/fn99.test,
715 tests/fn99subdir.test, tests/help.test, tests/init.test,
716 tests/lisp8.test, tests/missing3.test, tests/pr220.test,
717 tests/python11.test, tests/python4.test, tests/python5.test,
718 tests/unused.test, tests/version8.test: When Exit is called
719 after a command that has stdout or stderr redirected to a file
720 for later inspection, output the file before failing the test.
722 Fix some comment typos.
723 * automake.in: Fix some comment typos.
724 * lib/Automake/Condition.pm: Likewise.
725 * lib/Automake/DisjConditions.pm: Likewise.
726 * lib/Automake/Variable.pm: Likewise.
727 * lib/Automake/tests/DisjConditions.pl: Likewise.
729 2008-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
731 * tests/aclibobj.test: Fix race condition.
733 2008-09-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
735 Fix man page creation without installed files.
736 * doc/Makefile.am (update_mans): Use wrappers in tests/
738 ($(srcdir)/aclocal-$(APIVERSION).1): Use versioned wrapper as
739 input program to help2man.
740 ($(srcdir)/automake-$(APIVERSION).1): Likewise.
741 Report by Eric Blake.
743 2008-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
745 Remove unneeded per-rule *INSTALL variables.
747 * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): Remove.
748 (install-%DIR%%PRIMARY%): Adjust.
749 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Remove.
750 (install-%DIR%LIBRARIES): Adjust.
751 * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): Remove.
752 (install-%DIR%LTLIBRARIES): Adjust.
753 * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): Remove.
754 (install-%DIR%PROGRAMS): Adjust.
755 * lib/am/python.am (%DIR%PYTHON_INSTALL): Remove.
756 (install-%DIR%PYTHON): Adjust.
757 * lib/am/scripts.am (%DIR%SCRIPT_INSTALL): Remove.
758 (install-%DIR%SCRIPTS): Adjust.
760 Compactify program rules using ternary operators.
761 * lib/am/progs.am (install-%DIR%PROGRAMS): Uglify^WCompactify
762 using ternary operators `%KEY?TRUE:FALSE%'.
763 (uninstall-%DIR%PROGRAMS): Likewise.
765 New doc section about command line length limits.
766 * doc/automake.texi (Length limitations): New node.
767 (Alternative): `nobase_' is not always equivalent to several
769 (Install): Mention multi-file install.
770 * NEWS: Expand on the issue, list some more user-visible
773 Install nobase_lib_LTLIBRARIES before bin_PROGRAMS.
774 * automake.in (generate_makefile): If nobase_lib_LTLIBRARIES are
775 used, add an ugly hack to install them before bin_PROGRAMS, just
776 like done with lib_LTLIBRARIES.
777 * tests/ltorder.test: Add program, to expose this.
779 Do not reorder nobase ltlib installation.
780 This patch changes back the order of installation of nobase
781 LTLIBRARIES to that in which files are listed in the variables.
782 It does not fix the issue of strict dependency ordering, as
783 implied by *_LIBADD, but as before allows to steer the order by
784 listing the libraries in nobase_*_LTLIBRARIES appropriately.
785 As an advantage over the state of 1.10, multiple consecutive
786 nobase libraries to be installed in the same directory are
787 passed to libtool in one invocation.
788 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES) [!%?BASE%]: Do not
789 reorder libraries upon installation. Remove spurious empty
791 * tests/ltorder.test: New test.
792 * tests/Makefile.am: Update.
794 Fix -rpath arguments for nobase_*_LTLIBRARIES.
795 * automake.in (handle_ltlibraries): New hash %instsubdirs to
796 track the dirname of nobase ltlibraries, and tack it onto the
797 end of the -rpath argument. Also, fix the warning about ltlibs
798 installed in multiple locations to fit a bit better.
799 * tests/pr300-ltlib.test: Expose this bug here.
800 * tests/ltinstloc.test: New test.
801 * tests/Makefile.am: Update.
804 Man pages for automake and aclocal.
805 * configure.ac (HELP2MAN): New substitution.
806 * doc/Makefile.am (dist_man1_MANS, MAINTAINERCLEANFILES)
807 (update_mans): New macros.
808 ($(srcdir)/aclocal-$(APIVERSION).1)
809 ($(srcdir)/automake-$(APIVERSION).1): New rules, generate
810 man pages from the command line help with help2man.
811 ($(srcdir)/aclocal.1, $(srcdir)/automake.1): New rules, for
812 `.so' man page links to the versioned pages.
815 2008-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
817 Faster install for libtool outputs.
818 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Invoke `libtool
819 --mode=install' with multiple libraries at once.
820 (%DIR%LTLIBRARIES_INSTALL): No need to use install_sh any more.
821 * lib/am/progs.am (install-%DIR%PROGRAMS): Likewise, remove much
822 of the libtool special-casing by invoking it for multiple
825 2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
827 Fast install and uninstall for SCRIPTS.
828 * lib/am/scripts.am [%?INSTALL%]: Include inst-vars.am
829 independent of `%?BASE%'.
830 (install-%DIR%SCRIPTS): Install multiple scripts at once,
831 using awk and a number of sed scripts.
832 (uninstall-%DIR%SCRIPTS): Compute the installed names, and
833 remove them, all at once.
834 (%DIR%SCRIPT_INSTALL) [!BASE]: No need to use install-sh any
837 Multi-file install for PROGRAMS.
838 * lib/am/progs.am (install-%DIR%PROGRAMS): Allow to install
839 several programs with one install invocation, when not using
840 libtool; employs some trickery to cater for nobase_, $(EXEEXT),
841 create needed directories, libtool, while only forking a
842 constant number of times in the fast path; uses awk and sed also
844 (%DIR%PROGRAMS_INSTALL) [!BASE]: No need to use install-sh any
847 Enhance cleaning of programs in libtool mode.
848 * lib/am/progs.am (clean-%DIR%PROGRAMS) [?LIBTOOL?]: Fork less
849 often, avoid removing programs twice if $(EXEEXT) is empty.
850 * tests/nobase-libtool.test: Also test PROGRAMS, in order to
851 exercise the code path.
853 Report by Toralf Förster.
855 2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
856 Jim Meyering <jim@meyering.net>
858 Reliable multi-file install for man pages.
859 * lib/am/mans.am: Include inst-vars.am.
860 (install-man%SECTION%): Gather lists of man pages to install,
861 and install up to 40 of those that do not have to be renamed
862 at once. Fail if installation of any file fails.
863 (uninstall-man%SECTION%): Rewrite to use fewer sed invocations.
864 * doc/automake.texi (Man pages): Hint the user to the fast path.
866 * tests/instmany-mans.test: New test.
867 * tests/Makefile.am: Update.
869 2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
871 Faster `make uninstall'; fast install for JAVA.
872 * lib/am/inst-vars.am (am__nobase_strip_setup)
873 (am__nobase_strip): New macros.
874 (am__nobase_list): Factorize.
875 * lib/am/data.am (uninstall-%DIR%%PRIMARY%): Use them, for a
876 constant number of forks per uninstall.
877 * lib/am/libs.am (uninstall-%DIR%LIBRARIES): Likewise.
878 * lib/am/lisp.am (uninstall-%DIR%LISP): Likewise.
879 * lib/am/progs.am (uninstall-%DIR%PROGRAMS): Fast uninstall.
880 * lib/am/python.am (uninstall-%DIR%PYTHON): Fast uninstall.
881 Echo all `rm' commands that are are executed.
882 * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA):
883 Fast install and uninstall.
885 AIX ranlib dislikes spaces in the argument.
886 * lib/am/libs.am (install-%DIR%LIBRARIES): Fix instsh.test
887 failure on AIX due to ranlib and whitespace in the directory.
889 Report by John F Trudeau.
891 Fail upon install or ranlib failure, part two.
892 * lib/am/java.am (install-%DIR%JAVA): Fail upon install failure.
893 * lib/am/lisp.am (install-%DIR%LISP): Likewise.
894 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Likewise.
895 * lib/am/libs.am (install-%DIR%LIBRARIES): Likewise, for
896 `install' as well as `ranlib'.
897 * lib/am/progs.am (install-%DIR%PROGRAMS): If `install' fails,
898 return its exit failure, not 1.
899 * tests/instfail.test: New test, for PROGRAMS (without libtool),
900 LIBRARIES, including nobase variants.
901 * tests/instfail-info.test: Likewise, for TEXINFOS.
902 * tests/instfail-java.test: Likewise, for JAVA.
903 * tests/instfail-libtool.test: Likewise, for PROGRAMS (with
904 libtool) and LTLIBRARIES.
905 * tests/Makefile.am: Adjust.
907 Exit upon `install' failure, part one.
908 * lib/am/data.am (install-%DIR%%PRIMARY%): Exit if any install
910 * lib/am/python.am (install-%DIR%PYTHON): Likewise.
911 * lib/am/scripts.am (install-%DIR%SCRIPTS): Likewise.
912 * lib/am/texinfos.am (install-dvi-am, install-html-am)
913 (install-info-am:, install-pdf-am): Likewise.
914 * tests/instmany.test: New test, for SCRIPTS, DATA, and HEADERS.
915 * tests/instmany-python.test: New test, for PYTHON.
916 * tests/Makefile.am: Adjust.
918 2008-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
920 Fix multi-file installation for files in srcdir.
921 For files that can live in the build tree or the source tree,
922 we have to expect that prepending `$(srcdir)/' to each name
923 will let the install command line exceed length limitations.
924 Thus use a new macro, $(am__base_list), to install in chunks
925 of 40 files, similar to what we do for nobase_* files. There,
926 lower the limit to 40, too.
927 * lib/am/inst-vars.am (am__install_max): Lower to 40.
928 (am__base_list): New macro.
929 * lib/am/data.am (install-%DIR%%PRIMARY%) [%?BASE%]: Use it.
930 * lib/am/texinfos.am (install-dvi-am, install-html-am)
931 (install-info-am, install-pdf-am, install-ps-am): Likewise.
933 2008-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
935 Use `Exit' instead of `exit' in test suite.
936 Cater to Bourne shells like Solaris sh that do not pass the
937 `exit' argument as status to the cleanup trap.
938 * Makefile.am (maintainer-check): Check that here-documents
939 use only `END' or `EOF' as delimiter in the test suite.
940 Check that, outside of here-documents, the tests do not use
941 `exit' with an argument, but use `Exit' instead.
942 * tests/defs.in (Exit): New function. Use it throughout,
943 starting with the introduction of the exit trap.
944 * tests/aclibobj.test, tests/acloca10.test, tests/acloca11.test,
945 tests/acloca12.test, tests/acloca13.test, tests/acloca14.test,
946 tests/acloca15.test, tests/acloca16.test, tests/acloca17.test,
947 tests/acloca18.test, tests/acloca19.test, tests/acloca20.test,
948 tests/acloca21.test, tests/acloca22.test, tests/aclocal.test,
949 tests/aclocal3.test, tests/aclocal4.test, tests/aclocal5.test,
950 tests/aclocal6.test, tests/aclocal7.test, tests/aclocal8.test,
951 tests/aclocal9.test, tests/acoutbs.test, tests/acoutbs2.test,
952 tests/acoutnoq.test, tests/acoutpt.test, tests/acoutpt2.test,
953 tests/acoutqnl.test, tests/acsilent.test, tests/acsubst.test,
954 tests/acsubst2.test, tests/all.test, tests/alloca.test,
955 tests/alloca2.test, tests/alpha.test, tests/alpha2.test,
956 tests/amassign.test, tests/ammissing.test, tests/amopt.test,
957 tests/amsubst.test, tests/ansi.test, tests/ansi10.test,
958 tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
959 tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
960 tests/ansi7.test, tests/ansi8.test, tests/ansi9.test (main),
961 tests/ar.test, tests/ar2.test, tests/asm.test, tests/asm2.test,
962 tests/asm3.test, tests/automake.test, tests/auxdir.test,
963 tests/auxdir2.test, tests/auxdir3.test, tests/auxdir4.test,
964 tests/backsl.test, tests/backsl2.test, tests/backsl3.test,
965 tests/backsl4.test, tests/badline.test, tests/badopt.test,
966 tests/badprog.test, tests/block.test, tests/bsource.test,
967 tests/canon-name.test, tests/canon.test, tests/canon2.test,
968 tests/canon3.test, tests/canon4.test, tests/canon5.test,
969 tests/ccnoco.test, tests/ccnoco2.test, tests/check.test,
970 tests/check2.test, tests/check3.test, tests/check4.test,
971 tests/check5.test, tests/check6.test, tests/check7.test,
972 tests/checkall.test, tests/clean.test, tests/clean2.test,
973 tests/colneq.test, tests/colneq2.test, tests/colon.test,
974 tests/colon2.test, tests/colon3.test, tests/colon4.test,
975 tests/colon5.test, tests/colon6.test, tests/colon7.test,
976 tests/color.test (test_no_color), tests/commen10.test,
977 tests/comment.test, tests/comment2.test, tests/comment3.test,
978 tests/comment4.test, tests/comment5.test, tests/comment6.test,
979 tests/comment7.test, tests/comment8.test, tests/comment9.test,
980 tests/compile.test, tests/compile_f90_c_cxx.test,
981 tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
982 tests/cond11.test, tests/cond13.test, tests/cond14.test,
983 tests/cond15.test, tests/cond16.test, tests/cond17.test,
984 tests/cond18.test, tests/cond19.test, tests/cond2.test,
985 tests/cond20.test, tests/cond21.test, tests/cond22.test,
986 tests/cond27.test, tests/cond3.test, tests/cond37.test,
987 tests/cond39.test, tests/cond4.test, tests/cond40.test,
988 tests/cond41.test, tests/cond5.test, tests/cond6.test,
989 tests/cond7.test (AC_INIT), tests/cond8.test, tests/cond9.test,
990 tests/condd.test, tests/condhook.test, tests/condinc.test,
991 tests/condinc2.test, tests/condlib.test, tests/condman.test,
992 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
993 tests/conff.test, tests/conff2.test, tests/confh.test,
994 tests/confh4.test, tests/confh5.test, tests/config.test,
995 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
996 tests/conflnk3.test, tests/conflnk4.test, tests/confsub.test,
997 tests/confvar.test, tests/confvar2.test, tests/copy.test,
998 tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
999 tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
1000 tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
1001 tests/cygwin32.test, tests/dash.test, tests/defs.in (else),
1002 tests/defun.test, tests/defun2.test, tests/dejagnu.test,
1003 tests/dejagnu2.test, tests/dejagnu3.test, tests/dejagnu4.test,
1004 tests/dejagnu5.test, tests/dejagnu6.test, tests/dejagnu7.test,
1005 tests/depacl2.test, tests/depcomp.test, tests/depcomp2.test,
1006 tests/depcomp3.test, tests/depcomp4.test, tests/depcomp5.test,
1007 tests/depcomp6.test, tests/depcomp7.test, tests/depdist.test,
1008 tests/depend.test, tests/depend2.test, tests/depend3.test,
1009 tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
1010 tests/dirlist.test, tests/dirlist2.test, tests/discover.test,
1011 tests/distcom2.test, tests/distcom3.test, tests/distcom4.test,
1012 tests/distcom5.test, tests/distcom6.test, tests/distcom7.test,
1013 tests/distdir.test, tests/distname.test, tests/dollar.test,
1014 tests/double.test, tests/dup2.test, tests/else.test,
1015 tests/empty.test, tests/empty2.test, tests/empty3.test,
1016 tests/empty4.test, tests/exdir.test, tests/exdir2.test,
1017 tests/exdir3.test, tests/exeext.test, tests/exeext2.test,
1018 tests/exeext3.test, tests/exeext4.test, tests/exsource.test,
1019 tests/ext.test, tests/extra.test, tests/extra2.test,
1020 tests/extra3.test, tests/extra4.test, tests/extra5.test,
1021 tests/extra6.test, tests/extra7.test, tests/f90only.test,
1022 tests/flibs.test, tests/fn99.test, tests/fn99subdir.test,
1023 tests/fnoc.test, tests/fo.test, tests/fonly.test,
1024 tests/fort1.test, tests/fort2.test, tests/fort4.test,
1025 tests/fort5.test, tests/fortdep.test, tests/fpinst2.test,
1026 tests/fpinstall.test, tests/gcj.test, tests/gcj2.test,
1027 tests/gcj3.test, tests/gcj4.test, tests/gcj5.test,
1028 tests/getopt.test, tests/gettext.test, tests/gettext2.test,
1029 tests/gettext3.test, tests/gnits.test, tests/gnits2.test (main),
1030 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
1031 tests/gnuwarn2.test, tests/header.test, tests/help.test,
1032 tests/hosts.test, tests/implicit.test, tests/include.test,
1033 tests/include2.test, tests/info.test, tests/init.test,
1034 tests/insh2.test, tests/install2.test, tests/installdir.test,
1035 tests/instdat.test, tests/instdat2.test, tests/instexec.test,
1036 tests/insthook.test, tests/instman.test, tests/instman2.test,
1037 tests/instsh.test, tests/instsh2.test, tests/instsh3.test,
1038 tests/instspc.test, tests/interp.test, tests/interp2.test,
1039 tests/java.test, tests/java2.test, tests/java3.test,
1040 tests/javaprim.test, tests/javasubst.test, tests/ldadd.test,
1041 tests/ldflags.test, tests/lex.test, tests/lex2.test,
1042 tests/lex3.test, tests/lex4.test, tests/lex5.test (main),
1043 tests/libexec.test, tests/libobj10.test, tests/libobj11.test,
1044 tests/libobj12.test, tests/libobj13.test, tests/libobj2.test,
1045 tests/libobj3.test, tests/libobj4.test, tests/libobj5.test,
1046 tests/libobj7.test, tests/libobj8.test, tests/library.test,
1047 tests/library2.test, tests/library3.test, tests/libtoo10.test,
1048 tests/libtool.test, tests/libtool2.test, tests/libtool3.test
1049 (main), tests/libtool4.test, tests/libtool5.test,
1050 tests/libtool6.test, tests/libtool7.test, tests/libtool8.test,
1051 tests/libtool9.test (main), tests/license.test,
1052 tests/link_c_cxx.test, tests/link_dist.test,
1053 tests/link_f90_only.test, tests/link_f_only.test,
1054 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
1055 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
1056 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
1057 tests/lisp8.test, tests/listval.test, tests/location.test,
1058 tests/longlin2.test, tests/longline.test, tests/ltcond.test,
1059 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
1060 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/lzma.test,
1061 tests/maintclean.test, tests/make.test, tests/makej.test,
1062 tests/makevars.test, tests/man.test, tests/man2.test,
1063 tests/man3.test, tests/mclean.test, tests/mdate.test,
1064 tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
1065 tests/mdate5.test, tests/missing.test, tests/missing2.test,
1066 tests/missing3.test, tests/missing4.test, tests/missing5.test,
1067 tests/missing6.test, tests/mkinst2.test, tests/mkinst3.test,
1068 tests/mkinstall.test, tests/mmode.test, tests/mmodely.test,
1069 tests/multlib.test, tests/nobase-libtool.test,
1070 tests/nobase-python.test, tests/nobase.test, tests/nodef.test,
1071 tests/nodef2.test, tests/nodep.test, tests/nodep2.test,
1072 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
1073 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
1074 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
1075 tests/nostdinc.test, tests/notrans.test, tests/number.test,
1076 tests/objc.test, tests/objc2.test, tests/obsolete.test,
1077 tests/order.test, tests/outdir.test, tests/output-order.test,
1078 tests/output.test, tests/output10.test, tests/output11.test,
1079 tests/output12.test, tests/output13.test, tests/output2.test,
1080 tests/output3.test, tests/output4.test, tests/output5.test,
1081 tests/output6.test, tests/output7.test, tests/output8.test,
1082 tests/output9.test, tests/overrid.test, tests/parse.test,
1083 tests/pluseq.test, tests/pluseq10.test, tests/pluseq2.test,
1084 tests/pluseq3.test, tests/pluseq4.test, tests/pluseq5.test,
1085 tests/pluseq6.test, tests/pluseq7.test, tests/pluseq8.test,
1086 tests/pluseq9.test, tests/postproc.test, tests/ppf77.test,
1087 tests/pr2.test, tests/pr204.test, tests/pr211.test,
1088 tests/pr220.test, tests/pr224.test, tests/pr229.test,
1089 tests/pr243.test, tests/pr266.test, tests/pr279-2.test,
1090 tests/pr279.test, tests/pr287.test, tests/pr300-lib.test,
1091 tests/pr300-ltlib.test, tests/pr300-prog.test, tests/pr307.test,
1092 tests/pr401.test, tests/pr401b.test, tests/pr401c.test,
1093 tests/pr72.test, tests/pr87.test, tests/pr9.test,
1094 tests/prefix.test, tests/primary.test, tests/primary2.test,
1095 tests/primary3.test, tests/proginst.test, tests/python.test,
1096 tests/python10.test, tests/python11.test, tests/python12.test,
1097 tests/python2.test, tests/python3.test, tests/python4.test,
1098 tests/python5.test, tests/python6.test, tests/python7.test,
1099 tests/python8.test, tests/python9.test, tests/recurs.test,
1100 tests/recurs2.test, tests/regex.test, tests/remake.test,
1101 tests/remake2.test, tests/remake3.test, tests/remake4.test,
1102 tests/remake5.test, tests/remake6.test, tests/remake7.test,
1103 tests/req.test, tests/reqd.test, tests/reqd2.test,
1104 tests/rulepat.test, tests/scripts.test, tests/seenc.test,
1105 tests/sinclude.test, tests/space.test, tests/specflg.test,
1106 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
1107 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
1108 tests/spell.test, tests/spell2.test, tests/spell3.test,
1109 tests/spelling.test, tests/spy.test, tests/srcsub.test,
1110 tests/srcsub2.test, tests/stamph2.test, tests/stdinc.test,
1111 tests/stdlib.test, tests/stdlib2.test, tests/strip.test,
1112 tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
1113 tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
1114 tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
1115 tests/subdir7.test, tests/subdir8.test, tests/subdir9.test,
1116 tests/subdirbuiltsources.test, tests/subobj.test,
1117 tests/subobj10.test, tests/subobj2.test, tests/subobj3.test,
1118 tests/subobj4.test, tests/subobj5.test, tests/subobj6.test,
1119 tests/subobj7.test, tests/subobj8.test, tests/subobj9.test,
1120 tests/subobjname.test, tests/subpkg.test, tests/subpkg2.test,
1121 tests/subpkg3.test, tests/subst.test, tests/subst2.test,
1122 tests/subst3.test, tests/substre2.test, tests/substref.test,
1123 tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
1124 tests/suffix11.test, tests/suffix12.test, tests/suffix2.test,
1125 tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
1126 tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
1127 tests/suffix9.test, tests/symlink.test, tests/symlink2.test,
1128 tests/symlink3.test, tests/syntax.test, tests/tags.test,
1129 tests/tagsub.test, tests/tar.test, tests/tar2.test,
1130 tests/tar3.test, tests/target-cflags.test,
1131 tests/targetclash.test, tests/transform.test, tests/txinfo.test,
1132 tests/txinfo10.test, tests/txinfo13.test, tests/txinfo16.test,
1133 tests/txinfo17.test, tests/txinfo18.test, tests/txinfo19.test,
1134 tests/txinfo2.test, tests/txinfo20.test, tests/txinfo21.test,
1135 tests/txinfo22.test, tests/txinfo23.test, tests/txinfo24.test,
1136 tests/txinfo25.test, tests/txinfo26.test, tests/txinfo27.test,
1137 tests/txinfo28.test, tests/txinfo29.test, tests/txinfo3.test,
1138 tests/txinfo30.test, tests/txinfo31.test, tests/txinfo4.test,
1139 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
1140 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
1141 tests/upc.test, tests/upc2.test, tests/upc3.test,
1142 tests/vars.test, tests/vars3.test, tests/vartar.test,
1143 tests/version.test, tests/version2.test, tests/version3.test,
1144 tests/version4.test, tests/version6.test, tests/version7.test,
1145 tests/version8.test, tests/vpath.test, tests/vtexi.test,
1146 tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
1147 tests/werror2.test, tests/whoami.test, tests/xsource.test,
1148 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
1149 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
1150 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
1151 tests/yaccvpath.test: Use `Exit $arg' instead of `exit $arg'
1152 throughout, except inside created files.
1154 2008-09-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1156 Avoid Heisenbug with verbose testing on HP-UX.
1157 * tests/output-order.test: Remove spurious redirection line
1158 from output for comparison.
1160 For all possibly-relative subdirs, use $(am__cd).
1161 Up to now, $(am__cd) was only used within backquotes, to avoid
1162 extraneous output. This patch also uses it for every `cd' to a
1163 relative subdir, to prevent CDPATH from entering an unwanted
1165 * Makefile.am (maintainer-check): Fix current check for
1166 $(am__cd) within backquotes a bit. Add new check for `cd' to a
1168 * automake.in (handle_tags, handle_configure): Adjust rules.
1169 * lib/am/ansi2knr.am: Likewise.
1170 * lib/am/configure.am: Likewise.
1171 * lib/am/distdir.am: Likewise.
1172 * lib/am/remake-hdr.am: Likewise.
1173 * lib/am/subdirs.am: Likewise.
1174 * lib/am/tags.am: Likewise.
1175 * lib/am/texibuild.am: Likewise.
1177 Fix nobase-python.test for BSD make.
1178 * tests/nobase-python.test: Listing a dependency to be found
1179 via VPATH search explicitly, without the path, as a target,
1180 will turn off VPATH search for FreeBSD make. So move the
1181 creation of the files outside of the Makefile.
1183 2008-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1185 Implement AM_MAINTAINER_MODE([DEFAULT-MODE]).
1186 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Allow for an optional
1187 first argument of `enable' or `disable', setting the default.
1188 * doc/automake.texi (Optional, maintainer-mode): Document.
1189 * tests/mmode.test: New test.
1190 * tests/Makefile.am: Adjust.
1192 Suggestion by Vincent Lefevre.
1194 2008-08-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1196 Copyright year updates.
1197 * lib/am/header-vars.am: Update copyright years.
1198 * lib/am/remake-hdr.am: Likewise.
1199 * lib/am/tags.am: Likewise.
1201 2008-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1203 * THANKS: Use Cyrillic name instead of ASCII transcription.
1205 2008-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1207 Fix rebuilding of removed subdir/Makefile.in files.
1208 * lib/am/configure.am (%MAKEFILE-IN%) [?!TOPDIR_P?]: If
1209 subdir/Makefile.in was removed, am--refresh would not update
1210 it. Fix up for it by running the per-directory rebuild rule.
1211 * tests/remake6.test, tests/remake7.test: New tests.
1212 * tests/Makefile.am: Adjust.
1213 * NEWS, THANKS: Update.
1214 Report and initial patch by Ilya N. Golubev.
1216 2008-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1218 * tests/notrans.test: Use multiple man files of each type.
1220 Fix maintainer-check failures.
1221 * doc/automake.texi (Conditionals): Drop TAB.
1222 * tests/missing6.test: Use 'rm -f'.
1224 2008-08-19 Reuben Thomas <rrt@sc3d.org> (tiny patch)
1226 * doc/automake.texi (Flag Variables Ordering, Per-Object Flags):
1229 2008-08-02 Karl Berry <karl@freefriends.org>
1231 * lib/gnupload: Provide also a simple example.
1233 2008-06-25 Thien-Thi Nguyen <ttn@gnuvola.org>
1236 * doc/automake.texi (Public Macros): Close open paren.
1238 2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1240 Introduce macro $(am__mv) to facilitate 'libtool --dry-run'.
1241 * lib/am/depend.am (am__mv): New macro, set to 'mv -f'.
1242 * lib/am/depend2.am: Use throughout to move the temporary
1243 depfile *.Tpo to its final destination *.Po.
1245 2008-06-18 Rafael Espindola <espindola@google.com>
1247 * lib/config-ml.in: don't handle --enable-shared and --enable-static.
1249 2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1251 * lib/am/inst-vars.am (am__install_max): New variable.
1252 (am__nobase_list): Use it.
1254 Fix conditional rules competing with config.status rules.
1255 * automake.in (handle_configure): Teach targets about the
1256 conditional config.status rule.
1257 * tests/cond39.test: Adjust test to expose this.
1259 For AC_CONFIG_LINKS(X,X), do not clean X in a non-VPATH build.
1260 * automake.in (rewrite_inputs_into_dependencies): Do distribute
1261 inputs where input and output name are equal. This relies on
1262 the assumption that it only happens with AC_CONFIG_LINKS.
1263 (handle_configure) <CONFIG_CLEAN_VPATH_FILES>: New variable, for
1264 links where source and dest are equal.
1265 * lib/am/clean.am (distclean-generic): Remove, if build tree not
1267 * tests/conflnk4.test: New test.
1268 * tests/Makefile.am: Adjust.
1271 2008-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1273 * doc/automake.texi (Extending): Fix ambivalent wording.
1274 Report by Ben Pfaff.
1276 2008-06-04 Karl Berry <karl@freefriends.org>
1278 * doc/automake.texi (Install, Hard-Coded Install Paths): Fix
1279 punctuation and markup.
1280 (Extending): Improve wording and clarify order semantics of
1281 *-local and *-hook targets.
1283 2008-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1285 * doc/automake.texi (Extending): Fix grammar.
1286 Report by Karl Berry.
1288 2008-05-13 Stepan Kasal <skasal@redhat.com>
1291 * doc/automake.texi (Timeline): Reported by Reuben Thomas.
1292 * lib/am/remake-hdr.am: A few typos in comments.
1294 2008-04-10 Eric Blake <ebb9@byu.net>
1296 Prefer a released version of autoconf.
1297 * NEWS: Bump requirement to autoconf 2.62.
1298 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
1299 * configure.ac: Likewise.
1300 (AC_PREREQ): Remove check, done by AM_INIT_AUTOMAKE instead.
1302 AC_AUTOCONF_VERSION can inadvertently expand to a macro name.
1303 * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Use proper
1305 * aclocal.in (write_aclocal): Likewise.
1306 * tests/missing6.test: New test.
1307 * tests/Makefile.am (TESTS): Run it.
1308 * tests/missing4.test: Adjust.
1310 2008-04-02 Eric Blake <ebb9@byu.net>
1312 Make gnupload friendlier for VPATH usage.
1313 * lib/gnupload: Allow uploads from separate directory.
1315 2008-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1317 Implement conditional AC_CONFIG_FILES: AM_COND_IF.
1318 * automake.in (%ac_config_files_condition): New.
1319 (scan_autoconf_config_files): Record condition if any.
1320 (scan_autoconf_traces): Trace _AM_COND_IF, _AM_COND_ELSE,
1321 _AM_COND_ENDIF, updating @cond_stack as appropriate.
1322 (handle_configure): Prefix config.status rule with condition.
1323 Check that m4 quotation is done consistently.
1324 * m4/cond.m4 (AM_CONDITION): Define `_AM_COND_VALUE_name'
1325 with `name' being the name of the condition, to its shell
1327 * m4/cond-if.m4: New file.
1328 (_AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF): New trace helpers.
1329 (AM_COND_IF): New macro, implements conditionals.
1330 * m4/Makefile.am: Adjust.
1331 * doc/automake.texi (Requirements, Optional, Conditionals):
1332 Document AM_COND_IF.
1334 * tests/cond39.test, tests/cond40.test, tests/cond41.test,
1335 tests/cond42.test, tests/cond43.test: New tests.
1336 * tests/Makefile.am: Adjust.
1338 2008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1340 * doc/automake.texi (@ovar): New macro, from autoconf.texi.
1342 Suggestion by Eric Blake.
1344 2008-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1346 * lib/texinfo.tex: Sync from upstream.
1348 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1350 * doc/automake.texi (Requirements, Linking, Extending):
1351 Fix underfull and overfull lines, fix wording a bit.
1353 * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
1356 * Makefile.am (WGET_SV_GIT_CF): New.
1357 (fetch): Pull config.guess and config.sub from git repo now.
1359 * lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument
1360 $hint, show if the executing program does not exist.
1361 (xsystem_hint): New function, like xsystem but allows to pass
1364 2008-03-11 Peter Breitenlohner <peb@mppmu.mpg.de>
1366 Implement the `notrans_' prefix for untransformed manpages.
1367 * automake.in (handle_man_pages), lib/am/mans.am: Implement
1368 notrans_ prefix for MANS primary and rework dependencies for
1369 install-man%SECTION%; use only vars defined in Makefile.am.
1370 * doc/automake.texi (Renaming, Uniform, Man pages):
1371 Document notrans_ prefix.
1373 * tests/notrans.test: New test.
1374 * tests/Makefile.am: Update.
1376 * automake.in (handle_man_pages): Reindent, for next patch.
1378 2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1380 Use `install' with multiple files at once for some primaries.
1381 With nobase targets, at most 50 files are installed at once,
1382 to avoid quadratic string concatenation and line length limits.
1383 This isn't yet done with base targets. One hope is that there,
1384 the typical file name length is lower. If this turns out to be
1385 a problem, it should be revisited.
1387 * lib/am/inst-vars.am (am__nobase_list): New helper macro for
1388 installation of multiple nobase files at once: sorts and lists
1389 files keyed by their target directory.
1390 * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): No need to set it to
1391 $(install_sh_DATA) any more, not even for nobase targets.
1392 (install-%DIR%%PRIMARY%): Split base and nobase cases.
1393 Rewrite to pass lists of files which all go in the same
1394 directory to `install'. In the nobase case, make use of
1395 $(am__nobase_list) and $(MKDIR_P) each directory before
1396 populating it. Take care of files in source and build trees,
1397 and avoid creating directories where no files are to be
1399 * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Likewise.
1400 (install-%DIR%LIBRARIES): Likewise.
1401 * lib/am/python.am (%DIR%PYTHON_INSTALL): Likewise.
1402 (install-%DIR%PYTHON): Likewise. Also take care to keep note of
1403 a list for byte compilation after installation.
1404 * lib/am/texinfos.am (install-dvi-am, install-html-am)
1405 (install-info-am, install-pdf-am, install-ps-am): Use file lists
1406 to install multiple files at once.
1408 Suggested by Akim Demaille.
1410 2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1412 Require unreleased Autoconf for fixed AC_PROG_INSTALL.
1413 * m4/init.m4 (AM_INIT_AUTOMAKE): Bump AC_PREREQ to 2.61-341,
1415 * configure.ac: Also require Autoconf 2.61-341, to catch
1416 failure early and provide a sensible error message.
1418 Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT.
1419 * tests/ansi4.test: Drop AC_OBJEXT and AC_EXEEXT.
1420 * tests/ansi6.test: Likewise.
1421 * tests/ansi7.test: Likewise.
1422 * tests/condlib.test: Likewise.
1423 * tests/cygwin32.test: Likewise.
1424 * tests/exeext2.test: Likewise.
1425 * tests/libobj11.test: Likewise.
1426 * tests/library.test: Likewise.
1427 * tests/txinfo5.test: Likewise.
1429 2008-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1431 Skip instsh3.test if `touch -t' does not work.
1432 * tests/instsh3.test: Test for `touch -t', fails with Solaris
1435 Report by Younes Younes.
1437 2008-02-27 Reuben Thomas <rrt@sc3d.org>
1439 * doc/automake.texi (wildcards): Improve "Why doesn't Automake
1440 support wildcards" node's English and sense.
1442 2008-02-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1444 * lib/am/check.am (check-TESTS): In the case patterns for
1445 XFAILed tests, add literal bracket expression for matching
1446 whitespace, as NetBSD 4.99.54 ksh does not understand a
1447 bracket expression resulting from variable expansion.
1448 * README: Explain how to run the Automake test suite, including
1449 setting MAKE to test gmake.
1450 Report by Patrick Welche.
1452 2008-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1455 * m4/options.m4 (_AM_SET_OPTIONS): Use m4_foreach_w instead of
1456 obsolete AC_FOREACH.
1457 Report by NightStrike and gurganbl@rose-hulman.edu.
1459 2008-02-17 Colin Watson <cjwatson@debian.org> (tiny change)
1461 * lib/am/tags.am (ID): Fix typo in workaround for old awk.
1463 2008-02-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1465 * doc/.gitignore: Ignore files generated by `make ps pdf html'.
1467 2008-02-05 Reuben Thomas <rrt@sc3d.org>
1469 * doc/automake.texi (CVS): configure.ac will appear newer, not
1470 older, than configure. Use `lexical' instead of `alphabetical'.
1472 2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1474 * tests/man3.test: Avoid `make VAR=value'.
1476 * tests/subst3.test: New test.
1477 * tests/Makefile.am: Update.
1479 * tests/instsh2.test: Split off testing of `install-sh -C' ...
1480 * tests/instsh3.test: ... to this new test, requiring non-root.
1481 * tests/Makefile.am: Adjust.
1483 Report by Theodoros V. Kalamatianos.
1485 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1487 * tests/nobase.test: Extend test to generated files.
1489 * tests/nobase-python.test: New test, nobase for python files.
1490 * tests/Makefile.am: Update.
1492 * tests/nobase.test: Split off libtool part of nobase.test for
1493 increased test exposure, to ...
1494 * tests/nobase-libtool.test: ... this new test.
1495 * tests/Makefile.am: Update.
1497 2008-01-23 Eric Blake <ebb9@byu.net>
1499 Fix color.test when using BSD grep.
1500 * tests/color.test: Ensure that grep can handle non-printing
1503 2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1505 * tests/lisp3.test: Fix typo.
1507 2008-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1509 * lib/am/mans.am (install-man%SECTION%): Prefer generated manpages
1510 over distributed ones.
1511 Report and patch by Peter Breitenlohner.
1512 * tests/man3.test: New test.
1513 * tests/Makefile.am: Update.
1515 2008-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1517 * tests/tar.test: Skip if no appropriate tar was found.
1519 2008-01-19 NightStrike <nightstrike@gmail.com>
1521 * doc/automake.texi (Dependency Tracking): Fix typo.
1523 2008-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1525 * lib/config-ml.in, lib/config.guess, lib/config.sub,
1526 lib/symlink-tree: Sync from upstream.
1528 * Makefile.am (WGET_SV_CVS): Renamed from WGETSGO.
1529 (WGET_SV_GIT_AC, WGET_SV_GIT_GL, WGET_GCC): New.
1530 (fetch): Update to match current upstream locations.
1532 2008-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1534 * doc/automake.texi (DESTDIR, Built sources example): Fix wording.
1536 Reports and suggestions by William Pursell and nightstrike@gmail.com.
1538 2008-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1540 Do not fail if `autoupdate' is not present.
1541 * tests/obsolete.test: Check for presence of autoupdate. Apparently,
1542 FreeBSD may install the other Autoconf programs without a version
1543 suffix but not autoupdate.
1545 Fix Heisenbug trying to unset a sometimes-not-set variable.
1546 * tests/check5.test: Do not error out upon `unset TESTS' due to
1547 `set -e', in case TESTS was not set.
1548 * tests/color.test: Likewise.
1550 * doc/automake.texi (amhello Explained): Fix odd sentence.
1551 Report by nightstrike@gmail.com.
1553 2008-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1555 * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Rewrite to be more
1556 resistant to different quoting styles of $1.
1558 Clarify texinfo.tex and TEXINFO_TEX semantics.
1559 * doc/automake.texi (Texinfo): Clarify that by default,
1560 texinfo.tex is searched in the same directory as the Makefile.am
1561 that needs it. Clarify that TEXINFO_TEX has precedence over
1562 AC_CONFIG_AUX_DIR, and that it requires the user to install and
1564 * tests/txinfo22.test: Ensure TEXINFO_TEX is not distributed.
1566 Reports by Dilyan Palauzov and Roumen Petrov.
1568 2008-01-11 Bruno Haible <bruno@clisp.org>
1569 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1571 * tests/output-order.test: New test, for the stable output fix.
1572 * tests/Makefile.am: Update.
1574 2008-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1576 * Makefile.am (dist-hook): New, ensure world-executable tests.
1578 Report by Arto C. Nirkko.
1580 * tests/acloca20.test: Use `--force' with the second $AUTOCONF,
1581 to force update on fast machines where both autoconf invocations
1582 happen within the same second.
1583 Report by Greg Schafer.
1585 2008-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1587 * automake.in (scan_autoconf_files): Sort loop over
1588 %required_aux_file, for stable verbose output.
1589 Report by Bruno Haible.
1591 * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
1594 * tests/ccnoco.test (Mycomp): Use a tighter match for -c -o,
1595 to avoid matching for example `LDFLAGS=-Wl,--sort-common'.
1597 Report and analysis by Carsten Lohrke and Mike Frysinger.
1599 2008-01-07 Stepan Kasal <skasal@redhat.com>
1601 * automake.in (handle_texinfo_helper, handle_lib_objects): Fix
1604 2008-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1606 Bump copyright years.
1607 * aclocal.in (write_aclocal, version): Likewise.
1608 * automake.in ($gen_copyright, version): Likewise.
1609 * doc/automake.texi: Likewise.
1611 2007-12-18 Jim Meyering <meyering@redhat.com>
1613 * lib/gnupload (GPG): Don't use an absolute path.
1614 This reverts part of the 2004-01-28 change.
1616 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1618 * lib/Automake/FileUtils.pm (open_quote): New function.
1619 (update_file, contents): Use it.
1621 Reword the copyright notices to match what's suggested in GPLv3.
1623 2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1625 * tests/defs.in: Quote $srcdir, $PATH; skip libtool and gettext
1626 tests if the absolute source or build tree name contain whitespace.
1628 Modify some tests for absolute trees containing whitespace.
1629 * tests/missing.test: Use "./missing" instead of "`pwd`/missing".
1630 * tests/missing2.test: Likewise.
1631 * tests/mmodely.test: Add `pwd` to $PATH instead of absolute
1632 references to myyacc.sh and mylex.sh.
1633 * tests/multlib.test: Likewise for mycc.
1634 * tests/txinfo26.test: Skip if `pwd` contains whitespace, as
1635 an absolute --srcdir does not work there.
1637 * INSTALL, lib/INSTALL, lib/config-ml.in, lib/config.guess,
1638 lib/config.sub, lib/texinfo.tex: Sync from upstream.
1640 Fix the distdir target to cope with spaces in absolute file names.
1641 * lib/am/distdir.am: Quote all instances of $(distdir) and
1642 $(top_distdir). They could contain white space, coming from
1643 a toplevel package bootstrapped with an older Automake version.
1644 (am__relativize): New macro, taken from gnulib code, written by
1646 (distdir): Use it to compute relative paths to distdir and
1647 top_distdir for enclosed subpackages.
1648 Also, quote $(distuninstallcheck_dir).
1649 * lib/am/texinfos.am: Likewise, quote $(distdir).
1651 2007-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1653 Quote file names in tests that can be absolute.
1654 * tests/auxdir.test, tests/check3.test, tests/check4.test,
1655 tests/compile.test, tests/cond33.test, tests/condhook.test,
1656 tests/distdir.test, tests/dollar.test, tests/empty.test,
1657 tests/gnits2.test, tests/gnits3.test, tests/include2.test,
1658 tests/insthook.test, tests/java.test, tests/libtool7.test,
1659 tests/lisp4.test, tests/lisp5.test, tests/lisp6.test,
1660 tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test,
1661 tests/multlib.test, tests/nobase.test, tests/nodist2.test,
1662 tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test,
1663 tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test,
1664 tests/python3.test, tests/strip.test, tests/transform.test,
1665 tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test,
1666 tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test:
1669 Quote @abs_top_builddir@ and @abs_top_srcdir@.
1670 * tests/aclocal.in: Likewise.
1671 * tests/automake.in: Likewise.
1673 Fix TAGS and GTAGS rules to cope with whitespace in `pwd`.
1674 * lib/am/tags.am (TAGS): Use positional parameters to avoid
1675 the need to quote absolute file names.
1676 (GTAGS): Quote absolute file name.
1677 (CTAGS): Simplify, dropping unused variable `$tags'.
1679 2007-11-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1681 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Fix another instance
1682 of am__strip_dir. Fixes nobase and pr300-ltlib test failures.
1684 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
1686 Several *-local in a rule do not work.
1687 * tests/all.test: Check this case.
1689 * tests/Makefile.am (XFAIL_TESTS): Add it.
1691 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
1693 Fix uses of am__strip_dir.
1694 * lib/am/libs.am, lib/am/ltlib.am: Catch up with the change of
1695 definition of am__strip_dir.
1697 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
1699 Define and use register_action.
1700 * lib/Automake/Rule.pm: Fix a few typos in the doc.
1701 (&rule): Use || to simplify the code.
1702 (®ister_action): New.
1704 * automake.in (&handle_factored_dependencies, &file_contents_internal):
1707 2007-11-25 Akim Demaille <akim@lrde.epita.fr>
1709 * bootstrap: Fix typos on redirections.
1711 2007-11-24 Akim Demaille <akim@lrde.epita.fr>
1713 Skip comments and empty lines in dirlist in the tests.
1714 * defs.in (extra_includes): Skip comments and empty lines in dirlist.
1716 2007-11-24 Akim Demaille <akim@lrde.epita.fr>
1718 Ternary operator in lib/am files.
1719 * automake.in (&transform_token): New.
1720 (&transform): Use it.
1721 Support %KEY?TRUE:FALSE%.
1722 (&make_paragraphs): Adjust the regexp to call %transform.
1723 * lib/am/data.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
1724 * lib/am/progs.am, lib/am/python.am, lib/am/scripts.am:
1725 Use %KEY?TRUE:FALSE%.
1726 * lib/am/inst-vars.am (am__strip_dir): Assign the result to f
1727 to be more alike am__vpath_adj.
1728 Adjust dependencies.
1730 2007-11-24 Akim Demaille <demaille@gostai.com>
1732 * automake.in: Normalize white spaces.
1734 2007-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1736 * configure.ac (ACLOCAL, AUTOMAKE): Fix quoting for rebuilding
1737 rules, if the absolute build directory name contains white space.
1739 2007-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1741 * aclocal.in (trace_used_macros): Quote input files.
1743 * lib/ylwrap: Cope with white space in `PROGRAM' and `pwd`.
1745 * lib/am/tags.am (ID, TAGS, CTAGS): Make awk scripts portable again.
1746 (CTAGS): Drop unneeded variable `here'.
1748 2007-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1750 * tests/output13.test: New test.
1751 * tests/Makefile.am: Adjust.
1752 Prompted by report from Bruno Haible in
1753 <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00479.html>.
1755 Fix signal handling in aclocal.
1756 * aclocal.in (unlink_tmp): If invoked by a signal, note so
1757 in verbose mode. Reinstall default signal handler and reraise,
1758 to transport the interrupt information.
1760 2007-11-13 Bob Proulx <bob@proulx.com>
1762 Fix color test failure on dumb (and other) terminals.
1763 * tests/color.test: Set TERM to `ansi'.
1765 2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1767 Avoid spurious test failure with `make check TESTS=check5.test'.
1768 * tests/check5.test: unset TESTS.
1770 Fix maintainer-check failure.
1771 * tests/color.test: unset TESTS, use `make -e' rather than
1774 2007-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1776 * configure.ac (AM_INIT_AUTOMAKE): Require version 1.10a.
1778 * automake.in (handle_tests): Remove debugging leftover.
1780 Run each test in a process-private subdirectory.
1781 * tests/defs.in: Employ a trap to clean up at the end of the
1782 test in case the test succeeded. This needs to be revisited
1783 because we would like to keep the output of XPASSing tests.
1784 Also, note when we were interrupted by a signal. Code taken
1785 from Autoconf's _AC_INIT_PREPARE.
1786 If $keep_testdirs is set, keep them even for successful tests.
1787 * tests/Makefile.am (check-clean-local): New target. Remove all
1788 tests subdirs, but also make them writable first. The latter
1789 was already needed without per-test subdirs.
1790 (distclean-local): Depend upon check-clean-local.
1791 * tests/Makefile.in: Regenerate.
1792 * tests/.cvsignore, tests/.gitignore: Adjust.
1794 Fix default includes ordering to be `-I. -I$(srcdir) ...' again.
1795 * automake.in (handle_compile): Put -I$(srcdir) before include
1796 paths for config headers, as was done before Automake 1.10, but
1797 keep uniquified list without multiple adjacent spaces.
1798 * doc/automake.texi (Program variables): List include paths
1800 * NEWS: Mention 1.10 regression.
1801 * tests/stdinc.test: New test.
1802 * tests/Makefile.am: Adjust.
1804 Report by Kent Boortz.
1806 2007-11-08 Akim Demaille <akim@lrde.epita.fr>
1807 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1808 Bob Proulx <bob@proulx.com>
1810 Implement colorized test output.
1811 * automake.in (handle_tests): Set COLOR depending on `color-tests'.
1812 * configure.ac (AM_INIT_AUTOMAKE): Use `color-tests'.
1813 * doc/automake.texi (Tests, Options): Document test results,
1814 document new option, document AM_COLOR_TESTS.
1815 * lib/Automake/Options.pm (_process_option_list): Handle it.
1816 * lib/am/check.am (am__tty_colors): New variable. Enable colored
1817 output if TERM is not dumb and depending on AM_COLOR_TESTS and
1818 whether stdout is connected to a terminal.
1819 (check-TESTS): Use am__tty_colors.
1820 * NEWS: Mention color-tests.
1821 * tests/color.test: New test.
1822 * tests/Makefile.am: Adjust.
1824 2007-11-08 NightStrike <nightstrike@gmail.com> (tiny change)
1826 For PR automake/526:
1827 * doc/automake.texi (Basic Installation): Fix typo.
1829 2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1831 Accommodate for new macro AC_AUTOCONF_VERSION.
1832 * aclocal.in (write_aclocal): Use AC_AUTOCONF_VERSION rather
1833 than m4_PACKAGE_VERSION. Define the former if not defined.
1834 * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Likewise.
1835 * tests/missing4.test: Use AC_AUTOCONF_VERSION.
1837 2007-10-29 Bruno Haible <bruno@clisp.org>
1839 * doc/automake.texi (Program variables): Clarify that
1840 Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but
1841 passes it directly to compilation commands.
1843 2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1845 Move to git as primary source repository.
1846 * Makefile.am (git-dist, git-release): Renamed and adjusted from ...
1847 (cvs-dist, cvs-release): ... these.
1848 (git-diff): New target, taken and adjusted from cvs-diff.
1849 * Makefile.in: Regenerate.
1850 * bootstrap: Adjust.
1851 * NEWS: Announce change.
1852 * doc/automake.texi (General Operation): cvs-dist is git-dist now.
1853 (Timeline): Mention change.
1855 2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1857 * automake.in: Treat extension .sx also like preprocessed
1858 assembler (.S), following GCC.
1860 * doc/automake.texi (Assembly Support): Adjust.
1861 * tests/asm3.test: New test.
1862 * tests/Makefile.am: Update.
1864 2007-10-09 Jim Meyering <meyering@redhat.com>
1866 Add lzma compression support.
1868 * automake.in (handle_dist): Recognize dist-lzma.
1869 (make_paragraphs): Map LZMA to dist-lzma.
1870 * doc/automake.texi (Dist): Add dist-lzma.
1871 (Options): Likewise.
1872 * lib/Automake/Options.pm (_process_option_list):
1873 (dist dist-all): Add command to create an lzma-compressed tarball.
1874 (distcheck): Handle lzma-compressed tarballs just like the others.
1875 * tests/defs.in: Test for lzma, too.
1876 * tests/lzma.test: New file, based on nogzip.test.
1877 * tests/Makefile.am (TESTS): Add lzma.test.
1878 Suggestion from Karl Berry.
1880 2007-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1882 * automake.in (TARGET_PATTERN): Allow leading digit.
1883 * tests/exeext3.test: Adjust to expose this.
1884 Report by Claudio Fontana and Laurence Finston.
1886 2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1888 * tests/defs.in (required): For gcj, check whether `gcj -v'
1889 works, to avoid broken installations without libgcj.spec.
1891 * tests/gcj4.test: Setting GCJ not needed any more.
1893 Report by Jesse Chisholm.
1895 2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1897 * lib/config-ml.in, lib/config.guess, lib/config.sub,
1898 lib/symlink-tree, lib/texinfo.tex: New upstream versions.
1900 2007-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1902 * doc/automake.texi (gettext): Fix link to gettext manual.
1904 2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1906 In ChangeLog files, use more-permissive notice rather than GPL,
1907 as per usual GNU standards these days.
1909 2007-08-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1911 * automake.in (handle_programs): Also clean .libs/_libs
1912 directory for _PROGRAMS.
1913 * tests/libtoo10.test: New test.
1914 * tests/Makefile.am: Update.
1916 Report by Guillermo Ontañón.
1918 2007-08-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1920 * configure.ac: Actually require version 2.60 in the test for
1921 Autoconf, and recommend it in the error messages.
1923 Report by Robert Swafford.
1925 2007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1927 * doc/automake.texi (VPATH Builds): Fix wording.
1928 Report by Reuben Thomas.
1930 2007-07-22 Noah Misch <noah@cs.caltech.edu>
1932 * tests/subst.test: Move the AC_SUBST into a macro definition.
1933 Avoids an error from CVS Autoconf.
1935 Report by Benoit Sigoure.
1937 2007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1938 Alexandre Duret-Lutz <adl@gnu.org>
1940 * lib/am/configure.am (%?REGEN-ACLOCAL-M4%): New target
1941 $(am__aclocal_m4_deps) without any dependencies, to avoid the
1942 "deleted .m4 file" problem.
1943 * tests/acloca22.test: New test.
1944 * tests/Makefile.am: Update.
1947 2007-07-22 Francesco Salvestrini <salvestrini@gmail.com>
1948 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1950 * lib/am/ltlib.am (install-%DIR%LTLIBRARIES)
1951 (uninstall-%DIR%LTLIBRARIES): Use $(AM_LIBTOOLFLAGS) and
1953 * lib/am/progs.am (install-%DIR%PROGRAMS)
1954 (uninstall-%DIR%PROGRAMS): Likewise.
1955 * tests/libtool7.test: Update test for `install' and
1957 * NEWS, THANKS: Update.
1959 2007-07-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1961 * doc/automake.texi: Remove Front-Cover and Back-Cover Texts,
1962 this manual is not printed by the FSF.
1964 2007-07-16 Alexandre Duret-Lutz <adl@gnu.org>
1966 * NEWS: Clarify that COPYING files are not updated.
1968 2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1970 * doc/automake.texi: New Back-Cover Text.
1971 Report by Karl Berry.
1973 2007-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1975 * aclocal.in (version): Fix output to match GCS requirements.
1976 * automake.in (version): Likewise.
1977 Report by Eric Blake.
1979 * COPYING, lib/COPYING: Update to GPLv3. All uses changed.
1982 2007-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1984 * lib/gnupload: Fix shell portability issues with for loops.
1985 Report by Karl Berry.
1987 2007-06-23 Paul Eggert <eggert@cs.ucla.edu>
1988 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1990 * aclocal.in (write_aclocal): Warn about autoconf
1991 incompatibilities instead of making them fatal.
1992 * tests/missing4.test: Adjust.
1994 Problem reported by Bruno Haible in
1995 <http://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>.
1997 2007-05-03 Stepan Kasal <kasal@ucw.cz>
1999 * doc/automake.texi, lib/Automake/Rule.pm: Fix typos.
2000 * automake.in: Likewise.
2001 (am_primary_prefixes): Keep the intentional typo there.
2003 2007-04-25 Eric Blake <ebb9@byu.net>
2005 * doc/stamp-vti: Remove generated file from revision control.
2006 * doc/version.texi: Likewise.
2008 2007-04-23 Reuben Thomas <rrt@sc3d.org> (tiny change)
2010 * doc/automake.texi (Python): Fix typo.
2012 2007-03-30 Eric Blake <ebb9@byu.net>
2013 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2015 * lib/mdate-sh (ls_command): Use -n when available to avoid
2016 problems with spaces in user/group names.
2017 * tests/mdate5.test: New test.
2018 * tests/Makefile.am: Adjust.
2020 2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2022 * automake.in (handle_tests): Rewrite XFAIL_TESTS just like
2023 TESTS, appending $(EXEEXT), so that matching continues to work
2025 * NEWS: Mention this.
2026 * doc/automake.texi (EXEEXT, Extending): Update.
2027 * tests/check7.test: New test.
2028 * tests/Makefile.am: Adjust.
2029 Bug report by Ed Hartnett.
2031 2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2033 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Again search
2034 the whole file, but use sed to reduce the line length.
2035 Fixes 1.10 regression. Report by David Byron.
2036 * THANKS, NEWS: Update.
2038 2007-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2040 * lib/depcomp (aix): Rewrite depmode in the spirit of the tru64
2041 one. Fixes failure to catch dependencies with libtool and xlc
2042 in case of enable_static=no (which is the default on AIX without
2044 * tests/depcomp7.test: Run test once with --disable-shared and
2045 once with --disable-static, to expose failure systematically.
2048 2007-03-29 Stepan Kasal <kasal@ucw.cz>
2049 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2051 * automake.in (handle_LIBOBJS_or_ALLOCA): Fix the error message.
2052 * tests/pr401.test: Update to expose the error.
2053 * tests/pr401b.test: Likewise.
2054 * tests/pr401c.test: Likewise.
2056 2007-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2058 * automake.in (scan_autoconf_config_files): Warn about leading
2059 `./' in config file names.
2060 * tests/canon-name.test: New test.
2061 * tests/Makefile.am: Update.
2063 Suggestion by Claudio Fontana.
2065 * tests/yacc6.test: Add the generated headers to `BUILT_SOURCES'
2066 as documented in the manual. Fixes parallel make failure.
2067 Report by Dieter Jurzitza.
2070 * ChangeLog, TODO, tests/exdir3.test: Fix copyright notice.
2072 * TODO: Kill a couple of outdated items.
2073 * tests/exdir3.test: New test.
2074 * tests/Makefile.am: Update.
2076 2007-01-27 Bruno Haible <bruno@clisp.org>
2078 * doc/automake.texi (Multiple Outputs): Fix the multiple outputs
2079 with locking example.
2081 2007-01-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2083 * doc/automake.texi (Subpackages): Fix ambiguous wording.
2084 Report and suggestions by Reuben Thomas.
2087 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2089 * tests/defs.in (is_newest): Cope with multiple newer files.
2090 * NEWS: mention `install-sh -C'.
2092 2006-12-25 Paul Eggert <eggert@cs.ucla.edu>
2094 * lib/install-sh (initialize_posix_glob): New var.
2095 Use it instead of setting posix_glob inline.
2096 (posix_glob): Use '?'/''/: instead of ''/yes/no, for convenience.
2097 (cmpprog, CMPPROG): New vars, since we use cmp rather than the diff
2099 Use LC_ALL before invoking 'ls' when we depend on its output format.
2100 Don't use awk; just use the shell's builtin features.
2101 Clean up $dsttmp if -C detects no installation is needed.
2102 * tests/defs.in (is_newest): Renamed from is_younger; the new
2103 name is more accurate. All uses changed.
2104 (old_timestamp): New var.
2105 * tests/instsh2.test: Rewrite to avoid the need for sleeping.
2107 2006-12-25 Akim Demaille <akim@epita.fr>
2109 * lib/install-sh: Implement install-sh -C.
2110 (This patch is the remaining part of the patch proposed in
2111 <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
2112 (usage): Document it.
2113 (copy_on_change): New var.
2114 * tests/defs.in (is_younger): New function.
2115 * tests/instsh2.test: Check install-sh -C.
2117 2006-12-24 Paul Eggert <eggert@cs.ucla.edu>
2119 * lib/install-sh: Fix typo in previous patch for handling --.
2120 Use more-consistent style for ';;'.
2121 Prefer || to if-then-else-:.
2122 * tests/install2.test: Rework to avoid set -e problems.
2124 2006-12-24 Akim Demaille <akim@epita.fr>
2126 Simplify install-sh and its test. This shouldn't change any behavior.
2127 (This patch is a subset of the patch proposed in
2128 <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
2129 * lib/install-sh (usage): Use usual GNU style.
2130 (dstarg): Rename as...
2131 (dst_arg): this for consistency.
2132 Simplify quoting of assignments.
2134 Don't use '\' to continue commands: && suffices.
2135 Remove useless "continue" in the argument processing,
2136 and factor the shifts.
2137 * tests/defs.in: Some improvements to make it set -e clean.
2138 Use the traditional ":" trick to protect loops from being empty.
2139 Remove an empty straightforward piece of code prepared to define
2140 additional variables.
2141 Use test instead of [], for consistency.
2142 * tests/install2.test: Use set -e, to simplify code.
2144 2006-12-20 Reuben Thomas <rrt@sc3d.org> (tiny change)
2146 * doc/automake.texi: Fix typo.
2148 2006-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2150 * doc/Makefile.am: Use $(MAKE) $(AM_MAKEFLAGS) for building
2151 amhello, to prevent gmake from invoking make with MAKEFLAGS
2152 it does not understand.
2153 Report by Patrick Welche.
2155 * lib/gnupload: Revert last change. Add pointer to upload
2156 instructions of the GNU Maintenance Instructions.
2157 Suggestion by Karl Berry.
2159 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2161 * lib/gnupload: Add missing 'gnu' to example URL.
2162 Report by Karl Berry.
2164 2006-10-28 Bobby Jack <bobbykjack@yahoo.co.uk> (tiny change)
2166 * doc/automake.texi (amhello Explained): autoconf creates
2167 configure, not configure.ac.
2170 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2172 * doc/automake.texi (Dist, Dependency Tracking Evolution):
2174 * lib/Automake/Condition.pm: Likewise.
2175 * lib/Automake/DisjConditions.pm: Likewise.
2176 * lib/Automake/ItemDef.pm: Likewise.
2177 * lib/Automake/Options.pm: Likewise.
2178 * lib/Automake/Rule.pm: Likewise.
2179 * lib/Automake/VarDef.pm: Likewise.
2180 * lib/Automake/Variable.pm: Likewise.
2181 * lib/Automake/Wrap.pm: Likewise.
2182 * lib/Automake/XFile.pm: Likewise.
2183 * m4/substnot.m4: Likewise.
2185 2006-10-16 Alexandre Duret-Lutz <adl@gnu.org>
2187 * lib/gnupload: Update to version 1.1 of directive file.
2189 2006-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2191 * lib/am/depend2.am (%SOURCEFLAG%): New substitution, goes
2192 right before the expanded source file name.
2193 * automake.in (%sourceflags): New global: per-extension flag
2194 to denote that the next compiler argument is the source file.
2195 (scan_autoconf_traces): Trace AC_FC_SRCEXT; initialize
2196 %sourceflags accordingly.
2197 (handle_single_transform): Store source file extension in...
2198 (%lang_specific_files): ...this and...
2199 (handle_languages): ...adjust here. Pass flag in SOURCEFLAG.
2200 * doc/automake.texi (Optional): Add AC_FC_SRCEXT.
2201 (Fortran 9x Support): Update.
2202 * tests/fort2.test: New test.
2203 * tests/Makefile.am: Adjust.
2204 * NEWS, THANKS: Update.
2205 Suggested by Steven G. Johnson.
2207 For PR automake/480.
2208 * automake.in (lang_f77_rewrite, lang_fc_rewrite)
2209 (lang_ppfc_rewrite, lang_ppf77_rewrite, lang_ratfor_rewrite):
2210 return `lang_sub_obj' to support subdir-object mode for the
2212 * tests/fort4.test, tests/fort5.test: New tests.
2213 * tests/Makefile.am: Update.
2214 * NEWS, THANKS: Update.
2215 Report by Davyd Madeley and Shannon L. Brown.
2217 * lib/am/header-vars.am (pkglibexecdir): New variable.
2218 * automake.in (%standard_prefix): Add it.
2219 * doc/automake.texi (Uniform): Document it.
2220 (Program Sources): Adjust.
2222 * tests/libexec.test: New test.
2223 * tests/Makefile.am: Update.
2224 Suggested by Eric Blake.
2226 2006-10-15 Alexandre Duret-Lutz <adl@gnu.org>
2228 * lib/gnupload: Update to version 1.1 of directive file.
2230 * configure.ac, NEWS: Bump version to 1.10a.
2232 * configure.ac, NEWS: Bump version to 1.10.
2233 * doc/automake.texi (Releases): Update for 1.10.
2235 * lib/config.sub, lib/texinfo.tex: New upstream versions.
2237 * lib/am/depend2.am: Typo.
2238 * lib/depcomp (scriptversion): Bump, to account for recent changes.
2240 * doc/automake.texi (Examples): Introduce the example, and point
2242 (Hello): Remove this obsolete node.
2244 2006-10-15 Hans Ulrich Niedermann <hun@n-dimensional.de>
2245 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2247 For PR automake/507:
2248 * lib/am/distdir.am (distdir): filename-length-max check is not
2249 done in sub-packages.
2250 * doc/automake.texi (Options): Document this.
2251 * tests/fn99subdir.test: New test.
2252 * tests/Makefile.am: Update.
2255 2006-10-14 Alfred M. Szmidt <ams@gnu.org> (tiny change)
2257 * doc/automake.texi (Third-Party Makefiles): Fix typo.
2260 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2262 * aclocal.in (write_aclocal): Improve warning for mismatched
2265 * automake.in: For preprocessed assembler, add `$(DEFS)
2266 $(DEFAULT_INCLUDES) $(INCLUDES)' to the compile rule.
2267 * doc/automake.texi (Assembly Support): Update.
2269 Suggested by Thomas Schwinge and Ralf Corsepius.
2271 For PR automake/492.
2272 * automake.in (output_flag): Set to `-o' for Assembler and
2273 preprocessed Assembler, assuming that all understand `-c -o'.
2274 * THANKS, NEWS: Update.
2275 * tests/subobj10.test: New test.
2276 * tests/Makefile.am: Update.
2277 Report by Thomas Schwinge.
2279 * automake.in (%_macro_for_cond): New variable.
2280 (cond_stack_if): Use it for better error message about
2281 missing dependency tracking conditionals.
2282 * tests/asm2.test: New test, modeled after asm.test.
2283 * tests/Makefile.am: Adjust.
2284 Report by Ralf Corsepius.
2286 * doc/automake.texi (Options): `no-dependencies' is similar
2287 to `--ignore-deps', not `--include-deps'.
2288 * m4/as.m4 (AM_PROG_AS): If `no-dependencies', do not invoke
2290 * tests/nodep2.test: New test.
2291 * tests/Makefile.am: Adjust.
2293 * automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the
2294 LIBOBJDIR, then we should not add a DEPDIR prefix.
2295 * tests/pr401.test: Update test.
2296 * tests/pr401b.test: Likewise.
2297 * tests/pr401c.test: Likewise.
2298 Report by Jim Meyering and Eric Blake.
2300 * lib/depcomp (gcc3): Put dependency extraction flags before the
2301 `-c' flag, so they appear at the same position as in %FASTDEP%
2302 mode in depend2.am. Fixes build failure for FreeBSD's c89,
2303 which ignores unknown options only after the first non-option.
2304 Bug report against M4 by Nelson H. F. Beebe.
2306 2006-10-14 Bruno Haible <bruno@clisp.org>
2307 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2309 * automake.in ($seen_gettext_intl): New variable.
2310 (handle_gettext): Consider it.
2311 (scan_autoconf_traces): Add AM_GNU_GETTEXT_INTL_SUBDIR to the list.
2312 Set $seen_gettext_intl when it is seen.
2313 * doc/automake.texi (gettext, Optional): Update.
2314 * tests/gettext3.test: New test.
2315 * tests/Makefile.am: Update.
2317 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
2319 * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
2320 which incorrectly sets the mode of an existing destination
2321 directory. In some cases the unpatched install-sh could do the
2322 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
2323 system. We hope this is rare in practice, but it's clearly worth
2324 fixing. Problem reported by Alex Unleashed in
2325 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
2326 Also, don't bother to check for -m bugs unless we're using -m;
2327 suggested by Stepan Kasal.
2329 2006-10-14 Geoffrey Keating <geoffk@apple.com> (tiny change)
2331 * m4/multi.m4: Non-default multilibs may be cross compilation.
2333 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2335 * automake.in: Fix some typos in comments.
2336 * lib/Automake/Variable.pm: Likewise.
2338 2006-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2340 * automake.in (handle_compile): Use subst, for maintainer-check.
2342 2006-10-09 Andreas Köhler <andi5.py@gmx.net> (tiny change)
2344 For PR automake/505:
2345 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES):
2346 Fix typo: `config.status.lineno', not `configure.status.lineno'.
2348 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2350 * NEWS: Mention that `install-sh' needs executable permissions.
2351 * tests/nobase.test: Adjust.
2352 Report by Patrick Welche.
2354 2006-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2356 * lib/am/check.am (check-TESTS): Fix matching of XFAIL_TESTS
2357 against currently running test for the first and last element
2358 of $(TESTS): add spacing so Solaris make does VPATH expansion
2359 on these words, too.
2360 * tests/check6.test: Update.
2362 2006-08-30 Paul Eggert <eggert@cs.ucla.edu>
2364 For PR automake/501:
2365 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?!GENERIC?%OBJ%):
2366 Abbreviate output a bit by not bothering to quote the .Po file
2367 name (the quoting doesn't suffice in general anyway), and by not
2368 bothering to remove junk .Tpo files (as they'll be removed later).
2369 This also lets 'make' run faster by avoiding a subshell.
2371 2006-08-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2373 * automake.in: Fortran 77 and Fortran should require variables
2374 F77 resp. FC to be defined, and suggest the respective Autoconf
2376 * tests/fort1.test: New test.
2377 * tests/Makefile.am: Update.
2379 * tests/ext.test: Add extensions f95, F90, F95.
2381 2006-08-30 Alexandre Duret-Lutz <adl@gnu.org>
2383 For PR automake/500:
2384 * automake.in (handle_compile) <$default_includes>: Do not output
2385 the same -I twice. Use @am__isrc@ instead of ` -I$(srcdir)'.
2386 * m4/init.m4: Define am__isrc as ` -I$(srcdir)' only in
2387 non-VPATH builds since we always have `-I.'.
2388 * tests/subpkg.test: Make sure config headers are found in VPATH
2389 and non-VPATH builds.
2391 2006-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2393 * doc/automake.texi, lib/Automake/Rule.pm: Fix some typos.
2394 * NEWS: Likewise. Clarify that only one LIBOBJDIR is supported.
2396 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
2398 * lib/Automake/ChannelDefs.pm (usage): Mention that -Wportability
2399 is enabled by default with gnu and gnits strictness.
2400 Report from Bruno Haible.
2402 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
2404 * NEWS: Mark de-ANSI-fication as being obsolete.
2405 * doc/automake.texi: Likewise.
2407 2006-08-21 Stepan Kasal <kasal@ucw.cz>
2409 * Makefile.am, THANKS: Fix typos.
2411 2006-08-20 Alexandre Duret-Lutz <adl@gnu.org>
2413 * NEWS, configure.ac: Bump version to 1.9c.
2415 * NEWS, configure.ac: Bump version to 1.9b.
2417 * Makefile.am (maintainer-check): Check for mkdir_p in automake.in
2419 * automake.in (require_build_directory): Use MKDIR_P, not mkdir_p.
2421 * m4/mkdirp.m4: Typo in previous patch.
2423 * Makefile.am (maintainer-check): Fine-tune the "Unescaped @"
2424 check so it doesn't complain about the '@ 's in node "Standard
2425 Directory Variables".
2427 * INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New
2430 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with
2431 $(top_builddir)/ if it is a relative directory.
2433 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2435 * lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use
2436 ylwrap. Suggested by Akim Demaille long ago, to ease maintenance.
2437 * automake.in (handle_languages): Do not define MORE-THAN-ONE.
2438 (yacc_lex_finish_helper, lang_yacc_finish, lang_lex_finish): Always
2440 * doc/automake.texi (Auxiliary Programs, Yacc and Lex): Update the
2441 documentation of ylwrap.
2442 * tests/lex.test, tests/lex4.test, tests/mmodely.test,
2443 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
2444 tests/yaccpp.test: Adjust.
2446 * doc/automake.texi (Releases): Update statistics until 1.9.6.
2448 * Makefile.am (maintainer-check): Check for mkdir_p.
2449 * automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P.
2450 * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
2451 lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
2452 lib/am/mans.am, lib/am/progs.am, lib/am/python.am,
2453 lib/am/scripts.am, lib/am/texinfos.am: Use MKDIR_P instead of mkdir_p.
2454 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not
2455 as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use
2456 mkdir_p without defining MKDIR_P.
2457 * tests/distdir.test, tests/instman.test, tests/txinfo21.test:
2460 * Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm.
2461 * configure.ac (ACLOCAL): Use --acdir=m4 in addition to
2462 -I m4. Running aclocal during the rebuild rules will fail
2463 if the default acdir does not exist.
2465 * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4:
2466 Require Autoconf 2.60 instead of some intermediate development
2469 * doc/automake.texi (Standard Directory Variables): Fix multitable
2471 (Autotools Introduction): Fix @uref usage.
2473 2006-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2475 * doc/automake.texi: Fix some typos in the introduction,
2476 adjust some spacing; spell `GNU Build System' consistently.
2477 (menu): Unify node naming.
2478 (Standard Directory Variables): Clarify that this list is not
2480 (DESTDIR): Fix example.
2482 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2484 * doc/automake.texi (Autotools Introduction) New chapter.
2485 Thanks to Ben Pfaff and Ralf Wildenhues for comments.
2486 (Auxiliary Programs, Install, Dist, Third-Party Makefiles)
2487 (distcleancheck): More cross references.
2488 * doc/amhello/configure.ac, doc/amhello/README,
2489 doc/amhello/Makefile.am, doc/amhello/src/Makefile.am,
2490 doc/amhello/src/main.c: New files.
2491 * doc/Makefile.am (dist_noinst_DATA): Distribute them.
2492 ($(srcdir)/amhello-1.0.tar.gz): New rule.
2493 (dist_doc_DATA): Install amhello-1.0.tar.gz.
2494 * Makefile.am (SUBDIRS): Update comment.
2496 2006-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2498 * doc/automake.texi: Fix some typos.
2500 2006-08-14 Jonathan Higa <jthiga@gmail.com>
2502 * automake.in: Register "Unified Parallel C" as language.
2503 (lang_upc_rewrite): New function.
2504 (resolve_linker): Consider UPCLINK.
2505 * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest
2506 AM_PROG_UPC for UPC and UPCFLAGS.
2507 * m4/upc.m4: New file.
2508 * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case.
2509 * m4/Makefile.am (dist_m4data_DATA): Add upc.m4.
2510 * doc/automake.texi (Unified Parallel C Support): New node.
2511 (Public macros): Mention AM_PROG_UPC.
2512 (Program and Library Variables, Flag Variables Ordering):
2514 * tests/upc.test, tests/upc2.test, tests/upc3.test: New file.
2515 * tests/Makefile.am (TESTS): Add them.
2516 * tests/ext.test: Also test upc files.
2518 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
2520 * doc/automake.texi (Scripts): Fix some errors in previous patch.
2522 * doc/automake.texi (Scripts): Revamp. Show an example of script
2523 built from configure.ac. Discuss CLEANFILES and EXTRA_DIST for
2524 other built scripts.
2526 * m4/init.m4: Suggest fixing the call to AC_INIT when
2527 AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined. This is for
2528 newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments.
2529 * tests/init.test: New file.
2530 * tests/Makefile.am (TESTS): Add it.
2532 2006-08-04 Stepan Kasal <kasal@ucw.cz>
2534 * automake.in (dist_dirs, fill_dist_dirs): Remove.
2535 * lib/am/distdir.am (DISTDIRS): Remove.
2536 * tests/distdir.test, tests/pr2.test: Do not grep, use
2537 `make distdir' instead.
2539 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
2541 * doc/automake.texi (Conditionals): Split in two sections, "Usage"
2542 and "Portability", and add a third one, "Limits" to explain how
2543 conditional definitions inside multi-lines definitions can be
2545 * automake.in (handle_options): Do not assume that
2546 AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional
2547 definitions of AUTOMAKE_OPTIONS.
2548 Report from Bas Wijnen.
2549 * tests/amopt.test: New test.
2550 * tests/Makefile.am (TESTS): Add it.
2552 * aclocal.in (install_file): Cannot use /dev/null while diffing
2553 new files, because Tru64's diff do not handle /dev/null. So
2554 create an empty destination file before running diff on a new
2555 file, and erase it afterward. Fall back to using /dev/null only
2556 if we cannot create this file.
2557 Report and initial patch from Ralf Wildenhues.
2558 (unlink_tmp): New function.
2559 * test/acloca18.test: Make sure the empty file has been erased.
2561 2006-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2563 * automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects,
2564 do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR,
2565 to help BSD Make find the files also in a VPATH build.
2566 Also return the same path, possibly prefixed, for correct
2568 * tests/pr401.test: Update to expose wrong depdir computation.
2569 Rewrite to not use the same file name for library object and
2571 * tests/pr401b.test, tests/pr401c.test: Likewise.
2573 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
2575 * lib/install-sh: Don't incorrectly claim that this implementation
2576 can install only one file at a time.
2577 (doit_exec): New var, for using 'exec' if possible, to save a process.
2578 (test_mode, intermediate_mode): Remove.
2579 (mode): Check for IFS or globbing characters in mode, since they might
2580 cause weird behavior with the other changes below. All later uses
2581 of '"$mode"' changed to '$mode', since the ""s no longer matter.
2582 Use octal modes if the invoker specifies an octal mode, and use
2583 octal umask values if 'umask' outputs octal values; this is more
2584 likely to work with older operating systems since Automake uses
2585 octal modes, and also works around a bug with HP-UX 11.23
2586 'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in
2587 <http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>.
2588 (cp_umask, mkdir_umask): New variables, to avoid
2589 temporarily creating files or directories with too-permissive modes.
2590 (mkdir_mode): Use the FreeBSD 'install' method for computing modes of
2591 intermediate directories; this is safer.
2592 (posix_mkdir): Also test mkdir -p -m ... by making a directory in
2593 /tmp and checking the resulting mode with 'ls', to catch a bug in
2594 HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message.
2595 Use ':' for true, not 'true'; this is a bit faster on
2596 traditional implementations.
2598 2006-07-09 Jim Meyering <jim@meyering.net>
2600 * lib/depcomp: "in in" -> "in" in comment.
2602 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2604 * tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr,
2605 for consistency with the recommendation prompted by this report:
2606 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
2608 2006-06-24 Stepan Kasal <kasal@ucw.cz>
2609 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2611 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to
2612 `'$(MKDIR_P)'', so that it retains the per-directory value
2613 computed by config.status.
2614 * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from
2615 a changed directory. Bugs reported by Ralf Menzel.
2618 2006-06-24 Eric Dorland <eric@debian.org>
2619 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2621 * automake.in (scan_texinfo_file): Fix matching file extension.
2622 * tests/txinfo31.test: New test.
2623 * tests/Makefile.am: Update.
2625 2006-06-07 Alexandre Duret-Lutz <adl@gnu.org>
2627 * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.
2629 2006-06-07 Stepan Kasal <kasal@ucw.cz>
2631 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
2633 2006-06-06 Stepan Kasal <kasal@ucw.cz>
2634 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2636 * lib/am/distdir.am: Do not call $(mkdir_p) for each
2637 distributed file, collect them and create them in one run,
2638 and strip $(srcdir) and $(top_srcdir) all at once.
2639 Fix some comment typos.
2641 2006-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2643 * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
2644 7.4.4m may omit the first included header dependency information
2645 with `-MDupdate'. Refine test to catch this.
2647 * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
2650 * tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3
2651 requires `config.rpath' to be present, and automake now enforces
2652 this. Test this, but only if the gettext installation works and
2653 is recent enough to provide this diagnosis.
2654 * tests/gettext.test: Provide a dummy `config.rpath' for all
2656 * tests/gettext2.test, tests/subcond.test: Likewise.
2658 * tests/pr401.test: Replace "perl -i" with sed and mv, for
2660 * tests/pr401b.test, tests/pr401c.test, tests/python11.test,
2661 * tests/yacc6.test, tests/yacc8.test: Likewise.
2663 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
2664 plain `grep' on the Makefile, as its line length may exceed that
2665 for grep. Bug report against coreutils by Sam Sirlin.
2668 2006-05-26 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
2670 * doc/automake.texi (Options): Add anchor `tar-formats'.
2672 2006-05-25 Noah Misch <noah@cs.caltech.edu>
2674 * lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides
2675 ENOLCK. Only mention `make -j' when applicable. Only raise
2676 fatal errors when `make -j' is involved. Improve error message.
2678 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2680 * lib/Automake/Configure_ac.pm (find_configure_ac): Use
2681 `$configure_in' instead of `configure.in', to preserve
2682 directory component.
2683 * lib/Automake/Configure_ac.pm: Add note that Automake owns
2685 * lib/Automake/Channels.pm: Likewise.
2686 * lib/Automake/FileUtils.pm: Likewise.
2687 * lib/Automake/Struct.pm: Likewise.
2689 2006-05-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2691 * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
2692 New upstream versions.
2694 2006-05-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2696 * doc/automake.texi (Auxiliary Programs): Fix URL to GCC
2697 repository, they use SVN now.
2699 2006-05-13 Werner Lemberg <wl@gnu.org>
2701 * lib/gnupload: Add support for savannah.gnu.org and
2702 savannah.nongnu.org.
2704 2006-05-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2706 * lib/Automake/Channels.pm, lib/Automake/Condition.pm,
2707 lib/Automake/DisjConditions.pm, lib/Automake/Options.pm,
2708 lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos.
2710 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
2712 * lib/install-sh: Sync from Autoconf, as follows:
2713 Don't use 'path' to talk about file names,
2714 as per GNU coding standards. Close a race condition reported by Ralf
2715 Wildenhues and Stepan Kasal. There is still a race condition
2716 on hosts that predate Posix 1003.1-1992, but we can't help this.
2717 Don't mishandle weird characters like space on pre-Posix hosts.
2718 Invoke mkdir at most once per dir arg on pre-Posix hosts.
2720 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2722 * tests/missing.test, tests/missing2.test: Do not require
2724 * Makefile.am (maintainer-check): Make sure `required=' does not
2725 follow `. ./defs' in the tests.
2727 * tests/ansi10.test: Use AC_PROG_CC_STDC. Fix test that
2728 ac_cv_prog_cc_stdc isn't just used by Automake code in
2730 * tests/ansi6.test, tests/ansi7.test: Likewise.
2731 * tests/ansi9.test: Likewise. Do not override by setting
2732 $U and $(ANSI2KNR) at `make' time; that will be fragile.
2733 * tests/libobj8.test: Use AC_PROG_CC_STDC.
2734 * tests/subobj3.test: Likewise. Use `set -e'.
2736 * lib/install-sh: Initialize IFS, so field splitting isn't
2738 * lib/mkinstalldirs: Likewise.
2740 * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
2741 the path of the prerequisite added; IRIX 6.5 make does not add
2742 it, Solaris 2.6 make is inconsistent about adding it. Fixes
2745 * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
2746 files in the source tree. Fixes failures with HP-UX and Tru64
2749 * lib/am/ansi2knr.am (ansi2knr): Rename target as...
2750 (./ansi2knr): ...this, for BSD make.
2751 (%ANSI2KNR-DIR%/ansi2knr): Adjust.
2753 2006-05-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2755 * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
2756 /bin/sh -e issue with failing commands in if clauses.
2758 * tests/defs.in (Be Bourne compatible): Update from current
2761 * configure.ac: Recommend perl-5.8.2.
2762 * tests/automake.test: Do not fail because of buggy Getopt::Long
2765 * tests/longlin2.test: Do not use `grep' on Makefile.am:
2766 it has long lines and is thus not a text file; AIX 5.1 grep
2767 fails to scan non-plain patterns from long lines.
2769 * tests/overrid.test: Change all regexes for warning messages to
2770 match after a colon, so that the prepended file names do not
2771 cause false matches. Tighten overrides regex. Fix typo
2772 `cleam-am-local' -> `clean-am-local'.
2774 * tests/java.test: `configure' uses a trap, so use `(exit 77);
2775 exit 77' to portably set the exit status similar to AS_EXIT.
2776 * tests/fn99.test: propagate nonzero exit status from subshell.
2778 * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
2779 if ``pwd`' contains the string `-p'. Create the wrapper in a
2780 subdirectory so that `.' in $PATH does not lead to an endless
2783 * lib/depcomp (ia64hp): Rename dependency style to..
2784 (hp2): ..this, as it works with aCC on HPPA, too; adjust
2785 comment. Report by Olivier Fourdan (PR automake/481).
2788 * tests/aclocal7.test: Add `$sleep's between file touching
2789 and automake resp aclocal+automake invocations, to ensure
2790 they complete with a time stamp strictly later than the touched
2793 * lib/missing: Remove superfluous quotes. Replace all uses of
2794 `[' by `test', for consistency, and for..
2795 * tests/missing5.test: ..this new test.
2796 * tests/Makefile.am: Update.
2798 * lib/missing (sed_minuso, sed_output): New variables.
2799 (autom4te, help2man, makeinfo): Use them. Unifies detection of
2800 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
2801 Fixes `missing' to detect `--output' for help2man. Fixes
2802 PR automake/483. Report by Dennis J. Linse.
2803 (autom4te): Document in `missing --help'.
2806 2006-04-26 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
2808 * doc/automake.texi (Dependency Tracking Evolution): Fix typo.
2810 2006-04-25 Stepan Kasal <kasal@ucw.cz>
2812 * lib/install-sh: Simplify the expr implementation of dirname.
2814 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
2816 * lib/install-sh: Handle --, and diagnose unknown options.
2817 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set
2818 mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with
2819 the other ways that mkdir_p might be set.
2821 2006-04-21 Alexandre Duret-Lutz <adl@gnu.org>
2823 * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
2824 (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
2825 * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
2826 (write_aclocal): Output a check for Autoconf's version in aclocal.m4.
2827 Doing so ensures that users cannot build configure and Makefiles
2828 with two different autoconf versions. Report from Noah Misch.
2829 * tests/missing4.test: New file.
2830 * tests/Makefile.am (TESTS): Add it.
2832 2006-04-20 Paul Lunau <temp@lunau.me.uk> (tiny change)
2833 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2835 * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
2836 failed, instead of when the last one failed (PR automake/488).
2837 Report from Paul Lunau.
2838 * tests/dejagnu4.test: Update to expose this.
2841 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2843 * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
2844 TABs as well as spaces. Fixes PR automake/490.
2845 * tests/check6.test: New test.
2846 * tests/Makefile.am, THANKS: Update.
2847 Report from Diab Jerius <djerius@cfa.harvard.edu>.
2849 2006-04-17 Stepan Kasal <kasal@ucw.cz>
2851 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
2852 description; eliminate the duplicate error message.
2853 * doc/automake.texi (@direntry): `Invoking Automake' is the name
2854 of the usage node for `automake'
2855 * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the
2858 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2860 * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
2861 because it uses `datarootdir'. Bump copyright year and serial.
2863 2006-04-10 Stepan Kasal <kasal@ucw.cz>
2867 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
2869 * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
2870 (_gen_varname): Use _hash_values, and return a flag indicating whether
2871 the variable name was generated or reused.
2872 (transform_variable_recursively): Do not redefine variables that
2873 are reused, and try to reuse the variable being transformed.
2874 * tests/check2.test: Make sure TESTS hasn't been redefined.
2875 * tests/check5.test, tests/exeext4.test: Make sure variables have
2877 * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.
2879 * automake.in (%ignored_configure_vars): New variable.
2880 (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill
2881 %ignored_configure_vars.
2882 (define_configure_variable): Declare ignored configure variables
2883 as VAR_SILENT. Do not special-case AMDEPBACKSLASH and ANSI2KNR
2885 * m4/substign.m4: New file.
2886 * m4/Makefile.am (dist_m4data_DATA): Add substign.m4.
2887 * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477).
2888 * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH.
2889 * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR.
2890 * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined.
2891 * tests/amsubst.test: New file.
2892 * tests/Makefile.am (TESTS): Add it.
2894 2006-04-09 Stepan Kasal <kasal@ucw.cz>
2895 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2897 * automake.in (handle_single_transform): Preserve directories in
2898 direct suffix rules.
2899 * tests/suffix12.test: New test.
2900 * tests/Makefile.am (TESTS): Add it.
2901 Report from John Ratliff.
2903 2006-03-25 Mike Frysinger <vapier@gentoo.org> (tiny change)
2904 Alexandre Duret-Lutz <adl@gnu.org>
2906 * aclocal.in ($m4_include_rx): Do not recognize `include', and
2907 adjust scan_configure_dep and scan_file accordingly.
2908 (scan_configure_dep): Do not search white lines.
2909 (scan_file): Strip comments from current line after checking
2910 for serial, so that aclocal does not trip on `m4_include' macros
2911 in comments. Report from Mike Frysinger.
2912 * tests/acloca21.test: New file.
2913 * tests/Makefile.am (TESTS): Add it.
2915 2006-03-24 Stepan Kasal <kasal@ucw.cz>
2917 * tests/mmodely.test: Fix the test on systems with no lex.
2919 2006-03-23 Stepan Kasal <kasal@ucw.cz>
2921 * automake.in (libtool_new_api): Fix a typo in the comment.
2922 * lib/Automake/Makefile.am (Config.pm): Likewise.
2923 * lib/am/depend2.am: Likewise.
2924 * tests/xsource.test: With `set -e', `|| exit 1' is no longer
2927 2006-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2929 * tests/depcomp6.test, tests/depcomp7.test: Change back to
2930 using `$MAKE && exit 1', but make sure the last command in the
2933 2006-03-21 Clifford Wolf <clifford@clifford.at> (tiny change)
2934 Stepan Kasal <kasal@ucw.cz>
2935 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2937 * aclocal.in (parse_arguments): Added wildcard support to the
2939 * doc/automake.texi (Macro search path): Document it.
2940 * tests/dirlist2.test: New test.
2941 * m4/dirlist, tests/Makefile.am: Adjust.
2943 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2945 * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)'
2946 to `AC_PROG_OBJC' if provided, to fix Objective C depmode
2948 * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for
2950 * tests/ext.test: Adjust.
2951 * tests/objc.test, tests/objc2.test: New tests.
2952 * tests/Makefile.am: Adjust.
2953 * doc/automake.texi (Objective C Support): New node.
2954 (Support for Other Languages): Adjust.
2956 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2958 * lib/Automake/RuleDef.pm (DESCRIPTION): Typo.
2960 * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic
2961 to work with `set -e'.
2963 * tests/depcomp6.test, tests/depcomp7.test: New tests,
2964 for general `depcomp' functionality, with and without
2965 `subdir-objects', with and without `libtool'.
2966 * tests/Makefile.am: Adjust.
2968 * aclocal.in (write_aclocal): Unlink `aclocal.m4' before
2969 writing into it, to break a symlinked file.
2970 * tests/acloca20.test: New test.
2971 * tests/Makefile.am: Updated.
2973 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2975 Allow package trees (packages with subpackages) to share
2976 common distributed auxiliary files (and directories) that
2977 reside within a subpackage.
2979 * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if
2980 `$(distdir)' already exists.
2981 (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent
2982 removal of subpackage trees for distribution.
2983 * tests/subpkg3.test: New test.
2984 * tests/Makefile.am: Update.
2986 2006-03-18 Alexandre Duret-Lutz <adl@gnu.org>
2988 * tests/check5.test, tests/nobast.test: Fix $MAKE and rm
2989 invocations to please maintainer-check.
2991 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
2993 * automake.in (lang_c_rewrite): Typo in previous change.
2994 * tests/ccnoco2.test: New file.
2995 * tests/Makefile.am (TESTS): Add ccnoco2.test.
2997 * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
2998 a 'portability' warning, so that people can ignore it. Suggested
3001 * lib/Automake/ChannelDefs.pm: Make -Wportability the default in
3002 gnu and gnits modes.
3003 * doc/automake.texi (Invoking Automake): Adjust.
3005 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3007 * doc/automake.texi (Yacc and Lex): Document that `.ypp' and
3008 `.lpp' file extensions are recognized.
3010 2006-02-21 Alexandre Duret-Lutz <adl@gnu.org>
3012 * doc/automake.texi (Complete, Extending aclocal, Public macros)
3013 (Python, Conditionals, API versioning): Always quote macro arguments.
3014 Report from Stepan Kasal.
3016 2006-02-16 Alexandre Duret-Lutz <adl@gnu.org>
3018 * doc/automake.texi (Python): More examples.
3020 2006-02-05 Alexandre Duret-Lutz <adl@gnu.org>
3022 * doc/automake.texi (distcleancheck): Fix bad wording. Report
3024 (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS).
3026 2006-01-29 Alexandre Duret-Lutz <adl@gnu.org>
3028 Append $(EXEEXT) to programs that may be listed in TESTS.
3029 Report from Simon Josefsson.
3031 * automake.in (%known_programs): New global.
3032 (initialize_per_input): Reset it.
3033 (append_exeext): Take a predicate as first argument to select
3034 the filename to rewrite.
3035 (handle_programs): Fill %known_programs.
3036 (handle_tests): Append $(EXEEXT) to all tests that are in
3038 (am_install_var): Update call to append_exeext.
3039 * doc/automake.texi (EXEEXT): TESTS is also rewritten.
3040 (Tests): More about the difference between check_PROGRAMS and TESTS.
3041 Give an example of TEST_ENVIRONMENT.
3042 * tests/cond32.test: Augment with a nested condition.
3043 * tests/exeext4.test: Also check TESTS.
3044 * tests/check5.test: New file.
3045 * tests/Makefile.am (TESTS): Add check5.test.
3047 2006-01-12 Paul Eggert <eggert@cs.ucla.edu>
3049 * lib/install-sh (dstdir): Don't use semicolons inside { } in
3050 sed scripts, as Posix says it's not portable.
3051 * lib/missing (file): Likewise.
3052 * lib/am/distdir.am (distcheck): Likewise.
3053 * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
3054 * tests/distcom2.test, tests/distcom3.test: Likewise.
3055 * tests/distcom4.test, tests/distcom5.test: Likewise.
3056 * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
3058 2006-01-12 Alexandre Duret-Lutz <adl@gnu.org>
3060 * ChangeLog: Move 2004's entries to ...
3061 * ChangeLog.04: ... this new file.
3062 * Makefile.am (EXTRA_DIST): Add ChangeLog.04.
3064 * tests/txinfo13.test: Test fix below.
3066 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3068 * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted
3069 extra files in distribution. Reported by Vincent Lefevre.
3071 2006-01-06 Alexandre Duret-Lutz <adl@gnu.org>
3073 * doc/automake.texi (Linking, Program and Library Variables):
3074 Mention the file extensions that usually appear in _DEPENDENCIES,
3075 and point to BUILT_SOURCES and example of _DEPENDENCIES uses. A
3076 couple of people have been listing sources files in _DEPENDENCIES
3079 * doc/automake.texi: Bump copyright year.
3080 * automake.in ($gen_copyright, version): Likewise.
3081 * aclocal.in (write_aclocal, version): Likewise.
3083 2006-01-05 Stepan Kasal <kasal@ucw.cz>
3084 Alexandre Duret-Lutz <adl@gnu.org>
3086 * automake.in (topsrcdir): New global.
3087 (generate_makefile): Compute it.
3088 (fill_dist_dirs): New function extracted from handle_dist.
3089 (handle_dist, handle_configure): Use fill_dist_dirs.
3090 * tests/distdir.test: Test for cases where $(top_srcdir) or
3091 $(srcdir) appear in EXTRA_DIST. Report from Sander Niemeijer.
3093 2006-01-05 Zack Weinberg <zackw@panix.com>
3094 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3096 * lib/depcomp: Add 'ia64hp' dependency style.
3097 Zack's original patch was contributed to GCC on 2005-06-13.
3100 2005-11-01 Stepan Kasal <kasal@ucw.cz>
3102 * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
3103 the code is portable to both POSIX and pre-POSIX shells.
3105 2005-10-17 Alexandre Duret-Lutz <adl@gnu.org>
3107 * tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
3108 suggested by Eric Blake.
3110 2005-10-17 Stepan Kasal <kasal@ucw.cz>
3112 * doc/automake.texi (Program and Library Variables): Typo.
3113 * lib/Automake/Variable.pm (transform_variable_recursively): Typo
3116 2005-10-03 Stepan Kasal <kasal@ucw.cz>
3118 * ChangeLog.03, automake.in, tests/overrid.test: Typos.
3120 2005-10-03 Alexandre Duret-Lutz <adl@gnu.org>
3122 * tests/nobase.test: Exercise previous patch.
3124 2005-10-03 Peter O'Gorman <peter@pogma.com> (tiny change)
3126 * lib/am/distdir.am: Remove $(SHELL) when calling install_sh
3127 * m4/strip.m4: Ditto.
3128 * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
3130 2005-09-13 Paul Eggert <eggert@cs.ucla.edu>
3132 * doc/automake.texi (limitations on file names): New section.
3133 * lib/install-sh: Rewrite to support '*' in file names.
3134 Also, tune so that we don't invoke so many commands in the usual case.
3135 This has the side effect of fixing `install-sh -d' to not fail if it
3136 loses the race in creating the last path component against another
3138 * tests/instspc.test: The "*" test is now fixed.
3140 2005-09-13 Stepan Kasal <kasal@ucw.cz>
3142 * automake.in (Languages) <cppasm>: Fix typo in the comment.
3144 2005-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3146 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
3147 shell in verbose mode.
3149 2005-08-07 Alexandre Duret-Lutz <adl@gnu.org>
3151 * lib/Automake/Variable.pm (variable_value): Do not read the TRUE
3152 value of a conditionally defined variable.
3153 Report from Juergen Leising.
3155 * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
3156 $(MAKE) invocations.
3157 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
3159 * lib/am/texi-vers.am (%STAMPVTI%): Likewise.
3160 * lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
3161 * Makefile.am (maintainer-check): Check for this.
3162 Report from Stepan Kasal.
3164 * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.
3165 Prompted by Stepan Kasal.
3167 2005-08-07 Stepan Kasal <kasal@ucw.cz>
3169 * lib/am/texinfos.am (uninstall-info-am): Call install-info only if
3170 the $(infodir) exists.
3172 2005-07-31 Stepan Kasal <kasal@ucw.cz>
3174 * tests/library3.test: Fix a typo which made the test fail.
3176 2005-07-27 Alexandre Duret-Lutz <adl@gnu.org>
3178 * doc/automake.texi (Linking, Program and Library Variables):
3179 Suggest reserving -l for third-party libraries.
3181 * lib/Automake/Variable.pm (require_variables): Mention aclocal's
3182 search path when suggesting to add a macro in configure.ac.
3183 People are confused when Automake suggests adding a macro (such as
3184 AC_PROG_LIBTOOL) that is already in configure.ac.
3185 * automake.in (require_file_internal): Suggest `automake --add-missing'
3186 for missing files that can be installed.
3187 * tests/library3.test: Adjust.
3189 2005-07-27 Stepan Kasal <kasal@ucw.cz>
3191 * tests/defs.in: When required matches both `*libtool*' and
3192 `*gettext*', check for both m4 files.
3194 * doc/automake.texi (Auxiliary Programs): Fix a typo.
3195 * tests/suffix11.test: Fix a typo.
3196 * tests/colon3.test: s/EGREP/FGREP/.
3198 2005-07-19 Paul Eggert <eggert@cs.ucla.edu>
3200 * tests/instspc.test: Major rewrite to test for many other
3201 problematic file names, e.g., '$', '"', '('. Automake and
3202 Autoconf can't handle many of them, so do not report a failure
3203 if the usual candidates show up.
3205 2005-07-19 Stepan Kasal <kasal@ucw.cz>
3207 * Makefile.am (automake, aclocal): Merge the rules.
3209 2005-07-10 Alexandre Duret-Lutz <adl@gnu.org>
3211 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
3214 2005-07-09 Alexandre Duret-Lutz <adl@gnu.org>
3216 * lib/install-sh: Use IFS=/ to split directories on /, don't translate
3217 / into % as it prevents directory names using %...
3219 2005-07-09 Stepan Kasal <kasal@ucw.cz>
3221 * doc/automake.texi (Public macros): Typo.
3222 * aclocal.in: Typo in comment.
3224 2005-07-09 Zack Weinberg <zack@codesourcery.com> (tiny change)
3226 * lib/depcomp: Handle "#line" markers as well as "# " markers in
3227 "cpp" style, so it can work with newer HP compilers (for their
3230 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
3232 * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
3233 fix an underful hbox.
3234 * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
3235 New upstream versions.
3237 2005-07-01 Alexandre Duret-Lutz <adl@gnu.org>
3239 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
3241 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
3243 * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
3244 lib/am/header-vars.am no longer uses it.
3245 * lib/am/libtool.am (distclean-am, distclean-libtool): Define
3246 if TOPDIR_P is true, not TOPDIR.
3247 Suggested by Stepan Kasal.
3249 * automake.in (read_am_file): Correctly diagnose comments following
3251 * tests/commen10.test: New file.
3252 * tests/Makefile.am (TESTS): Add commen10.test.
3253 Report from Harald Dunkel.
3255 * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead
3257 * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL):
3258 Do not define, they are AC_SUBST_TRACEd by Autoconf.
3259 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c.
3260 * tests/include.test: Call AC_OUTPUT.
3262 2005-06-29 Alexandre Duret-Lutz <adl@gnu.org>
3264 * lib/mkinstalldirs: Fix support for directory name with spaces if
3265 `mkdir -p' does not work.
3266 * tests/Makefile.am (TESTS): Add mkinst3.test.
3267 * tests/mkinst3.test: New file.
3268 Report from Noah Friedman.
3270 * doc/automake.texi (Include, Extending aclocal): Typos.
3271 Report from Karl Berry.
3273 2005-06-28 Stepan Kasal <kasal@ucw.cz>
3274 Alexandre Duret-Lutz <adl@gnu.org>
3276 * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
3277 * tests/txinfo28.test: Set TIME_STYLE.
3278 Report from Vincent Lefevre and James Youngman.
3280 2005-06-24 Alexandre Duret-Lutz <adl@gnu.org>
3282 * lib/Automake/Variable.pm (define, _new): Remember the helper
3283 variable created for the last conditional += on each variable, and
3284 only append further += in the same condition to this last helper
3285 variable, not to older helper variables. This way the order of
3286 the items appended to the variable is preserved.
3287 * tests/cond21.test: Adjust.
3288 * tests/cond38.test: New file.
3289 * tests/Makefile.am (TESTS): Add cond38.test.
3290 Report from Ed Hartnett.
3292 2005-06-22 Alexandre Duret-Lutz <adl@gnu.org>
3294 * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
3296 * automake.in (handle_footer): Do not output an unformatted
3297 definition of SOURCES, it is already done correctly in
3298 generate_makefile. This superfluous definition introduced long
3299 lines in some Makefiles, hence breakages in tools with a limited
3300 line length. Report from Mathias Froehlich.
3302 2005-06-11 Alexandre Duret-Lutz <adl@gnu.org>
3304 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
3305 Fix redirections in previous patch.
3307 2005-06-08 Alexandre Duret-Lutz <adl@gnu.org>
3309 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
3310 Do not backup any file if makeinfo is not installed.
3311 * lib/missing (makeinfo): Do not touch a missing info file.
3312 * tests/txinfo30.test: New file.
3313 * tests/Makefile.am (TESTS): Add txinfo30.test.
3314 Report from Bob Proulx.
3316 * doc/automake.texi (Extending aclocal): Typo.
3318 2005-05-24 Brian Gough <bjg@network-theory.co.uk> (tiny change)
3320 * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
3322 2005-05-15 Alexandre Duret-Lutz <adl@gnu.org>
3324 Fix PR automake/461:
3325 * automake.in (require_build_directory): Canonicalize directories
3326 with different names, such as `foo/bar' and `./foo//bar'.
3327 * tests/subobj9.test: Augment to test that.
3328 Report from Tom Tromey.
3330 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
3332 * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
3333 ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am,
3334 NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure,
3335 configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING,
3336 lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in,
3337 lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp,
3338 lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile,
3339 lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
3340 lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
3341 lib/Automake/Condition.pm, lib/Automake/Config.in,
3342 lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
3343 lib/Automake/FileUtils.pm, lib/Automake/General.pm,
3344 lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
3345 lib/Automake/Location.pm, lib/Automake/Makefile.am,
3346 lib/Automake/Options.pm, lib/Automake/Rule.pm,
3347 lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
3348 lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
3349 lib/Automake/Version.pm, lib/Automake/Wrap.pm,
3350 lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
3351 lib/Automake/tests/DisjConditions.pl,
3352 lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
3353 lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
3354 lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
3355 lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
3356 lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
3357 lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
3358 lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
3359 lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
3360 lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
3361 lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
3362 lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
3363 lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
3364 lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
3365 lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
3366 lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
3367 m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
3368 tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
3369 tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
3370 tests/acloca17.test, tests/acloca18.test, tests/acloca19.test,
3371 tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test,
3372 tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test,
3373 tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test,
3374 tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test,
3375 tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test,
3376 tests/acsubst.test, tests/acsubst2.test, tests/all.test,
3377 tests/alloca.test, tests/alloca2.test, tests/alpha.test,
3378 tests/alpha2.test, tests/amassign.test, tests/ammissing.test,
3379 tests/ansi.test, tests/ansi10.test, tests/ansi2.test,
3380 tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test,
3381 tests/ansi5.test, tests/ansi6.test, tests/ansi7.test,
3382 tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test,
3383 tests/asm.test, tests/autohdr.test, tests/autohdr2.test,
3384 tests/autohdr3.test, tests/autohdr4.test, tests/automake.test,
3385 tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test,
3386 tests/auxdir4.test, tests/backsl.test, tests/backsl2.test,
3387 tests/backsl3.test, tests/backsl4.test, tests/badline.test,
3388 tests/badopt.test, tests/badprog.test, tests/block.test,
3389 tests/bsource.test, tests/canon.test, tests/canon2.test,
3390 tests/canon3.test, tests/canon4.test, tests/canon5.test,
3391 tests/ccnoco.test, tests/check.test, tests/check2.test,
3392 tests/check3.test, tests/check4.test, tests/checkall.test,
3393 tests/clean.test, tests/clean2.test, tests/colneq.test,
3394 tests/colneq2.test, tests/colon.test, tests/colon2.test,
3395 tests/colon3.test, tests/colon4.test, tests/colon5.test,
3396 tests/colon6.test, tests/colon7.test, tests/comment.test,
3397 tests/comment2.test, tests/comment3.test, tests/comment4.test,
3398 tests/comment5.test, tests/comment6.test, tests/comment7.test,
3399 tests/comment8.test, tests/comment9.test, tests/compile.test,
3400 tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test,
3401 tests/cond.test, tests/cond10.test, tests/cond11.test,
3402 tests/cond13.test, tests/cond14.test, tests/cond15.test,
3403 tests/cond16.test, tests/cond17.test, tests/cond18.test,
3404 tests/cond19.test, tests/cond2.test, tests/cond20.test,
3405 tests/cond21.test, tests/cond22.test, tests/cond23.test,
3406 tests/cond24.test, tests/cond25.test, tests/cond26.test,
3407 tests/cond27.test, tests/cond28.test, tests/cond29.test,
3408 tests/cond3.test, tests/cond30.test, tests/cond31.test,
3409 tests/cond32.test, tests/cond33.test, tests/cond34.test,
3410 tests/cond35.test, tests/cond36.test, tests/cond37.test,
3411 tests/cond4.test, tests/cond5.test, tests/cond6.test,
3412 tests/cond7.test, tests/cond8.test, tests/cond9.test,
3413 tests/condd.test, tests/condhook.test, tests/condinc.test,
3414 tests/condinc2.test, tests/condlib.test, tests/condman.test,
3415 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
3416 tests/conff.test, tests/conff2.test, tests/confh.test,
3417 tests/confh4.test, tests/confh5.test, tests/config.test,
3418 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
3419 tests/conflnk3.test, tests/confsub.test, tests/confvar.test,
3420 tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
3421 tests/cxx.test, tests/cxx2.test, tests/cxxansi.test,
3422 tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test,
3423 tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test,
3424 tests/dash.test, tests/defs.in, tests/defun.test,
3425 tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
3426 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
3427 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
3428 tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test,
3429 tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test,
3430 tests/depend.test, tests/depend2.test, tests/depend3.test,
3431 tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
3432 tests/dirlist.test, tests/discover.test, tests/distcom2.test,
3433 tests/distcom3.test, tests/distcom4.test, tests/distcom5.test,
3434 tests/distcom6.test, tests/distcom7.test, tests/distdir.test,
3435 tests/distname.test, tests/dollar.test, tests/double.test,
3436 tests/dup2.test, tests/else.test, tests/empty.test,
3437 tests/empty2.test, tests/empty3.test, tests/empty4.test,
3438 tests/exdir.test, tests/exdir2.test, tests/exeext.test,
3439 tests/exeext2.test, tests/exeext3.test, tests/exeext4.test,
3440 tests/exsource.test, tests/ext.test, tests/ext2.test,
3441 tests/extra.test, tests/extra2.test, tests/extra3.test,
3442 tests/extra4.test, tests/extra5.test, tests/extra6.test,
3443 tests/extra7.test, tests/f90only.test, tests/flibs.test,
3444 tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test,
3445 tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
3446 tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
3447 tests/gcj5.test, tests/getopt.test, tests/gettext.test,
3448 tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
3449 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
3450 tests/gnuwarn2.test, tests/header.test, tests/help.test,
3451 tests/hfs.test, tests/hosts.test, tests/implicit.test,
3452 tests/include.test, tests/include2.test, tests/info.test,
3453 tests/insh2.test, tests/install2.test, tests/installdir.test,
3454 tests/instdat.test, tests/instdat2.test, tests/instexec.test,
3455 tests/insthook.test, tests/instman.test, tests/instman2.test,
3456 tests/instsh.test, tests/instsh2.test, tests/instspc.test,
3457 tests/interp.test, tests/interp2.test, tests/java.test,
3458 tests/java2.test, tests/java3.test, tests/javaprim.test,
3459 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
3460 tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
3461 tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
3462 tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
3463 tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
3464 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
3465 tests/library.test, tests/library2.test, tests/library3.test,
3466 tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
3467 tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
3468 tests/libtool7.test, tests/libtool8.test, tests/libtool9.test,
3469 tests/license.test, tests/link_c_cxx.test, tests/link_dist.test,
3470 tests/link_f90_only.test, tests/link_f_only.test,
3471 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
3472 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
3473 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
3474 tests/lisp8.test, tests/listval.test, tests/location.test,
3475 tests/longlin2.test, tests/longline.test, tests/ltcond.test,
3476 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
3477 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
3478 tests/make.test, tests/makej.test, tests/makevars.test,
3479 tests/man.test, tests/man2.test, tests/mclean.test,
3480 tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
3481 tests/mdate4.test, tests/missing.test, tests/missing2.test,
3482 tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
3483 tests/mmodely.test, tests/multlib.test, tests/nobase.test,
3484 tests/nodef.test, tests/nodef2.test, tests/nodep.test,
3485 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
3486 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
3487 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
3488 tests/nostdinc.test, tests/number.test, tests/obsolete.test,
3489 tests/order.test, tests/outdir.test, tests/output.test,
3490 tests/output10.test, tests/output11.test, tests/output12.test,
3491 tests/output2.test, tests/output3.test, tests/output4.test,
3492 tests/output5.test, tests/output6.test, tests/output7.test,
3493 tests/output8.test, tests/output9.test, tests/overrid.test,
3494 tests/parse.test, tests/percent.test, tests/percent2.test,
3495 tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
3496 tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
3497 tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
3498 tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
3499 tests/ppf77.test, tests/pr2.test, tests/pr204.test,
3500 tests/pr211.test, tests/pr220.test, tests/pr224.test,
3501 tests/pr229.test, tests/pr243.test, tests/pr266.test,
3502 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
3503 tests/pr300-lib.test, tests/pr300-ltlib.test,
3504 tests/pr300-prog.test, tests/pr307.test, tests/pr401.test,
3505 tests/pr401b.test, tests/pr401c.test, tests/pr72.test,
3506 tests/pr87.test, tests/pr9.test, tests/prefix.test,
3507 tests/primary.test, tests/primary2.test, tests/primary3.test,
3508 tests/proginst.test, tests/python.test, tests/python10.test,
3509 tests/python11.test, tests/python12.test, tests/python2.test,
3510 tests/python3.test, tests/python4.test, tests/python5.test,
3511 tests/python6.test, tests/python7.test, tests/python8.test,
3512 tests/python9.test, tests/recurs.test, tests/recurs2.test,
3513 tests/regex.test, tests/remake.test, tests/remake2.test,
3514 tests/remake3.test, tests/remake4.test, tests/remake5.test,
3515 tests/req.test, tests/reqd.test, tests/reqd2.test,
3516 tests/rulepat.test, tests/scripts.test, tests/seenc.test,
3517 tests/sinclude.test, tests/space.test, tests/specflg.test,
3518 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
3519 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
3520 tests/spell.test, tests/spell2.test, tests/spell3.test,
3521 tests/spelling.test, tests/spy.test, tests/srcsub.test,
3522 tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
3523 tests/stdlib2.test, tests/strip.test, tests/subcond.test,
3524 tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
3525 tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
3526 tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
3527 tests/subdir8.test, tests/subdir9.test,
3528 tests/subdirbuiltsources.test, tests/subobj.test,
3529 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
3530 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
3531 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
3532 tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
3533 tests/subst2.test, tests/substre2.test, tests/substref.test,
3534 tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
3535 tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
3536 tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
3537 tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
3538 tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
3539 tests/syntax.test, tests/tags.test, tests/tagsub.test,
3540 tests/tar.test, tests/tar2.test, tests/tar3.test,
3541 tests/target-cflags.test, tests/targetclash.test,
3542 tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
3543 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
3544 tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
3545 tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
3546 tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
3547 tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
3548 tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
3549 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
3550 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
3551 tests/vars.test, tests/vars3.test, tests/vartar.test,
3552 tests/version.test, tests/version2.test, tests/version3.test,
3553 tests/version4.test, tests/version6.test, tests/version7.test,
3554 tests/version8.test, tests/vpath.test, tests/vtexi.test,
3555 tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
3556 tests/werror2.test, tests/whoami.test, tests/xsource.test,
3557 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
3558 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
3559 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
3560 tests/yaccvpath.test: Update FSF postal mail address.
3562 * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
3563 Autoconf currently defines a CCC variable.
3565 * tests/output11.test, tests/output12.test: Use rm -f.
3567 2005-04-25 Gary V. Vaughan <gary@gnu.org>
3568 Alexandre Duret-Lutz <adl@gnu.org>
3570 Support for remote LIBOBJS (and friends) with subdir-objects.
3571 Fixes PR automake/401.
3573 * automake.in (config_libobj_dir): New variable.
3574 (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
3575 (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
3576 (handle_LIBOBJS, handle_ALLOCA): Use them. Adjust location of
3577 dependency files, possibly in a subdirectory.
3578 * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
3579 * tests/Makefile.am (TESTS): Add them.
3580 * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
3581 (LIBOBJS): Document changes in behaviour of
3582 LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
3583 subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
3585 2005-04-18 Jim Meyering <jim@meyering.net>
3587 * doc/automake.texi (Dist): Correct English.
3589 2005-03-31 Stepan Kasal <kasal@ucw.cz>
3591 * doc/automake.texi: When the phrase "for instance" introduces a
3592 sentence, it should be delimited by a comma.
3594 * doc/automake.texi: Fix a few typos.
3596 2005-03-30 Alexandre Duret-Lutz <adl@gnu.org>
3598 * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
3599 example, since the GCS now define htmldir.
3600 (Auxiliary Programs): Mention config-ml.in and symlink-tree.
3601 Give a URL for texinfo.tex.
3602 (Public macros): Sort alphabetically, and move obsolete macros...
3603 (Obsolete macros): ... here.
3604 Prompted by Karl Berry.
3606 2005-03-29 Alexandre Duret-Lutz <adl@gnu.org>
3608 * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
3611 * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
3612 rule is run with `make -j'.
3613 * doc/automake.texi (Multiple Outputs): Adjust.
3614 * tests/lisp6.test: Augment it.
3615 * tests/lisp8.test: New file.
3616 * tests/Makefile.am (TESTS): Add lisp8.test.
3617 Suggested by Bruno Haible.
3619 2005-03-27 Alexandre Duret-Lutz <adl@gnu.org>
3621 * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
3623 2005-03-16 Alexandre Duret-Lutz <adl@gnu.org>
3625 * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
3626 a missing *.elc file if it cannot be created because emacs does
3628 * tests/lisp7.test: New file.
3629 * tests/Makefile.am (TESTS): Add lisp7.test.
3630 Report from Greg Schafer.
3632 2005-03-05 Alexandre Duret-Lutz <adl@gnu.org>
3634 * doc/automake.texi: Replace wicked whiches by thats.
3636 2005-03-04 Alexandre Duret-Lutz <adl@gnu.org>
3638 * aclocal.in (scan_configure_dep, scan_file): Include file names
3639 are relative to the directory of configure.ac, not to the
3640 directory of the file doing the include. Remove code for this
3642 * tests/acloca13.test: Run distcheck and make sure all macros are
3643 actually distributed.
3645 2005-03-03 Alexandre Duret-Lutz <adl@gnu.org>
3647 For PR automake/450:
3648 * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
3650 * automake.in (scan_autoconf_traces): Likewise.
3651 * tests/sinclude.test: Augment.
3652 Report from Peter Breitenlohner.
3654 For PR automake/450:
3655 * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
3656 acinclude.m4 and configure.ac to the include map in these two
3658 (strip_redundant_includes): ... do it here. This completes the
3659 previous change from 2005-03-01, that did not update
3661 * tests/acloca19.test: Augment.
3662 Report from Peter Breitenlohner.
3664 2005-03-02 Alexandre Duret-Lutz <adl@gnu.org>
3666 * tests/comment9.test: Typo.
3668 2005-03-01 Alexandre Duret-Lutz <adl@gnu.org>
3670 * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
3671 * tests/comment9.test: New file.
3672 * tests/Makefile.am (TESTS): Add comment9.test.
3673 Report from Julien Sopena.
3675 For PR automake/450:
3676 * aclocal.in (trace_used_macros): Do not explicitly trace files
3677 included by configure.ac.
3678 * tests/acloca19.test: New file.
3679 * tests/Makefile.am (TESTS): Add acloca19.test.
3680 Report from Peter Breitenlohner.
3682 2005-02-27 Alexandre Duret-Lutz <adl@gnu.org>
3684 Fix for PR automake/448:
3685 * automake.in (handle_factored_dependencies): Flag install-hook as
3687 * tests/insthook.test: Exercise this.
3689 * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
3690 * doc/automake.texi (Hard-Coded Install Paths): Adjust.
3692 * doc/automake.texi: Replace many uses of @samp by @code, and
3693 vice versa. Use @command, @option, and @env where appropriate.
3695 2005-02-26 Alexandre Duret-Lutz <adl@gnu.org>
3697 * doc/automake.texi: "filename" -> "file name", for consistency
3698 with GNU Coding Standards. See also Paul's change on 2004-08-20
3701 * doc/automake.texi (A Library, Libtool Libraries): Show how to link
3702 a program with a static or libtool library.
3703 (Program and Library Variables): Make clearer that _LDADD and
3704 _LIBADD may also list libraries.
3705 Prompted by a mail from Bruce Korb.
3707 * doc/automake.texi (Alternative): Show how to rewrite nobase_
3708 variables using custom directory variables, and link to node
3709 Uniform. Suggested by Leonardo Boiko.
3711 * doc/automake.texi (Flag Variables Ordering, User Variables):
3712 Make clearer who the maintainer is, and that he can AC_SUBST AM_
3713 variables in configure.ac. Suggested by Norman Gray.
3714 (Uniform, Public macros, Libtool Issues, Java Support,
3715 Conditionals): Use `---' for em dash, and stick them to the
3718 * doc/automake.texi: Reword a few sentences to fix all underflow
3719 and overflow warnings during `make dvi'.
3720 (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
3721 (Public macros) <AM_WITH_DMALLOC>: Likewise.
3723 2005-02-12 Alexandre Duret-Lutz <adl@gnu.org>
3725 * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
3726 lib/texinfo.tex: New upstream versions.
3728 * doc/automake.texi (Hard-Coded Install Paths): New node.
3729 (Extending, Extending aclocal, Python): Link to it.
3730 (Extending): Don't show how to install a file in /etc/ directly,
3733 * automake.in (read_am_file): Define variables containing long
3734 lines as VAR_PRETTY to work around tools with limited input width.
3735 * tests/longlin2.test: New file.
3736 * tests/Makefile.am (TESTS): Add it.
3737 Report from Albert Chin.
3739 2005-02-09 Alexandre Duret-Lutz <adl@gnu.org>
3741 Fix for PR automake/447:
3742 * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
3743 Report from Mathias Doreille. Add some old comments from
3744 Nicolas Joly for reference.
3746 2005-02-08 Stepan Kasal <kasal@ucw.cz>
3748 * lib/mdate-sh: Check the size of the word following the month to
3749 catch Darwin. This way the filename can contain spaces.
3751 * doc/automake.texi (Requirements, Options): Typos.
3753 2005-02-08 Alexandre Duret-Lutz <adl@gnu.org>
3755 * lib/missing (makeinfo): Compute the output file if neither -o
3756 nor @setfilename is used.
3757 Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
3759 2005-02-07 Alexandre Duret-Lutz <adl@gnu.org>
3761 * doc/automake.texi (Requirements): Show one example of
3762 AC_CONFIG_FILES with multiple outputs, and correct a few typos.
3764 * aclocal.in ($serial_line_rx): Expect at least one space between
3765 `serial' and the following number.
3766 Report from Jim Meyering.
3768 * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
3769 Report from Peter O'Gorman.
3771 2005-02-06 Alexandre Duret-Lutz <adl@gnu.org>
3773 * aclocal.in (usage, parse_arguments): New --dry-run and --diff
3775 (install_file, write_aclocal): Honor --dry-run and --diff.
3776 * doc/automake.texi (aclocal options): Document --dry-run and --diff.
3777 (Serials): Mention --diff.
3778 * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
3779 $expected_exit_code argument.
3780 (xsystem): Take a list of arguments, not a string.
3781 * tests/acloca18.test: Use --dry-run and --diff.
3782 Suggested by Paul Eggert.
3784 * doc/automake.texi (aclocal options, Macro search path,
3785 Extending aclocal, Local Macros, Serials, Future of aclocal): Make
3786 these subsection of ...
3787 (Invoking aclocal): ... this.
3789 * aclocal.in ($serial_line_rx): Allow trailing garbage after the
3791 (scan_file): Explicitly mark the "ill-formed serial" message
3793 * doc/automake.texi (aclocal options, Local Macros): Link to...
3794 (Serials): ... this new section.
3796 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
3798 * lib/compile: Likewise.
3800 2005-02-02 Alexandre Duret-Lutz <adl@gnu.org>
3802 * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
3804 * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
3805 status if a write failure occurs with --help or --version option,
3808 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
3810 * lib/depcomp: Exit with nonzero status if a write failure occurs
3811 with --help or --version option.
3812 * lib/elisp-comp: Likewise.
3813 * lib/gnupload: Likewise.
3814 * lib/install-sh: Likewise.
3815 * lib/missing: Likewise.
3816 * lib/mkinstalldirs: Likewise.
3818 2005-02-01 Alexandre Duret-Lutz <adl@gnu.org>
3820 * doc/automake.texi (aclocal options): Typo.
3822 * aclocal.in (list_compare): New functions.
3823 (scan_file): Honor #serial lines.
3824 * tests/acloca18.test: New test.
3825 * tests/Makefile.am (TESTS): Add it.
3826 * doc/automake.texi (aclocal options, Local Macros): Document
3829 2005-01-30 Alexandre Duret-Lutz <adl@gnu.org>
3831 Preliminary support for `aclocal --install'.
3832 This still lacks #serial support.
3833 * aclocal.in (reset_maps, install_file): New functions.
3834 (write_aclocal): Copy files if --install.
3835 (usage, parse_arguments): Recognize --install.
3836 ("MAIN"): Start aclocal again if some file were installed.
3837 * tests/acloca10.test: Augment to test --install.
3838 * tests/aclocal.in, tests/defs.in: Add support for
3839 ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
3840 * doc/automake.texi (aclocal options, Local Macros): Document
3842 (Future of aclocal): Adjust.
3844 * doc/automake.texi (Macro search path): Using --acdir is not
3845 obvious, it's erroneous.
3847 * doc/automake.texi (direntry): Let `info Automake' point to the
3848 manual, and `info automake' to the `Invoking automake' node. Like
3851 2005-01-27 Akim Demaille <akim@epita.fr>
3853 * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
3856 2005-01-24 Akim Demaille <akim@epita.fr>
3858 * lib/Automake/FileUtils.pm: Rename filename as file_name to be
3859 consistent with the terminology of the GNU coding standards.
3861 (update_file): Accept a $force argument, so that --force always
3862 updates the time stamps.
3864 2005-01-23 Alexandre Duret-Lutz <adl@gnu.org>
3866 * doc/automake.texi (How the Linker is Chosen): Explain how the
3867 linker is chosen without diagram, and update to match the code.
3868 Suggestion from Adrian Bunk.
3870 2005-01-16 Alexandre Duret-Lutz <adl@gnu.org>
3872 * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
3873 Process all words of $MAKEFLAGS when checking for -k.
3874 * tests/check4.test: New file.
3875 * tests/Makefile.am (TESTS): Add check4.test.
3876 Report from Eric Blake.
3878 2005-01-13 Alexandre Duret-Lutz <adl@gnu.org>
3880 * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
3881 AM_INIT_AUTOMAKE if the version passed is incorrect.
3882 * tests/version8.test: New file.
3883 * tests/Makefile.am (TESTS): Add version8.test.
3885 2005-01-09 Alexandre Duret-Lutz <adl@gnu.org>
3887 * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
3888 m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
3889 m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
3890 m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
3891 m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
3892 m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
3893 m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
3894 m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
3895 license that is used in aclocal.m4. Relicensing backed by RMS.
3897 * doc/automake.texi (A Library, LIBOBJS): Mention that empty
3898 libraries are not portable.
3900 2005-01-05 Akim Demaille <akim@epita.fr>
3902 * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
3903 * tests/aclocal5.test (MORE_DEFS): Rename as...
3904 (AM_TEST): this so that undefined macros are caught.
3905 And make it an alias of AC_SUBST.
3907 Reported by Martin Bravenboer.
3909 2005-01-03 Alexandre Duret-Lutz <adl@gnu.org>
3911 Fix handling of per-target flags in link rules.
3912 * automake.in (define_per_target_linker_variable): New function.
3913 (handle_programs, handle_ltlibraries): Use it.
3914 (%link_languages): New map.
3915 (register_language): Fill it.
3916 * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
3917 $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
3918 define_per_target_linker_variable if needed.
3919 * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
3920 $(%XPROGRAM%_LDFLAGS).
3921 * doc/automake.texi (Program and Library Variables): Mention
3922 AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
3923 and maude_LIBTOOLFLAGS.
3924 * tests/libtool9.test: New file.
3925 * tests/Makefile.am (TESTS): Add it.
3926 * NEWS: Explain the backward incompatibility.
3927 Report from Akim Demaille.
3929 2005-01-01 Alexandre Duret-Lutz <adl@gnu.org>
3931 * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
3932 specifications with shell variables.
3933 (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
3934 AC_CONFIG_FILES for this explanation.
3935 * automake.in (substitute_ac_subst_variables_worker,
3936 substitute_ac_subst_variables): Mew functions.
3937 (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
3938 to ignore dependencies that contain unAC_SUBSTed shell variables.
3939 (handle_configure): Likewise, do not output rules for
3940 AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
3941 unAC_SUBSTed contain shell variables.
3942 * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
3943 * tests/output11.test, tests/output12.test: New files.
3944 * tests/Makefile.am (TESTS): Add output11.test and output12.test.
3946 * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
3947 * automake.in ($gen_copyright, version): Likewise.
3951 Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
3953 Copying and distribution of this file, with or without modification, are
3954 permitted provided the copyright notice and this notice are preserved.