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