Alexandre Duret-Lutz <adl@gnu.org>
[platform/upstream/automake.git] / ChangeLog
1 2005-04-25  Gary V. Vaughan  <gary@gnu.org>
2             Alexandre Duret-Lutz  <adl@gnu.org>
3
4         Support for remote LIBOBJS (and friends) with subdir-objects.
5         Fixes PR automake/401.
6
7         * automake.in (config_libobj_dir): New variable.
8         (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
9         (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
10         (handle_LIBOBJS, handle_ALLOCA): Use them.  Adjust location of
11         dependency files, possibly in a subdirectory.
12         * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
13         * tests/Makefile.am (TESTS): Add them.
14         * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
15         (LIBOBJS): Document changes in behaviour of
16         LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
17         subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
18
19 2005-04-18  Jim Meyering  <jim@meyering.net>
20
21         * doc/automake.texi (Dist): Correct English.
22
23 2005-03-31  Stepan Kasal  <kasal@ucw.cz>
24
25         * doc/automake.texi: When the phrase "for instance" introduces a
26         sentence, it should be delimited by a comma.
27
28         * doc/automake.texi: Fix a few typos.
29
30 2005-03-30  Alexandre Duret-Lutz  <adl@gnu.org>
31
32         * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
33         example, since the GCS now define htmldir.
34         (Auxiliary Programs): Mention config-ml.in and symlink-tree.
35         Give a URL for texinfo.tex.
36         (Public macros): Sort alphabetically, and move obsolete macros...
37         (Obsolete macros): ... here.
38         Prompted by Karl Berry.
39
40 2005-03-29  Alexandre Duret-Lutz  <adl@gnu.org>
41
42         * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
43         Jim Meyering.
44
45         * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
46         rule is run with `make -j'.
47         * doc/automake.texi (Multiple Outputs): Adjust.
48         * tests/lisp6.test: Augment it.
49         * tests/lisp8.test: New file.
50         * tests/Makefile.am (TESTS): Add lisp8.test.
51         Suggested by Bruno Haible.
52
53 2005-03-27  Alexandre Duret-Lutz  <adl@gnu.org>
54
55         * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
56
57 2005-03-16  Alexandre Duret-Lutz  <adl@gnu.org>
58
59         * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
60         a missing *.elc file if it cannot be created because emacs does
61         not exist.
62         * tests/lisp7.test: New file.
63         * tests/Makefile.am (TESTS): Add lisp7.test.
64         Report from Greg Schafer.
65
66 2005-03-05  Alexandre Duret-Lutz  <adl@gnu.org>
67
68         * doc/automake.texi: Replace wicked whiches by thats.
69
70 2005-03-04  Alexandre Duret-Lutz  <adl@gnu.org>
71
72         * aclocal.in (scan_configure_dep, scan_file): Include file names
73         are relative to the directory of configure.ac, not to the
74         directory of the file doing the include.  Remove code for this
75         latter case.
76         * tests/acloca13.test: Run distcheck and make sure all macros are
77         actually distributed.
78
79 2005-03-03  Alexandre Duret-Lutz  <adl@gnu.org>
80
81         For PR automake/450:
82         * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
83         files.
84         * automake.in (scan_autoconf_traces): Likewise.
85         * tests/sinclude.test: Augment.
86         Report from Peter Breitenlohner.
87
88         For PR automake/450:
89         * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
90         acinclude.m4 and configure.ac to the include map in these two
91         places ...
92         (strip_redundant_includes): ... do it here.  This completes the
93         previous change from 2005-03-01, that did not update
94         write_aclocal.
95         * tests/acloca19.test: Augment.
96         Report from Peter Breitenlohner.
97
98 2005-03-02  Alexandre Duret-Lutz  <adl@gnu.org>
99
100         * tests/comment9.test: Typo.
101
102 2005-03-01  Alexandre Duret-Lutz  <adl@gnu.org>
103
104         * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
105         * tests/comment9.test: New file.
106         * tests/Makefile.am (TESTS): Add comment9.test.
107         Report from Julien Sopena.
108
109         For PR automake/450:
110         * aclocal.in (trace_used_macros): Do not explicitly trace files
111         included by configure.ac.
112         * tests/acloca19.test: New file.
113         * tests/Makefile.am (TESTS): Add acloca19.test.
114         Report from Peter Breitenlohner.
115
116 2005-02-27  Alexandre Duret-Lutz  <adl@gnu.org>
117
118         Fix for PR automake/448:
119         * automake.in (handle_factored_dependencies): Flag install-hook as
120         an error.
121         * tests/insthook.test: Exercise this.
122
123         * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
124         * doc/automake.texi (Hard-Coded Install Paths): Adjust.
125
126         * doc/automake.texi: Replace many uses of @samp by @code, and
127         vice versa.  Use @command, @option, and @env where appropriate.
128
129 2005-02-26  Alexandre Duret-Lutz  <adl@gnu.org>
130
131         * doc/automake.texi: "filename" -> "file name", for consistency
132         with GNU Coding Standards.  See also Paul's change on 2004-08-20
133         in Autoconf.
134
135         * doc/automake.texi (A Library, Libtool Libraries): Show how to link
136         a program with a static or libtool library.
137         (Program and Library Variables): Make clearer that _LDADD and
138         _LIBADD may also list libraries.
139         Prompted by a mail from Bruce Korb.
140
141         * doc/automake.texi (Alternative): Show how to rewrite nobase_
142         variables using custom directory variables, and link to node
143         Uniform.  Suggested by Leonardo Boiko.
144
145         * doc/automake.texi (Flag Variables Ordering, User Variables):
146         Make clearer who the maintainer is, and that he can AC_SUBST AM_
147         variables in configure.ac.  Suggested by Norman Gray.
148         (Uniform, Public macros, Libtool Issues, Java Support,
149         Conditionals): Use `---' for em dash, and stick them to the
150         enclosing text.
151
152         * doc/automake.texi: Reword a few sentences to fix all underflow
153         and overflow warnings during `make dvi'.
154         (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
155         (Public macros) <AM_WITH_DMALLOC>: Likewise.
156
157 2005-02-12  Alexandre Duret-Lutz  <adl@gnu.org>
158
159         * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
160         lib/texinfo.tex: New upstream versions.
161
162         * doc/automake.texi (Hard-Coded Install Paths): New node.
163         (Extending, Extending aclocal, Python): Link to it.
164         (Extending): Don't show how to install a file in /etc/ directly,
165         this is insane.
166
167         * automake.in (read_am_file): Define variables containing long
168         lines as VAR_PRETTY to work around tools with limited input width.
169         * tests/longlin2.test: New file.
170         * tests/Makefile.am (TESTS): Add it.
171         Report from Albert Chin.
172
173 2005-02-09  Alexandre Duret-Lutz  <adl@gnu.org>
174
175         Fix for PR automake/447:
176         * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
177         Report from Mathias Doreille.  Add some old comments from
178         Nicolas Joly for reference.
179
180 2005-02-08  Stepan Kasal  <kasal@ucw.cz>
181
182         * lib/mdate-sh: Check the size of the word following the month to
183         catch Darwin.  This way the filename can contain spaces.
184
185         * doc/automake.texi (Requirements, Options): Typos.
186
187 2005-02-08  Alexandre Duret-Lutz  <adl@gnu.org>
188
189         * lib/missing (makeinfo): Compute the output file if neither -o
190         nor @setfilename is used.
191         Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
192
193 2005-02-07  Alexandre Duret-Lutz  <adl@gnu.org>
194
195         * doc/automake.texi (Requirements): Show one example of
196         AC_CONFIG_FILES with multiple outputs, and correct a few typos.
197
198         * aclocal.in ($serial_line_rx): Expect at least one space between
199         `serial' and the following number.
200         Report from Jim Meyering.
201
202         * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
203         Report from Peter O'Gorman.
204
205 2005-02-06  Alexandre Duret-Lutz  <adl@gnu.org>
206
207         * aclocal.in (usage, parse_arguments): New --dry-run and --diff
208         options.
209         (install_file, write_aclocal): Honor --dry-run and --diff.
210         * doc/automake.texi (aclocal options): Document --dry-run and --diff.
211         (Serials): Mention --diff.
212         * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
213         $expected_exit_code argument.
214         (xsystem): Take a list of arguments, not a string.
215         * tests/acloca18.test: Use --dry-run and --diff.
216         Suggested by Paul Eggert.
217
218         * doc/automake.texi (aclocal options, Macro search path,
219         Extending aclocal, Local Macros, Serials, Future of aclocal): Make
220         these subsection of ...
221         (Invoking aclocal): ... this.
222
223         * aclocal.in ($serial_line_rx): Allow trailing garbage after the
224         serial number.
225         (scan_file): Explicitly mark the "ill-formed serial" message
226         as a warning.
227         * doc/automake.texi (aclocal options, Local Macros): Link to...
228         (Serials): ... this new section.
229
230 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
231
232         * lib/compile: Likewise.
233
234 2005-02-02  Alexandre Duret-Lutz  <adl@gnu.org>
235
236         * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
237         see 2004-12-17.
238         * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
239         status if a write failure occurs with --help or --version option,
240         as below.
241
242 2005-02-02  Paul Eggert  <eggert@cs.ucla.edu>
243
244         * lib/depcomp: Exit with nonzero status if a write failure occurs
245         with --help or --version option.
246         * lib/elisp-comp: Likewise.
247         * lib/gnupload: Likewise.
248         * lib/install-sh: Likewise.
249         * lib/missing: Likewise.
250         * lib/mkinstalldirs: Likewise.
251
252 2005-02-01  Alexandre Duret-Lutz  <adl@gnu.org>
253
254         * doc/automake.texi (aclocal options): Typo.
255
256         * aclocal.in (list_compare): New functions.
257         (scan_file): Honor #serial lines.
258         * tests/acloca18.test: New test.
259         * tests/Makefile.am (TESTS): Add it.
260         * doc/automake.texi (aclocal options, Local Macros): Document
261         #serial.
262
263 2005-01-30  Alexandre Duret-Lutz  <adl@gnu.org>
264
265         Preliminary support for `aclocal --install'.
266         This still lacks #serial support.
267         * aclocal.in (reset_maps, install_file): New functions.
268         (write_aclocal): Copy files if --install.
269         (usage, parse_arguments): Recognize --install.
270         ("MAIN"): Start aclocal again if some file were installed.
271         * tests/acloca10.test: Augment to test --install.
272         * tests/aclocal.in, tests/defs.in: Add support for
273         ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
274         * doc/automake.texi (aclocal options, Local Macros): Document
275         --install.
276         (Future of aclocal): Adjust.
277
278         * doc/automake.texi (Macro search path): Using --acdir is not
279         obvious, it's erroneous.
280
281         * doc/automake.texi (direntry): Let `info Automake' point to the
282         manual, and `info automake' to the `Invoking automake' node.  Like
283         in Autoconf.
284
285 2005-01-27  Akim Demaille  <akim@epita.fr>
286
287         * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
288         From Paul Eggert.
289
290 2005-01-24  Akim Demaille  <akim@epita.fr>
291
292         * lib/Automake/FileUtils.pm: Rename filename as file_name to be
293         consistent with the terminology of the GNU coding standards.
294         From Paul Eggert.
295         (update_file): Accept a $force argument, so that --force always
296         updates the time stamps.
297
298 2005-01-23  Alexandre Duret-Lutz  <adl@gnu.org>
299
300         * doc/automake.texi (How the Linker is Chosen): Explain how the
301         linker is chosen without diagram, and update to match the code.
302         Suggestion from Adrian Bunk.
303
304 2005-01-16  Alexandre Duret-Lutz  <adl@gnu.org>
305
306         * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
307         Process all words of $MAKEFLAGS when checking for -k.
308         * tests/check4.test: New file.
309         * tests/Makefile.am (TESTS): Add check4.test.
310         Report from Eric Blake.
311
312 2005-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
313
314         * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
315         AM_INIT_AUTOMAKE if the version passed is incorrect.
316         * tests/version8.test: New file.
317         * tests/Makefile.am (TESTS): Add version8.test.
318
319 2005-01-09  Alexandre Duret-Lutz  <adl@gnu.org>
320
321         * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
322         m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
323         m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
324         m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
325         m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
326         m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
327         m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
328         m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
329         license that is used in aclocal.m4.  Relicensing backed by RMS.
330
331         * doc/automake.texi (A Library, LIBOBJS): Mention that empty
332         libraries are not portable.
333
334 2005-01-05  Akim Demaille  <akim@epita.fr>
335
336         * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
337         * tests/aclocal5.test (MORE_DEFS): Rename as...
338         (AM_TEST): this so that undefined macros are caught.
339         And make it an alias of AC_SUBST.
340         Test AU_ALIAS.
341         Reported by Martin Bravenboer.
342
343 2005-01-03  Alexandre Duret-Lutz  <adl@gnu.org>
344
345         Fix handling of per-target flags in link rules.
346         * automake.in (define_per_target_linker_variable): New function.
347         (handle_programs, handle_ltlibraries): Use it.
348         (%link_languages): New map.
349         (register_language): Fill it.
350         * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
351         $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
352         define_per_target_linker_variable if needed.
353         * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
354         $(%XPROGRAM%_LDFLAGS).
355         * doc/automake.texi (Program and Library Variables): Mention
356         AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
357         and maude_LIBTOOLFLAGS.
358         * tests/libtool9.test: New file.
359         * tests/Makefile.am (TESTS): Add it.
360         * NEWS: Explain the backward incompatibility.
361         Report from Akim Demaille.
362
363 2005-01-01  Alexandre Duret-Lutz  <adl@gnu.org>
364
365         * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
366         specifications with shell variables.
367         (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
368         AC_CONFIG_FILES for this explanation.
369         * automake.in (substitute_ac_subst_variables_worker,
370         substitute_ac_subst_variables): Mew functions.
371         (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
372         to ignore dependencies that contain unAC_SUBSTed shell variables.
373         (handle_configure): Likewise, do not output rules for
374         AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
375         unAC_SUBSTed contain shell variables.
376         * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
377         * tests/output11.test, tests/output12.test: New files.
378         * tests/Makefile.am (TESTS): Add output11.test and output12.test.
379
380         * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
381         * automake.in ($gen_copyright, version): Likewise.
382
383 2004-12-31  Alexandre Duret-Lutz  <adl@gnu.org>
384
385         * tests/man2.test, tests/transform.test: Specify --mandir, in order
386         not to fail when Autoconf changes its $mandir default.
387
388 2004-12-30  Alexandre Duret-Lutz  <adl@gnu.org>
389
390         Support for `install-dvi', `install-html', `install-ps', and
391         `install-pdf', as recently introduced into the GNU Coding
392         Standard.
393
394         * automake.in (handle_factored_dependencies): Reject
395         uninstall-dvi-local, uninstall-html-local, uninstall-info-local,
396         uninstall-ps-local, and uninstall-pdf-local.  Allow
397         install-info-local even when no-installinfo is not used.
398         (handle_data): Allow datarootdir, dvidir, htmldir, pdfdir, and psdir.
399         (%standard_prefix): Declare these new standard directory variables.
400         * doc/automake.texi (Texinfo, Third-Party Makefiles): Document
401         install-dvi, install-html, install-pdf, and install-ps.
402         (Extending): Document install-local-dvi, install-local-html,
403         install-local-info, install-local-pdf, and install-local-ps.
404         * lib/Automake/Rule.pm (%dependencies): Add new install rules,
405         and remove uninstall-info.
406         * /cvs/automake/automake/lib/am/texinfos.am (install-dvi,
407         install-dvi-am, install-dvi-recursive, install-html,
408         install-html-am, install-html-recursive, install-pdf,
409         install-pdf-am, install-pdf-recursive, install-ps, install-ps-am,
410         install-ps-recursive, uninstall-dvi-am, uninstall-html-am,
411         uninstall-pdf-am, uninstall-ps-am): New rules.
412         (uninstall-info): Delete.
413         * tests/txinfo21.test: Augment to check for these new rules.
414         * tests/exdir2.test: Do not use `htmldir' as example of
415         undefined directory.
416         * tests/overrid.test: Do not be fooled by install-ps and
417         install-html.
418         * tests/txinfo10.test: Do not grep for uninstall-info-recursive.
419
420 2004-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
421
422         * automake.in (Preprocessed Fortran): Fix the definition of FCLINK.
423
424         * Makefile.am (maintainer-check): Refine check for @_ in scalar
425         context.  Check for correct use of PRE_INSTALL, NORMAL_INSTALL,
426         POST_INSTALL, PRE_UNINSTALL, NORMAL_UNINSTALL, and POST_UNINSTALL.
427         * lib/am/texinfos.am (uninstall-info-am): Hide the invocation of
428         $(PRE_UNINSTALL).
429
430 2004-12-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
431
432         * lib/am/texinfos.am (uninstall-info-am): Show change of
433         directory while uninstalling DJGPP-style info files.
434
435 2004-12-27  Alexandre Duret-Lutz  <adl@gnu.org>
436
437         Declare recursive install targets as dependencies of `.MAKE', so
438         that `make -n install' works with BSD Make too.
439
440         * lib/Automake/Rule.pm (reset) <%dependencies>: Add `.MAKE'.
441         * automake.in (target_cmp): Move all `.XYZ' target last, not
442         only `.PHONY'.
443         (handle_factored_dependencies): Add target with hooks to `.MAKE'.
444         Do not let a user definition of .MAKE override ours.
445         * lib/am/install.am (install-am, install-strip): Mark as `.MAKE'.
446         * lib/am/multilib.am (all-multi, install-multi, mostlyclean-multi,
447         clean-multi, distclean-multi, maintainer-clean-multi): Likewise.
448         * lib/am/subdirs.am (mostlyclean-recursive, clean-recursive,
449         distclean-recursive, maintainer-clean-recursive): Likewise.
450
451 2004-12-18  Alexandre Duret-Lutz  <adl@gnu.org>
452
453         * lib/config-ml.in, lib/config.guess, lib/config.sub,
454         lib/texinfo.tex: New upstream versions.
455
456         * doc/automake.texi (gettext): Move the paragraph about
457         dist_list_LISP...
458         (Emacs Lisp): ... here.
459         Report from Bruno Haible.
460
461         * doc/automake.texi: Bump GFDL version to 1.2, since that is
462         what we distribute.
463
464         * doc/automake.texi: Fix more misuses of @ref, @xref and @pxref,
465         including some of the "corrections" below.  Thanks to Karl Berry.
466
467         * doc/automake.texi: Correct several misuses of @xref and @pxref.
468
469 2004-12-17  Jim Meyering  <jim@meyering.net>
470
471         * install-sh: Use `(exit N); exit N', not `(exit N); exit'.
472         Otherwise, install-sh could exit with improper exit status when
473         exiting via a trapped interrupt.  Thanks to a report from Bob Proulx.
474
475 2004-12-14  Akim Demaille  <akim@epita.fr>
476
477         * doc/automake.texi (Options): Englishoes.
478         (Options): And another.
479
480 2004-12-13  Alexandre Duret-Lutz  <adl@gnu.org>
481
482         * ChangeLog.03: New file, extracted from ChangeLog.
483         * Makefile.am (EXTRA_DIST): Add it.
484
485 2004-12-12  Alexandre Duret-Lutz  <adl@gnu.org>
486
487         * automake.in (check_user_variables): New function, extracted
488         from ...
489         (handle_languages): ... here.
490         (handle_languages, define_compiler_variable, define_link_variable):
491         Honore LIBTOOLFLAGS.
492         (handle_single_transform): Check _LIBTOOLFLAGS in
493         addition to other per-target flags for Libtool objects.
494         (handle_libtool): Warn if LIBTOOLFLAGS is defined.
495         * doc/automake.texi (Libtool Flags, Program and Library Variables,
496         Flag Variables Ordering): Document LIBTOOLFLAGS.
497         * tests/libtool7.test: Check basic support for LIBTOOLFLAGS.
498         * tests/libtool8.test: Make sure Automake warns about LIBTOOLFLAGS
499         definitions.
500         * tests/subobj9.test: Adjust.
501
502 2004-12-11  Alexandre Duret-Lutz  <adl@gnu.org>
503
504         * doc/automake.texi (Per-Object Flags): New node.
505
506 2004-12-09  Alexandre Duret-Lutz  <adl@gnu.org>
507
508         Fix PR automake/441:
509         * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Do
510         not install *.class if "$(%DIR%_JAVA)" is empty.
511         * tests/java3.test: New file.
512         * tests/Makefile.am (TESTS): Add it.
513         Report from Johannes Nicolai.
514
515         * doc/automake.texi (Java): Mention dist_ and add an example.
516         * tests/java.test: Do actually compile java files and run distcheck.
517
518 2004-12-08  Peter O'Gorman  <peter@pogma.com>
519             Alexandre Duret-Lutz  <adl@gnu.org>
520
521         * lib/Automake/FileUtils.pm (dir_has_case_matching_file,
522         reset_dir_cache): New functions.
523         * automake.in (handle_dist, require_file_internal): Use them, so
524         that CHANGELOG is not confused with ChangeLog on case-insensitive
525         case-preserving file systems.
526         * tests/hfs.test: New file.
527         * tests/Makefile.am (TESTS): Add hfs.test.
528
529 2004-12-08  Paul Eggert  <eggert@cs.ucla.edu>
530
531         * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
532         the spaces inside $ls_command.  Problem reported by Loulou Pouchet in
533         <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
534         Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
535
536 2004-12-05  Toshio Kuratomi  <toshio@tiki-lounge.com>
537
538         * lib/py-compile: Add --destdir switch to py-compile that takes a
539         path argument that is not compiled into the file when byte compiling.
540         * lib/am/python.am: Use the new py-compile arguments to not include
541         DESTDIR in the byte compiled files.
542         * tests/python12.test: Test that DESTDIR won't be byte compiled into
543         python files.
544
545 2004-12-05  Alexandre Duret-Lutz  <adl@gnu.org>
546
547         * doc/automake.texi (Clean): Typo.
548
549         * doc/automake.texi: Use @acindex for Autoconf macros, and @vindex
550         for variables (@cvindex was previously used for both).  Separate
551         these two indices in the output.  Use @code, @file, and @command
552         in @cindex lines wherever appropriate so they render nicely.
553
554 2004-12-05  Stepan Kasal  <kasal@ucw.cz>
555
556         * doc/automake.texi (renamed objects, CVS): Typos.
557
558 2004-12-05  Alexandre Duret-Lutz  <adl@gnu.org>
559
560         * doc/automake.texi (Flag Variables Ordering): New section.
561         (User Variables, Program and Library Variables): @xref it.
562
563 2004-11-24  Alexandre Duret-Lutz  <adl@gnu.org>
564
565         * doc/automake.texi (Conditional Subdirectories): More comments
566         about non-distributed subdirectories.
567
568         * Makefile.am (maintainer-clean): Check for unescaped @ in manual.
569
570 2004-11-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
571
572         * doc/automake.texi (Built sources example): Fix typo.
573
574 2004-11-22  Alexandre Duret-Lutz  <adl@gnu.org>
575
576         * aclocal.in (parse_arguments): Diagnose abbreviation ambiguous with
577         --help or --version.
578         * automake.in (parse_arguments): Likewise.
579         * tests/aclocal.test, tests/automake.test: Check this.
580         Report from Eric Blake.
581
582 2004-11-21  Alexandre Duret-Lutz  <adl@gnu.org>
583
584         * automake.in (parse_arguments): Diagnose empty arguments, options
585         with missing argument, and support `--'.
586         * aclocal.in (parse_arguments): Diagnose options with missing
587         argument.
588         * tests/aclocal.test: More checks.
589         * tests/automake.test: New file.
590         * tests/postprog.test: Use `--' for fun.
591         * tests/Makefile.am (TESTS): Add automake.test.
592         Report from Eric Blake.
593
594         * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Run programs with
595         /dev/null as input, so we do not hang on programs that read their
596         input without supporting --help and --version.
597         * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise for scripts.
598         * tests/gnits2.test: Change scriptnok.sh to cat its input.
599         Report and fix from James Youngman.
600
601 2004-11-17  Alexandre Duret-Lutz  <adl@gnu.org>
602
603         * aclocal.in (%file_seen): Rename as ...
604         (%file_added): ... this, and move it close to add_file(), the only
605         function that uses it.
606
607         * aclocal.in (version): Remove initial blank line and reproduce
608         the layout of automake --version.  From Art Haas.
609
610         * aclocal.in (%file_type, FT_USER, FT_AUTOMAKE_SYSTEM): New variables.
611         (scan_m4_dirs): New function, extracted from ...
612         (scan_m4_files): ... here.  Call scan_m4_files three times, for each
613         FT_ constant.
614         (scan_file): Take a file type argument to update %file_type.
615         (write_aclocal): Do not m4_include files that are not of type FT_USER.
616         * tests/dirlist.test: Make sure m4_include is not used for --acdir
617         files.
618
619         * tests/defs.in (testaclocaldir): New variable.
620         * tests/aclocal.test: Use it to fix the test.  Report from
621         Patrick Welche.
622
623 2004-11-10  Alexandre Duret-Lutz  <adl@gnu.org>
624
625         * m4/python.m4 (AM_PATH_PYTHON): Fix the invocation of
626         AC_PATH_PROGS to correctly define PYTHON as `:' when no interpreter
627         is found (this worked correctly only when a minimal version was
628         passed to AM_PATH_PYTHON).  Report from Stepan Kasal.
629         (_AM_PYTHON_INTERPRETER_LIST): Define using m4_define_default,
630         so we can easily override the list from the test suite.
631         * tests/python11.test: New file.
632         * tests/Makefile.am (TESTS): Add python11.test.
633
634         * doc/automake.texi (Libtool Modules): Make clearer that -module
635         should appear explicitly in _LDFLAGS.
636
637 2004-11-09  Alexandre Duret-Lutz  <adl@gnu.org>
638
639         * aclocal.in (parse_arguments): Correctly recognize --print-ac-dir.
640         * tests/aclocal.test: Check --print-ac-dir and a unknown option.
641
642         * aclocal.in (parse_arguments): Fix detection of unexisting default
643         $(datadir)/aclocal.  Report from Akim.
644
645 2004-11-07  Alexandre Duret-Lutz  <adl@gnu.org>
646
647         * aclocal.in ($acdir): Rename as ...
648         (@system_includes): ... this.
649         (@user_includes, @automake_includes): New variables.
650         ($default_acdir, $default_dirlist): Remove.
651         (parse_arguments): Populate @user_includes, @automake_includes, and
652         @system_includes instead of filling a unique @dirlist array.
653         ("MAIN"): Adjust to scan m4 files in @user_includes,
654         @automake_includes, and @system_includes.
655
656 2004-11-06  Alexandre Duret-Lutz  <adl@gnu.org>
657
658         * aclocal.in (parse_arguments): Correct comment.  From Akim.
659
660 2004-11-04  Alexandre Duret-Lutz  <adl@gnu.org>
661
662         * aclocal.in: Use Automake::ChannelDefs, and adjust all output
663         to be done via `fatal', `msg', `verb', or `prog_error'.
664         (version): New function.
665         (parse_arguments): Rewrite using Getopt::Long, call &version, and
666         honor -W and --warning.
667         ($verbose): Remove.
668         (trace_used_macros): Do not trace the first arguments of macros
669         for which we do not need it.  This caused failures because of
670         unexpected newlines in the output.
671         * doc/automake.texi (aclocal options): Document -W and --warning.
672         * tests/defs.in (ACLOCAL): Always use -Werror, to catch Perl
673         warnings about uninitialized variables.
674
675 2004-11-03  Alexandre Duret-Lutz  <adl@gnu.org>
676
677         * tests/defs.in: Do not distinguish VERBOSE=x from
678         VERBOSE=anything_but_x, always turn on shell traces.
679
680         * aclocal.in (write_aclocal): Make sure $map_traced_defs{$m} exists
681         before using it.  Suppress a warning observable in test/acloca16.test.
682         Report from Ralf Wildenhues.
683
684 2004-11-01  Alexandre Duret-Lutz  <adl@gnu.org>
685
686         * lib/Automake/XFile.pm (lock): Make sure $ENV{'MAKEFLAGS'} exists
687         before inspecting it; this fixes "uninitialized value in
688         concatenation" diagnostics when flock fails.
689         Report from Gary V. Vaughan.
690
691         * aclocal.in: Use strict and -w.  Declare local variables with `my',
692         and get rid of `local'.
693         (scan_m4_files, add_macro): Reindent these functions while we are
694         at it.
695
696         * lib/config.guess, lib/texinfo.tex: New upstream versions.
697
698         * doc/automake.texi (LIBOBJS): Spelling and grammar corrections
699         from Ralf Wildenhues.
700
701 2004-10-31  Alexandre Duret-Lutz  <adl@gnu.org>
702
703         * doc/automake.texi (LIBOBJS): Augment with an example setup.
704         (LTLIBOBJ): Rename as ...
705         (LTLIBOBJS): ... this.  Link to LIBOBJS, and mention LTALLOCA.
706
707 2004-10-25  Alexandre Duret-Lutz  <adl@gnu.org>
708
709         * doc/automake.texi: Untabify, tabs in the examples are poorly
710         rendered.
711         * Makefile.am (maintainer-check): Grep tabs in the manual.
712
713         * tests/comment8.test: Use $MAKE, not make.
714
715 2004-10-24  Alexandre Duret-Lutz  <adl@gnu.org>
716
717         * tests/distcom3.test: Typo.
718
719 2004-10-22  Alexandre Duret-Lutz  <adl@gnu.org>
720
721         * doc/automake.texi (Libtool Convenience Libraries): Explain how
722         to force the linker selection.
723
724         * lib/install-sh: Fix the dirname emulation to ignore trailing
725         slashes, i.e., the direname of `a/b/' is `a', not `a/b/'.  This
726         caused `install-sh a/b/' to fail.
727         * tests/instsh2.test: Augment.
728         Report from Пухальский Юрий Андреевич.
729
730 2004-10-21  Alexandre Duret-Lutz  <adl@gnu.org>
731
732         * automake.in (get_object_extension): The extension to use is know
733         by the caller, and cannot be selected by looking only at the
734         target name.  Simplify this function to simply conditionally
735         prepend $U to the given extension.
736         (handle_programs, handle_libraries, handle_ltlibraries): Hard-code
737         the extension to use.  This way Automake won't mistake a program
738         named `foo.la' as a libtool library.
739         * tests/primary3.test: New file.
740         * tests/Makefile.am (TESTS): Add primary3.test.
741
742 2004-10-12  Alexandre Duret-Lutz  <adl@gnu.org>
743
744         * doc/automake.texi (Install): Link to node Extending for examples.
745         (Extending): More comments about install-data-hook vs
746         install-exec-hook, and link to Install.
747
748         * configure.ac: Export @am_AUTOCONF@.
749         * tests/defs.in (AUTOCONF): Define as @am_AUTOCONF@, not @AUTOCONF@,
750         so the test suite runs `autoconf' and not `missing --run autoconf'.
751         * tests/missing.test, tests/missing2.test: Arrange for missing
752         to be used in front of autoconf even if the user has exported
753         AUTOCONF.  This fixes two spurious failures reported by
754         Mark D. Baushke.
755
756         * lib/compile: Handle output.obj in addition to output.o.
757         * tests/compile.test: Check for this.
758
759 2004-10-11  Alexandre Duret-Lutz  <adl@gnu.org>
760
761         * doc/automake.texi (Sources): Typo, reported by Karl Berry.
762
763 2004-10-10  Kelley Cook  <kcook@gcc.gnu.org>  (tiny change)
764             Alexandre Duret-Lutz  <adl@gnu.org>
765
766         * aclocal.in ($ac_defun_rx): Match AC_DEFUN_ONCE.
767         (trace_used_macros): Trace AC_DEFUN_ONCE.
768         * tests/aclocal5.test: Use AC_DEFUN_ONCE.
769
770 2004-10-10  Stepan Kasal  <kasal@ucw.cz>  (tiny change)
771
772         * doc/automake.texi (Extending): Typo.
773
774 2004-10-10  Martin Waitz  <tali@admingilde.org>  (tiny change)
775
776         * m4/as.m4 (AM_PROG_AS): Check dependency tracking mode for CCAS.
777         * automake.in (cppasm): Use the dependency tracking more for CCAS.
778         * doc/automake.texi (Assembly Support): Note that *.S are
779         preprocessed with CPPFLAGS.
780
781 2004-10-10  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
782
783         * automake.in (Languages): Split .s (asm) and .S (cppasm) into
784         separate languages.  Make cppasm (Preprocessed Assembler) aware
785         of CPPFLAGS, AM_CPPFLAGS.
786         (handle_languages): Fix typo.
787         (lang_cppasm_rewrite): New function.
788
789 2004-09-29  Alexandre Duret-Lutz  <adl@gnu.org>
790
791         * tests/subobj9.test: Adjust regexes after previous patch.
792
793 2004-09-28  Alexandre Duret-Lutz  <adl@gnu.org>
794
795         * automake.in (handle_languages, define_compiler_variable): Output
796         Libtool's --tag= option before --mode=compile, because depcomp use
797         --mode=compile as end marker for libtool arguments.
798         (define_linker_variable): Likewise before --mode=link, for
799         uniformity.
800         * tests/pr307.test: Make sure dependency files are updated.  That
801         was not the case because depcomp thought `--tag=CC' was the
802         compiler to get dependencies from.
803         Report from Пухальский Юрий Андреевич.
804
805 2004-09-26  Alexandre Duret-Lutz  <adl@gnu.org>
806
807         * configure.ac: Require Perl 5.6.
808         * lib/Automake/Config.in: Require Perl 5.6 (not done in
809         lib/Automake/General.pm because it is shared with Autoconf),
810         and use `our' instead of `use vars'.
811         * aclocal.in (rel2abs): Remove.
812         (scan_configure_dep): Use File::Spec->rel2abs instead.
813
814         * tests/compile.test, tests/instsh2.test, tests/instspc.test: Use
815         two consecutive spaces in filename instead of one, to catch mistake
816         like `echo $val | ...`.
817         * tests/README: Suggest this.
818         Suggested by Ralf Wildenhues.
819
820 2004-09-25  Alexandre Duret-Lutz  <adl@gnu.org>
821
822         * doc/automake.texi (Clean): Document -local targets.
823
824 2004-09-25  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
825
826         * doc/automake.texi: Typos.
827
828 2004-09-21  Alexandre Duret-Lutz  <adl@gnu.org>
829
830         * doc/automake.texi (Timeline): Typos and other English mistakes
831         reported by Jim and Gary.
832
833         * lib/Automake/VarDef.pm (append): Strip comments from augmented
834         variables.
835         * tests/comment8.test: New file.
836         * tests/Makefile.am (TESTS): Add comment8.test.
837         Report from Stepan Kasal.
838
839 2004-09-19  Alexandre Duret-Lutz  <adl@gnu.org>
840
841         * tests/compile.test: Fix rm usage.
842
843         * INSTALL, lib/INSTALL, lib/config.sub, lib/config.guess,
844         lib/texinfo.tex: New upstream versions.
845
846         * doc/automake.texi (Timeline): New node.  Thanks to Karl and Tom
847         for their comments on a preliminary version of this, Akim for
848         digging out some old mails, and Jason Molenda for sending the note
849         about Automake in Alias to Tom.
850         (Releases): Rename `ac' to `acl', suggested by Akim.
851
852 2004-09-19  Akim Demaille  <akim@epita.fr>
853
854         * AUTHORS, automake.in, aclocal.in: Add Alexandre Duret-Lutz as
855         author.
856
857 2004-09-15  Alexandre Duret-Lutz  <adl@gnu.org>
858
859         * doc/automake.texi (Releases): New node.
860
861         * doc/automake.texi (Dependencies): Link to Dependency Tracking
862         Evolution.
863         (Dependency Tracking Evolution): Link to GNU make, Sources (for
864         BUILT_SOURCES), and update the paragraph about the "plan" to
865         inline dependency tracking with gcc3.
866
867         * doc/automake.texi (History): New node.
868         (Dependency Tracking Evolution): New node, filled with a Texinfo
869         version of Tom Tromey's ``Dependency Tracking in Automake''
870         document, initially published on the Automake homepage on
871         2001-06-29.
872
873 2004-09-10  Alexandre Duret-Lutz  <adl@gnu.org>
874
875         * m4/minuso.m4 (AM_PROG_CC_C_O): Make sure AC_PROG_CC is never
876         called after this macro.
877         * tests/distname.test, tests/subdir5.test, tests/subdir8.test,
878         tests/subobj.test, tests/subobj4.test, tests/subobj5.test,
879         tests/subobj6.test: Adjust.
880         Report from Ralf Wildenhues.
881
882         * lib/Automake/Channels.pm (_print_message): Handle uniq_part with
883         arbitrary string.
884         * automake.in (lang_c_rewrite): Set uniq_part so that the
885         AM_PROG_CC_C_O diagnostic is output only once for subdir objects
886         and only once for objects with per-target flags.
887
888         * automake.in (lang_c_rewrite): Print files and locations
889         for AM_PROG_CC_C_O errors.
890         (handle_single_transform): Pass $var to &$subr so it can
891         print locations.
892
893         * lib/compile, lib/elisp-comp, lib/install-sh, lib/ylwrap: Use $ret
894         instead of $status which is read-only in Zsh.
895
896 2004-09-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
897             Alexandre Duret-Lutz  <adl@gnu.org>
898
899         * lib/compile: Preserve spaces in arguments (for example
900         -DPACKAGE_STRING="foo 0.1").
901         * tests/compile.test: New file.
902         * tests/Makefile.am (TESTS): Add compile.test.
903
904 2004-09-07  Alexandre Duret-Lutz  <adl@gnu.org>
905
906         * automake.in (handle_clean): Sort rm commands output for
907         mostlyclean-generic, clean-generic, distclean-generic, and
908         maintainer-clean-generic.
909         Report from Bob Friesenhahn.
910
911         * automake.in (lang_c_rewrite): Do not require AM_PROG_CC_C_O for
912         libtool objects.
913         (handle_single_transform): Pass nonansi_obj to &$subr so
914         lang_c_rewrite can distinguish libtool objects.
915         * tests/libtool7.test: Use subdir-objects without using AM_PROG_CC_C_O.
916         Report from Gary V. Vaughan and Patrick Welche.
917
918 2004-09-07  Andreas Schwab  <schwab@suse.de>
919
920         * automake.in ($PATH_PATTERN): Add `+'.
921
922 2004-09-07  Alexandre Duret-Lutz  <adl@gnu.org>
923
924         * tests/missing3.test: New file (check for Paolo's change below).
925         * tests/Makefile.am (TESTS): Add missing3.test.
926
927 2004-09-07  Paolo Bonzini  <bonzini@gnu.org>
928
929         * missing: Handle all command line options together.  Add a
930         separate case statement to detect failed runs, and fail
931         silently there if --help or --version is passed to the program.
932
933 2004-08-11  Alexandre Duret-Lutz  <adl@gnu.org>
934
935         * lib/config.guess, lib/texinfo.tex: New upstream versions.
936
937         For PR automake/433:
938         * configure.ac (pkgvdatadir): Define using "$PACKAGE", not "automake".
939
940         Fix PR automake/432:
941         * lib/am/yacc.am [!%?MORE-THAN-ONE%]: Replace `#line's in y.tab.h too.
942         * tests/yacc7.test: Check this.
943
944 2004-08-08  Alexandre Duret-Lutz  <adl@gnu.org>
945
946         * lib/Automake/DisjConditions.pm (new): Precompute 'string' and 'conds'
947         in place instead of as a side-effect of calling ->string and ->conds.
948         This saves method-lookup time, simplify ->string and ->conds, and
949         allows to create the object only when necessary.
950         (string, conds): Simplify, now that the result is precomputed.
951
952         * automake.in (%am_file_cache): New hash.
953         (make_paragraphs): Cache .am files with comments stripped to save
954         some useless input and substitutions.
955
956         * lib/Automake/Variable.pm (%_primary_dict): New hash.
957         (_new, variable_delete): Update %_primary_dict.
958         (variables): Accept an optional $suffix argument.
959         * automake.in (check_typos, am_primary_prefixes): Use that
960         optional argument to restrict the loops over the variables we are
961         interested in.
962
963 2004-08-06  Alexandre Duret-Lutz  <adl@gnu.org>
964
965         * lib/Automake/Item.pm (def): Rewrite more concisely, it's faster
966         this way.
967
968 2004-08-05  Alexandre Duret-Lutz  <adl@gnu.org>
969
970         Speed up make_paragraphs.
971         * automake.in (handle_languages): Always define SUBDIROBJ,
972         DERIVED-EXT, and DIST_SOURCE, because the new transform() will
973         abort on unknown tokens.
974         (transform): Rewrite with different semantics.
975         (make_paragraphs): Make a single pass over the paragraph to
976         transform all template tokens instead of doing as much passes as
977         possible token.
978
979         * automake.in ($libtool_new_api): New variable.
980         (handle_libtool): Do not libtool's aux files if $libtool_new_api.
981         (scan_autoconf_traces) <LT_SUPPORTED_TAG>: Set $libtool_new_api.
982         (scan_autoconf_traces) <AC_REQUIRE_AUX_FILE>: Remember only the
983         first location for required files.
984
985 2004-08-04  Alexandre Duret-Lutz  <adl@gnu.org>
986
987         Support AC_REQUIRE_AUX_FILE, and fix requirement of AM_PROG_CC_C_O.
988         * automake.in (%required_aux_file): New hash.
989         (handle_single_transform, lang_c_rewrite): Do not explicitly
990         require 'compile', this is now an internal detail of
991         AM_PROG_CC_C_O.
992         (scan_autoconf_traces): Trace AC_REQUIRE_AUX_FILE and fill
993         %required_aux_file.
994         (scan_autoconf_files): Require all %required_aux_file instead
995         of explicitly requiring install-sh and missing.
996         (generate_makefile): Do not require config.sub and config.guess.
997         (handle_single_transform): Pass $have_per_exec_flags to
998         &lang_c_rewrite.
999         * configure.ac, m4/init.m4: Require Autoconf 2.59a.
1000         * doc/automake.texi (Optional): Document AC_REQUIRE_AUX_FILE.
1001         (Program and Library Variables, Options, Public macros):
1002         AM_PROG_CC_C_O is required when per-target flags or subdir-objects
1003         are used with C sources.
1004         * m4/minuso.m4: Require `compile' using AC_REQUIRE_AUX_FILE.
1005         * m4/missing.m4: Require `missing' similarly.
1006         * tests/acsubst2.test, tests/distcom2.test, tests/distcom6.test,
1007         tests/specflg.test, tests/specflg2.test, tests/specflg3.test,
1008         tests/specflg6.test, tests/specflg7.test, tests/specflg8.test,
1009         tests/specflg9.test, tests/subobj7.test, tests/target-cflags.test,
1010         tests/yacc6.test: Fix to use AM_PROG_CC_C_O.
1011
1012 2004-08-03  Alexandre Duret-Lutz  <adl@gnu.org>
1013
1014         * automake.in (yacc_lex_finish_helper): Fix definition of YLWRAP
1015         when ylwrap is installed in a default aux dir found in a parent
1016         package.
1017         * tests/subpkg.test: Augment to check that YLWRAP is installed
1018         properly.
1019         * doc/automake.texi (Yacc and Lex): ylwrap is not sought is the
1020         current directory.
1021         Report from Norman Gray.
1022
1023 2004-08-02  Alexandre Duret-Lutz  <adl@gnu.org>
1024
1025         * doc/automake.texi (Optional): Update documentation for
1026         AC_CANONICAL_BUILD, AC_CANONICAL_HOST, and AC_CANONICAL_TARGET.
1027
1028         * automake.in (AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM): Replace by ...
1029         (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET): ... these.
1030         (scan_autoconf_traces): Scan for the latter three macros instead of
1031         the former two.
1032         (make_paragraphs): Adjust definitions of %BUILD%, %HOST%, and %TARGET%.
1033         * tests/hosts.test: New file.
1034         * tests/Makefile.am (TESTS): Add hosts.test.
1035         Report and test case from Norman Gray.
1036
1037 2004-08-01  Alexandre Duret-Lutz  <adl@gnu.org>
1038
1039         * aclocal.in (scan_file): Update "#Extending%20aclocal" URL, makeinfo
1040         4.7 now outputs "#Extending-aclocal".
1041
1042 2004-08-01  Alexandre Duret-Lutz  <adl@gnu.org>
1043             Derek R. Price  <derek@ximbiot.com>
1044
1045         Disable Lex and Yacc rules whenever possible if AM_MAINTAINER_MODE
1046         is used and maintainer-mode disabled.
1047         * automake.in (Automake::struct): Define nodist_specific.
1048         Set it in languages yacc, yaccxx, lex, and lexxx.
1049         (register_language): Default nodist_specific to 0.
1050         (handle_single_transform): Honor nodist_specific.
1051         * lib/am/yacc.am (am__skipyacc): Define this in maintainer mode.
1052         (%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skipyacc) to disable these
1053         rules when needed.
1054         * lib/am/lex.am (am__skiplex): Define this in maintainer mode.
1055         (%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skiplex) to disable these
1056         rules when needed.
1057         * tests/mmodely.test: New file.
1058         * tests/pr204.test: Augment to check AM_MAINTAINER_MODE and nodist_
1059         parsers.
1060         * tests/Makefile.am (TESTS): ADd mmodely.test.
1061         * doc/automake.texi (Yacc and Lex): Note dependence on maintainer mode.
1062
1063 2004-07-28  Alexandre Duret-Lutz  <adl@gnu.org>
1064
1065         * configure.ac, NEWS: Bump version to 1.9a.
1066
1067         * configure.ac, NEWS: Bump version to 1.9.
1068
1069         * automake.in (generate_makefile): Update misleading comment about
1070         libtool scripts.
1071
1072         * lib/texinfo.tex: New upstream version.
1073
1074 2004-07-25  Alexandre Duret-Lutz  <adl@gnu.org>
1075
1076         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Remove `.' from the mkdir_p
1077         definition, it causes `make install' to fails for user with no
1078         right to write in the source-tree.
1079         * automake.in (handle_configure): Do not use mkdir_p in the
1080         definition for $(mkdir_p).
1081         Report from Harlan Stenn.
1082
1083         * lib/am/texi-vers.am (%STAMPVTI%): Typo in comment.
1084
1085 2004-07-22  Alexandre Duret-Lutz  <adl@gnu.org>
1086
1087         * doc/automake.texi (Libtool Modules): Typo in example.
1088         Report from Ulrich Eckhardt.
1089
1090 2004-07-21  Andreas Schwab  <schwab@suse.de>  (tiny change)
1091
1092         * automake.in (check_directory): Quote $dir in regexp.
1093
1094 2004-07-17  Alexandre Duret-Lutz  <adl@gnu.org>
1095
1096         * configure.ac, NEWS: Bump version to 1.8e.
1097
1098         * configure.ac, NEWS: Bump version to 1.8d.
1099
1100         * lib/config-ml.in, lib/config.sub, lib/config.guess, lib/texinfo.tex:
1101         New upstream versions.
1102
1103         * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
1104         ?!GENERIC?%DEST_PREFIX%.html): Use $(X), not ${X}.
1105
1106         * tests/installdir.test: installdirs-local should appear three times,
1107         since the change from 2004-07-11 will make it PHONY.
1108
1109         * lib/am/distdir.am (distdir): Always use $(DIST_SUBDIRS) now
1110         that it is always defined.  This is less confusing for users
1111         reading the generated Makefiles.
1112         * automake.in (handle_dist): Do not substitute DIST_SUBDIR_NAME.
1113
1114         * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
1115         ?!GENERIC?%DEST_PREFIX%.html): Output .htp, and then rename to .html
1116         on success.  In case the target is a directory, this ensures its
1117         time stamp is updated and the no files are left over inside.
1118         * tests/txinfo21.test: Augment to test missing timestamp update
1119         reported by Akim Demaille.
1120
1121         * doc/automake.texi (Top level): Rename as ...
1122         (Directories): ... this, and split into ...
1123         (Subdirectories, Conditional Subdirectories): ... these.
1124         (Subdirectories): Illustrate the use of `.'.
1125         (Conditional Subdirectories): Describe SUBDIRS and DIST_SUBDIRS
1126         before the example.  Append a discussion about non-configured
1127         conditional directories.
1128         (Alternative): Move as a child of Directories.
1129         (Subpackages): New section.
1130         (Dist): Adjust links to Subdirectories, a Subpackages.
1131         (Third-Party Makefiles): Link to Conditional Subdirectories.
1132
1133 2004-07-14  Alexandre Duret-Lutz  <adl@gnu.org>
1134
1135         * automake.in (target_hook): Accept %transform as last argument.
1136         (handle_single_transform): Pass %transform to target_hook.
1137         (handle_source_transform): Define DIST_SOURCE to tell whether
1138         a the source of a file is distributed or not.
1139         (lang_yacc_target_hook): Check DIST_SOURCE, and do not distribute
1140         the generated header if the .y source is not distributed.
1141         * tests/pr204.test: Use AM_YFLAGS = -d and make sure generated
1142         headers are not distributed.
1143
1144 2004-07-12  Simon Josefsson  <jas@extundo.com>  (tiny change)
1145
1146         * doc/automake.texi (Options): Improve ustar file name length
1147         discussion.  Reference tar manual.
1148
1149 2004-07-12  Ray Simard  <rhs.techlists@sylvan-glade.com>  (tiny change)
1150
1151         * lib/Automake/Variable.pm (define): Fix precondition check.
1152
1153 2004-07-11  Alexandre Duret-Lutz  <adl@gnu.org>
1154
1155         For PR automake/428:
1156         Support for conditionally defined -hook and -local rules.
1157         * automake.in (user_phony_rule): New function.
1158         (handle_dist, handle_install, handle_all, do_check_merge_target,
1159         handle_factored_dependencies): Use user_phony_rule before
1160         adding a user -hook or -local rule as a dependency to ensure
1161         it is always defined an phony.
1162         * tests/cond37.test, tests/condhook.test: New files.
1163         * tests/Makefile.am (TESTS): Add them.
1164         Report from Simon Josefsson and Nik A. Melchior.
1165
1166 2004-07-05  Paul Eggert  <eggert@cs.ucla.edu>
1167
1168         * doc/automake.texi (Install): Warn that you should create
1169         /tmp/staging before installing into it, to avoid security problems.
1170         * lib/install-sh: Remove support for -b= and -t= options; this
1171         has been moribund for a decade.
1172         Add support for -t and -T options (new in coreutils install).
1173         -c option now does nothing (the default is to copy), for
1174         compatibility with BSD and coreutils 'install'.
1175         Fix usage message; it referred to nonexistent variables.
1176         Don't assume 'lasterr' is unset in environment.
1177         * tests/instsh2.test: Don't assume that install-sh without -c
1178         moves (it now copies).  Add tests for new -t and -T options.
1179
1180 2004-06-16  Alexandre Duret-Lutz  <adl@gnu.org>
1181
1182         For Debian Bug#254372:
1183         * doc/automake.texi (Invoking aclocal): Rewrite the paragraph
1184         explaining m4_include is used for relative files.
1185
1186 2004-06-10  Alexandre Duret-Lutz  <adl@gnu.org>
1187
1188         For Debian Bug #251820:
1189         * aclocal.in (scan_file): Keep track of the location where each
1190         file is included, and display it when reporting a missing file.
1191         Pass this location to scan_file as a second argument.
1192         (scan_m4_files): Adjust calls to scan_file.
1193         * tests/acloca14.test: Add a test for this diagnostic.
1194
1195 2004-06-07  Alexandre Duret-Lutz  <adl@gnu.org>
1196
1197         * m4/tar.m4 (_AM_PROG_TAR): Split the definition of $_am_tools
1198         so it works with Solaris and Tru64 /bin/sh.
1199         Report from Nicolas Joly.
1200
1201 2004-06-06  Alexandre Duret-Lutz  <adl@gnu.org>
1202
1203         * m4/tar.m4 (_AM_PROG_TAR): Introduce $_am_tools to work around a
1204         bug in NetBSD /bin/sh.
1205         Report from Nicolas Joly.
1206
1207 2004-06-03  Alexandre Duret-Lutz  <adl@gnu.org>
1208
1209         * tests/defs.in (required=icc): Use `-V -help' instead of
1210         `-V -dryrun'.  icc 8.0 fails on the latter.
1211         * tests/depcomp5.test: Require depmode=icc for icc 7.x, and
1212         depmod=gcc otherwise.
1213         Report from Ralf Wildenhues.
1214
1215         * lib/am/clean.am (distclean-generic): Do no
1216         `rm -f $(CONFIG_CLEAN_FILES)' if `$(CONFIG_CLEAN_FILES)' is empty.
1217         Report from Nicolas Joly.
1218
1219 2004-05-31  Alexandre Duret-Lutz  <adl@gnu.org>
1220
1221         * NEWS: Make clearer that we do not output partial Makefile.ins on
1222         error.
1223         Suggested by Akim Demaille.
1224
1225         * lib/depcomp (tru64) [libtool]: Use $dir$base.o.d instead
1226         of $dir.libs/$base.o.d.  Libtool 1.5 causes both to be output,
1227         and we will clean the second automatically during distclean.
1228         Using the latter and leaving the former as we did before cause
1229         "files left in build directory" failures during distcheck.
1230         Suggested by Nicolas Joly.
1231
1232         * doc/automake.texi (Built sources example): Explain what
1233         nodist_foo_SOURCES is (not) useful to, and use it in all the
1234         examples.
1235         (Tags): Mention nodist_noinst_HEADERS and nodist_prog_SOURCES.
1236         Suggested by Akim Demaille.
1237
1238 2004-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
1239
1240         * configure.ac, NEWS: Bump version to 1.8c.
1241
1242         * configure.ac, NEWS: Bump version to 1.8b.
1243
1244         * m4/tar.m4 (_AM_PROG_TAR) <cpio>: Specify -o and -i option first,
1245         by POSIX; and use option -d in am_untar.
1246
1247         * tests/defs.in (PATH): Export it.
1248
1249         * lib/am/multilib.am: Add $(MAKE) comments to multido and
1250         multiclean lines, to enable parallel make.  Based on a patch
1251         by Alexandre Oliva applied to newlib on 2003-10-15.
1252
1253 2004-05-22  Alexandre Duret-Lutz  <adl@gnu.org>
1254
1255         * automake.in (scan_autoconf_traces): Trace for LT_SUPPORTED_TAG
1256         instead of AC_LIBTOOL_TAGS, since that how CVS Libtool has been
1257         changed.
1258         * tests/libtool3.test: Do not grep for --tag=CC, since CVS
1259         Libtool (unlike Libtool 1.5) does not has any CC tag.
1260
1261         * tests/tar2.test: Skip the test if no pax archiver were found.
1262
1263         * NEWS: Sync with branch-1-8, and reorganize current entry.
1264
1265         * automake.in (handle_libraries): Make the diagnostic about
1266         non standard libraries a warning in foreign packages.  This
1267         is already the case in handle_ltlibraries.
1268         (handle_libraries, handle_ltlibraries): Suggest a standard
1269         library name in the diagnostic, to help newcomers.
1270         * tests/stdlib.test, tests/stdlib2.test: Check for these
1271         suggestions.
1272
1273         Check directory names for unportable names.  Shaking the code
1274         to check this also led to the removal of the no-"/"-in-SUBDIRS
1275         restriction, and a fix to _do_recursive_traversal.
1276
1277         * automake.in (check_directory): New function extracted from
1278         handle_subdirs, and augmented to check for reserved W32/DOS name.
1279         (check_directories_in_var): New function.
1280         (handle_subdirs): Call check_directories_in_var.  Doing so also
1281         suppress the restriction that SUBDIRS should not contain slashes.
1282         (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Call check_directory
1283         to ensure the argument exists and is safe.
1284         * doc/automake.texi (Top level): Do not say that src/subdir
1285         cannot be put in SUBDIRS.
1286         (Dist): Mention that distdir and top_distdir can be absolute.
1287         * lib/Automake/Variable.pm (_do_recursive_traversal) Support
1288         undefined $fun_collect, and fix two bugs introduced with
1289         skip_ac_subst on 2004-03-07.
1290         * lib/am/distdir.am (distdir): Use absolute distdir and
1291         top_distdir when recursing, because we can no longer prepend only
1292         `..' in case of SUBDIRS with `/'.
1293         * tests/auxdir4.test, tests/subdir9.test: New files.
1294         * tests/Makefile.am (TESTS): Add auxdir4.test.
1295         * tests/cond2.test, tests/subdir7.test: Augment to check location
1296         in diagnostics.
1297
1298 2004-05-21  Eric Blake  <ebb9@byu.net>  (tiny changes)
1299
1300         * tests/txinfo22.test (AC_CONFIG_AUX_DIR): Use aux1, not aux, for
1301         cygwin compatibility.
1302         * tests/yacc6.test (AC_CONFIG_AUX_DIR): Likewise.
1303
1304         * tests/conflnk3.test: Isolate checking for working `test -e' into
1305         a subshell, to skip this test on broken /bin/sh of solaris.
1306
1307 2004-05-17  Alexandre Duret-Lutz  <adl@gnu.org>
1308
1309         * m4/cond.m4 (AM_CONDITIONAL): Double-quote diagnostic.
1310         * tests/condd.test: Define a macro with the same name as a
1311         conditional.
1312         * tests/pr220.test: Modernize, and make sure the diagnostics
1313         contains the macro name.
1314         Report from Volker Boerchers.
1315
1316 2004-05-16  Alexandre Duret-Lutz  <adl@gnu.org>
1317
1318         * lib/texinfo.tex: New upstream version.
1319
1320 2004-05-15  Alexandre Duret-Lutz  <adl@gnu.org>
1321
1322         * automake.in (handle_dist): Always define DIST_SUBDIRS, even when
1323         the no-dist or cygnus options are used.
1324         * tests/clean2.test: New file.
1325         * tests/Makefile.am (TESTS): Add clean2.test.
1326         Report from Daniel Jacobowitz.
1327
1328         * aclocal.in (add_macro): Do not error out on undefined required
1329         macros.  We are not sure they are really used, and Autoconf
1330         already diagnoses them.
1331         (scan_configure_dep): Diagnose missing AM_ macros as warnings rather
1332         than errors.
1333         * tests/aclocal3.test, tests/ammissing.test: Adjust to expect a
1334         warning instead of an error.
1335         * tests/aclocal8.test: AC_REQUIRE an undefined macro in an unused
1336         macro, and ensure aclocal works anyway.
1337         * tests/acloca17.test: New file.
1338         * tests/error.test: Delete, superseded by tests/acloca17.test.
1339         * tests/Makefile.am (TESTS): Add acloca17.test and remove error.test.
1340         Report from Jim Meyering.
1341
1342         * lib/am/texibuild.am (?!GENERIC_INFO?%DEST_INFO_PREFIX%%DEST_SUFFIX%):
1343         Fold a few lines to reduce the output by 5 lines.
1344         Suggested by Karl Berry.
1345
1346         * automake.in (parse_arguments, MAIN): Give more precise
1347         diagnostics when no input file is found.
1348         * tests/output5.test: Adjust.
1349         Suggested by Jens Petersen.
1350
1351 2004-05-14  Alexandre Duret-Lutz  <adl@gnu.org>
1352
1353         * lib/am/libs.am (AR, ARFLAGS): Move these definition ...
1354         * automake.in (handle_libraries): ... here, so that they are
1355         output even for EXTRA_LIBRARIES.
1356         * tests/ar2.test: New file.
1357         * tests/Makefile.am (TESTS): Add it.
1358         Report from Kevin Ryde.
1359
1360 2004-05-13  Alexandre Duret-Lutz  <adl@gnu.org>
1361
1362         * automake.in (generate_makefile): Do not output Makefile.in on
1363         errors.
1364         * tests/werror2.test: New file.
1365         * tests/Makefile.am (TESTS): Add werror2.test.
1366         * tests/substtarg.test, tests/cond36.test, tests/backsl4.test:
1367         Adjust to run automake with -Wno-error when the output is expected
1368         in spite of the error.
1369         Report from Harlan Stenn.
1370
1371         * doc/automake.texi (Program and Library Variables): Remove
1372         doubled word in footnote.
1373
1374         * automake.in (handle_source_transform): Also check for a
1375         $(srcdir)/old_source rule when computing the default source name.
1376         Propagate this $(srcdir) prefix in Automake variables.
1377         * tests/ltlibsrc.test (noinst_LTLIBRARIES): Explicitly refer to
1378         $(srcdir)/zoo_d_old2_la.c.  This fixes another failure with BSD Make.
1379
1380 2004-05-13  Paul Eggert  <eggert@cs.ucla.edu>
1381
1382         * Makefile.am (fetch): Work even with FreeBSD "make", which
1383         uses sh -e and thus errors-out if a simple-command fails.
1384         * lib/am/check.am (check-TESTS): Likewise.
1385         * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Likewise.
1386         * lib/am/tags.am (TAGS): Likewise.
1387
1388 2004-05-13  Alexandre Duret-Lutz  <adl@gnu.org>
1389
1390         * tests/lex3.test, tests/yacc6.test: Require GNU Make.
1391         Fixing these for BSD Make requires invasive changes (lexers and
1392         parsers must be built into $srcdir, and--most annoyingly--all
1393         references to parse.h must be changed to $(srcdir)/parse.h).
1394         Report from Mark D. Baushke.
1395
1396 2004-05-10  Alexandre Duret-Lutz  <adl@gnu.org>
1397
1398         * tests/defs.in (GNUmake): Grep for GNU to parry FreeBSD make.
1399         Report from Mark D. Baushke.
1400
1401 2004-04-25  Alexandre Duret-Lutz  <adl@gnu.org>
1402
1403         * lib/texinfo.tex: New upstream version.
1404
1405         * lib/depcomp (tru64): Clarify comments.  Thanks to Nicolas Joly.
1406
1407         * doc/automake.texi (Headers): Revamp.
1408
1409 2004-04-24  Alexandre Duret-Lutz  <adl@gnu.org>
1410
1411         * automake.in (check_typos): Clarify the diagnostic.
1412         * tests/warnopts.test: Adjust.
1413
1414         * lib/Automake/VarDef.pm (append): Turn VAR_ASIS variables into
1415         VAR_PRETTY variables to work around make implementation with
1416         limited line length, such as OSF1/Tru64 make.
1417         * tests/longline.test: New file.
1418         * tests/Makefile.am (TESTS): Add it.
1419         * tests/pluseq3.test, tests/pluseq8.test: Adjust.
1420         Report from Simon Josefsson.
1421
1422         * lib/am/tags.am (TAGS): Pass `.' to Exuberant Ctags if
1423         --etags-include is used but no other files are supplied, so it
1424         creates the TAGS file anyway.
1425         Report from Akim Demaille.
1426
1427         * lib/depcomp (tru64) [libtool]: Nicolas Joly reported on
1428         2002-06-12 that dependencies were output in $dir.libs/$base.lo.d.
1429         Teun Burgers reported on 2004-03-30 they were in
1430         $dir.libs/$base.o.d.  Try both.
1431
1432 2004-04-23  Alexandre Duret-Lutz  <adl@gnu.org>
1433
1434         For PR automake/414:
1435         Introduce option filename-length-max=99.
1436         * doc/automake.texi (Options): Document it.
1437         * configure.ac (AM_INIT_AUTOMAKE): Use it.
1438         * lib/Automake/Options.pm (_process_option_list): Recognize it.
1439         * automake.in (handle_dist): Set FILENAME_FILTER.
1440         * lib/am/distdir.am (distdir) [FILENAME_FILTER]: Diagnose long
1441         filenames.
1442         * tests/fn99.test: New file.
1443         * tests/Makefile.am (TESTS): Add fn99.test.
1444
1445 2004-04-20  Alexandre Duret-Lutz  <adl@gnu.org>
1446
1447         For PR automake/414:
1448         Introduce options tar-v7, tar-ustar, and tar-pax to select
1449         tar format.
1450         * doc/automake.texi (Options): Document them.
1451         * lib/Automake/Options.pm (_process_option_list): Process
1452         these new options.
1453         * lib/am/distdir.am (dist-gzip, dist-bzip2, dist-tarZ, dist,
1454         distcheck): Adjust to use am__tar and am__untar.
1455         * m4/tar.m4: New file.
1456         * m4/Makefile.am (dist_m4data_DATA): Add tar.m4.
1457         * m4/init.m4 (AM_INIT_AUTOMAKE): Support the new options
1458         and call _AM_PROG_TAR.
1459         * tests/tar.test, tests/tar2.test, tests/tar3.test: New files.
1460         * tests/Makefile.am (TESTS): Add them.
1461
1462 2004-04-18  Alexandre Duret-Lutz  <adl@gnu.org>
1463
1464         * lib/am/distdir.am (distcheck): Typo in shar decompression.
1465
1466         * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1467         versions.
1468
1469 2004-04-17  Alexandre Duret-Lutz  <adl@gnu.org>
1470
1471         Fix PR automake/49:
1472         * automake.in (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Diagnose
1473         calls to AC_CONFIG_AUX_DIR followings calls to AM_INIT_AUTOMAKE.
1474         * tests/auxdir.test, tests/auxdir2.test, tests/lex5.test,
1475         tests/mdate3.test, tests/multlib.test, tests/reqd2.test,
1476         tests/symlink.test, tests/txinfo8.test, tests/txinfo22.test,
1477         tests/yacc6.test, tests/yacc8.test: Fix to call AC_CONFIG_AUX_DIR
1478         before AM_INIT_AUTOMAKE.
1479         * tests/auxdir3.test: New file (exercise this diagnostic).
1480         * tests/Makefile.am (TESTS): Add auxdir3.test.
1481
1482 2004-04-15  Alexandre Duret-Lutz  <adl@gnu.org>
1483
1484         * aclocal.in (%map_traced_defs): New variable.
1485         (scan_m4_files): Normalize filenames.
1486         (trace_used_macros): Trace for AC_DEFUN and AU_DEFUN, also
1487         ask for the filename and the first argument.  Populate
1488         %map_traced_defs.
1489         (write_aclocal): Use $map_traced_defs to filter out unused
1490         definitions.
1491         * tests/acloca16.test: New file.
1492         * tests/Makefile.am (TESTS): Add acloca16.test.
1493
1494 2004-04-12  Alexandre Duret-Lutz  <adl@gnu.org>
1495
1496         * automake.in ($automake_needs_to_reprocess_all_files): Remove.
1497         ($automake_will_process_aux_dir): New variable.
1498         (scan_autoconf_traces): Reorder @input_files so that the Makefile
1499         that distributes aux files is processed last.  This way we do not
1500         have to process all files twice using
1501         $automake_will_process_aux_dir.
1502         (require_file_internal): Suggest a full run of automake when
1503         appropriate.
1504         (MAIN): Remove the loop on $automake_needs_to_reprocess_all_files.
1505         * tests/distcom7.test: New file.
1506         * tests/reqd2.test: Do not check for the "running more than two"
1507         message.
1508         * tests/Makefile.am (TESTS): Add distcom7.test.
1509
1510         * automake.in (@config_aux_path, $config_aux_dir): Rename as ...
1511         ($config_aux_dir, $am_config_aux_dir): ... these.
1512         ($config_aux_dir_set_in_configure_in): Rename as ...
1513         ($config_aux_dir_set_in_configure_ac): ... this.
1514         (%require_file_found): Rename as ...
1515         (%required_file_not_found): ... this.
1516         (handle_languages, handle_texinfo_helper, handle_dist,
1517         handle_configure, handle_emacs_lisp, handle_python,
1518         scan_autoconf_traces, yacc_lex_finish_helper): Adjust to new names.
1519         (scan_autoconf_traces): Call locate_aux_dir.
1520         (locate_aux_dir): New function.
1521         (@require_file_paths): Remove, not used anymore.
1522         (require_file_internal): Look files in only one directory (instead
1523         of @require_file_internal) passed in argument.
1524         (require_file, require_conf_file): Pass the destination directory
1525         to require_file_internal.
1526
1527         Fix for PR automake/416:
1528         * m4/depend.m4 (_AM_DEPENDENCIES): Catch `not supported' ICC 8.0
1529         remarks.
1530         From Peter Seiderer.
1531
1532 2004-04-10  Andreas Buening  <andreas.buening@nexgo.de>
1533
1534         * aclocal.in, automake.in, configure.ac, Makefile.am,
1535         tests/aclocal.in, tests/automake.in, tests/defs.in:
1536         Use PATH_SEPARATOR from autoconf instead of ':'.
1537
1538 2004-04-09  Alexandre Duret-Lutz  <adl@gnu.org>
1539
1540         * automake.in (handle_lib_objects): Pass the condition of
1541         the variable definition to handle_LIBOBJS and handle_ALLOCA,
1542         not the aggregated conditions.
1543         * tests/Makefile.am (TESTS): Add libobj14.test.
1544         * tests/libobj14.test: New file.
1545         Report from Bill Davidson.
1546
1547 2004-04-02  Mike Nolta  <mike@nolta.net>
1548
1549         Better support for Fortran 9x.
1550         * automake.in: Add "fc" and "ppfc" languages for Fortran 9x.
1551         * doc/automake.texi (Fortran 9x Support): New section.
1552         * lib/Automake/Variable.pm (%_ac_macro_for_var): Add AC_PROG_FC.
1553         * tests/compile_f90_c_cxx.test: New file.
1554         * tests/ext.test: Add AC_PROG_FC.
1555         * tests/f90only.test: New file.
1556         * tests/link_f90_only.test: New file.
1557         * tests/Makefile.am (TESTS): Add new tests.
1558
1559 2004-04-01  Paul Eggert  <eggert@twinsun.com>
1560
1561         * lib/install-sh: If "mv -f" works, use it, and fall back to
1562         the old "test -f" + "rm -f" + "mv" method only if "mv -f" does
1563         not work.  This improves performance in the usual case where
1564         "mv -f" works.  It also lets us install the "mv" command
1565         without worrying about a small window where "mv" does not
1566         exist (this problem was reported by Raul Nunez de Arenas
1567         Coronado).
1568
1569 2004-03-26  Alexandre Duret-Lutz  <adl@gnu.org>
1570
1571         * m4/python.m4 (AM_PATH_PYTHON): Make sure am_display_PYTHON is
1572         set when $PYTHON has been set by the user.
1573         From Esben Haabendal Soerensen.
1574
1575 2004-03-22  Alexandre Duret-Lutz  <adl@gnu.org>
1576
1577         * doc/automake.texi (Default _SOURCES): Typo.
1578         (true): Correct _'s placement in example.
1579         Report from Stepan Kasal.
1580
1581 2004-03-19  Alexandre Duret-Lutz  <adl@gnu.org>
1582
1583         Overriding JAVAROOT is legitimate, do not warn about it.
1584         * lib/Automake/Variable.pm (%_silent_variable_override): Add JAVAROOT.
1585         * tests/java2.test: Run automake without -Wno-override.
1586         Report from Simon Josefsson.
1587
1588 2004-03-14  Alexandre Duret-Lutz  <adl@gnu.org>
1589
1590         * automake.in (handle_texinfo_helper): Typos in comment.
1591
1592 2004-03-07  Alexandre Duret-Lutz  <adl@gnu.org>
1593
1594         * lib/config.guess: New upstream version.
1595
1596         Fix for PR automake/285:
1597         * automake.in (handle_ltlibraries): Keep track of installation
1598         directories for each condition, then define a $(am_TARGET_rpath)
1599         variable to hold the -rpath flags of Libtool libraries conditionally
1600         installed in different directories.
1601         * lib/Automake/DisjConditions.pm (merge): New function.
1602         * tests/libtool6.test: Adjust.
1603         * tests/libtool8.test: New file.
1604         * tests/Makefile.am (TEST): Add libtool8.test.
1605
1606         * lib/Automake/Variable.pm (traverse_recursively,
1607         _do_recursive_traversal): Honor the skip_ac_subst option.
1608         * automake.in (handle_dist): Use skip_ac_subst.
1609
1610 2004-02-29  Alexandre Duret-Lutz  <adl@gnu.org>
1611
1612         * Makefile.am (cvs-release): Upload to ~ftp/pub/automake, not
1613         ~ftp/automake.
1614         * lib/gnupload (Example): Update example.
1615
1616         * lib/config-ml.in, lib/config.guess, lib/config.sub,
1617         lib/texinfo.tex: New upstream versions.
1618
1619         * m4/depend.m4 (_AM_DEPENDENCIES): Use `touch' rather than `: >'
1620         to create numbered dependencies.  This fixes a portability issue
1621         when CONFIG_SHELL is forced to /bin/sh on Solaris 8.
1622         Reported by Mark Phillips.
1623
1624         * automake.in (lang_yacc_target_hook): Use Automake::Rule::define
1625         so that rules for the same headers are not output twice.
1626         * lib/Automake/Variable.pm (value_as_list_recursive): Do not
1627         call `return' inside `map'.
1628         * tests/cond30.test: Make sure `a.c' and `b.c' both appear
1629         in the Makefile.in.
1630         * tests/cond35.test, tests/cond36.test: New files.
1631         * tests/Makefile.am (TESTS): Add cond35.test and cond36.test.
1632         Report from Roman Fietze.
1633
1634         Fix for PR/413:
1635         * lib/am/distdir.am (distcheck): Create $dc_destdir with `umask
1636         077 && mkdir' instead of `$(mkdir_p)'.  This prevents possible
1637         symlink attacks reported by Stefan Nordhausen.
1638
1639 2004-02-16  Alexandre Duret-Lutz  <adl@gnu.org>
1640
1641         * doc/automake.texi (Multiple Outputs): More text, based on
1642         comments from Eric Siegerman, Tim Van Holder, and Oren Ben-Kiki.
1643
1644 2004-02-15  Alexandre Duret-Lutz  <adl@gnu.org>
1645
1646         * m4/mkdirp.m4: Use `mkdir -p' only with GNU mkdir, because
1647         Solaris 8's mkdir is not thread-safe.
1648         * lib/mkinstalldirs: Likewise.
1649         * lib/install-sh: Abort when mkdir fails to create a directory.
1650         Report from Nathanael Nerode.
1651
1652 2004-02-07  Alexandre Duret-Lutz  <adl@gnu.org>
1653
1654         * aclocal.in (rel2abs): New function.
1655         (scan_configure_dep): Use rel2abs instead of File::Spec->rel2abs,
1656         the later does was introduced in Perl 5.6 so using it breaks with
1657         Perl 5.005.
1658         Report from Werner John.
1659
1660 2004-02-03  Alexandre Duret-Lutz  <adl@gnu.org>
1661
1662         * doc/automake.texi (Future of aclocal): Make clearer that
1663         it's ok to install macros into /usr/share/aclocal/.
1664
1665 2004-02-01  Alexandre Duret-Lutz  <adl@gnu.org>
1666
1667         * tests/lisp.test: Delete (pointless).
1668         * tests/Makefile.am (TESTS): Remove lisp.test.
1669
1670         * lib/Automake/Variable.pm (transform_variable_recursively):
1671         Define rewritten variables in all conditions not *covered* by user
1672         definitions, not simply in conditions without a previous
1673         definition.
1674         * tests/cond34.test: New file.
1675         * tests/Makefile.am (TESTS): Add cond34.test.
1676         Report from Elena A. Vengerova
1677
1678         * doc/automake.texi (Multiple Outputs): Typo.
1679
1680         * doc/automake.texi (Emacs Lisp): Typos.
1681
1682         Support for conditional _LISP.
1683         * automake.in (handle_emacs_lisp): Define $(ELCFILES) from LISP, not
1684         from $(am__ELCFILES).
1685         * lib/am/lisp.am (elc-stamp): Use $(LISP) instead of $(am__ELFILES).
1686         * tests/lisp6.test: New file.
1687         * tests/Makefile.am (TESTS): Add it.
1688
1689         * automake.in (handle_emacs_lisp): Define $(ELCFILES) as
1690         $(am__ELCFILES), and always push it on @all.  Do not mention
1691         elc-stamp.
1692         * lib/am/lisp.am (.el.elc): Rewrite as ...
1693         ($(am__ELCFILES)): ... this, and depend on elc-stamp.
1694         (elc-stamp): Make sure elc-stamp is older that all .elc files, as
1695         explained in the manual entry below.
1696
1697         * doc/automake.texi (Multiple Outputs): New node.
1698
1699 2004-01-31  Alexandre Duret-Lutz  <adl@gnu.org>
1700
1701         * m4/regex.m4: Do not AC_SUBST(LIBOBJS), and quote most arguments.
1702         * tests/regex.test: New file.
1703         * tests/Makefile.am (TESTS): Add regex.test.
1704
1705 2004-01-28  Alexandre Duret-Lutz  <adl@gnu.org>
1706
1707         * Makefile.am (maintainer-check): Check for unquoted $(DESTDIR) uses.
1708         * lib/am/data.am, lib/am/distdir.am, lib/am/java.am, lib/am/libs.am,
1709         lib/am/lisp.am, lib/am/ltlib.am, lib/am/mans.am, lib/am/progs.am,
1710         lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Quote
1711         installation paths in install, uninstall, and installcheck rules,
1712         as well as in am__installdirs variables.  This is for the sake
1713         of paths containing spaces.
1714         * lib/am/install.am (installdirs-am, installdirs): Do not try
1715         to create "" directories.
1716         * test/instspc.test: New file.
1717         * test/Makefile.am (TESTS): Add instspc.test.
1718         Report from James Amundson.
1719
1720         * doc/automake.texi (Not Enough, Third-Party Makefiles): New nodes.
1721         (Extending): Make it a subsection of Not Enough.
1722
1723         * lib/gnupload (GPG): Use an absolute path.  Suggestion from Gary
1724         V. Vaughan.
1725         (passphrase): Unset it this variable before using it, in case it
1726         was exported.  Report from Scott James Remnant.
1727
1728 2004-01-25  Alexandre Duret-Lutz  <adl@gnu.org>
1729
1730         * lib/gnupload (usage): Fix example.
1731         * Makefile.am (cvs-release): Fix call to gnupload.
1732         From Jim Meyering.
1733
1734 2004-01-24  Alexandre Duret-Lutz  <adl@gnu.org>
1735
1736         * lib/gnupload: New script.
1737         * lib/Makefile.am (EXTRA_DIST): Distribute gnupload.
1738         * Makefile.am (cvs-release): New target.
1739
1740 2004-01-23  Alexandre Duret-Lutz  <adl@gnu.org>
1741
1742         * lib/am/python.am (uninstall-%DIR%PYTHON): Remove extra `;'s.
1743         Fix python10.test.
1744
1745         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use `s/xx//p'
1746         instead of `/xx/ s///p'; the latter fails when GNU sed is run with
1747         POSIXLY_CORRECT.  Also strip superfluous -e.
1748         Report from Miloslav Trmac.
1749
1750 2004-01-22  Alexandre Duret-Lutz  <adl@gnu.org>
1751
1752         * tests/lex5.test: Sleep before calling AUTOMAKE the second time,
1753         this fixes a spurious failure reported by Andreas Schwab.  Also
1754         make sure ylwrap is not installed unless needed, and exercise
1755         --no-force.
1756
1757 2004-01-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
1758
1759         * doc/automake.texi (Dist): Document limitations of distcheck-hook
1760         and DISTCHECK_CONFIGURE_FLAGS with regard to subdirs and
1761         subpackages.
1762
1763 2004-01-20  Alexandre Duret-Lutz  <adl@gnu.org>
1764
1765         * doc/automake.texi (Upgrading): New node.
1766
1767 2004-01-20  Gary V. Vaughan  <gary@gnu.org>
1768
1769         * automake.in (scan_autoconf_traces): AC_LIBTOOL_TAGS can be
1770         correctly called without arguments as evidenced by the libtool
1771         demo directories.
1772
1773 2004-01-13  Alexandre Duret-Lutz  <adl@gnu.org>
1774
1775         * tests/conflnk3.test: Skip if `test -e' does not work.
1776         Report from Lars Hecking.
1777
1778 2004-01-13  Jim Meyering  <jim@meyering.net>
1779
1780         * lib/install-sh: Change `\n \t' to `\n\t ' in `defaultIFS'
1781         assignment.  Remove spurious SPACEs before TABs.
1782
1783 2004-01-12  Alexandre Duret-Lutz  <adl@gnu.org>
1784
1785         * lib/py-compile: Check input files after option processing.
1786         Ensure --basedir has an argument.
1787         * lib/am/python.am (install-%DIR%PYTHON): Do not run py-compile
1788         if nothing was installed.
1789         * tests/python10.test: New file.
1790         * tests/Makefile.am (TESTS): Add python10.test.
1791         Suggested by Sander Niemeijer.
1792
1793         * tests/txinfo29.test: Remove autom4te.cache.
1794         Report from Greg Schafer.
1795
1796         * lib/install-sh: Do not use "$@" in a context where it may be empty,
1797         for the sake of OSF1/Tru64's shell.
1798         Report from He Li.
1799
1800 2004-01-11  Alexandre Duret-Lutz  <adl@gnu.org>
1801
1802         * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream
1803         versions.
1804
1805         * m4/as.m4, m4/depend.m4, m4/maintainer.m4, m4/multi.m4: Update
1806         copyright years and serial.
1807
1808         * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.4.
1809
1810 2004-01-10  Peter Eisentraut  <peter_e@gmx.net>  (tiny change)
1811
1812         * m4/as.m4 (AM_PROG_AS): Format and align help string more
1813         consistently.
1814         * m4/depend.m4 (AM_DEP_TRACK): Likewise.
1815         * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
1816         * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
1817         * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise.
1818
1819 2004-01-10  Paul Eggert  <eggert@twinsun.com>
1820
1821         * m4/lispdir.m4 (AM_PATH_LISPDIR): Don't use \? in sed regular
1822         expressions; it doesn't conform to POSIX.
1823
1824 2004-01-10  Alexandre Duret-Lutz  <adl@gnu.org>
1825
1826         * automake.in (shadow_unconditionally): New function...
1827         (handle_source_transform): ... extracted from here.
1828         (am_install_var): Use shadow_unconditionally to define %DISTVAR%.
1829         * lib/am/data.am, lib/am/java.am, lib/am/lisp.am, lib/am/python.am,
1830         lib/am/script.am: Add %DISTVAR% to DIST_COMMON.
1831         * tests/cond33.test: Make sure all conditional files are distributed.
1832         Report from Ralf Corsepius.
1833
1834 2004-01-08  Alexandre Duret-Lutz  <adl@gnu.org>
1835
1836         * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Append `.' to $(mkdir_p).
1837         * lib/install-sh: Accept `install-sh -d' with 0..n arguments,
1838         as well as `install-sh sources... dest' with multiple sources.
1839         * tests/cond33.test: New file.
1840         * tests/instsh2.test: Add more checks for install-sh.
1841         * tests/transform.test: Test for installdirs.
1842         * tests/Makefile.am (TESTS): Add cond33.test
1843         Report from Ralf Corsepius.
1844
1845         * automake.in (handle_configure): Skip AC_CONFIG_LINKS items which
1846         do not look like DEST:SRC.
1847         * tests/conflnk3.test: Check for AC_CONFIG_LINKS($computed).
1848
1849 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
1850
1851         Fix for PR automake/289:
1852         * automake.in (Automake::Struct::libtool_tag): New attribute.  Define
1853         it for the language that have a Libtool tag.
1854         (%libtool_tags): New variable.
1855         (handle_languages, define_compiler_variable)
1856         (define_linker_variable): Pass --tag=XXX to libtool if supported.
1857         (scan_autoconf_traces): Scan for _LT_AC_TAGCONFIG and AC_LIBTOOL_TAGS.
1858         * tests/libtool3.test, tests/subobj9.test: Check that --tag=XXX is
1859         output.
1860
1861 2003-01-07  Eric Sunshine  <sunshine@sunshineco.com>  (tiny change)
1862
1863         * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add
1864         config.status.lineno.
1865
1866 2004-01-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
1867
1868         * doc/automake.texi (Rebuilding): Typo.
1869
1870 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
1871
1872         * lib/am/Makefile.am (dist_am_DATA): Really add inst-vars.am.
1873
1874 2004-01-06  Alexandre Duret-Lutz  <adl@gnu.org>
1875
1876         * THANKS: Add Bruce Korb.
1877
1878 2004-01-05  Alexandre Duret-Lutz  <adl@gnu.org>
1879
1880         Mimic Paul Eggert's changes to Autoconf.
1881         * Makefile.am (automake, aclocal): Use `chmod a-w', not `chmod -w'.
1882         * lib/Automake/Makefile.am (Config.pm): Likewise.
1883         * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Likewise.
1884
1885         * lib/am/inst-vars.am: New file, define am__vpath_adj_setup,
1886         am__vpath_adj, and am__strip_dir.
1887         * lib/am/Makefile.am (dist_am_DATA): Add inst-vars.am.
1888         * lib/am/data.am, lib/am/lisp.am, lib/am/python.am,
1889         lib/am/scripts.am: Include inst-vars.am, and use $(am__vpath_adj),
1890         $(am__vpath_adj_setup), and $(am__strip_dir) in install and
1891         uninstall rules.  This fixes installation of nobase_ files in
1892         VPATH setups with Sun and OSF1/Tru64 Make.
1893         * lib/am/libs.am, lib/am/ltlib.am: Include inst-vars.am, and use
1894         $(am__strip_dir) to simplify install and uninstall rules.
1895         * tests/nobase.test: Augment to check installation from VPATH builds.
1896
1897         * automake.in (%transformed_files): New variable.
1898         (initialize_per_input): Reset it.
1899         (make_paragraphs): Fill %transformed_files, and define %FIRST%
1900         each time a file is transformed for the first time.
1901         (handle_configure): Do not define %FIRST_CONFIG_HIN%.
1902         (am_install_var): Do not define %FIRST%.
1903         * lib/am/remake-hdr.am: Use %?FIRST% instead of %?FIRST_CONFIG_HIN%.
1904
1905 2004-01-04  Alexandre Duret-Lutz  <adl@gnu.org>
1906
1907         * lib/texinfo.tex: New upstream version.
1908
1909         * m4/mkdirp.m4: Do not use `-m 0755'.  This overrides special bits
1910         and break setups where 775 directories are expected.  Just obey
1911         umask as we did in the past.
1912         Report from Harlan Stenn.
1913
1914 2004-01-03  Alexandre Duret-Lutz  <adl@gnu.org>
1915
1916         * automake.in (scan_texinfo_file): Do not compare $outfile to ''
1917         as $outfile might not be defined at all.
1918
1919         * lib/Automake/Variable.pm (define): Rework the way we check
1920         Automake variable definition.  Ensure consistent :=/+=/=
1921         definitions only for variables that have been and are defined by
1922         Automake, and make it an internal error.  Ignore Automake
1923         attempts to touch a user variable, even with += assignments.
1924         * tests/txinfo29.test: New file.
1925         * tests/Makefile.am (TESTS): Add txinfo29.test.
1926         Reported by Bruce Korb.
1927
1928 2004-01-02  Tom Tromey  <tromey@redhat.com>
1929
1930         * automake.in (handle_source_transform): Don't generate dist
1931         variables when no-dist is set.
1932         (generate_makefile): Likewise.
1933         * tests/nodist3.test: Ensure that DIST_SOURCES is not created,
1934         and that dist target does not exist.
1935         Reported by Tom Fitzsimmons.
1936
1937 2004-01-02  Alexandre Duret-Lutz  <adl@gnu.org>
1938
1939         * tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test,
1940         * tests/ltconv.test: Run automake with --add-missing, because
1941         the CVS version of libtoolize no longer install config.sub and
1942         config.guess by default.
1943
1944         Fix for PR automake/319:
1945         * aclocal.in (scan_m4_files): Scan configure.ac.
1946         (trace_used_macros, write_aclocal): Remove configure.ac from the
1947         list of files to include.
1948         * tests/Makefile.am (TESTS): Add acloca15.test.
1949         * tests/acloca15.test: New file.
1950
1951         * aclocal.in (%file_includes): New variable.
1952         (scan_configure_dep): Compile $m4_include_rx and $ac_require_rx once.
1953         (scan_file): Scan for included files, and process these files
1954         recursively.  Fill %file_includes and %file_contents.  Return the
1955         list of included files, not the contents.
1956         (scan_m4_files): Adjust calls to scan_files.
1957         (strip_redundant_includes): New function.
1958         (trace_used_macros): Call it.
1959         (write_aclocal): Likewise.  Also check the mtime of included files.
1960         * tests/Makefile.am (TESTS): Add acloca14.test.
1961         * tests/acloca14.test: New file.
1962         Report from Phil Edwards.
1963
1964 2004-01-01  Alexandre Duret-Lutz  <adl@gnu.org>
1965
1966         * automake.in (handle_languages): Do not define DEP_FILES.
1967         * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Extract included
1968         files with $(DEPDIR) in their name instead of DEP_FILES.
1969         * tests/depend.test, tests/depend4.test, tests/exsource.test:
1970         Adjust.
1971         Suggested by Tom Tromey.
1972
1973         Do not output .lo rules for programs and static libraries objects,
1974         and do not output .o/.obj rules for libtool libraries.  This is
1975         about explicit rules only, not inference rules.
1976         * automake.in (handle_single_transform_list): Rename as ...
1977         (handle_single_transform): ... this.  Take a single file
1978         to transform (it was only called this way) and accept a new
1979         %transform argument.  Fill %lang_specific_files with list
1980         references instead of strings, and append %transform to each
1981         of these lists.
1982         (define_objects_from_sources, handle_source_transform):
1983         Take a %transform argument, and forward it to &handle_single_transform.
1984         (handle_languages): Adjust to the new format of
1985         %lang_specific_files, and honor its %transform part.
1986         (handle_programs, handle_libraries, handle_ltlibraries): Override
1987         %NONLIBTOOL% and %LIBTOOL% while calling handle_source_transform.
1988         (make_paragraphs): Define %NONLIBTOOL% by default.  Make sure
1989         %transform settings override global settings.
1990         * lib/am/depend2.am (%OBJ%, %OBJOBJ%): Define only if %NONLIBTOOL%.
1991         * tests/libtool3.test: Augment to check Makefile.ins for unneeded
1992         rules.
1993         Suggested by Thomas Fitzsimmons.
1994
1995         * automake.in, aclocal.in: Bump copyright years.
1996
1997 -----
1998
1999 Copyright (C) 2004, 2005  Free Software Foundation, Inc.
2000
2001 This file is part of GNU Automake.
2002
2003 GNU Automake is free software; you can redistribute it and/or modify
2004 it under the terms of the GNU General Public License as published by
2005 the Free Software Foundation; either version 2, or (at your option)
2006 any later version.
2007
2008 GNU Automake is distributed in the hope that it will be useful,
2009 but WITHOUT ANY WARRANTY; without even the implied warranty of
2010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2011 GNU General Public License for more details.
2012
2013 You should have received a copy of the GNU General Public License
2014 along with autoconf; see the file COPYING.  If not, write to
2015 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
2016 Boston, MA 02111-1307, USA.
2017
2018 ;; Variables:
2019 ;; coding: utf-8
2020 ;; End: