1 2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use
4 `$configure_in' instead of `configure.in', to preserve
6 * lib/Automake/Configure_ac.pm: Add note that Automake owns
8 * lib/Automake/Channels.pm: Likewise.
9 * lib/Automake/FileUtils.pm: Likewise.
10 * lib/Automake/Struct.pm: Likewise.
12 2006-05-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14 * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
15 New upstream versions.
17 2006-05-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
19 * doc/automake.texi (Auxiliary Programs): Fix URL to GCC
20 repository, they use SVN now.
22 2006-05-13 Werner Lemberg <wl@gnu.org>
24 * lib/gnupload: Add support for savannah.gnu.org and
27 2006-05-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
29 * lib/Automake/Channels.pm, lib/Automake/Condition.pm,
30 lib/Automake/DisjConditions.pm, lib/Automake/Options.pm,
31 lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos.
33 2006-05-11 Paul Eggert <eggert@cs.ucla.edu>
35 * lib/install-sh: Sync from Autoconf, as follows:
36 Don't use 'path' to talk about file names,
37 as per GNU coding standards. Close a race condition reported by Ralf
38 Wildenhues and Stepan Kasal. There is still a race condition
39 on hosts that predate Posix 1003.1-1992, but we can't help this.
40 Don't mishandle weird characters like space on pre-Posix hosts.
41 Invoke mkdir at most once per dir arg on pre-Posix hosts.
43 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
45 * tests/missing.test, tests/missing2.test: Do not require
47 * Makefile.am (maintainer-check): Make sure `required=' does not
48 follow `. ./defs' in the tests.
50 * tests/ansi10.test: Use AC_PROG_CC_STDC. Fix test that
51 ac_cv_prog_cc_stdc isn't just used by Automake code in
53 * tests/ansi6.test, tests/ansi7.test: Likewise.
54 * tests/ansi9.test: Likewise. Do not override by setting
55 $U and $(ANSI2KNR) at `make' time; that will be fragile.
56 * tests/libobj8.test: Use AC_PROG_CC_STDC.
57 * tests/subobj3.test: Likewise. Use `set -e'.
59 * lib/install-sh: Initialize IFS, so field splitting isn't
61 * lib/mkinstalldirs: Likewise.
63 * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has
64 the path of the prerequisite added; IRIX 6.5 make does not add
65 it, Solaris 2.6 make is inconsistent about adding it. Fixes
68 * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
69 files in the source tree. Fixes failures with HP-UX and Tru64
72 * lib/am/ansi2knr.am (ansi2knr): Rename target as...
73 (./ansi2knr): ...this, for BSD make.
74 (%ANSI2KNR-DIR%/ansi2knr): Adjust.
76 2006-05-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
78 * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD
79 /bin/sh -e issue with failing commands in if clauses.
81 * tests/defs.in (Be Bourne compatible): Update from current
84 * configure.ac: Recommend perl-5.8.2.
85 * tests/automake.test: Do not fail because of buggy Getopt::Long
88 * tests/longlin2.test: Do not use `grep' on Makefile.am:
89 it has long lines and is thus not a text file; AIX 5.1 grep
90 fails to scan non-plain patterns from long lines.
92 * tests/overrid.test: Change all regexes for warning messages to
93 match after a colon, so that the prepended file names do not
94 cause false matches. Tighten overrides regex. Fix typo
95 `cleam-am-local' -> `clean-am-local'.
97 * tests/java.test: `configure' uses a trap, so use `(exit 77);
98 exit 77' to portably set the exit status similar to AS_EXIT.
99 * tests/fn99.test: propagate nonzero exit status from subshell.
101 * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused
102 if ``pwd`' contains the string `-p'. Create the wrapper in a
103 subdirectory so that `.' in $PATH does not lead to an endless
106 * lib/depcomp (ia64hp): Rename dependency style to..
107 (hp2): ..this, as it works with aCC on HPPA, too; adjust
108 comment. Report by Olivier Fourdan (PR automake/481).
111 * tests/aclocal7.test: Add `$sleep's between file touching
112 and automake resp aclocal+automake invocations, to ensure
113 they complete with a time stamp strictly later than the touched
116 * lib/missing: Remove superfluous quotes. Replace all uses of
117 `[' by `test', for consistency, and for..
118 * tests/missing5.test: ..this new test.
119 * tests/Makefile.am: Update.
121 * lib/missing (sed_minuso, sed_output): New variables.
122 (autom4te, help2man, makeinfo): Use them. Unifies detection of
123 `-o FILE', `--output FILE', `--output=FILE', stricter regex.
124 Fixes `missing' to detect `--output' for help2man. Fixes
125 PR automake/483. Report by Dennis J. Linse.
126 (autom4te): Document in `missing --help'.
129 2006-04-26 Thien-Thi Nguyen <ttn@gnu.org> (tiny change)
131 * doc/automake.texi (Dependency Tracking Evolution): Fix typo.
133 2006-04-25 Stepan Kasal <kasal@ucw.cz>
135 * lib/install-sh: Simplify the expr implementation of dirname.
137 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
139 * lib/install-sh: Handle --, and diagnose unknown options.
140 * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set
141 mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with
142 the other ways that mkdir_p might be set.
144 2006-04-21 Alexandre Duret-Lutz <adl@gnu.org>
146 * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
147 (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
148 * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
149 (write_aclocal): Output a check for Autoconf's version in aclocal.m4.
150 Doing so ensures that users cannot build configure and Makefiles
151 with two different autoconf versions. Report from Noah Misch.
152 * tests/missing4.test: New file.
153 * tests/Makefile.am (TESTS): Add it.
155 2006-04-20 Paul Lunau <temp@lunau.me.uk> (tiny change)
156 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
158 * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test
159 failed, instead of when the last one failed (PR automake/488).
160 Report from Paul Lunau.
161 * tests/dejagnu4.test: Update to expose this.
164 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
166 * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by
167 TABs as well as spaces. Fixes PR automake/490.
168 * tests/check6.test: New test.
169 * tests/Makefile.am, THANKS: Update.
170 Report from Diab Jerius <djerius@cfa.harvard.edu>.
172 2006-04-17 Stepan Kasal <kasal@ucw.cz>
174 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
175 description; eliminate the duplicate error message.
176 * doc/automake.texi (@direntry): `Invoking Automake' is the name
177 of the usage node for `automake'
178 * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the
181 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
183 * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c,
184 because it uses `datarootdir'. Bump copyright year and serial.
186 2006-04-10 Stepan Kasal <kasal@ucw.cz>
190 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
192 * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
193 (_gen_varname): Use _hash_values, and return a flag indicating whether
194 the variable name was generated or reused.
195 (transform_variable_recursively): Do not redefine variables that
196 are reused, and try to reuse the variable being transformed.
197 * tests/check2.test: Make sure TESTS hasn't been redefined.
198 * tests/check5.test, tests/exeext4.test: Make sure variables have
200 * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.
202 * automake.in (%ignored_configure_vars): New variable.
203 (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill
204 %ignored_configure_vars.
205 (define_configure_variable): Declare ignored configure variables
206 as VAR_SILENT. Do not special-case AMDEPBACKSLASH and ANSI2KNR
208 * m4/substign.m4: New file.
209 * m4/Makefile.am (dist_m4data_DATA): Add substign.m4.
210 * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477).
211 * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH.
212 * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR.
213 * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined.
214 * tests/amsubst.test: New file.
215 * tests/Makefile.am (TESTS): Add it.
217 2006-04-09 Stepan Kasal <kasal@ucw.cz>
218 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
220 * automake.in (handle_single_transform): Preserve directories in
222 * tests/suffix12.test: New test.
223 * tests/Makefile.am (TESTS): Add it.
224 Report from John Ratliff.
226 2006-03-25 Mike Frysinger <vapier@gentoo.org> (tiny change)
227 Alexandre Duret-Lutz <adl@gnu.org>
229 * aclocal.in ($m4_include_rx): Do not recognize `include', and
230 adjust scan_configure_dep and scan_file accordingly.
231 (scan_configure_dep): Do not search white lines.
232 (scan_file): Strip comments from current line after checking
233 for serial, so that aclocal does not trip on `m4_include' macros
234 in comments. Report from Mike Frysinger.
235 * tests/acloca21.test: New file.
236 * tests/Makefile.am (TESTS): Add it.
238 2006-03-24 Stepan Kasal <kasal@ucw.cz>
240 * tests/mmodely.test: Fix the test on systems with no lex.
242 2006-03-23 Stepan Kasal <kasal@ucw.cz>
244 * automake.in (libtool_new_api): Fix a typo in the comment.
245 * lib/Automake/Makefile.am (Config.pm): Likewise.
246 * lib/am/depend2.am: Likewise.
247 * tests/xsource.test: With `set -e', `|| exit 1' is no longer
250 2006-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
252 * tests/depcomp6.test, tests/depcomp7.test: Change back to
253 using `$MAKE && exit 1', but make sure the last command in the
256 2006-03-21 Clifford Wolf <clifford@clifford.at> (tiny change)
257 Stepan Kasal <kasal@ucw.cz>
258 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
260 * aclocal.in (parse_arguments): Added wildcard support to the
262 * doc/automake.texi (Macro search path): Document it.
263 * tests/dirlist2.test: New test.
264 * m4/dirlist, tests/Makefile.am: Adjust.
266 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
268 * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)'
269 to `AC_PROG_OBJC' if provided, to fix Objective C depmode
271 * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for
273 * tests/ext.test: Adjust.
274 * tests/objc.test, tests/objc2.test: New tests.
275 * tests/Makefile.am: Adjust.
276 * doc/automake.texi (Objective C Support): New node.
277 (Support for Other Languages): Adjust.
279 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
281 * lib/Automake/RuleDef.pm (DESCRIPTION): Typo.
283 * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic
284 to work with `set -e'.
286 * tests/depcomp6.test, tests/depcomp7.test: New tests,
287 for general `depcomp' functionality, with and without
288 `subdir-objects', with and without `libtool'.
289 * tests/Makefile.am: Adjust.
291 * aclocal.in (write_aclocal): Unlink `aclocal.m4' before
292 writing into it, to break a symlinked file.
293 * tests/acloca20.test: New test.
294 * tests/Makefile.am: Updated.
296 2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
298 Allow package trees (packages with subpackages) to share
299 common distributed auxiliary files (and directories) that
300 reside within a subpackage.
302 * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if
303 `$(distdir)' already exists.
304 (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent
305 removal of subpackage trees for distribution.
306 * tests/subpkg3.test: New test.
307 * tests/Makefile.am: Update.
309 2006-03-18 Alexandre Duret-Lutz <adl@gnu.org>
311 * tests/check5.test, tests/nobast.test: Fix $MAKE and rm
312 invocations to please maintainer-check.
314 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org>
316 * automake.in (lang_c_rewrite): Typo in previous change.
317 * tests/ccnoco2.test: New file.
318 * tests/Makefile.am (TESTS): Add ccnoco2.test.
320 * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement
321 a 'portability' warning, so that people can ignore it. Suggested
324 * lib/Automake/ChannelDefs.pm: Make -Wportability the default in
326 * doc/automake.texi (Invoking Automake): Adjust.
328 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
330 * doc/automake.texi (Yacc and Lex): Document that `.ypp' and
331 `.lpp' file extensions are recognized.
333 2006-02-21 Alexandre Duret-Lutz <adl@gnu.org>
335 * doc/automake.texi (Complete, Extending aclocal, Public macros)
336 (Python, Conditionals, API versioning): Always quote macro arguments.
337 Report from Stepan Kasal.
339 2006-02-16 Alexandre Duret-Lutz <adl@gnu.org>
341 * doc/automake.texi (Python): More examples.
343 2006-02-05 Alexandre Duret-Lutz <adl@gnu.org>
345 * doc/automake.texi (distcleancheck): Fix bad wording. Report
347 (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS).
349 2006-01-29 Alexandre Duret-Lutz <adl@gnu.org>
351 Append $(EXEEXT) to programs that may be listed in TESTS.
352 Report from Simon Josefsson.
354 * automake.in (%known_programs): New global.
355 (initialize_per_input): Reset it.
356 (append_exeext): Take a predicate as first argument to select
357 the filename to rewrite.
358 (handle_programs): Fill %known_programs.
359 (handle_tests): Append $(EXEEXT) to all tests that are in
361 (am_install_var): Update call to append_exeext.
362 * doc/automake.texi (EXEEXT): TESTS is also rewritten.
363 (Tests): More about the difference between check_PROGRAMS and TESTS.
364 Give an example of TEST_ENVIRONMENT.
365 * tests/cond32.test: Augment with a nested condition.
366 * tests/exeext4.test: Also check TESTS.
367 * tests/check5.test: New file.
368 * tests/Makefile.am (TESTS): Add check5.test.
370 2006-01-12 Paul Eggert <eggert@cs.ucla.edu>
372 * lib/install-sh (dstdir): Don't use semicolons inside { } in
373 sed scripts, as Posix says it's not portable.
374 * lib/missing (file): Likewise.
375 * lib/am/distdir.am (distcheck): Likewise.
376 * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise
377 * tests/distcom2.test, tests/distcom3.test: Likewise.
378 * tests/distcom4.test, tests/distcom5.test: Likewise.
379 * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise.
381 2006-01-12 Alexandre Duret-Lutz <adl@gnu.org>
383 * ChangeLog: Move 2004's entries to ...
384 * ChangeLog.04: ... this new file.
385 * Makefile.am (EXTRA_DIST): Add ChangeLog.04.
387 * tests/txinfo13.test: Test fix below.
389 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
391 * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted
392 extra files in distribution. Reported by Vincent Lefevre.
394 2006-01-06 Alexandre Duret-Lutz <adl@gnu.org>
396 * doc/automake.texi (Linking, Program and Library Variables):
397 Mention the file extensions that usually appear in _DEPENDENCIES,
398 and point to BUILT_SOURCES and example of _DEPENDENCIES uses. A
399 couple of people have been listing sources files in _DEPENDENCIES
402 * doc/automake.texi: Bump copyright year.
403 * automake.in ($gen_copyright, version): Likewise.
404 * aclocal.in (write_aclocal, version): Likewise.
406 2006-01-05 Stepan Kasal <kasal@ucw.cz>
407 Alexandre Duret-Lutz <adl@gnu.org>
409 * automake.in (topsrcdir): New global.
410 (generate_makefile): Compute it.
411 (fill_dist_dirs): New function extracted from handle_dist.
412 (handle_dist, handle_configure): Use fill_dist_dirs.
413 * tests/distdir.test: Test for cases where $(top_srcdir) or
414 $(srcdir) appear in EXTRA_DIST. Report from Sander Niemeijer.
416 2006-01-05 Zack Weinberg <zackw@panix.com>
417 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
419 * lib/depcomp: Add 'ia64hp' dependency style.
420 Zack's original patch was contributed to GCC on 2005-06-13.
423 2005-11-01 Stepan Kasal <kasal@ucw.cz>
425 * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that
426 the code is portable to both POSIX and pre-POSIX shells.
428 2005-10-17 Alexandre Duret-Lutz <adl@gnu.org>
430 * tests/nobase.test: Use `chmod a-x' instead of `chmod -x',
431 suggested by Eric Blake.
433 2005-10-17 Stepan Kasal <kasal@ucw.cz>
435 * doc/automake.texi (Program and Library Variables): Typo.
436 * lib/Automake/Variable.pm (transform_variable_recursively): Typo
439 2005-10-03 Stepan Kasal <kasal@ucw.cz>
441 * ChangeLog.03, automake.in, tests/overrid.test: Typos.
443 2005-10-03 Alexandre Duret-Lutz <adl@gnu.org>
445 * tests/nobase.test: Exercise previous patch.
447 2005-10-03 Peter O'Gorman <peter@pogma.com> (tiny change)
449 * lib/am/distdir.am: Remove $(SHELL) when calling install_sh
450 * m4/strip.m4: Ditto.
451 * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh
453 2005-09-13 Paul Eggert <eggert@cs.ucla.edu>
455 * doc/automake.texi (limitations on file names): New section.
456 * lib/install-sh: Rewrite to support '*' in file names.
457 Also, tune so that we don't invoke so many commands in the usual case.
458 * tests/instspc.test: The "*" test is now fixed.
460 2005-09-13 Stepan Kasal <kasal@ucw.cz>
462 * automake.in (Languages) <cppasm>: Fix typo in the comment.
464 2005-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
466 * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put
467 shell in verbose mode.
469 2005-08-07 Alexandre Duret-Lutz <adl@gnu.org>
471 * lib/Automake/Variable.pm (variable_value): Do not read the TRUE
472 value of a conditionally defined variable.
473 Report from Juergen Leising.
475 * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive
477 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
479 * lib/am/texi-vers.am (%STAMPVTI%): Likewise.
480 * lib/am/remake-hdr.am (%CONFIG_H%): Likewise.
481 * Makefile.am (maintainer-check): Check for this.
482 Report from Stepan Kasal.
484 * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'.
485 Prompted by Stepan Kasal.
487 2005-08-07 Stepan Kasal <kasal@ucw.cz>
489 * lib/am/texinfos.am (uninstall-info-am): Call install-info only if
490 the $(infodir) exists.
492 2005-07-31 Stepan Kasal <kasal@ucw.cz>
494 * tests/library3.test: Fix a typo which made the test fail.
496 2005-07-27 Alexandre Duret-Lutz <adl@gnu.org>
498 * doc/automake.texi (Linking, Program and Library Variables):
499 Suggest reserving -l for third-party libraries.
501 * lib/Automake/Variable.pm (require_variables): Mention aclocal's
502 search path when suggesting to add a macro in configure.ac.
503 People are confused when Automake suggests adding a macro (such as
504 AC_PROG_LIBTOOL) that is already in configure.ac.
505 * automake.in (require_file_internal): Suggest `automake --add-missing'
506 for missing files that can be installed.
507 * tests/library3.test: Adjust.
509 2005-07-27 Stepan Kasal <kasal@ucw.cz>
511 * tests/defs.in: When required matches both `*libtool*' and
512 `*gettext*', check for both m4 files.
514 * doc/automake.texi (Auxiliary Programs): Fix a typo.
515 * tests/suffix11.test: Fix a typo.
516 * tests/colon3.test: s/EGREP/FGREP/.
518 2005-07-19 Paul Eggert <eggert@cs.ucla.edu>
520 * tests/instspc.test: Major rewrite to test for many other
521 problematic file names, e.g., '$', '"', '('. Automake and
522 Autoconf can't handle many of them, so do not report a failure
523 if the usual candidates show up.
525 2005-07-19 Stepan Kasal <kasal@ucw.cz>
527 * Makefile.am (automake, aclocal): Merge the rules.
529 2005-07-10 Alexandre Duret-Lutz <adl@gnu.org>
531 * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
534 2005-07-09 Alexandre Duret-Lutz <adl@gnu.org>
536 * lib/install-sh: Use IFS=/ to split directories on /, don't translate
537 / into % as it prevents directory names using %...
539 2005-07-09 Stepan Kasal <kasal@ucw.cz>
541 * doc/automake.texi (Public macros): Typo.
542 * aclocal.in: Typo in comment.
544 2005-07-09 Zack Weinberg <zack@codesourcery.com> (tiny change)
546 * lib/depcomp: Handle "#line" markers as well as "# " markers in
547 "cpp" style, so it can work with newer HP compilers (for their
550 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
552 * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to
553 fix an underful hbox.
554 * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex:
555 New upstream versions.
557 2005-07-01 Alexandre Duret-Lutz <adl@gnu.org>
559 * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5.
561 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
563 * automake.in (make_paragraphs): Do not define %TOPDIR%, now that
564 lib/am/header-vars.am no longer uses it.
565 * lib/am/libtool.am (distclean-am, distclean-libtool): Define
566 if TOPDIR_P is true, not TOPDIR.
567 Suggested by Stepan Kasal.
569 * automake.in (read_am_file): Correctly diagnose comments following
571 * tests/commen10.test: New file.
572 * tests/Makefile.am (TESTS): Add commen10.test.
573 Report from Harald Dunkel.
575 * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead
577 * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL):
578 Do not define, they are AC_SUBST_TRACEd by Autoconf.
579 * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c.
580 * tests/include.test: Call AC_OUTPUT.
582 2005-06-29 Alexandre Duret-Lutz <adl@gnu.org>
584 * lib/mkinstalldirs: Fix support for directory name with spaces if
585 `mkdir -p' does not work.
586 * tests/Makefile.am (TESTS): Add mkinst3.test.
587 * tests/mkinst3.test: New file.
588 Report from Noah Friedman.
590 * doc/automake.texi (Include, Extending aclocal): Typos.
591 Report from Karl Berry.
593 2005-06-28 Stepan Kasal <kasal@ucw.cz>
594 Alexandre Duret-Lutz <adl@gnu.org>
596 * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set.
597 * tests/txinfo28.test: Set TIME_STYLE.
598 Report from Vincent Lefevre and James Youngman.
600 2005-06-24 Alexandre Duret-Lutz <adl@gnu.org>
602 * lib/Automake/Variable.pm (define, _new): Remember the helper
603 variable created for the last conditional += on each variable, and
604 only append further += in the same condition to this last helper
605 variable, not to older helper variables. This way the order of
606 the items appended to the variable is preserved.
607 * tests/cond21.test: Adjust.
608 * tests/cond38.test: New file.
609 * tests/Makefile.am (TESTS): Add cond38.test.
610 Report from Ed Hartnett.
612 2005-06-22 Alexandre Duret-Lutz <adl@gnu.org>
614 * tests/aclocal5.test: Adjust to recent CVS Autoconf changes.
616 * automake.in (handle_footer): Do not output an unformatted
617 definition of SOURCES, it is already done correctly in
618 generate_makefile. This superfluous definition introduced long
619 lines in some Makefiles, hence breakages in tools with a limited
620 line length. Report from Mathias Froehlich.
622 2005-06-11 Alexandre Duret-Lutz <adl@gnu.org>
624 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
625 Fix redirections in previous patch.
627 2005-06-08 Alexandre Duret-Lutz <adl@gnu.org>
629 * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%):
630 Do not backup any file if makeinfo is not installed.
631 * lib/missing (makeinfo): Do not touch a missing info file.
632 * tests/txinfo30.test: New file.
633 * tests/Makefile.am (TESTS): Add txinfo30.test.
634 Report from Bob Proulx.
636 * doc/automake.texi (Extending aclocal): Typo.
638 2005-05-24 Brian Gough <bjg@network-theory.co.uk> (tiny change)
640 * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS.
642 2005-05-15 Alexandre Duret-Lutz <adl@gnu.org>
645 * automake.in (require_build_directory): Canonicalize directories
646 with different names, such as `foo/bar' and `./foo//bar'.
647 * tests/subobj9.test: Augment to test that.
648 Report from Tom Tromey.
650 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
652 * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02,
653 ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am,
654 NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure,
655 configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING,
656 lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in,
657 lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp,
658 lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile,
659 lib/symlink-tree, lib/texinfo.tex, lib/ylwrap,
660 lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm,
661 lib/Automake/Condition.pm, lib/Automake/Config.in,
662 lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm,
663 lib/Automake/FileUtils.pm, lib/Automake/General.pm,
664 lib/Automake/Item.pm, lib/Automake/ItemDef.pm,
665 lib/Automake/Location.pm, lib/Automake/Makefile.am,
666 lib/Automake/Options.pm, lib/Automake/Rule.pm,
667 lib/Automake/RuleDef.pm, lib/Automake/Struct.pm,
668 lib/Automake/VarDef.pm, lib/Automake/Variable.pm,
669 lib/Automake/Version.pm, lib/Automake/Wrap.pm,
670 lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl,
671 lib/Automake/tests/DisjConditions.pl,
672 lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl,
673 lib/Automake/tests/Wrap.pl, lib/am/Makefile.am,
674 lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am,
675 lib/am/clean.am, lib/am/compile.am, lib/am/configure.am,
676 lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am,
677 lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am,
678 lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am,
679 lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am,
680 lib/am/lex.am, lib/am/library.am, lib/am/libs.am,
681 lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am,
682 lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am,
683 lib/am/multilib.am, lib/am/program.am, lib/am/progs.am,
684 lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am,
685 lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am,
686 lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am,
687 m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test,
688 tests/acloca11.test, tests/acloca12.test, tests/acloca13.test,
689 tests/acloca14.test, tests/acloca15.test, tests/acloca16.test,
690 tests/acloca17.test, tests/acloca18.test, tests/acloca19.test,
691 tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test,
692 tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test,
693 tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test,
694 tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test,
695 tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test,
696 tests/acsubst.test, tests/acsubst2.test, tests/all.test,
697 tests/alloca.test, tests/alloca2.test, tests/alpha.test,
698 tests/alpha2.test, tests/amassign.test, tests/ammissing.test,
699 tests/ansi.test, tests/ansi10.test, tests/ansi2.test,
700 tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test,
701 tests/ansi5.test, tests/ansi6.test, tests/ansi7.test,
702 tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test,
703 tests/asm.test, tests/autohdr.test, tests/autohdr2.test,
704 tests/autohdr3.test, tests/autohdr4.test, tests/automake.test,
705 tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test,
706 tests/auxdir4.test, tests/backsl.test, tests/backsl2.test,
707 tests/backsl3.test, tests/backsl4.test, tests/badline.test,
708 tests/badopt.test, tests/badprog.test, tests/block.test,
709 tests/bsource.test, tests/canon.test, tests/canon2.test,
710 tests/canon3.test, tests/canon4.test, tests/canon5.test,
711 tests/ccnoco.test, tests/check.test, tests/check2.test,
712 tests/check3.test, tests/check4.test, tests/checkall.test,
713 tests/clean.test, tests/clean2.test, tests/colneq.test,
714 tests/colneq2.test, tests/colon.test, tests/colon2.test,
715 tests/colon3.test, tests/colon4.test, tests/colon5.test,
716 tests/colon6.test, tests/colon7.test, tests/comment.test,
717 tests/comment2.test, tests/comment3.test, tests/comment4.test,
718 tests/comment5.test, tests/comment6.test, tests/comment7.test,
719 tests/comment8.test, tests/comment9.test, tests/compile.test,
720 tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test,
721 tests/cond.test, tests/cond10.test, tests/cond11.test,
722 tests/cond13.test, tests/cond14.test, tests/cond15.test,
723 tests/cond16.test, tests/cond17.test, tests/cond18.test,
724 tests/cond19.test, tests/cond2.test, tests/cond20.test,
725 tests/cond21.test, tests/cond22.test, tests/cond23.test,
726 tests/cond24.test, tests/cond25.test, tests/cond26.test,
727 tests/cond27.test, tests/cond28.test, tests/cond29.test,
728 tests/cond3.test, tests/cond30.test, tests/cond31.test,
729 tests/cond32.test, tests/cond33.test, tests/cond34.test,
730 tests/cond35.test, tests/cond36.test, tests/cond37.test,
731 tests/cond4.test, tests/cond5.test, tests/cond6.test,
732 tests/cond7.test, tests/cond8.test, tests/cond9.test,
733 tests/condd.test, tests/condhook.test, tests/condinc.test,
734 tests/condinc2.test, tests/condlib.test, tests/condman.test,
735 tests/condman2.test, tests/conf2.test, tests/confdeps.test,
736 tests/conff.test, tests/conff2.test, tests/confh.test,
737 tests/confh4.test, tests/confh5.test, tests/config.test,
738 tests/confincl.test, tests/conflnk.test, tests/conflnk2.test,
739 tests/conflnk3.test, tests/confsub.test, tests/confvar.test,
740 tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
741 tests/cxx.test, tests/cxx2.test, tests/cxxansi.test,
742 tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test,
743 tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test,
744 tests/dash.test, tests/defs.in, tests/defun.test,
745 tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test,
746 tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test,
747 tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test,
748 tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test,
749 tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test,
750 tests/depend.test, tests/depend2.test, tests/depend3.test,
751 tests/depend4.test, tests/destdir.test, tests/dirforbid.test,
752 tests/dirlist.test, tests/discover.test, tests/distcom2.test,
753 tests/distcom3.test, tests/distcom4.test, tests/distcom5.test,
754 tests/distcom6.test, tests/distcom7.test, tests/distdir.test,
755 tests/distname.test, tests/dollar.test, tests/double.test,
756 tests/dup2.test, tests/else.test, tests/empty.test,
757 tests/empty2.test, tests/empty3.test, tests/empty4.test,
758 tests/exdir.test, tests/exdir2.test, tests/exeext.test,
759 tests/exeext2.test, tests/exeext3.test, tests/exeext4.test,
760 tests/exsource.test, tests/ext.test, tests/ext2.test,
761 tests/extra.test, tests/extra2.test, tests/extra3.test,
762 tests/extra4.test, tests/extra5.test, tests/extra6.test,
763 tests/extra7.test, tests/f90only.test, tests/flibs.test,
764 tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test,
765 tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test,
766 tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test,
767 tests/gcj5.test, tests/getopt.test, tests/gettext.test,
768 tests/gettext2.test, tests/gnits.test, tests/gnits2.test,
769 tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test,
770 tests/gnuwarn2.test, tests/header.test, tests/help.test,
771 tests/hfs.test, tests/hosts.test, tests/implicit.test,
772 tests/include.test, tests/include2.test, tests/info.test,
773 tests/insh2.test, tests/install2.test, tests/installdir.test,
774 tests/instdat.test, tests/instdat2.test, tests/instexec.test,
775 tests/insthook.test, tests/instman.test, tests/instman2.test,
776 tests/instsh.test, tests/instsh2.test, tests/instspc.test,
777 tests/interp.test, tests/interp2.test, tests/java.test,
778 tests/java2.test, tests/java3.test, tests/javaprim.test,
779 tests/javasubst.test, tests/ldadd.test, tests/ldflags.test,
780 tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test,
781 tests/lex5.test, tests/libobj10.test, tests/libobj11.test,
782 tests/libobj12.test, tests/libobj13.test, tests/libobj14.test,
783 tests/libobj2.test, tests/libobj3.test, tests/libobj4.test,
784 tests/libobj5.test, tests/libobj7.test, tests/libobj8.test,
785 tests/library.test, tests/library2.test, tests/library3.test,
786 tests/libtool.test, tests/libtool2.test, tests/libtool3.test,
787 tests/libtool4.test, tests/libtool5.test, tests/libtool6.test,
788 tests/libtool7.test, tests/libtool8.test, tests/libtool9.test,
789 tests/license.test, tests/link_c_cxx.test, tests/link_dist.test,
790 tests/link_f90_only.test, tests/link_f_only.test,
791 tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test,
792 tests/lisp2.test, tests/lisp3.test, tests/lisp4.test,
793 tests/lisp5.test, tests/lisp6.test, tests/lisp7.test,
794 tests/lisp8.test, tests/listval.test, tests/location.test,
795 tests/longlin2.test, tests/longline.test, tests/ltcond.test,
796 tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test,
797 tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test,
798 tests/make.test, tests/makej.test, tests/makevars.test,
799 tests/man.test, tests/man2.test, tests/mclean.test,
800 tests/mdate.test, tests/mdate2.test, tests/mdate3.test,
801 tests/mdate4.test, tests/missing.test, tests/missing2.test,
802 tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test,
803 tests/mmodely.test, tests/multlib.test, tests/nobase.test,
804 tests/nodef.test, tests/nodef2.test, tests/nodep.test,
805 tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test,
806 tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test,
807 tests/noinst.test, tests/noinstdir.test, tests/nolink.test,
808 tests/nostdinc.test, tests/number.test, tests/obsolete.test,
809 tests/order.test, tests/outdir.test, tests/output.test,
810 tests/output10.test, tests/output11.test, tests/output12.test,
811 tests/output2.test, tests/output3.test, tests/output4.test,
812 tests/output5.test, tests/output6.test, tests/output7.test,
813 tests/output8.test, tests/output9.test, tests/overrid.test,
814 tests/parse.test, tests/percent.test, tests/percent2.test,
815 tests/phony.test, tests/pluseq.test, tests/pluseq10.test,
816 tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test,
817 tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test,
818 tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test,
819 tests/ppf77.test, tests/pr2.test, tests/pr204.test,
820 tests/pr211.test, tests/pr220.test, tests/pr224.test,
821 tests/pr229.test, tests/pr243.test, tests/pr266.test,
822 tests/pr279-2.test, tests/pr279.test, tests/pr287.test,
823 tests/pr300-lib.test, tests/pr300-ltlib.test,
824 tests/pr300-prog.test, tests/pr307.test, tests/pr401.test,
825 tests/pr401b.test, tests/pr401c.test, tests/pr72.test,
826 tests/pr87.test, tests/pr9.test, tests/prefix.test,
827 tests/primary.test, tests/primary2.test, tests/primary3.test,
828 tests/proginst.test, tests/python.test, tests/python10.test,
829 tests/python11.test, tests/python12.test, tests/python2.test,
830 tests/python3.test, tests/python4.test, tests/python5.test,
831 tests/python6.test, tests/python7.test, tests/python8.test,
832 tests/python9.test, tests/recurs.test, tests/recurs2.test,
833 tests/regex.test, tests/remake.test, tests/remake2.test,
834 tests/remake3.test, tests/remake4.test, tests/remake5.test,
835 tests/req.test, tests/reqd.test, tests/reqd2.test,
836 tests/rulepat.test, tests/scripts.test, tests/seenc.test,
837 tests/sinclude.test, tests/space.test, tests/specflg.test,
838 tests/specflg2.test, tests/specflg3.test, tests/specflg6.test,
839 tests/specflg7.test, tests/specflg8.test, tests/specflg9.test,
840 tests/spell.test, tests/spell2.test, tests/spell3.test,
841 tests/spelling.test, tests/spy.test, tests/srcsub.test,
842 tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test,
843 tests/stdlib2.test, tests/strip.test, tests/subcond.test,
844 tests/subcond2.test, tests/subcond3.test, tests/subdir.test,
845 tests/subdir2.test, tests/subdir3.test, tests/subdir4.test,
846 tests/subdir5.test, tests/subdir6.test, tests/subdir7.test,
847 tests/subdir8.test, tests/subdir9.test,
848 tests/subdirbuiltsources.test, tests/subobj.test,
849 tests/subobj2.test, tests/subobj3.test, tests/subobj4.test,
850 tests/subobj5.test, tests/subobj6.test, tests/subobj7.test,
851 tests/subobj8.test, tests/subobj9.test, tests/subobjname.test,
852 tests/subpkg.test, tests/subpkg2.test, tests/subst.test,
853 tests/subst2.test, tests/substre2.test, tests/substref.test,
854 tests/substtarg.test, tests/suffix.test, tests/suffix10.test,
855 tests/suffix11.test, tests/suffix2.test, tests/suffix3.test,
856 tests/suffix4.test, tests/suffix5.test, tests/suffix6.test,
857 tests/suffix7.test, tests/suffix8.test, tests/suffix9.test,
858 tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
859 tests/syntax.test, tests/tags.test, tests/tagsub.test,
860 tests/tar.test, tests/tar2.test, tests/tar3.test,
861 tests/target-cflags.test, tests/targetclash.test,
862 tests/transform.test, tests/txinfo.test, tests/txinfo10.test,
863 tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test,
864 tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test,
865 tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test,
866 tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test,
867 tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test,
868 tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test,
869 tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test,
870 tests/txinfo8.test, tests/txinfo9.test, tests/unused.test,
871 tests/vars.test, tests/vars3.test, tests/vartar.test,
872 tests/version.test, tests/version2.test, tests/version3.test,
873 tests/version4.test, tests/version6.test, tests/version7.test,
874 tests/version8.test, tests/vpath.test, tests/vtexi.test,
875 tests/vtexi2.test, tests/warnopts.test, tests/werror.test,
876 tests/werror2.test, tests/whoami.test, tests/xsource.test,
877 tests/yacc.test, tests/yacc2.test, tests/yacc3.test,
878 tests/yacc4.test, tests/yacc5.test, tests/yacc6.test,
879 tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test,
880 tests/yaccvpath.test: Update FSF postal mail address.
882 * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS
883 Autoconf currently defines a CCC variable.
885 * tests/output11.test, tests/output12.test: Use rm -f.
887 2005-04-25 Gary V. Vaughan <gary@gnu.org>
888 Alexandre Duret-Lutz <adl@gnu.org>
890 Support for remote LIBOBJS (and friends) with subdir-objects.
891 Fixes PR automake/401.
893 * automake.in (config_libobj_dir): New variable.
894 (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR.
895 (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions.
896 (handle_LIBOBJS, handle_ALLOCA): Use them. Adjust location of
897 dependency files, possibly in a subdirectory.
898 * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests.
899 * tests/Makefile.am (TESTS): Add them.
900 * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document.
901 (LIBOBJS): Document changes in behaviour of
902 LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of
903 subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR.
905 2005-04-18 Jim Meyering <jim@meyering.net>
907 * doc/automake.texi (Dist): Correct English.
909 2005-03-31 Stepan Kasal <kasal@ucw.cz>
911 * doc/automake.texi: When the phrase "for instance" introduces a
912 sentence, it should be delimited by a comma.
914 * doc/automake.texi: Fix a few typos.
916 2005-03-30 Alexandre Duret-Lutz <adl@gnu.org>
918 * doc/automake.texi (Uniform): Use xmldir instead of htmldir as
919 example, since the GCS now define htmldir.
920 (Auxiliary Programs): Mention config-ml.in and symlink-tree.
921 Give a URL for texinfo.tex.
922 (Public macros): Sort alphabetically, and move obsolete macros...
923 (Obsolete macros): ... here.
924 Prompted by Karl Berry.
926 2005-03-29 Alexandre Duret-Lutz <adl@gnu.org>
928 * doc/automake.texi (Multiple Outputs): Fix mistakes reported by
931 * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover
932 rule is run with `make -j'.
933 * doc/automake.texi (Multiple Outputs): Adjust.
934 * tests/lisp6.test: Augment it.
935 * tests/lisp8.test: New file.
936 * tests/Makefile.am (TESTS): Add lisp8.test.
937 Suggested by Bruno Haible.
939 2005-03-27 Alexandre Duret-Lutz <adl@gnu.org>
941 * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate.
943 2005-03-16 Alexandre Duret-Lutz <adl@gnu.org>
945 * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover
946 a missing *.elc file if it cannot be created because emacs does
948 * tests/lisp7.test: New file.
949 * tests/Makefile.am (TESTS): Add lisp7.test.
950 Report from Greg Schafer.
952 2005-03-05 Alexandre Duret-Lutz <adl@gnu.org>
954 * doc/automake.texi: Replace wicked whiches by thats.
956 2005-03-04 Alexandre Duret-Lutz <adl@gnu.org>
958 * aclocal.in (scan_configure_dep, scan_file): Include file names
959 are relative to the directory of configure.ac, not to the
960 directory of the file doing the include. Remove code for this
962 * tests/acloca13.test: Run distcheck and make sure all macros are
963 actually distributed.
965 2005-03-03 Alexandre Duret-Lutz <adl@gnu.org>
968 * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded
970 * automake.in (scan_autoconf_traces): Likewise.
971 * tests/sinclude.test: Augment.
972 Report from Peter Breitenlohner.
975 * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove
976 acinclude.m4 and configure.ac to the include map in these two
978 (strip_redundant_includes): ... do it here. This completes the
979 previous change from 2005-03-01, that did not update
981 * tests/acloca19.test: Augment.
982 Report from Peter Breitenlohner.
984 2005-03-02 Alexandre Duret-Lutz <adl@gnu.org>
986 * tests/comment9.test: Typo.
988 2005-03-01 Alexandre Duret-Lutz <adl@gnu.org>
990 * automake.in (read_am_file): Preserve backslashes preceding ##-lines.
991 * tests/comment9.test: New file.
992 * tests/Makefile.am (TESTS): Add comment9.test.
993 Report from Julien Sopena.
996 * aclocal.in (trace_used_macros): Do not explicitly trace files
997 included by configure.ac.
998 * tests/acloca19.test: New file.
999 * tests/Makefile.am (TESTS): Add acloca19.test.
1000 Report from Peter Breitenlohner.
1002 2005-02-27 Alexandre Duret-Lutz <adl@gnu.org>
1004 Fix for PR automake/448:
1005 * automake.in (handle_factored_dependencies): Flag install-hook as
1007 * tests/insthook.test: Exercise this.
1009 * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS.
1010 * doc/automake.texi (Hard-Coded Install Paths): Adjust.
1012 * doc/automake.texi: Replace many uses of @samp by @code, and
1013 vice versa. Use @command, @option, and @env where appropriate.
1015 2005-02-26 Alexandre Duret-Lutz <adl@gnu.org>
1017 * doc/automake.texi: "filename" -> "file name", for consistency
1018 with GNU Coding Standards. See also Paul's change on 2004-08-20
1021 * doc/automake.texi (A Library, Libtool Libraries): Show how to link
1022 a program with a static or libtool library.
1023 (Program and Library Variables): Make clearer that _LDADD and
1024 _LIBADD may also list libraries.
1025 Prompted by a mail from Bruce Korb.
1027 * doc/automake.texi (Alternative): Show how to rewrite nobase_
1028 variables using custom directory variables, and link to node
1029 Uniform. Suggested by Leonardo Boiko.
1031 * doc/automake.texi (Flag Variables Ordering, User Variables):
1032 Make clearer who the maintainer is, and that he can AC_SUBST AM_
1033 variables in configure.ac. Suggested by Norman Gray.
1034 (Uniform, Public macros, Libtool Issues, Java Support,
1035 Conditionals): Use `---' for em dash, and stick them to the
1038 * doc/automake.texi: Reword a few sentences to fix all underflow
1039 and overflow warnings during `make dvi'.
1040 (Auxiliary Programs) <configure.guess, config.sub>: Update URL.
1041 (Public macros) <AM_WITH_DMALLOC>: Likewise.
1043 2005-02-12 Alexandre Duret-Lutz <adl@gnu.org>
1045 * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub,
1046 lib/texinfo.tex: New upstream versions.
1048 * doc/automake.texi (Hard-Coded Install Paths): New node.
1049 (Extending, Extending aclocal, Python): Link to it.
1050 (Extending): Don't show how to install a file in /etc/ directly,
1053 * automake.in (read_am_file): Define variables containing long
1054 lines as VAR_PRETTY to work around tools with limited input width.
1055 * tests/longlin2.test: New file.
1056 * tests/Makefile.am (TESTS): Add it.
1057 Report from Albert Chin.
1059 2005-02-09 Alexandre Duret-Lutz <adl@gnu.org>
1061 Fix for PR automake/447:
1062 * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d.
1063 Report from Mathias Doreille. Add some old comments from
1064 Nicolas Joly for reference.
1066 2005-02-08 Stepan Kasal <kasal@ucw.cz>
1068 * lib/mdate-sh: Check the size of the word following the month to
1069 catch Darwin. This way the filename can contain spaces.
1071 * doc/automake.texi (Requirements, Options): Typos.
1073 2005-02-08 Alexandre Duret-Lutz <adl@gnu.org>
1075 * lib/missing (makeinfo): Compute the output file if neither -o
1076 nor @setfilename is used.
1077 Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible.
1079 2005-02-07 Alexandre Duret-Lutz <adl@gnu.org>
1081 * doc/automake.texi (Requirements): Show one example of
1082 AC_CONFIG_FILES with multiple outputs, and correct a few typos.
1084 * aclocal.in ($serial_line_rx): Expect at least one space between
1085 `serial' and the following number.
1086 Report from Jim Meyering.
1088 * lib/mdate-sh: Cope with Darwin's Day/Month/Year output.
1089 Report from Peter O'Gorman.
1091 2005-02-06 Alexandre Duret-Lutz <adl@gnu.org>
1093 * aclocal.in (usage, parse_arguments): New --dry-run and --diff
1095 (install_file, write_aclocal): Honor --dry-run and --diff.
1096 * doc/automake.texi (aclocal options): Document --dry-run and --diff.
1097 (Serials): Mention --diff.
1098 * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an
1099 $expected_exit_code argument.
1100 (xsystem): Take a list of arguments, not a string.
1101 * tests/acloca18.test: Use --dry-run and --diff.
1102 Suggested by Paul Eggert.
1104 * doc/automake.texi (aclocal options, Macro search path,
1105 Extending aclocal, Local Macros, Serials, Future of aclocal): Make
1106 these subsection of ...
1107 (Invoking aclocal): ... this.
1109 * aclocal.in ($serial_line_rx): Allow trailing garbage after the
1111 (scan_file): Explicitly mark the "ill-formed serial" message
1113 * doc/automake.texi (aclocal options, Local Macros): Link to...
1114 (Serials): ... this new section.
1116 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
1118 * lib/compile: Likewise.
1120 2005-02-02 Alexandre Duret-Lutz <adl@gnu.org>
1122 * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit';
1124 * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero
1125 status if a write failure occurs with --help or --version option,
1128 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
1130 * lib/depcomp: Exit with nonzero status if a write failure occurs
1131 with --help or --version option.
1132 * lib/elisp-comp: Likewise.
1133 * lib/gnupload: Likewise.
1134 * lib/install-sh: Likewise.
1135 * lib/missing: Likewise.
1136 * lib/mkinstalldirs: Likewise.
1138 2005-02-01 Alexandre Duret-Lutz <adl@gnu.org>
1140 * doc/automake.texi (aclocal options): Typo.
1142 * aclocal.in (list_compare): New functions.
1143 (scan_file): Honor #serial lines.
1144 * tests/acloca18.test: New test.
1145 * tests/Makefile.am (TESTS): Add it.
1146 * doc/automake.texi (aclocal options, Local Macros): Document
1149 2005-01-30 Alexandre Duret-Lutz <adl@gnu.org>
1151 Preliminary support for `aclocal --install'.
1152 This still lacks #serial support.
1153 * aclocal.in (reset_maps, install_file): New functions.
1154 (write_aclocal): Copy files if --install.
1155 (usage, parse_arguments): Recognize --install.
1156 ("MAIN"): Start aclocal again if some file were installed.
1157 * tests/acloca10.test: Augment to test --install.
1158 * tests/aclocal.in, tests/defs.in: Add support for
1159 ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test.
1160 * doc/automake.texi (aclocal options, Local Macros): Document
1162 (Future of aclocal): Adjust.
1164 * doc/automake.texi (Macro search path): Using --acdir is not
1165 obvious, it's erroneous.
1167 * doc/automake.texi (direntry): Let `info Automake' point to the
1168 manual, and `info automake' to the `Invoking automake' node. Like
1171 2005-01-27 Akim Demaille <akim@epita.fr>
1173 * lib/Automake/Configure_ac.pm: s/filename/file_name/g.
1176 2005-01-24 Akim Demaille <akim@epita.fr>
1178 * lib/Automake/FileUtils.pm: Rename filename as file_name to be
1179 consistent with the terminology of the GNU coding standards.
1181 (update_file): Accept a $force argument, so that --force always
1182 updates the time stamps.
1184 2005-01-23 Alexandre Duret-Lutz <adl@gnu.org>
1186 * doc/automake.texi (How the Linker is Chosen): Explain how the
1187 linker is chosen without diagram, and update to match the code.
1188 Suggestion from Adrian Bunk.
1190 2005-01-16 Alexandre Duret-Lutz <adl@gnu.org>
1192 * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)):
1193 Process all words of $MAKEFLAGS when checking for -k.
1194 * tests/check4.test: New file.
1195 * tests/Makefile.am (TESTS): Add check4.test.
1196 Report from Eric Blake.
1198 2005-01-13 Alexandre Duret-Lutz <adl@gnu.org>
1200 * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to
1201 AM_INIT_AUTOMAKE if the version passed is incorrect.
1202 * tests/version8.test: New file.
1203 * tests/Makefile.am (TESTS): Add version8.test.
1205 2005-01-09 Alexandre Duret-Lutz <adl@gnu.org>
1207 * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4,
1208 m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4,
1209 m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4,
1210 m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4,
1211 m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4,
1212 m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4,
1213 m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4,
1214 m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive
1215 license that is used in aclocal.m4. Relicensing backed by RMS.
1217 * doc/automake.texi (A Library, LIBOBJS): Mention that empty
1218 libraries are not portable.
1220 2005-01-05 Akim Demaille <akim@epita.fr>
1222 * aclocal.in ($ac_defun_rx): Match AU_ALIAS.
1223 * tests/aclocal5.test (MORE_DEFS): Rename as...
1224 (AM_TEST): this so that undefined macros are caught.
1225 And make it an alias of AC_SUBST.
1227 Reported by Martin Bravenboer.
1229 2005-01-03 Alexandre Duret-Lutz <adl@gnu.org>
1231 Fix handling of per-target flags in link rules.
1232 * automake.in (define_per_target_linker_variable): New function.
1233 (handle_programs, handle_ltlibraries): Use it.
1234 (%link_languages): New map.
1235 (register_language): Fill it.
1236 * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append
1237 $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by
1238 define_per_target_linker_variable if needed.
1239 * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with
1240 $(%XPROGRAM%_LDFLAGS).
1241 * doc/automake.texi (Program and Library Variables): Mention
1242 AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS
1243 and maude_LIBTOOLFLAGS.
1244 * tests/libtool9.test: New file.
1245 * tests/Makefile.am (TESTS): Add it.
1246 * NEWS: Explain the backward incompatibility.
1247 Report from Akim Demaille.
1249 2005-01-01 Alexandre Duret-Lutz <adl@gnu.org>
1251 * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss
1252 specifications with shell variables.
1253 (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to
1254 AC_CONFIG_FILES for this explanation.
1255 * automake.in (substitute_ac_subst_variables_worker,
1256 substitute_ac_subst_variables): Mew functions.
1257 (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables
1258 to ignore dependencies that contain unAC_SUBSTed shell variables.
1259 (handle_configure): Likewise, do not output rules for
1260 AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that
1261 unAC_SUBSTed contain shell variables.
1262 * tests/autohdr4.test: Use an AC_SUBST variable in a specification.
1263 * tests/output11.test, tests/output12.test: New files.
1264 * tests/Makefile.am (TESTS): Add output11.test and output12.test.
1266 * aclocal.in (parse_arguments, write_aclocal): Bump copyright year.
1267 * automake.in ($gen_copyright, version): Likewise.
1271 Copyright (C) 2005, 2006 Free Software Foundation, Inc.
1273 This file is part of GNU Automake.
1275 GNU Automake is free software; you can redistribute it and/or modify
1276 it under the terms of the GNU General Public License as published by
1277 the Free Software Foundation; either version 2, or (at your option)
1280 GNU Automake is distributed in the hope that it will be useful,
1281 but WITHOUT ANY WARRANTY; without even the implied warranty of
1282 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1283 GNU General Public License for more details.
1285 You should have received a copy of the GNU General Public License
1286 along with autoconf; see the file COPYING. If not, write to
1287 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
1288 Boston, MA 02110-1301, USA.