source: trunk/essentials/sys-devel/automake-1.10/ChangeLog.04@ 3604

Last change on this file since 3604 was 3147, checked in by bird, 18 years ago

automake 1.10

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