* doc/automake.texi (Autotools Introduction) New chapter.
[platform/upstream/automake.git] / ChangeLog
1 2006-08-19  Alexandre Duret-Lutz  <adl@gnu.org>
2
3         * doc/automake.texi (Autotools Introduction) New chapter.
4         Thanks to Ben Pfaff and Ralf Wildenhues for comments.
5         (Auxiliary Programs, Install, Dist, Third-Party Makefiles)
6         (distcleancheck): More cross references.
7         * doc/amhello/configure.ac, doc/amhello/README,
8         doc/amhello/Makefile.am, doc/amhello/src/Makefile.am,
9         doc/amhello/src/main.c: New files.
10         * doc/Makefile.am (dist_noinst_DATA): Distribute them.
11         ($(srcdir)/amhello-1.0.tar.gz): New rule.
12         (dist_doc_DATA): Install amhello-1.0.tar.gz.
13         * Makefile.am (SUBDIRS): Update comment.
14
15 2006-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
16
17         * doc/automake.texi: Fix some typos.
18
19 2006-08-14  Jonathan Higa <jthiga@gmail.com>
20
21         * automake.in: Register "Unified Parallel C" as language.
22         (lang_upc_rewrite): New function.
23         (resolve_linker): Consider UPCLINK.
24         * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest
25         AM_PROG_UPC for UPC and UPCFLAGS.
26         * m4/upc.m4: New file.
27         * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case.
28         * m4/Makefile.am (dist_m4data_DATA): Add upc.m4.
29         * doc/automake.texi (Unified Parallel C Support): New node.
30         (Public macros): Mention AM_PROG_UPC.
31         (Program and Library Variables, Flag Variables Ordering):
32         Mention UPCFLAGS.
33         * tests/upc.test, tests/upc2.test, tests/upc3.test: New file.
34         * tests/Makefile.am (TESTS): Add them.
35         * tests/ext.test: Also test upc files.
36
37 2006-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
38
39         * doc/automake.texi (Scripts): Fix some errors in previous patch.
40
41         * doc/automake.texi (Scripts): Revamp.  Show an example of script
42         built from configure.ac.  Discuss CLEANFILES and EXTRA_DIST for
43         other built scripts.
44
45         * m4/init.m4: Suggest fixing the call to AC_INIT when
46         AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined.  This is for
47         newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments.
48         * tests/init.test: New file.
49         * tests/Makefile.am (TESTS): Add it.
50
51 2006-08-04  Stepan Kasal  <kasal@ucw.cz>
52
53         * automake.in (dist_dirs, fill_dist_dirs): Remove.
54         * lib/am/distdir.am (DISTDIRS): Remove.
55         * tests/distdir.test, tests/pr2.test: Do not grep, use
56         `make distdir' instead.
57
58 2006-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
59
60         * doc/automake.texi (Conditionals): Split in two sections, "Usage"
61         and "Portability", and add a third one, "Limits" to explain how
62         conditional definitions inside multi-lines definitions can be
63         handled.
64         * automake.in (handle_options): Do not assume that
65         AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional
66         definitions of AUTOMAKE_OPTIONS.
67         Report from Bas Wijnen.
68         * tests/amopt.test: New test.
69         * tests/Makefile.am (TESTS): Add it.
70
71         * aclocal.in (install_file): Cannot use /dev/null while diffing
72         new files, because Tru64's diff do not handle /dev/null.  So
73         create an empty destination file before running diff on a new
74         file, and erase it afterward.  Fall back to using /dev/null only
75         if we cannot create this file.
76         Report and initial patch from Ralf Wildenhues.
77         (unlink_tmp): New function.
78         * test/acloca18.test: Make sure the empty file has been erased.
79
80 2006-08-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
81
82         * automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects,
83         do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR,
84         to help BSD Make find the files also in a VPATH build.
85         Also return the same path, possibly prefixed, for correct
86         depdir computation.
87         * tests/pr401.test: Update to expose wrong depdir computation.
88         Rewrite to not use the same file name for library object and
89         main program.
90         * tests/pr401b.test, tests/pr401c.test: Likewise.
91
92 2006-07-09  Paul Eggert  <eggert@cs.ucla.edu>
93
94         * lib/install-sh: Don't incorrectly claim that this implementation
95         can install only one file at a time.
96         (doit_exec): New var, for using 'exec' if possible, to save a process.
97         (test_mode, intermediate_mode): Remove.
98         (mode): Check for IFS or globbing characters in mode, since they might
99         cause weird behavior with the other changes below.  All later uses
100         of '"$mode"' changed to '$mode', since the ""s no longer matter.
101         Use octal modes if the invoker specifies an octal mode, and use
102         octal umask values if 'umask' outputs octal values; this is more
103         likely to work with older operating systems since Automake uses
104         octal modes, and also works around a bug with HP-UX 11.23
105         'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in
106         <http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>.
107         (cp_umask, mkdir_umask): New variables, to avoid
108         temporarily creating files or directories with too-permissive modes.
109         (mkdir_mode): Use the FreeBSD 'install' method for computing modes of
110         intermediate directories; this is safer.
111         (posix_mkdir): Also test mkdir -p -m ... by making a directory in
112         /tmp and checking the resulting mode with 'ls', to catch a bug in
113         HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message.
114         Use ':' for true, not 'true'; this is a bit faster on
115         traditional implementations.
116
117 2006-07-09  Jim Meyering  <jim@meyering.net>
118
119         * lib/depcomp: "in in" -> "in" in comment.
120
121 2006-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
122
123         * tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr,
124         for consistency with the recommendation prompted by this report:
125         <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
126
127 2006-06-24  Stepan Kasal  <kasal@ucw.cz>
128             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
129
130         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to
131         `'$(MKDIR_P)'', so that it retains the per-directory value
132         computed by config.status.
133         * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from
134         a changed directory.  Bugs reported by Ralf Menzel.
135         * THANKS: Update.
136
137 2006-06-24  Eric Dorland  <eric@debian.org>
138             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
139
140         * automake.in (scan_texinfo_file): Fix matching file extension.
141         * tests/txinfo31.test: New test.
142         * tests/Makefile.am: Update.
143
144 2006-06-07  Alexandre Duret-Lutz  <adl@gnu.org>
145
146         * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.
147
148 2006-06-07  Stepan Kasal  <kasal@ucw.cz>
149
150         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
151
152 2006-06-06  Stepan Kasal  <kasal@ucw.cz>
153             Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
154
155         * lib/am/distdir.am: Do not call $(mkdir_p) for each
156         distributed file, collect them and create them in one run,
157         and strip $(srcdir) and $(top_srcdir) all at once.
158         Fix some comment typos.
159
160 2006-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
161
162         * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
163         7.4.4m may omit the first included header dependency information
164         with `-MDupdate'.  Refine test to catch this.
165
166         * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
167         procedure.
168
169         * tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3
170         requires `config.rpath' to be present, and automake now enforces
171         this.  Test this, but only if the gettext installation works and
172         is recent enough to provide this diagnosis.
173         * tests/gettext.test: Provide a dummy `config.rpath' for all
174         subsequent checks.
175         * tests/gettext2.test, tests/subcond.test: Likewise.
176
177         * tests/pr401.test: Replace "perl -i" with sed and mv, for
178         MinGW perl.
179         * tests/pr401b.test, tests/pr401c.test, tests/python11.test,
180         * tests/yacc6.test, tests/yacc8.test: Likewise.
181
182         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
183         plain `grep' on the Makefile, as its line length may exceed that
184         for grep.  Bug report against coreutils by Sam Sirlin.
185         * THANKS: Update.
186
187 2006-05-26  Sergey Poznyakoff  <gray@Mirddin.farlep.net>  (tiny change)
188
189         * doc/automake.texi (Options): Add anchor `tar-formats'.
190
191 2006-05-25  Noah Misch  <noah@cs.caltech.edu>
192
193         * lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides
194         ENOLCK.  Only mention `make -j' when applicable.  Only raise
195         fatal errors when `make -j' is involved.  Improve error message.
196
197 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
198
199         * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
200         `$configure_in' instead of `configure.in', to preserve
201         directory component.
202         * lib/Automake/Configure_ac.pm: Add note that Automake owns
203         this file.
204         * lib/Automake/Channels.pm: Likewise.
205         * lib/Automake/FileUtils.pm: Likewise.
206         * lib/Automake/Struct.pm: Likewise.
207
208 2006-05-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
209
210         * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
211         New upstream versions.
212
213 2006-05-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
214
215         * doc/automake.texi (Auxiliary Programs): Fix URL to GCC
216         repository, they use SVN now.
217
218 2006-05-13  Werner Lemberg  <wl@gnu.org>
219
220         * lib/gnupload: Add support for savannah.gnu.org and
221         savannah.nongnu.org.
222
223 2006-05-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
224
225         * lib/Automake/Channels.pm, lib/Automake/Condition.pm,
226         lib/Automake/DisjConditions.pm, lib/Automake/Options.pm,
227         lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos.
228
229 2006-05-11  Paul Eggert  <eggert@cs.ucla.edu>
230
231         * lib/install-sh: Sync from Autoconf, as follows:
232         Don't use 'path' to talk about file names,
233         as per GNU coding standards.  Close a race condition reported by Ralf
234         Wildenhues and Stepan Kasal.  There is still a race condition
235         on hosts that predate Posix 1003.1-1992, but we can't help this.
236         Don't mishandle weird characters like space on pre-Posix hosts.
237         Invoke mkdir at most once per dir arg on pre-Posix hosts.
238
239 2006-05-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
240
241         * tests/missing.test, tests/missing2.test: Do not require
242         GNUmake.
243         * Makefile.am (maintainer-check): Make sure `required=' does not
244         follow `. ./defs' in the tests.
245
246         * tests/ansi10.test: Use AC_PROG_CC_STDC.  Fix test that
247         ac_cv_prog_cc_stdc isn't just used by Automake code in
248         `configure'.
249         * tests/ansi6.test, tests/ansi7.test: Likewise.
250         * tests/ansi9.test: Likewise.  Do not override by setting
251         $U and $(ANSI2KNR) at `make' time; that will be fragile.
252         * tests/libobj8.test: Use AC_PROG_CC_STDC.
253         * tests/subobj3.test: Likewise.  Use `set -e'.
254
255         * lib/install-sh: Initialize IFS, so field splitting isn't
256         turned off later.
257         * lib/mkinstalldirs: Likewise.
258
259         * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
260         the path of the prerequisite added; IRIX 6.5 make does not add
261         it, Solaris 2.6 make is inconsistent about adding it.  Fixes
262         java.test failure.
263
264         * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
265         files in the source tree.  Fixes failures with HP-UX and Tru64
266         make.
267
268         * lib/am/ansi2knr.am (ansi2knr): Rename target as...
269         (./ansi2knr): ...this, for BSD make.
270         (%ANSI2KNR-DIR%/ansi2knr): Adjust.
271
272 2006-05-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
273
274         * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
275         /bin/sh -e issue with failing commands in if clauses.
276
277         * tests/defs.in (Be Bourne compatible): Update from current
278         Autoconf.
279
280         * configure.ac: Recommend perl-5.8.2.
281         * tests/automake.test: Do not fail because of buggy Getopt::Long
282         in perl < 5.8.2.
283
284         * tests/longlin2.test: Do not use `grep' on Makefile.am:
285         it has long lines and is thus not a text file; AIX 5.1 grep
286         fails to scan non-plain patterns from long lines.
287
288         * tests/overrid.test: Change all regexes for warning messages to
289         match after a colon, so that the prepended file names do not
290         cause false matches.  Tighten overrides regex.  Fix typo
291         `cleam-am-local' -> `clean-am-local'.
292
293         * tests/java.test: `configure' uses a trap, so use `(exit 77);
294         exit 77' to portably set the exit status similar to AS_EXIT.
295         * tests/fn99.test: propagate nonzero exit status from subshell.
296
297         * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
298         if ``pwd`' contains the string `-p'.  Create the wrapper in a
299         subdirectory so that `.' in $PATH does not lead to an endless
300         loop.
301
302         * lib/depcomp (ia64hp): Rename dependency style to..
303         (hp2): ..this, as it works with aCC on HPPA, too; adjust
304         comment.  Report by Olivier Fourdan (PR automake/481).
305         * THANKS: Update.
306
307         * tests/aclocal7.test: Add `$sleep's between file touching
308         and automake resp aclocal+automake invocations, to ensure
309         they complete with a time stamp strictly later than the touched
310         file.
311
312         * lib/missing: Remove superfluous quotes.  Replace all uses of
313         `[' by `test', for consistency, and for..
314         * tests/missing5.test: ..this new test.
315         * tests/Makefile.am: Update.
316
317         * lib/missing (sed_minuso, sed_output): New variables.
318         (autom4te, help2man, makeinfo): Use them.  Unifies detection of
319         `-o FILE', `--output FILE', `--output=FILE', stricter regex.
320         Fixes `missing' to detect `--output' for help2man.  Fixes
321         PR automake/483.  Report by Dennis J. Linse.
322         (autom4te): Document in `missing --help'.
323         * THANKS: Update.
324
325 2006-04-26  Thien-Thi Nguyen  <ttn@gnu.org>  (tiny change)
326
327         * doc/automake.texi (Dependency Tracking Evolution): Fix typo.
328
329 2006-04-25  Stepan Kasal  <kasal@ucw.cz>
330
331         * lib/install-sh: Simplify the expr implementation of dirname.
332
333 2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
334
335         * lib/install-sh: Handle --, and diagnose unknown options.
336         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set
337         mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with
338         the other ways that mkdir_p might be set.
339
340 2006-04-21  Alexandre Duret-Lutz  <adl@gnu.org>
341
342         * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
343         (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
344         * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
345         (write_aclocal): Output a check for Autoconf's version in aclocal.m4.
346         Doing so ensures that users cannot build configure and Makefiles
347         with two different autoconf versions.  Report from Noah Misch.
348         * tests/missing4.test: New file.
349         * tests/Makefile.am (TESTS): Add it.
350
351 2006-04-20  Paul Lunau  <temp@lunau.me.uk>  (tiny change)
352             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
353
354         * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
355         failed, instead of when the last one failed (PR automake/488).
356         Report from Paul Lunau.
357         * tests/dejagnu4.test: Update to expose this.
358         * THANKS: Update.
359
360 2006-04-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
361
362         * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
363         TABs as well as spaces.  Fixes PR automake/490.
364         * tests/check6.test: New test.
365         * tests/Makefile.am, THANKS: Update.
366         Report from Diab Jerius <djerius@cfa.harvard.edu>.
367
368 2006-04-17  Stepan Kasal  <kasal@ucw.cz>
369
370         * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
371         description; eliminate the duplicate error message.
372         * doc/automake.texi (@direntry): `Invoking Automake' is the name
373         of the usage node for `automake'
374         * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the
375         comment.
376
377 2006-04-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
378
379         * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
380         because it uses `datarootdir'.  Bump copyright year and serial.
381
382 2006-04-10  Stepan Kasal  <kasal@ucw.cz>
383
384         * NEWS: Fix typo.
385
386 2006-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
387
388         * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
389         (_gen_varname): Use _hash_values, and return a flag indicating whether
390         the variable name was generated or reused.
391         (transform_variable_recursively): Do not redefine variables that
392         are reused, and try to reuse the variable being transformed.
393         * tests/check2.test: Make sure TESTS hasn't been redefined.
394         * tests/check5.test, tests/exeext4.test: Make sure variables have
395         been reused.
396         * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.
397
398         * automake.in (%ignored_configure_vars): New variable.
399         (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill
400         %ignored_configure_vars.
401         (define_configure_variable): Declare ignored configure variables
402         as VAR_SILENT.  Do not special-case AMDEPBACKSLASH and ANSI2KNR
403         w.r.t. VAR_SILENT.
404         * m4/substign.m4: New file.
405         * m4/Makefile.am (dist_m4data_DATA): Add substign.m4.
406         * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477).
407         * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH.
408         * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR.
409         * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined.
410         * tests/amsubst.test: New file.
411         * tests/Makefile.am (TESTS): Add it.
412
413 2006-04-09  Stepan Kasal  <kasal@ucw.cz>
414             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
415
416         * automake.in (handle_single_transform): Preserve directories in
417         direct suffix rules.
418         * tests/suffix12.test: New test.
419         * tests/Makefile.am (TESTS): Add it.
420         Report from John Ratliff.
421
422 2006-03-25  Mike Frysinger  <vapier@gentoo.org>  (tiny change)
423             Alexandre Duret-Lutz  <adl@gnu.org>
424
425         * aclocal.in ($m4_include_rx): Do not recognize `include', and
426         adjust scan_configure_dep and scan_file accordingly.
427         (scan_configure_dep): Do not search white lines.
428         (scan_file): Strip comments from current line after checking
429         for serial, so that aclocal does not trip on `m4_include' macros
430         in comments.  Report from Mike Frysinger.
431         * tests/acloca21.test: New file.
432         * tests/Makefile.am (TESTS): Add it.
433
434 2006-03-24  Stepan Kasal  <kasal@ucw.cz>
435
436         * tests/mmodely.test: Fix the test on systems with no lex.
437
438 2006-03-23  Stepan Kasal  <kasal@ucw.cz>
439
440         * automake.in (libtool_new_api): Fix a typo in the comment.
441         * lib/Automake/Makefile.am (Config.pm): Likewise.
442         * lib/am/depend2.am: Likewise.
443         * tests/xsource.test: With `set -e', `|| exit 1' is no longer
444         needed.
445
446 2006-03-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
447
448         * tests/depcomp6.test, tests/depcomp7.test: Change back to
449         using `$MAKE && exit 1', but make sure the last command in the
450         test is successful.
451
452 2006-03-21  Clifford Wolf  <clifford@clifford.at>  (tiny change)
453             Stepan Kasal  <kasal@ucw.cz>
454             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
455
456         * aclocal.in (parse_arguments): Added wildcard support to the
457         dirlist parser.
458         * doc/automake.texi (Macro search path): Document it.
459         * tests/dirlist2.test: New test.
460         * m4/dirlist, tests/Makefile.am: Adjust.
461
462 2006-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
463
464         * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)'
465         to `AC_PROG_OBJC' if provided, to fix Objective C depmode
466         handling.
467         * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for
468         OBJC and OBJCFLAGS.
469         * tests/ext.test: Adjust.
470         * tests/objc.test, tests/objc2.test: New tests.
471         * tests/Makefile.am: Adjust.
472         * doc/automake.texi (Objective C Support): New node.
473         (Support for Other Languages): Adjust.
474
475 2006-03-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
476
477         * lib/Automake/RuleDef.pm (DESCRIPTION): Typo.
478
479         * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic
480         to work with `set -e'.
481
482         * tests/depcomp6.test, tests/depcomp7.test: New tests,
483         for general `depcomp' functionality, with and without
484         `subdir-objects', with and without `libtool'.
485         * tests/Makefile.am: Adjust.
486
487         * aclocal.in (write_aclocal): Unlink `aclocal.m4' before
488         writing into it, to break a symlinked file.
489         * tests/acloca20.test: New test.
490         * tests/Makefile.am: Updated.
491
492 2006-03-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
493
494         Allow package trees (packages with subpackages) to share
495         common distributed auxiliary files (and directories) that
496         reside within a subpackage.
497
498         * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if
499         `$(distdir)' already exists.
500         (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent
501         removal of subpackage trees for distribution.
502         * tests/subpkg3.test: New test.
503         * tests/Makefile.am: Update.
504
505 2006-03-18  Alexandre Duret-Lutz  <adl@gnu.org>
506
507         * tests/check5.test, tests/nobast.test: Fix $MAKE and rm
508         invocations to please maintainer-check.
509
510 2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
511
512         * automake.in (lang_c_rewrite): Typo in previous change.
513         * tests/ccnoco2.test: New file.
514         * tests/Makefile.am (TESTS): Add ccnoco2.test.
515
516         * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
517         a 'portability' warning, so that people can ignore it.  Suggested
518         by Ralf Wildenhues.
519
520         * lib/Automake/ChannelDefs.pm: Make -Wportability the default in
521         gnu and gnits modes.
522         * doc/automake.texi (Invoking Automake): Adjust.
523
524 2006-02-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
525
526         * doc/automake.texi (Yacc and Lex): Document that `.ypp' and
527         `.lpp' file extensions are recognized.
528
529 2006-02-21  Alexandre Duret-Lutz  <adl@gnu.org>
530
531         * doc/automake.texi (Complete, Extending aclocal, Public macros)
532         (Python, Conditionals, API versioning): Always quote macro arguments.
533         Report from Stepan Kasal.
534
535 2006-02-16  Alexandre Duret-Lutz  <adl@gnu.org>
536
537         * doc/automake.texi (Python): More examples.
538
539 2006-02-05  Alexandre Duret-Lutz  <adl@gnu.org>
540
541         * doc/automake.texi (distcleancheck): Fix bad wording.  Report
542         from Bob Rossi.
543         (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS).
544
545 2006-01-29  Alexandre Duret-Lutz  <adl@gnu.org>
546
547         Append $(EXEEXT) to programs that may be listed in TESTS.
548         Report from Simon Josefsson.
549
550         * automake.in (%known_programs): New global.
551         (initialize_per_input): Reset it.
552         (append_exeext): Take a predicate as first argument to select
553         the filename to rewrite.
554         (handle_programs): Fill %known_programs.
555         (handle_tests): Append $(EXEEXT) to all tests that are in
556         %known_programs.
557         (am_install_var): Update call to append_exeext.
558         * doc/automake.texi (EXEEXT): TESTS is also rewritten.
559         (Tests): More about the difference between check_PROGRAMS and TESTS.
560         Give an example of TEST_ENVIRONMENT.
561         * tests/cond32.test: Augment with a nested condition.
562         * tests/exeext4.test: Also check TESTS.
563         * tests/check5.test: New file.
564         * tests/Makefile.am (TESTS): Add check5.test.
565
566 2006-01-12  Paul Eggert  <eggert@cs.ucla.edu>
567
568         * lib/install-sh (dstdir): Don't use semicolons inside { } in
569         sed scripts, as Posix says it's not portable.
570         * lib/missing (file): Likewise.
571         * lib/am/distdir.am (distcheck): Likewise.
572         * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
573         * tests/distcom2.test, tests/distcom3.test: Likewise.
574         * tests/distcom4.test, tests/distcom5.test: Likewise.
575         * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
576
577 2006-01-12  Alexandre Duret-Lutz  <adl@gnu.org>
578
579         * ChangeLog: Move 2004's entries to ...
580         * ChangeLog.04: ... this new file.
581         * Makefile.am (EXTRA_DIST): Add ChangeLog.04.
582
583         * tests/txinfo13.test: Test fix below.
584
585 2006-01-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
586
587         * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted
588         extra files in distribution.  Reported by Vincent Lefevre.
589
590 2006-01-06  Alexandre Duret-Lutz  <adl@gnu.org>
591
592         * doc/automake.texi (Linking, Program and Library Variables):
593         Mention the file extensions that usually appear in _DEPENDENCIES,
594         and point to BUILT_SOURCES and example of _DEPENDENCIES uses.  A
595         couple of people have been listing sources files in _DEPENDENCIES
596         lately.
597
598         * doc/automake.texi: Bump copyright year.
599         * automake.in ($gen_copyright, version): Likewise.
600         * aclocal.in (write_aclocal, version): Likewise.
601
602 2006-01-05  Stepan Kasal  <kasal@ucw.cz>
603             Alexandre Duret-Lutz  <adl@gnu.org>
604
605         * automake.in (topsrcdir): New global.
606         (generate_makefile): Compute it.
607         (fill_dist_dirs): New function extracted from handle_dist.
608         (handle_dist, handle_configure): Use fill_dist_dirs.
609         * tests/distdir.test: Test for cases where $(top_srcdir) or
610         $(srcdir) appear in EXTRA_DIST.  Report from Sander Niemeijer.
611
612 2006-01-05  Zack Weinberg  <zackw@panix.com>
613             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
614
615         * lib/depcomp: Add 'ia64hp' dependency style.
616         Zack's original patch was contributed to GCC on 2005-06-13.
617         (tru64): Typo.
618
619 2005-11-01  Stepan Kasal  <kasal@ucw.cz>
620
621         * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
622         the code is portable to both POSIX and pre-POSIX shells.
623
624 2005-10-17  Alexandre Duret-Lutz  <adl@gnu.org>
625
626         * tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
627         suggested by Eric Blake.
628
629 2005-10-17  Stepan Kasal  <kasal@ucw.cz>
630
631         * doc/automake.texi (Program and Library Variables): Typo.
632         * lib/Automake/Variable.pm (transform_variable_recursively): Typo
633         in a comment.
634
635 2005-10-03  Stepan Kasal  <kasal@ucw.cz>
636
637         * ChangeLog.03, automake.in, tests/overrid.test: Typos.
638
639 2005-10-03  Alexandre Duret-Lutz  <adl@gnu.org>
640
641         * tests/nobase.test: Exercise previous patch.
642
643 2005-10-03  Peter O'Gorman  <peter@pogma.com>  (tiny change)
644
645         * lib/am/distdir.am: Remove $(SHELL) when calling install_sh
646         * m4/strip.m4: Ditto.
647         * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
648
649 2005-09-13  Paul Eggert  <eggert@cs.ucla.edu>
650
651         * doc/automake.texi (limitations on file names): New section.
652         * lib/install-sh: Rewrite to support '*' in file names.
653         Also, tune so that we don't invoke so many commands in the usual case.
654         This has the side effect of fixing `install-sh -d' to not fail if it
655         loses the race in creating the last path component against another
656         process.
657         * tests/instspc.test: The "*" test is now fixed.
658
659 2005-09-13  Stepan Kasal  <kasal@ucw.cz>
660
661         * automake.in (Languages) <cppasm>: Fix typo in the comment.
662
663 2005-09-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
664
665         * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
666         shell in verbose mode.
667
668 2005-08-07  Alexandre Duret-Lutz  <adl@gnu.org>
669
670         * lib/Automake/Variable.pm (variable_value): Do not read the TRUE
671         value of a conditionally defined variable.
672         Report from Juergen Leising.
673
674         * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
675         $(MAKE) invocations.
676         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
677         Likewise.
678         * lib/am/texi-vers.am (%STAMPVTI%): Likewise.
679         * lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
680         * Makefile.am (maintainer-check): Check for this.
681         Report from Stepan Kasal.
682
683         * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.
684         Prompted by Stepan Kasal.
685
686 2005-08-07  Stepan Kasal  <kasal@ucw.cz>
687
688         * lib/am/texinfos.am (uninstall-info-am): Call install-info only if
689         the $(infodir) exists.
690
691 2005-07-31  Stepan Kasal  <kasal@ucw.cz>
692
693         * tests/library3.test: Fix a typo which made the test fail.
694
695 2005-07-27  Alexandre Duret-Lutz  <adl@gnu.org>
696
697         * doc/automake.texi (Linking, Program and Library Variables):
698         Suggest reserving -l for third-party libraries.
699
700         * lib/Automake/Variable.pm (require_variables): Mention aclocal's
701         search path when suggesting to add a macro in configure.ac.
702         People are confused when Automake suggests adding a macro (such as
703         AC_PROG_LIBTOOL) that is already in configure.ac.
704         * automake.in (require_file_internal): Suggest `automake --add-missing'
705         for missing files that can be installed.
706         * tests/library3.test: Adjust.
707
708 2005-07-27  Stepan Kasal  <kasal@ucw.cz>
709
710         * tests/defs.in: When required matches both `*libtool*' and
711         `*gettext*', check for both m4 files.
712
713         * doc/automake.texi (Auxiliary Programs): Fix a typo.
714         * tests/suffix11.test: Fix a typo.
715         * tests/colon3.test: s/EGREP/FGREP/.
716
717 2005-07-19  Paul Eggert  <eggert@cs.ucla.edu>
718
719         * tests/instspc.test: Major rewrite to test for many other
720         problematic file names, e.g., '$', '"', '('.  Automake and
721         Autoconf can't handle many of them, so do not report a failure
722         if the usual candidates show up.
723
724 2005-07-19  Stepan Kasal  <kasal@ucw.cz>
725
726         * Makefile.am (automake, aclocal): Merge the rules.
727
728 2005-07-10  Alexandre Duret-Lutz  <adl@gnu.org>
729
730         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
731         versions.
732
733 2005-07-09  Alexandre Duret-Lutz  <adl@gnu.org>
734
735         * lib/install-sh: Use IFS=/ to split directories on /, don't translate
736         / into % as it prevents directory names using %...
737
738 2005-07-09  Stepan Kasal  <kasal@ucw.cz>
739
740         * doc/automake.texi (Public macros): Typo.
741         * aclocal.in: Typo in comment.
742
743 2005-07-09  Zack Weinberg  <zack@codesourcery.com>  (tiny change)
744
745         * lib/depcomp: Handle "#line" markers as well as "# " markers in
746         "cpp" style, so it can work with newer HP compilers (for their
747         ia64 systems).
748
749 2005-07-02  Alexandre Duret-Lutz  <adl@gnu.org>
750
751         * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
752         fix an underful hbox.
753         * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
754         New upstream versions.
755
756 2005-07-01  Alexandre Duret-Lutz  <adl@gnu.org>
757
758         * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
759
760 2005-06-30  Alexandre Duret-Lutz  <adl@gnu.org>
761
762         * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
763         lib/am/header-vars.am no longer uses it.
764         * lib/am/libtool.am (distclean-am, distclean-libtool): Define
765         if TOPDIR_P is true, not TOPDIR.
766         Suggested by Stepan Kasal.
767
768         * automake.in (read_am_file): Correctly diagnose comments following
769         trailing backslash.
770         * tests/commen10.test: New file.
771         * tests/Makefile.am (TESTS): Add commen10.test.
772         Report from Harald Dunkel.
773
774         * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead
775         of AC_SUBST.
776         * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL):
777         Do not define, they are AC_SUBST_TRACEd by Autoconf.
778         * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c.
779         * tests/include.test: Call AC_OUTPUT.
780
781 2005-06-29  Alexandre Duret-Lutz  <adl@gnu.org>
782
783         * lib/mkinstalldirs: Fix support for directory name with spaces if
784         `mkdir -p' does not work.
785         * tests/Makefile.am (TESTS): Add mkinst3.test.
786         * tests/mkinst3.test: New file.
787         Report from Noah Friedman.
788
789         * doc/automake.texi (Include, Extending aclocal): Typos.
790         Report from Karl Berry.
791
792 2005-06-28  Stepan Kasal  <kasal@ucw.cz>
793             Alexandre Duret-Lutz  <adl@gnu.org>
794
795         * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
796         * tests/txinfo28.test: Set TIME_STYLE.
797         Report from Vincent Lefevre and James Youngman.
798
799 2005-06-24  Alexandre Duret-Lutz  <adl@gnu.org>
800
801         * lib/Automake/Variable.pm (define, _new): Remember the helper
802         variable created for the last conditional += on each variable, and
803         only append further += in the same condition to this last helper
804         variable, not to older helper variables.  This way the order of
805         the items appended to the variable is preserved.
806         * tests/cond21.test: Adjust.
807         * tests/cond38.test: New file.
808         * tests/Makefile.am (TESTS): Add cond38.test.
809         Report from Ed Hartnett.
810
811 2005-06-22  Alexandre Duret-Lutz  <adl@gnu.org>
812
813         * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
814
815         * automake.in (handle_footer): Do not output an unformatted
816         definition of SOURCES, it is already done correctly in
817         generate_makefile.  This superfluous definition introduced long
818         lines in some Makefiles, hence breakages in tools with a limited
819         line length.  Report from Mathias Froehlich.
820
821 2005-06-11  Alexandre Duret-Lutz  <adl@gnu.org>
822
823         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
824         Fix redirections in previous patch.
825
826 2005-06-08  Alexandre Duret-Lutz  <adl@gnu.org>
827
828         * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
829         Do not backup any file if makeinfo is not installed.
830         * lib/missing (makeinfo): Do not touch a missing info file.
831         * tests/txinfo30.test: New file.
832         * tests/Makefile.am (TESTS): Add txinfo30.test.
833         Report from Bob Proulx.
834
835         * doc/automake.texi (Extending aclocal): Typo.
836
837 2005-05-24  Brian Gough  <bjg@network-theory.co.uk>  (tiny change)
838
839         * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
840
841 2005-05-15  Alexandre Duret-Lutz  <adl@gnu.org>
842
843         Fix PR automake/461:
844         * automake.in (require_build_directory): Canonicalize directories
845         with different names, such as `foo/bar' and `./foo//bar'.
846         * tests/subobj9.test: Augment to test that.
847         Report from Tom Tromey.
848
849 2005-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
850
851         * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
852         ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am,
853         NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure,
854         configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING,
855         lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in,
856         lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp,
857         lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile,
858         lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
859         lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
860         lib/Automake/Condition.pm, lib/Automake/Config.in,
861         lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
862         lib/Automake/FileUtils.pm, lib/Automake/General.pm,
863         lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
864         lib/Automake/Location.pm, lib/Automake/Makefile.am,
865         lib/Automake/Options.pm, lib/Automake/Rule.pm,
866         lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
867         lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
868         lib/Automake/Version.pm, lib/Automake/Wrap.pm,
869         lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
870         lib/Automake/tests/DisjConditions.pl,
871         lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
872         lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
873         lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
874         lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
875         lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
876         lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
877         lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
878         lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
879         lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
880         lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
881         lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
882         lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
883         lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
884         lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
885         lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
886         m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
887         tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
888         tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
889         tests/acloca17.test, tests/acloca18.test, tests/acloca19.test,
890         tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test,
891         tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test,
892         tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test,
893         tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test,
894         tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test,
895         tests/acsubst.test, tests/acsubst2.test, tests/all.test,
896         tests/alloca.test, tests/alloca2.test, tests/alpha.test,
897         tests/alpha2.test, tests/amassign.test, tests/ammissing.test,
898         tests/ansi.test, tests/ansi10.test, tests/ansi2.test,
899         tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test,
900         tests/ansi5.test, tests/ansi6.test, tests/ansi7.test,
901         tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test,
902         tests/asm.test, tests/autohdr.test, tests/autohdr2.test,
903         tests/autohdr3.test, tests/autohdr4.test, tests/automake.test,
904         tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test,
905         tests/auxdir4.test, tests/backsl.test, tests/backsl2.test,
906         tests/backsl3.test, tests/backsl4.test, tests/badline.test,
907         tests/badopt.test, tests/badprog.test, tests/block.test,
908         tests/bsource.test, tests/canon.test, tests/canon2.test,
909         tests/canon3.test, tests/canon4.test, tests/canon5.test,
910         tests/ccnoco.test, tests/check.test, tests/check2.test,
911         tests/check3.test, tests/check4.test, tests/checkall.test,
912         tests/clean.test, tests/clean2.test, tests/colneq.test,
913         tests/colneq2.test, tests/colon.test, tests/colon2.test,
914         tests/colon3.test, tests/colon4.test, tests/colon5.test,
915         tests/colon6.test, tests/colon7.test, tests/comment.test,
916         tests/comment2.test, tests/comment3.test, tests/comment4.test,
917         tests/comment5.test, tests/comment6.test, tests/comment7.test,
918         tests/comment8.test, tests/comment9.test, tests/compile.test,
919         tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test,
920         tests/cond.test, tests/cond10.test, tests/cond11.test,
921         tests/cond13.test, tests/cond14.test, tests/cond15.test,
922         tests/cond16.test, tests/cond17.test, tests/cond18.test,
923         tests/cond19.test, tests/cond2.test, tests/cond20.test,
924         tests/cond21.test, tests/cond22.test, tests/cond23.test,
925         tests/cond24.test, tests/cond25.test, tests/cond26.test,
926         tests/cond27.test, tests/cond28.test, tests/cond29.test,
927         tests/cond3.test, tests/cond30.test, tests/cond31.test,
928         tests/cond32.test, tests/cond33.test, tests/cond34.test,
929         tests/cond35.test, tests/cond36.test, tests/cond37.test,
930         tests/cond4.test, tests/cond5.test, tests/cond6.test,
931         tests/cond7.test, tests/cond8.test, tests/cond9.test,
932         tests/condd.test, tests/condhook.test, tests/condinc.test,
933         tests/condinc2.test, tests/condlib.test, tests/condman.test,
934         tests/condman2.test, tests/conf2.test, tests/confdeps.test,
935         tests/conff.test, tests/conff2.test, tests/confh.test,
936         tests/confh4.test, tests/confh5.test, tests/config.test,
937         tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
938         tests/conflnk3.test, tests/confsub.test, tests/confvar.test,
939         tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
940         tests/cxx.test, tests/cxx2.test, tests/cxxansi.test,
941         tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test,
942         tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test,
943         tests/dash.test, tests/defs.in, tests/defun.test,
944         tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
945         tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
946         tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
947         tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test,
948         tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test,
949         tests/depend.test, tests/depend2.test, tests/depend3.test,
950         tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
951         tests/dirlist.test, tests/discover.test, tests/distcom2.test,
952         tests/distcom3.test, tests/distcom4.test, tests/distcom5.test,
953         tests/distcom6.test, tests/distcom7.test, tests/distdir.test,
954         tests/distname.test, tests/dollar.test, tests/double.test,
955         tests/dup2.test, tests/else.test, tests/empty.test,
956         tests/empty2.test, tests/empty3.test, tests/empty4.test,
957         tests/exdir.test, tests/exdir2.test, tests/exeext.test,
958         tests/exeext2.test, tests/exeext3.test, tests/exeext4.test,
959         tests/exsource.test, tests/ext.test, tests/ext2.test,
960         tests/extra.test, tests/extra2.test, tests/extra3.test,
961         tests/extra4.test, tests/extra5.test, tests/extra6.test,
962         tests/extra7.test, tests/f90only.test, tests/flibs.test,
963         tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test,
964         tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
965         tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
966         tests/gcj5.test, tests/getopt.test, tests/gettext.test,
967         tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
968         tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
969         tests/gnuwarn2.test, tests/header.test, tests/help.test,
970         tests/hfs.test, tests/hosts.test, tests/implicit.test,
971         tests/include.test, tests/include2.test, tests/info.test,
972         tests/insh2.test, tests/install2.test, tests/installdir.test,
973         tests/instdat.test, tests/instdat2.test, tests/instexec.test,
974         tests/insthook.test, tests/instman.test, tests/instman2.test,
975         tests/instsh.test, tests/instsh2.test, tests/instspc.test,
976         tests/interp.test, tests/interp2.test, tests/java.test,
977         tests/java2.test, tests/java3.test, tests/javaprim.test,
978         tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
979         tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
980         tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
981         tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
982         tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
983         tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
984         tests/library.test, tests/library2.test, tests/library3.test,
985         tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
986         tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
987         tests/libtool7.test, tests/libtool8.test, tests/libtool9.test,
988         tests/license.test, tests/link_c_cxx.test, tests/link_dist.test,
989         tests/link_f90_only.test, tests/link_f_only.test,
990         tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
991         tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
992         tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
993         tests/lisp8.test, tests/listval.test, tests/location.test,
994         tests/longlin2.test, tests/longline.test, tests/ltcond.test,
995         tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
996         tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
997         tests/make.test, tests/makej.test, tests/makevars.test,
998         tests/man.test, tests/man2.test, tests/mclean.test,
999         tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
1000         tests/mdate4.test, tests/missing.test, tests/missing2.test,
1001         tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
1002         tests/mmodely.test, tests/multlib.test, tests/nobase.test,
1003         tests/nodef.test, tests/nodef2.test, tests/nodep.test,
1004         tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
1005         tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
1006         tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
1007         tests/nostdinc.test, tests/number.test, tests/obsolete.test,
1008         tests/order.test, tests/outdir.test, tests/output.test,
1009         tests/output10.test, tests/output11.test, tests/output12.test,
1010         tests/output2.test, tests/output3.test, tests/output4.test,
1011         tests/output5.test, tests/output6.test, tests/output7.test,
1012         tests/output8.test, tests/output9.test, tests/overrid.test,
1013         tests/parse.test, tests/percent.test, tests/percent2.test,
1014         tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
1015         tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
1016         tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
1017         tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
1018         tests/ppf77.test, tests/pr2.test, tests/pr204.test,
1019         tests/pr211.test, tests/pr220.test, tests/pr224.test,
1020         tests/pr229.test, tests/pr243.test, tests/pr266.test,
1021         tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
1022         tests/pr300-lib.test, tests/pr300-ltlib.test,
1023         tests/pr300-prog.test, tests/pr307.test, tests/pr401.test,
1024         tests/pr401b.test, tests/pr401c.test, tests/pr72.test,
1025         tests/pr87.test, tests/pr9.test, tests/prefix.test,
1026         tests/primary.test, tests/primary2.test, tests/primary3.test,
1027         tests/proginst.test, tests/python.test, tests/python10.test,
1028         tests/python11.test, tests/python12.test, tests/python2.test,
1029         tests/python3.test, tests/python4.test, tests/python5.test,
1030         tests/python6.test, tests/python7.test, tests/python8.test,
1031         tests/python9.test, tests/recurs.test, tests/recurs2.test,
1032         tests/regex.test, tests/remake.test, tests/remake2.test,
1033         tests/remake3.test, tests/remake4.test, tests/remake5.test,
1034         tests/req.test, tests/reqd.test, tests/reqd2.test,
1035         tests/rulepat.test, tests/scripts.test, tests/seenc.test,
1036         tests/sinclude.test, tests/space.test, tests/specflg.test,
1037         tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
1038         tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
1039         tests/spell.test, tests/spell2.test, tests/spell3.test,
1040         tests/spelling.test, tests/spy.test, tests/srcsub.test,
1041         tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
1042         tests/stdlib2.test, tests/strip.test, tests/subcond.test,
1043         tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
1044         tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
1045         tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
1046         tests/subdir8.test, tests/subdir9.test,
1047         tests/subdirbuiltsources.test, tests/subobj.test,
1048         tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
1049         tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
1050         tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
1051         tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
1052         tests/subst2.test, tests/substre2.test, tests/substref.test,
1053         tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
1054         tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
1055         tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
1056         tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
1057         tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
1058         tests/syntax.test, tests/tags.test, tests/tagsub.test,
1059         tests/tar.test, tests/tar2.test, tests/tar3.test,
1060         tests/target-cflags.test, tests/targetclash.test,
1061         tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
1062         tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
1063         tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
1064         tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
1065         tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
1066         tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
1067         tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
1068         tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
1069         tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
1070         tests/vars.test, tests/vars3.test, tests/vartar.test,
1071         tests/version.test, tests/version2.test, tests/version3.test,
1072         tests/version4.test, tests/version6.test, tests/version7.test,
1073         tests/version8.test, tests/vpath.test, tests/vtexi.test,
1074         tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
1075         tests/werror2.test, tests/whoami.test, tests/xsource.test,
1076         tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
1077         tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
1078         tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
1079         tests/yaccvpath.test: Update FSF postal mail address.
1080
1081         * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
1082         Autoconf currently defines a CCC variable.
1083
1084         * tests/output11.test, tests/output12.test: Use rm -f.
1085
1086 2005-04-25  Gary V. Vaughan  <gary@gnu.org>
1087             Alexandre Duret-Lutz  <adl@gnu.org>
1088
1089         Support for remote LIBOBJS (and friends) with subdir-objects.
1090         Fixes PR automake/401.
1091
1092         * automake.in (config_libobj_dir): New variable.
1093         (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
1094         (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
1095         (handle_LIBOBJS, handle_ALLOCA): Use them.  Adjust location of
1096         dependency files, possibly in a subdirectory.
1097         * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
1098         * tests/Makefile.am (TESTS): Add them.
1099         * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
1100         (LIBOBJS): Document changes in behaviour of
1101         LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
1102         subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
1103
1104 2005-04-18  Jim Meyering  <jim@meyering.net>
1105
1106         * doc/automake.texi (Dist): Correct English.
1107
1108 2005-03-31  Stepan Kasal  <kasal@ucw.cz>
1109
1110         * doc/automake.texi: When the phrase "for instance" introduces a
1111         sentence, it should be delimited by a comma.
1112
1113         * doc/automake.texi: Fix a few typos.
1114
1115 2005-03-30  Alexandre Duret-Lutz  <adl@gnu.org>
1116
1117         * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
1118         example, since the GCS now define htmldir.
1119         (Auxiliary Programs): Mention config-ml.in and symlink-tree.
1120         Give a URL for texinfo.tex.
1121         (Public macros): Sort alphabetically, and move obsolete macros...
1122         (Obsolete macros): ... here.
1123         Prompted by Karl Berry.
1124
1125 2005-03-29  Alexandre Duret-Lutz  <adl@gnu.org>
1126
1127         * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
1128         Jim Meyering.
1129
1130         * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
1131         rule is run with `make -j'.
1132         * doc/automake.texi (Multiple Outputs): Adjust.
1133         * tests/lisp6.test: Augment it.
1134         * tests/lisp8.test: New file.
1135         * tests/Makefile.am (TESTS): Add lisp8.test.
1136         Suggested by Bruno Haible.
1137
1138 2005-03-27  Alexandre Duret-Lutz  <adl@gnu.org>
1139
1140         * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
1141
1142 2005-03-16  Alexandre Duret-Lutz  <adl@gnu.org>
1143
1144         * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
1145         a missing *.elc file if it cannot be created because emacs does
1146         not exist.
1147         * tests/lisp7.test: New file.
1148         * tests/Makefile.am (TESTS): Add lisp7.test.
1149         Report from Greg Schafer.
1150
1151 2005-03-05  Alexandre Duret-Lutz  <adl@gnu.org>
1152
1153         * doc/automake.texi: Replace wicked whiches by thats.
1154
1155 2005-03-04  Alexandre Duret-Lutz  <adl@gnu.org>
1156
1157         * aclocal.in (scan_configure_dep, scan_file): Include file names
1158         are relative to the directory of configure.ac, not to the
1159         directory of the file doing the include.  Remove code for this
1160         latter case.
1161         * tests/acloca13.test: Run distcheck and make sure all macros are
1162         actually distributed.
1163
1164 2005-03-03  Alexandre Duret-Lutz  <adl@gnu.org>
1165
1166         For PR automake/450:
1167         * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
1168         files.
1169         * automake.in (scan_autoconf_traces): Likewise.
1170         * tests/sinclude.test: Augment.
1171         Report from Peter Breitenlohner.
1172
1173         For PR automake/450:
1174         * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
1175         acinclude.m4 and configure.ac to the include map in these two
1176         places ...
1177         (strip_redundant_includes): ... do it here.  This completes the
1178         previous change from 2005-03-01, that did not update
1179         write_aclocal.
1180         * tests/acloca19.test: Augment.
1181         Report from Peter Breitenlohner.
1182
1183 2005-03-02  Alexandre Duret-Lutz  <adl@gnu.org>
1184
1185         * tests/comment9.test: Typo.
1186
1187 2005-03-01  Alexandre Duret-Lutz  <adl@gnu.org>
1188
1189         * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
1190         * tests/comment9.test: New file.
1191         * tests/Makefile.am (TESTS): Add comment9.test.
1192         Report from Julien Sopena.
1193
1194         For PR automake/450:
1195         * aclocal.in (trace_used_macros): Do not explicitly trace files
1196         included by configure.ac.
1197         * tests/acloca19.test: New file.
1198         * tests/Makefile.am (TESTS): Add acloca19.test.
1199         Report from Peter Breitenlohner.
1200
1201 2005-02-27  Alexandre Duret-Lutz  <adl@gnu.org>
1202
1203         Fix for PR automake/448:
1204         * automake.in (handle_factored_dependencies): Flag install-hook as
1205         an error.
1206         * tests/insthook.test: Exercise this.
1207
1208         * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
1209         * doc/automake.texi (Hard-Coded Install Paths): Adjust.
1210
1211         * doc/automake.texi: Replace many uses of @samp by @code, and
1212         vice versa.  Use @command, @option, and @env where appropriate.
1213
1214 2005-02-26  Alexandre Duret-Lutz  <adl@gnu.org>
1215
1216         * doc/automake.texi: "filename" -> "file name", for consistency
1217         with GNU Coding Standards.  See also Paul's change on 2004-08-20
1218         in Autoconf.
1219
1220         * doc/automake.texi (A Library, Libtool Libraries): Show how to link
1221         a program with a static or libtool library.
1222         (Program and Library Variables): Make clearer that _LDADD and
1223         _LIBADD may also list libraries.
1224         Prompted by a mail from Bruce Korb.
1225
1226         * doc/automake.texi (Alternative): Show how to rewrite nobase_
1227         variables using custom directory variables, and link to node
1228         Uniform.  Suggested by Leonardo Boiko.
1229
1230         * doc/automake.texi (Flag Variables Ordering, User Variables):
1231         Make clearer who the maintainer is, and that he can AC_SUBST AM_
1232         variables in configure.ac.  Suggested by Norman Gray.
1233         (Uniform, Public macros, Libtool Issues, Java Support,
1234         Conditionals): Use `---' for em dash, and stick them to the
1235         enclosing text.
1236
1237         * doc/automake.texi: Reword a few sentences to fix all underflow
1238         and overflow warnings during `make dvi'.
1239         (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
1240         (Public macros) <AM_WITH_DMALLOC>: Likewise.
1241
1242 2005-02-12  Alexandre Duret-Lutz  <adl@gnu.org>
1243
1244         * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
1245         lib/texinfo.tex: New upstream versions.
1246
1247         * doc/automake.texi (Hard-Coded Install Paths): New node.
1248         (Extending, Extending aclocal, Python): Link to it.
1249         (Extending): Don't show how to install a file in /etc/ directly,
1250         this is insane.
1251
1252         * automake.in (read_am_file): Define variables containing long
1253         lines as VAR_PRETTY to work around tools with limited input width.
1254         * tests/longlin2.test: New file.
1255         * tests/Makefile.am (TESTS): Add it.
1256         Report from Albert Chin.
1257
1258 2005-02-09  Alexandre Duret-Lutz  <adl@gnu.org>
1259
1260         Fix for PR automake/447:
1261         * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
1262         Report from Mathias Doreille.  Add some old comments from
1263         Nicolas Joly for reference.
1264
1265 2005-02-08  Stepan Kasal  <kasal@ucw.cz>
1266
1267         * lib/mdate-sh: Check the size of the word following the month to
1268         catch Darwin.  This way the filename can contain spaces.
1269
1270         * doc/automake.texi (Requirements, Options): Typos.
1271
1272 2005-02-08  Alexandre Duret-Lutz  <adl@gnu.org>
1273
1274         * lib/missing (makeinfo): Compute the output file if neither -o
1275         nor @setfilename is used.
1276         Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
1277
1278 2005-02-07  Alexandre Duret-Lutz  <adl@gnu.org>
1279
1280         * doc/automake.texi (Requirements): Show one example of
1281         AC_CONFIG_FILES with multiple outputs, and correct a few typos.
1282
1283         * aclocal.in ($serial_line_rx): Expect at least one space between
1284         `serial' and the following number.
1285         Report from Jim Meyering.
1286
1287         * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
1288         Report from Peter O'Gorman.
1289
1290 2005-02-06  Alexandre Duret-Lutz  <adl@gnu.org>
1291
1292         * aclocal.in (usage, parse_arguments): New --dry-run and --diff
1293         options.
1294         (install_file, write_aclocal): Honor --dry-run and --diff.
1295         * doc/automake.texi (aclocal options): Document --dry-run and --diff.
1296         (Serials): Mention --diff.
1297         * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
1298         $expected_exit_code argument.
1299         (xsystem): Take a list of arguments, not a string.
1300         * tests/acloca18.test: Use --dry-run and --diff.
1301         Suggested by Paul Eggert.
1302
1303         * doc/automake.texi (aclocal options, Macro search path,
1304         Extending aclocal, Local Macros, Serials, Future of aclocal): Make
1305         these subsection of ...
1306         (Invoking aclocal): ... this.
1307
1308         * aclocal.in ($serial_line_rx): Allow trailing garbage after the
1309         serial number.
1310         (scan_file): Explicitly mark the "ill-formed serial" message
1311         as a warning.
1312         * doc/automake.texi (aclocal options, Local Macros): Link to...
1313         (Serials): ... this new section.
1314
1315 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
1316
1317         * lib/compile: Likewise.
1318
1319 2005-02-02  Alexandre Duret-Lutz  <adl@gnu.org>
1320
1321         * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
1322         see 2004-12-17.
1323         * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
1324         status if a write failure occurs with --help or --version option,
1325         as below.
1326
1327 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
1328
1329         * lib/depcomp: Exit with nonzero status if a write failure occurs
1330         with --help or --version option.
1331         * lib/elisp-comp: Likewise.
1332         * lib/gnupload: Likewise.
1333         * lib/install-sh: Likewise.
1334         * lib/missing: Likewise.
1335         * lib/mkinstalldirs: Likewise.
1336
1337 2005-02-01  Alexandre Duret-Lutz  <adl@gnu.org>
1338
1339         * doc/automake.texi (aclocal options): Typo.
1340
1341         * aclocal.in (list_compare): New functions.
1342         (scan_file): Honor #serial lines.
1343         * tests/acloca18.test: New test.
1344         * tests/Makefile.am (TESTS): Add it.
1345         * doc/automake.texi (aclocal options, Local Macros): Document
1346         #serial.
1347
1348 2005-01-30  Alexandre Duret-Lutz  <adl@gnu.org>
1349
1350         Preliminary support for `aclocal --install'.
1351         This still lacks #serial support.
1352         * aclocal.in (reset_maps, install_file): New functions.
1353         (write_aclocal): Copy files if --install.
1354         (usage, parse_arguments): Recognize --install.
1355         ("MAIN"): Start aclocal again if some file were installed.
1356         * tests/acloca10.test: Augment to test --install.
1357         * tests/aclocal.in, tests/defs.in: Add support for
1358         ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
1359         * doc/automake.texi (aclocal options, Local Macros): Document
1360         --install.
1361         (Future of aclocal): Adjust.
1362
1363         * doc/automake.texi (Macro search path): Using --acdir is not
1364         obvious, it's erroneous.
1365
1366         * doc/automake.texi (direntry): Let `info Automake' point to the
1367         manual, and `info automake' to the `Invoking automake' node.  Like
1368         in Autoconf.
1369
1370 2005-01-27  Akim Demaille  <akim@epita.fr>
1371
1372         * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
1373         From Paul Eggert.
1374
1375 2005-01-24  Akim Demaille  <akim@epita.fr>
1376
1377         * lib/Automake/FileUtils.pm: Rename filename as file_name to be
1378         consistent with the terminology of the GNU coding standards.
1379         From Paul Eggert.
1380         (update_file): Accept a $force argument, so that --force always
1381         updates the time stamps.
1382
1383 2005-01-23  Alexandre Duret-Lutz  <adl@gnu.org>
1384
1385         * doc/automake.texi (How the Linker is Chosen): Explain how the
1386         linker is chosen without diagram, and update to match the code.
1387         Suggestion from Adrian Bunk.
1388
1389 2005-01-16  Alexandre Duret-Lutz  <adl@gnu.org>
1390
1391         * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
1392         Process all words of $MAKEFLAGS when checking for -k.
1393         * tests/check4.test: New file.
1394         * tests/Makefile.am (TESTS): Add check4.test.
1395         Report from Eric Blake.
1396
1397 2005-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
1398
1399         * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
1400         AM_INIT_AUTOMAKE if the version passed is incorrect.
1401         * tests/version8.test: New file.
1402         * tests/Makefile.am (TESTS): Add version8.test.
1403
1404 2005-01-09  Alexandre Duret-Lutz  <adl@gnu.org>
1405
1406         * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
1407         m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
1408         m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
1409         m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
1410         m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
1411         m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
1412         m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
1413         m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
1414         license that is used in aclocal.m4.  Relicensing backed by RMS.
1415
1416         * doc/automake.texi (A Library, LIBOBJS): Mention that empty
1417         libraries are not portable.
1418
1419 2005-01-05  Akim Demaille  <akim@epita.fr>
1420
1421         * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
1422         * tests/aclocal5.test (MORE_DEFS): Rename as...
1423         (AM_TEST): this so that undefined macros are caught.
1424         And make it an alias of AC_SUBST.
1425         Test AU_ALIAS.
1426         Reported by Martin Bravenboer.
1427
1428 2005-01-03  Alexandre Duret-Lutz  <adl@gnu.org>
1429
1430         Fix handling of per-target flags in link rules.
1431         * automake.in (define_per_target_linker_variable): New function.
1432         (handle_programs, handle_ltlibraries): Use it.
1433         (%link_languages): New map.
1434         (register_language): Fill it.
1435         * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
1436         $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
1437         define_per_target_linker_variable if needed.
1438         * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
1439         $(%XPROGRAM%_LDFLAGS).
1440         * doc/automake.texi (Program and Library Variables): Mention
1441         AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
1442         and maude_LIBTOOLFLAGS.
1443         * tests/libtool9.test: New file.
1444         * tests/Makefile.am (TESTS): Add it.
1445         * NEWS: Explain the backward incompatibility.
1446         Report from Akim Demaille.
1447
1448 2005-01-01  Alexandre Duret-Lutz  <adl@gnu.org>
1449
1450         * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
1451         specifications with shell variables.
1452         (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
1453         AC_CONFIG_FILES for this explanation.
1454         * automake.in (substitute_ac_subst_variables_worker,
1455         substitute_ac_subst_variables): Mew functions.
1456         (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
1457         to ignore dependencies that contain unAC_SUBSTed shell variables.
1458         (handle_configure): Likewise, do not output rules for
1459         AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
1460         unAC_SUBSTed contain shell variables.
1461         * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
1462         * tests/output11.test, tests/output12.test: New files.
1463         * tests/Makefile.am (TESTS): Add output11.test and output12.test.
1464
1465         * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
1466         * automake.in ($gen_copyright, version): Likewise.
1467
1468 -----
1469
1470 Copyright (C) 2005, 2006  Free Software Foundation, Inc.
1471
1472 This file is part of GNU Automake.
1473
1474 GNU Automake is free software; you can redistribute it and/or modify
1475 it under the terms of the GNU General Public License as published by
1476 the Free Software Foundation; either version 2, or (at your option)
1477 any later version.
1478
1479 GNU Automake is distributed in the hope that it will be useful,
1480 but WITHOUT ANY WARRANTY; without even the implied warranty of
1481 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1482 GNU General Public License for more details.
1483
1484 You should have received a copy of the GNU General Public License
1485 along with autoconf; see the file COPYING.  If not, write to
1486 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
1487 Boston, MA 02110-1301, USA.
1488
1489 ;; Variables:
1490 ;; coding: utf-8
1491 ;; End: