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