Update to GFDL 1.3.
[automake.git] / ChangeLog
blobf1d8b6cd04f89b7f9c57ca090d640c5472779cc0
1 2008-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3         Update to GFDL 1.3.
4         * doc/fdl.texi: Update to GFDL 1.3.
5         * doc/automake.texi (GNU Free Documentation License): Adjust.
6         * NEWS: Update.
8         * NEWS: Fix typos.
9         * automake.in: Fix typos in comments.  Remove extraneous
10         whitespace.
12 2008-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
14         Cope with absent Perl modules threads and Thread::Queue.
15         * automake.in: Instead of `use threads', use `require threads;
16         import threads' inside a BEGIN section.  Likewise for
17         Thread::Queue.
18         * lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Likewise.
19         * lib/Automake/tests/Condition-t.pl: Likewise.
20         * lib/Automake/tests/DisjConditions-t.pl: Likewise.
21         * configure.ac: Likewise, use `require' and `import'.
22         Report by Eric Blake, fix suggested by Ben Pfaff.
24 2008-11-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
26         Multiple 'make uninstall' should not fail even for TEXINFOS.
27         * lib/am/texinfos.am (uninstall-info-am): Do not fail due to
28         install-info if the installed file does not exist (any more).
29         * tests/txinfo26.test: Issue multiple `make uninstall'.
30         * tests/instmany-mans.test: Likewise.
31         * tests/instmany-python.test: Likewise.
32         * tests/instmany.test: Likewise.
33         * tests/txinfo26.test: Likewise.
34         * NEWS: Update.
36 2008-11-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
38         New public macro AM_SUBST_NOTMAKE.
39         * m4/substnot.m4 (AM_SUBST_NOTMAKE): New public macro; invoke
40         _AM_SUBST_NOTMAKE with arguments.
41         * doc/automake.texi (Optional): Document it.
42         * NEWS: Update.
43         * tests/subst4.test: New test.
44         * tests/Makefile.am: Update.
45         Suggestion by Bruno Haible.
47         Fix regression introduced by AM_DEFAULT_SOURCE_EXT.
48         * automake.in (handle_source_transform): Use the right variable
49         when determining whether to apply the old rule for the libtool
50         library default source name.
51         Testsuite failure exposed by Bob Proulx' build daemon.
53 2008-11-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
55         New maintainer target release-stats.
56         * Makefile.am (release-stats): New target, to help computing the
57         entries in the statistics table in automake.texi.
58         * doc/automake.texi (Releases): Reformat a bit.  Add number of
59         generated files.  Add entry for 1.10.1.
61         Choose default source extension: AM_DEFAULT_SOURCE_EXT.
62         * automake.in (handle_source_transform): Accept unconditional
63         literal extension in AM_DEFAULT_SOURCE_EXT as override for the
64         default source extension `.c'.  If set, ignore the old default
65         source rule for libtool libraries.
66         * doc/automake.texi (Default _SOURCES): Document this.
67         * NEWS: Update.
68         * tests/specflg10.test: New test.
69         * tests/Makefile.am: Update.
70         Suggestion by Akim Demaille.
72         Fix maintainer-check failure.
73         * tests/parallel-am.test: Rename variable to not match pattern
74         used in maintainer-check.
76 2008-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
78         * NEWS: Fix typo.
79         Spotted by Jim Meyering.
81 2008-10-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
83         Parallel automake --add-missing: serialized file installs.
84         * automake.in (QUEUE_CONF_FILE, QUEUE_LOCATION, QUEUE_STRING):
85         New serialization keys.
86         ($required_conf_file_queue): New file global.
87         (queue_required_conf_file, require_queued_conf_file): New
88         functions, to queue and dequeue requirements for aux dir files.
89         (require_conf_file): Enqueue if needed.
90         (get_number_of_threads): Can do threads with --add-missing now.
91         (handle_makefiles_threaded): Let worker threads enqueue, let
92         master attend to queued requirements at the right time.
93         * tests/parallel-am.test: Explain the purpose of the include
94         chain used here.
95         * tests/parallel-am2.test: Also cope with --add-missing.
96         * tests/parallel-am3.test: New test, test absence of races with
97         concurrent same-file installs stemming from --add-missing.
98         * tests/Makefile.am: Adjust.
100         Implement serialization for Locations.
101         * lib/Automake/Location.pm (serialize, deserialize): New
102         functions.  They allows to serialize a Location in an array, and
103         to restore a Location from a thread queue.  The API is
104         unsymmetric (array vs. queue) because enqueuing data needs to
105         happen atomically.
107         Parallel automake: ordered output messages.
108         * lib/Automake/Channels.pm (%_default_options): New options
109         `ordered' default enabled, `queue', default zero (no queue),
110         `queue_key' default undefined.
111         (_merge_options): Ensure `ordered' channels cannot have fatal
112         messages or backtrace output.
113         (_enqueue, _dequeue): New functions, to push messages onto a
114         Thread::Queue, and output messages from such a queue, suitably
115         weeded for duplicates in the same manner as _print_message.
116         (_print_message): If the channel is ordered and has an
117         associated queue, then enqueue messages instead of printing
118         them.
119         (setup_channel_queue, pop_channel_queue): New functions,
120         to set a Thread::Queue for channels, and to flush a queue.
121         * lib/Automake/ChannelDefs.pm: Unset channel option `ordered'
122         for fatal, automake, and verb channels.
123         * automake.in (QUEUE_MESSAGE): New global constant, used as
124         serialization key.
125         (handle_makefiles_threaded): Create message queues for each
126         input file; workers queue messages, and the master outputs them
127         ordered, using the new Channels.pm functions.
128         * tests/parallel-am.test: Also check for ordered output (in the
129         absence of --add-missing races).
130         * tests/parallel-am2.test: New test; check for ordered output of
131         warning and (regular) error messages.
132         * tests/Makefile.am: Adjust.
134         Parallel automake execution: AUTOMAKE_JOBS.
135         * lib/Automake/Config.in (perl_threads): New global.
136         * automake.in: Use it.  If the perl supports interpreter-based
137         threading, then use `threads' and `Thread::Queue'.
138         (handle_makefile, handle_makefiles_serial): New functions,
139         factored out from main.
140         (get_number_of_threads): New function, compute number of threads
141         to use, based on environment variable `AUTOMAKE_JOBS' and number
142         of independent makefiles.
143         (handle_makefiles_threaded): New function.  Spawn threads, use
144         thread queue to distribute handling the different makefiles.
145         Collect $exit_code values from threads.
146         (main): Use new functions.
147         * aclocal.in: No threads here.
148         * configure.ac: Substitute PERL_THREADS; enabled with perl >=
149         5.7.2 and when ithreads are available.
150         * bootstrap (dosubst): Likewise.
151         * Makefile.am (do_subst): Likewise.
152         * lib/Automake/Makefile.am (do_subst): Likewise.
153         * lib/Automake/ChannelDefs.pm: Use `Automake::Config' and
154         `threads'.
155         (verb): Prepend thread ID (tid) to verbose messages.
156         * lib/Automake/Channels.pm (msg): Before exiting, flush stderr,
157         needed for worker threads.
158         * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Also
159         include the build tree path, so Config.pm is found.
160         * tests/parallel-am.test: New test.
161         * tests/Makefile.am: Update.
162         * doc/automake.texi (Invoking Automake): Document AUTOMAKE_JOBS.
163         * NEWS, THANKS: Update.
164         Report about long execution times by Joakim Tjernlund and others.
166 2008-10-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
168         Minor file checking optimization: set_dir_cache_file.
169         * lib/Automake/FileUtils.pm (set_dir_cache_file): New function.
170         * automake.in (require_file_internal): Instead of resetting the
171         cache when a file has been installed, simply correct the cache
172         using set_dir_cache_file.
174         No uniquifying for fatal, prog_error, and verbose messages.
175         There is no point in dropping critical messages, even if they
176         are duplicates (unlikely to happen unless they have been sent
177         as non-critical messages before), and verbose messages should
178         enable to show progress, even using duplicate statements.
179         * lib/Automake/ChannelDefs.pm (fatal, automake, verb): Set
180         `uniq_part' to `UP_NONE' when registering these channels.
182         Fix 'config.status --file=... depfiles' with new Autoconf.
183         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Eval
184         $CONFIG_STATUS contents if we detect the quoting used by
185         Autoconf 2.62 and newer for --file=.
186         * tests/depend5.test: New test.
187         * tests/Makefile.am: Update.
188         * NEWS, THANKS: Update.
189         Report by Sam Steingold against gnulib.
191 2008-10-26  Johan Dahlin  <jdahlin@async.com.br>
193         Support for Python 3.0, drop support for pre-2.0.
194         * lib/py-compile: Do not import string; use sys.stdout.write
195         instead of print, files.split instead of string.split.
196         * m4/python.m4 (AM_PATH_PYTHON): Also look for python3 and
197         phython3.0; do not look for python1.5.  Use sys.stdout.write.
198         (AM_PYTHON_CHECK_VERSION): Do not use string; adjust to xrange
199         removal in Python 3.0, and changed semantics of map.
200         * doc/automake.texi (Python, Hard-Coded Install Paths): Update
201         Python versions mentioned in the manual, using 2.5 everywhere.
202         * NEWS, THANKS: Update.
204 2008-10-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
206         * lib/Automake/Channels.pm (@chain): Drop unused variable.
208         Cleanup of per-input global variables in automake.in.
209         * automake.in ($output_vars, $output_all, $output_header)
210         ($output_rules, $output_trailer): Fix comment, and sort
211         declarations in the order they will appear in the output.
212         ($all_target): Unused variable, remove.
213         (Variables not reset by &initialize_per_input.): New section,
214         clarify that %am_file_cache is not reset.
215         (initialize_per_input): Reset $am_file_name, $am_relative_dir,
216         $in_file_name, $relative_dir, and $topsrcdir to `undef' rather
217         than the empty string; $topsrcdir was not reset at all.  Sort
218         remaining variables in the same order as in the section
219         `Variables reset by &initialize_per_input'.
221         Let stderr output end up on fd 2 in testsuite.
222         * tests/defs.in (AUTOMAKE_run): Output recorded stderr on file
223         descriptor 2.
224         * tests/getopt.test: Fix erroneous multiple redirection,
225         uncovered by above change.
227 2008-10-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
229         Fix DisjConditions module to be thread-safe for perl >= 5.7.2.
230         Self-hashes of blessed references are not correctly transported
231         through thread creation.  This patch fixes that by recreating
232         the hashes upon thread creation with a CLONE special subroutine,
233         which is automatically invoked by new enough Perl versions.
234         * lib/Automake/DisjConditions.pm (CLONE): New special
235         subroutine to fix self hashes upon thread creation.
236         * lib/Automake/tests/Condition-t.pl: New, sister test to
237         Condition.pl, but spawns a new threads after each creation of a
238         new condition; skip test if perl is too old or ithreads are not
239         available.
240         * lib/Automake/tests/DisjConditions-t.pl: Likewise.
241         * lib/Automake/tests/Makefile.am (TESTS): Add them.
243 2008-10-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
245         Fix comment typos.
246         * automake.in (require_file_internal): Fix typos in comments.
247         * m4/amversion.in: Likewise.
248         * lib/Automake/Variable.pm: Likewise.
249         * lib/Automake/XFile.pm: Likewise.
251         Diagnose unsupported uses of `backname' helper function.
252         * automake.in (backname): Error out if the path points outside
253         the directory it started in.
255 2008-10-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
257         Nicer 'make dist' output.
258         * lib/am/distdir.am (distdir): Hide the complex script
259         used for computing the relative subdirs; echo the sub-make
260         command.
262 2008-10-12  William Pursell <bill.pursell@gmail.com>  (tiny patch)
264         * tests/defs.in: Fix comment typo.
266 2008-10-12  William Pursell <bill.pursell@gmail.com>
267             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
269         Fix grammar w.r.t. plurals in test reports.
270         * lib/am/check.am: Fix singular/plural forms in test reports.
271         * tests/check10.test: New test.
272         * tests/Makefile.am: Update.
274 2008-10-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
276         Require texi2dvi in tests, makeinfo may not be enough.
277         * tests/txinfo16.test: RHEL 5.2 has makeinfo and texi2dvi in
278         separate packages, so also list the latter as required, as the
279         test generates DVI and/or PDF output (through distcheck).
280         * tests/txinfo18.test: Likewise.
281         * tests/txinfo21.test: Likewise.
282         * tests/txinfo22.test: Likewise.
283         * tests/txinfo3.test: Likewise.
284         * tests/version7.test: Likewise.
285         * THANKS: Update.
286         Report by Alexander Martens.
288         Fix bootstrap to remove read-only directories right.
289         * bootstrap: Remove automake-$APIVERSION correctly.
291 2008-10-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
293         Improve test coverage of current TESTS semantics.
294         * tests/check8.test: New test, for subdir tests and setting of
295         $srcdir.
296         * tests/check9.test: New test, check @substituted@ TESTS.
297         * tests/Makefile.am: Update.
299 2008-10-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
301         * m4/minuso.m4 (AM_PROG_CC_C_O): Work around shell quoting issue
302         with AIX sh; fixes depcomp6.test failure.
303         * NEWS, THANKS: Update.
304         Report by Rainer Tammer.
306         Print captured output before failing.
307         * tests/acloca14.test, tests/acloca17.test, tests/acloca18.test,
308         tests/aclocal.test, tests/acsilent.test, tests/alpha.test,
309         tests/check4.test, tests/color.test, tests/fn99.test,
310         tests/fn99subdir.test, tests/help.test, tests/init.test,
311         tests/lisp8.test, tests/missing3.test, tests/pr220.test,
312         tests/python11.test, tests/python4.test, tests/python5.test,
313         tests/unused.test, tests/version8.test: When Exit is called
314         after a command that has stdout or stderr redirected to a file
315         for later inspection, output the file before failing the test.
317         Fix some comment typos.
318         * automake.in: Fix some comment typos.
319         * lib/Automake/Condition.pm: Likewise.
320         * lib/Automake/DisjConditions.pm: Likewise.
321         * lib/Automake/Variable.pm: Likewise.
322         * lib/Automake/tests/DisjConditions.pl: Likewise.
324 2008-09-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
326         * tests/aclibobj.test: Fix race condition.
328 2008-09-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
330         Fix man page creation without installed files.
331         * doc/Makefile.am (update_mans): Use wrappers in tests/
332         directory.
333         ($(srcdir)/aclocal-$(APIVERSION).1): Use versioned wrapper as
334         input program to help2man.
335         ($(srcdir)/automake-$(APIVERSION).1): Likewise.
336         Report by Eric Blake.
338 2008-09-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
340         Remove unneeded per-rule *INSTALL variables.
341         * NEWS: Update.
342         * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): Remove.
343         (install-%DIR%%PRIMARY%): Adjust.
344         * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Remove.
345         (install-%DIR%LIBRARIES): Adjust.
346         * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): Remove.
347         (install-%DIR%LTLIBRARIES): Adjust.
348         * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): Remove.
349         (install-%DIR%PROGRAMS): Adjust.
350         * lib/am/python.am (%DIR%PYTHON_INSTALL): Remove.
351         (install-%DIR%PYTHON): Adjust.
352         * lib/am/scripts.am (%DIR%SCRIPT_INSTALL): Remove.
353         (install-%DIR%SCRIPTS): Adjust.
355         Compactify program rules using ternary operators.
356         * lib/am/progs.am (install-%DIR%PROGRAMS): Uglify^WCompactify
357         using ternary operators `%KEY?TRUE:FALSE%'.
358         (uninstall-%DIR%PROGRAMS): Likewise.
360         New doc section about command line length limits.
361         * doc/automake.texi (Length limitations): New node.
362         (Alternative): `nobase_' is not always equivalent to several
363         base variables.
364         (Install): Mention multi-file install.
365         * NEWS: Expand on the issue, list some more user-visible
366         consequences.
368         Install nobase_lib_LTLIBRARIES before bin_PROGRAMS.
369         * automake.in (generate_makefile): If nobase_lib_LTLIBRARIES are
370         used, add an ugly hack to install them before bin_PROGRAMS, just
371         like done with lib_LTLIBRARIES.
372         * tests/ltorder.test: Add program, to expose this.
374         Do not reorder nobase ltlib installation.
375         This patch changes back the order of installation of nobase
376         LTLIBRARIES to that in which files are listed in the variables.
377         It does not fix the issue of strict dependency ordering, as
378         implied by *_LIBADD, but as before allows to steer the order by
379         listing the libraries in nobase_*_LTLIBRARIES appropriately.
380         As an advantage over the state of 1.10, multiple consecutive
381         nobase libraries to be installed in the same directory are
382         passed to libtool in one invocation.
383         * lib/am/ltlib.am (install-%DIR%LTLIBRARIES) [!%?BASE%]: Do not
384         reorder libraries upon installation.  Remove spurious empty
385         line.
386         * tests/ltorder.test: New test.
387         * tests/Makefile.am: Update.
389         Fix -rpath arguments for nobase_*_LTLIBRARIES.
390         * automake.in (handle_ltlibraries): New hash %instsubdirs to
391         track the dirname of nobase ltlibraries, and tack it onto the
392         end of the -rpath argument.  Also, fix the warning about ltlibs
393         installed in multiple locations to fit a bit better.
394         * tests/pr300-ltlib.test: Expose this bug here.
395         * tests/ltinstloc.test: New test.
396         * tests/Makefile.am: Update.
397         * NEWS: Update.
399         Man pages for automake and aclocal.
400         * configure.ac (HELP2MAN): New substitution.
401         * doc/Makefile.am (dist_man1_MANS, MAINTAINERCLEANFILES)
402         (update_mans): New macros.
403         ($(srcdir)/aclocal-$(APIVERSION).1)
404         ($(srcdir)/automake-$(APIVERSION).1): New rules, generate
405         man pages from the command line help with help2man.
406         ($(srcdir)/aclocal.1, $(srcdir)/automake.1): New rules, for
407         `.so' man page links to the versioned pages.
408         * NEWS: Update.
410 2008-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
412         Faster install for libtool outputs.
413         * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Invoke `libtool
414         --mode=install' with multiple libraries at once.
415         (%DIR%LTLIBRARIES_INSTALL): No need to use install_sh any more.
416         * lib/am/progs.am (install-%DIR%PROGRAMS): Likewise, remove much
417         of the libtool special-casing by invoking it for multiple
418         programs at once.
420 2008-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
422         Fast install and uninstall for SCRIPTS.
423         * lib/am/scripts.am [%?INSTALL%]: Include inst-vars.am
424         independent of `%?BASE%'.
425         (install-%DIR%SCRIPTS): Install multiple scripts at once,
426         using awk and a number of sed scripts.
427         (uninstall-%DIR%SCRIPTS): Compute the installed names, and
428         remove them, all at once.
429         (%DIR%SCRIPT_INSTALL) [!BASE]: No need to use install-sh any
430         more.
432         Multi-file install for PROGRAMS.
433         * lib/am/progs.am (install-%DIR%PROGRAMS): Allow to install
434         several programs with one install invocation, when not using
435         libtool; employs some trickery to cater for nobase_, $(EXEEXT),
436         create needed directories, libtool, while only forking a
437         constant number of times in the fast path; uses awk and sed also
438         in the default path.
439         (%DIR%PROGRAMS_INSTALL) [!BASE]: No need to use install-sh any
440         more.
442         Enhance cleaning of programs in libtool mode.
443         * lib/am/progs.am (clean-%DIR%PROGRAMS) [?LIBTOOL?]: Fork less
444         often, avoid removing programs twice if $(EXEEXT) is empty.
445         * tests/nobase-libtool.test: Also test PROGRAMS, in order to
446         exercise the code path.
447         * THANKS: Update.
448         Report by Toralf Förster.
450 2008-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
451             Jim Meyering <jim@meyering.net>
453         Reliable multi-file install for man pages.
454         * lib/am/mans.am: Include inst-vars.am.
455         (install-man%SECTION%): Gather lists of man pages to install,
456         and install up to 40 of those that do not have to be renamed
457         at once.  Fail if installation of any file fails.
458         (uninstall-man%SECTION%): Rewrite to use fewer sed invocations.
459         * doc/automake.texi (Man pages): Hint the user to the fast path.
460         Indentation fix.
461         * tests/instmany-mans.test: New test.
462         * tests/Makefile.am: Update.
464 2008-09-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
466         Faster `make uninstall'; fast install for JAVA.
467         * lib/am/inst-vars.am (am__nobase_strip_setup)
468         (am__nobase_strip): New macros.
469         (am__nobase_list): Factorize.
470         * lib/am/data.am (uninstall-%DIR%%PRIMARY%): Use them, for a
471         constant number of forks per uninstall.
472         * lib/am/libs.am (uninstall-%DIR%LIBRARIES): Likewise.
473         * lib/am/lisp.am (uninstall-%DIR%LISP): Likewise.
474         * lib/am/progs.am (uninstall-%DIR%PROGRAMS): Fast uninstall.
475         * lib/am/python.am (uninstall-%DIR%PYTHON): Fast uninstall.
476         Echo all `rm' commands that are are executed.
477         * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA):
478         Fast install and uninstall.
480         AIX ranlib dislikes spaces in the argument.
481         * lib/am/libs.am (install-%DIR%LIBRARIES): Fix instsh.test
482         failure on AIX due to ranlib and whitespace in the directory.
483         * THANKS: Update.
484         Report by John F Trudeau.
486         Fail upon install or ranlib failure, part two.
487         * lib/am/java.am (install-%DIR%JAVA): Fail upon install failure.
488         * lib/am/lisp.am (install-%DIR%LISP): Likewise.
489         * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Likewise.
490         * lib/am/libs.am (install-%DIR%LIBRARIES): Likewise, for
491         `install' as well as `ranlib'.
492         * lib/am/progs.am (install-%DIR%PROGRAMS): If `install' fails,
493         return its exit failure, not 1.
494         * tests/instfail.test: New test, for PROGRAMS (without libtool),
495         LIBRARIES, including nobase variants.
496         * tests/instfail-info.test: Likewise, for TEXINFOS.
497         * tests/instfail-java.test: Likewise, for JAVA.
498         * tests/instfail-libtool.test: Likewise, for PROGRAMS (with
499         libtool) and LTLIBRARIES.
500         * tests/Makefile.am: Adjust.
502         Exit upon `install' failure, part one.
503         * lib/am/data.am (install-%DIR%%PRIMARY%): Exit if any install
504         command fails.
505         * lib/am/python.am (install-%DIR%PYTHON): Likewise.
506         * lib/am/scripts.am (install-%DIR%SCRIPTS): Likewise.
507         * lib/am/texinfos.am (install-dvi-am, install-html-am)
508         (install-info-am:, install-pdf-am): Likewise.
509         * tests/instmany.test: New test, for SCRIPTS, DATA, and HEADERS.
510         * tests/instmany-python.test: New test, for PYTHON.
511         * tests/Makefile.am: Adjust.
513 2008-09-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
515         Fix multi-file installation for files in srcdir.
516         For files that can live in the build tree or the source tree,
517         we have to expect that prepending `$(srcdir)/' to each name
518         will let the install command line exceed length limitations.
519         Thus use a new macro, $(am__base_list), to install in chunks
520         of 40 files, similar to what we do for nobase_* files.  There,
521         lower the limit to 40, too.
522         * lib/am/inst-vars.am (am__install_max): Lower to 40.
523         (am__base_list): New macro.
524         * lib/am/data.am (install-%DIR%%PRIMARY%) [%?BASE%]: Use it.
525         * lib/am/texinfos.am (install-dvi-am, install-html-am)
526         (install-info-am, install-pdf-am, install-ps-am): Likewise.
528 2008-09-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
530         Use `Exit' instead of `exit' in test suite.
531         Cater to Bourne shells like Solaris sh that do not pass the
532         `exit' argument as status to the cleanup trap.
533         * Makefile.am (maintainer-check): Check that here-documents
534         use only `END' or `EOF' as delimiter in the test suite.
535         Check that, outside of here-documents, the tests do not use
536         `exit' with an argument, but use `Exit' instead.
537         * tests/defs.in (Exit): New function.  Use it throughout,
538         starting with the introduction of the exit trap.
539         * tests/aclibobj.test, tests/acloca10.test, tests/acloca11.test,
540         tests/acloca12.test, tests/acloca13.test, tests/acloca14.test,
541         tests/acloca15.test, tests/acloca16.test, tests/acloca17.test,
542         tests/acloca18.test, tests/acloca19.test, tests/acloca20.test,
543         tests/acloca21.test, tests/acloca22.test, tests/aclocal.test,
544         tests/aclocal3.test, tests/aclocal4.test, tests/aclocal5.test,
545         tests/aclocal6.test, tests/aclocal7.test, tests/aclocal8.test,
546         tests/aclocal9.test, tests/acoutbs.test, tests/acoutbs2.test,
547         tests/acoutnoq.test, tests/acoutpt.test, tests/acoutpt2.test,
548         tests/acoutqnl.test, tests/acsilent.test, tests/acsubst.test,
549         tests/acsubst2.test, tests/all.test, tests/alloca.test,
550         tests/alloca2.test, tests/alpha.test, tests/alpha2.test,
551         tests/amassign.test, tests/ammissing.test, tests/amopt.test,
552         tests/amsubst.test, tests/ansi.test, tests/ansi10.test,
553         tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test,
554         tests/ansi4.test, tests/ansi5.test, tests/ansi6.test,
555         tests/ansi7.test, tests/ansi8.test, tests/ansi9.test (main),
556         tests/ar.test, tests/ar2.test, tests/asm.test, tests/asm2.test,
557         tests/asm3.test, tests/automake.test, tests/auxdir.test,
558         tests/auxdir2.test, tests/auxdir3.test, tests/auxdir4.test,
559         tests/backsl.test, tests/backsl2.test, tests/backsl3.test,
560         tests/backsl4.test, tests/badline.test, tests/badopt.test,
561         tests/badprog.test, tests/block.test, tests/bsource.test,
562         tests/canon-name.test, tests/canon.test, tests/canon2.test,
563         tests/canon3.test, tests/canon4.test, tests/canon5.test,
564         tests/ccnoco.test, tests/ccnoco2.test, tests/check.test,
565         tests/check2.test, tests/check3.test, tests/check4.test,
566         tests/check5.test, tests/check6.test, tests/check7.test,
567         tests/checkall.test, tests/clean.test, tests/clean2.test,
568         tests/colneq.test, tests/colneq2.test, tests/colon.test,
569         tests/colon2.test, tests/colon3.test, tests/colon4.test,
570         tests/colon5.test, tests/colon6.test, tests/colon7.test,
571         tests/color.test (test_no_color), tests/commen10.test,
572         tests/comment.test, tests/comment2.test, tests/comment3.test,
573         tests/comment4.test, tests/comment5.test, tests/comment6.test,
574         tests/comment7.test, tests/comment8.test, tests/comment9.test,
575         tests/compile.test, tests/compile_f90_c_cxx.test,
576         tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test,
577         tests/cond11.test, tests/cond13.test, tests/cond14.test,
578         tests/cond15.test, tests/cond16.test, tests/cond17.test,
579         tests/cond18.test, tests/cond19.test, tests/cond2.test,
580         tests/cond20.test, tests/cond21.test, tests/cond22.test,
581         tests/cond27.test, tests/cond3.test, tests/cond37.test,
582         tests/cond39.test, tests/cond4.test, tests/cond40.test,
583         tests/cond41.test, tests/cond5.test, tests/cond6.test,
584         tests/cond7.test (AC_INIT), tests/cond8.test, tests/cond9.test,
585         tests/condd.test, tests/condhook.test, tests/condinc.test,
586         tests/condinc2.test, tests/condlib.test, tests/condman.test,
587         tests/condman2.test, tests/conf2.test, tests/confdeps.test,
588         tests/conff.test, tests/conff2.test, tests/confh.test,
589         tests/confh4.test, tests/confh5.test, tests/config.test,
590         tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
591         tests/conflnk3.test, tests/conflnk4.test, tests/confsub.test,
592         tests/confvar.test, tests/confvar2.test, tests/copy.test,
593         tests/ctarget1.test, tests/cxx.test, tests/cxx2.test,
594         tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test,
595         tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test,
596         tests/cygwin32.test, tests/dash.test, tests/defs.in (else),
597         tests/defun.test, tests/defun2.test, tests/dejagnu.test,
598         tests/dejagnu2.test, tests/dejagnu3.test, tests/dejagnu4.test,
599         tests/dejagnu5.test, tests/dejagnu6.test, tests/dejagnu7.test,
600         tests/depacl2.test, tests/depcomp.test, tests/depcomp2.test,
601         tests/depcomp3.test, tests/depcomp4.test, tests/depcomp5.test,
602         tests/depcomp6.test, tests/depcomp7.test, tests/depdist.test,
603         tests/depend.test, tests/depend2.test, tests/depend3.test,
604         tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
605         tests/dirlist.test, tests/dirlist2.test, tests/discover.test,
606         tests/distcom2.test, tests/distcom3.test, tests/distcom4.test,
607         tests/distcom5.test, tests/distcom6.test, tests/distcom7.test,
608         tests/distdir.test, tests/distname.test, tests/dollar.test,
609         tests/double.test, tests/dup2.test, tests/else.test,
610         tests/empty.test, tests/empty2.test, tests/empty3.test,
611         tests/empty4.test, tests/exdir.test, tests/exdir2.test,
612         tests/exdir3.test, tests/exeext.test, tests/exeext2.test,
613         tests/exeext3.test, tests/exeext4.test, tests/exsource.test,
614         tests/ext.test, tests/extra.test, tests/extra2.test,
615         tests/extra3.test, tests/extra4.test, tests/extra5.test,
616         tests/extra6.test, tests/extra7.test, tests/f90only.test,
617         tests/flibs.test, tests/fn99.test, tests/fn99subdir.test,
618         tests/fnoc.test, tests/fo.test, tests/fonly.test,
619         tests/fort1.test, tests/fort2.test, tests/fort4.test,
620         tests/fort5.test, tests/fortdep.test, tests/fpinst2.test,
621         tests/fpinstall.test, tests/gcj.test, tests/gcj2.test,
622         tests/gcj3.test, tests/gcj4.test, tests/gcj5.test,
623         tests/getopt.test, tests/gettext.test, tests/gettext2.test,
624         tests/gettext3.test, tests/gnits.test, tests/gnits2.test (main),
625         tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
626         tests/gnuwarn2.test, tests/header.test, tests/help.test,
627         tests/hosts.test, tests/implicit.test, tests/include.test,
628         tests/include2.test, tests/info.test, tests/init.test,
629         tests/insh2.test, tests/install2.test, tests/installdir.test,
630         tests/instdat.test, tests/instdat2.test, tests/instexec.test,
631         tests/insthook.test, tests/instman.test, tests/instman2.test,
632         tests/instsh.test, tests/instsh2.test, tests/instsh3.test,
633         tests/instspc.test, tests/interp.test, tests/interp2.test,
634         tests/java.test, tests/java2.test, tests/java3.test,
635         tests/javaprim.test, tests/javasubst.test, tests/ldadd.test,
636         tests/ldflags.test, tests/lex.test, tests/lex2.test,
637         tests/lex3.test, tests/lex4.test, tests/lex5.test (main),
638         tests/libexec.test, tests/libobj10.test, tests/libobj11.test,
639         tests/libobj12.test, tests/libobj13.test, tests/libobj2.test,
640         tests/libobj3.test, tests/libobj4.test, tests/libobj5.test,
641         tests/libobj7.test, tests/libobj8.test, tests/library.test,
642         tests/library2.test, tests/library3.test, tests/libtoo10.test,
643         tests/libtool.test, tests/libtool2.test, tests/libtool3.test
644         (main), tests/libtool4.test, tests/libtool5.test,
645         tests/libtool6.test, tests/libtool7.test, tests/libtool8.test,
646         tests/libtool9.test (main), tests/license.test,
647         tests/link_c_cxx.test, tests/link_dist.test,
648         tests/link_f90_only.test, tests/link_f_only.test,
649         tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
650         tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
651         tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
652         tests/lisp8.test, tests/listval.test, tests/location.test,
653         tests/longlin2.test, tests/longline.test, tests/ltcond.test,
654         tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
655         tests/ltlibobjs.test, tests/ltlibsrc.test, tests/lzma.test,
656         tests/maintclean.test, tests/make.test, tests/makej.test,
657         tests/makevars.test, tests/man.test, tests/man2.test,
658         tests/man3.test, tests/mclean.test, tests/mdate.test,
659         tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
660         tests/mdate5.test, tests/missing.test, tests/missing2.test,
661         tests/missing3.test, tests/missing4.test, tests/missing5.test,
662         tests/missing6.test, tests/mkinst2.test, tests/mkinst3.test,
663         tests/mkinstall.test, tests/mmode.test, tests/mmodely.test,
664         tests/multlib.test, tests/nobase-libtool.test,
665         tests/nobase-python.test, tests/nobase.test, tests/nodef.test,
666         tests/nodef2.test, tests/nodep.test, tests/nodep2.test,
667         tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
668         tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
669         tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
670         tests/nostdinc.test, tests/notrans.test, tests/number.test,
671         tests/objc.test, tests/objc2.test, tests/obsolete.test,
672         tests/order.test, tests/outdir.test, tests/output-order.test,
673         tests/output.test, tests/output10.test, tests/output11.test,
674         tests/output12.test, tests/output13.test, tests/output2.test,
675         tests/output3.test, tests/output4.test, tests/output5.test,
676         tests/output6.test, tests/output7.test, tests/output8.test,
677         tests/output9.test, tests/overrid.test, tests/parse.test,
678         tests/pluseq.test, tests/pluseq10.test, tests/pluseq2.test,
679         tests/pluseq3.test, tests/pluseq4.test, tests/pluseq5.test,
680         tests/pluseq6.test, tests/pluseq7.test, tests/pluseq8.test,
681         tests/pluseq9.test, tests/postproc.test, tests/ppf77.test,
682         tests/pr2.test, tests/pr204.test, tests/pr211.test,
683         tests/pr220.test, tests/pr224.test, tests/pr229.test,
684         tests/pr243.test, tests/pr266.test, tests/pr279-2.test,
685         tests/pr279.test, tests/pr287.test, tests/pr300-lib.test,
686         tests/pr300-ltlib.test, tests/pr300-prog.test, tests/pr307.test,
687         tests/pr401.test, tests/pr401b.test, tests/pr401c.test,
688         tests/pr72.test, tests/pr87.test, tests/pr9.test,
689         tests/prefix.test, tests/primary.test, tests/primary2.test,
690         tests/primary3.test, tests/proginst.test, tests/python.test,
691         tests/python10.test, tests/python11.test, tests/python12.test,
692         tests/python2.test, tests/python3.test, tests/python4.test,
693         tests/python5.test, tests/python6.test, tests/python7.test,
694         tests/python8.test, tests/python9.test, tests/recurs.test,
695         tests/recurs2.test, tests/regex.test, tests/remake.test,
696         tests/remake2.test, tests/remake3.test, tests/remake4.test,
697         tests/remake5.test, tests/remake6.test, tests/remake7.test,
698         tests/req.test, tests/reqd.test, tests/reqd2.test,
699         tests/rulepat.test, tests/scripts.test, tests/seenc.test,
700         tests/sinclude.test, tests/space.test, tests/specflg.test,
701         tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
702         tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
703         tests/spell.test, tests/spell2.test, tests/spell3.test,
704         tests/spelling.test, tests/spy.test, tests/srcsub.test,
705         tests/srcsub2.test, tests/stamph2.test, tests/stdinc.test,
706         tests/stdlib.test, tests/stdlib2.test, tests/strip.test,
707         tests/subcond.test, tests/subcond2.test, tests/subcond3.test,
708         tests/subdir.test, tests/subdir2.test, tests/subdir3.test,
709         tests/subdir4.test, tests/subdir5.test, tests/subdir6.test,
710         tests/subdir7.test, tests/subdir8.test, tests/subdir9.test,
711         tests/subdirbuiltsources.test, tests/subobj.test,
712         tests/subobj10.test, tests/subobj2.test, tests/subobj3.test,
713         tests/subobj4.test, tests/subobj5.test, tests/subobj6.test,
714         tests/subobj7.test, tests/subobj8.test, tests/subobj9.test,
715         tests/subobjname.test, tests/subpkg.test, tests/subpkg2.test,
716         tests/subpkg3.test, tests/subst.test, tests/subst2.test,
717         tests/subst3.test, tests/substre2.test, tests/substref.test,
718         tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
719         tests/suffix11.test, tests/suffix12.test, tests/suffix2.test,
720         tests/suffix3.test, tests/suffix4.test, tests/suffix5.test,
721         tests/suffix6.test, tests/suffix7.test, tests/suffix8.test,
722         tests/suffix9.test, tests/symlink.test, tests/symlink2.test,
723         tests/symlink3.test, tests/syntax.test, tests/tags.test,
724         tests/tagsub.test, tests/tar.test, tests/tar2.test,
725         tests/tar3.test, tests/target-cflags.test,
726         tests/targetclash.test, tests/transform.test, tests/txinfo.test,
727         tests/txinfo10.test, tests/txinfo13.test, tests/txinfo16.test,
728         tests/txinfo17.test, tests/txinfo18.test, tests/txinfo19.test,
729         tests/txinfo2.test, tests/txinfo20.test, tests/txinfo21.test,
730         tests/txinfo22.test, tests/txinfo23.test, tests/txinfo24.test,
731         tests/txinfo25.test, tests/txinfo26.test, tests/txinfo27.test,
732         tests/txinfo28.test, tests/txinfo29.test, tests/txinfo3.test,
733         tests/txinfo30.test, tests/txinfo31.test, tests/txinfo4.test,
734         tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
735         tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
736         tests/upc.test, tests/upc2.test, tests/upc3.test,
737         tests/vars.test, tests/vars3.test, tests/vartar.test,
738         tests/version.test, tests/version2.test, tests/version3.test,
739         tests/version4.test, tests/version6.test, tests/version7.test,
740         tests/version8.test, tests/vpath.test, tests/vtexi.test,
741         tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
742         tests/werror2.test, tests/whoami.test, tests/xsource.test,
743         tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
744         tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
745         tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
746         tests/yaccvpath.test: Use `Exit $arg' instead of `exit $arg'
747         throughout, except inside created files.
749 2008-09-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
751         Avoid Heisenbug with verbose testing on HP-UX.
752         * tests/output-order.test: Remove spurious redirection line
753         from output for comparison.
755         For all possibly-relative subdirs, use $(am__cd).
756         Up to now, $(am__cd) was only used within backquotes, to avoid
757         extraneous output.  This patch also uses it for every `cd' to a
758         relative subdir, to prevent CDPATH from entering an unwanted
759         directory.
760         * Makefile.am (maintainer-check): Fix current check for
761         $(am__cd) within backquotes a bit.  Add new check for `cd' to a
762         relative subdir.
763         * automake.in (handle_tags, handle_configure):  Adjust rules.
764         * lib/am/ansi2knr.am: Likewise.
765         * lib/am/configure.am: Likewise.
766         * lib/am/distdir.am: Likewise.
767         * lib/am/remake-hdr.am: Likewise.
768         * lib/am/subdirs.am: Likewise.
769         * lib/am/tags.am: Likewise.
770         * lib/am/texibuild.am: Likewise.
772         Fix nobase-python.test for BSD make.
773         * tests/nobase-python.test: Listing a dependency to be found
774         via VPATH search explicitly, without the path, as a target,
775         will turn off VPATH search for FreeBSD make.  So move the
776         creation of the files outside of the Makefile.
778 2008-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
780         Implement AM_MAINTAINER_MODE([DEFAULT-MODE]).
781         * m4/maintainer.m4 (AM_MAINTAINER_MODE): Allow for an optional
782         first argument of `enable' or `disable', setting the default.
783         * doc/automake.texi (Optional, maintainer-mode): Document.
784         * tests/mmode.test: New test.
785         * tests/Makefile.am: Adjust.
786         * NEWS: Update.
787         Suggestion by Vincent Lefevre.
789 2008-08-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
791         Copyright year updates.
792         * lib/am/header-vars.am: Update copyright years.
793         * lib/am/remake-hdr.am: Likewise.
794         * lib/am/tags.am: Likewise.
796 2008-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
798         * THANKS: Use Cyrillic name instead of ASCII transcription.
800 2008-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
802         Fix rebuilding of removed subdir/Makefile.in files.
803         * lib/am/configure.am (%MAKEFILE-IN%) [?!TOPDIR_P?]: If
804         subdir/Makefile.in was removed, am--refresh would not update
805         it.  Fix up for it by running the per-directory rebuild rule.
806         * tests/remake6.test, tests/remake7.test: New tests.
807         * tests/Makefile.am: Adjust.
808         * NEWS, THANKS: Update.
809         Report and initial patch by Ilya N. Golubev.
811 2008-08-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
813         * tests/notrans.test: Use multiple man files of each type.
815         Fix maintainer-check failures.
816         * doc/automake.texi (Conditionals): Drop TAB.
817         * tests/missing6.test: Use 'rm -f'.
819 2008-08-19  Reuben Thomas <rrt@sc3d.org>  (tiny patch)
821         * doc/automake.texi (Flag Variables Ordering, Per-Object Flags):
822         Fix grammaros.
824 2008-08-02  Karl Berry  <karl@freefriends.org>
826         * lib/gnupload: Provide also a simple example.
828 2008-06-25  Thien-Thi Nguyen  <ttn@gnuvola.org>
830         Small doc fix.
831         * doc/automake.texi (Public Macros): Close open paren.
833 2008-06-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
835         Introduce macro $(am__mv) to facilitate 'libtool --dry-run'.
836         * lib/am/depend.am (am__mv): New macro, set to 'mv -f'.
837         * lib/am/depend2.am: Use throughout to move the temporary
838         depfile *.Tpo to its final destination *.Po.
840 2008-06-18  Rafael Espindola  <espindola@google.com>
842         * lib/config-ml.in: don't handle --enable-shared and --enable-static.
844 2008-06-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
846         * lib/am/inst-vars.am (am__install_max): New variable.
847         (am__nobase_list): Use it.
849         Fix conditional rules competing with config.status rules.
850         * automake.in (handle_configure): Teach targets about the
851         conditional config.status rule.
852         * tests/cond39.test: Adjust test to expose this.
854         For AC_CONFIG_LINKS(X,X), do not clean X in a non-VPATH build.
855         * automake.in (rewrite_inputs_into_dependencies): Do distribute
856         inputs where input and output name are equal.  This relies on
857         the assumption that it only happens with AC_CONFIG_LINKS.
858         (handle_configure) <CONFIG_CLEAN_VPATH_FILES>: New variable, for
859         links where source and dest are equal.
860         * lib/am/clean.am (distclean-generic): Remove, if build tree not
861         equal source tree.
862         * tests/conflnk4.test: New test.
863         * tests/Makefile.am: Adjust.
864         * NEWS: Update.
866 2008-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
868         * doc/automake.texi (Extending): Fix ambivalent wording.
869         Report by Ben Pfaff.
871 2008-06-04  Karl Berry  <karl@freefriends.org>
873         * doc/automake.texi (Install, Hard-Coded Install Paths):  Fix
874         punctuation and markup.
875         (Extending): Improve wording and clarify order semantics of
876         *-local and *-hook targets.
878 2008-06-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
880         * doc/automake.texi (Extending): Fix grammar.
881         Report by Karl Berry.
883 2008-05-13  Stepan Kasal  <skasal@redhat.com>
885         Fix typos.
886         * doc/automake.texi (Timeline): Reported by Reuben Thomas.
887         * lib/am/remake-hdr.am: A few typos in comments.
889 2008-04-10  Eric Blake  <ebb9@byu.net>
891         Prefer a released version of autoconf.
892         * NEWS: Bump requirement to autoconf 2.62.
893         * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
894         * configure.ac: Likewise.
895         (AC_PREREQ): Remove check, done by AM_INIT_AUTOMAKE instead.
897         AC_AUTOCONF_VERSION can inadvertently expand to a macro name.
898         * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Use proper
899         m4 quoting.
900         * aclocal.in (write_aclocal): Likewise.
901         * tests/missing6.test: New test.
902         * tests/Makefile.am (TESTS): Run it.
903         * tests/missing4.test: Adjust.
905 2008-04-02  Eric Blake  <ebb9@byu.net>
907         Make gnupload friendlier for VPATH usage.
908         * lib/gnupload: Allow uploads from separate directory.
910 2008-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
912         Implement conditional AC_CONFIG_FILES: AM_COND_IF.
913         * automake.in (%ac_config_files_condition): New.
914         (scan_autoconf_config_files): Record condition if any.
915         (scan_autoconf_traces): Trace _AM_COND_IF, _AM_COND_ELSE,
916         _AM_COND_ENDIF, updating @cond_stack as appropriate.
917         (handle_configure): Prefix config.status rule with condition.
918         Check that m4 quotation is done consistently.
919         * m4/cond.m4 (AM_CONDITION): Define `_AM_COND_VALUE_name'
920         with `name' being the name of the condition, to its shell
921         condition.
922         * m4/cond-if.m4: New file.
923         (_AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF): New trace helpers.
924         (AM_COND_IF): New macro, implements conditionals.
925         * m4/Makefile.am: Adjust.
926         * doc/automake.texi (Requirements, Optional, Conditionals):
927         Document AM_COND_IF.
928         * NEWS: Update.
929         * tests/cond39.test, tests/cond40.test, tests/cond41.test,
930         tests/cond42.test, tests/cond43.test: New tests.
931         * tests/Makefile.am: Adjust.
933 2008-03-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
935         * doc/automake.texi (@ovar): New macro, from autoconf.texi.
936         (Python): Use it.
937         Suggestion by Eric Blake.
939 2008-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
941         * lib/texinfo.tex: Sync from upstream.
943 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
945         * doc/automake.texi (Requirements, Linking, Extending):
946         Fix underfull and overfull lines, fix wording a bit.
948         * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
949         upstream.
951         * Makefile.am (WGET_SV_GIT_CF): New.
952         (fetch): Pull config.guess and config.sub from git repo now.
954         * lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument
955         $hint, show if the executing program does not exist.
956         (xsystem_hint): New function, like xsystem but allows to pass
957         a hint.
959 2008-03-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
961         Implement the `notrans_' prefix for untransformed manpages.
962         * automake.in (handle_man_pages), lib/am/mans.am: Implement
963         notrans_ prefix for MANS primary and rework dependencies for
964         install-man%SECTION%; use only vars defined in Makefile.am.
965         * doc/automake.texi (Renaming, Uniform, Man pages):
966         Document notrans_ prefix.
967         * NEWS: Update.
968         * tests/notrans.test: New test.
969         * tests/Makefile.am: Update.
971         * automake.in (handle_man_pages): Reindent, for next patch.
973 2008-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
975         Use `install' with multiple files at once for some primaries.
976         With nobase targets, at most 50 files are installed at once,
977         to avoid quadratic string concatenation and line length limits.
978         This isn't yet done with base targets.  One hope is that there,
979         the typical file name length is lower.  If this turns out to be
980         a problem, it should be revisited.
982         * lib/am/inst-vars.am (am__nobase_list): New helper macro for
983         installation of multiple nobase files at once: sorts and lists
984         files keyed by their target directory.
985         * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): No need to set it to
986         $(install_sh_DATA) any more, not even for nobase targets.
987         (install-%DIR%%PRIMARY%): Split base and nobase cases.
988         Rewrite to pass lists of files which all go in the same
989         directory to `install'.  In the nobase case, make use of
990         $(am__nobase_list) and $(MKDIR_P) each directory before
991         populating it.  Take care of files in source and build trees,
992         and avoid creating directories where no files are to be
993         installed.
994         * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Likewise.
995         (install-%DIR%LIBRARIES): Likewise.
996         * lib/am/python.am (%DIR%PYTHON_INSTALL): Likewise.
997         (install-%DIR%PYTHON): Likewise.  Also take care to keep note of
998         a list for byte compilation after installation.
999         * lib/am/texinfos.am (install-dvi-am, install-html-am)
1000         (install-info-am, install-pdf-am, install-ps-am): Use file lists
1001         to install multiple files at once.
1002         * NEWS: Update.
1003         Suggested by Akim Demaille.
1005 2008-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1007         Require unreleased Autoconf for fixed AC_PROG_INSTALL.
1008         * m4/init.m4 (AM_INIT_AUTOMAKE): Bump AC_PREREQ to 2.61-341,
1009         regenerate files.
1010         * configure.ac: Also require Autoconf 2.61-341, to catch
1011         failure early and provide a sensible error message.
1013         Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT.
1014         * tests/ansi4.test: Drop AC_OBJEXT and AC_EXEEXT.
1015         * tests/ansi6.test: Likewise.
1016         * tests/ansi7.test: Likewise.
1017         * tests/condlib.test: Likewise.
1018         * tests/cygwin32.test: Likewise.
1019         * tests/exeext2.test: Likewise.
1020         * tests/libobj11.test: Likewise.
1021         * tests/library.test: Likewise.
1022         * tests/txinfo5.test: Likewise.
1024 2008-03-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1026         Skip instsh3.test if `touch -t' does not work.
1027         * tests/instsh3.test: Test for `touch -t', fails with Solaris
1028         /usr/ucb/touch.
1029         * THANKS: Update.
1030         Report by Younes Younes.
1032 2008-02-27  Reuben Thomas  <rrt@sc3d.org>
1034         * doc/automake.texi (wildcards): Improve "Why doesn't Automake
1035         support wildcards" node's English and sense.
1037 2008-02-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1039         * lib/am/check.am (check-TESTS): In the case patterns for
1040         XFAILed tests, add literal bracket expression for matching
1041         whitespace, as NetBSD 4.99.54 ksh does not understand a
1042         bracket expression resulting from variable expansion.
1043         * README: Explain how to run the Automake test suite, including
1044         setting MAKE to test gmake.
1045         Report by Patrick Welche.
1047 2008-02-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1049         PR automake/498
1050         * m4/options.m4 (_AM_SET_OPTIONS): Use m4_foreach_w instead of
1051         obsolete AC_FOREACH.
1052         Report by NightStrike and gurganbl@rose-hulman.edu.
1054 2008-02-17  Colin Watson  <cjwatson@debian.org>  (tiny change)
1056         * lib/am/tags.am (ID): Fix typo in workaround for old awk.
1058 2008-02-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1060         * doc/.gitignore: Ignore files generated by `make ps pdf html'.
1062 2008-02-05  Reuben Thomas  <rrt@sc3d.org>
1064         * doc/automake.texi (CVS): configure.ac will appear newer, not
1065         older, than configure.  Use `lexical' instead of `alphabetical'.
1067 2008-01-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1069         * tests/man3.test: Avoid `make VAR=value'.
1071         * tests/subst3.test: New test.
1072         * tests/Makefile.am: Update.
1074         * tests/instsh2.test: Split off testing of `install-sh -C' ...
1075         * tests/instsh3.test: ... to this new test, requiring non-root.
1076         * tests/Makefile.am: Adjust.
1077         * THANKS: Update.
1078         Report by Theodoros V. Kalamatianos.
1080 2008-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1082         * tests/nobase.test: Extend test to generated files.
1084         * tests/nobase-python.test: New test, nobase for python files.
1085         * tests/Makefile.am: Update.
1087         * tests/nobase.test: Split off libtool part of nobase.test for
1088         increased test exposure, to ...
1089         * tests/nobase-libtool.test: ... this new test.
1090         * tests/Makefile.am: Update.
1092 2008-01-23  Eric Blake  <ebb9@byu.net>
1094         Fix color.test when using BSD grep.
1095         * tests/color.test: Ensure that grep can handle non-printing
1096         characters.
1098 2008-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1100         * tests/lisp3.test: Fix typo.
1102 2008-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1104         * lib/am/mans.am (install-man%SECTION%): Prefer generated manpages
1105         over distributed ones.
1106         Report and patch by Peter Breitenlohner.
1107         * tests/man3.test: New test.
1108         * tests/Makefile.am: Update.
1110 2008-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1112         * tests/tar.test: Skip if no appropriate tar was found.
1114 2008-01-19  NightStrike  <nightstrike@gmail.com>
1116         * doc/automake.texi (Dependency Tracking): Fix typo.
1118 2008-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1120         * lib/config-ml.in, lib/config.guess, lib/config.sub,
1121         lib/symlink-tree: Sync from upstream.
1123         * Makefile.am (WGET_SV_CVS): Renamed from WGETSGO.
1124         (WGET_SV_GIT_AC, WGET_SV_GIT_GL, WGET_GCC): New.
1125         (fetch): Update to match current upstream locations.
1127 2008-01-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1129         * doc/automake.texi (DESTDIR, Built sources example): Fix wording.
1130         * THANKS: Update.
1131         Reports and suggestions by William Pursell and nightstrike@gmail.com.
1133 2008-01-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1135         Do not fail if `autoupdate' is not present.
1136         * tests/obsolete.test: Check for presence of autoupdate.  Apparently,
1137         FreeBSD may install the other Autoconf programs without a version
1138         suffix but not autoupdate.
1140         Fix Heisenbug trying to unset a sometimes-not-set variable.
1141         * tests/check5.test: Do not error out upon `unset TESTS' due to
1142         `set -e', in case TESTS was not set.
1143         * tests/color.test: Likewise.
1145         * doc/automake.texi (amhello Explained): Fix odd sentence.
1146         Report by nightstrike@gmail.com.
1148 2008-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1150         * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Rewrite to be more
1151         resistant to different quoting styles of $1.
1153         Clarify texinfo.tex and TEXINFO_TEX semantics.
1154         * doc/automake.texi (Texinfo): Clarify that by default,
1155         texinfo.tex is searched in the same directory as the Makefile.am
1156         that needs it.  Clarify that TEXINFO_TEX has precedence over
1157         AC_CONFIG_AUX_DIR, and that it requires the user to install and
1158         distribute it.
1159         * tests/txinfo22.test: Ensure TEXINFO_TEX is not distributed.
1160         * THANKS: Update.
1161         Reports by Dilyan Palauzov and Roumen Petrov.
1163 2008-01-11  Bruno Haible  <bruno@clisp.org>
1164             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1166         * tests/output-order.test: New test, for the stable output fix.
1167         * tests/Makefile.am: Update.
1169 2008-01-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1171         * Makefile.am (dist-hook): New, ensure world-executable tests.
1172         * THANKS: Update.
1173         Report by Arto C. Nirkko.
1175         * tests/acloca20.test: Use `--force' with the second $AUTOCONF,
1176         to force update on fast machines where both autoconf invocations
1177         happen within the same second.
1178         Report by Greg Schafer.
1180 2008-01-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1182         * automake.in (scan_autoconf_files): Sort loop over
1183         %required_aux_file, for stable verbose output.
1184         Report by Bruno Haible.
1186         * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from
1187         upstream.
1189         * tests/ccnoco.test (Mycomp): Use a tighter match for -c -o,
1190         to avoid matching for example `LDFLAGS=-Wl,--sort-common'.
1191         * THANKS: Update.
1192         Report and analysis by Carsten Lohrke and Mike Frysinger.
1194 2008-01-07  Stepan Kasal  <skasal@redhat.com>
1196         * automake.in (handle_texinfo_helper, handle_lib_objects): Fix
1197         typos in comments.
1199 2008-01-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1201         Bump copyright years.
1202         * aclocal.in (write_aclocal, version): Likewise.
1203         * automake.in ($gen_copyright, version): Likewise.
1204         * doc/automake.texi: Likewise.
1206 2007-12-18  Jim Meyering  <meyering@redhat.com>
1208         * lib/gnupload (GPG): Don't use an absolute path.
1209         This reverts part of the 2004-01-28 change.
1211 2007-12-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1213         * lib/Automake/FileUtils.pm (open_quote): New function.
1214         (update_file, contents): Use it.
1216         Reword the copyright notices to match what's suggested in GPLv3.
1218 2007-12-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1220         * tests/defs.in: Quote $srcdir, $PATH; skip libtool and gettext
1221         tests if the absolute source or build tree name contain whitespace.
1223         Modify some tests for absolute trees containing whitespace.
1224         * tests/missing.test: Use "./missing" instead of "`pwd`/missing".
1225         * tests/missing2.test: Likewise.
1226         * tests/mmodely.test: Add `pwd` to $PATH instead of absolute
1227         references to myyacc.sh and mylex.sh.
1228         * tests/multlib.test: Likewise for mycc.
1229         * tests/txinfo26.test: Skip if `pwd` contains whitespace, as
1230         an absolute --srcdir does not work there.
1232         * INSTALL, lib/INSTALL, lib/config-ml.in, lib/config.guess,
1233         lib/config.sub, lib/texinfo.tex: Sync from upstream.
1235         Fix the distdir target to cope with spaces in absolute file names.
1236         * lib/am/distdir.am: Quote all instances of $(distdir) and
1237         $(top_distdir).  They could contain white space, coming from
1238         a toplevel package bootstrapped with an older Automake version.
1239         (am__relativize): New macro, taken from gnulib code, written by
1240         Bruno Haible.
1241         (distdir): Use it to compute relative paths to distdir and
1242         top_distdir for enclosed subpackages.
1243         Also, quote $(distuninstallcheck_dir).
1244         * lib/am/texinfos.am: Likewise, quote $(distdir).
1246 2007-11-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1248         Quote file names in tests that can be absolute.
1249         * tests/auxdir.test, tests/check3.test, tests/check4.test,
1250         tests/compile.test, tests/cond33.test, tests/condhook.test,
1251         tests/distdir.test, tests/dollar.test, tests/empty.test,
1252         tests/gnits2.test, tests/gnits3.test, tests/include2.test,
1253         tests/insthook.test, tests/java.test, tests/libtool7.test,
1254         tests/lisp4.test, tests/lisp5.test, tests/lisp6.test,
1255         tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test,
1256         tests/multlib.test, tests/nobase.test, tests/nodist2.test,
1257         tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test,
1258         tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test,
1259         tests/python3.test, tests/strip.test, tests/transform.test,
1260         tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test,
1261         tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test:
1262         Likewise.
1264         Quote @abs_top_builddir@ and @abs_top_srcdir@.
1265         * tests/aclocal.in: Likewise.
1266         * tests/automake.in: Likewise.
1268         Fix TAGS and GTAGS rules to cope with whitespace in `pwd`.
1269         * lib/am/tags.am (TAGS): Use positional parameters to avoid
1270         the need to quote absolute file names.
1271         (GTAGS): Quote absolute file name.
1272         (CTAGS): Simplify, dropping unused variable `$tags'.
1274 2007-11-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1276         * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Fix another instance
1277         of am__strip_dir.  Fixes nobase and pr300-ltlib test failures.
1279 2007-11-25  Akim Demaille  <akim@lrde.epita.fr>
1281         Several *-local in a rule do not work.
1282         * tests/all.test: Check this case.
1283         Use set -e.
1284         * tests/Makefile.am (XFAIL_TESTS): Add it.
1286 2007-11-25  Akim Demaille  <akim@lrde.epita.fr>
1288         Fix uses of am__strip_dir.
1289         * lib/am/libs.am, lib/am/ltlib.am: Catch up with the change of
1290         definition of am__strip_dir.
1292 2007-11-25  Akim Demaille  <akim@lrde.epita.fr>
1294         Define and use register_action.
1295         * lib/Automake/Rule.pm: Fix a few typos in the doc.
1296         (&rule): Use || to simplify the code.
1297         (&register_action): New.
1298         Export it.
1299         * automake.in (&handle_factored_dependencies, &file_contents_internal):
1300         Use it.
1302 2007-11-25  Akim Demaille  <akim@lrde.epita.fr>
1304         * bootstrap: Fix typos on redirections.
1306 2007-11-24  Akim Demaille  <akim@lrde.epita.fr>
1308         Skip comments and empty lines in dirlist in the tests.
1309         * defs.in (extra_includes): Skip comments and empty lines in dirlist.
1311 2007-11-24  Akim Demaille  <akim@lrde.epita.fr>
1313         Ternary operator in lib/am files.
1314         * automake.in (&transform_token): New.
1315         (&transform): Use it.
1316         Support %KEY?TRUE:FALSE%.
1317         (&make_paragraphs): Adjust the regexp to call %transform.
1318         * lib/am/data.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
1319         * lib/am/progs.am, lib/am/python.am, lib/am/scripts.am:
1320         Use %KEY?TRUE:FALSE%.
1321         * lib/am/inst-vars.am (am__strip_dir): Assign the result to f
1322         to be more alike am__vpath_adj.
1323         Adjust dependencies.
1325 2007-11-24  Akim Demaille  <demaille@gostai.com>
1327         * automake.in: Normalize white spaces.
1329 2007-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1331         * configure.ac (ACLOCAL, AUTOMAKE): Fix quoting for rebuilding
1332         rules, if the absolute build directory name contains white space.
1334 2007-11-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1336         * aclocal.in (trace_used_macros): Quote input files.
1338         * lib/ylwrap: Cope with white space in `PROGRAM' and `pwd`.
1340         * lib/am/tags.am (ID, TAGS, CTAGS): Make awk scripts portable again.
1341         (CTAGS): Drop unneeded variable `here'.
1343 2007-11-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1345         * tests/output13.test: New test.
1346         * tests/Makefile.am: Adjust.
1347         Prompted by report from Bruno Haible in
1348         <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00479.html>.
1350         Fix signal handling in aclocal.
1351         * aclocal.in (unlink_tmp): If invoked by a signal, note so
1352         in verbose mode.  Reinstall default signal handler and reraise,
1353         to transport the interrupt information.
1355 2007-11-13  Bob Proulx  <bob@proulx.com>
1357         Fix color test failure on dumb (and other) terminals.
1358         * tests/color.test: Set TERM to `ansi'.
1360 2007-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1362         Avoid spurious test failure with `make check TESTS=check5.test'.
1363         * tests/check5.test: unset TESTS.
1365         Fix maintainer-check failure.
1366         * tests/color.test: unset TESTS, use `make -e' rather than
1367         `make MACRO=val'.
1369 2007-11-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1371         * configure.ac (AM_INIT_AUTOMAKE): Require version 1.10a.
1373         * automake.in (handle_tests): Remove debugging leftover.
1375         Run each test in a process-private subdirectory.
1376         * tests/defs.in: Employ a trap to clean up at the end of the
1377         test in case the test succeeded.  This needs to be revisited
1378         because we would like to keep the output of XPASSing tests.
1379         Also, note when we were interrupted by a signal.  Code taken
1380         from Autoconf's _AC_INIT_PREPARE.
1381         If $keep_testdirs is set, keep them even for successful tests.
1382         * tests/Makefile.am (check-clean-local): New target.  Remove all
1383         tests subdirs, but also make them writable first.  The latter
1384         was already needed without per-test subdirs.
1385         (distclean-local): Depend upon check-clean-local.
1386         * tests/Makefile.in: Regenerate.
1387         * tests/.cvsignore, tests/.gitignore: Adjust.
1389         Fix default includes ordering to be `-I. -I$(srcdir) ...' again.
1390         * automake.in (handle_compile): Put -I$(srcdir) before include
1391         paths for config headers, as was done before Automake 1.10, but
1392         keep uniquified list without multiple adjacent spaces.
1393         * doc/automake.texi (Program variables): List include paths
1394         in order.
1395         * NEWS: Mention 1.10 regression.
1396         * tests/stdinc.test: New test.
1397         * tests/Makefile.am: Adjust.
1398         * THANKS: Update.
1399         Report by Kent Boortz.
1401 2007-11-08  Akim Demaille  <akim@lrde.epita.fr>
1402             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1403             Bob Proulx  <bob@proulx.com>
1405         Implement colorized test output.
1406         * automake.in (handle_tests): Set COLOR depending on `color-tests'.
1407         * configure.ac (AM_INIT_AUTOMAKE): Use `color-tests'.
1408         * doc/automake.texi (Tests, Options): Document test results,
1409         document new option, document AM_COLOR_TESTS.
1410         * lib/Automake/Options.pm (_process_option_list): Handle it.
1411         * lib/am/check.am (am__tty_colors): New variable.  Enable colored
1412         output if TERM is not dumb and depending on AM_COLOR_TESTS and
1413         whether stdout is connected to a terminal.
1414         (check-TESTS): Use am__tty_colors.
1415         * NEWS: Mention color-tests.
1416         * tests/color.test: New test.
1417         * tests/Makefile.am: Adjust.
1419 2007-11-08  NightStrike  <nightstrike@gmail.com>  (tiny change)
1421         For PR automake/526:
1422         * doc/automake.texi (Basic Installation): Fix typo.
1424 2007-10-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1426         Accommodate for new macro AC_AUTOCONF_VERSION.
1427         * aclocal.in (write_aclocal): Use AC_AUTOCONF_VERSION rather
1428         than m4_PACKAGE_VERSION.  Define the former if not defined.
1429         * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Likewise.
1430         * tests/missing4.test: Use AC_AUTOCONF_VERSION.
1432 2007-10-29  Bruno Haible  <bruno@clisp.org>
1434         * doc/automake.texi (Program variables): Clarify that
1435         Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but
1436         passes it directly to compilation commands.
1438 2007-10-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1440         Move to git as primary source repository.
1441         * Makefile.am (git-dist, git-release): Renamed and adjusted from ...
1442         (cvs-dist, cvs-release): ... these.
1443         (git-diff): New target, taken and adjusted from cvs-diff.
1444         * Makefile.in: Regenerate.
1445         * bootstrap: Adjust.
1446         * NEWS: Announce change.
1447         * doc/automake.texi (General Operation): cvs-dist is git-dist now.
1448         (Timeline): Mention change.
1450 2007-10-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1452         * automake.in: Treat extension .sx also like preprocessed
1453         assembler (.S), following GCC.
1454         * NEWS: Update.
1455         * doc/automake.texi (Assembly Support): Adjust.
1456         * tests/asm3.test: New test.
1457         * tests/Makefile.am: Update.
1459 2007-10-09  Jim Meyering  <meyering@redhat.com>
1461         Add lzma compression support.
1462         * NEWS: Mention it.
1463         * automake.in (handle_dist): Recognize dist-lzma.
1464         (make_paragraphs): Map LZMA to dist-lzma.
1465         * doc/automake.texi (Dist): Add dist-lzma.
1466         (Options): Likewise.
1467         * lib/Automake/Options.pm (_process_option_list):
1468         (dist dist-all): Add command to create an lzma-compressed tarball.
1469         (distcheck): Handle lzma-compressed tarballs just like the others.
1470         * tests/defs.in: Test for lzma, too.
1471         * tests/lzma.test: New file, based on nogzip.test.
1472         * tests/Makefile.am (TESTS): Add lzma.test.
1473         Suggestion from Karl Berry.
1475 2007-09-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1477         * automake.in (TARGET_PATTERN): Allow leading digit.
1478         * tests/exeext3.test: Adjust to expose this.
1479         Report by Claudio Fontana and Laurence Finston.
1481 2007-08-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1483         * tests/defs.in (required): For gcj, check whether `gcj -v'
1484         works, to avoid broken installations without libgcj.spec.
1485         Export $GCJ.
1486         * tests/gcj4.test: Setting GCJ not needed any more.
1487         * THANKS: Update.
1488         Report by Jesse Chisholm.
1490 2007-08-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1492         * lib/config-ml.in, lib/config.guess, lib/config.sub,
1493         lib/symlink-tree, lib/texinfo.tex: New upstream versions.
1495 2007-08-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1497         * doc/automake.texi (gettext): Fix link to gettext manual.
1499 2007-08-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1501         In ChangeLog files, use more-permissive notice rather than GPL,
1502         as per usual GNU standards these days.
1504 2007-08-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1506         * automake.in (handle_programs): Also clean .libs/_libs
1507         directory for _PROGRAMS.
1508         * tests/libtoo10.test: New test.
1509         * tests/Makefile.am: Update.
1510         * THANKS: Update.
1511         Report by Guillermo Ontañón.
1513 2007-08-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1515         * configure.ac: Actually require version 2.60 in the test for
1516         Autoconf, and recommend it in the error messages.
1517         * THANKS: Update.
1518         Report by Robert Swafford.
1520 2007-07-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1522         * doc/automake.texi (VPATH Builds): Fix wording.
1523         Report by Reuben Thomas.
1525 2007-07-22  Noah Misch  <noah@cs.caltech.edu>
1527         * tests/subst.test: Move the AC_SUBST into a macro definition.
1528         Avoids an error from CVS Autoconf.
1529         * THANKS: Update.
1530         Report by Benoit Sigoure.
1532 2007-07-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1533             Alexandre Duret-Lutz  <adl@gnu.org>
1535         * lib/am/configure.am (%?REGEN-ACLOCAL-M4%): New target
1536         $(am__aclocal_m4_deps) without any dependencies, to avoid the
1537         "deleted .m4 file" problem.
1538         * tests/acloca22.test: New test.
1539         * tests/Makefile.am: Update.
1540         * NEWS: Update.
1542 2007-07-22  Francesco Salvestrini  <salvestrini@gmail.com>
1543             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1545         * lib/am/ltlib.am (install-%DIR%LTLIBRARIES)
1546         (uninstall-%DIR%LTLIBRARIES): Use $(AM_LIBTOOLFLAGS) and
1547         $(LIBTOOLFLAGS).
1548         * lib/am/progs.am (install-%DIR%PROGRAMS)
1549         (uninstall-%DIR%PROGRAMS): Likewise.
1550         * tests/libtool7.test: Update test for `install' and
1551         `uninstall' cases.
1552         * NEWS, THANKS: Update.
1554 2007-07-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1556         * doc/automake.texi: Remove Front-Cover and Back-Cover Texts,
1557         this manual is not printed by the FSF.
1559 2007-07-16  Alexandre Duret-Lutz  <adl@gnu.org>
1561         * NEWS: Clarify that COPYING files are not updated.
1563 2007-07-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1565         * doc/automake.texi: New Back-Cover Text.
1566         Report by Karl Berry.
1568 2007-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1570         * aclocal.in (version): Fix output to match GCS requirements.
1571         * automake.in (version): Likewise.
1572         Report by Eric Blake.
1574         * COPYING, lib/COPYING: Update to GPLv3.  All uses changed.
1575         * NEWS: Update.
1577 2007-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1579         * lib/gnupload: Fix shell portability issues with for loops.
1580         Report by Karl Berry.
1582 2007-06-23  Paul Eggert  <eggert@cs.ucla.edu>
1583             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1585         * aclocal.in (write_aclocal): Warn about autoconf
1586         incompatibilities instead of making them fatal.
1587         * tests/missing4.test: Adjust.
1588         * NEWS: Update.
1589         Problem reported by Bruno Haible in
1590         <http://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>.
1592 2007-05-03  Stepan Kasal  <kasal@ucw.cz>
1594         * doc/automake.texi, lib/Automake/Rule.pm: Fix typos.
1595         * automake.in: Likewise.
1596         (am_primary_prefixes): Keep the intentional typo there.
1598 2007-04-25  Eric Blake  <ebb9@byu.net>
1600         * doc/stamp-vti: Remove generated file from revision control.
1601         * doc/version.texi: Likewise.
1603 2007-04-23  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
1605         * doc/automake.texi (Python): Fix typo.
1607 2007-03-30  Eric Blake  <ebb9@byu.net>
1608             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1610         * lib/mdate-sh (ls_command): Use -n when available to avoid
1611         problems with spaces in user/group names.
1612         * tests/mdate5.test: New test.
1613         * tests/Makefile.am: Adjust.
1615 2007-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1617         * automake.in (handle_tests): Rewrite XFAIL_TESTS just like
1618         TESTS, appending $(EXEEXT), so that matching continues to work
1619         on w32.
1620         * NEWS: Mention this.
1621         * doc/automake.texi (EXEEXT, Extending): Update.
1622         * tests/check7.test: New test.
1623         * tests/Makefile.am: Adjust.
1624         Bug report by Ed Hartnett.
1626 2007-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1628         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Again search
1629         the whole file, but use sed to reduce the line length.
1630         Fixes 1.10 regression.  Report by David Byron.
1631         * THANKS, NEWS: Update.
1633 2007-03-29  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1635         * lib/depcomp (aix): Rewrite depmode in the spirit of the tru64
1636         one.  Fixes failure to catch dependencies with libtool and xlc
1637         in case of enable_static=no (which is the default on AIX without
1638         runtimelinking).
1639         * tests/depcomp7.test: Run test once with --disable-shared and
1640         once with --disable-static, to expose failure systematically.
1641         * NEWS: Update.
1643 2007-03-29  Stepan Kasal  <kasal@ucw.cz>
1644             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1646         * automake.in (handle_LIBOBJS_or_ALLOCA): Fix the error message.
1647         * tests/pr401.test: Update to expose the error.
1648         * tests/pr401b.test: Likewise.
1649         * tests/pr401c.test: Likewise.
1651 2007-03-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1653         * automake.in (scan_autoconf_config_files): Warn about leading
1654         `./' in config file names.
1655         * tests/canon-name.test: New test.
1656         * tests/Makefile.am: Update.
1657         * THANKS: Update.
1658         Suggestion by Claudio Fontana.
1660         * tests/yacc6.test: Add the generated headers to `BUILT_SOURCES'
1661         as documented in the manual.  Fixes parallel make failure.
1662         Report by Dieter Jurzitza.
1663         * THANKS: Update.
1665         * ChangeLog, TODO, tests/exdir3.test: Fix copyright notice.
1667         * TODO: Kill a couple of outdated items.
1668         * tests/exdir3.test: New test.
1669         * tests/Makefile.am: Update.
1671 2007-01-27 Bruno Haible  <bruno@clisp.org>
1673         * doc/automake.texi (Multiple Outputs): Fix the multiple outputs
1674         with locking example.
1676 2007-01-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1678         * doc/automake.texi (Subpackages): Fix ambiguous wording.
1679         Report and suggestions by Reuben Thomas.
1680         * THANKS: Update.
1682 2007-01-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1684         * tests/defs.in (is_newest): Cope with multiple newer files.
1685         * NEWS: mention `install-sh -C'.
1687 2006-12-25  Paul Eggert  <eggert@cs.ucla.edu>
1689         * lib/install-sh (initialize_posix_glob): New var.
1690         Use it instead of setting posix_glob inline.
1691         (posix_glob): Use '?'/''/: instead of ''/yes/no, for convenience.
1692         (cmpprog, CMPPROG): New vars, since we use cmp rather than the diff
1693         of Akim's patch.
1694         Use LC_ALL before invoking 'ls' when we depend on its output format.
1695         Don't use awk; just use the shell's builtin features.
1696         Clean up $dsttmp if -C detects no installation is needed.
1697         * tests/defs.in (is_newest): Renamed from is_younger; the new
1698         name is more accurate.  All uses changed.
1699         (old_timestamp): New var.
1700         * tests/instsh2.test: Rewrite to avoid the need for sleeping.
1702 2006-12-25  Akim Demaille  <akim@epita.fr>
1704         * lib/install-sh: Implement install-sh -C.
1705         (This patch is the remaining part of the patch proposed in
1706         <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
1707         (usage): Document it.
1708         (copy_on_change): New var.
1709         * tests/defs.in (is_younger): New function.
1710         * tests/instsh2.test: Check install-sh -C.
1712 2006-12-24  Paul Eggert  <eggert@cs.ucla.edu>
1714         * lib/install-sh: Fix typo in previous patch for handling --.
1715         Use more-consistent style for ';;'.
1716         Prefer || to if-then-else-:.
1717         * tests/install2.test: Rework to avoid set -e problems.
1719 2006-12-24  Akim Demaille  <akim@epita.fr>
1721         Simplify install-sh and its test.  This shouldn't change any behavior.
1722         (This patch is a subset of the patch proposed in
1723         <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
1724         * lib/install-sh (usage): Use usual GNU style.
1725         (dstarg): Rename as...
1726         (dst_arg): this for consistency.
1727         Simplify quoting of assignments.
1728         Sort them.
1729         Don't use '\' to continue commands: && suffices.
1730         Remove useless "continue" in the argument processing,
1731         and factor the shifts.
1732         * tests/defs.in: Some improvements to make it set -e clean.
1733         Use the traditional ":" trick to protect loops from being empty.
1734         Remove an empty straightforward piece of code prepared to define
1735         additional variables.
1736         Use test instead of [], for consistency.
1737         * tests/install2.test: Use set -e, to simplify code.
1739 2006-12-20  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
1741         * doc/automake.texi: Fix typo.
1743 2006-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1745         * doc/Makefile.am: Use $(MAKE) $(AM_MAKEFLAGS) for building
1746         amhello, to prevent gmake from invoking make with MAKEFLAGS
1747         it does not understand.
1748         Report by Patrick Welche.
1750         * lib/gnupload: Revert last change.  Add pointer to upload
1751         instructions of the GNU Maintenance Instructions.
1752         Suggestion by Karl Berry.
1754 2006-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1756         * lib/gnupload: Add missing 'gnu' to example URL.
1757         Report by Karl Berry.
1759 2006-10-28  Bobby Jack <bobbykjack@yahoo.co.uk>  (tiny change)
1761         * doc/automake.texi (amhello Explained): autoconf creates
1762         configure, not configure.ac.
1763         * THANKS: Update.
1765 2006-10-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1767         * doc/automake.texi (Dist, Dependency Tracking Evolution):
1768         Fix some typos.
1769         * lib/Automake/Condition.pm: Likewise.
1770         * lib/Automake/DisjConditions.pm: Likewise.
1771         * lib/Automake/ItemDef.pm: Likewise.
1772         * lib/Automake/Options.pm: Likewise.
1773         * lib/Automake/Rule.pm: Likewise.
1774         * lib/Automake/VarDef.pm: Likewise.
1775         * lib/Automake/Variable.pm: Likewise.
1776         * lib/Automake/Wrap.pm: Likewise.
1777         * lib/Automake/XFile.pm: Likewise.
1778         * m4/substnot.m4: Likewise.
1780 2006-10-16  Alexandre Duret-Lutz  <adl@gnu.org>
1782         * lib/gnupload: Update to version 1.1 of directive file.
1784 2006-10-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1786         * lib/am/depend2.am (%SOURCEFLAG%): New substitution, goes
1787         right before the expanded source file name.
1788         * automake.in (%sourceflags): New global: per-extension flag
1789         to denote that the next compiler argument is the source file.
1790         (scan_autoconf_traces): Trace AC_FC_SRCEXT; initialize
1791         %sourceflags accordingly.
1792         (handle_single_transform): Store source file extension in...
1793         (%lang_specific_files): ...this and...
1794         (handle_languages): ...adjust here.  Pass flag in SOURCEFLAG.
1795         * doc/automake.texi (Optional): Add AC_FC_SRCEXT.
1796         (Fortran 9x Support): Update.
1797         * tests/fort2.test: New test.
1798         * tests/Makefile.am: Adjust.
1799         * NEWS, THANKS: Update.
1800         Suggested by Steven G. Johnson.
1802         For PR automake/480.
1803         * automake.in (lang_f77_rewrite, lang_fc_rewrite)
1804         (lang_ppfc_rewrite, lang_ppf77_rewrite, lang_ratfor_rewrite):
1805         return `lang_sub_obj' to support subdir-object mode for the
1806         Fortran dialects.
1807         * tests/fort4.test, tests/fort5.test: New tests.
1808         * tests/Makefile.am: Update.
1809         * NEWS, THANKS: Update.
1810         Report by Davyd Madeley and Shannon L. Brown.
1812         * lib/am/header-vars.am (pkglibexecdir): New variable.
1813         * automake.in (%standard_prefix): Add it.
1814         * doc/automake.texi (Uniform): Document it.
1815         (Program Sources): Adjust.
1816         * NEWS: Update.
1817         * tests/libexec.test: New test.
1818         * tests/Makefile.am: Update.
1819         Suggested by Eric Blake.
1821 2006-10-15  Alexandre Duret-Lutz  <adl@gnu.org>
1823         * lib/gnupload: Update to version 1.1 of directive file.
1825         * configure.ac, NEWS: Bump version to 1.10a.
1827         * configure.ac, NEWS: Bump version to 1.10.
1828         * doc/automake.texi (Releases): Update for 1.10.
1830         * lib/config.sub, lib/texinfo.tex: New upstream versions.
1832         * lib/am/depend2.am: Typo.
1833         * lib/depcomp (scriptversion): Bump, to account for recent changes.
1835         * doc/automake.texi (Examples): Introduce the example, and point
1836         to Hello World.
1837         (Hello): Remove this obsolete node.
1839 2006-10-15  Hans Ulrich Niedermann  <hun@n-dimensional.de>
1840             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1842         For PR automake/507:
1843         * lib/am/distdir.am (distdir): filename-length-max check is not
1844         done in sub-packages.
1845         * doc/automake.texi (Options): Document this.
1846         * tests/fn99subdir.test: New test.
1847         * tests/Makefile.am: Update.
1848         * THANKS: Update.
1850 2006-10-14  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
1852         * doc/automake.texi (Third-Party Makefiles): Fix typo.
1853         * THANKS: Update.
1855 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1857         * aclocal.in (write_aclocal): Improve warning for mismatched
1858         Autoconf version.
1860         * automake.in: For preprocessed assembler, add `$(DEFS)
1861         $(DEFAULT_INCLUDES) $(INCLUDES)' to the compile rule.
1862         * doc/automake.texi (Assembly Support): Update.
1863         * NEWS: Update.
1864         Suggested by Thomas Schwinge and Ralf Corsepius.
1866         For PR automake/492.
1867         * automake.in (output_flag): Set to `-o' for Assembler and
1868         preprocessed Assembler, assuming that all understand `-c -o'.
1869         * THANKS, NEWS: Update.
1870         * tests/subobj10.test: New test.
1871         * tests/Makefile.am: Update.
1872         Report by Thomas Schwinge.
1874         * automake.in (%_macro_for_cond): New variable.
1875         (cond_stack_if): Use it for better error message about
1876         missing dependency tracking conditionals.
1877         * tests/asm2.test: New test, modeled after asm.test.
1878         * tests/Makefile.am: Adjust.
1879         Report by Ralf Corsepius.
1881         * doc/automake.texi (Options): `no-dependencies' is similar
1882         to `--ignore-deps', not `--include-deps'.
1883         * m4/as.m4 (AM_PROG_AS): If `no-dependencies', do not invoke
1884         _AM_DEPENDENCIES.
1885         * tests/nodep2.test: New test.
1886         * tests/Makefile.am: Adjust.
1888         * automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the
1889         LIBOBJDIR, then we should not add a DEPDIR prefix.
1890         * tests/pr401.test: Update test.
1891         * tests/pr401b.test: Likewise.
1892         * tests/pr401c.test: Likewise.
1893         Report by Jim Meyering and Eric Blake.
1895         * lib/depcomp (gcc3): Put dependency extraction flags before the
1896         `-c' flag, so they appear at the same position as in %FASTDEP%
1897         mode in depend2.am.  Fixes build failure for FreeBSD's c89,
1898         which ignores unknown options only after the first non-option.
1899         Bug report against M4 by Nelson H. F. Beebe.
1901 2006-10-14  Bruno Haible  <bruno@clisp.org>
1902             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1904         * automake.in ($seen_gettext_intl): New variable.
1905         (handle_gettext): Consider it.
1906         (scan_autoconf_traces): Add AM_GNU_GETTEXT_INTL_SUBDIR to the list.
1907         Set $seen_gettext_intl when it is seen.
1908         * doc/automake.texi (gettext, Optional): Update.
1909         * tests/gettext3.test: New test.
1910         * tests/Makefile.am: Update.
1912 2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>
1914         * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
1915         which incorrectly sets the mode of an existing destination
1916         directory.  In some cases the unpatched install-sh could do the
1917         equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
1918         system.  We hope this is rare in practice, but it's clearly worth
1919         fixing.  Problem reported by Alex Unleashed in
1920         <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
1921         Also, don't bother to check for -m bugs unless we're using -m;
1922         suggested by Stepan Kasal.
1924 2006-10-14  Geoffrey Keating  <geoffk@apple.com> (tiny change)
1926         * m4/multi.m4: Non-default multilibs may be cross compilation.
1928 2006-10-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1930         * automake.in: Fix some typos in comments.
1931         * lib/Automake/Variable.pm: Likewise.
1933 2006-10-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1935         * automake.in (handle_compile): Use subst, for maintainer-check.
1937 2006-10-09  Andreas Köhler  <andi5.py@gmx.net>  (tiny change)
1939         For PR automake/505:
1940         * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES):
1941         Fix typo: `config.status.lineno', not `configure.status.lineno'.
1943 2006-09-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1945         * NEWS: Mention that `install-sh' needs executable permissions.
1946         * tests/nobase.test: Adjust.
1947         Report by Patrick Welche.
1949 2006-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1951         * lib/am/check.am (check-TESTS): Fix matching of XFAIL_TESTS
1952         against currently running test for the first and last element
1953         of $(TESTS): add spacing so Solaris make does VPATH expansion
1954         on these words, too.
1955         * tests/check6.test: Update.
1957 2006-08-30  Paul Eggert  <eggert@cs.ucla.edu>
1959         For PR automake/501:
1960         * lib/am/depend2.am (?GENERIC?%EXT%.o, ?!GENERIC?%OBJ%):
1961         Abbreviate output a bit by not bothering to quote the .Po file
1962         name (the quoting doesn't suffice in general anyway), and by not
1963         bothering to remove junk .Tpo files (as they'll be removed later).
1964         This also lets 'make' run faster by avoiding a subshell.
1966 2006-08-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1968         * automake.in: Fortran 77 and Fortran should require variables
1969         F77 resp. FC to be defined, and suggest the respective Autoconf
1970         macros otherwise.
1971         * tests/fort1.test: New test.
1972         * tests/Makefile.am: Update.
1974         * tests/ext.test: Add extensions f95, F90, F95.
1976 2006-08-30  Alexandre Duret-Lutz  <adl@gnu.org>
1978         For PR automake/500:
1979         * automake.in (handle_compile) <$default_includes>: Do not output
1980         the same -I twice.  Use @am__isrc@ instead of ` -I$(srcdir)'.
1981         * m4/init.m4: Define am__isrc as ` -I$(srcdir)' only in
1982         non-VPATH builds since we always have `-I.'.
1983         * tests/subpkg.test: Make sure config headers are found in VPATH
1984         and non-VPATH builds.
1986 2006-08-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1988         * doc/automake.texi, lib/Automake/Rule.pm: Fix some typos.
1989         * NEWS: Likewise.  Clarify that only one LIBOBJDIR is supported.
1991 2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
1993         * lib/Automake/ChannelDefs.pm (usage): Mention that -Wportability
1994         is enabled by default with gnu and gnits strictness.
1995         Report from Bruno Haible.
1997 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
1999         * NEWS: Mark de-ANSI-fication as being obsolete.
2000         * doc/automake.texi: Likewise.
2002 2006-08-21  Stepan Kasal  <kasal@ucw.cz>
2004         * Makefile.am, THANKS: Fix typos.
2006 2006-08-20  Alexandre Duret-Lutz  <adl@gnu.org>
2008         * NEWS, configure.ac: Bump version to 1.9c.
2010         * NEWS, configure.ac: Bump version to 1.9b.
2012         * Makefile.am (maintainer-check): Check for mkdir_p in automake.in
2013         too.
2014         * automake.in (require_build_directory): Use MKDIR_P, not mkdir_p.
2016         * m4/mkdirp.m4: Typo in previous patch.
2018         * Makefile.am (maintainer-check): Fine-tune the "Unescaped @"
2019         check so it doesn't complain about the '@ 's in node "Standard
2020         Directory Variables".
2022         * INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New
2023         upstream versions.
2025         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with
2026         $(top_builddir)/ if it is a relative directory.
2028 2006-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
2030         * lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use
2031         ylwrap.  Suggested by Akim Demaille long ago, to ease maintenance.
2032         * automake.in (handle_languages): Do not define MORE-THAN-ONE.
2033         (yacc_lex_finish_helper, lang_yacc_finish, lang_lex_finish): Always
2034         require ylwrap.
2035         * doc/automake.texi (Auxiliary Programs, Yacc and Lex): Update the
2036         documentation of ylwrap.
2037         * tests/lex.test, tests/lex4.test, tests/mmodely.test,
2038         tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
2039         tests/yaccpp.test: Adjust.
2041         * doc/automake.texi (Releases): Update statistics until 1.9.6.
2043         * Makefile.am (maintainer-check): Check for mkdir_p.
2044         * automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P.
2045         * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
2046         lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
2047         lib/am/mans.am, lib/am/progs.am, lib/am/python.am,
2048         lib/am/scripts.am, lib/am/texinfos.am: Use MKDIR_P instead of mkdir_p.
2049         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not
2050         as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use
2051         mkdir_p without defining MKDIR_P.
2052         * tests/distdir.test, tests/instman.test, tests/txinfo21.test:
2053         Adjust.
2055         * Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm.
2056         * configure.ac (ACLOCAL): Use --acdir=m4 in addition to
2057         -I m4.  Running aclocal during the rebuild rules will fail
2058         if the default acdir does not exist.
2060         * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4:
2061         Require Autoconf 2.60 instead of some intermediate development
2062         version.
2064         * doc/automake.texi (Standard Directory Variables): Fix multitable
2065         width.
2066         (Autotools Introduction): Fix @uref usage.
2068 2006-08-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2070         * doc/automake.texi: Fix some typos in the introduction,
2071         adjust some spacing; spell `GNU Build System' consistently.
2072         (menu): Unify node naming.
2073         (Standard Directory Variables): Clarify that this list is not
2074         exhaustive.
2075         (DESTDIR): Fix example.
2077 2006-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
2079         * doc/automake.texi (Autotools Introduction) New chapter.
2080         Thanks to Ben Pfaff and Ralf Wildenhues for comments.
2081         (Auxiliary Programs, Install, Dist, Third-Party Makefiles)
2082         (distcleancheck): More cross references.
2083         * doc/amhello/configure.ac, doc/amhello/README,
2084         doc/amhello/Makefile.am, doc/amhello/src/Makefile.am,
2085         doc/amhello/src/main.c: New files.
2086         * doc/Makefile.am (dist_noinst_DATA): Distribute them.
2087         ($(srcdir)/amhello-1.0.tar.gz): New rule.
2088         (dist_doc_DATA): Install amhello-1.0.tar.gz.
2089         * Makefile.am (SUBDIRS): Update comment.
2091 2006-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2093         * doc/automake.texi: Fix some typos.
2095 2006-08-14  Jonathan Higa <jthiga@gmail.com>
2097         * automake.in: Register "Unified Parallel C" as language.
2098         (lang_upc_rewrite): New function.
2099         (resolve_linker): Consider UPCLINK.
2100         * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest
2101         AM_PROG_UPC for UPC and UPCFLAGS.
2102         * m4/upc.m4: New file.
2103         * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case.
2104         * m4/Makefile.am (dist_m4data_DATA): Add upc.m4.
2105         * doc/automake.texi (Unified Parallel C Support): New node.
2106         (Public macros): Mention AM_PROG_UPC.
2107         (Program and Library Variables, Flag Variables Ordering):
2108         Mention UPCFLAGS.
2109         * tests/upc.test, tests/upc2.test, tests/upc3.test: New file.
2110         * tests/Makefile.am (TESTS): Add them.
2111         * tests/ext.test: Also test upc files.
2113 2006-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
2115         * doc/automake.texi (Scripts): Fix some errors in previous patch.
2117         * doc/automake.texi (Scripts): Revamp.  Show an example of script
2118         built from configure.ac.  Discuss CLEANFILES and EXTRA_DIST for
2119         other built scripts.
2121         * m4/init.m4: Suggest fixing the call to AC_INIT when
2122         AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined.  This is for
2123         newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments.
2124         * tests/init.test: New file.
2125         * tests/Makefile.am (TESTS): Add it.
2127 2006-08-04  Stepan Kasal  <kasal@ucw.cz>
2129         * automake.in (dist_dirs, fill_dist_dirs): Remove.
2130         * lib/am/distdir.am (DISTDIRS): Remove.
2131         * tests/distdir.test, tests/pr2.test: Do not grep, use
2132         `make distdir' instead.
2134 2006-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
2136         * doc/automake.texi (Conditionals): Split in two sections, "Usage"
2137         and "Portability", and add a third one, "Limits" to explain how
2138         conditional definitions inside multi-lines definitions can be
2139         handled.
2140         * automake.in (handle_options): Do not assume that
2141         AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional
2142         definitions of AUTOMAKE_OPTIONS.
2143         Report from Bas Wijnen.
2144         * tests/amopt.test: New test.
2145         * tests/Makefile.am (TESTS): Add it.
2147         * aclocal.in (install_file): Cannot use /dev/null while diffing
2148         new files, because Tru64's diff do not handle /dev/null.  So
2149         create an empty destination file before running diff on a new
2150         file, and erase it afterward.  Fall back to using /dev/null only
2151         if we cannot create this file.
2152         Report and initial patch from Ralf Wildenhues.
2153         (unlink_tmp): New function.
2154         * test/acloca18.test: Make sure the empty file has been erased.
2156 2006-08-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2158         * automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects,
2159         do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR,
2160         to help BSD Make find the files also in a VPATH build.
2161         Also return the same path, possibly prefixed, for correct
2162         depdir computation.
2163         * tests/pr401.test: Update to expose wrong depdir computation.
2164         Rewrite to not use the same file name for library object and
2165         main program.
2166         * tests/pr401b.test, tests/pr401c.test: Likewise.
2168 2006-07-09  Paul Eggert  <eggert@cs.ucla.edu>
2170         * lib/install-sh: Don't incorrectly claim that this implementation
2171         can install only one file at a time.
2172         (doit_exec): New var, for using 'exec' if possible, to save a process.
2173         (test_mode, intermediate_mode): Remove.
2174         (mode): Check for IFS or globbing characters in mode, since they might
2175         cause weird behavior with the other changes below.  All later uses
2176         of '"$mode"' changed to '$mode', since the ""s no longer matter.
2177         Use octal modes if the invoker specifies an octal mode, and use
2178         octal umask values if 'umask' outputs octal values; this is more
2179         likely to work with older operating systems since Automake uses
2180         octal modes, and also works around a bug with HP-UX 11.23
2181         'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in
2182         <http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>.
2183         (cp_umask, mkdir_umask): New variables, to avoid
2184         temporarily creating files or directories with too-permissive modes.
2185         (mkdir_mode): Use the FreeBSD 'install' method for computing modes of
2186         intermediate directories; this is safer.
2187         (posix_mkdir): Also test mkdir -p -m ... by making a directory in
2188         /tmp and checking the resulting mode with 'ls', to catch a bug in
2189         HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message.
2190         Use ':' for true, not 'true'; this is a bit faster on
2191         traditional implementations.
2193 2006-07-09  Jim Meyering  <jim@meyering.net>
2195         * lib/depcomp: "in in" -> "in" in comment.
2197 2006-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2199         * tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr,
2200         for consistency with the recommendation prompted by this report:
2201         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
2203 2006-06-24  Stepan Kasal  <kasal@ucw.cz>
2204             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2206         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to
2207         `'$(MKDIR_P)'', so that it retains the per-directory value
2208         computed by config.status.
2209         * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from
2210         a changed directory.  Bugs reported by Ralf Menzel.
2211         * THANKS: Update.
2213 2006-06-24  Eric Dorland  <eric@debian.org>
2214             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2216         * automake.in (scan_texinfo_file): Fix matching file extension.
2217         * tests/txinfo31.test: New test.
2218         * tests/Makefile.am: Update.
2220 2006-06-07  Alexandre Duret-Lutz  <adl@gnu.org>
2222         * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.
2224 2006-06-07  Stepan Kasal  <kasal@ucw.cz>
2226         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
2228 2006-06-06  Stepan Kasal  <kasal@ucw.cz>
2229             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2231         * lib/am/distdir.am: Do not call $(mkdir_p) for each
2232         distributed file, collect them and create them in one run,
2233         and strip $(srcdir) and $(top_srcdir) all at once.
2234         Fix some comment typos.
2236 2006-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2238         * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
2239         7.4.4m may omit the first included header dependency information
2240         with `-MDupdate'.  Refine test to catch this.
2242         * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
2243         procedure.
2245         * tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3
2246         requires `config.rpath' to be present, and automake now enforces
2247         this.  Test this, but only if the gettext installation works and
2248         is recent enough to provide this diagnosis.
2249         * tests/gettext.test: Provide a dummy `config.rpath' for all
2250         subsequent checks.
2251         * tests/gettext2.test, tests/subcond.test: Likewise.
2253         * tests/pr401.test: Replace "perl -i" with sed and mv, for
2254         MinGW perl.
2255         * tests/pr401b.test, tests/pr401c.test, tests/python11.test,
2256         * tests/yacc6.test, tests/yacc8.test: Likewise.
2258         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
2259         plain `grep' on the Makefile, as its line length may exceed that
2260         for grep.  Bug report against coreutils by Sam Sirlin.
2261         * THANKS: Update.
2263 2006-05-26  Sergey Poznyakoff  <gray@Mirddin.farlep.net>  (tiny change)
2265         * doc/automake.texi (Options): Add anchor `tar-formats'.
2267 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
2269         * lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides
2270         ENOLCK.  Only mention `make -j' when applicable.  Only raise
2271         fatal errors when `make -j' is involved.  Improve error message.
2273 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2275         * lib/Automake/Configure_ac.pm (find_configure_ac): Use
2276         `$configure_in' instead of `configure.in', to preserve
2277         directory component.
2278         * lib/Automake/Configure_ac.pm: Add note that Automake owns
2279         this file.
2280         * lib/Automake/Channels.pm: Likewise.
2281         * lib/Automake/FileUtils.pm: Likewise.
2282         * lib/Automake/Struct.pm: Likewise.
2284 2006-05-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2286         * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
2287         New upstream versions.
2289 2006-05-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2291         * doc/automake.texi (Auxiliary Programs): Fix URL to GCC
2292         repository, they use SVN now.
2294 2006-05-13  Werner Lemberg  <wl@gnu.org>
2296         * lib/gnupload: Add support for savannah.gnu.org and
2297         savannah.nongnu.org.
2299 2006-05-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2301         * lib/Automake/Channels.pm, lib/Automake/Condition.pm,
2302         lib/Automake/DisjConditions.pm, lib/Automake/Options.pm,
2303         lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos.
2305 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
2307         * lib/install-sh: Sync from Autoconf, as follows:
2308         Don't use 'path' to talk about file names,
2309         as per GNU coding standards.  Close a race condition reported by Ralf
2310         Wildenhues and Stepan Kasal.  There is still a race condition
2311         on hosts that predate Posix 1003.1-1992, but we can't help this.
2312         Don't mishandle weird characters like space on pre-Posix hosts.
2313         Invoke mkdir at most once per dir arg on pre-Posix hosts.
2315 2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2317         * tests/missing.test, tests/missing2.test: Do not require
2318         GNUmake.
2319         * Makefile.am (maintainer-check): Make sure `required=' does not
2320         follow `. ./defs' in the tests.
2322         * tests/ansi10.test: Use AC_PROG_CC_STDC.  Fix test that
2323         ac_cv_prog_cc_stdc isn't just used by Automake code in
2324         `configure'.
2325         * tests/ansi6.test, tests/ansi7.test: Likewise.
2326         * tests/ansi9.test: Likewise.  Do not override by setting
2327         $U and $(ANSI2KNR) at `make' time; that will be fragile.
2328         * tests/libobj8.test: Use AC_PROG_CC_STDC.
2329         * tests/subobj3.test: Likewise.  Use `set -e'.
2331         * lib/install-sh: Initialize IFS, so field splitting isn't
2332         turned off later.
2333         * lib/mkinstalldirs: Likewise.
2335         * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
2336         the path of the prerequisite added; IRIX 6.5 make does not add
2337         it, Solaris 2.6 make is inconsistent about adding it.  Fixes
2338         java.test failure.
2340         * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
2341         files in the source tree.  Fixes failures with HP-UX and Tru64
2342         make.
2344         * lib/am/ansi2knr.am (ansi2knr): Rename target as...
2345         (./ansi2knr): ...this, for BSD make.
2346         (%ANSI2KNR-DIR%/ansi2knr): Adjust.
2348 2006-05-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2350         * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
2351         /bin/sh -e issue with failing commands in if clauses.
2353         * tests/defs.in (Be Bourne compatible): Update from current
2354         Autoconf.
2356         * configure.ac: Recommend perl-5.8.2.
2357         * tests/automake.test: Do not fail because of buggy Getopt::Long
2358         in perl < 5.8.2.
2360         * tests/longlin2.test: Do not use `grep' on Makefile.am:
2361         it has long lines and is thus not a text file; AIX 5.1 grep
2362         fails to scan non-plain patterns from long lines.
2364         * tests/overrid.test: Change all regexes for warning messages to
2365         match after a colon, so that the prepended file names do not
2366         cause false matches.  Tighten overrides regex.  Fix typo
2367         `cleam-am-local' -> `clean-am-local'.
2369         * tests/java.test: `configure' uses a trap, so use `(exit 77);
2370         exit 77' to portably set the exit status similar to AS_EXIT.
2371         * tests/fn99.test: propagate nonzero exit status from subshell.
2373         * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
2374         if ``pwd`' contains the string `-p'.  Create the wrapper in a
2375         subdirectory so that `.' in $PATH does not lead to an endless
2376         loop.
2378         * lib/depcomp (ia64hp): Rename dependency style to..
2379         (hp2): ..this, as it works with aCC on HPPA, too; adjust
2380         comment.  Report by Olivier Fourdan (PR automake/481).
2381         * THANKS: Update.
2383         * tests/aclocal7.test: Add `$sleep's between file touching
2384         and automake resp aclocal+automake invocations, to ensure
2385         they complete with a time stamp strictly later than the touched
2386         file.
2388         * lib/missing: Remove superfluous quotes.  Replace all uses of
2389         `[' by `test', for consistency, and for..
2390         * tests/missing5.test: ..this new test.
2391         * tests/Makefile.am: Update.
2393         * lib/missing (sed_minuso, sed_output): New variables.
2394         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
2395         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
2396         Fixes `missing' to detect `--output' for help2man.  Fixes
2397         PR automake/483.  Report by Dennis J. Linse.
2398         (autom4te): Document in `missing --help'.
2399         * THANKS: Update.
2401 2006-04-26  Thien-Thi Nguyen  <ttn@gnu.org>  (tiny change)
2403         * doc/automake.texi (Dependency Tracking Evolution): Fix typo.
2405 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
2407         * lib/install-sh: Simplify the expr implementation of dirname.
2409 2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
2411         * lib/install-sh: Handle --, and diagnose unknown options.
2412         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set
2413         mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with
2414         the other ways that mkdir_p might be set.
2416 2006-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
2418         * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
2419         (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
2420         * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
2421         (write_aclocal): Output a check for Autoconf's version in aclocal.m4.
2422         Doing so ensures that users cannot build configure and Makefiles
2423         with two different autoconf versions.  Report from Noah Misch.
2424         * tests/missing4.test: New file.
2425         * tests/Makefile.am (TESTS): Add it.
2427 2006-04-20  Paul Lunau  <temp@lunau.me.uk>  (tiny change)
2428             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2430         * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
2431         failed, instead of when the last one failed (PR automake/488).
2432         Report from Paul Lunau.
2433         * tests/dejagnu4.test: Update to expose this.
2434         * THANKS: Update.
2436 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2438         * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
2439         TABs as well as spaces.  Fixes PR automake/490.
2440         * tests/check6.test: New test.
2441         * tests/Makefile.am, THANKS: Update.
2442         Report from Diab Jerius <djerius@cfa.harvard.edu>.
2444 2006-04-17  Stepan Kasal  <kasal@ucw.cz>
2446         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
2447         description; eliminate the duplicate error message.
2448         * doc/automake.texi (@direntry): `Invoking Automake' is the name
2449         of the usage node for `automake'
2450         * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the
2451         comment.
2453 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2455         * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
2456         because it uses `datarootdir'.  Bump copyright year and serial.
2458 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
2460         * NEWS: Fix typo.
2462 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
2464         * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
2465         (_gen_varname): Use _hash_values, and return a flag indicating whether
2466         the variable name was generated or reused.
2467         (transform_variable_recursively): Do not redefine variables that
2468         are reused, and try to reuse the variable being transformed.
2469         * tests/check2.test: Make sure TESTS hasn't been redefined.
2470         * tests/check5.test, tests/exeext4.test: Make sure variables have
2471         been reused.
2472         * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.
2474         * automake.in (%ignored_configure_vars): New variable.
2475         (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill
2476         %ignored_configure_vars.
2477         (define_configure_variable): Declare ignored configure variables
2478         as VAR_SILENT.  Do not special-case AMDEPBACKSLASH and ANSI2KNR
2479         w.r.t. VAR_SILENT.
2480         * m4/substign.m4: New file.
2481         * m4/Makefile.am (dist_m4data_DATA): Add substign.m4.
2482         * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477).
2483         * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH.
2484         * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR.
2485         * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined.
2486         * tests/amsubst.test: New file.
2487         * tests/Makefile.am (TESTS): Add it.
2489 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
2490             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2492         * automake.in (handle_single_transform): Preserve directories in
2493         direct suffix rules.
2494         * tests/suffix12.test: New test.
2495         * tests/Makefile.am (TESTS): Add it.
2496         Report from John Ratliff.
2498 2006-03-25  Mike Frysinger  <vapier@gentoo.org>  (tiny change)
2499             Alexandre Duret-Lutz  <adl@gnu.org>
2501         * aclocal.in ($m4_include_rx): Do not recognize `include', and
2502         adjust scan_configure_dep and scan_file accordingly.
2503         (scan_configure_dep): Do not search white lines.
2504         (scan_file): Strip comments from current line after checking
2505         for serial, so that aclocal does not trip on `m4_include' macros
2506         in comments.  Report from Mike Frysinger.
2507         * tests/acloca21.test: New file.
2508         * tests/Makefile.am (TESTS): Add it.
2510 2006-03-24  Stepan Kasal  <kasal@ucw.cz>
2512         * tests/mmodely.test: Fix the test on systems with no lex.
2514 2006-03-23  Stepan Kasal  <kasal@ucw.cz>
2516         * automake.in (libtool_new_api): Fix a typo in the comment.
2517         * lib/Automake/Makefile.am (Config.pm): Likewise.
2518         * lib/am/depend2.am: Likewise.
2519         * tests/xsource.test: With `set -e', `|| exit 1' is no longer
2520         needed.
2522 2006-03-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2524         * tests/depcomp6.test, tests/depcomp7.test: Change back to
2525         using `$MAKE && exit 1', but make sure the last command in the
2526         test is successful.
2528 2006-03-21  Clifford Wolf  <clifford@clifford.at>  (tiny change)
2529             Stepan Kasal  <kasal@ucw.cz>
2530             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2532         * aclocal.in (parse_arguments): Added wildcard support to the
2533         dirlist parser.
2534         * doc/automake.texi (Macro search path): Document it.
2535         * tests/dirlist2.test: New test.
2536         * m4/dirlist, tests/Makefile.am: Adjust.
2538 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2540         * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)'
2541         to `AC_PROG_OBJC' if provided, to fix Objective C depmode
2542         handling.
2543         * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for
2544         OBJC and OBJCFLAGS.
2545         * tests/ext.test: Adjust.
2546         * tests/objc.test, tests/objc2.test: New tests.
2547         * tests/Makefile.am: Adjust.
2548         * doc/automake.texi (Objective C Support): New node.
2549         (Support for Other Languages): Adjust.
2551 2006-03-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2553         * lib/Automake/RuleDef.pm (DESCRIPTION): Typo.
2555         * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic
2556         to work with `set -e'.
2558         * tests/depcomp6.test, tests/depcomp7.test: New tests,
2559         for general `depcomp' functionality, with and without
2560         `subdir-objects', with and without `libtool'.
2561         * tests/Makefile.am: Adjust.
2563         * aclocal.in (write_aclocal): Unlink `aclocal.m4' before
2564         writing into it, to break a symlinked file.
2565         * tests/acloca20.test: New test.
2566         * tests/Makefile.am: Updated.
2568 2006-03-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2570         Allow package trees (packages with subpackages) to share
2571         common distributed auxiliary files (and directories) that
2572         reside within a subpackage.
2574         * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if
2575         `$(distdir)' already exists.
2576         (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent
2577         removal of subpackage trees for distribution.
2578         * tests/subpkg3.test: New test.
2579         * tests/Makefile.am: Update.
2581 2006-03-18  Alexandre Duret-Lutz  <adl@gnu.org>
2583         * tests/check5.test, tests/nobast.test: Fix $MAKE and rm
2584         invocations to please maintainer-check.
2586 2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
2588         * automake.in (lang_c_rewrite): Typo in previous change.
2589         * tests/ccnoco2.test: New file.
2590         * tests/Makefile.am (TESTS): Add ccnoco2.test.
2592         * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
2593         a 'portability' warning, so that people can ignore it.  Suggested
2594         by Ralf Wildenhues.
2596         * lib/Automake/ChannelDefs.pm: Make -Wportability the default in
2597         gnu and gnits modes.
2598         * doc/automake.texi (Invoking Automake): Adjust.
2600 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2602         * doc/automake.texi (Yacc and Lex): Document that `.ypp' and
2603         `.lpp' file extensions are recognized.
2605 2006-02-21  Alexandre Duret-Lutz  <adl@gnu.org>
2607         * doc/automake.texi (Complete, Extending aclocal, Public macros)
2608         (Python, Conditionals, API versioning): Always quote macro arguments.
2609         Report from Stepan Kasal.
2611 2006-02-16  Alexandre Duret-Lutz  <adl@gnu.org>
2613         * doc/automake.texi (Python): More examples.
2615 2006-02-05  Alexandre Duret-Lutz  <adl@gnu.org>
2617         * doc/automake.texi (distcleancheck): Fix bad wording.  Report
2618         from Bob Rossi.
2619         (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS).
2621 2006-01-29  Alexandre Duret-Lutz  <adl@gnu.org>
2623         Append $(EXEEXT) to programs that may be listed in TESTS.
2624         Report from Simon Josefsson.
2626         * automake.in (%known_programs): New global.
2627         (initialize_per_input): Reset it.
2628         (append_exeext): Take a predicate as first argument to select
2629         the filename to rewrite.
2630         (handle_programs): Fill %known_programs.
2631         (handle_tests): Append $(EXEEXT) to all tests that are in
2632         %known_programs.
2633         (am_install_var): Update call to append_exeext.
2634         * doc/automake.texi (EXEEXT): TESTS is also rewritten.
2635         (Tests): More about the difference between check_PROGRAMS and TESTS.
2636         Give an example of TEST_ENVIRONMENT.
2637         * tests/cond32.test: Augment with a nested condition.
2638         * tests/exeext4.test: Also check TESTS.
2639         * tests/check5.test: New file.
2640         * tests/Makefile.am (TESTS): Add check5.test.
2642 2006-01-12  Paul Eggert  <eggert@cs.ucla.edu>
2644         * lib/install-sh (dstdir): Don't use semicolons inside { } in
2645         sed scripts, as Posix says it's not portable.
2646         * lib/missing (file): Likewise.
2647         * lib/am/distdir.am (distcheck): Likewise.
2648         * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
2649         * tests/distcom2.test, tests/distcom3.test: Likewise.
2650         * tests/distcom4.test, tests/distcom5.test: Likewise.
2651         * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
2653 2006-01-12  Alexandre Duret-Lutz  <adl@gnu.org>
2655         * ChangeLog: Move 2004's entries to ...
2656         * ChangeLog.04: ... this new file.
2657         * Makefile.am (EXTRA_DIST): Add ChangeLog.04.
2659         * tests/txinfo13.test: Test fix below.
2661 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2663         * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted
2664         extra files in distribution.  Reported by Vincent Lefevre.
2666 2006-01-06  Alexandre Duret-Lutz  <adl@gnu.org>
2668         * doc/automake.texi (Linking, Program and Library Variables):
2669         Mention the file extensions that usually appear in _DEPENDENCIES,
2670         and point to BUILT_SOURCES and example of _DEPENDENCIES uses.  A
2671         couple of people have been listing sources files in _DEPENDENCIES
2672         lately.
2674         * doc/automake.texi: Bump copyright year.
2675         * automake.in ($gen_copyright, version): Likewise.
2676         * aclocal.in (write_aclocal, version): Likewise.
2678 2006-01-05  Stepan Kasal  <kasal@ucw.cz>
2679             Alexandre Duret-Lutz  <adl@gnu.org>
2681         * automake.in (topsrcdir): New global.
2682         (generate_makefile): Compute it.
2683         (fill_dist_dirs): New function extracted from handle_dist.
2684         (handle_dist, handle_configure): Use fill_dist_dirs.
2685         * tests/distdir.test: Test for cases where $(top_srcdir) or
2686         $(srcdir) appear in EXTRA_DIST.  Report from Sander Niemeijer.
2688 2006-01-05  Zack Weinberg  <zackw@panix.com>
2689             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2691         * lib/depcomp: Add 'ia64hp' dependency style.
2692         Zack's original patch was contributed to GCC on 2005-06-13.
2693         (tru64): Typo.
2695 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
2697         * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
2698         the code is portable to both POSIX and pre-POSIX shells.
2700 2005-10-17  Alexandre Duret-Lutz  <adl@gnu.org>
2702         * tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
2703         suggested by Eric Blake.
2705 2005-10-17  Stepan Kasal  <kasal@ucw.cz>
2707         * doc/automake.texi (Program and Library Variables): Typo.
2708         * lib/Automake/Variable.pm (transform_variable_recursively): Typo
2709         in a comment.
2711 2005-10-03  Stepan Kasal  <kasal@ucw.cz>
2713         * ChangeLog.03, automake.in, tests/overrid.test: Typos.
2715 2005-10-03  Alexandre Duret-Lutz  <adl@gnu.org>
2717         * tests/nobase.test: Exercise previous patch.
2719 2005-10-03  Peter O'Gorman  <peter@pogma.com>  (tiny change)
2721         * lib/am/distdir.am: Remove $(SHELL) when calling install_sh
2722         * m4/strip.m4: Ditto.
2723         * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
2725 2005-09-13  Paul Eggert  <eggert@cs.ucla.edu>
2727         * doc/automake.texi (limitations on file names): New section.
2728         * lib/install-sh: Rewrite to support '*' in file names.
2729         Also, tune so that we don't invoke so many commands in the usual case.
2730         This has the side effect of fixing `install-sh -d' to not fail if it
2731         loses the race in creating the last path component against another
2732         process.
2733         * tests/instspc.test: The "*" test is now fixed.
2735 2005-09-13  Stepan Kasal  <kasal@ucw.cz>
2737         * automake.in (Languages) <cppasm>: Fix typo in the comment.
2739 2005-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2741         * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
2742         shell in verbose mode.
2744 2005-08-07  Alexandre Duret-Lutz  <adl@gnu.org>
2746         * lib/Automake/Variable.pm (variable_value): Do not read the TRUE
2747         value of a conditionally defined variable.
2748         Report from Juergen Leising.
2750         * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
2751         $(MAKE) invocations.
2752         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
2753         Likewise.
2754         * lib/am/texi-vers.am (%STAMPVTI%): Likewise.
2755         * lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
2756         * Makefile.am (maintainer-check): Check for this.
2757         Report from Stepan Kasal.
2759         * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.
2760         Prompted by Stepan Kasal.
2762 2005-08-07  Stepan Kasal  <kasal@ucw.cz>
2764         * lib/am/texinfos.am (uninstall-info-am): Call install-info only if
2765         the $(infodir) exists.
2767 2005-07-31  Stepan Kasal  <kasal@ucw.cz>
2769         * tests/library3.test: Fix a typo which made the test fail.
2771 2005-07-27  Alexandre Duret-Lutz  <adl@gnu.org>
2773         * doc/automake.texi (Linking, Program and Library Variables):
2774         Suggest reserving -l for third-party libraries.
2776         * lib/Automake/Variable.pm (require_variables): Mention aclocal's
2777         search path when suggesting to add a macro in configure.ac.
2778         People are confused when Automake suggests adding a macro (such as
2779         AC_PROG_LIBTOOL) that is already in configure.ac.
2780         * automake.in (require_file_internal): Suggest `automake --add-missing'
2781         for missing files that can be installed.
2782         * tests/library3.test: Adjust.
2784 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
2786         * tests/defs.in: When required matches both `*libtool*' and
2787         `*gettext*', check for both m4 files.
2789         * doc/automake.texi (Auxiliary Programs): Fix a typo.
2790         * tests/suffix11.test: Fix a typo.
2791         * tests/colon3.test: s/EGREP/FGREP/.
2793 2005-07-19  Paul Eggert  <eggert@cs.ucla.edu>
2795         * tests/instspc.test: Major rewrite to test for many other
2796         problematic file names, e.g., '$', '"', '('.  Automake and
2797         Autoconf can't handle many of them, so do not report a failure
2798         if the usual candidates show up.
2800 2005-07-19  Stepan Kasal  <kasal@ucw.cz>
2802         * Makefile.am (automake, aclocal): Merge the rules.
2804 2005-07-10  Alexandre Duret-Lutz  <adl@gnu.org>
2806         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
2807         versions.
2809 2005-07-09  Alexandre Duret-Lutz  <adl@gnu.org>
2811         * lib/install-sh: Use IFS=/ to split directories on /, don't translate
2812         / into % as it prevents directory names using %...
2814 2005-07-09  Stepan Kasal  <kasal@ucw.cz>
2816         * doc/automake.texi (Public macros): Typo.
2817         * aclocal.in: Typo in comment.
2819 2005-07-09  Zack Weinberg  <zack@codesourcery.com>  (tiny change)
2821         * lib/depcomp: Handle "#line" markers as well as "# " markers in
2822         "cpp" style, so it can work with newer HP compilers (for their
2823         ia64 systems).
2825 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
2827         * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
2828         fix an underful hbox.
2829         * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
2830         New upstream versions.
2832 2005-07-01  Alexandre Duret-Lutz  <adl@gnu.org>
2834         * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
2836 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
2838         * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
2839         lib/am/header-vars.am no longer uses it.
2840         * lib/am/libtool.am (distclean-am, distclean-libtool): Define
2841         if TOPDIR_P is true, not TOPDIR.
2842         Suggested by Stepan Kasal.
2844         * automake.in (read_am_file): Correctly diagnose comments following
2845         trailing backslash.
2846         * tests/commen10.test: New file.
2847         * tests/Makefile.am (TESTS): Add commen10.test.
2848         Report from Harald Dunkel.
2850         * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead
2851         of AC_SUBST.
2852         * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL):
2853         Do not define, they are AC_SUBST_TRACEd by Autoconf.
2854         * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c.
2855         * tests/include.test: Call AC_OUTPUT.
2857 2005-06-29  Alexandre Duret-Lutz  <adl@gnu.org>
2859         * lib/mkinstalldirs: Fix support for directory name with spaces if
2860         `mkdir -p' does not work.
2861         * tests/Makefile.am (TESTS): Add mkinst3.test.
2862         * tests/mkinst3.test: New file.
2863         Report from Noah Friedman.
2865         * doc/automake.texi (Include, Extending aclocal): Typos.
2866         Report from Karl Berry.
2868 2005-06-28  Stepan Kasal  <kasal@ucw.cz>
2869             Alexandre Duret-Lutz  <adl@gnu.org>
2871         * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
2872         * tests/txinfo28.test: Set TIME_STYLE.
2873         Report from Vincent Lefevre and James Youngman.
2875 2005-06-24  Alexandre Duret-Lutz  <adl@gnu.org>
2877         * lib/Automake/Variable.pm (define, _new): Remember the helper
2878         variable created for the last conditional += on each variable, and
2879         only append further += in the same condition to this last helper
2880         variable, not to older helper variables.  This way the order of
2881         the items appended to the variable is preserved.
2882         * tests/cond21.test: Adjust.
2883         * tests/cond38.test: New file.
2884         * tests/Makefile.am (TESTS): Add cond38.test.
2885         Report from Ed Hartnett.
2887 2005-06-22  Alexandre Duret-Lutz  <adl@gnu.org>
2889         * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
2891         * automake.in (handle_footer): Do not output an unformatted
2892         definition of SOURCES, it is already done correctly in
2893         generate_makefile.  This superfluous definition introduced long
2894         lines in some Makefiles, hence breakages in tools with a limited
2895         line length.  Report from Mathias Froehlich.
2897 2005-06-11  Alexandre Duret-Lutz  <adl@gnu.org>
2899         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
2900         Fix redirections in previous patch.
2902 2005-06-08  Alexandre Duret-Lutz  <adl@gnu.org>
2904         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
2905         Do not backup any file if makeinfo is not installed.
2906         * lib/missing (makeinfo): Do not touch a missing info file.
2907         * tests/txinfo30.test: New file.
2908         * tests/Makefile.am (TESTS): Add txinfo30.test.
2909         Report from Bob Proulx.
2911         * doc/automake.texi (Extending aclocal): Typo.
2913 2005-05-24  Brian Gough  <bjg@network-theory.co.uk>  (tiny change)
2915         * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
2917 2005-05-15  Alexandre Duret-Lutz  <adl@gnu.org>
2919         Fix PR automake/461:
2920         * automake.in (require_build_directory): Canonicalize directories
2921         with different names, such as `foo/bar' and `./foo//bar'.
2922         * tests/subobj9.test: Augment to test that.
2923         Report from Tom Tromey.
2925 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
2927         * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
2928         ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am,
2929         NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure,
2930         configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING,
2931         lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in,
2932         lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp,
2933         lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile,
2934         lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
2935         lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
2936         lib/Automake/Condition.pm, lib/Automake/Config.in,
2937         lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
2938         lib/Automake/FileUtils.pm, lib/Automake/General.pm,
2939         lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
2940         lib/Automake/Location.pm, lib/Automake/Makefile.am,
2941         lib/Automake/Options.pm, lib/Automake/Rule.pm,
2942         lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
2943         lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
2944         lib/Automake/Version.pm, lib/Automake/Wrap.pm,
2945         lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
2946         lib/Automake/tests/DisjConditions.pl,
2947         lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
2948         lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
2949         lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
2950         lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
2951         lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
2952         lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
2953         lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
2954         lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
2955         lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
2956         lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
2957         lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
2958         lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
2959         lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
2960         lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
2961         lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
2962         m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
2963         tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
2964         tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
2965         tests/acloca17.test, tests/acloca18.test, tests/acloca19.test,
2966         tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test,
2967         tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test,
2968         tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test,
2969         tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test,
2970         tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test,
2971         tests/acsubst.test, tests/acsubst2.test, tests/all.test,
2972         tests/alloca.test, tests/alloca2.test, tests/alpha.test,
2973         tests/alpha2.test, tests/amassign.test, tests/ammissing.test,
2974         tests/ansi.test, tests/ansi10.test, tests/ansi2.test,
2975         tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test,
2976         tests/ansi5.test, tests/ansi6.test, tests/ansi7.test,
2977         tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test,
2978         tests/asm.test, tests/autohdr.test, tests/autohdr2.test,
2979         tests/autohdr3.test, tests/autohdr4.test, tests/automake.test,
2980         tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test,
2981         tests/auxdir4.test, tests/backsl.test, tests/backsl2.test,
2982         tests/backsl3.test, tests/backsl4.test, tests/badline.test,
2983         tests/badopt.test, tests/badprog.test, tests/block.test,
2984         tests/bsource.test, tests/canon.test, tests/canon2.test,
2985         tests/canon3.test, tests/canon4.test, tests/canon5.test,
2986         tests/ccnoco.test, tests/check.test, tests/check2.test,
2987         tests/check3.test, tests/check4.test, tests/checkall.test,
2988         tests/clean.test, tests/clean2.test, tests/colneq.test,
2989         tests/colneq2.test, tests/colon.test, tests/colon2.test,
2990         tests/colon3.test, tests/colon4.test, tests/colon5.test,
2991         tests/colon6.test, tests/colon7.test, tests/comment.test,
2992         tests/comment2.test, tests/comment3.test, tests/comment4.test,
2993         tests/comment5.test, tests/comment6.test, tests/comment7.test,
2994         tests/comment8.test, tests/comment9.test, tests/compile.test,
2995         tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test,
2996         tests/cond.test, tests/cond10.test, tests/cond11.test,
2997         tests/cond13.test, tests/cond14.test, tests/cond15.test,
2998         tests/cond16.test, tests/cond17.test, tests/cond18.test,
2999         tests/cond19.test, tests/cond2.test, tests/cond20.test,
3000         tests/cond21.test, tests/cond22.test, tests/cond23.test,
3001         tests/cond24.test, tests/cond25.test, tests/cond26.test,
3002         tests/cond27.test, tests/cond28.test, tests/cond29.test,
3003         tests/cond3.test, tests/cond30.test, tests/cond31.test,
3004         tests/cond32.test, tests/cond33.test, tests/cond34.test,
3005         tests/cond35.test, tests/cond36.test, tests/cond37.test,
3006         tests/cond4.test, tests/cond5.test, tests/cond6.test,
3007         tests/cond7.test, tests/cond8.test, tests/cond9.test,
3008         tests/condd.test, tests/condhook.test, tests/condinc.test,
3009         tests/condinc2.test, tests/condlib.test, tests/condman.test,
3010         tests/condman2.test, tests/conf2.test, tests/confdeps.test,
3011         tests/conff.test, tests/conff2.test, tests/confh.test,
3012         tests/confh4.test, tests/confh5.test, tests/config.test,
3013         tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
3014         tests/conflnk3.test, tests/confsub.test, tests/confvar.test,
3015         tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
3016         tests/cxx.test, tests/cxx2.test, tests/cxxansi.test,
3017         tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test,
3018         tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test,
3019         tests/dash.test, tests/defs.in, tests/defun.test,
3020         tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
3021         tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
3022         tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
3023         tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test,
3024         tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test,
3025         tests/depend.test, tests/depend2.test, tests/depend3.test,
3026         tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
3027         tests/dirlist.test, tests/discover.test, tests/distcom2.test,
3028         tests/distcom3.test, tests/distcom4.test, tests/distcom5.test,
3029         tests/distcom6.test, tests/distcom7.test, tests/distdir.test,
3030         tests/distname.test, tests/dollar.test, tests/double.test,
3031         tests/dup2.test, tests/else.test, tests/empty.test,
3032         tests/empty2.test, tests/empty3.test, tests/empty4.test,
3033         tests/exdir.test, tests/exdir2.test, tests/exeext.test,
3034         tests/exeext2.test, tests/exeext3.test, tests/exeext4.test,
3035         tests/exsource.test, tests/ext.test, tests/ext2.test,
3036         tests/extra.test, tests/extra2.test, tests/extra3.test,
3037         tests/extra4.test, tests/extra5.test, tests/extra6.test,
3038         tests/extra7.test, tests/f90only.test, tests/flibs.test,
3039         tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test,
3040         tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
3041         tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
3042         tests/gcj5.test, tests/getopt.test, tests/gettext.test,
3043         tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
3044         tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
3045         tests/gnuwarn2.test, tests/header.test, tests/help.test,
3046         tests/hfs.test, tests/hosts.test, tests/implicit.test,
3047         tests/include.test, tests/include2.test, tests/info.test,
3048         tests/insh2.test, tests/install2.test, tests/installdir.test,
3049         tests/instdat.test, tests/instdat2.test, tests/instexec.test,
3050         tests/insthook.test, tests/instman.test, tests/instman2.test,
3051         tests/instsh.test, tests/instsh2.test, tests/instspc.test,
3052         tests/interp.test, tests/interp2.test, tests/java.test,
3053         tests/java2.test, tests/java3.test, tests/javaprim.test,
3054         tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
3055         tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
3056         tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
3057         tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
3058         tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
3059         tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
3060         tests/library.test, tests/library2.test, tests/library3.test,
3061         tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
3062         tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
3063         tests/libtool7.test, tests/libtool8.test, tests/libtool9.test,
3064         tests/license.test, tests/link_c_cxx.test, tests/link_dist.test,
3065         tests/link_f90_only.test, tests/link_f_only.test,
3066         tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
3067         tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
3068         tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
3069         tests/lisp8.test, tests/listval.test, tests/location.test,
3070         tests/longlin2.test, tests/longline.test, tests/ltcond.test,
3071         tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
3072         tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
3073         tests/make.test, tests/makej.test, tests/makevars.test,
3074         tests/man.test, tests/man2.test, tests/mclean.test,
3075         tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
3076         tests/mdate4.test, tests/missing.test, tests/missing2.test,
3077         tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
3078         tests/mmodely.test, tests/multlib.test, tests/nobase.test,
3079         tests/nodef.test, tests/nodef2.test, tests/nodep.test,
3080         tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
3081         tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
3082         tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
3083         tests/nostdinc.test, tests/number.test, tests/obsolete.test,
3084         tests/order.test, tests/outdir.test, tests/output.test,
3085         tests/output10.test, tests/output11.test, tests/output12.test,
3086         tests/output2.test, tests/output3.test, tests/output4.test,
3087         tests/output5.test, tests/output6.test, tests/output7.test,
3088         tests/output8.test, tests/output9.test, tests/overrid.test,
3089         tests/parse.test, tests/percent.test, tests/percent2.test,
3090         tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
3091         tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
3092         tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
3093         tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
3094         tests/ppf77.test, tests/pr2.test, tests/pr204.test,
3095         tests/pr211.test, tests/pr220.test, tests/pr224.test,
3096         tests/pr229.test, tests/pr243.test, tests/pr266.test,
3097         tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
3098         tests/pr300-lib.test, tests/pr300-ltlib.test,
3099         tests/pr300-prog.test, tests/pr307.test, tests/pr401.test,
3100         tests/pr401b.test, tests/pr401c.test, tests/pr72.test,
3101         tests/pr87.test, tests/pr9.test, tests/prefix.test,
3102         tests/primary.test, tests/primary2.test, tests/primary3.test,
3103         tests/proginst.test, tests/python.test, tests/python10.test,
3104         tests/python11.test, tests/python12.test, tests/python2.test,
3105         tests/python3.test, tests/python4.test, tests/python5.test,
3106         tests/python6.test, tests/python7.test, tests/python8.test,
3107         tests/python9.test, tests/recurs.test, tests/recurs2.test,
3108         tests/regex.test, tests/remake.test, tests/remake2.test,
3109         tests/remake3.test, tests/remake4.test, tests/remake5.test,
3110         tests/req.test, tests/reqd.test, tests/reqd2.test,
3111         tests/rulepat.test, tests/scripts.test, tests/seenc.test,
3112         tests/sinclude.test, tests/space.test, tests/specflg.test,
3113         tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
3114         tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
3115         tests/spell.test, tests/spell2.test, tests/spell3.test,
3116         tests/spelling.test, tests/spy.test, tests/srcsub.test,
3117         tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
3118         tests/stdlib2.test, tests/strip.test, tests/subcond.test,
3119         tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
3120         tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
3121         tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
3122         tests/subdir8.test, tests/subdir9.test,
3123         tests/subdirbuiltsources.test, tests/subobj.test,
3124         tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
3125         tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
3126         tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
3127         tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
3128         tests/subst2.test, tests/substre2.test, tests/substref.test,
3129         tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
3130         tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
3131         tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
3132         tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
3133         tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
3134         tests/syntax.test, tests/tags.test, tests/tagsub.test,
3135         tests/tar.test, tests/tar2.test, tests/tar3.test,
3136         tests/target-cflags.test, tests/targetclash.test,
3137         tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
3138         tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
3139         tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
3140         tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
3141         tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
3142         tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
3143         tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
3144         tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
3145         tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
3146         tests/vars.test, tests/vars3.test, tests/vartar.test,
3147         tests/version.test, tests/version2.test, tests/version3.test,
3148         tests/version4.test, tests/version6.test, tests/version7.test,
3149         tests/version8.test, tests/vpath.test, tests/vtexi.test,
3150         tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
3151         tests/werror2.test, tests/whoami.test, tests/xsource.test,
3152         tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
3153         tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
3154         tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
3155         tests/yaccvpath.test: Update FSF postal mail address.
3157         * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
3158         Autoconf currently defines a CCC variable.
3160         * tests/output11.test, tests/output12.test: Use rm -f.
3162 2005-04-25  Gary V. Vaughan  <gary@gnu.org>
3163             Alexandre Duret-Lutz  <adl@gnu.org>
3165         Support for remote LIBOBJS (and friends) with subdir-objects.
3166         Fixes PR automake/401.
3168         * automake.in (config_libobj_dir): New variable.
3169         (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
3170         (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
3171         (handle_LIBOBJS, handle_ALLOCA): Use them.  Adjust location of
3172         dependency files, possibly in a subdirectory.
3173         * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
3174         * tests/Makefile.am (TESTS): Add them.
3175         * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
3176         (LIBOBJS): Document changes in behaviour of
3177         LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
3178         subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
3180 2005-04-18  Jim Meyering  <jim@meyering.net>
3182         * doc/automake.texi (Dist): Correct English.
3184 2005-03-31  Stepan Kasal  <kasal@ucw.cz>
3186         * doc/automake.texi: When the phrase "for instance" introduces a
3187         sentence, it should be delimited by a comma.
3189         * doc/automake.texi: Fix a few typos.
3191 2005-03-30  Alexandre Duret-Lutz  <adl@gnu.org>
3193         * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
3194         example, since the GCS now define htmldir.
3195         (Auxiliary Programs): Mention config-ml.in and symlink-tree.
3196         Give a URL for texinfo.tex.
3197         (Public macros): Sort alphabetically, and move obsolete macros...
3198         (Obsolete macros): ... here.
3199         Prompted by Karl Berry.
3201 2005-03-29  Alexandre Duret-Lutz  <adl@gnu.org>
3203         * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
3204         Jim Meyering.
3206         * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
3207         rule is run with `make -j'.
3208         * doc/automake.texi (Multiple Outputs): Adjust.
3209         * tests/lisp6.test: Augment it.
3210         * tests/lisp8.test: New file.
3211         * tests/Makefile.am (TESTS): Add lisp8.test.
3212         Suggested by Bruno Haible.
3214 2005-03-27  Alexandre Duret-Lutz  <adl@gnu.org>
3216         * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
3218 2005-03-16  Alexandre Duret-Lutz  <adl@gnu.org>
3220         * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
3221         a missing *.elc file if it cannot be created because emacs does
3222         not exist.
3223         * tests/lisp7.test: New file.
3224         * tests/Makefile.am (TESTS): Add lisp7.test.
3225         Report from Greg Schafer.
3227 2005-03-05  Alexandre Duret-Lutz  <adl@gnu.org>
3229         * doc/automake.texi: Replace wicked whiches by thats.
3231 2005-03-04  Alexandre Duret-Lutz  <adl@gnu.org>
3233         * aclocal.in (scan_configure_dep, scan_file): Include file names
3234         are relative to the directory of configure.ac, not to the
3235         directory of the file doing the include.  Remove code for this
3236         latter case.
3237         * tests/acloca13.test: Run distcheck and make sure all macros are
3238         actually distributed.
3240 2005-03-03  Alexandre Duret-Lutz  <adl@gnu.org>
3242         For PR automake/450:
3243         * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
3244         files.
3245         * automake.in (scan_autoconf_traces): Likewise.
3246         * tests/sinclude.test: Augment.
3247         Report from Peter Breitenlohner.
3249         For PR automake/450:
3250         * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
3251         acinclude.m4 and configure.ac to the include map in these two
3252         places ...
3253         (strip_redundant_includes): ... do it here.  This completes the
3254         previous change from 2005-03-01, that did not update
3255         write_aclocal.
3256         * tests/acloca19.test: Augment.
3257         Report from Peter Breitenlohner.
3259 2005-03-02  Alexandre Duret-Lutz  <adl@gnu.org>
3261         * tests/comment9.test: Typo.
3263 2005-03-01  Alexandre Duret-Lutz  <adl@gnu.org>
3265         * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
3266         * tests/comment9.test: New file.
3267         * tests/Makefile.am (TESTS): Add comment9.test.
3268         Report from Julien Sopena.
3270         For PR automake/450:
3271         * aclocal.in (trace_used_macros): Do not explicitly trace files
3272         included by configure.ac.
3273         * tests/acloca19.test: New file.
3274         * tests/Makefile.am (TESTS): Add acloca19.test.
3275         Report from Peter Breitenlohner.
3277 2005-02-27  Alexandre Duret-Lutz  <adl@gnu.org>
3279         Fix for PR automake/448:
3280         * automake.in (handle_factored_dependencies): Flag install-hook as
3281         an error.
3282         * tests/insthook.test: Exercise this.
3284         * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
3285         * doc/automake.texi (Hard-Coded Install Paths): Adjust.
3287         * doc/automake.texi: Replace many uses of @samp by @code, and
3288         vice versa.  Use @command, @option, and @env where appropriate.
3290 2005-02-26  Alexandre Duret-Lutz  <adl@gnu.org>
3292         * doc/automake.texi: "filename" -> "file name", for consistency
3293         with GNU Coding Standards.  See also Paul's change on 2004-08-20
3294         in Autoconf.
3296         * doc/automake.texi (A Library, Libtool Libraries): Show how to link
3297         a program with a static or libtool library.
3298         (Program and Library Variables): Make clearer that _LDADD and
3299         _LIBADD may also list libraries.
3300         Prompted by a mail from Bruce Korb.
3302         * doc/automake.texi (Alternative): Show how to rewrite nobase_
3303         variables using custom directory variables, and link to node
3304         Uniform.  Suggested by Leonardo Boiko.
3306         * doc/automake.texi (Flag Variables Ordering, User Variables):
3307         Make clearer who the maintainer is, and that he can AC_SUBST AM_
3308         variables in configure.ac.  Suggested by Norman Gray.
3309         (Uniform, Public macros, Libtool Issues, Java Support,
3310         Conditionals): Use `---' for em dash, and stick them to the
3311         enclosing text.
3313         * doc/automake.texi: Reword a few sentences to fix all underflow
3314         and overflow warnings during `make dvi'.
3315         (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
3316         (Public macros) <AM_WITH_DMALLOC>: Likewise.
3318 2005-02-12  Alexandre Duret-Lutz  <adl@gnu.org>
3320         * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
3321         lib/texinfo.tex: New upstream versions.
3323         * doc/automake.texi (Hard-Coded Install Paths): New node.
3324         (Extending, Extending aclocal, Python): Link to it.
3325         (Extending): Don't show how to install a file in /etc/ directly,
3326         this is insane.
3328         * automake.in (read_am_file): Define variables containing long
3329         lines as VAR_PRETTY to work around tools with limited input width.
3330         * tests/longlin2.test: New file.
3331         * tests/Makefile.am (TESTS): Add it.
3332         Report from Albert Chin.
3334 2005-02-09  Alexandre Duret-Lutz  <adl@gnu.org>
3336         Fix for PR automake/447:
3337         * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
3338         Report from Mathias Doreille.  Add some old comments from
3339         Nicolas Joly for reference.
3341 2005-02-08  Stepan Kasal  <kasal@ucw.cz>
3343         * lib/mdate-sh: Check the size of the word following the month to
3344         catch Darwin.  This way the filename can contain spaces.
3346         * doc/automake.texi (Requirements, Options): Typos.
3348 2005-02-08  Alexandre Duret-Lutz  <adl@gnu.org>
3350         * lib/missing (makeinfo): Compute the output file if neither -o
3351         nor @setfilename is used.
3352         Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
3354 2005-02-07  Alexandre Duret-Lutz  <adl@gnu.org>
3356         * doc/automake.texi (Requirements): Show one example of
3357         AC_CONFIG_FILES with multiple outputs, and correct a few typos.
3359         * aclocal.in ($serial_line_rx): Expect at least one space between
3360         `serial' and the following number.
3361         Report from Jim Meyering.
3363         * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
3364         Report from Peter O'Gorman.
3366 2005-02-06  Alexandre Duret-Lutz  <adl@gnu.org>
3368         * aclocal.in (usage, parse_arguments): New --dry-run and --diff
3369         options.
3370         (install_file, write_aclocal): Honor --dry-run and --diff.
3371         * doc/automake.texi (aclocal options): Document --dry-run and --diff.
3372         (Serials): Mention --diff.
3373         * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
3374         $expected_exit_code argument.
3375         (xsystem): Take a list of arguments, not a string.
3376         * tests/acloca18.test: Use --dry-run and --diff.
3377         Suggested by Paul Eggert.
3379         * doc/automake.texi (aclocal options, Macro search path,
3380         Extending aclocal, Local Macros, Serials, Future of aclocal): Make
3381         these subsection of ...
3382         (Invoking aclocal): ... this.
3384         * aclocal.in ($serial_line_rx): Allow trailing garbage after the
3385         serial number.
3386         (scan_file): Explicitly mark the "ill-formed serial" message
3387         as a warning.
3388         * doc/automake.texi (aclocal options, Local Macros): Link to...
3389         (Serials): ... this new section.
3391 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
3393         * lib/compile: Likewise.
3395 2005-02-02  Alexandre Duret-Lutz  <adl@gnu.org>
3397         * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
3398         see 2004-12-17.
3399         * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
3400         status if a write failure occurs with --help or --version option,
3401         as below.
3403 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
3405         * lib/depcomp: Exit with nonzero status if a write failure occurs
3406         with --help or --version option.
3407         * lib/elisp-comp: Likewise.
3408         * lib/gnupload: Likewise.
3409         * lib/install-sh: Likewise.
3410         * lib/missing: Likewise.
3411         * lib/mkinstalldirs: Likewise.
3413 2005-02-01  Alexandre Duret-Lutz  <adl@gnu.org>
3415         * doc/automake.texi (aclocal options): Typo.
3417         * aclocal.in (list_compare): New functions.
3418         (scan_file): Honor #serial lines.
3419         * tests/acloca18.test: New test.
3420         * tests/Makefile.am (TESTS): Add it.
3421         * doc/automake.texi (aclocal options, Local Macros): Document
3422         #serial.
3424 2005-01-30  Alexandre Duret-Lutz  <adl@gnu.org>
3426         Preliminary support for `aclocal --install'.
3427         This still lacks #serial support.
3428         * aclocal.in (reset_maps, install_file): New functions.
3429         (write_aclocal): Copy files if --install.
3430         (usage, parse_arguments): Recognize --install.
3431         ("MAIN"): Start aclocal again if some file were installed.
3432         * tests/acloca10.test: Augment to test --install.
3433         * tests/aclocal.in, tests/defs.in: Add support for
3434         ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
3435         * doc/automake.texi (aclocal options, Local Macros): Document
3436         --install.
3437         (Future of aclocal): Adjust.
3439         * doc/automake.texi (Macro search path): Using --acdir is not
3440         obvious, it's erroneous.
3442         * doc/automake.texi (direntry): Let `info Automake' point to the
3443         manual, and `info automake' to the `Invoking automake' node.  Like
3444         in Autoconf.
3446 2005-01-27  Akim Demaille  <akim@epita.fr>
3448         * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
3449         From Paul Eggert.
3451 2005-01-24  Akim Demaille  <akim@epita.fr>
3453         * lib/Automake/FileUtils.pm: Rename filename as file_name to be
3454         consistent with the terminology of the GNU coding standards.
3455         From Paul Eggert.
3456         (update_file): Accept a $force argument, so that --force always
3457         updates the time stamps.
3459 2005-01-23  Alexandre Duret-Lutz  <adl@gnu.org>
3461         * doc/automake.texi (How the Linker is Chosen): Explain how the
3462         linker is chosen without diagram, and update to match the code.
3463         Suggestion from Adrian Bunk.
3465 2005-01-16  Alexandre Duret-Lutz  <adl@gnu.org>
3467         * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
3468         Process all words of $MAKEFLAGS when checking for -k.
3469         * tests/check4.test: New file.
3470         * tests/Makefile.am (TESTS): Add check4.test.
3471         Report from Eric Blake.
3473 2005-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
3475         * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
3476         AM_INIT_AUTOMAKE if the version passed is incorrect.
3477         * tests/version8.test: New file.
3478         * tests/Makefile.am (TESTS): Add version8.test.
3480 2005-01-09  Alexandre Duret-Lutz  <adl@gnu.org>
3482         * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
3483         m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
3484         m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
3485         m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
3486         m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
3487         m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
3488         m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
3489         m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
3490         license that is used in aclocal.m4.  Relicensing backed by RMS.
3492         * doc/automake.texi (A Library, LIBOBJS): Mention that empty
3493         libraries are not portable.
3495 2005-01-05  Akim Demaille  <akim@epita.fr>
3497         * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
3498         * tests/aclocal5.test (MORE_DEFS): Rename as...
3499         (AM_TEST): this so that undefined macros are caught.
3500         And make it an alias of AC_SUBST.
3501         Test AU_ALIAS.
3502         Reported by Martin Bravenboer.
3504 2005-01-03  Alexandre Duret-Lutz  <adl@gnu.org>
3506         Fix handling of per-target flags in link rules.
3507         * automake.in (define_per_target_linker_variable): New function.
3508         (handle_programs, handle_ltlibraries): Use it.
3509         (%link_languages): New map.
3510         (register_language): Fill it.
3511         * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
3512         $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
3513         define_per_target_linker_variable if needed.
3514         * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
3515         $(%XPROGRAM%_LDFLAGS).
3516         * doc/automake.texi (Program and Library Variables): Mention
3517         AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
3518         and maude_LIBTOOLFLAGS.
3519         * tests/libtool9.test: New file.
3520         * tests/Makefile.am (TESTS): Add it.
3521         * NEWS: Explain the backward incompatibility.
3522         Report from Akim Demaille.
3524 2005-01-01  Alexandre Duret-Lutz  <adl@gnu.org>
3526         * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
3527         specifications with shell variables.
3528         (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
3529         AC_CONFIG_FILES for this explanation.
3530         * automake.in (substitute_ac_subst_variables_worker,
3531         substitute_ac_subst_variables): Mew functions.
3532         (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
3533         to ignore dependencies that contain unAC_SUBSTed shell variables.
3534         (handle_configure): Likewise, do not output rules for
3535         AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
3536         unAC_SUBSTed contain shell variables.
3537         * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
3538         * tests/output11.test, tests/output12.test: New files.
3539         * tests/Makefile.am (TESTS): Add output11.test and output12.test.
3541         * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
3542         * automake.in ($gen_copyright, version): Likewise.
3544 -----
3546 Copyright (C) 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
3548 Copying and distribution of this file, with or without modification, are
3549 permitted provided the copyright notice and this notice are preserved.
3551 ;; Variables:
3552 ;; coding: utf-8
3553 ;; End: