1 2006-08-20 Alexandre Duret-Lutz <adl@gnu.org>
3 * INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New
6 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with
7 $(top_builddir)/ if it is a relative directory.
9 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
11 * lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use
12 ylwrap. Suggested by Akim Demaille long ago, to ease maintenance.
13 * automake.in (handle_languages): Do not define MORE-THAN-ONE.
14 (yacc_lex_finish_helper, lang_yacc_finish, lang_lex_finish): Always
16 * doc/automake.texi (Auxiliary Programs, Yacc and Lex): Update the
17 documentation of ylwrap.
18 * tests/lex.test, tests/lex4.test, tests/mmodely.test,
19 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
20 tests/yaccpp.test: Adjust.
22 * doc/automake.texi (Releases): Update statistics until 1.9.6.
24 * Makefile.am (maintainer-check): Check for mkdir_p.
25 * automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P.
26 * lib/am/data.am, lib/am/distdir.am, lib/am/install.am,
27 lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am,
28 lib/am/mans.am, lib/am/progs.am, lib/am/python.am,
29 lib/am/scripts.am, lib/am/texinfos.am: Use MKDIR_P instead of mkdir_p.
30 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not
31 as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use
32 mkdir_p without defining MKDIR_P.
33 * tests/distdir.test, tests/instman.test, tests/txinfo21.test:
36 * Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm.
37 * configure.ac (ACLOCAL): Use --acdir=m4 in addition to
38 -I m4. Running aclocal during the rebuild rules will fail
39 if the default acdir does not exist.
41 * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4:
42 Require Autoconf 2.60 instead of some intermediate development
45 * doc/automake.texi (Standard Directory Variables): Fix multitable
47 (Autotools Introduction): Fix @uref usage.
49 2006-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
51 * doc/automake.texi: Fix some typos in the introduction,
52 adjust some spacing; spell `GNU Build System' consistently.
53 (menu): Unify node naming.
54 (Standard Directory Variables): Clarify that this list is not
56 (DESTDIR): Fix example.
58 2006-08-19 Alexandre Duret-Lutz <adl@gnu.org>
60 * doc/automake.texi (Autotools Introduction) New chapter.
61 Thanks to Ben Pfaff and Ralf Wildenhues for comments.
62 (Auxiliary Programs, Install, Dist, Third-Party Makefiles)
63 (distcleancheck): More cross references.
64 * doc/amhello/configure.ac, doc/amhello/README,
65 doc/amhello/Makefile.am, doc/amhello/src/Makefile.am,
66 doc/amhello/src/main.c: New files.
67 * doc/Makefile.am (dist_noinst_DATA): Distribute them.
68 ($(srcdir)/amhello-1.0.tar.gz): New rule.
69 (dist_doc_DATA): Install amhello-1.0.tar.gz.
70 * Makefile.am (SUBDIRS): Update comment.
72 2006-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
74 * doc/automake.texi: Fix some typos.
76 2006-08-14 Jonathan Higa <jthiga@gmail.com>
78 * automake.in: Register "Unified Parallel C" as language.
79 (lang_upc_rewrite): New function.
80 (resolve_linker): Consider UPCLINK.
81 * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest
82 AM_PROG_UPC for UPC and UPCFLAGS.
83 * m4/upc.m4: New file.
84 * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case.
85 * m4/Makefile.am (dist_m4data_DATA): Add upc.m4.
86 * doc/automake.texi (Unified Parallel C Support): New node.
87 (Public macros): Mention AM_PROG_UPC.
88 (Program and Library Variables, Flag Variables Ordering):
90 * tests/upc.test, tests/upc2.test, tests/upc3.test: New file.
91 * tests/Makefile.am (TESTS): Add them.
92 * tests/ext.test: Also test upc files.
94 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
96 * doc/automake.texi (Scripts): Fix some errors in previous patch.
98 * doc/automake.texi (Scripts): Revamp. Show an example of script
99 built from configure.ac. Discuss CLEANFILES and EXTRA_DIST for
102 * m4/init.m4: Suggest fixing the call to AC_INIT when
103 AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined. This is for
104 newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments.
105 * tests/init.test: New file.
106 * tests/Makefile.am (TESTS): Add it.
108 2006-08-04 Stepan Kasal <kasal@ucw.cz>
110 * automake.in (dist_dirs, fill_dist_dirs): Remove.
111 * lib/am/distdir.am (DISTDIRS): Remove.
112 * tests/distdir.test, tests/pr2.test: Do not grep, use
113 `make distdir' instead.
115 2006-08-04 Alexandre Duret-Lutz <adl@gnu.org>
117 * doc/automake.texi (Conditionals): Split in two sections, "Usage"
118 and "Portability", and add a third one, "Limits" to explain how
119 conditional definitions inside multi-lines definitions can be
121 * automake.in (handle_options): Do not assume that
122 AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional
123 definitions of AUTOMAKE_OPTIONS.
124 Report from Bas Wijnen.
125 * tests/amopt.test: New test.
126 * tests/Makefile.am (TESTS): Add it.
128 * aclocal.in (install_file): Cannot use /dev/null while diffing
129 new files, because Tru64's diff do not handle /dev/null. So
130 create an empty destination file before running diff on a new
131 file, and erase it afterward. Fall back to using /dev/null only
132 if we cannot create this file.
133 Report and initial patch from Ralf Wildenhues.
134 (unlink_tmp): New function.
135 * test/acloca18.test: Make sure the empty file has been erased.
137 2006-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
139 * automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects,
140 do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR,
141 to help BSD Make find the files also in a VPATH build.
142 Also return the same path, possibly prefixed, for correct
144 * tests/pr401.test: Update to expose wrong depdir computation.
145 Rewrite to not use the same file name for library object and
147 * tests/pr401b.test, tests/pr401c.test: Likewise.
149 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
151 * lib/install-sh: Don't incorrectly claim that this implementation
152 can install only one file at a time.
153 (doit_exec): New var, for using 'exec' if possible, to save a process.
154 (test_mode, intermediate_mode): Remove.
155 (mode): Check for IFS or globbing characters in mode, since they might
156 cause weird behavior with the other changes below. All later uses
157 of '"$mode"' changed to '$mode', since the ""s no longer matter.
158 Use octal modes if the invoker specifies an octal mode, and use
159 octal umask values if 'umask' outputs octal values; this is more
160 likely to work with older operating systems since Automake uses
161 octal modes, and also works around a bug with HP-UX 11.23
162 'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in
163 <http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>.
164 (cp_umask, mkdir_umask): New variables, to avoid
165 temporarily creating files or directories with too-permissive modes.
166 (mkdir_mode): Use the FreeBSD 'install' method for computing modes of
167 intermediate directories; this is safer.
168 (posix_mkdir): Also test mkdir -p -m ... by making a directory in
169 /tmp and checking the resulting mode with 'ls', to catch a bug in
170 HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message.
171 Use ':' for true, not 'true'; this is a bit faster on
172 traditional implementations.
174 2006-07-09 Jim Meyering <jim@meyering.net>
176 * lib/depcomp: "in in" -> "in" in comment.
178 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
180 * tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr,
181 for consistency with the recommendation prompted by this report:
182 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
184 2006-06-24 Stepan Kasal <kasal@ucw.cz>
185 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
187 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to
188 `'$(MKDIR_P)'', so that it retains the per-directory value
189 computed by config.status.
190 * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from
191 a changed directory. Bugs reported by Ralf Menzel.
194 2006-06-24 Eric Dorland <eric@debian.org>
195 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
197 * automake.in (scan_texinfo_file): Fix matching file extension.
198 * tests/txinfo31.test: New test.
199 * tests/Makefile.am: Update.
201 2006-06-07 Alexandre Duret-Lutz <adl@gnu.org>
203 * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1.
205 2006-06-07 Stepan Kasal <kasal@ucw.cz>
207 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P.
209 2006-06-06 Stepan Kasal <kasal@ucw.cz>
210 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
212 * lib/am/distdir.am: Do not call $(mkdir_p) for each
213 distributed file, collect them and create them in one run,
214 and strip $(srcdir) and $(top_srcdir) all at once.
215 Fix some comment typos.
217 2006-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
219 * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
220 7.4.4m may omit the first included header dependency information
221 with `-MDupdate'. Refine test to catch this.
223 * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap'
226 * tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3
227 requires `config.rpath' to be present, and automake now enforces
228 this. Test this, but only if the gettext installation works and
229 is recent enough to provide this diagnosis.
230 * tests/gettext.test: Provide a dummy `config.rpath' for all
232 * tests/gettext2.test, tests/subcond.test: Likewise.
234 * tests/pr401.test: Replace "perl -i" with sed and mv, for
236 * tests/pr401b.test, tests/pr401c.test, tests/python11.test,
237 * tests/yacc6.test, tests/yacc8.test: Likewise.
239 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
240 plain `grep' on the Makefile, as its line length may exceed that
241 for grep. Bug report against coreutils by Sam Sirlin.
244 2006-05-26 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
246 * doc/automake.texi (Options): Add anchor `tar-formats'.
248 2006-05-25 Noah Misch <noah@cs.caltech.edu>
250 * lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides
251 ENOLCK. Only mention `make -j' when applicable. Only raise
252 fatal errors when `make -j' is involved. Improve error message.
254 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
256 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
257 `$configure_in' instead of `configure.in', to preserve
259 * lib/Automake/Configure_ac.pm: Add note that Automake owns
261 * lib/Automake/Channels.pm: Likewise.
262 * lib/Automake/FileUtils.pm: Likewise.
263 * lib/Automake/Struct.pm: Likewise.
265 2006-05-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
267 * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
268 New upstream versions.
270 2006-05-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
272 * doc/automake.texi (Auxiliary Programs): Fix URL to GCC
273 repository, they use SVN now.
275 2006-05-13 Werner Lemberg <wl@gnu.org>
277 * lib/gnupload: Add support for savannah.gnu.org and
280 2006-05-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
282 * lib/Automake/Channels.pm, lib/Automake/Condition.pm,
283 lib/Automake/DisjConditions.pm, lib/Automake/Options.pm,
284 lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos.
286 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
288 * lib/install-sh: Sync from Autoconf, as follows:
289 Don't use 'path' to talk about file names,
290 as per GNU coding standards. Close a race condition reported by Ralf
291 Wildenhues and Stepan Kasal. There is still a race condition
292 on hosts that predate Posix 1003.1-1992, but we can't help this.
293 Don't mishandle weird characters like space on pre-Posix hosts.
294 Invoke mkdir at most once per dir arg on pre-Posix hosts.
296 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
298 * tests/missing.test, tests/missing2.test: Do not require
300 * Makefile.am (maintainer-check): Make sure `required=' does not
301 follow `. ./defs' in the tests.
303 * tests/ansi10.test: Use AC_PROG_CC_STDC. Fix test that
304 ac_cv_prog_cc_stdc isn't just used by Automake code in
306 * tests/ansi6.test, tests/ansi7.test: Likewise.
307 * tests/ansi9.test: Likewise. Do not override by setting
308 $U and $(ANSI2KNR) at `make' time; that will be fragile.
309 * tests/libobj8.test: Use AC_PROG_CC_STDC.
310 * tests/subobj3.test: Likewise. Use `set -e'.
312 * lib/install-sh: Initialize IFS, so field splitting isn't
314 * lib/mkinstalldirs: Likewise.
316 * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
317 the path of the prerequisite added; IRIX 6.5 make does not add
318 it, Solaris 2.6 make is inconsistent about adding it. Fixes
321 * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
322 files in the source tree. Fixes failures with HP-UX and Tru64
325 * lib/am/ansi2knr.am (ansi2knr): Rename target as...
326 (./ansi2knr): ...this, for BSD make.
327 (%ANSI2KNR-DIR%/ansi2knr): Adjust.
329 2006-05-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
331 * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
332 /bin/sh -e issue with failing commands in if clauses.
334 * tests/defs.in (Be Bourne compatible): Update from current
337 * configure.ac: Recommend perl-5.8.2.
338 * tests/automake.test: Do not fail because of buggy Getopt::Long
341 * tests/longlin2.test: Do not use `grep' on Makefile.am:
342 it has long lines and is thus not a text file; AIX 5.1 grep
343 fails to scan non-plain patterns from long lines.
345 * tests/overrid.test: Change all regexes for warning messages to
346 match after a colon, so that the prepended file names do not
347 cause false matches. Tighten overrides regex. Fix typo
348 `cleam-am-local' -> `clean-am-local'.
350 * tests/java.test: `configure' uses a trap, so use `(exit 77);
351 exit 77' to portably set the exit status similar to AS_EXIT.
352 * tests/fn99.test: propagate nonzero exit status from subshell.
354 * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
355 if ``pwd`' contains the string `-p'. Create the wrapper in a
356 subdirectory so that `.' in $PATH does not lead to an endless
359 * lib/depcomp (ia64hp): Rename dependency style to..
360 (hp2): ..this, as it works with aCC on HPPA, too; adjust
361 comment. Report by Olivier Fourdan (PR automake/481).
364 * tests/aclocal7.test: Add `$sleep's between file touching
365 and automake resp aclocal+automake invocations, to ensure
366 they complete with a time stamp strictly later than the touched
369 * lib/missing: Remove superfluous quotes. Replace all uses of
370 `[' by `test', for consistency, and for..
371 * tests/missing5.test: ..this new test.
372 * tests/Makefile.am: Update.
374 * lib/missing (sed_minuso, sed_output): New variables.
375 (autom4te, help2man, makeinfo): Use them. Unifies detection of
376 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
377 Fixes `missing' to detect `--output' for help2man. Fixes
378 PR automake/483. Report by Dennis J. Linse.
379 (autom4te): Document in `missing --help'.
382 2006-04-26 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
384 * doc/automake.texi (Dependency Tracking Evolution): Fix typo.
386 2006-04-25 Stepan Kasal <kasal@ucw.cz>
388 * lib/install-sh: Simplify the expr implementation of dirname.
390 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
392 * lib/install-sh: Handle --, and diagnose unknown options.
393 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set
394 mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with
395 the other ways that mkdir_p might be set.
397 2006-04-21 Alexandre Duret-Lutz <adl@gnu.org>
399 * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
400 (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
401 * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
402 (write_aclocal): Output a check for Autoconf's version in aclocal.m4.
403 Doing so ensures that users cannot build configure and Makefiles
404 with two different autoconf versions. Report from Noah Misch.
405 * tests/missing4.test: New file.
406 * tests/Makefile.am (TESTS): Add it.
408 2006-04-20 Paul Lunau <temp@lunau.me.uk> (tiny change)
409 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
411 * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
412 failed, instead of when the last one failed (PR automake/488).
413 Report from Paul Lunau.
414 * tests/dejagnu4.test: Update to expose this.
417 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
419 * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
420 TABs as well as spaces. Fixes PR automake/490.
421 * tests/check6.test: New test.
422 * tests/Makefile.am, THANKS: Update.
423 Report from Diab Jerius <djerius@cfa.harvard.edu>.
425 2006-04-17 Stepan Kasal <kasal@ucw.cz>
427 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
428 description; eliminate the duplicate error message.
429 * doc/automake.texi (@direntry): `Invoking Automake' is the name
430 of the usage node for `automake'
431 * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the
434 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
436 * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
437 because it uses `datarootdir'. Bump copyright year and serial.
439 2006-04-10 Stepan Kasal <kasal@ucw.cz>
443 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
445 * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
446 (_gen_varname): Use _hash_values, and return a flag indicating whether
447 the variable name was generated or reused.
448 (transform_variable_recursively): Do not redefine variables that
449 are reused, and try to reuse the variable being transformed.
450 * tests/check2.test: Make sure TESTS hasn't been redefined.
451 * tests/check5.test, tests/exeext4.test: Make sure variables have
453 * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.
455 * automake.in (%ignored_configure_vars): New variable.
456 (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill
457 %ignored_configure_vars.
458 (define_configure_variable): Declare ignored configure variables
459 as VAR_SILENT. Do not special-case AMDEPBACKSLASH and ANSI2KNR
461 * m4/substign.m4: New file.
462 * m4/Makefile.am (dist_m4data_DATA): Add substign.m4.
463 * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477).
464 * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH.
465 * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR.
466 * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined.
467 * tests/amsubst.test: New file.
468 * tests/Makefile.am (TESTS): Add it.
470 2006-04-09 Stepan Kasal <kasal@ucw.cz>
471 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
473 * automake.in (handle_single_transform): Preserve directories in
475 * tests/suffix12.test: New test.
476 * tests/Makefile.am (TESTS): Add it.
477 Report from John Ratliff.
479 2006-03-25 Mike Frysinger <vapier@gentoo.org> (tiny change)
480 Alexandre Duret-Lutz <adl@gnu.org>
482 * aclocal.in ($m4_include_rx): Do not recognize `include', and
483 adjust scan_configure_dep and scan_file accordingly.
484 (scan_configure_dep): Do not search white lines.
485 (scan_file): Strip comments from current line after checking
486 for serial, so that aclocal does not trip on `m4_include' macros
487 in comments. Report from Mike Frysinger.
488 * tests/acloca21.test: New file.
489 * tests/Makefile.am (TESTS): Add it.
491 2006-03-24 Stepan Kasal <kasal@ucw.cz>
493 * tests/mmodely.test: Fix the test on systems with no lex.
495 2006-03-23 Stepan Kasal <kasal@ucw.cz>
497 * automake.in (libtool_new_api): Fix a typo in the comment.
498 * lib/Automake/Makefile.am (Config.pm): Likewise.
499 * lib/am/depend2.am: Likewise.
500 * tests/xsource.test: With `set -e', `|| exit 1' is no longer
503 2006-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
505 * tests/depcomp6.test, tests/depcomp7.test: Change back to
506 using `$MAKE && exit 1', but make sure the last command in the
509 2006-03-21 Clifford Wolf <clifford@clifford.at> (tiny change)
510 Stepan Kasal <kasal@ucw.cz>
511 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
513 * aclocal.in (parse_arguments): Added wildcard support to the
515 * doc/automake.texi (Macro search path): Document it.
516 * tests/dirlist2.test: New test.
517 * m4/dirlist, tests/Makefile.am: Adjust.
519 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
521 * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)'
522 to `AC_PROG_OBJC' if provided, to fix Objective C depmode
524 * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for
526 * tests/ext.test: Adjust.
527 * tests/objc.test, tests/objc2.test: New tests.
528 * tests/Makefile.am: Adjust.
529 * doc/automake.texi (Objective C Support): New node.
530 (Support for Other Languages): Adjust.
532 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
534 * lib/Automake/RuleDef.pm (DESCRIPTION): Typo.
536 * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic
537 to work with `set -e'.
539 * tests/depcomp6.test, tests/depcomp7.test: New tests,
540 for general `depcomp' functionality, with and without
541 `subdir-objects', with and without `libtool'.
542 * tests/Makefile.am: Adjust.
544 * aclocal.in (write_aclocal): Unlink `aclocal.m4' before
545 writing into it, to break a symlinked file.
546 * tests/acloca20.test: New test.
547 * tests/Makefile.am: Updated.
549 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
551 Allow package trees (packages with subpackages) to share
552 common distributed auxiliary files (and directories) that
553 reside within a subpackage.
555 * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if
556 `$(distdir)' already exists.
557 (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent
558 removal of subpackage trees for distribution.
559 * tests/subpkg3.test: New test.
560 * tests/Makefile.am: Update.
562 2006-03-18 Alexandre Duret-Lutz <adl@gnu.org>
564 * tests/check5.test, tests/nobast.test: Fix $MAKE and rm
565 invocations to please maintainer-check.
567 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
569 * automake.in (lang_c_rewrite): Typo in previous change.
570 * tests/ccnoco2.test: New file.
571 * tests/Makefile.am (TESTS): Add ccnoco2.test.
573 * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
574 a 'portability' warning, so that people can ignore it. Suggested
577 * lib/Automake/ChannelDefs.pm: Make -Wportability the default in
579 * doc/automake.texi (Invoking Automake): Adjust.
581 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
583 * doc/automake.texi (Yacc and Lex): Document that `.ypp' and
584 `.lpp' file extensions are recognized.
586 2006-02-21 Alexandre Duret-Lutz <adl@gnu.org>
588 * doc/automake.texi (Complete, Extending aclocal, Public macros)
589 (Python, Conditionals, API versioning): Always quote macro arguments.
590 Report from Stepan Kasal.
592 2006-02-16 Alexandre Duret-Lutz <adl@gnu.org>
594 * doc/automake.texi (Python): More examples.
596 2006-02-05 Alexandre Duret-Lutz <adl@gnu.org>
598 * doc/automake.texi (distcleancheck): Fix bad wording. Report
600 (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS).
602 2006-01-29 Alexandre Duret-Lutz <adl@gnu.org>
604 Append $(EXEEXT) to programs that may be listed in TESTS.
605 Report from Simon Josefsson.
607 * automake.in (%known_programs): New global.
608 (initialize_per_input): Reset it.
609 (append_exeext): Take a predicate as first argument to select
610 the filename to rewrite.
611 (handle_programs): Fill %known_programs.
612 (handle_tests): Append $(EXEEXT) to all tests that are in
614 (am_install_var): Update call to append_exeext.
615 * doc/automake.texi (EXEEXT): TESTS is also rewritten.
616 (Tests): More about the difference between check_PROGRAMS and TESTS.
617 Give an example of TEST_ENVIRONMENT.
618 * tests/cond32.test: Augment with a nested condition.
619 * tests/exeext4.test: Also check TESTS.
620 * tests/check5.test: New file.
621 * tests/Makefile.am (TESTS): Add check5.test.
623 2006-01-12 Paul Eggert <eggert@cs.ucla.edu>
625 * lib/install-sh (dstdir): Don't use semicolons inside { } in
626 sed scripts, as Posix says it's not portable.
627 * lib/missing (file): Likewise.
628 * lib/am/distdir.am (distcheck): Likewise.
629 * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
630 * tests/distcom2.test, tests/distcom3.test: Likewise.
631 * tests/distcom4.test, tests/distcom5.test: Likewise.
632 * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
634 2006-01-12 Alexandre Duret-Lutz <adl@gnu.org>
636 * ChangeLog: Move 2004's entries to ...
637 * ChangeLog.04: ... this new file.
638 * Makefile.am (EXTRA_DIST): Add ChangeLog.04.
640 * tests/txinfo13.test: Test fix below.
642 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
644 * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted
645 extra files in distribution. Reported by Vincent Lefevre.
647 2006-01-06 Alexandre Duret-Lutz <adl@gnu.org>
649 * doc/automake.texi (Linking, Program and Library Variables):
650 Mention the file extensions that usually appear in _DEPENDENCIES,
651 and point to BUILT_SOURCES and example of _DEPENDENCIES uses. A
652 couple of people have been listing sources files in _DEPENDENCIES
655 * doc/automake.texi: Bump copyright year.
656 * automake.in ($gen_copyright, version): Likewise.
657 * aclocal.in (write_aclocal, version): Likewise.
659 2006-01-05 Stepan Kasal <kasal@ucw.cz>
660 Alexandre Duret-Lutz <adl@gnu.org>
662 * automake.in (topsrcdir): New global.
663 (generate_makefile): Compute it.
664 (fill_dist_dirs): New function extracted from handle_dist.
665 (handle_dist, handle_configure): Use fill_dist_dirs.
666 * tests/distdir.test: Test for cases where $(top_srcdir) or
667 $(srcdir) appear in EXTRA_DIST. Report from Sander Niemeijer.
669 2006-01-05 Zack Weinberg <zackw@panix.com>
670 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
672 * lib/depcomp: Add 'ia64hp' dependency style.
673 Zack's original patch was contributed to GCC on 2005-06-13.
676 2005-11-01 Stepan Kasal <kasal@ucw.cz>
678 * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
679 the code is portable to both POSIX and pre-POSIX shells.
681 2005-10-17 Alexandre Duret-Lutz <adl@gnu.org>
683 * tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
684 suggested by Eric Blake.
686 2005-10-17 Stepan Kasal <kasal@ucw.cz>
688 * doc/automake.texi (Program and Library Variables): Typo.
689 * lib/Automake/Variable.pm (transform_variable_recursively): Typo
692 2005-10-03 Stepan Kasal <kasal@ucw.cz>
694 * ChangeLog.03, automake.in, tests/overrid.test: Typos.
696 2005-10-03 Alexandre Duret-Lutz <adl@gnu.org>
698 * tests/nobase.test: Exercise previous patch.
700 2005-10-03 Peter O'Gorman <peter@pogma.com> (tiny change)
702 * lib/am/distdir.am: Remove $(SHELL) when calling install_sh
703 * m4/strip.m4: Ditto.
704 * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
706 2005-09-13 Paul Eggert <eggert@cs.ucla.edu>
708 * doc/automake.texi (limitations on file names): New section.
709 * lib/install-sh: Rewrite to support '*' in file names.
710 Also, tune so that we don't invoke so many commands in the usual case.
711 This has the side effect of fixing `install-sh -d' to not fail if it
712 loses the race in creating the last path component against another
714 * tests/instspc.test: The "*" test is now fixed.
716 2005-09-13 Stepan Kasal <kasal@ucw.cz>
718 * automake.in (Languages) <cppasm>: Fix typo in the comment.
720 2005-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
722 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
723 shell in verbose mode.
725 2005-08-07 Alexandre Duret-Lutz <adl@gnu.org>
727 * lib/Automake/Variable.pm (variable_value): Do not read the TRUE
728 value of a conditionally defined variable.
729 Report from Juergen Leising.
731 * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
733 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
735 * lib/am/texi-vers.am (%STAMPVTI%): Likewise.
736 * lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
737 * Makefile.am (maintainer-check): Check for this.
738 Report from Stepan Kasal.
740 * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.
741 Prompted by Stepan Kasal.
743 2005-08-07 Stepan Kasal <kasal@ucw.cz>
745 * lib/am/texinfos.am (uninstall-info-am): Call install-info only if
746 the $(infodir) exists.
748 2005-07-31 Stepan Kasal <kasal@ucw.cz>
750 * tests/library3.test: Fix a typo which made the test fail.
752 2005-07-27 Alexandre Duret-Lutz <adl@gnu.org>
754 * doc/automake.texi (Linking, Program and Library Variables):
755 Suggest reserving -l for third-party libraries.
757 * lib/Automake/Variable.pm (require_variables): Mention aclocal's
758 search path when suggesting to add a macro in configure.ac.
759 People are confused when Automake suggests adding a macro (such as
760 AC_PROG_LIBTOOL) that is already in configure.ac.
761 * automake.in (require_file_internal): Suggest `automake --add-missing'
762 for missing files that can be installed.
763 * tests/library3.test: Adjust.
765 2005-07-27 Stepan Kasal <kasal@ucw.cz>
767 * tests/defs.in: When required matches both `*libtool*' and
768 `*gettext*', check for both m4 files.
770 * doc/automake.texi (Auxiliary Programs): Fix a typo.
771 * tests/suffix11.test: Fix a typo.
772 * tests/colon3.test: s/EGREP/FGREP/.
774 2005-07-19 Paul Eggert <eggert@cs.ucla.edu>
776 * tests/instspc.test: Major rewrite to test for many other
777 problematic file names, e.g., '$', '"', '('. Automake and
778 Autoconf can't handle many of them, so do not report a failure
779 if the usual candidates show up.
781 2005-07-19 Stepan Kasal <kasal@ucw.cz>
783 * Makefile.am (automake, aclocal): Merge the rules.
785 2005-07-10 Alexandre Duret-Lutz <adl@gnu.org>
787 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
790 2005-07-09 Alexandre Duret-Lutz <adl@gnu.org>
792 * lib/install-sh: Use IFS=/ to split directories on /, don't translate
793 / into % as it prevents directory names using %...
795 2005-07-09 Stepan Kasal <kasal@ucw.cz>
797 * doc/automake.texi (Public macros): Typo.
798 * aclocal.in: Typo in comment.
800 2005-07-09 Zack Weinberg <zack@codesourcery.com> (tiny change)
802 * lib/depcomp: Handle "#line" markers as well as "# " markers in
803 "cpp" style, so it can work with newer HP compilers (for their
806 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
808 * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
809 fix an underful hbox.
810 * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
811 New upstream versions.
813 2005-07-01 Alexandre Duret-Lutz <adl@gnu.org>
815 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
817 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
819 * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
820 lib/am/header-vars.am no longer uses it.
821 * lib/am/libtool.am (distclean-am, distclean-libtool): Define
822 if TOPDIR_P is true, not TOPDIR.
823 Suggested by Stepan Kasal.
825 * automake.in (read_am_file): Correctly diagnose comments following
827 * tests/commen10.test: New file.
828 * tests/Makefile.am (TESTS): Add commen10.test.
829 Report from Harald Dunkel.
831 * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead
833 * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL):
834 Do not define, they are AC_SUBST_TRACEd by Autoconf.
835 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c.
836 * tests/include.test: Call AC_OUTPUT.
838 2005-06-29 Alexandre Duret-Lutz <adl@gnu.org>
840 * lib/mkinstalldirs: Fix support for directory name with spaces if
841 `mkdir -p' does not work.
842 * tests/Makefile.am (TESTS): Add mkinst3.test.
843 * tests/mkinst3.test: New file.
844 Report from Noah Friedman.
846 * doc/automake.texi (Include, Extending aclocal): Typos.
847 Report from Karl Berry.
849 2005-06-28 Stepan Kasal <kasal@ucw.cz>
850 Alexandre Duret-Lutz <adl@gnu.org>
852 * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
853 * tests/txinfo28.test: Set TIME_STYLE.
854 Report from Vincent Lefevre and James Youngman.
856 2005-06-24 Alexandre Duret-Lutz <adl@gnu.org>
858 * lib/Automake/Variable.pm (define, _new): Remember the helper
859 variable created for the last conditional += on each variable, and
860 only append further += in the same condition to this last helper
861 variable, not to older helper variables. This way the order of
862 the items appended to the variable is preserved.
863 * tests/cond21.test: Adjust.
864 * tests/cond38.test: New file.
865 * tests/Makefile.am (TESTS): Add cond38.test.
866 Report from Ed Hartnett.
868 2005-06-22 Alexandre Duret-Lutz <adl@gnu.org>
870 * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
872 * automake.in (handle_footer): Do not output an unformatted
873 definition of SOURCES, it is already done correctly in
874 generate_makefile. This superfluous definition introduced long
875 lines in some Makefiles, hence breakages in tools with a limited
876 line length. Report from Mathias Froehlich.
878 2005-06-11 Alexandre Duret-Lutz <adl@gnu.org>
880 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
881 Fix redirections in previous patch.
883 2005-06-08 Alexandre Duret-Lutz <adl@gnu.org>
885 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
886 Do not backup any file if makeinfo is not installed.
887 * lib/missing (makeinfo): Do not touch a missing info file.
888 * tests/txinfo30.test: New file.
889 * tests/Makefile.am (TESTS): Add txinfo30.test.
890 Report from Bob Proulx.
892 * doc/automake.texi (Extending aclocal): Typo.
894 2005-05-24 Brian Gough <bjg@network-theory.co.uk> (tiny change)
896 * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
898 2005-05-15 Alexandre Duret-Lutz <adl@gnu.org>
901 * automake.in (require_build_directory): Canonicalize directories
902 with different names, such as `foo/bar' and `./foo//bar'.
903 * tests/subobj9.test: Augment to test that.
904 Report from Tom Tromey.
906 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
908 * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
909 ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am,
910 NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure,
911 configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING,
912 lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in,
913 lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp,
914 lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile,
915 lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
916 lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
917 lib/Automake/Condition.pm, lib/Automake/Config.in,
918 lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
919 lib/Automake/FileUtils.pm, lib/Automake/General.pm,
920 lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
921 lib/Automake/Location.pm, lib/Automake/Makefile.am,
922 lib/Automake/Options.pm, lib/Automake/Rule.pm,
923 lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
924 lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
925 lib/Automake/Version.pm, lib/Automake/Wrap.pm,
926 lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
927 lib/Automake/tests/DisjConditions.pl,
928 lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
929 lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
930 lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
931 lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
932 lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
933 lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
934 lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
935 lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
936 lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
937 lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
938 lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
939 lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
940 lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
941 lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
942 lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
943 m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
944 tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
945 tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
946 tests/acloca17.test, tests/acloca18.test, tests/acloca19.test,
947 tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test,
948 tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test,
949 tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test,
950 tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test,
951 tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test,
952 tests/acsubst.test, tests/acsubst2.test, tests/all.test,
953 tests/alloca.test, tests/alloca2.test, tests/alpha.test,
954 tests/alpha2.test, tests/amassign.test, tests/ammissing.test,
955 tests/ansi.test, tests/ansi10.test, tests/ansi2.test,
956 tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test,
957 tests/ansi5.test, tests/ansi6.test, tests/ansi7.test,
958 tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test,
959 tests/asm.test, tests/autohdr.test, tests/autohdr2.test,
960 tests/autohdr3.test, tests/autohdr4.test, tests/automake.test,
961 tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test,
962 tests/auxdir4.test, tests/backsl.test, tests/backsl2.test,
963 tests/backsl3.test, tests/backsl4.test, tests/badline.test,
964 tests/badopt.test, tests/badprog.test, tests/block.test,
965 tests/bsource.test, tests/canon.test, tests/canon2.test,
966 tests/canon3.test, tests/canon4.test, tests/canon5.test,
967 tests/ccnoco.test, tests/check.test, tests/check2.test,
968 tests/check3.test, tests/check4.test, tests/checkall.test,
969 tests/clean.test, tests/clean2.test, tests/colneq.test,
970 tests/colneq2.test, tests/colon.test, tests/colon2.test,
971 tests/colon3.test, tests/colon4.test, tests/colon5.test,
972 tests/colon6.test, tests/colon7.test, tests/comment.test,
973 tests/comment2.test, tests/comment3.test, tests/comment4.test,
974 tests/comment5.test, tests/comment6.test, tests/comment7.test,
975 tests/comment8.test, tests/comment9.test, tests/compile.test,
976 tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test,
977 tests/cond.test, tests/cond10.test, tests/cond11.test,
978 tests/cond13.test, tests/cond14.test, tests/cond15.test,
979 tests/cond16.test, tests/cond17.test, tests/cond18.test,
980 tests/cond19.test, tests/cond2.test, tests/cond20.test,
981 tests/cond21.test, tests/cond22.test, tests/cond23.test,
982 tests/cond24.test, tests/cond25.test, tests/cond26.test,
983 tests/cond27.test, tests/cond28.test, tests/cond29.test,
984 tests/cond3.test, tests/cond30.test, tests/cond31.test,
985 tests/cond32.test, tests/cond33.test, tests/cond34.test,
986 tests/cond35.test, tests/cond36.test, tests/cond37.test,
987 tests/cond4.test, tests/cond5.test, tests/cond6.test,
988 tests/cond7.test, tests/cond8.test, tests/cond9.test,
989 tests/condd.test, tests/condhook.test, tests/condinc.test,
990 tests/condinc2.test, tests/condlib.test, tests/condman.test,
991 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
992 tests/conff.test, tests/conff2.test, tests/confh.test,
993 tests/confh4.test, tests/confh5.test, tests/config.test,
994 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
995 tests/conflnk3.test, tests/confsub.test, tests/confvar.test,
996 tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
997 tests/cxx.test, tests/cxx2.test, tests/cxxansi.test,
998 tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test,
999 tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test,
1000 tests/dash.test, tests/defs.in, tests/defun.test,
1001 tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
1002 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
1003 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
1004 tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test,
1005 tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test,
1006 tests/depend.test, tests/depend2.test, tests/depend3.test,
1007 tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
1008 tests/dirlist.test, tests/discover.test, tests/distcom2.test,
1009 tests/distcom3.test, tests/distcom4.test, tests/distcom5.test,
1010 tests/distcom6.test, tests/distcom7.test, tests/distdir.test,
1011 tests/distname.test, tests/dollar.test, tests/double.test,
1012 tests/dup2.test, tests/else.test, tests/empty.test,
1013 tests/empty2.test, tests/empty3.test, tests/empty4.test,
1014 tests/exdir.test, tests/exdir2.test, tests/exeext.test,
1015 tests/exeext2.test, tests/exeext3.test, tests/exeext4.test,
1016 tests/exsource.test, tests/ext.test, tests/ext2.test,
1017 tests/extra.test, tests/extra2.test, tests/extra3.test,
1018 tests/extra4.test, tests/extra5.test, tests/extra6.test,
1019 tests/extra7.test, tests/f90only.test, tests/flibs.test,
1020 tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test,
1021 tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
1022 tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
1023 tests/gcj5.test, tests/getopt.test, tests/gettext.test,
1024 tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
1025 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
1026 tests/gnuwarn2.test, tests/header.test, tests/help.test,
1027 tests/hfs.test, tests/hosts.test, tests/implicit.test,
1028 tests/include.test, tests/include2.test, tests/info.test,
1029 tests/insh2.test, tests/install2.test, tests/installdir.test,
1030 tests/instdat.test, tests/instdat2.test, tests/instexec.test,
1031 tests/insthook.test, tests/instman.test, tests/instman2.test,
1032 tests/instsh.test, tests/instsh2.test, tests/instspc.test,
1033 tests/interp.test, tests/interp2.test, tests/java.test,
1034 tests/java2.test, tests/java3.test, tests/javaprim.test,
1035 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
1036 tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
1037 tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
1038 tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
1039 tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
1040 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
1041 tests/library.test, tests/library2.test, tests/library3.test,
1042 tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
1043 tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
1044 tests/libtool7.test, tests/libtool8.test, tests/libtool9.test,
1045 tests/license.test, tests/link_c_cxx.test, tests/link_dist.test,
1046 tests/link_f90_only.test, tests/link_f_only.test,
1047 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
1048 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
1049 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
1050 tests/lisp8.test, tests/listval.test, tests/location.test,
1051 tests/longlin2.test, tests/longline.test, tests/ltcond.test,
1052 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
1053 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
1054 tests/make.test, tests/makej.test, tests/makevars.test,
1055 tests/man.test, tests/man2.test, tests/mclean.test,
1056 tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
1057 tests/mdate4.test, tests/missing.test, tests/missing2.test,
1058 tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
1059 tests/mmodely.test, tests/multlib.test, tests/nobase.test,
1060 tests/nodef.test, tests/nodef2.test, tests/nodep.test,
1061 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
1062 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
1063 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
1064 tests/nostdinc.test, tests/number.test, tests/obsolete.test,
1065 tests/order.test, tests/outdir.test, tests/output.test,
1066 tests/output10.test, tests/output11.test, tests/output12.test,
1067 tests/output2.test, tests/output3.test, tests/output4.test,
1068 tests/output5.test, tests/output6.test, tests/output7.test,
1069 tests/output8.test, tests/output9.test, tests/overrid.test,
1070 tests/parse.test, tests/percent.test, tests/percent2.test,
1071 tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
1072 tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
1073 tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
1074 tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
1075 tests/ppf77.test, tests/pr2.test, tests/pr204.test,
1076 tests/pr211.test, tests/pr220.test, tests/pr224.test,
1077 tests/pr229.test, tests/pr243.test, tests/pr266.test,
1078 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
1079 tests/pr300-lib.test, tests/pr300-ltlib.test,
1080 tests/pr300-prog.test, tests/pr307.test, tests/pr401.test,
1081 tests/pr401b.test, tests/pr401c.test, tests/pr72.test,
1082 tests/pr87.test, tests/pr9.test, tests/prefix.test,
1083 tests/primary.test, tests/primary2.test, tests/primary3.test,
1084 tests/proginst.test, tests/python.test, tests/python10.test,
1085 tests/python11.test, tests/python12.test, tests/python2.test,
1086 tests/python3.test, tests/python4.test, tests/python5.test,
1087 tests/python6.test, tests/python7.test, tests/python8.test,
1088 tests/python9.test, tests/recurs.test, tests/recurs2.test,
1089 tests/regex.test, tests/remake.test, tests/remake2.test,
1090 tests/remake3.test, tests/remake4.test, tests/remake5.test,
1091 tests/req.test, tests/reqd.test, tests/reqd2.test,
1092 tests/rulepat.test, tests/scripts.test, tests/seenc.test,
1093 tests/sinclude.test, tests/space.test, tests/specflg.test,
1094 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
1095 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
1096 tests/spell.test, tests/spell2.test, tests/spell3.test,
1097 tests/spelling.test, tests/spy.test, tests/srcsub.test,
1098 tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
1099 tests/stdlib2.test, tests/strip.test, tests/subcond.test,
1100 tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
1101 tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
1102 tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
1103 tests/subdir8.test, tests/subdir9.test,
1104 tests/subdirbuiltsources.test, tests/subobj.test,
1105 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
1106 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
1107 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
1108 tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
1109 tests/subst2.test, tests/substre2.test, tests/substref.test,
1110 tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
1111 tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
1112 tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
1113 tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
1114 tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
1115 tests/syntax.test, tests/tags.test, tests/tagsub.test,
1116 tests/tar.test, tests/tar2.test, tests/tar3.test,
1117 tests/target-cflags.test, tests/targetclash.test,
1118 tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
1119 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
1120 tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
1121 tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
1122 tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
1123 tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
1124 tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
1125 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
1126 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
1127 tests/vars.test, tests/vars3.test, tests/vartar.test,
1128 tests/version.test, tests/version2.test, tests/version3.test,
1129 tests/version4.test, tests/version6.test, tests/version7.test,
1130 tests/version8.test, tests/vpath.test, tests/vtexi.test,
1131 tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
1132 tests/werror2.test, tests/whoami.test, tests/xsource.test,
1133 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
1134 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
1135 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
1136 tests/yaccvpath.test: Update FSF postal mail address.
1138 * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
1139 Autoconf currently defines a CCC variable.
1141 * tests/output11.test, tests/output12.test: Use rm -f.
1143 2005-04-25 Gary V. Vaughan <gary@gnu.org>
1144 Alexandre Duret-Lutz <adl@gnu.org>
1146 Support for remote LIBOBJS (and friends) with subdir-objects.
1147 Fixes PR automake/401.
1149 * automake.in (config_libobj_dir): New variable.
1150 (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
1151 (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
1152 (handle_LIBOBJS, handle_ALLOCA): Use them. Adjust location of
1153 dependency files, possibly in a subdirectory.
1154 * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
1155 * tests/Makefile.am (TESTS): Add them.
1156 * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
1157 (LIBOBJS): Document changes in behaviour of
1158 LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
1159 subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
1161 2005-04-18 Jim Meyering <jim@meyering.net>
1163 * doc/automake.texi (Dist): Correct English.
1165 2005-03-31 Stepan Kasal <kasal@ucw.cz>
1167 * doc/automake.texi: When the phrase "for instance" introduces a
1168 sentence, it should be delimited by a comma.
1170 * doc/automake.texi: Fix a few typos.
1172 2005-03-30 Alexandre Duret-Lutz <adl@gnu.org>
1174 * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
1175 example, since the GCS now define htmldir.
1176 (Auxiliary Programs): Mention config-ml.in and symlink-tree.
1177 Give a URL for texinfo.tex.
1178 (Public macros): Sort alphabetically, and move obsolete macros...
1179 (Obsolete macros): ... here.
1180 Prompted by Karl Berry.
1182 2005-03-29 Alexandre Duret-Lutz <adl@gnu.org>
1184 * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
1187 * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
1188 rule is run with `make -j'.
1189 * doc/automake.texi (Multiple Outputs): Adjust.
1190 * tests/lisp6.test: Augment it.
1191 * tests/lisp8.test: New file.
1192 * tests/Makefile.am (TESTS): Add lisp8.test.
1193 Suggested by Bruno Haible.
1195 2005-03-27 Alexandre Duret-Lutz <adl@gnu.org>
1197 * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
1199 2005-03-16 Alexandre Duret-Lutz <adl@gnu.org>
1201 * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
1202 a missing *.elc file if it cannot be created because emacs does
1204 * tests/lisp7.test: New file.
1205 * tests/Makefile.am (TESTS): Add lisp7.test.
1206 Report from Greg Schafer.
1208 2005-03-05 Alexandre Duret-Lutz <adl@gnu.org>
1210 * doc/automake.texi: Replace wicked whiches by thats.
1212 2005-03-04 Alexandre Duret-Lutz <adl@gnu.org>
1214 * aclocal.in (scan_configure_dep, scan_file): Include file names
1215 are relative to the directory of configure.ac, not to the
1216 directory of the file doing the include. Remove code for this
1218 * tests/acloca13.test: Run distcheck and make sure all macros are
1219 actually distributed.
1221 2005-03-03 Alexandre Duret-Lutz <adl@gnu.org>
1223 For PR automake/450:
1224 * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
1226 * automake.in (scan_autoconf_traces): Likewise.
1227 * tests/sinclude.test: Augment.
1228 Report from Peter Breitenlohner.
1230 For PR automake/450:
1231 * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
1232 acinclude.m4 and configure.ac to the include map in these two
1234 (strip_redundant_includes): ... do it here. This completes the
1235 previous change from 2005-03-01, that did not update
1237 * tests/acloca19.test: Augment.
1238 Report from Peter Breitenlohner.
1240 2005-03-02 Alexandre Duret-Lutz <adl@gnu.org>
1242 * tests/comment9.test: Typo.
1244 2005-03-01 Alexandre Duret-Lutz <adl@gnu.org>
1246 * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
1247 * tests/comment9.test: New file.
1248 * tests/Makefile.am (TESTS): Add comment9.test.
1249 Report from Julien Sopena.
1251 For PR automake/450:
1252 * aclocal.in (trace_used_macros): Do not explicitly trace files
1253 included by configure.ac.
1254 * tests/acloca19.test: New file.
1255 * tests/Makefile.am (TESTS): Add acloca19.test.
1256 Report from Peter Breitenlohner.
1258 2005-02-27 Alexandre Duret-Lutz <adl@gnu.org>
1260 Fix for PR automake/448:
1261 * automake.in (handle_factored_dependencies): Flag install-hook as
1263 * tests/insthook.test: Exercise this.
1265 * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
1266 * doc/automake.texi (Hard-Coded Install Paths): Adjust.
1268 * doc/automake.texi: Replace many uses of @samp by @code, and
1269 vice versa. Use @command, @option, and @env where appropriate.
1271 2005-02-26 Alexandre Duret-Lutz <adl@gnu.org>
1273 * doc/automake.texi: "filename" -> "file name", for consistency
1274 with GNU Coding Standards. See also Paul's change on 2004-08-20
1277 * doc/automake.texi (A Library, Libtool Libraries): Show how to link
1278 a program with a static or libtool library.
1279 (Program and Library Variables): Make clearer that _LDADD and
1280 _LIBADD may also list libraries.
1281 Prompted by a mail from Bruce Korb.
1283 * doc/automake.texi (Alternative): Show how to rewrite nobase_
1284 variables using custom directory variables, and link to node
1285 Uniform. Suggested by Leonardo Boiko.
1287 * doc/automake.texi (Flag Variables Ordering, User Variables):
1288 Make clearer who the maintainer is, and that he can AC_SUBST AM_
1289 variables in configure.ac. Suggested by Norman Gray.
1290 (Uniform, Public macros, Libtool Issues, Java Support,
1291 Conditionals): Use `---' for em dash, and stick them to the
1294 * doc/automake.texi: Reword a few sentences to fix all underflow
1295 and overflow warnings during `make dvi'.
1296 (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
1297 (Public macros) <AM_WITH_DMALLOC>: Likewise.
1299 2005-02-12 Alexandre Duret-Lutz <adl@gnu.org>
1301 * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
1302 lib/texinfo.tex: New upstream versions.
1304 * doc/automake.texi (Hard-Coded Install Paths): New node.
1305 (Extending, Extending aclocal, Python): Link to it.
1306 (Extending): Don't show how to install a file in /etc/ directly,
1309 * automake.in (read_am_file): Define variables containing long
1310 lines as VAR_PRETTY to work around tools with limited input width.
1311 * tests/longlin2.test: New file.
1312 * tests/Makefile.am (TESTS): Add it.
1313 Report from Albert Chin.
1315 2005-02-09 Alexandre Duret-Lutz <adl@gnu.org>
1317 Fix for PR automake/447:
1318 * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
1319 Report from Mathias Doreille. Add some old comments from
1320 Nicolas Joly for reference.
1322 2005-02-08 Stepan Kasal <kasal@ucw.cz>
1324 * lib/mdate-sh: Check the size of the word following the month to
1325 catch Darwin. This way the filename can contain spaces.
1327 * doc/automake.texi (Requirements, Options): Typos.
1329 2005-02-08 Alexandre Duret-Lutz <adl@gnu.org>
1331 * lib/missing (makeinfo): Compute the output file if neither -o
1332 nor @setfilename is used.
1333 Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
1335 2005-02-07 Alexandre Duret-Lutz <adl@gnu.org>
1337 * doc/automake.texi (Requirements): Show one example of
1338 AC_CONFIG_FILES with multiple outputs, and correct a few typos.
1340 * aclocal.in ($serial_line_rx): Expect at least one space between
1341 `serial' and the following number.
1342 Report from Jim Meyering.
1344 * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
1345 Report from Peter O'Gorman.
1347 2005-02-06 Alexandre Duret-Lutz <adl@gnu.org>
1349 * aclocal.in (usage, parse_arguments): New --dry-run and --diff
1351 (install_file, write_aclocal): Honor --dry-run and --diff.
1352 * doc/automake.texi (aclocal options): Document --dry-run and --diff.
1353 (Serials): Mention --diff.
1354 * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
1355 $expected_exit_code argument.
1356 (xsystem): Take a list of arguments, not a string.
1357 * tests/acloca18.test: Use --dry-run and --diff.
1358 Suggested by Paul Eggert.
1360 * doc/automake.texi (aclocal options, Macro search path,
1361 Extending aclocal, Local Macros, Serials, Future of aclocal): Make
1362 these subsection of ...
1363 (Invoking aclocal): ... this.
1365 * aclocal.in ($serial_line_rx): Allow trailing garbage after the
1367 (scan_file): Explicitly mark the "ill-formed serial" message
1369 * doc/automake.texi (aclocal options, Local Macros): Link to...
1370 (Serials): ... this new section.
1372 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
1374 * lib/compile: Likewise.
1376 2005-02-02 Alexandre Duret-Lutz <adl@gnu.org>
1378 * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
1380 * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
1381 status if a write failure occurs with --help or --version option,
1384 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
1386 * lib/depcomp: Exit with nonzero status if a write failure occurs
1387 with --help or --version option.
1388 * lib/elisp-comp: Likewise.
1389 * lib/gnupload: Likewise.
1390 * lib/install-sh: Likewise.
1391 * lib/missing: Likewise.
1392 * lib/mkinstalldirs: Likewise.
1394 2005-02-01 Alexandre Duret-Lutz <adl@gnu.org>
1396 * doc/automake.texi (aclocal options): Typo.
1398 * aclocal.in (list_compare): New functions.
1399 (scan_file): Honor #serial lines.
1400 * tests/acloca18.test: New test.
1401 * tests/Makefile.am (TESTS): Add it.
1402 * doc/automake.texi (aclocal options, Local Macros): Document
1405 2005-01-30 Alexandre Duret-Lutz <adl@gnu.org>
1407 Preliminary support for `aclocal --install'.
1408 This still lacks #serial support.
1409 * aclocal.in (reset_maps, install_file): New functions.
1410 (write_aclocal): Copy files if --install.
1411 (usage, parse_arguments): Recognize --install.
1412 ("MAIN"): Start aclocal again if some file were installed.
1413 * tests/acloca10.test: Augment to test --install.
1414 * tests/aclocal.in, tests/defs.in: Add support for
1415 ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
1416 * doc/automake.texi (aclocal options, Local Macros): Document
1418 (Future of aclocal): Adjust.
1420 * doc/automake.texi (Macro search path): Using --acdir is not
1421 obvious, it's erroneous.
1423 * doc/automake.texi (direntry): Let `info Automake' point to the
1424 manual, and `info automake' to the `Invoking automake' node. Like
1427 2005-01-27 Akim Demaille <akim@epita.fr>
1429 * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
1432 2005-01-24 Akim Demaille <akim@epita.fr>
1434 * lib/Automake/FileUtils.pm: Rename filename as file_name to be
1435 consistent with the terminology of the GNU coding standards.
1437 (update_file): Accept a $force argument, so that --force always
1438 updates the time stamps.
1440 2005-01-23 Alexandre Duret-Lutz <adl@gnu.org>
1442 * doc/automake.texi (How the Linker is Chosen): Explain how the
1443 linker is chosen without diagram, and update to match the code.
1444 Suggestion from Adrian Bunk.
1446 2005-01-16 Alexandre Duret-Lutz <adl@gnu.org>
1448 * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
1449 Process all words of $MAKEFLAGS when checking for -k.
1450 * tests/check4.test: New file.
1451 * tests/Makefile.am (TESTS): Add check4.test.
1452 Report from Eric Blake.
1454 2005-01-13 Alexandre Duret-Lutz <adl@gnu.org>
1456 * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
1457 AM_INIT_AUTOMAKE if the version passed is incorrect.
1458 * tests/version8.test: New file.
1459 * tests/Makefile.am (TESTS): Add version8.test.
1461 2005-01-09 Alexandre Duret-Lutz <adl@gnu.org>
1463 * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
1464 m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
1465 m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
1466 m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
1467 m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
1468 m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
1469 m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
1470 m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
1471 license that is used in aclocal.m4. Relicensing backed by RMS.
1473 * doc/automake.texi (A Library, LIBOBJS): Mention that empty
1474 libraries are not portable.
1476 2005-01-05 Akim Demaille <akim@epita.fr>
1478 * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
1479 * tests/aclocal5.test (MORE_DEFS): Rename as...
1480 (AM_TEST): this so that undefined macros are caught.
1481 And make it an alias of AC_SUBST.
1483 Reported by Martin Bravenboer.
1485 2005-01-03 Alexandre Duret-Lutz <adl@gnu.org>
1487 Fix handling of per-target flags in link rules.
1488 * automake.in (define_per_target_linker_variable): New function.
1489 (handle_programs, handle_ltlibraries): Use it.
1490 (%link_languages): New map.
1491 (register_language): Fill it.
1492 * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
1493 $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
1494 define_per_target_linker_variable if needed.
1495 * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
1496 $(%XPROGRAM%_LDFLAGS).
1497 * doc/automake.texi (Program and Library Variables): Mention
1498 AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
1499 and maude_LIBTOOLFLAGS.
1500 * tests/libtool9.test: New file.
1501 * tests/Makefile.am (TESTS): Add it.
1502 * NEWS: Explain the backward incompatibility.
1503 Report from Akim Demaille.
1505 2005-01-01 Alexandre Duret-Lutz <adl@gnu.org>
1507 * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
1508 specifications with shell variables.
1509 (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
1510 AC_CONFIG_FILES for this explanation.
1511 * automake.in (substitute_ac_subst_variables_worker,
1512 substitute_ac_subst_variables): Mew functions.
1513 (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
1514 to ignore dependencies that contain unAC_SUBSTed shell variables.
1515 (handle_configure): Likewise, do not output rules for
1516 AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
1517 unAC_SUBSTed contain shell variables.
1518 * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
1519 * tests/output11.test, tests/output12.test: New files.
1520 * tests/Makefile.am (TESTS): Add output11.test and output12.test.
1522 * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
1523 * automake.in ($gen_copyright, version): Likewise.
1527 Copyright (C) 2005, 2006 Free Software Foundation, Inc.
1529 This file is part of GNU Automake.
1531 GNU Automake is free software; you can redistribute it and/or modify
1532 it under the terms of the GNU General Public License as published by
1533 the Free Software Foundation; either version 2, or (at your option)
1536 GNU Automake is distributed in the hope that it will be useful,
1537 but WITHOUT ANY WARRANTY; without even the implied warranty of
1538 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1539 GNU General Public License for more details.
1541 You should have received a copy of the GNU General Public License
1542 along with autoconf; see the file COPYING. If not, write to
1543 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
1544 Boston, MA 02110-1301, USA.