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