1 2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 * doc/automake.texi: New Back-Cover Text.
6 2007-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8 * aclocal.in (version): Fix output to match GCS requirements.
9 * automake.in (version): Likewise.
12 * COPYING, lib/COPYING: Update to GPLv3. All uses changed.
15 2007-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
17 * lib/gnupload: Fix shell portability issues with for loops.
20 2007-06-23 Paul Eggert <eggert@cs.ucla.edu>
21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
23 * aclocal.in (write_aclocal): Warn about autoconf
24 incompatibilities instead of making them fatal.
25 * tests/missing4.test: Adjust.
27 Problem reported by Bruno Haible in
28 <http://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>.
30 2007-05-03 Stepan Kasal <kasal@ucw.cz>
32 * doc/automake.texi, lib/Automake/Rule.pm: Fix typos.
33 * automake.in: Likewise.
34 (am_primary_prefixes): Keep the intentional typo there.
36 2007-04-25 Eric Blake <ebb9@byu.net>
38 * doc/stamp-vti: Remove generated file from revision control.
39 * doc/version.texi: Likewise.
41 2007-04-23 Reuben Thomas <rrt@sc3d.org> (tiny change)
43 * doc/automake.texi (Python): Fix typo.
45 2007-03-30 Eric Blake <ebb9@byu.net>
46 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
48 * lib/mdate-sh (ls_command): Use -n when available to avoid
49 problems with spaces in user/group names.
50 * tests/mdate5.test: New test.
51 * tests/Makefile.am: Adjust.
53 2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
55 * automake.in (handle_tests): Rewrite XFAIL_TESTS just like
56 TESTS, appending $(EXEEXT), so that matching continues to work
59 * doc/automake.texi (EXEEXT, Extending): Update.
60 * tests/check7.test: New test.
61 * tests/Makefile.am: Adjust.
62 Bug report by Ed Hartnett.
64 2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
66 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Again search
67 the whole file, but use sed to reduce the line length.
68 Fixes 1.10 regression. Report by David Byron.
69 * THANKS, NEWS: Update.
71 2007-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
73 * lib/depcomp (aix): Rewrite depmode in the spirit of the tru64
74 one. Fixes failure to catch dependencies with libtool and xlc
75 in case of enable_static=no (which is the default on AIX without
77 * tests/depcomp7.test: Run test once with --disable-shared and
78 once with --disable-static, to expose failure systematically.
81 2007-03-29 Stepan Kasal <kasal@ucw.cz>
82 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
84 * automake.in (handle_LIBOBJS_or_ALLOCA): Fix the error message.
85 * tests/pr401.test: Update to expose the error.
86 * tests/pr401b.test: Likewise.
87 * tests/pr401c.test: Likewise.
89 2007-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
91 * automake.in (scan_autoconf_config_files): Warn about leading
92 `./' in config file names.
93 * tests/canon-name.test: New test.
94 * tests/Makefile.am: Update.
96 Suggestion by Claudio Fontana.
98 * tests/yacc6.test: Add the generated headers to `BUILT_SOURCES'
99 as documented in the manual. Fixes parallel make failure.
100 Report by Dieter Jurzitza.
103 * ChangeLog, TODO, tests/exdir3.test: Fix copyright notice.
105 * TODO: Kill a couple of outdated items.
106 * tests/exdir3.test: New test.
107 * tests/Makefile.am: Update.
109 2007-01-27 Bruno Haible <bruno@clisp.org>
111 * doc/automake.texi (Multiple Outputs): Fix the multiple outputs
112 with locking example.
114 2007-01-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
116 * doc/automake.texi (Subpackages): Fix ambiguous wording.
117 Report and suggestions by Reuben Thomas.
120 2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
122 * tests/defs.in (is_newest): Cope with multiple newer files.
123 * NEWS: mention `install-sh -C'.
125 2006-12-25 Paul Eggert <eggert@cs.ucla.edu>
127 * lib/install-sh (initialize_posix_glob): New var.
128 Use it instead of setting posix_glob inline.
129 (posix_glob): Use '?'/''/: instead of ''/yes/no, for convenience.
130 (cmpprog, CMPPROG): New vars, since we use cmp rather than the diff
132 Use LC_ALL before invoking 'ls' when we depend on its output format.
133 Don't use awk; just use the shell's builtin features.
134 Clean up $dsttmp if -C detects no installation is needed.
135 * tests/defs.in (is_newest): Renamed from is_younger; the new
136 name is more accurate. All uses changed.
137 (old_timestamp): New var.
138 * tests/instsh2.test: Rewrite to avoid the need for sleeping.
140 2006-12-25 Akim Demaille <akim@epita.fr>
142 * lib/install-sh: Implement install-sh -C.
143 (This patch is the remaining part of the patch proposed in
144 <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
145 (usage): Document it.
146 (copy_on_change): New var.
147 * tests/defs.in (is_younger): New function.
148 * tests/instsh2.test: Check install-sh -C.
150 2006-12-24 Paul Eggert <eggert@cs.ucla.edu>
152 * lib/install-sh: Fix typo in previous patch for handling --.
153 Use more-consistent style for ';;'.
154 Prefer || to if-then-else-:.
155 * tests/install2.test: Rework to avoid set -e problems.
157 2006-12-24 Akim Demaille <akim@epita.fr>
159 Simplify install-sh and its test. This shouldn't change any behavior.
160 (This patch is a subset of the patch proposed in
161 <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.)
162 * lib/install-sh (usage): Use usual GNU style.
163 (dstarg): Rename as...
164 (dst_arg): this for consistency.
165 Simplify quoting of assignments.
167 Don't use '\' to continue commands: && suffices.
168 Remove useless "continue" in the argument processing,
169 and factor the shifts.
170 * tests/defs.in: Some improvements to make it set -e clean.
171 Use the traditional ":" trick to protect loops from being empty.
172 Remove an empty straightforward piece of code prepared to define
173 additional variables.
174 Use test instead of [], for consistency.
175 * tests/install2.test: Use set -e, to simplify code.
177 2006-12-20 Reuben Thomas <rrt@sc3d.org> (tiny change)
179 * doc/automake.texi: Fix typo.
181 2006-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
183 * doc/Makefile.am: Use $(MAKE) $(AM_MAKEFLAGS) for building
184 amhello, to prevent gmake from invoking make with MAKEFLAGS
185 it does not understand.
186 Report by Patrick Welche.
188 * lib/gnupload: Revert last change. Add pointer to upload
189 instructions of the GNU Maintenance Instructions.
190 Suggestion by Karl Berry.
192 2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
194 * lib/gnupload: Add missing 'gnu' to example URL.
195 Report by Karl Berry.
197 2006-10-28 Bobby Jack <bobbykjack@yahoo.co.uk> (tiny change)
199 * doc/automake.texi (amhello Explained): autoconf creates
200 configure, not configure.ac.
203 2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
205 * doc/automake.texi (Dist, Dependency Tracking Evolution):
207 * lib/Automake/Condition.pm: Likewise.
208 * lib/Automake/DisjConditions.pm: Likewise.
209 * lib/Automake/ItemDef.pm: Likewise.
210 * lib/Automake/Options.pm: Likewise.
211 * lib/Automake/Rule.pm: Likewise.
212 * lib/Automake/VarDef.pm: Likewise.
213 * lib/Automake/Variable.pm: Likewise.
214 * lib/Automake/Wrap.pm: Likewise.
215 * lib/Automake/XFile.pm: Likewise.
216 * m4/substnot.m4: Likewise.
218 2006-10-16 Alexandre Duret-Lutz <adl@gnu.org>
220 * lib/gnupload: Update to version 1.1 of directive file.
222 2006-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
224 * lib/am/depend2.am (%SOURCEFLAG%): New substitution, goes
225 right before the expanded source file name.
226 * automake.in (%sourceflags): New global: per-extension flag
227 to denote that the next compiler argument is the source file.
228 (scan_autoconf_traces): Trace AC_FC_SRCEXT; initialize
229 %sourceflags accordingly.
230 (handle_single_transform): Store source file extension in...
231 (%lang_specific_files): ...this and...
232 (handle_languages): ...adjust here. Pass flag in SOURCEFLAG.
233 * doc/automake.texi (Optional): Add AC_FC_SRCEXT.
234 (Fortran 9x Support): Update.
235 * tests/fort2.test: New test.
236 * tests/Makefile.am: Adjust.
237 * NEWS, THANKS: Update.
238 Suggested by Steven G. Johnson.
241 * automake.in (lang_f77_rewrite, lang_fc_rewrite)
242 (lang_ppfc_rewrite, lang_ppf77_rewrite, lang_ratfor_rewrite):
243 return `lang_sub_obj' to support subdir-object mode for the
245 * tests/fort4.test, tests/fort5.test: New tests.
246 * tests/Makefile.am: Update.
247 * NEWS, THANKS: Update.
248 Report by Davyd Madeley and Shannon L. Brown.
250 * lib/am/header-vars.am (pkglibexecdir): New variable.
251 * automake.in (%standard_prefix): Add it.
252 * doc/automake.texi (Uniform): Document it.
253 (Program Sources): Adjust.
255 * tests/libexec.test: New test.
256 * tests/Makefile.am: Update.
257 Suggested by Eric Blake.
259 2006-10-15 Alexandre Duret-Lutz <adl@gnu.org>
261 * lib/gnupload: Update to version 1.1 of directive file.
263 * configure.ac, NEWS: Bump version to 1.10a.
265 * configure.ac, NEWS: Bump version to 1.10.
266 * doc/automake.texi (Releases): Update for 1.10.
268 * lib/config.sub, lib/texinfo.tex: New upstream versions.
270 * lib/am/depend2.am: Typo.
271 * lib/depcomp (scriptversion): Bump, to account for recent changes.
273 * doc/automake.texi (Examples): Introduce the example, and point
275 (Hello): Remove this obsolete node.
277 2006-10-15 Hans Ulrich Niedermann <hun@n-dimensional.de>
278 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
281 * lib/am/distdir.am (distdir): filename-length-max check is not
282 done in sub-packages.
283 * doc/automake.texi (Options): Document this.
284 * tests/fn99subdir.test: New test.
285 * tests/Makefile.am: Update.
288 2006-10-14 Alfred M. Szmidt <ams@gnu.org> (tiny change)
290 * doc/automake.texi (Third-Party Makefiles): Fix typo.
293 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
295 * aclocal.in (write_aclocal): Improve warning for mismatched
298 * automake.in: For preprocessed assembler, add `$(DEFS)
299 $(DEFAULT_INCLUDES) $(INCLUDES)' to the compile rule.
300 * doc/automake.texi (Assembly Support): Update.
302 Suggested by Thomas Schwinge and Ralf Corsepius.
305 * automake.in (output_flag): Set to `-o' for Assembler and
306 preprocessed Assembler, assuming that all understand `-c -o'.
307 * THANKS, NEWS: Update.
308 * tests/subobj10.test: New test.
309 * tests/Makefile.am: Update.
310 Report by Thomas Schwinge.
312 * automake.in (%_macro_for_cond): New variable.
313 (cond_stack_if): Use it for better error message about
314 missing dependency tracking conditionals.
315 * tests/asm2.test: New test, modeled after asm.test.
316 * tests/Makefile.am: Adjust.
317 Report by Ralf Corsepius.
319 * doc/automake.texi (Options): `no-dependencies' is similar
320 to `--ignore-deps', not `--include-deps'.
321 * m4/as.m4 (AM_PROG_AS): If `no-dependencies', do not invoke
323 * tests/nodep2.test: New test.
324 * tests/Makefile.am: Adjust.
326 * automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the
327 LIBOBJDIR, then we should not add a DEPDIR prefix.
328 * tests/pr401.test: Update test.
329 * tests/pr401b.test: Likewise.
330 * tests/pr401c.test: Likewise.
331 Report by Jim Meyering and Eric Blake.
333 * lib/depcomp (gcc3): Put dependency extraction flags before the
334 `-c' flag, so they appear at the same position as in %FASTDEP%
335 mode in depend2.am. Fixes build failure for FreeBSD's c89,
336 which ignores unknown options only after the first non-option.
337 Bug report against M4 by Nelson H. F. Beebe.
339 2006-10-14 Bruno Haible <bruno@clisp.org>
340 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
342 * automake.in ($seen_gettext_intl): New variable.
343 (handle_gettext): Consider it.
344 (scan_autoconf_traces): Add AM_GNU_GETTEXT_INTL_SUBDIR to the list.
345 Set $seen_gettext_intl when it is seen.
346 * doc/automake.texi (gettext, Optional): Update.
347 * tests/gettext3.test: New test.
348 * tests/Makefile.am: Update.
350 2006-10-14 Paul Eggert <eggert@cs.ucla.edu>
352 * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
353 which incorrectly sets the mode of an existing destination
354 directory. In some cases the unpatched install-sh could do the
355 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
356 system. We hope this is rare in practice, but it's clearly worth
357 fixing. Problem reported by Alex Unleashed in
358 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
359 Also, don't bother to check for -m bugs unless we're using -m;
360 suggested by Stepan Kasal.
362 2006-10-14 Geoffrey Keating <geoffk@apple.com> (tiny change)
364 * m4/multi.m4: Non-default multilibs may be cross compilation.
366 2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
368 * automake.in: Fix some typos in comments.
369 * lib/Automake/Variable.pm: Likewise.
371 2006-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
373 * automake.in (handle_compile): Use subst, for maintainer-check.
375 2006-10-09 Andreas Köhler <andi5.py@gmx.net> (tiny change)
378 * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES):
379 Fix typo: `config.status.lineno', not `configure.status.lineno'.
381 2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
383 * NEWS: Mention that `install-sh' needs executable permissions.
384 * tests/nobase.test: Adjust.
385 Report by Patrick Welche.
387 2006-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
389 * lib/am/check.am (check-TESTS): Fix matching of XFAIL_TESTS
390 against currently running test for the first and last element
391 of $(TESTS): add spacing so Solaris make does VPATH expansion
393 * tests/check6.test: Update.
395 2006-08-30 Paul Eggert <eggert@cs.ucla.edu>
398 * lib/am/depend2.am (?GENERIC?%EXT%.o, ?!GENERIC?%OBJ%):
399 Abbreviate output a bit by not bothering to quote the .Po file
400 name (the quoting doesn't suffice in general anyway), and by not
401 bothering to remove junk .Tpo files (as they'll be removed later).
402 This also lets 'make' run faster by avoiding a subshell.
404 2006-08-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
406 * automake.in: Fortran 77 and Fortran should require variables
407 F77 resp. FC to be defined, and suggest the respective Autoconf
409 * tests/fort1.test: New test.
410 * tests/Makefile.am: Update.
412 * tests/ext.test: Add extensions f95, F90, F95.
414 2006-08-30 Alexandre Duret-Lutz <adl@gnu.org>
417 * automake.in (handle_compile) <$default_includes>: Do not output
418 the same -I twice. Use @am__isrc@ instead of ` -I$(srcdir)'.
419 * m4/init.m4: Define am__isrc as ` -I$(srcdir)' only in
420 non-VPATH builds since we always have `-I.'.
421 * tests/subpkg.test: Make sure config headers are found in VPATH
422 and non-VPATH builds.
424 2006-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
426 * doc/automake.texi, lib/Automake/Rule.pm: Fix some typos.
427 * NEWS: Likewise. Clarify that only one LIBOBJDIR is supported.
429 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org>
431 * lib/Automake/ChannelDefs.pm (usage): Mention that -Wportability
432 is enabled by default with gnu and gnits strictness.
433 Report from Bruno Haible.
435 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
437 * NEWS: Mark de-ANSI-fication as being obsolete.
438 * doc/automake.texi: Likewise.
440 2006-08-21 Stepan Kasal <kasal@ucw.cz>
442 * Makefile.am, THANKS: Fix typos.
444 2006-08-20 Alexandre Duret-Lutz <adl@gnu.org>
446 * NEWS, configure.ac: Bump version to 1.9c.
448 * NEWS, configure.ac: Bump version to 1.9b.
450 * Makefile.am (maintainer-check): Check for mkdir_p in automake.in
452 * automake.in (require_build_directory): Use MKDIR_P, not mkdir_p.
454 * m4/mkdirp.m4: Typo in previous patch.
456 * Makefile.am (maintainer-check): Fine-tune the "Unescaped @"
457 check so it doesn't complain about the '@ 's in node "Standard
458 Directory Variables".
460 * INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New
463 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with
464 $(top_builddir)/ if it is a relative directory.
466 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
468 * lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use
469 ylwrap. Suggested by Akim Demaille long ago, to ease maintenance.
470 * automake.in (handle_languages): Do not define MORE-THAN-ONE.
471 (yacc_lex_finish_helper, lang_yacc_finish, lang_lex_finish): Always
473 * doc/automake.texi (Auxiliary Programs, Yacc and Lex): Update the
474 documentation of ylwrap.
475 * tests/lex.test, tests/lex4.test, tests/mmodely.test,
476 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
477 tests/yaccpp.test: Adjust.
479 * doc/automake.texi (Releases): Update statistics until 1.9.6.
481 * Makefile.am (maintainer-check): Check for mkdir_p.
482 * automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P.
483 * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
484 lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
485 lib/am/mans.am, lib/am/progs.am, lib/am/python.am,
486 lib/am/scripts.am, lib/am/texinfos.am: Use MKDIR_P instead of mkdir_p.
487 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not
488 as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use
489 mkdir_p without defining MKDIR_P.
490 * tests/distdir.test, tests/instman.test, tests/txinfo21.test:
493 * Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm.
494 * configure.ac (ACLOCAL): Use --acdir=m4 in addition to
495 -I m4. Running aclocal during the rebuild rules will fail
496 if the default acdir does not exist.
498 * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4:
499 Require Autoconf 2.60 instead of some intermediate development
502 * doc/automake.texi (Standard Directory Variables): Fix multitable
504 (Autotools Introduction): Fix @uref usage.
506 2006-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
508 * doc/automake.texi: Fix some typos in the introduction,
509 adjust some spacing; spell `GNU Build System' consistently.
510 (menu): Unify node naming.
511 (Standard Directory Variables): Clarify that this list is not
513 (DESTDIR): Fix example.
515 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
517 * doc/automake.texi (Autotools Introduction) New chapter.
518 Thanks to Ben Pfaff and Ralf Wildenhues for comments.
519 (Auxiliary Programs, Install, Dist, Third-Party Makefiles)
520 (distcleancheck): More cross references.
521 * doc/amhello/configure.ac, doc/amhello/README,
522 doc/amhello/Makefile.am, doc/amhello/src/Makefile.am,
523 doc/amhello/src/main.c: New files.
524 * doc/Makefile.am (dist_noinst_DATA): Distribute them.
525 ($(srcdir)/amhello-1.0.tar.gz): New rule.
526 (dist_doc_DATA): Install amhello-1.0.tar.gz.
527 * Makefile.am (SUBDIRS): Update comment.
529 2006-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
531 * doc/automake.texi: Fix some typos.
533 2006-08-14 Jonathan Higa <jthiga@gmail.com>
535 * automake.in: Register "Unified Parallel C" as language.
536 (lang_upc_rewrite): New function.
537 (resolve_linker): Consider UPCLINK.
538 * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest
539 AM_PROG_UPC for UPC and UPCFLAGS.
540 * m4/upc.m4: New file.
541 * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case.
542 * m4/Makefile.am (dist_m4data_DATA): Add upc.m4.
543 * doc/automake.texi (Unified Parallel C Support): New node.
544 (Public macros): Mention AM_PROG_UPC.
545 (Program and Library Variables, Flag Variables Ordering):
547 * tests/upc.test, tests/upc2.test, tests/upc3.test: New file.
548 * tests/Makefile.am (TESTS): Add them.
549 * tests/ext.test: Also test upc files.
551 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
553 * doc/automake.texi (Scripts): Fix some errors in previous patch.
555 * doc/automake.texi (Scripts): Revamp. Show an example of script
556 built from configure.ac. Discuss CLEANFILES and EXTRA_DIST for
559 * m4/init.m4: Suggest fixing the call to AC_INIT when
560 AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined. This is for
561 newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments.
562 * tests/init.test: New file.
563 * tests/Makefile.am (TESTS): Add it.
565 2006-08-04 Stepan Kasal <kasal@ucw.cz>
567 * automake.in (dist_dirs, fill_dist_dirs): Remove.
568 * lib/am/distdir.am (DISTDIRS): Remove.
569 * tests/distdir.test, tests/pr2.test: Do not grep, use
570 `make distdir' instead.
572 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
574 * doc/automake.texi (Conditionals): Split in two sections, "Usage"
575 and "Portability", and add a third one, "Limits" to explain how
576 conditional definitions inside multi-lines definitions can be
578 * automake.in (handle_options): Do not assume that
579 AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional
580 definitions of AUTOMAKE_OPTIONS.
581 Report from Bas Wijnen.
582 * tests/amopt.test: New test.
583 * tests/Makefile.am (TESTS): Add it.
585 * aclocal.in (install_file): Cannot use /dev/null while diffing
586 new files, because Tru64's diff do not handle /dev/null. So
587 create an empty destination file before running diff on a new
588 file, and erase it afterward. Fall back to using /dev/null only
589 if we cannot create this file.
590 Report and initial patch from Ralf Wildenhues.
591 (unlink_tmp): New function.
592 * test/acloca18.test: Make sure the empty file has been erased.
594 2006-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
596 * automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects,
597 do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR,
598 to help BSD Make find the files also in a VPATH build.
599 Also return the same path, possibly prefixed, for correct
601 * tests/pr401.test: Update to expose wrong depdir computation.
602 Rewrite to not use the same file name for library object and
604 * tests/pr401b.test, tests/pr401c.test: Likewise.
606 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
608 * lib/install-sh: Don't incorrectly claim that this implementation
609 can install only one file at a time.
610 (doit_exec): New var, for using 'exec' if possible, to save a process.
611 (test_mode, intermediate_mode): Remove.
612 (mode): Check for IFS or globbing characters in mode, since they might
613 cause weird behavior with the other changes below. All later uses
614 of '"$mode"' changed to '$mode', since the ""s no longer matter.
615 Use octal modes if the invoker specifies an octal mode, and use
616 octal umask values if 'umask' outputs octal values; this is more
617 likely to work with older operating systems since Automake uses
618 octal modes, and also works around a bug with HP-UX 11.23
619 'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in
620 <http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>.
621 (cp_umask, mkdir_umask): New variables, to avoid
622 temporarily creating files or directories with too-permissive modes.
623 (mkdir_mode): Use the FreeBSD 'install' method for computing modes of
624 intermediate directories; this is safer.
625 (posix_mkdir): Also test mkdir -p -m ... by making a directory in
626 /tmp and checking the resulting mode with 'ls', to catch a bug in
627 HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message.
628 Use ':' for true, not 'true'; this is a bit faster on
629 traditional implementations.
631 2006-07-09 Jim Meyering <jim@meyering.net>
633 * lib/depcomp: "in in" -> "in" in comment.
635 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
637 * tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr,
638 for consistency with the recommendation prompted by this report:
639 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
641 2006-06-24 Stepan Kasal <kasal@ucw.cz>
642 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
644 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to
645 `'$(MKDIR_P)'', so that it retains the per-directory value
646 computed by config.status.
647 * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from
648 a changed directory. Bugs reported by Ralf Menzel.
651 2006-06-24 Eric Dorland <eric@debian.org>
652 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
654 * automake.in (scan_texinfo_file): Fix matching file extension.
655 * tests/txinfo31.test: New test.
656 * tests/Makefile.am: Update.
658 2006-06-07 Alexandre Duret-Lutz <adl@gnu.org>
660 * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.
662 2006-06-07 Stepan Kasal <kasal@ucw.cz>
664 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
666 2006-06-06 Stepan Kasal <kasal@ucw.cz>
667 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
669 * lib/am/distdir.am: Do not call $(mkdir_p) for each
670 distributed file, collect them and create them in one run,
671 and strip $(srcdir) and $(top_srcdir) all at once.
672 Fix some comment typos.
674 2006-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
676 * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
677 7.4.4m may omit the first included header dependency information
678 with `-MDupdate'. Refine test to catch this.
680 * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
683 * tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3
684 requires `config.rpath' to be present, and automake now enforces
685 this. Test this, but only if the gettext installation works and
686 is recent enough to provide this diagnosis.
687 * tests/gettext.test: Provide a dummy `config.rpath' for all
689 * tests/gettext2.test, tests/subcond.test: Likewise.
691 * tests/pr401.test: Replace "perl -i" with sed and mv, for
693 * tests/pr401b.test, tests/pr401c.test, tests/python11.test,
694 * tests/yacc6.test, tests/yacc8.test: Likewise.
696 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
697 plain `grep' on the Makefile, as its line length may exceed that
698 for grep. Bug report against coreutils by Sam Sirlin.
701 2006-05-26 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
703 * doc/automake.texi (Options): Add anchor `tar-formats'.
705 2006-05-25 Noah Misch <noah@cs.caltech.edu>
707 * lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides
708 ENOLCK. Only mention `make -j' when applicable. Only raise
709 fatal errors when `make -j' is involved. Improve error message.
711 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
713 * lib/Automake/Configure_ac.pm (find_configure_ac): Use
714 `$configure_in' instead of `configure.in', to preserve
716 * lib/Automake/Configure_ac.pm: Add note that Automake owns
718 * lib/Automake/Channels.pm: Likewise.
719 * lib/Automake/FileUtils.pm: Likewise.
720 * lib/Automake/Struct.pm: Likewise.
722 2006-05-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
724 * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
725 New upstream versions.
727 2006-05-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
729 * doc/automake.texi (Auxiliary Programs): Fix URL to GCC
730 repository, they use SVN now.
732 2006-05-13 Werner Lemberg <wl@gnu.org>
734 * lib/gnupload: Add support for savannah.gnu.org and
737 2006-05-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
739 * lib/Automake/Channels.pm, lib/Automake/Condition.pm,
740 lib/Automake/DisjConditions.pm, lib/Automake/Options.pm,
741 lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos.
743 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
745 * lib/install-sh: Sync from Autoconf, as follows:
746 Don't use 'path' to talk about file names,
747 as per GNU coding standards. Close a race condition reported by Ralf
748 Wildenhues and Stepan Kasal. There is still a race condition
749 on hosts that predate Posix 1003.1-1992, but we can't help this.
750 Don't mishandle weird characters like space on pre-Posix hosts.
751 Invoke mkdir at most once per dir arg on pre-Posix hosts.
753 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
755 * tests/missing.test, tests/missing2.test: Do not require
757 * Makefile.am (maintainer-check): Make sure `required=' does not
758 follow `. ./defs' in the tests.
760 * tests/ansi10.test: Use AC_PROG_CC_STDC. Fix test that
761 ac_cv_prog_cc_stdc isn't just used by Automake code in
763 * tests/ansi6.test, tests/ansi7.test: Likewise.
764 * tests/ansi9.test: Likewise. Do not override by setting
765 $U and $(ANSI2KNR) at `make' time; that will be fragile.
766 * tests/libobj8.test: Use AC_PROG_CC_STDC.
767 * tests/subobj3.test: Likewise. Use `set -e'.
769 * lib/install-sh: Initialize IFS, so field splitting isn't
771 * lib/mkinstalldirs: Likewise.
773 * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
774 the path of the prerequisite added; IRIX 6.5 make does not add
775 it, Solaris 2.6 make is inconsistent about adding it. Fixes
778 * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
779 files in the source tree. Fixes failures with HP-UX and Tru64
782 * lib/am/ansi2knr.am (ansi2knr): Rename target as...
783 (./ansi2knr): ...this, for BSD make.
784 (%ANSI2KNR-DIR%/ansi2knr): Adjust.
786 2006-05-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
788 * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
789 /bin/sh -e issue with failing commands in if clauses.
791 * tests/defs.in (Be Bourne compatible): Update from current
794 * configure.ac: Recommend perl-5.8.2.
795 * tests/automake.test: Do not fail because of buggy Getopt::Long
798 * tests/longlin2.test: Do not use `grep' on Makefile.am:
799 it has long lines and is thus not a text file; AIX 5.1 grep
800 fails to scan non-plain patterns from long lines.
802 * tests/overrid.test: Change all regexes for warning messages to
803 match after a colon, so that the prepended file names do not
804 cause false matches. Tighten overrides regex. Fix typo
805 `cleam-am-local' -> `clean-am-local'.
807 * tests/java.test: `configure' uses a trap, so use `(exit 77);
808 exit 77' to portably set the exit status similar to AS_EXIT.
809 * tests/fn99.test: propagate nonzero exit status from subshell.
811 * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
812 if ``pwd`' contains the string `-p'. Create the wrapper in a
813 subdirectory so that `.' in $PATH does not lead to an endless
816 * lib/depcomp (ia64hp): Rename dependency style to..
817 (hp2): ..this, as it works with aCC on HPPA, too; adjust
818 comment. Report by Olivier Fourdan (PR automake/481).
821 * tests/aclocal7.test: Add `$sleep's between file touching
822 and automake resp aclocal+automake invocations, to ensure
823 they complete with a time stamp strictly later than the touched
826 * lib/missing: Remove superfluous quotes. Replace all uses of
827 `[' by `test', for consistency, and for..
828 * tests/missing5.test: ..this new test.
829 * tests/Makefile.am: Update.
831 * lib/missing (sed_minuso, sed_output): New variables.
832 (autom4te, help2man, makeinfo): Use them. Unifies detection of
833 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
834 Fixes `missing' to detect `--output' for help2man. Fixes
835 PR automake/483. Report by Dennis J. Linse.
836 (autom4te): Document in `missing --help'.
839 2006-04-26 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
841 * doc/automake.texi (Dependency Tracking Evolution): Fix typo.
843 2006-04-25 Stepan Kasal <kasal@ucw.cz>
845 * lib/install-sh: Simplify the expr implementation of dirname.
847 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
849 * lib/install-sh: Handle --, and diagnose unknown options.
850 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set
851 mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with
852 the other ways that mkdir_p might be set.
854 2006-04-21 Alexandre Duret-Lutz <adl@gnu.org>
856 * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
857 (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
858 * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
859 (write_aclocal): Output a check for Autoconf's version in aclocal.m4.
860 Doing so ensures that users cannot build configure and Makefiles
861 with two different autoconf versions. Report from Noah Misch.
862 * tests/missing4.test: New file.
863 * tests/Makefile.am (TESTS): Add it.
865 2006-04-20 Paul Lunau <temp@lunau.me.uk> (tiny change)
866 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
868 * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
869 failed, instead of when the last one failed (PR automake/488).
870 Report from Paul Lunau.
871 * tests/dejagnu4.test: Update to expose this.
874 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
876 * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
877 TABs as well as spaces. Fixes PR automake/490.
878 * tests/check6.test: New test.
879 * tests/Makefile.am, THANKS: Update.
880 Report from Diab Jerius <djerius@cfa.harvard.edu>.
882 2006-04-17 Stepan Kasal <kasal@ucw.cz>
884 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
885 description; eliminate the duplicate error message.
886 * doc/automake.texi (@direntry): `Invoking Automake' is the name
887 of the usage node for `automake'
888 * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the
891 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
893 * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
894 because it uses `datarootdir'. Bump copyright year and serial.
896 2006-04-10 Stepan Kasal <kasal@ucw.cz>
900 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
902 * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
903 (_gen_varname): Use _hash_values, and return a flag indicating whether
904 the variable name was generated or reused.
905 (transform_variable_recursively): Do not redefine variables that
906 are reused, and try to reuse the variable being transformed.
907 * tests/check2.test: Make sure TESTS hasn't been redefined.
908 * tests/check5.test, tests/exeext4.test: Make sure variables have
910 * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.
912 * automake.in (%ignored_configure_vars): New variable.
913 (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill
914 %ignored_configure_vars.
915 (define_configure_variable): Declare ignored configure variables
916 as VAR_SILENT. Do not special-case AMDEPBACKSLASH and ANSI2KNR
918 * m4/substign.m4: New file.
919 * m4/Makefile.am (dist_m4data_DATA): Add substign.m4.
920 * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477).
921 * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH.
922 * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR.
923 * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined.
924 * tests/amsubst.test: New file.
925 * tests/Makefile.am (TESTS): Add it.
927 2006-04-09 Stepan Kasal <kasal@ucw.cz>
928 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
930 * automake.in (handle_single_transform): Preserve directories in
932 * tests/suffix12.test: New test.
933 * tests/Makefile.am (TESTS): Add it.
934 Report from John Ratliff.
936 2006-03-25 Mike Frysinger <vapier@gentoo.org> (tiny change)
937 Alexandre Duret-Lutz <adl@gnu.org>
939 * aclocal.in ($m4_include_rx): Do not recognize `include', and
940 adjust scan_configure_dep and scan_file accordingly.
941 (scan_configure_dep): Do not search white lines.
942 (scan_file): Strip comments from current line after checking
943 for serial, so that aclocal does not trip on `m4_include' macros
944 in comments. Report from Mike Frysinger.
945 * tests/acloca21.test: New file.
946 * tests/Makefile.am (TESTS): Add it.
948 2006-03-24 Stepan Kasal <kasal@ucw.cz>
950 * tests/mmodely.test: Fix the test on systems with no lex.
952 2006-03-23 Stepan Kasal <kasal@ucw.cz>
954 * automake.in (libtool_new_api): Fix a typo in the comment.
955 * lib/Automake/Makefile.am (Config.pm): Likewise.
956 * lib/am/depend2.am: Likewise.
957 * tests/xsource.test: With `set -e', `|| exit 1' is no longer
960 2006-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
962 * tests/depcomp6.test, tests/depcomp7.test: Change back to
963 using `$MAKE && exit 1', but make sure the last command in the
966 2006-03-21 Clifford Wolf <clifford@clifford.at> (tiny change)
967 Stepan Kasal <kasal@ucw.cz>
968 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
970 * aclocal.in (parse_arguments): Added wildcard support to the
972 * doc/automake.texi (Macro search path): Document it.
973 * tests/dirlist2.test: New test.
974 * m4/dirlist, tests/Makefile.am: Adjust.
976 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
978 * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)'
979 to `AC_PROG_OBJC' if provided, to fix Objective C depmode
981 * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for
983 * tests/ext.test: Adjust.
984 * tests/objc.test, tests/objc2.test: New tests.
985 * tests/Makefile.am: Adjust.
986 * doc/automake.texi (Objective C Support): New node.
987 (Support for Other Languages): Adjust.
989 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
991 * lib/Automake/RuleDef.pm (DESCRIPTION): Typo.
993 * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic
994 to work with `set -e'.
996 * tests/depcomp6.test, tests/depcomp7.test: New tests,
997 for general `depcomp' functionality, with and without
998 `subdir-objects', with and without `libtool'.
999 * tests/Makefile.am: Adjust.
1001 * aclocal.in (write_aclocal): Unlink `aclocal.m4' before
1002 writing into it, to break a symlinked file.
1003 * tests/acloca20.test: New test.
1004 * tests/Makefile.am: Updated.
1006 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1008 Allow package trees (packages with subpackages) to share
1009 common distributed auxiliary files (and directories) that
1010 reside within a subpackage.
1012 * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if
1013 `$(distdir)' already exists.
1014 (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent
1015 removal of subpackage trees for distribution.
1016 * tests/subpkg3.test: New test.
1017 * tests/Makefile.am: Update.
1019 2006-03-18 Alexandre Duret-Lutz <adl@gnu.org>
1021 * tests/check5.test, tests/nobast.test: Fix $MAKE and rm
1022 invocations to please maintainer-check.
1024 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
1026 * automake.in (lang_c_rewrite): Typo in previous change.
1027 * tests/ccnoco2.test: New file.
1028 * tests/Makefile.am (TESTS): Add ccnoco2.test.
1030 * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
1031 a 'portability' warning, so that people can ignore it. Suggested
1034 * lib/Automake/ChannelDefs.pm: Make -Wportability the default in
1035 gnu and gnits modes.
1036 * doc/automake.texi (Invoking Automake): Adjust.
1038 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1040 * doc/automake.texi (Yacc and Lex): Document that `.ypp' and
1041 `.lpp' file extensions are recognized.
1043 2006-02-21 Alexandre Duret-Lutz <adl@gnu.org>
1045 * doc/automake.texi (Complete, Extending aclocal, Public macros)
1046 (Python, Conditionals, API versioning): Always quote macro arguments.
1047 Report from Stepan Kasal.
1049 2006-02-16 Alexandre Duret-Lutz <adl@gnu.org>
1051 * doc/automake.texi (Python): More examples.
1053 2006-02-05 Alexandre Duret-Lutz <adl@gnu.org>
1055 * doc/automake.texi (distcleancheck): Fix bad wording. Report
1057 (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS).
1059 2006-01-29 Alexandre Duret-Lutz <adl@gnu.org>
1061 Append $(EXEEXT) to programs that may be listed in TESTS.
1062 Report from Simon Josefsson.
1064 * automake.in (%known_programs): New global.
1065 (initialize_per_input): Reset it.
1066 (append_exeext): Take a predicate as first argument to select
1067 the filename to rewrite.
1068 (handle_programs): Fill %known_programs.
1069 (handle_tests): Append $(EXEEXT) to all tests that are in
1071 (am_install_var): Update call to append_exeext.
1072 * doc/automake.texi (EXEEXT): TESTS is also rewritten.
1073 (Tests): More about the difference between check_PROGRAMS and TESTS.
1074 Give an example of TEST_ENVIRONMENT.
1075 * tests/cond32.test: Augment with a nested condition.
1076 * tests/exeext4.test: Also check TESTS.
1077 * tests/check5.test: New file.
1078 * tests/Makefile.am (TESTS): Add check5.test.
1080 2006-01-12 Paul Eggert <eggert@cs.ucla.edu>
1082 * lib/install-sh (dstdir): Don't use semicolons inside { } in
1083 sed scripts, as Posix says it's not portable.
1084 * lib/missing (file): Likewise.
1085 * lib/am/distdir.am (distcheck): Likewise.
1086 * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
1087 * tests/distcom2.test, tests/distcom3.test: Likewise.
1088 * tests/distcom4.test, tests/distcom5.test: Likewise.
1089 * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
1091 2006-01-12 Alexandre Duret-Lutz <adl@gnu.org>
1093 * ChangeLog: Move 2004's entries to ...
1094 * ChangeLog.04: ... this new file.
1095 * Makefile.am (EXTRA_DIST): Add ChangeLog.04.
1097 * tests/txinfo13.test: Test fix below.
1099 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1101 * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted
1102 extra files in distribution. Reported by Vincent Lefevre.
1104 2006-01-06 Alexandre Duret-Lutz <adl@gnu.org>
1106 * doc/automake.texi (Linking, Program and Library Variables):
1107 Mention the file extensions that usually appear in _DEPENDENCIES,
1108 and point to BUILT_SOURCES and example of _DEPENDENCIES uses. A
1109 couple of people have been listing sources files in _DEPENDENCIES
1112 * doc/automake.texi: Bump copyright year.
1113 * automake.in ($gen_copyright, version): Likewise.
1114 * aclocal.in (write_aclocal, version): Likewise.
1116 2006-01-05 Stepan Kasal <kasal@ucw.cz>
1117 Alexandre Duret-Lutz <adl@gnu.org>
1119 * automake.in (topsrcdir): New global.
1120 (generate_makefile): Compute it.
1121 (fill_dist_dirs): New function extracted from handle_dist.
1122 (handle_dist, handle_configure): Use fill_dist_dirs.
1123 * tests/distdir.test: Test for cases where $(top_srcdir) or
1124 $(srcdir) appear in EXTRA_DIST. Report from Sander Niemeijer.
1126 2006-01-05 Zack Weinberg <zackw@panix.com>
1127 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1129 * lib/depcomp: Add 'ia64hp' dependency style.
1130 Zack's original patch was contributed to GCC on 2005-06-13.
1133 2005-11-01 Stepan Kasal <kasal@ucw.cz>
1135 * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
1136 the code is portable to both POSIX and pre-POSIX shells.
1138 2005-10-17 Alexandre Duret-Lutz <adl@gnu.org>
1140 * tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
1141 suggested by Eric Blake.
1143 2005-10-17 Stepan Kasal <kasal@ucw.cz>
1145 * doc/automake.texi (Program and Library Variables): Typo.
1146 * lib/Automake/Variable.pm (transform_variable_recursively): Typo
1149 2005-10-03 Stepan Kasal <kasal@ucw.cz>
1151 * ChangeLog.03, automake.in, tests/overrid.test: Typos.
1153 2005-10-03 Alexandre Duret-Lutz <adl@gnu.org>
1155 * tests/nobase.test: Exercise previous patch.
1157 2005-10-03 Peter O'Gorman <peter@pogma.com> (tiny change)
1159 * lib/am/distdir.am: Remove $(SHELL) when calling install_sh
1160 * m4/strip.m4: Ditto.
1161 * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
1163 2005-09-13 Paul Eggert <eggert@cs.ucla.edu>
1165 * doc/automake.texi (limitations on file names): New section.
1166 * lib/install-sh: Rewrite to support '*' in file names.
1167 Also, tune so that we don't invoke so many commands in the usual case.
1168 This has the side effect of fixing `install-sh -d' to not fail if it
1169 loses the race in creating the last path component against another
1171 * tests/instspc.test: The "*" test is now fixed.
1173 2005-09-13 Stepan Kasal <kasal@ucw.cz>
1175 * automake.in (Languages) <cppasm>: Fix typo in the comment.
1177 2005-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1179 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
1180 shell in verbose mode.
1182 2005-08-07 Alexandre Duret-Lutz <adl@gnu.org>
1184 * lib/Automake/Variable.pm (variable_value): Do not read the TRUE
1185 value of a conditionally defined variable.
1186 Report from Juergen Leising.
1188 * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
1189 $(MAKE) invocations.
1190 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
1192 * lib/am/texi-vers.am (%STAMPVTI%): Likewise.
1193 * lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
1194 * Makefile.am (maintainer-check): Check for this.
1195 Report from Stepan Kasal.
1197 * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.
1198 Prompted by Stepan Kasal.
1200 2005-08-07 Stepan Kasal <kasal@ucw.cz>
1202 * lib/am/texinfos.am (uninstall-info-am): Call install-info only if
1203 the $(infodir) exists.
1205 2005-07-31 Stepan Kasal <kasal@ucw.cz>
1207 * tests/library3.test: Fix a typo which made the test fail.
1209 2005-07-27 Alexandre Duret-Lutz <adl@gnu.org>
1211 * doc/automake.texi (Linking, Program and Library Variables):
1212 Suggest reserving -l for third-party libraries.
1214 * lib/Automake/Variable.pm (require_variables): Mention aclocal's
1215 search path when suggesting to add a macro in configure.ac.
1216 People are confused when Automake suggests adding a macro (such as
1217 AC_PROG_LIBTOOL) that is already in configure.ac.
1218 * automake.in (require_file_internal): Suggest `automake --add-missing'
1219 for missing files that can be installed.
1220 * tests/library3.test: Adjust.
1222 2005-07-27 Stepan Kasal <kasal@ucw.cz>
1224 * tests/defs.in: When required matches both `*libtool*' and
1225 `*gettext*', check for both m4 files.
1227 * doc/automake.texi (Auxiliary Programs): Fix a typo.
1228 * tests/suffix11.test: Fix a typo.
1229 * tests/colon3.test: s/EGREP/FGREP/.
1231 2005-07-19 Paul Eggert <eggert@cs.ucla.edu>
1233 * tests/instspc.test: Major rewrite to test for many other
1234 problematic file names, e.g., '$', '"', '('. Automake and
1235 Autoconf can't handle many of them, so do not report a failure
1236 if the usual candidates show up.
1238 2005-07-19 Stepan Kasal <kasal@ucw.cz>
1240 * Makefile.am (automake, aclocal): Merge the rules.
1242 2005-07-10 Alexandre Duret-Lutz <adl@gnu.org>
1244 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
1247 2005-07-09 Alexandre Duret-Lutz <adl@gnu.org>
1249 * lib/install-sh: Use IFS=/ to split directories on /, don't translate
1250 / into % as it prevents directory names using %...
1252 2005-07-09 Stepan Kasal <kasal@ucw.cz>
1254 * doc/automake.texi (Public macros): Typo.
1255 * aclocal.in: Typo in comment.
1257 2005-07-09 Zack Weinberg <zack@codesourcery.com> (tiny change)
1259 * lib/depcomp: Handle "#line" markers as well as "# " markers in
1260 "cpp" style, so it can work with newer HP compilers (for their
1263 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
1265 * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
1266 fix an underful hbox.
1267 * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
1268 New upstream versions.
1270 2005-07-01 Alexandre Duret-Lutz <adl@gnu.org>
1272 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
1274 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
1276 * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
1277 lib/am/header-vars.am no longer uses it.
1278 * lib/am/libtool.am (distclean-am, distclean-libtool): Define
1279 if TOPDIR_P is true, not TOPDIR.
1280 Suggested by Stepan Kasal.
1282 * automake.in (read_am_file): Correctly diagnose comments following
1284 * tests/commen10.test: New file.
1285 * tests/Makefile.am (TESTS): Add commen10.test.
1286 Report from Harald Dunkel.
1288 * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead
1290 * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL):
1291 Do not define, they are AC_SUBST_TRACEd by Autoconf.
1292 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c.
1293 * tests/include.test: Call AC_OUTPUT.
1295 2005-06-29 Alexandre Duret-Lutz <adl@gnu.org>
1297 * lib/mkinstalldirs: Fix support for directory name with spaces if
1298 `mkdir -p' does not work.
1299 * tests/Makefile.am (TESTS): Add mkinst3.test.
1300 * tests/mkinst3.test: New file.
1301 Report from Noah Friedman.
1303 * doc/automake.texi (Include, Extending aclocal): Typos.
1304 Report from Karl Berry.
1306 2005-06-28 Stepan Kasal <kasal@ucw.cz>
1307 Alexandre Duret-Lutz <adl@gnu.org>
1309 * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
1310 * tests/txinfo28.test: Set TIME_STYLE.
1311 Report from Vincent Lefevre and James Youngman.
1313 2005-06-24 Alexandre Duret-Lutz <adl@gnu.org>
1315 * lib/Automake/Variable.pm (define, _new): Remember the helper
1316 variable created for the last conditional += on each variable, and
1317 only append further += in the same condition to this last helper
1318 variable, not to older helper variables. This way the order of
1319 the items appended to the variable is preserved.
1320 * tests/cond21.test: Adjust.
1321 * tests/cond38.test: New file.
1322 * tests/Makefile.am (TESTS): Add cond38.test.
1323 Report from Ed Hartnett.
1325 2005-06-22 Alexandre Duret-Lutz <adl@gnu.org>
1327 * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
1329 * automake.in (handle_footer): Do not output an unformatted
1330 definition of SOURCES, it is already done correctly in
1331 generate_makefile. This superfluous definition introduced long
1332 lines in some Makefiles, hence breakages in tools with a limited
1333 line length. Report from Mathias Froehlich.
1335 2005-06-11 Alexandre Duret-Lutz <adl@gnu.org>
1337 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
1338 Fix redirections in previous patch.
1340 2005-06-08 Alexandre Duret-Lutz <adl@gnu.org>
1342 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
1343 Do not backup any file if makeinfo is not installed.
1344 * lib/missing (makeinfo): Do not touch a missing info file.
1345 * tests/txinfo30.test: New file.
1346 * tests/Makefile.am (TESTS): Add txinfo30.test.
1347 Report from Bob Proulx.
1349 * doc/automake.texi (Extending aclocal): Typo.
1351 2005-05-24 Brian Gough <bjg@network-theory.co.uk> (tiny change)
1353 * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
1355 2005-05-15 Alexandre Duret-Lutz <adl@gnu.org>
1357 Fix PR automake/461:
1358 * automake.in (require_build_directory): Canonicalize directories
1359 with different names, such as `foo/bar' and `./foo//bar'.
1360 * tests/subobj9.test: Augment to test that.
1361 Report from Tom Tromey.
1363 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
1365 * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
1366 ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am,
1367 NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure,
1368 configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING,
1369 lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in,
1370 lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp,
1371 lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile,
1372 lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
1373 lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
1374 lib/Automake/Condition.pm, lib/Automake/Config.in,
1375 lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
1376 lib/Automake/FileUtils.pm, lib/Automake/General.pm,
1377 lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
1378 lib/Automake/Location.pm, lib/Automake/Makefile.am,
1379 lib/Automake/Options.pm, lib/Automake/Rule.pm,
1380 lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
1381 lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
1382 lib/Automake/Version.pm, lib/Automake/Wrap.pm,
1383 lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
1384 lib/Automake/tests/DisjConditions.pl,
1385 lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
1386 lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
1387 lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
1388 lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
1389 lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
1390 lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
1391 lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
1392 lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
1393 lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
1394 lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
1395 lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
1396 lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
1397 lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
1398 lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
1399 lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
1400 m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
1401 tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
1402 tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
1403 tests/acloca17.test, tests/acloca18.test, tests/acloca19.test,
1404 tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test,
1405 tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test,
1406 tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test,
1407 tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test,
1408 tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test,
1409 tests/acsubst.test, tests/acsubst2.test, tests/all.test,
1410 tests/alloca.test, tests/alloca2.test, tests/alpha.test,
1411 tests/alpha2.test, tests/amassign.test, tests/ammissing.test,
1412 tests/ansi.test, tests/ansi10.test, tests/ansi2.test,
1413 tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test,
1414 tests/ansi5.test, tests/ansi6.test, tests/ansi7.test,
1415 tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test,
1416 tests/asm.test, tests/autohdr.test, tests/autohdr2.test,
1417 tests/autohdr3.test, tests/autohdr4.test, tests/automake.test,
1418 tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test,
1419 tests/auxdir4.test, tests/backsl.test, tests/backsl2.test,
1420 tests/backsl3.test, tests/backsl4.test, tests/badline.test,
1421 tests/badopt.test, tests/badprog.test, tests/block.test,
1422 tests/bsource.test, tests/canon.test, tests/canon2.test,
1423 tests/canon3.test, tests/canon4.test, tests/canon5.test,
1424 tests/ccnoco.test, tests/check.test, tests/check2.test,
1425 tests/check3.test, tests/check4.test, tests/checkall.test,
1426 tests/clean.test, tests/clean2.test, tests/colneq.test,
1427 tests/colneq2.test, tests/colon.test, tests/colon2.test,
1428 tests/colon3.test, tests/colon4.test, tests/colon5.test,
1429 tests/colon6.test, tests/colon7.test, tests/comment.test,
1430 tests/comment2.test, tests/comment3.test, tests/comment4.test,
1431 tests/comment5.test, tests/comment6.test, tests/comment7.test,
1432 tests/comment8.test, tests/comment9.test, tests/compile.test,
1433 tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test,
1434 tests/cond.test, tests/cond10.test, tests/cond11.test,
1435 tests/cond13.test, tests/cond14.test, tests/cond15.test,
1436 tests/cond16.test, tests/cond17.test, tests/cond18.test,
1437 tests/cond19.test, tests/cond2.test, tests/cond20.test,
1438 tests/cond21.test, tests/cond22.test, tests/cond23.test,
1439 tests/cond24.test, tests/cond25.test, tests/cond26.test,
1440 tests/cond27.test, tests/cond28.test, tests/cond29.test,
1441 tests/cond3.test, tests/cond30.test, tests/cond31.test,
1442 tests/cond32.test, tests/cond33.test, tests/cond34.test,
1443 tests/cond35.test, tests/cond36.test, tests/cond37.test,
1444 tests/cond4.test, tests/cond5.test, tests/cond6.test,
1445 tests/cond7.test, tests/cond8.test, tests/cond9.test,
1446 tests/condd.test, tests/condhook.test, tests/condinc.test,
1447 tests/condinc2.test, tests/condlib.test, tests/condman.test,
1448 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
1449 tests/conff.test, tests/conff2.test, tests/confh.test,
1450 tests/confh4.test, tests/confh5.test, tests/config.test,
1451 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
1452 tests/conflnk3.test, tests/confsub.test, tests/confvar.test,
1453 tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
1454 tests/cxx.test, tests/cxx2.test, tests/cxxansi.test,
1455 tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test,
1456 tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test,
1457 tests/dash.test, tests/defs.in, tests/defun.test,
1458 tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
1459 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
1460 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
1461 tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test,
1462 tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test,
1463 tests/depend.test, tests/depend2.test, tests/depend3.test,
1464 tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
1465 tests/dirlist.test, tests/discover.test, tests/distcom2.test,
1466 tests/distcom3.test, tests/distcom4.test, tests/distcom5.test,
1467 tests/distcom6.test, tests/distcom7.test, tests/distdir.test,
1468 tests/distname.test, tests/dollar.test, tests/double.test,
1469 tests/dup2.test, tests/else.test, tests/empty.test,
1470 tests/empty2.test, tests/empty3.test, tests/empty4.test,
1471 tests/exdir.test, tests/exdir2.test, tests/exeext.test,
1472 tests/exeext2.test, tests/exeext3.test, tests/exeext4.test,
1473 tests/exsource.test, tests/ext.test, tests/ext2.test,
1474 tests/extra.test, tests/extra2.test, tests/extra3.test,
1475 tests/extra4.test, tests/extra5.test, tests/extra6.test,
1476 tests/extra7.test, tests/f90only.test, tests/flibs.test,
1477 tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test,
1478 tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
1479 tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
1480 tests/gcj5.test, tests/getopt.test, tests/gettext.test,
1481 tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
1482 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
1483 tests/gnuwarn2.test, tests/header.test, tests/help.test,
1484 tests/hfs.test, tests/hosts.test, tests/implicit.test,
1485 tests/include.test, tests/include2.test, tests/info.test,
1486 tests/insh2.test, tests/install2.test, tests/installdir.test,
1487 tests/instdat.test, tests/instdat2.test, tests/instexec.test,
1488 tests/insthook.test, tests/instman.test, tests/instman2.test,
1489 tests/instsh.test, tests/instsh2.test, tests/instspc.test,
1490 tests/interp.test, tests/interp2.test, tests/java.test,
1491 tests/java2.test, tests/java3.test, tests/javaprim.test,
1492 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
1493 tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
1494 tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
1495 tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
1496 tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
1497 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
1498 tests/library.test, tests/library2.test, tests/library3.test,
1499 tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
1500 tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
1501 tests/libtool7.test, tests/libtool8.test, tests/libtool9.test,
1502 tests/license.test, tests/link_c_cxx.test, tests/link_dist.test,
1503 tests/link_f90_only.test, tests/link_f_only.test,
1504 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
1505 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
1506 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
1507 tests/lisp8.test, tests/listval.test, tests/location.test,
1508 tests/longlin2.test, tests/longline.test, tests/ltcond.test,
1509 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
1510 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
1511 tests/make.test, tests/makej.test, tests/makevars.test,
1512 tests/man.test, tests/man2.test, tests/mclean.test,
1513 tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
1514 tests/mdate4.test, tests/missing.test, tests/missing2.test,
1515 tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
1516 tests/mmodely.test, tests/multlib.test, tests/nobase.test,
1517 tests/nodef.test, tests/nodef2.test, tests/nodep.test,
1518 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
1519 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
1520 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
1521 tests/nostdinc.test, tests/number.test, tests/obsolete.test,
1522 tests/order.test, tests/outdir.test, tests/output.test,
1523 tests/output10.test, tests/output11.test, tests/output12.test,
1524 tests/output2.test, tests/output3.test, tests/output4.test,
1525 tests/output5.test, tests/output6.test, tests/output7.test,
1526 tests/output8.test, tests/output9.test, tests/overrid.test,
1527 tests/parse.test, tests/percent.test, tests/percent2.test,
1528 tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
1529 tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
1530 tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
1531 tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
1532 tests/ppf77.test, tests/pr2.test, tests/pr204.test,
1533 tests/pr211.test, tests/pr220.test, tests/pr224.test,
1534 tests/pr229.test, tests/pr243.test, tests/pr266.test,
1535 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
1536 tests/pr300-lib.test, tests/pr300-ltlib.test,
1537 tests/pr300-prog.test, tests/pr307.test, tests/pr401.test,
1538 tests/pr401b.test, tests/pr401c.test, tests/pr72.test,
1539 tests/pr87.test, tests/pr9.test, tests/prefix.test,
1540 tests/primary.test, tests/primary2.test, tests/primary3.test,
1541 tests/proginst.test, tests/python.test, tests/python10.test,
1542 tests/python11.test, tests/python12.test, tests/python2.test,
1543 tests/python3.test, tests/python4.test, tests/python5.test,
1544 tests/python6.test, tests/python7.test, tests/python8.test,
1545 tests/python9.test, tests/recurs.test, tests/recurs2.test,
1546 tests/regex.test, tests/remake.test, tests/remake2.test,
1547 tests/remake3.test, tests/remake4.test, tests/remake5.test,
1548 tests/req.test, tests/reqd.test, tests/reqd2.test,
1549 tests/rulepat.test, tests/scripts.test, tests/seenc.test,
1550 tests/sinclude.test, tests/space.test, tests/specflg.test,
1551 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
1552 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
1553 tests/spell.test, tests/spell2.test, tests/spell3.test,
1554 tests/spelling.test, tests/spy.test, tests/srcsub.test,
1555 tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
1556 tests/stdlib2.test, tests/strip.test, tests/subcond.test,
1557 tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
1558 tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
1559 tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
1560 tests/subdir8.test, tests/subdir9.test,
1561 tests/subdirbuiltsources.test, tests/subobj.test,
1562 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
1563 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
1564 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
1565 tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
1566 tests/subst2.test, tests/substre2.test, tests/substref.test,
1567 tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
1568 tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
1569 tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
1570 tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
1571 tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
1572 tests/syntax.test, tests/tags.test, tests/tagsub.test,
1573 tests/tar.test, tests/tar2.test, tests/tar3.test,
1574 tests/target-cflags.test, tests/targetclash.test,
1575 tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
1576 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
1577 tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
1578 tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
1579 tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
1580 tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
1581 tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
1582 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
1583 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
1584 tests/vars.test, tests/vars3.test, tests/vartar.test,
1585 tests/version.test, tests/version2.test, tests/version3.test,
1586 tests/version4.test, tests/version6.test, tests/version7.test,
1587 tests/version8.test, tests/vpath.test, tests/vtexi.test,
1588 tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
1589 tests/werror2.test, tests/whoami.test, tests/xsource.test,
1590 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
1591 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
1592 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
1593 tests/yaccvpath.test: Update FSF postal mail address.
1595 * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
1596 Autoconf currently defines a CCC variable.
1598 * tests/output11.test, tests/output12.test: Use rm -f.
1600 2005-04-25 Gary V. Vaughan <gary@gnu.org>
1601 Alexandre Duret-Lutz <adl@gnu.org>
1603 Support for remote LIBOBJS (and friends) with subdir-objects.
1604 Fixes PR automake/401.
1606 * automake.in (config_libobj_dir): New variable.
1607 (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
1608 (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
1609 (handle_LIBOBJS, handle_ALLOCA): Use them. Adjust location of
1610 dependency files, possibly in a subdirectory.
1611 * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
1612 * tests/Makefile.am (TESTS): Add them.
1613 * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
1614 (LIBOBJS): Document changes in behaviour of
1615 LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
1616 subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
1618 2005-04-18 Jim Meyering <jim@meyering.net>
1620 * doc/automake.texi (Dist): Correct English.
1622 2005-03-31 Stepan Kasal <kasal@ucw.cz>
1624 * doc/automake.texi: When the phrase "for instance" introduces a
1625 sentence, it should be delimited by a comma.
1627 * doc/automake.texi: Fix a few typos.
1629 2005-03-30 Alexandre Duret-Lutz <adl@gnu.org>
1631 * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
1632 example, since the GCS now define htmldir.
1633 (Auxiliary Programs): Mention config-ml.in and symlink-tree.
1634 Give a URL for texinfo.tex.
1635 (Public macros): Sort alphabetically, and move obsolete macros...
1636 (Obsolete macros): ... here.
1637 Prompted by Karl Berry.
1639 2005-03-29 Alexandre Duret-Lutz <adl@gnu.org>
1641 * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
1644 * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
1645 rule is run with `make -j'.
1646 * doc/automake.texi (Multiple Outputs): Adjust.
1647 * tests/lisp6.test: Augment it.
1648 * tests/lisp8.test: New file.
1649 * tests/Makefile.am (TESTS): Add lisp8.test.
1650 Suggested by Bruno Haible.
1652 2005-03-27 Alexandre Duret-Lutz <adl@gnu.org>
1654 * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
1656 2005-03-16 Alexandre Duret-Lutz <adl@gnu.org>
1658 * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
1659 a missing *.elc file if it cannot be created because emacs does
1661 * tests/lisp7.test: New file.
1662 * tests/Makefile.am (TESTS): Add lisp7.test.
1663 Report from Greg Schafer.
1665 2005-03-05 Alexandre Duret-Lutz <adl@gnu.org>
1667 * doc/automake.texi: Replace wicked whiches by thats.
1669 2005-03-04 Alexandre Duret-Lutz <adl@gnu.org>
1671 * aclocal.in (scan_configure_dep, scan_file): Include file names
1672 are relative to the directory of configure.ac, not to the
1673 directory of the file doing the include. Remove code for this
1675 * tests/acloca13.test: Run distcheck and make sure all macros are
1676 actually distributed.
1678 2005-03-03 Alexandre Duret-Lutz <adl@gnu.org>
1680 For PR automake/450:
1681 * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
1683 * automake.in (scan_autoconf_traces): Likewise.
1684 * tests/sinclude.test: Augment.
1685 Report from Peter Breitenlohner.
1687 For PR automake/450:
1688 * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
1689 acinclude.m4 and configure.ac to the include map in these two
1691 (strip_redundant_includes): ... do it here. This completes the
1692 previous change from 2005-03-01, that did not update
1694 * tests/acloca19.test: Augment.
1695 Report from Peter Breitenlohner.
1697 2005-03-02 Alexandre Duret-Lutz <adl@gnu.org>
1699 * tests/comment9.test: Typo.
1701 2005-03-01 Alexandre Duret-Lutz <adl@gnu.org>
1703 * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
1704 * tests/comment9.test: New file.
1705 * tests/Makefile.am (TESTS): Add comment9.test.
1706 Report from Julien Sopena.
1708 For PR automake/450:
1709 * aclocal.in (trace_used_macros): Do not explicitly trace files
1710 included by configure.ac.
1711 * tests/acloca19.test: New file.
1712 * tests/Makefile.am (TESTS): Add acloca19.test.
1713 Report from Peter Breitenlohner.
1715 2005-02-27 Alexandre Duret-Lutz <adl@gnu.org>
1717 Fix for PR automake/448:
1718 * automake.in (handle_factored_dependencies): Flag install-hook as
1720 * tests/insthook.test: Exercise this.
1722 * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
1723 * doc/automake.texi (Hard-Coded Install Paths): Adjust.
1725 * doc/automake.texi: Replace many uses of @samp by @code, and
1726 vice versa. Use @command, @option, and @env where appropriate.
1728 2005-02-26 Alexandre Duret-Lutz <adl@gnu.org>
1730 * doc/automake.texi: "filename" -> "file name", for consistency
1731 with GNU Coding Standards. See also Paul's change on 2004-08-20
1734 * doc/automake.texi (A Library, Libtool Libraries): Show how to link
1735 a program with a static or libtool library.
1736 (Program and Library Variables): Make clearer that _LDADD and
1737 _LIBADD may also list libraries.
1738 Prompted by a mail from Bruce Korb.
1740 * doc/automake.texi (Alternative): Show how to rewrite nobase_
1741 variables using custom directory variables, and link to node
1742 Uniform. Suggested by Leonardo Boiko.
1744 * doc/automake.texi (Flag Variables Ordering, User Variables):
1745 Make clearer who the maintainer is, and that he can AC_SUBST AM_
1746 variables in configure.ac. Suggested by Norman Gray.
1747 (Uniform, Public macros, Libtool Issues, Java Support,
1748 Conditionals): Use `---' for em dash, and stick them to the
1751 * doc/automake.texi: Reword a few sentences to fix all underflow
1752 and overflow warnings during `make dvi'.
1753 (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
1754 (Public macros) <AM_WITH_DMALLOC>: Likewise.
1756 2005-02-12 Alexandre Duret-Lutz <adl@gnu.org>
1758 * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
1759 lib/texinfo.tex: New upstream versions.
1761 * doc/automake.texi (Hard-Coded Install Paths): New node.
1762 (Extending, Extending aclocal, Python): Link to it.
1763 (Extending): Don't show how to install a file in /etc/ directly,
1766 * automake.in (read_am_file): Define variables containing long
1767 lines as VAR_PRETTY to work around tools with limited input width.
1768 * tests/longlin2.test: New file.
1769 * tests/Makefile.am (TESTS): Add it.
1770 Report from Albert Chin.
1772 2005-02-09 Alexandre Duret-Lutz <adl@gnu.org>
1774 Fix for PR automake/447:
1775 * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
1776 Report from Mathias Doreille. Add some old comments from
1777 Nicolas Joly for reference.
1779 2005-02-08 Stepan Kasal <kasal@ucw.cz>
1781 * lib/mdate-sh: Check the size of the word following the month to
1782 catch Darwin. This way the filename can contain spaces.
1784 * doc/automake.texi (Requirements, Options): Typos.
1786 2005-02-08 Alexandre Duret-Lutz <adl@gnu.org>
1788 * lib/missing (makeinfo): Compute the output file if neither -o
1789 nor @setfilename is used.
1790 Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
1792 2005-02-07 Alexandre Duret-Lutz <adl@gnu.org>
1794 * doc/automake.texi (Requirements): Show one example of
1795 AC_CONFIG_FILES with multiple outputs, and correct a few typos.
1797 * aclocal.in ($serial_line_rx): Expect at least one space between
1798 `serial' and the following number.
1799 Report from Jim Meyering.
1801 * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
1802 Report from Peter O'Gorman.
1804 2005-02-06 Alexandre Duret-Lutz <adl@gnu.org>
1806 * aclocal.in (usage, parse_arguments): New --dry-run and --diff
1808 (install_file, write_aclocal): Honor --dry-run and --diff.
1809 * doc/automake.texi (aclocal options): Document --dry-run and --diff.
1810 (Serials): Mention --diff.
1811 * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
1812 $expected_exit_code argument.
1813 (xsystem): Take a list of arguments, not a string.
1814 * tests/acloca18.test: Use --dry-run and --diff.
1815 Suggested by Paul Eggert.
1817 * doc/automake.texi (aclocal options, Macro search path,
1818 Extending aclocal, Local Macros, Serials, Future of aclocal): Make
1819 these subsection of ...
1820 (Invoking aclocal): ... this.
1822 * aclocal.in ($serial_line_rx): Allow trailing garbage after the
1824 (scan_file): Explicitly mark the "ill-formed serial" message
1826 * doc/automake.texi (aclocal options, Local Macros): Link to...
1827 (Serials): ... this new section.
1829 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
1831 * lib/compile: Likewise.
1833 2005-02-02 Alexandre Duret-Lutz <adl@gnu.org>
1835 * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
1837 * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
1838 status if a write failure occurs with --help or --version option,
1841 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
1843 * lib/depcomp: Exit with nonzero status if a write failure occurs
1844 with --help or --version option.
1845 * lib/elisp-comp: Likewise.
1846 * lib/gnupload: Likewise.
1847 * lib/install-sh: Likewise.
1848 * lib/missing: Likewise.
1849 * lib/mkinstalldirs: Likewise.
1851 2005-02-01 Alexandre Duret-Lutz <adl@gnu.org>
1853 * doc/automake.texi (aclocal options): Typo.
1855 * aclocal.in (list_compare): New functions.
1856 (scan_file): Honor #serial lines.
1857 * tests/acloca18.test: New test.
1858 * tests/Makefile.am (TESTS): Add it.
1859 * doc/automake.texi (aclocal options, Local Macros): Document
1862 2005-01-30 Alexandre Duret-Lutz <adl@gnu.org>
1864 Preliminary support for `aclocal --install'.
1865 This still lacks #serial support.
1866 * aclocal.in (reset_maps, install_file): New functions.
1867 (write_aclocal): Copy files if --install.
1868 (usage, parse_arguments): Recognize --install.
1869 ("MAIN"): Start aclocal again if some file were installed.
1870 * tests/acloca10.test: Augment to test --install.
1871 * tests/aclocal.in, tests/defs.in: Add support for
1872 ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
1873 * doc/automake.texi (aclocal options, Local Macros): Document
1875 (Future of aclocal): Adjust.
1877 * doc/automake.texi (Macro search path): Using --acdir is not
1878 obvious, it's erroneous.
1880 * doc/automake.texi (direntry): Let `info Automake' point to the
1881 manual, and `info automake' to the `Invoking automake' node. Like
1884 2005-01-27 Akim Demaille <akim@epita.fr>
1886 * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
1889 2005-01-24 Akim Demaille <akim@epita.fr>
1891 * lib/Automake/FileUtils.pm: Rename filename as file_name to be
1892 consistent with the terminology of the GNU coding standards.
1894 (update_file): Accept a $force argument, so that --force always
1895 updates the time stamps.
1897 2005-01-23 Alexandre Duret-Lutz <adl@gnu.org>
1899 * doc/automake.texi (How the Linker is Chosen): Explain how the
1900 linker is chosen without diagram, and update to match the code.
1901 Suggestion from Adrian Bunk.
1903 2005-01-16 Alexandre Duret-Lutz <adl@gnu.org>
1905 * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
1906 Process all words of $MAKEFLAGS when checking for -k.
1907 * tests/check4.test: New file.
1908 * tests/Makefile.am (TESTS): Add check4.test.
1909 Report from Eric Blake.
1911 2005-01-13 Alexandre Duret-Lutz <adl@gnu.org>
1913 * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
1914 AM_INIT_AUTOMAKE if the version passed is incorrect.
1915 * tests/version8.test: New file.
1916 * tests/Makefile.am (TESTS): Add version8.test.
1918 2005-01-09 Alexandre Duret-Lutz <adl@gnu.org>
1920 * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
1921 m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
1922 m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
1923 m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
1924 m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
1925 m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
1926 m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
1927 m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
1928 license that is used in aclocal.m4. Relicensing backed by RMS.
1930 * doc/automake.texi (A Library, LIBOBJS): Mention that empty
1931 libraries are not portable.
1933 2005-01-05 Akim Demaille <akim@epita.fr>
1935 * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
1936 * tests/aclocal5.test (MORE_DEFS): Rename as...
1937 (AM_TEST): this so that undefined macros are caught.
1938 And make it an alias of AC_SUBST.
1940 Reported by Martin Bravenboer.
1942 2005-01-03 Alexandre Duret-Lutz <adl@gnu.org>
1944 Fix handling of per-target flags in link rules.
1945 * automake.in (define_per_target_linker_variable): New function.
1946 (handle_programs, handle_ltlibraries): Use it.
1947 (%link_languages): New map.
1948 (register_language): Fill it.
1949 * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
1950 $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
1951 define_per_target_linker_variable if needed.
1952 * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
1953 $(%XPROGRAM%_LDFLAGS).
1954 * doc/automake.texi (Program and Library Variables): Mention
1955 AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
1956 and maude_LIBTOOLFLAGS.
1957 * tests/libtool9.test: New file.
1958 * tests/Makefile.am (TESTS): Add it.
1959 * NEWS: Explain the backward incompatibility.
1960 Report from Akim Demaille.
1962 2005-01-01 Alexandre Duret-Lutz <adl@gnu.org>
1964 * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
1965 specifications with shell variables.
1966 (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
1967 AC_CONFIG_FILES for this explanation.
1968 * automake.in (substitute_ac_subst_variables_worker,
1969 substitute_ac_subst_variables): Mew functions.
1970 (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
1971 to ignore dependencies that contain unAC_SUBSTed shell variables.
1972 (handle_configure): Likewise, do not output rules for
1973 AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
1974 unAC_SUBSTed contain shell variables.
1975 * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
1976 * tests/output11.test, tests/output12.test: New files.
1977 * tests/Makefile.am (TESTS): Add output11.test and output12.test.
1979 * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
1980 * automake.in ($gen_copyright, version): Likewise.
1984 Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
1986 This file is part of GNU Automake.
1988 GNU Automake is free software; you can redistribute it and/or modify
1989 it under the terms of the GNU General Public License as published by
1990 the Free Software Foundation; either version 3, or (at your option)
1993 GNU Automake is distributed in the hope that it will be useful,
1994 but WITHOUT ANY WARRANTY; without even the implied warranty of
1995 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1996 GNU General Public License for more details.
1998 You should have received a copy of the GNU General Public License
1999 along with autoconf; see the file COPYING. If not, write to
2000 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
2001 Boston, MA 02110-1301, USA.