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