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