diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-03-28 13:15:52 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-03-28 13:30:13 +0200 |
commit | e343227a1004122bb3f4b54ed06d00a6927cf7c0 (patch) | |
tree | 32425172815ba02ce95145be066464931af8d6de /old | |
parent | 5a4a72a6eb2678f226d3bdc66146174a1cf87a39 (diff) | |
download | automake-e343227a1004122bb3f4b54ed06d00a6927cf7c0.tar.gz |
maint: reorganize the source tree and make it less cluttered
* TODO: Move ...
* old/TODO: ... here. This is done because this file is quite
outdated, and today TODO and wishlist items are better handled
though the debbugs tracker.
* ChangeLog.00: Move ...
* old/ChangeLog.00: ... here.
* ChangeLog.01: Move ...
* old/ChangeLog.01: ... here.
* ChangeLog.02: Move ...
* old/ChangeLog.02: ... here.
* ChangeLog.03: Move ...
* old/ChangeLog.03: ... here.
* ChangeLog.04: Move ...
* old/ChangeLog.04: ... here.
* ChangeLog.09: Move ...
* old/ChangeLog.09: ... here.
* ChangeLog.11: Move ...
* old/ChangeLog.11: ... here.
* ChangeLog.96: Move ...
* old/ChangeLog.96: ... here.
* ChangeLog.98: Move ...
* old/ChangeLog.98: ... here.
* tests/ChangeLog-old: Move ...
* old/ChangeLog-tests: .. here.
* tests/Makefile.am (EXTRA_DIST): Adjust.
* Makefile.am (EXTRA_DIST): Likewise.
* .autom4te.cfg: New file, instructing the autotools to place the
autom4te cache directory in '.autom4te.cache' rather than in
'autom4te.cache'.
* .gitignore: Adjust.
* Makefile.am (maintainer-clean-local): Remove the '.autom4te.cache'
directory.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'old')
-rw-r--r-- | old/ChangeLog-tests | 1448 | ||||
-rw-r--r-- | old/ChangeLog.00 | 2211 | ||||
-rw-r--r-- | old/ChangeLog.01 | 4937 | ||||
-rw-r--r-- | old/ChangeLog.02 | 3225 | ||||
-rw-r--r-- | old/ChangeLog.03 | 2971 | ||||
-rw-r--r-- | old/ChangeLog.04 | 1623 | ||||
-rw-r--r-- | old/ChangeLog.09 | 5767 | ||||
-rw-r--r-- | old/ChangeLog.11 | 13107 | ||||
-rw-r--r-- | old/ChangeLog.96 | 3685 | ||||
-rw-r--r-- | old/ChangeLog.98 | 2191 | ||||
-rw-r--r-- | old/TODO | 504 |
11 files changed, 41669 insertions, 0 deletions
diff --git a/old/ChangeLog-tests b/old/ChangeLog-tests new file mode 100644 index 000000000..84649444b --- /dev/null +++ b/old/ChangeLog-tests @@ -0,0 +1,1448 @@ +2001-02-07 Tom Tromey <tromey@redhat.com> + + * Makefile.am (XFAIL_TESTS): Removed remake3.test, + distcommon.test. + + * Makefile.am (XFAIL_TESTS): Added new files. + + * remake3.test: New file. + * Makefile.am (TESTS): Added new file. + + * distcommon.test: New file. + * Makefile.am (TESTS): Added new file. + +2001-02-04 Tom Tromey <tromey@redhat.com> + + * exsource.test: Updated for new include code. + +2001-02-03 Tom Tromey <tromey@redhat.com> + + * Makefile.am (XFAIL_TESTS): Removed colon7.test. + +2001-01-29 Akim Demaille <akim@epita.fr> + + * check.test: New. + +2001-01-28 Tom Tromey <tromey@redhat.com> + + * listval.test: New file. + * Makefile.am (TESTS): Added listval.test. + +2001-01-26 Tom Tromey <tromey@redhat.com> + + * makevars.test: Fail if automake fails. + +2001-01-26 Pavel Roskin <proski@gnu.org> + + * Makefile.am (XFAIL_TESTS): Added colon7.test. + +2001-01-26 Akim Demaille <akim@epita.fr> + + * vtexi.test (info_TEXINFOS): Check that the path to mdate-sh is + already correct. + + * defs (AUTOCONF, has_autoconf, needs_autoconf): New. + * ansi3.test, cond9.test, depacl2.test, install2.test, pr19.test, + * pr87.test, pr9.test, subobj3.test, target-cflags.test: Use them. + +2001-01-25 Pavel Roskin <proski@gnu.org> + + * makevars.test: Disable shell tracing. + +2001-01-25 Akim Demaille <akim@epita.fr> + + * makevars.test: New. + +2001-01-24 Akim Demaille <akim@epita.fr> + + * vtexi.test (info_TEXINFOS): Escape a $ in egrep pattern. + +2001-01-23 Akim Demaille <akim@epita.fr> + + * vtexi.test: Also check that stamp-vti properly depends upon + configure.in and the Texinfo source file. + +2001-01-21 Kevin Ryde <user42@zip.com.au> + + * colon7.test: Grep for a couple of AC_OUTPUT problems. + +2001-01-15 Tom Tromey <tromey@redhat.com> + + * subdir3.test: Allow any number of dependencies. + + * subobj4.test: Fixed test case. + + * amassign.test: New file. + * Makefile.am (TESTS): Added new file. + +2001-01-12 Tom Tromey <tromey@redhat.com> + + * subobj4.test: New file. + * Makefile.am (TESTS): Added subobj4.test. + + * cxxansi.test: New file. + * Makefile.am (TESTS): Added cxxansi.test. + +2000-12-21 Tom Tromey <tromey@redhat.com> + + * vtexi.test: Fixed to reflect new rules. + +2000-12-17 Tom Tromey <tromey@redhat.com> + + * Makefile.am (XFAIL_TESTS): Don't mention ldflags.test. + +2000-11-25 Tom Tromey <tromey@cygnus.com> + + * space.test: New file. + * Makefile.am (TESTS): Added space.test. + +2000-11-23 Pavel Roskin <proski@gnu.org> + + * pr87.test: Prevent automake from looking into .. and ../.. + by using AC_CONFIG_AUX_DIR(.) in configure.in. + +2000-11-23 Tom Tromey <tromey@cygnus.com> + + * pr87.test: New file. From PR automake/87. + * Makefile.am (TESTS): Added pr87.test. + +2000-10-17 Pavel Roskin <proski@gnu.org> + + * Makefile.am (TESTS): Added aclocali1.test. + * aclocali1.test: New file. + +2000-08-30 Tom Tromey <tromey@cygnus.com> + + * Makefile.am (XFAIL_TESTS): Removed pr72.test. + + For PR automake/72: + * Makefile.am (TESTS): Added pr72.test. + (XFAIL_TESTS): Likewise. + * pr72.test: New file. + +2000-08-28 Tom Tromey <tromey@cygnus.com> + + * Makefile.am (XFAIL_TESTS): Added ldflags.test. + +2000-08-27 Tom Tromey <tromey@cygnus.com> + + For PR automake/75: + * Makefile.am (TESTS): Added fortdep.test. + * fortdep.test: New file. + + For PR automake/68: + * Makefile.am (TESTS): Added header.test. + * header.test: New file. + +2000-08-26 Tom Tromey <tromey@cygnus.com> + + For PR automake/73: + * Makefile.am (TESTS): Added instman2.test. + * instman2.test: New file. + + For PR automake/77: + * Makefile.am (TESTS): Added ldflags.test. + * ldflags.test: New file. + +2000-08-06 Jim Meyering <meyering@lucent.com> + + * Makefile.am (TESTS): Add subdir4.test. + * subdir4.test: New test for the just-fixed depcomp failure. + +2000-08-02 Akim Demaille <akim@epita.fr> + + * depacl.test: Weaken the regexp looking for AM_PROG_CC_C_STDC in + aclocal.m4. + +2000-05-01 Pavel Roskin <pavel_roskin@geocities.com> + + * install2.test: Prevent automake from looking into .. and ../.. + by using AC_CONFIG_AUX_DIR(.) in configure.in + * pr19.test: Likewise + * subobj3.test: Likewise + +2000-03-19 Tom Tromey <tromey@cygnus.com> + + * libobj2.test: Put depcomp into subdir. + * confsub.test: Put depcomp into subdir. + * defs: Always copy `depcomp'. + + * defs: Correctly create `depcomp'. + * nodepcomp.test: Remove depcomp. + + More for PR automake/38: + * symlink3.test: New file. + * Makefile.am (TESTS): Added symlink3.test. + + For PR automake/38: + * symlink2.test: New file. + * Makefile.am (TESTS): Added symlink2.test. + + For PR automake/45: + * defs, acoutnoq.test, texinfo8.test, tagsub.test, subdir2.test, + subdir.test, scripts.test, remake2.test, remake.test, pr2.test, + parse.test, output4.test, output3.test, output2.test, output.test, + libobj10.test, libobj9.test, libobj8.test, libobj7.test, + libobj6.test, libobj2.test, libobj.test, fpinstall.test, + fpinst2.test, depend3.test, confsub.test, config.test, + confh4.test, confh3.test, confh2.test, confh.test, conf2.test, + colon7.test, colon6.test, colon5.test, colon4.test, colon3.test, + colon2.test, colon.test, acouttbs.test, acoutqnl.test, + acoutput.test: Put AM_INIT_AUTOMAKE into configure.in. + + * install2.test: Expect a `dist' failure. + +2000-03-19 Tom Tromey <tromey@cygnus.com> + + * nodepcomp.test: New file. + * Makefile.am (TESTS): Added nodepcomp.test. + +2000-02-02 Assar Westerlund <assar@sics.se> + + * target-cflags.test: new test case to target-specific CFLAGS + +2000-01-08 Tom Tromey <tromey@cygnus.com> + + * ansi.test, texinfo.test, empty.test, insh2.test, texinfo8.test: + Remove @SET_MAKE@ before using Makefile. + * backsl2.test: Don't add AC_PROG_MAKE_SET in configure.in; + already done. + * defs: Put AC_PROG_MAKE_SET in configure.in. + * acoutnoq.test, acoutput.test, acoutqnl.test, acouttbs.test, + acouttbs2.test, colon.test, colon2.test, colon3.test, colon4.test, + colon5.test, colon6.test, colon7.test, conf2.test, confh.test, + confh2.test, confh3.test, confh4.test, config.test, depend3.test, + discover.test, fpinst2.test, gnits.test, ldadd.test, libobj.test, + libobj10.test, libobj2.test, libobj6.test, libobj7.test, + libobj8.test, libobj9.test, output.test, output2.test, + output3.test, output4.test, output5.test, package.test, + parse.test, pr2.test, remake.test, remake2.test, scripts.test, + stamph.test, texinfo8.test: Likewise. + +1999-12-26 Tom Tromey <tromey@cygnus.com> + + * subobj3.test: Remove depcomp. + * pr9.test: Remove depcomp. + Remove opportunistic check. + * pr19.test: Remove depcomp. + +1999-12-25 Tom Tromey <tromey@cygnus.com> + + * suffix2.test: Create config.guess and config.sub so user doesn't + need libtoolize. From Klaus Reichl. + +1999-12-19 Tom Tromey <tromey@cygnus.com> + + Test for PR automake/9: + * pr9.test: New file. + * Makefile.am (TESTS): Added pr9.test. + + * pr19.test: Fail gracefully if gzip missing. + * install2.test: Fail gracefully if gzip missing. + +1999-12-19 Pavel Roskin <pavel_roskin@geocities.com> + + * tests/defs: add all permissions to testSubDir before + removing it. + +1999-12-19 Tom Tromey <tromey@cygnus.com> + + * pr2.test: Use egrep, not grep. + + Test for PR automake/2: + * pr2.test: New file. + * Makefile.am (TESTS): Added pr2.test. + +1999-12-15 Tom Tromey <tromey@cygnus.com> + + * dup3.test: New file. + * Makefile.am (TESTS): Added dup3.test. + +1999-12-13 Tom Tromey <tromey@cygnus.com> + + * pr19.test: New file. For PR automake/19. + * Makefile.am (TESTS): Added pr19.test. + + * lex4.test: New file. For PR automake/6. + * Makefile.am (TESTS): Added lex4.test. + + * suffix3.test: New file. + * Makefile.am (TESTS): Added suffix3.test. + + * suffix2.test: Added `no-dependencies' to options in + Makefile.am. Removed trailing `exit 1'. + + * nostdinc.test: New file. + * Makefile.am (TESTS): Added nostdinc.test. + + * condincl2.test: New file. + * condincl.test: New file. + * Makefile.am (TESTS): Added condincl.test, condincl2.test. + + * suffix2.test: New file. + * Makefile.am (TESTS): Added suffix2.test. + + * subobj.test: Remove final test. + +1999-12-12 Tom Tromey <tromey@cygnus.com> + + * Makefile.am (XFAIL_TESTS): Removed subobj3.test. + +1999-12-10 Tom Tromey <tromey@cygnus.com> + + * install2.test: New file. + * Makefile.am (TESTS): Added install2.test. + + * specflags5.test: New file. + * Makefile.am (TESTS): Added specflags5.test. + +1999-12-06 Tom Tromey <tromey@cygnus.com> + + * confh4.test: Corrected final test. + + * confh4.test: New file. PR automake/34. + * Makefile.am (TESTS): Mention confh4.test. + +1999-11-22 Tom Tromey <tromey@cygnus.com> + + * defs: Never hard link `depcomp'. From Pavel Roskin + + * exsource.test: Don't use configure substitution in _SOURCES. + * depend.test: Don't use configure substitution in _SOURCES. + * cygwin32.test: Don't use configure substitution in _SOURCES. + + * subobj.test: Check for another bug. + + * Makefile.am (XFAIL_TESTS): Removed sourcesub.test, + ltlibobjs.test. + +1999-11-21 Tom Tromey <tromey@cygnus.com> + + * specflags3.test: Updated test for new dependency + implementation. + +1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br> + + * defs: Set CDPATH to avoid verbose cd. + +1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br> + + * defs: Avoid printing the full pathname of testSubDir. + + * exsource.test: Update. + +1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br> + + * exsource.test: sed @AMDEP@ away from `include' line. + + * compile_f_c_cxx.test: depcomp is no longer in the same line. + +1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br> + + * compile_f_c_cxx.test: Look for $(depcomp) for C and C++. + * suffix.test: We no longer emit % rules. + +1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br> + + * defs: Create link or copy of depcomp. + * depend2.test: Removed, no more disted dependencies. + * Makefile.am (TESTS): Likewise. + * exsource.test: Adjust dependency filenames. + * mdate3.test: Adjust for depcomp. + +1999-11-07 Tom Tromey <tromey@cygnus.com> + + * dash.test: New file. + * Makefile.am (TESTS): Added dash.test. + +1999-08-26 Tom Tromey <tromey@cygnus.com> + + * texinfo8.test: Use directory named `sub'. + + * symlink.test: Use directory named `sub' (just in case; for + Windows). + +1999-08-15 Tom Tromey <tromey@cygnus.com> + + * ansi4.test: New file. + * Makefile.am (TESTS): Added ansi4.test. + +1999-07-30 Tom Tromey <tromey@cygnus.com> + + * double.test (bin_PROGRAMS): New file. + * Makefile.am (TESTS): Added double.test. + +1999-07-27 Tom Tromey <tromey@cygnus.com> + + * empty4.test: New file. + * Makefile.am (TESTS): Added empty4.test. + +1999-07-13 Tom Tromey <tromey@cygnus.com> + + * empty3.test: New file. + * Makefile.am (TESTS): Added empty3.test. + + * empty2.test: Also look for `pavel.o'. + + * empty2.test: New file. + * Makefile.am (TESTS): Added empty2.test. + +1999-05-27 Tom Tromey <tromey@cygnus.com> + + * subobj3.test: New file. + * Makefile.am (TESTS): Added subobj3.test. + (XFAIL_TESTS): Likewise. + + * ltlibobjs.test: New file. + * Makefile.am (TESTS): Added ltlibobjs.test. + (XFAIL_TESTS): Added ltlibobjs.test. + + * Makefile.am (XFAIL_TESTS): Added sourcesub.test. + +1999-05-19 Tom Tromey <tromey@cygnus.com> + + * specflags4.test: Typo fix. + + * specflags4.test: New file. From Pavel Roskin. + * Makefile.am (TESTS): Added specflags4.test. + + * specflags.test: Added regression test for missing space. + +1999-05-13 Tom Tromey <tromey@cygnus.com> + + * sourcesub.test: New file. + * Makefile.am (TESTS): Added sourcesub.test. + +1999-05-01 Tom Tromey <tromey@cygnus.com> + + * libobj2.test: Reverted previous change; it is incorrect. + + * libobj2.test: Error if libtu.a.P is mentioned. + +1999-04-27 Tom Tromey <tromey@cygnus.com> + + * cond9.test: New file. From Raja R Harinath. + * Makefile.am (TESTS): Added cond9.test. + + * pluseq8.test: New file. + * Makefile.am (TESTS): Added pluseq8.test. + + * canon5.test: Updated to reflect change to MACRO_PATTERN. + + * specflags3.test: New file. + * Makefile.am (TESTS): Added specflags3.test. + (TESTS): Now lists one file per line, for simpler maintenance. + + * specflags2.test: New file. + * specflags.test: New file. + * Makefile.am (TESTS): Added specflags.test, specflags2.test. + +1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br> + + * canon5.test (bin_PROGRAMS): New file. + * Makefile.am (TESTS): Added canon5.test. + +1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br> + + * libobj10.test: New file. + * Makefile.am (TESTS): Added libobj10.test. + +1999-04-11 Tom Tromey <tromey@cygnus.com> + + * subobj2.test: New file. + * Makefile.am (TESTS): Added subobj2.test. + + * subobj.test: New file. + * Makefile.am (TESTS): Added subobj.test. + + * confh.test: Use `sed' to extract full definition of + DIST_COMMON. Look for stamp-h.in rule in include/Makefile.in. + * Makefile.am (XFAIL_TESTS): Removed confh.test. + +1999-04-10 Tom Tromey <tromey@cygnus.com> + + * defs: Ensure srcdir is always absolute. + + * Makefile.am (XFAIL_TESTS): Removed cond8.test. + + * gcj2.test: New file. + * Makefile.am (TESTS): Added gcj2.test. + +1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br> + + * suffix.test: New file. + * Makefile.am: Added suffix.test. + + * Makefile.am (XFAIL_TESTS): Added cond8.test. + + * cond3.test: Refer to am_targ_OBJECTS. + + * yacc2.test, yacc3.test: New files. + * Makefile.am (TESTS): Added yacc2.test and yacc3.test. + +1999-04-09 Tom Tromey <tromey@cygnus.com> + + * nodist.test: New file. + * Makefile.am (TESTS): Added nodist.test. + + * gcj.test: New file. + * Makefile.am (TESTS): Added gcj.test. + +1999-04-08 Tom Tromey <tromey@cygnus.com> + + * cond8.test: New file. + * Makefile.am (TESTS): Added cond8.test. + +1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br> + + * backsl2.test: New file. + * Makefile.am (TESTS): Added backsl2.test. + + * texinfo8.test: texinfo.tex is only disted by aux/Makefile. + + * texinfo8.test: New file. + * Makefile.am (TESTS): Added texinfo8.test. + +1999-03-31 Tom Tromey <tromey@cygnus.com> + + * pluseq2.test, pluseq3.test: Updated for recent \-preservation + change. + +1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br> + + * Makefile.am (XFAIL_TESTS): add confh.test + +1999-03-30 Tom Tromey <tromey@cygnus.com> + + * mclean.test: Fixed typo. + + * mclean.test: New file. + * Makefile.am (TESTS): Added mclean.test. + +1999-03-30 Alexandre Oliva <oliva@dcc.unicamp.br> + + * confh.test: if include/Makefile.am is created, the test fails + +1999-03-27 Tom Tromey <tromey@cygnus.com> + + * extra4.test: Allow EXTRA_DATA to be specified. + +1999-03-22 Tom Tromey <tromey@cygnus.com> + + * ldadd.test: Use AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL. + + * pluseq7.test: New file. + * Makefile.am (TESTS): Added pluseq7.test. + * pluseq6.test: New file. + * Makefile.am (TESTS): Added pluseq6.test. + +1999-03-21 Tom Tromey <tromey@cygnus.com> + + * nodep.test: New file. + * Makefile.am (TESTS): Added nodep.test. + + * subdir3.test: Correctly mention _SOURCES in Makefile.am. + + * subdir3.test: New file. + * Makefile.am (TESTS): Added subdir3.test. + * xsource.test: Changed to check whether multiple source files + with same object name cause failure. + +1999-03-11 Tom Tromey <tromey@cygnus.com> + + * libobj9.test: New file. + * Makefile.am (TESTS): Added libobj9.test. + + * insthook.test: Don't require GNU grep. From John Pierce. + + * lex3.test: New file. + * Makefile.am (TESTS): Added lex3.test. + +1999-03-01 Tom Tromey <tromey@cygnus.com> + + * ansi3.test: Use no-dependencies option to avoid GNU make + requirement. From Jerome Lovy. + +1999-02-27 Tom Tromey <tromey@cygnus.com> + + * ext.test (foo_SOURCES): New file. + * Makefile.am (TESTS): Added ext.test. + +1999-02-11 Tom Tromey <tromey@cygnus.com> + + * cygwin32.test: Use AC_EXEEXT, not AM_EXEEXT. + + * obsolete2.test: New file. + * Makefile.am (TESTS): Added obsolete2.test. + +1999-02-01 Tom Tromey <tromey@cygnus.com> + + * installsh.test (AUTOMAKE): Use $PERL. From Pavel Roskin. + + * cond5.test: Sleep 15 seconds, not 5. Some people still run the + test on slow machines. + +1999-01-22 Tom Tromey <tromey@cygnus.com> + + * copy.test: New file. + * Makefile.am (TESTS): Added copy.test. + + * ppf77.test: New file. + * Makefile.am (TESTS): Added ppf77.test. + +1999-01-14 Tom Tromey <tromey@cygnus.com> + + * confh3.test: New file. + * Makefile.am (TESTS): Added confh3.test. + + * confh2.test: New file. + * Makefile.am (TESTS): Added confh2.test. + + * confh.test: Run automake differently the second time. + + * mdate3.test: New file. + * Makefile.am (TESTS): Added mdate3.test. + +1999-01-11 Tom Tromey <tromey@cygnus.com> + + * confh.test: New file. + * Makefile.am (TESTS): Added confh.test. + +1999-01-10 Tom Tromey <tromey@cygnus.com> + + * objc.test: Updated to account for new ObjC support. + + * pluseq5.test: New file. + * Makefile.am (TESTS): Added pluseq5.test. + + * all.test: Test all *-local targets, not just all-local. + + * all.test: New file. + * Makefile.am (TESTS): Added all.test. + +1999-01-07 Tom Tromey <tromey@cygnus.com> + + * include.test: New file. + * Makefile.am (TESTS): Added include.test. + +1998-12-21 Tom Tromey <tromey@cygnus.com> + + * insthook.test: Updated to fail when it should. + +1998-12-11 Tom Tromey <tromey@cygnus.com> + + * insthook.test: New file. + * Makefile.am (TESTS): Added insthook.test. + +1998-11-27 Tom Tromey <tromey@cygnus.com> + + * cond7.test: New file. From Pavel Roskin. + * Makefile.am (TESTS): New file. + +1998-11-10 Tom Tromey <tromey@cygnus.com> + + * pluseq4.test: New file. + * Makefile.am (TESTS): Added pluseq4.test. + +1998-11-09 Tom Tromey <tromey@cygnus.com> + + * pluseq3.test: New file. + * Makefile.am (TESTS): Added pluseq3.test. + + * pluseq2.test: New file. + * Makefile.am (TESTS): Added pluseq2.test. + +1998-10-30 Tom Tromey <tromey@cygnus.com> + + * pluseq.test: New file. + * Makefile.am (TESTS): Added pluseq.test. + +1998-10-28 Tom Tromey <tromey@cygnus.com> + + * Makefile.am (distclean-local): Typo fix. + +1998-10-20 Tom Tromey <tromey@cygnus.com> + + * Makefile.am (TESTS): Sorted tests. From Jeff Garzik. + +1998-10-13 Tom Tromey <tromey@cygnus.com> + + * libobj7.test: Updated to reflect minor change in automake (test + wasn't resilient enough). + * instman.test: Updated to reflect fact that mkinstalldirs will be + in distribution. + + * cxxonly.test: Removed. + +Mon Aug 31 09:46:59 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU> + + * Makefile.am (TESTS): Added compile_f_c_cxx.test. + * compile_f_c_cxx.test: New file. + +Sat Aug 29 18:17:58 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU> + + * Makefile.am (TESTS): Added flink.test link_c_cxx.test + link_f_c.test link_f_c_cxx.test link_f_cxx.test link_f_only.test. + Removed flink.test. + * flibs.test: New File. + * link_c_cxx.test: New file. + * link_f_c.test: New file. + * link_f_c_cxx.test: New file. + * link_f_cxx.test: New file. + * link_f_only.test: New file. + +Tue Aug 11 10:46:36 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU> + + * Makefile.am (TESTS): Add cxxonly.test, fonly.test, flink.test, + fnoc.test and fo.test. + * cxxonly.test: New file. + * fonly.test: New file. + * flink.test: New file. + * fnoc.test: New file. + * fo.test: New file. + +1998-10-08 Tom Tromey <tromey@cygnus.com> + + * confdist.test: New file. + * Makefile.am (TESTS): Added confdist.test. + +1998-10-07 Tom Tromey <tromey@cygnus.com> + + * extra4.test: New file. + * extra3.test: New file. + * Makefile.am (TESTS): Added extra3.test, extra4.test. + +Mon Oct 5 12:47:32 1998 Tom Tromey <tromey@cygnus.com> + + * badline.test: New file. + * Makefile.am (TESTS): Added badline.test. + +Thu Oct 1 00:03:39 1998 Tom Tromey <tromey@cygnus.com> + + * seenc.test: Updated test to account for removed line numbers. + + * xsource.test: Correctly fail if source in subdir. + +Wed Sep 30 12:17:34 1998 Tom Tromey <tromey@cygnus.com> + + * colon7.test: New file. + * Makefile.am (TESTS): Added colon7.test. + +Tue Sep 29 02:09:11 1998 Tom Tromey <tromey@cygnus.com> + + * config.test: New file. + * Makefile.am (TESTS): Added config.test. + + * Makefile.am (TESTS): Reference clean.test, not clean.am. + +Mon Sep 28 01:46:34 1998 Tom Tromey <tromey@cygnus.com> + + * recurs2.test: New file, from Jim Meyering. + * Makefile.am (TESTS): Added recurs2.test. + + * Makefile.am (TESTS): Added clean.am. + * clean.test: New file. + * ansi2.test: Updated test for new SUBDIRS change. + * noinst.test: Updated test for new SUBDIRS change. + * checkall.test: Added check to make sure check-local is handled. + Updated test for new SUBDIRS change. + * java.test: Updated test for new SUBDIRS change. + +Sun Sep 27 20:01:20 1998 Tom Tromey <tromey@cygnus.com> + + * Makefile.am (TESTS): Added else.test. + * else.test: New file. + + * Makefile.am (TESTS): Added parse.test. + * parse.test: New file. + +Sat Sep 26 19:17:43 1998 Tom Tromey <tromey@cygnus.com> + + * aclocal.test: Put AM_INIT_AUTOMAKE into configure.in. + * library.test: Use AC_EXEEXT. + * texinfo5.test: Use AC_EXEEXT. + * Many files: use AC_PROG_INSTALL, not AM_PROG_INSTALL. + + Test suite updates for the @SHELL@ change: + * exsource.test: Set SHELL on `make' command line. + * ansi.test: Set SHELL on `make' command line. + * texinfo.test: Set SHELL on `make' command line. + * insh2.test: Set SHELL on `make' command line. + * empty.test: Rewrite @SHELL@ to /bin/sh. + +Tue Sep 22 01:20:00 1998 Tom Tromey <tromey@cygnus.com> + + * ansi3.test: Use gcc and not gcc -traditional. + +Tue Sep 15 22:19:48 1998 Tom Tromey <tromey@cygnus.com> + + * texinfo7.test: New file. + +Sun Aug 16 23:17:38 1998 Tom Tromey <tromey@cygnus.com> + + * colon6.test: New file. + +Fri Aug 14 11:09:03 1998 Tom Tromey <tromey@cygnus.com> + + * cond6.test: New file. + +Mon Aug 10 21:05:15 1998 Tom Tromey <tromey@cygnus.com> + + * ansi3.test: New file. + +Sat Jul 18 00:27:26 1998 Tom Tromey <tromey@cygnus.com> + + * recurs.test: New file. + + * cond3.test: Changed to match recent fixes. + +Fri Jul 17 23:44:49 1998 Tom Tromey <tromey@cygnus.com> + + * cond4.test, cond5.test: New files. + +Tue May 26 01:44:37 1998 Tom Tromey <tromey@cygnus.com> + + * syntax.test: New file. + +Sun Apr 5 15:26:42 1998 Tom Tromey <tromey@cygnus.com> + + * version3.test: Increased version number to ensure failure for a + long time to come. + + * library.test: New file. + + * lex2.test: Updated since lex error changed to warning. + +Fri Apr 3 13:04:50 1998 Tom Tromey <tromey@cygnus.com> + + * colon5.test: New file. + + * exdir2.test: New file. + * instdata.test: New file. + +Wed Mar 25 15:30:39 1998 Tom Tromey <tromey@cygnus.com> + + * badopt.test: new file. + * version3.test: New file. + +Mon Mar 23 10:52:36 1998 Tom Tromey <tromey@cygnus.com> + + * libobj8.test: New file. + +Fri Mar 20 00:32:16 1998 Tom Tromey <tromey@cygnus.com> + + * lex2.test: New file. + + * aclocalii.test: New file. + + * javasubst.test: New file. + +Thu Mar 19 14:11:45 1998 Tom Tromey <tromey@cygnus.com> + + * javaprim.test: New file. + + * sinclude.test: New file. + +Wed Mar 18 17:15:22 1998 Tom Tromey <tromey@cygnus.com> + + * java.test: New file. + +Sun Mar 8 15:35:14 1998 Tom Tromey <tromey@cygnus.com> + + * colon4.test: New file. + +Fri Mar 6 21:17:10 1998 Tom Tromey <tromey@cygnus.com> + + * colon3.test: Refined tests. + +Tue Feb 24 12:29:05 1998 Tom Tromey <tromey@cygnus.com> + + * man.test: Removed. + + * condman2.test: New file. + +Mon Feb 23 16:20:49 1998 Tom Tromey <tromey@cygnus.com> + + * texinfo6.test: New file. + +Mon Feb 16 00:08:58 1998 Tom Tromey <tromey@cygnus.com> + + * aclocali.test: New file. + +Fri Feb 13 00:36:38 1998 Tom Tromey <tromey@cygnus.com> + + * texinfo5.test (info_TEXINFOS): New file. + + * condman.test: New file. + + * Makefile.am (distclean-local): Ignore rm return value. + +Thu Feb 12 21:00:34 1998 Tom Tromey <tromey@cygnus.com> + + * unused.test: New file. + + * whoami.test: New file. + + * alpha.test: New file. + +Wed Feb 11 17:28:30 1998 Tom Tromey <tromey@cygnus.com> + + * aclocal.test: New file. + +Thu Feb 5 13:22:17 1998 Tom Tromey <tromey@cygnus.com> + + * cxxcpp.test: New file. + +Mon Dec 1 15:48:16 1997 Tom Tromey <tromey@cygnus.com> + + * cond3.test: New file. + +Sat Nov 29 22:09:27 1997 Tom Tromey <tromey@cygnus.com> + + * objc.test: New file. + +Sat Oct 25 00:04:04 1997 Tom Tromey <tromey@cygnus.com> + + * libobj7.test: New file. + +Tue Oct 21 00:46:24 1997 Tom Tromey <tromey@cygnus.com> + + * lex2.test: Removed; @LEXLIB@ no longer required. + + * depacl2.test: Use -I, not --acdir. + + * install.test: New file. + * ammissing.test: New file. + +Sun Sep 28 17:19:52 1997 Tom Tromey <tromey@cygnus.com> + + * cxxnoc.test: Changed to reflect MKDEP change. + +Wed Sep 24 16:01:59 1997 Tom Tromey <tromey@cygnus.com> + + * output5.test: New file. + + * depend3.test: New file. + +Mon Aug 25 17:24:42 1997 Tom Tromey <tromey@cygnus.com> + + * cygwin32.test: Use AM_EXEEXT, not AM_CYGWIN32. + +Tue Aug 5 20:33:33 1997 Tom Tromey <tromey@cygnus.com> + + * libobj6.test: New file. + +Mon May 26 22:47:36 1997 Tom Tromey <tromey@cygnus.com> + + * depend.test: Fixed test. + +Sat May 10 18:28:14 1997 Tom Tromey <tromey@cygnus.com> + + * depend2.test: Fixed test; added another check. + +Sun May 4 15:47:24 1997 Tom Tromey <tromey@cygnus.com> + + * xsource.test: New file. + +Tue Apr 29 19:08:47 1997 Tom Tromey <tromey@cygnus.com> + + * cond.test, cond2.test: New files from Ian Taylor. + +Sun Apr 27 21:07:49 1997 Tom Tromey <tromey@cygnus.com> + + * confsub.test: Fixed bug. + +Fri Apr 25 12:30:22 1997 Tom Tromey <tromey@cygnus.com> + + * conf2.test: New file. + +Tue Apr 8 19:26:07 1997 Tom Tromey <tromey@cygnus.com> + + * ansi.test, empty.test, exsource.test, insh2.test, man.test, + mkinst2.test, texinfo.test, texinfo2.test: Use $MAKE. + + * defs (MAKE): Define. + +Mon Apr 7 17:35:49 1997 Tom Tromey <tromey@cygnus.com> + + * version2.test: New file. + +Wed Apr 2 00:12:26 1997 Tom Tromey <tromey@cygnus.com> + + * ldadd.test: New file. + +Fri Mar 28 23:36:04 1997 Tom Tromey <tromey@cygnus.com> + + * stamph.test: New file. + +Thu Mar 27 18:10:47 1997 Tom Tromey <tromey@cygnus.com> + + * lisp.test: New file. + +Sat Mar 22 01:14:03 1997 Tom Tromey <tromey@cygnus.com> + + * cygwin32.test: New file. + +Thu Mar 20 00:34:33 1997 Tom Tromey <tromey@cygnus.com> + + * exsource.test: Exit if not using GNU make. + +Tue Mar 18 22:36:34 1997 Tom Tromey <tromey@cygnus.com> + + * remake2.test: Changed for `missing' support. + +Sun Mar 16 14:29:45 1997 Tom Tromey <tromey@cygnus.com> + + * seenc.test: New file. + + * checkall.test, noinst.test: Don't use bogus construct when + checking. + + * libobj3.test, canon.test, target.test, spell2.test, + primary2.test, discover.test, lex2.test: Fixed to test what it + claims to test. + +Mon Mar 10 23:21:03 1997 Tom Tromey <tromey@cygnus.com> + + * libobj.test, libobj2.test: Use AC_PROG_CC. + + * confsub.test: Modified for definition of CONFIG_HEADER_FULL. + + * cxxlibobj.test: New file. + +Wed Feb 26 13:05:42 1997 Tom Tromey <tromey@cygnus.com> + + * tagsub.test: New file. + +Sun Feb 23 11:58:00 1997 Tom Tromey <tromey@cygnus.com> + + * texinfo.test, texinfo2.test, texinfo3.test, info.test, + mdate.test, vtexi.test, canon2.test, mdate2.test, vtexi2.test: + Updated for new texinfo handling. + + * texinfo4.test: New file. + * texinfo3.test: New file. + +Sat Feb 22 09:48:44 1997 Tom Tromey <tromey@cygnus.com> + + * yaccpp.test: New file. + +Tue Feb 11 09:51:47 1997 Tom Tromey <tromey@cygnus.com> + + * texinfo2.test: Fixed quoting bug. From Michael Brantley. + +Tue Feb 4 18:41:32 1997 Tom Tromey <tromey@cygnus.com> + + * confsub.test: Check subdir/Makefile.in to make sure dependency + is correct. + + * ansi2.test: ANSI2KNR dependency of all. + +Tue Dec 10 00:43:14 1996 Tom Tromey <tromey@cygnus.com> + + * defun2.test: New file. + * subst.test: New file. + +Sun Dec 8 12:25:22 1996 Tom Tromey <tromey@cygnus.com> + + * colneq2.test: New file. + +Sat Dec 7 12:52:45 1996 Tom Tromey <tromey@cygnus.com> + + * output4.test: New file. + * output3.test: New file. + * remake2.test: New file. + * output2.test: New file. + +Fri Dec 6 19:00:31 1996 Tom Tromey <tromey@cygnus.com> + + * output.test: New file. + +Thu Dec 5 18:23:17 1996 Tom Tromey <tromey@cygnus.com> + + * remake.test: New file. + * colon3.test: New file. + * colon2.test: New file. + * cxxo.test: New file. + +Wed Dec 4 00:41:44 1996 Tom Tromey <tromey@cygnus.com> + + * defs: Allow user to set interpreter via PERL environment + variable. + + * Makefile.am (distclean-local): New target. + +Tue Dec 3 11:55:18 1996 Gordon Matzigkeit <gord@gnu.ai.mit.edu> + + * dup.test, dup2.test: Modified, now that aclocal allows + acinclude.m4 to override any installed macro file. + +Mon Dec 2 22:44:16 1996 Gordon Matzigkeit <gord@gnu.ai.mit.edu> + + * alllib.test: Removed from distribution, since LIBFILES are no + longer computed. + +Sun Nov 24 14:36:00 1996 Tom Tromey <tromey@cygnus.com> + + * extra2.test: New file. + +Fri Nov 22 00:10:04 1996 Tom Tromey <tromey@cygnus.com> + + * stdlib.test: New file. + +Thu Nov 21 22:51:35 1996 Tom Tromey <tromey@cygnus.com> + + * confsub.test: Use AM_CONFIG_HEADER. + +Tue Nov 19 23:37:32 1996 Tom Tromey <tromey@cygnus.com> + + * confvar2.test: New file. + +Fri Nov 15 00:09:18 1996 Tom Tromey <tromey@cygnus.com> + + * ansi2.test: New file. + + * libfiles.test: Removed (obsolete). + + * libobj.test, canon4.test, libobj2.test, alllib.test, + ranlib.test: Fixed for Gord's changes to library handling. + + * Many files: Use AC_PROG_CC to avoid error. + +Thu Oct 24 15:22:53 1996 Tom Tromey <tromey@cygnus.com> + + * confvar.test: New file. + * ranlib.test: New file. + +Mon Oct 21 22:57:51 1996 Tom Tromey <tromey@cygnus.com> + + * version.test: New file. + +Fri Oct 11 00:51:04 1996 Tom Tromey <tromey@cygnus.com> + + * libobj5.test: New file. + * libobj4.test: New file. + * distdir.test: New file. + * lex2.test: New file. + +Sun Oct 6 11:00:44 1996 Tom Tromey <tromey@cygnus.com> + + * acsilent.test: New file. + * req.test: New file. + * acinclude.test: New file. + +Sat Oct 5 11:31:38 1996 Tom Tromey <tromey@cygnus.com> + + * discover.test: New file. + + * mkinst2.test: Renamed from mkinstall2.test. + + * symlink.test: New file. + +Thu Oct 3 19:55:23 1996 Tom Tromey <tromey@cygnus.com> + + * vpath.test: New file. + +Mon Sep 30 08:34:07 1996 Tom Tromey <tromey@cygnus.com> + + * comment2.test: New file. + +Mon Sep 23 00:23:34 1996 Tom Tromey <tromey@creche.cygnus.com> + + * spell3.test: New file. + +Sun Sep 22 14:42:09 1996 Tom Tromey <tromey@creche.cygnus.com> + + * depend2.test: New file. + +Sat Sep 21 14:01:10 1996 Tom Tromey <tromey@creche.cygnus.com> + + * primary2.test: New file. + * primary.test: New file. + +Fri Sep 20 09:39:27 1996 Tom Tromey <tromey@creche.cygnus.com> + + * confsub.test: New file. + +Mon Sep 16 00:05:52 1996 Tom Tromey <tromey@creche.cygnus.com> + + * spell2.test: New file. + + * spell.test: New file. + +Thu Sep 12 14:57:49 1996 Tom Tromey <tromey@creche.cygnus.com> + + * implicit.test: New file. + +Wed Sep 11 13:57:10 1996 Tom Tromey <tromey@creche.cygnus.com> + + * colneq.test: New file. + + * interp2.test: New file. + +Sun Sep 8 10:47:07 1996 Tom Tromey <tromey@creche.cygnus.com> + + * gnits.test: New file. + +Thu Sep 5 22:54:26 1996 Tom Tromey <tromey@creche.cygnus.com> + + * libobj3.test: New file. + +Tue Sep 3 20:57:38 1996 Tom Tromey <tromey@creche.cygnus.com> + + * block.test: New file. + +Mon Aug 26 23:04:01 1996 Tom Tromey <tromey@creche.cygnus.com> + + * alllib.test: New file. + + * interp.test: New file. + +Mon Aug 12 13:58:55 1996 Tom Tromey <tromey@creche.cygnus.com> + + * libobj2.test: New file. + + * order.test: New file. + +Sun Aug 11 00:10:42 1996 Tom Tromey <tromey@creche.cygnus.com> + + * cxxnoc.test: New file. + + * cxxlink.test: Use AC_PROG_CXX. + + * lex.test: Use AC_PROG_LEX, AC_DECL_YYTEXT. + + * yacc.test: Use AC_PROG_YACC in configure.in. + + * cxxlink.test: New file. + + * yacc.test: Fixed test for new yacc code. + +Sat Aug 10 10:09:45 1996 Tom Tromey <tromey@creche.cygnus.com> + + * defun.test: New file. + + * dup.test: New file. + +Fri Aug 9 09:18:07 1996 Tom Tromey <tromey@creche.cygnus.com> + + * canon4.test: New file. + +Thu Aug 8 10:47:45 1996 Tom Tromey <tromey@creche.cygnus.com> + + * exsource.test: New file. + + * subdir2.test: New file. + + * scripts.test: New file. + +Tue Aug 6 12:30:41 1996 Tom Tromey <tromey@creche.cygnus.com> + + * lex.test: New file. + +Mon Aug 5 01:03:03 1996 Tom Tromey <tromey@creche.cygnus.com> + + * obsolete.test: New file. + + * Many files: Use AM_ macros, not fp_ macros. + + * info.test: New file. + +Sun Aug 4 12:47:34 1996 Tom Tromey <tromey@creche.cygnus.com> + + * man.test: New file. + + * acouttbs2.test: New file. + + * libfiles.test: New file. + + * comment.test: New file. + + * tags.test: New file. + + * vtexi2.test: New file. + + * colon.test: New file. + +Sun Jul 28 11:43:00 1996 Tom Tromey <tromey@creche.cygnus.com> + + * defs (ACLOCAL): Added definition. + + * depacl.test, depacl2.test, error.test: New tests for aclocal. + +Fri Jul 19 10:09:56 1996 Tom Tromey <tromey@creche.cygnus.com> + + * ansi.test: New file. + +Sun Jun 9 23:20:03 1996 Tom Tromey <tromey@creche.cygnus.com> + + * texinfo2.test: New file. + +Sat Jun 8 10:00:42 1996 Tom Tromey <tromey@creche.cygnus.com> + + * mkinstall2.test: New file. + +Fri Jun 7 18:17:11 1996 Tom Tromey <tromey@creche.cygnus.com> + + * yacc.test: New file. + +Sun Jun 2 09:04:52 1996 Tom Tromey <tromey@creche.cygnus.com> + + * dejagnu.test: New file. + + * texinfo.test: New file. + +Thu May 23 09:58:48 1996 Tom Tromey <tromey@creche.cygnus.com> + + * fpinst2.test: New file. + + * fpinstall.test: New file. + +Wed May 22 09:45:52 1996 Tom Tromey <tromey@creche.cygnus.com> + + * outdir.test: New file. + +Sat May 18 10:51:37 1996 Tom Tromey <tromey@creche.cygnus.com> + + * insh2.test: New file. + +Fri May 17 17:32:35 1996 Tom Tromey <tromey@creche.cygnus.com> + + * number.test: New file. + + * defs, many .test files: Define PACKAGE and VERSION in + configure.in. + + * package.test: New file. + + * backsl.test: New file. + +Thu May 16 09:15:57 1996 Tom Tromey <tromey@creche.cygnus.com> + + * subdir.test: New file. + +Tue May 14 10:17:17 1996 Tom Tromey <tromey@creche.cygnus.com> + + * mdate2.test: New file, from report by Jim Meyering. + + * canon3.test: New file. + + * auxdir.test: New file. + + * mkinstall.test: New file. + + * extra.test: Reversed sense of test. + +Fri Apr 26 15:15:01 1996 Tom Tromey <tromey@creche.cygnus.com> + + * instman.test: New file. + +Thu Apr 25 17:12:30 1996 Tom Tromey <tromey@creche.cygnus.com> + + * noinst.test: New file + + * exdir.test: Quoting change from Gord Matzigkeit. + + * extra.test (EXTRA_PROGRAMS): New file. + +Tue Apr 9 22:55:07 1996 Tom Tromey <tromey@creche.cygnus.com> + + * target.test: New file. + +Wed Apr 3 15:10:54 1996 Tom Tromey <tromey@creche.cygnus.com> + + * canon2.test: New file + + * insh.test: New file. + +Wed Mar 27 23:31:51 1996 Tom Tromey <tromey@creche.cygnus.com> + + * rulepat.test: New file. + +Sat Mar 16 08:37:36 1996 Tom Tromey <tromey@creche.cygnus.com> + + * empty.test: New file. + +Fri Mar 15 17:55:13 1996 Tom Tromey <tromey@creche.cygnus.com> + + * installsh.test: New file. + +Tue Mar 5 16:22:46 1996 Tom Tromey <tromey@creche.cygnus.com> + + * badprog.test: Rewrote. + + * canon.test: New file. + +Mon Mar 4 21:08:37 1996 Tom Tromey <tromey@creche.cygnus.com> + + * exdir.test: New file. + +Fri Mar 1 17:23:53 1996 Tom Tromey <tromey@creche.cygnus.com> + + * depend.test: New file. + + * badprog.test: New file. + + * defs (AUTOMAKE): Pass --foreign. + +Thu Feb 29 20:23:42 1996 Tom Tromey <tromey@creche.cygnus.com> + + More tests: + * prefix.test: New file. + * spelling.test: New file + * confincl.test: New file. + * Makefile.am (TESTS): Updated. + +Wed Feb 28 11:57:02 1996 Tom Tromey <tromey@creche.cygnus.com> + + * acoutqnl.test: New file. + * Makefile.am (TESTS): Include it. + +Tue Feb 27 10:52:58 1996 Tom Tromey <tromey@creche.cygnus.com> + + * Makefile.am (DIST_OTHER): Include "defs". + + * defs (AUTOMAKE): Never relative to $srcdir. + +Mon Feb 26 23:14:08 1996 Tom Tromey <tromey@creche.cygnus.com> + + * libobj.test: Put AC_PROG_RANLIB in configure.in + +Mon Feb 19 08:22:22 1996 Tom Tromey <tromey@creche.cygnus.com> + + * proginst.test: New file. + +Tue Feb 13 18:54:39 1996 Tom Tromey <tromey@creche.cygnus.com> + + * libobj.test: New file. + +Mon Feb 12 17:05:48 1996 Tom Tromey <tromey@creche.cygnus.com> + + * acouttbs.test: New file. + + * Makefile.am (DIST_OTHER): New variable. + + * acoutnoq.test: New file. + +Sun Feb 11 16:39:14 1996 Tom Tromey <tromey@creche.cygnus.com> + + * checkall.test: Delay a little. + + * Makefile.am (check-local): Print name of failing test. + +Sat Feb 10 17:08:39 1996 Tom Tromey <tromey@creche.cygnus.com> + + * checkall.test: New file. + + * instexec.test: New file. + + * mdate.test, vtexi.test, acoutput.test: New files. + + * Started. + +----- + +Copyright 2012 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, are +permitted provided the copyright notice and this notice are preserved. diff --git a/old/ChangeLog.00 b/old/ChangeLog.00 new file mode 100644 index 000000000..c50c4ebd0 --- /dev/null +++ b/old/ChangeLog.00 @@ -0,0 +1,2211 @@ +2000-12-29 Derek Price <derek.price@openavenue.com> + + * automake.in (handle_dependencies): Switched the DEP_FILES + definition to be conditional on @AMDEP@. + +2001-02-03 Ville Laurikari <vlaurika@hutcs.cs.hut.fi> + + * depcomp (aix): New side-effect dependency tracking mode, for + the C for AIX compiler. + * m4/depend.m4 (AM_DEPENDENCIES): Recreate `conftest.c' and + `conftest.h' for each test. + +2001-02-03 Tom Tromey <tromey@redhat.com> + + * automake.texi (Dist): Updated to mention caveat of putting + directory in EXTRA_DIST and also providing a nice example of + removing the CVS dir. + From Ganesan Rajagopal. + + * m4/depend.m4 (depcpp): Run tests in a subdir. Fixes report from + Bob Proulx. + + * automake.in (scan_one_autoconf_file): Disable warning about + AM_PROG_LIBTOOL. + + * automake.in (handle_configure): Don't modify variable which + aliases list element. Don't push @inputs onto the dist list. + Fixes colon7.test. + (initialize_per_input) [dist_dirs]: New variable. + (handle_dist_worker): Use global dist_dirs. + (handle_configure): Set dist_dirs entries at toplevel. + +2001-02-02 Gordon Sadler <gbsadler1@lcisp.com> + + * automake.texi (Java Support): Added index, @section. + +2001-02-02 Pavel Roskin <proski@gnu.org> + + * automake.in (scan_autoconf_traces): Restore trace messages. + + * automake.in (handle_aclocal_m4): Fix stripping of the initial + "./" from the dependencies of aclocal.m4. + Reported by Ralf Corsepius. + +2001-02-01 Pavel Roskin <proski@gnu.org> + + * aclocal.in: Rename "verbosity" to "verbose". Always prepend + "aclocal: " to the verbose output. + + * automake.in: Remove all debugging messages. + +2001-01-31 Akim Demaille <akim@epita.fr> + + * automake.in (add_depend2): Quote properly $obj and $source. + +2001-01-31 Akim Demaille <akim@epita.fr> + + * depend2.am: Instead of replacing @PFX@ in $(@PFX@COMPILE), and + then replacing `$(@PFX@COMPILE)' for the files that need some + special flags, use only @COMPILE@. Similarly for @LTCOMPILE@. + Try to document this file. + * automake.in (add_depend2): Adjust to these changes. + +2001-01-31 Akim Demaille <akim@epita.fr> + + * automake.in (%factored_dependencies): New. + (file_contents): Use it. + (handle_phony): Rename as... + (handle_factored_dependencies): this. + * subdirs.am: No need for convolved syntax to declare .PHONY. + +2001-01-31 Akim Demaille <akim@epita.fr> + + * automake.in: maintainer-check fixes. + +2001-01-31 Akim Demaille <akim@epita.fr> + + * automake.in (file_contents): Rewrite: instead of trying to parse + it line by line, first swallow it completely into $CONTENTS, + *then*, parse it *paragraph* by paragraph. + +2001-01-30 Akim Demaille <akim@epita.fr> + + * automake.in (file_contents): Remove. + (file_contents_with_transform): Swap the order of the arguments, + and rename as... + (file_contents): this. + Adjust all uses. + +2001-01-30 Tom Tromey <tromey@redhat.com> + + * automake.in (scan_one_autoconf_file): Don't mention + omit_dependencies. + +2001-01-29 Akim Demaille <akim@epita.fr> + + * automake.in (&scan_autoconf_config_files): Extract from + &scan_one_autoconf_file. + (&scan_one_autoconf_file): Use it. + (&scan_autoconf_traces): New. + ($scan_autoconf_files): Use it. + +2001-01-29 Akim Demaille <akim@epita.fr> + + * texinfos.am, tags.am, subdirs.am, multilib.am, mans.am: Add a + .PHONY target. + * automake.in (handle_texinfo, handle_man_pages, handle_multilib) + (handle_etags, handle_subdirs): Don't push into @phony. + +2001-01-29 Akim Demaille <akim@epita.fr> + + * automake.in (scan_one_autoconf_file): Correctly recognize + configure.ac. + +2001-01-29 Akim Demaille <akim@epita.fr> + + * automake.in (handle_tests_dejagnu): New, extracted from... + (handle_tests): here. Use `.PHONY:'. + +2001-01-29 Akim Demaille <akim@epita.fr> + + * automake.in (handle_phony): Sort. + (file_contents_with_transform): Catch `.PHONY:'. + (handle_tests): Instead dumping the hard coded target check-TESTS + and registering its .PHONYsm, get them from... + * check.am: here, new file. + +2001-01-29 Akim Demaille <akim@epita.fr> + + * automake.in (add_depend2): Use &transform. + +2001-01-29 Akim Demaille <akim@epita.fr> + + * automake.in (handle_tags): Use &transform. + (am_error, am_line_error, am_conf_error, read_am_file): Use + directly arrays in strings, no need for &join. + Require Perl 5. + * Makefile.am (maintainer-check): Use grep -w when looking for + words. + +2001-01-29 Akim Demaille <akim@epita.fr> + + * automake.in (prog_error): New. + Spread its use. + +2001-01-29 Akim Demaille <akim@epita.fr> + + * automake.in (handle_single_transform_list): if (@list) { foreach + (@list) ...} can be written as a simple `foreach' loop. + +2001-01-29 Akim Demaille <akim@epita.fr> + + * automake.in (define_standard_variables): Use &transform instead + of build_rx. + +2001-01-29 Akim Demaille <akim@epita.fr> + + * automake.in (handle_texinfo): Use the new $texinfodir instead of + the removed $texinfo_tex. + +2001-01-29 Akim Demaille <akim@epita.fr> + + * automake.in (handle_libraries, handle_ltlibraries): Use + &transform. + +2001-01-29 Akim Demaille <akim@epita.fr> + + * automake.in (handle_programs) <xexe>: Remove, replaced by + `exeext'. + Use it, and &transform. + +2001-01-29 Akim Demaille <akim@epita.fr> + + * automake.in (get_object_extension) <$default_includes>: New. + Use it and &transform. + +2001-01-28 Tom Tromey <tromey@redhat.com> + + * automake.in (variable_value_as_list_worker): Handle entries in + %am_var_defs. Fixes listval.test. + +2001-01-26 Akim Demaille <akim@epita.fr> + + * automake.in (handle_texinfo): Don't use $conf_pat, just + $conf_dir to transform MDDIR since now &transform handles the + escaping of RE special characters by itself. + +2001-01-24 Akim Demaille <akim@epita.fr> + + * m4/depend.m4 (AM_DEPENDENCIES): Don't leave `AC_PROG_CC' etc. in + clear. + * m4/init.m4: Likewise. + * m4/sanity.m4: s/conftestfile/conftest.file/. + +2001-01-24 Tom Tromey <tromey@redhat.com> + + * automake.in (handle_libraries): Use $configure_ac; typo fix. + + * automake.in (transform): Quote substitution. + +2001-01-21 Alexandre Duret-Lutz <duret_g@epita.fr> + Tom Tromey <tromey@redhat.com> + + * automake.in (obsolete_rx): Match whole macro names, not + substrings. + * aclocal.in (obsolete_rx): Likewise. + +2001-01-21 Tom Tromey <tromey@redhat.com> + + * automake.texi: Changed dir category. + +2001-01-18 Akim Demaille <akim@epita.fr> + + * automake.in (handle_texinfo): Use &transform, and transform + CONFIGURE_AC. + Reported by Lars Hecking, and diagnosed by Raja R Harinath. + +2001-01-16 Akim Demaille <akim@epita.fr> + + Let Automake support `configure.ac'. + + * automake.in: In the comments, prefer `configure.ac' to + `configure.in'. + When using &am_conf_error, don't repeat `in configure.in', since + the function already reports it. + When referring to `configure.in' use `$configure_ac' instead. + (configure_ac): New global variable. + (scan_configure, scan_one_configure_file): Rename as... + (scan_autoconf_files, scan_one_autoconf_file): this. + (scan_autoconf_files): Compute $configure_ac. + (transform): New function. + (handle_configure): Use it to transform CONFIGURE_AC in + `remake.am' and in `remake-hdr.am'. + (common_files): Also consider `configure.ac'. + Use consistently single quotes. + * aclocal.in (configure_ac): New variable. + Use it. + * texi-vers.am: Depend on CONFIGURE_AC not configure.in. + * remake.am: Likewise. + * remake-hdr.am: Likewise. + +2001-01-16 Akim Demaille <akim@epita.fr> + + * m4/multi.m4: Remove the hairy useless quotation of `$'. + Simplify `ifelse([$2],,,[$2])' into... `$2'! + * m4/minuso.m4: Don't use changequote! + * m4/cond.m4: Fix quotation. + * m4/sanity.m4: Follow the Autoconf coding style. + * m4/missing.m4 (AM_MISSING_INSTALL_SH): Use a for loop. + * m4/depend.m4 (AM_DEPENDENCIES): Fix quotation issues. + Use AC_CACHE_CHECK. + +2001-01-15 Tom Tromey <tromey@redhat.com> + + * automake.in (handle_single_transform_list): Don't print rule + here when source is in subdir and object is not. Fixes + subobj4.test. + + * automake.in (handle_single_transform_list): Correctly compute + $nonansi_obj. Fixes cxxansi.test. + + * automake.texi (Man pages): Updated to account for man1_MANS, + etc. + +2001-01-13 Steve Robbins <smr@debian.org> + Tom Tromey <tromey@redhat.com> + + * aclocal.in (scan_configure): Don't recognize macro assignments + or AC_SUBSTs. + (add_file): Likewise. + +2001-01-13 Kevin Ryde <user42@zip.com.au> + + * automake.in (handle_ltlibraries): Omit -rpath from + check_LTLIBRARIES, as per noinst_LTLIBRARIES. + +2001-01-11 Tom Tromey <tromey@redhat.com> + + * depcomp (case gcc3): Use -MD, not -M. + +2001-01-10 Tom Tromey <tromey@redhat.com> + + * depcomp: Handle gcc 3. + +2000-12-23 Tom Tromey <tromey@redhat.com> + + * configure.in: Updated to 1.4c for cvs. + + * configure.in: Updated to 1.4b and released. + + * config.guess, config.sub, texinfo.tex: New versions. + + * automake.in (handle_dist_worker): Always define DIST_SUBDIRS. + Re-fixes pr87.test. + + * subdirs.am (maintainer-clean-recursive): Use DIST_SUBDIRS for + distclean and maintainer-clean. + * automake.texi (Top level): Document use of DIST_SUBDIRS. + + From Rusty Ballinger: + * automake.in (handle_java): Don't skip `noinst' prefix. + + * automake.texi (Invoking aclocal): Mention ## comments. + +2000-12-22 Tom Tromey <tromey@redhat.com> + + From Raja R Harinath: + * automake.in (libtoolize_sometimes): New global. + (initialize_global_constants): Added libtoolize_sometimes to + common_files. + + * m4/depend.m4 (AM_SET_DEPDIR): Ignore errors when running rmdir. + + * m4/depend.m4 (AM_SET_DEPDIR): Remove .deps directory when done. + +2000-12-21 Tom Tromey <tromey@redhat.com> + + * automake.texi (Tags): Document GTAGS target. + * tags.am (GTAGS): New target. + + * automake.in (libtoolize_files): Removed ltconfig. + (initialize_global_constants): Added ltconfig to common_files. + +2000-12-21 Kevin Ryde <user42@zip.com.au> + + * automake.in (handle_footer): Generate .SUFFIXES target when user + defines suffixes but automake does not. + +2000-12-20 Marc Espie <espie@openbsd.org> + + * automake.in (handle_texinfo): Make path of $vtexi explicit in + dependency. + * texi-vers.am: Likewise. + +2000-12-20 Tom Tromey <tromey@redhat.com> + + From Kevin Ryde: + * automake.in (handle_footer): Always push user suffixes at the + start of .SUFFIXES:. + * automake.texi (Suffixes): Updated to reflect new suffix + handling. + +2000-12-18 Tom Tromey <tromey@redhat.com> + + * automake.in (handle_built_sources): Removed. + (handle_merge_targets): Handle BUILT_SOURCES. + * automake.texi (Sources): Updated documentation of + BUILT_SOURCES. + +2000-12-17 Tom Tromey <tromey@redhat.com> + + * m4/protos.m4: Always do header checks. + + * automake.in (handle_ltlibraries): Check for LDFLAGS variables + before using values. + + * automake.in (handle_ltlibraries): Allow _LDFLAGS to be + conditionally defined. Fixes PR automake/77 and ldflags.test. + +2000-11-25 Tom Tromey <tromey@cygnus.com> + + * automake.in (file_contents_with_transform): Added file name and + line number to error report. + (MACRO_PATTERN, BOGUS_MACRO_PATTERN): Leading spaces are ok. + +2000-11-23 Pavel Roskin <proski@gnu.org> + + * m4/regex.m4 (AM_WITH_REGEX): This macro was broken because + of M4 underquoting. + * m4/ccstdc.m4 (AC_PROG_CC_STDC): Added some M4 quotes. + * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise. + * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise. + * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise. + * m4/multi.m4 (AM_WITH_DMALLOC): Likewise. + * m4/python.m4 (AM_PATH_PYTHON): Likewise. + * m4/strtod.m4 (AM_FUNC_STRTOD): Likewise. + +2000-11-23 Tom Tromey <tromey@cygnus.com> + + * automake.in (require_file_internal): Pass $file as second + argument to maybe_push_required_file. Fixes PR automake/87. + +2000-11-18 Tom Tromey <tromey@cygnus.com> + + * m4/depend.m4 (AM_DEPENDENCIES): Redirect `$am_depcomp' stdout to + /dev/null. From Paul Martinolich. + +2000-11-16 Morten Eriksen <mortene@sim.no> + + * aclocal.in (write_aclocal): Set ``binmode'' after file has been + opened, otherwise it has no effect. + +2000-10-23 Morten Eriksen <mortene@sim.no> + + * aclocal.in (write_aclocal): Don't write aclocal.m4 with + CRLFs. This circumvents a bug in Cygwin bash. + + * automake.in (generate_makefile): Don't write Makefile.in + files with CRLFs, as it causes problems for the dependency-file + extraction in AM_OUTPUT_DEPENDENCY_COMMANDS. + +2000-10-19 Alex Hornby <alex@anvil.co.uk> + + * automake.in (handle_merge_targets): Allow parallel install + with forced relink. + +2000-10-19 Akim Demaille <akim@epita.fr> + + * subdir4.test (depcomp): Don't create it, defs does. + +2000-10-17 Pavel Roskin <proski@gnu.org> + + * automake.in (handle_aclocal_m4): exclude aclocal.m4 and + acinclude.m4 from the dependencies of aclocal.m4 to avoid + circular and duplicated dependencies. Strip "./" from the + dependencies. + +2000-10-17 Lars J. Aas <larsa@sim.no> + + * aclocal.in (write_aclocal): Set up aclocal.m4 header with + normal comments (#) instead of m4 dnl-type comments. + +2000-10-17 Alex Hornby <alex@anvil.com> + + * depcomp: Altered sed clause to strip of inclusion depth + numbers generated by cpp. Also output in gcc style. + +2000-10-16 Morten Eriksen <mortene@sim.no> + + * depcomp (msvisualcpp): New dependency tracking mode, for + Microsoft Visual C++. + +2000-10-16 Morten Eriksen <mortene@sim.no> + + * depcomp: Fix a bug in SGI dependency tracking mode with source + files which do not dependend on any other source files. + +2000-10-16 Rodney Brown <RodneyBrown@mynd.com> + + * aclocal.in, aclocal.m4: Standardize FSF Copyright statements. + * automake.in, automake.texi: Likewise. + * clean-kr.am, clean.am: Likewise. + * comp-vars.am: Likewise. + * compile, compile.am: Likewise. + * data-clean.am: Likewise. + * data.am: Likewise. + * dejagnu.am: Likewise. + * depcomp: Likewise. + * depend.am, depend2.am: Likewise. + * dist-vars.am, dist.am: Likewise. + * elisp-comp: Likewise. + * footer.am: Likewise. + * header-vars.am, header.am: Likewise. + * java-clean.am java.am: Likewise. + * kr-extra.am: Likewise. + * library.am: Likewise. + * libs-clean.am, libs.am: Likewise. + * libtool.am: Likewise. + * lisp-clean.am lisp.am: Likewise. + * ltlib-clean.am ltlib.am: Likewise. + * ltlibrary.am: Likewise. + * m4/Makefile.in: Likewise. + * m4/strtod.m4: Likewise. + * mans-vars.am, mans.am: Likewise. + * mdate-sh: Likewise. + * missing: Likewise. + * multilib.am: Likewise. + * program.am: Likewise. + * progs-clean.am, progs.am: Likewise. + * python-clean.am, python.am: Likewise. + * remake-hdr.am, remake.am: Likewise. + * scripts.am: Likewise. + * subdirs.am: Likewise. + * tags-clean.am, tags.am: Likewise. + * texi-vers.am: Likewise. + * texinfos.am: Likewise. + * ylwrap: Likewise. + +2000-10-09 Pavel Roskin <proski@gnu.org> + + * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable + assignments changing $? - it's broken in ash-0.2. + * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise. + + * automake.in (handle_aclocal_m4): If ACLOCAL_M4_SOURCES is + defined use it as the list of M4 files aclocal.m4 depends on. + +2000-10-06 Alexandre Duret-Lutz <duret_g@epita.fr> + + * aclocal.in (add_file): Strip comments while scanning for + macro dependencies. + +2000-09-15 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (initialize_global_constants): End the + result of dist-bzip2 with tar.bz2, not bz2. + +2000-08-30 Tom Tromey <tromey@cygnus.com> + + Fix for PR automake/72: + * automake.in (initialize_per_input): Define `need_link'. + (finish_languages): Use need_link. + (handle_source_transform): Set need_link if required. + +2000-08-28 Tom Tromey <tromey@cygnus.com> + + * automake.in (yacc, yaccxx, lex, lexxx): Set `derived-autodep' + key. + (register_language): Default the `derived-autodep' option. + (handle_single_transform_list): Add to %dep_files if language has + `derived-autodep' set. Re-fixes lex4.test. + +2000-08-27 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_single_transform_list): Only add to + %dep_files if language is found and supports automatic dependency + tracking. Fixes PR automake/75. + + * automake.in (am_primary_prefixes): Don't set `valid' for + configure variables that don't satisfy the other constraints. + Fixes PR automake/68. + +2000-04-14 Victor V. Vengerov <vvv@oktet.ru> + + Fix for PR automake/67. + * automake.in (handle_multilib): remove .am suffix in fragment + name passed to file_contents. + * m4/multi.m4: Add missing ')' in AC_ARG_ENABLE invocation. + Remove external quotes in first arg of AC_OUTPUT_COMMANDS. + Remove unnecessary "rel-to-top-srcdir" before config-ml.in. + +2000-08-26 Tom Tromey <tromey@cygnus.com> + + * subdirs.am (maintainer-clean-recursive): Always run clean rules + in `.' after all subdirs. Fixes PR automake/3 and PR automake/24. + + * automake.in (handle_man_pages): Generate install targets for man + even if man_MANS not defined. From `danpb'. Fixes PR automake/73. + + * m4/depend.m4 (depcpp): Use `-o conftest.o'. + Fix for PR automake/74. From js pendry. + +2000-08-20 Eli Zaretskii <eliz@is.elta.co.il> + + * depcomp (gcc): Support DOS-style absolute file names with drive + letters. + +2000-08-06 Jim Meyering <meyering@lucent.com> + + * automake.in (handle_dependencies): Set $require_file_found{'depcomp'} + if the depcomp file exists, before calling require_config_file on + `depcomp'. This makes require_file_internal skip its buggy existence + test that would make automake fail (with `required file `lib/depcomp' + not found') when AC_CONFIG_AUX_DIR is not set. + + This change change does not fix the existing bug where, if `depcomp' + is not present in the build directory (at the top level), automake + still gives the inaccurate diagnostic about *lib*/depcomp rather + than ./depcomp. + +2000-08-05 Jim Meyering <meyering@lucent.com> + + * m4/header.m4 (AM_CONFIG_HEADER): Fix typo in last change: + add missing closing bracket and closing parenthesis. + Don't quote the first argument to AC_OUTPUT_COMMANDS. + Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt. + +2000-08-04 Tom Tromey <tromey@cygnus.com> + + Idea from Nicolas Thiery: + * automake.texi (Tests): Document DEJATOOL as a list. + * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL). + (check-DEJAGNU): Run runtest in a loop. + +2000-08-02 Akim Demaille <akim@epita.fr> + + * m4: Quote properly the name of the macros being defined. + Use `#' instead of `dnl' where appropriate. + * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just + quote. + Don't quote passive characters. + Pull the AC_PREREQ outside the macro. + * m4/init.m4: Pull the AC_PREREQ outside the macro. + +2000-07-28 Tom Tromey <tromey@cygnus.com> + + * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR). + From Bruno Haible. + +2000-07-13 Kevin Ryde <user42@zip.com.au> + + * automake.in (am_install_var): Apply the $(EXEEXT) hack to + EXTRA_PROGRAMS as well as other _PROGRAMS. + +2000-07-02 Jim Meyering <meyering@lucent.com> + + * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ. + +2000-06-19 Paolo Bonzini <bonzini@gnu.org> + + * texi-vers.am: define UPDATED-MONTH variable (for an example, see + GNU make's manual) + +2000-06-02 Morten Eriksen <mortene@sim.no> + + * depcomp: workaround for problem with SGI IRIX sed (it can only + handle lines of up to 8192 characters, the rest of the line will + be mangled). + +2000-05-31 Morten Eriksen <mortene@sim.no> + + * depcomp: tell SGI MIPSpro compilers to generate dependencies + through the pre-processor (only CVS libtool has the -Wc option + yet). + +2000-05-15 Brendan O'Dea <bod@compusol.com.au> + + * missing: Add support for `help2man'. + +2000-05-11 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_tests): Work correctly if TESTS is empty; + print nothing if it is. From Kevin Ryde. + +2000-05-08 Tom Tromey <tromey@cygnus.com> + + * automake.texi (Texinfo): Mention vers*.texi. + +2000-05-04 Akim Demaille <akim@epita.fr> + + AM_INIT_AUTOMAKE is no longer optional, so don't look for + `VERSION=' and `PACKAGE='. + * automake.in (seen_package, seen_version): Remove initializations of + unnecessary variables. + (scan_one_configure_file): Don't set them. + (scan_configure): Don't use them. + +2000-05-01 Akim Demaille <akim@epita.fr> + + * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it. + (AM_INIT_AUTOMAKE): Update the writing conventions. + Quote the arguments properly. + Add a few missing `dnl'. + Use AC_PROVIDE_IFELSE. + +2000-04-26 Jim Meyering <meyering@lucent.com> + + * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES + macro. Based on a patch from Harlan Stenn. + +2000-04-13 Akim Demaille <akim@epita.fr> + + * compile: Remove unnecessary double quotes in assignments. + +2000-04-13 Akim Demaille <demaille@epita.fr> + + * automake.in (scan_one_configure_file): Also recognize + AC_CONFIG_HEADERS. + Remove trailing blanks. + +2000-04-05 Tom Tromey <tromey@cygnus.com> + + * header-vars.am (DESTDIR): Commented out definition. + + * automake.in (require_file_internal): Pass --copy to libtoolize + if automake was run with `--copy'. + +2000-03-22 Tom Tromey <tromey@cygnus.com> + + * automake.texi (Uniform): Fix definition of pkglibdir. + From thi <ttn@revel.glug.org>. + +2000-03-19 Tom Tromey <tromey@cygnus.com> + + * aclocal.in (parse_arguments): Copyright 2000. + (write_aclocal): Likewise. + * automake.in (parse_arguments): Copyright 2000. + (initialize_global_constants): Likewise. + + * automake.in (generate_makefile): Call handle_dist after + handle_dependencies and handle_tests. Fixes subobj3.test and + pr19.test regressions. + +2000-03-19 Gordon Matzigkeit <gord@fig.org> + + * depend2.am (@EXT@.o): Look for the source file in srcdir as well + as the current directory. + (@EXT@.lo): Likewise. + +2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> + + * automake.in (handle_data): Pass -candist instead of + -defaultdist, for the compatibility. + +2000-03-19 Tom Tromey <tromey@cygnus.com> + + Fix for test nodepcomp.test: + * automake.in (require_file_internal): Use readlink on symlinks. + Only unlink file if we are going to try to add it again. + (handle_dependencies): Require `depcomp' here. + (scan_configure): Don't require `depcomp'. + +2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> + + * automake.in (handle_configure): Remove $(BUILT_SOURCES) from + the rule to remake Makefile, whether $use_dependencies is true + or not. This was a historical one and doesn't make sense any + longer. + +2000-03-19 Tom Tromey <tromey@cygnus.com> + + More for PR automake/38: + * automake.texi (Invoking Automake): Document --force-missing. + * automake.in (force_missing): New global. + (parse_arguments): Recognize --force-missing. + (initialize_global_constants): Document --force-missing. + (require_file_internal): Handle --force-missing. + + Fix for PR automake/38: + * automake.in (require_file_internal): Check for and handle + dangling symlinks. Fixes symlink2.test. + + Fix for PR automake/45: + * automake.texi (configure): Mention requirement to run + AM_INIT_AUTOMAKE. + (Requirements): Removed most text. + * automake.in (seen_init_automake): New global. + (scan_configure): Error if AM_INIT_AUTOMAKE not seen. + (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE. + Set seen_init_automake if needed. + + Fix for PR automake/41: + * automake.in (require_file_found): New global. + (require_file_internal): Set require_file_found entry. + (handle_texinfo): Require file any number of times. + + * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes + install2.test. + + * tags.am: Don't reference $$here. Report from Sven Verdoolaege. + +2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br> + + * m4/missing.m4: Print the backtick in a way that won't cause + autoconf CVS to emit any warnings. + +2000-03-01 Jim Meyering <meyering@lucent.com> + + * automake.in (handle_dist_worker) [generating rules for distdir]: + Don't use `ln' (which was just a space optimization anyway) to + populate $(distdir). Otherwise, the dist rules that change + permissions would end up affecting the master sources. + * texinfos.am (dist-info): Likewise. + +2000-02-13 Jim Meyering <meyering@lucent.com> + + * automake.in (generate_makefile): Detect write/close failure. + +2000-02-02 Assar Westerlund <assar@sics.se> + + * automake.in (handle_single_transform_list): do not use $< which + is not handled by all non-GNU makes. Instead do explicit sh code + testing for the file in this directory and srcdir. Based on a + suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br> + +2000-01-12 Tom Tromey <tromey@cygnus.com> + + * m4/lispdir.m4: Added --with-lispdir argument processing. + From Kevin Dalley. + +2000-01-06 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_configure): Don't check for + AC_PROG_MAKE_SET. + (scan_configure): Check for AC_PROG_MAKE_SET. + + * header-vars.am (@SET_MAKE@): Added. + * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki + Kasahara. + +1999-12-19 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dist_worker): Expand DIST_COMMON under all + conditions. + (require_file_internal): Corrected arguments to second invocation + of maybe_push_required_file. + + Fix for PR automake/9: + * automake.in (make_dirs, make_dirs_set): New globals. + (is_make_dir): New function. + (handle_configure): Use it. + (require_file_internal): Push file if there is no Makefile in its + directory. + (initialize_per_input): Initialize handle_dist_run. + (push_dist_common): Inspect handle_dist_run. + (handle_dist): Set handle_dist_run. Push items from + configure_dist_common onto dist_common if appropriate. + (configure_dist_common): New global. + (scan_configure): Set it. + (maybe_push_required_file): New function. + (require_file_internal): Use it. + + * automake.in (handle_dist_worker): Scan DIST_COMMON to see if + more subdirs are defined. From Axel Belinfante. Fixes + PR automake/2. + +1999-12-18 Tom Tromey <tromey@cygnus.com> + + Partial fix for PR automake/40: + * lisp.am (install-@DIR@LISP): Handle nobase_ case. + (uninstall-@DIR@LISP): Likewise. + * header.am (install-@DIR@HEADERS): Handle nobase_ case. + (uninstall-@DIR@HEADERS): Likewise. + * data.am (install-@DIR@DATA): Handle nobase_ case. + (uninstall-@DIR@DATA): Likewise. + * automake.in (am_primary_prefixes): Recognize `nobase_' prefix. + (am_install_var): Recognize and handle `nobase_' prefix. + +1999-12-17 Tom Tromey <tromey@cygnus.com> + + * automake.in (get_object_extension): Added space before `-I.'. + Report from Ralf Corsepius. + +1999-12-15 Tom Tromey <tromey@cygnus.com> + + * aclocal.in: Don't pass $acdir to scan_m4_files. + (parse_arguments): Push $acdir on end of dirlist. + (scan_file): Don't warn if duplicate macro seen. + +1999-12-13 Tom Tromey <tromey@cygnus.com> + + Fix for PR automake/30 and PR automake/23. Fixes test + suffix3.test. + * automake.in (initialize_per_input): Initialize + source_suffix_pattern. + (derive_suffix): New function. + (handle_single_transform_list): Call it. + + * automake.in (add_depend2): Handle the no-dependency-tracking + case. Fixes test suffix2.test. + + * depcomp (tmpdepfile): [case sgi] Added missing `fi'. + + * automake.in (get_object_extension): Fixed quoting on + -I$(srcdir). + + * depend2.am: Removed erroneous comment. + + * automake.texi (Program variables): Document nostdinc. + (Options): Likewise. + * automake.in (get_object_extension): Respect nostdinc option. + (handle_options): Recognize nostdinc. + * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole + substitution. + + * automake.in (read_am_file): Allow conditional includes. Fixes + test condincl.test. + + * depcomp: Handle case on SGI when libtool is `yes'. + * depend2.am (@EXT@.o): Set libtool. + (@EXT@.lo): Likewise. + (@EXT@.obj): Likewise. + + * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case + after gcc case. + +1999-12-13 Pavel Roskin <pavel_roskin@geocities.com> + + * automake.in (add_depend2): substitute $rule in the rules + for individual files. Fixes test specflags5.test. + +1999-12-12 Tom Tromey <tromey@cygnus.com> + + * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs + to create directories. Fixes test subobj3.test. + +1999-12-10 Tom Tromey <tromey@cygnus.com> + + * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print + message when creating .deps files. + + * automake.in (initialize_global_constants): If unreadable by + owner, make it readable by owner regardless of number of links. + Fixes more of install2.test. + + * missing: Try to see if gnutar or gtar exist before invoking + them. + + * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from + install_sh value. Look for install-sh and install.sh in a + somewhat more sensible way. Fixes test install2.test. Partially + from Jim Meyering. + +1999-12-09 Pavel Roskin <pavel_roskin@geocities.com> + + * m4/missing.m4: remove redundant backquote + +1999-11-23 Tom Tromey <tromey@cygnus.com> + + * automake.in (initialize_global_constants): Use `bzip2 -9', not + `bzip --best' Report from Jim Meyering. + +1999-11-22 Tom Tromey <tromey@cygnus.com> + + * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument. + * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to + AM_MISSING_INSTALL_SH. + * automake.in (scan_one_configure_file): Reverted previous + change. + + * automake.in (scan_one_configure_file): Define `install_sh' + configure variable when AM_INIT_AUTOMAKE seen. Report from Jim + Meyering. + + * automake.in (handle_single_transform_list): Generate explicit + rule for subdir objects. Fixes new addition to subobj.test. + + * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be + defined by AC_SUBST. Fixes ltlibobjs.test. + + Fix for sourcesub.test: + * automake.in (handle_single_transform_list): Added `var' + argument. If config sub found, give error. + (handle_source_transform): Updated for new + handle_source_transform. + + * py-compile: New file. + * m4/Makefile.am (m4data_DATA): Added python.m4. + * m4/python.m4: New file. + * automake.texi (Uniform): Mention PYTHON. + (Python): New node. + * Makefile.am (amfiles): Added python.am, python-clean.am. + (dist_script_DATA): Added py-compile. + * python.am: New file. + * python-clean.am: New file. + * automake.in (seen_pythondir): New global. + (generate_makefile): Call handle_python. + (handle_python): New function. + (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON + seen. + (am_install_var): Special-case PYTHON like JAVA. + (scan_configure): Check for py-compile. + (initialize_global_constants): Added py-compile to @common_files. + + * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space. + +1999-11-21 Tom Tromey <tromey@cygnus.com> + + * automake.in (finish_languages): Only generate suffix rule when + not doing dependency tracking. + + * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH. + * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro. + + * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@. + Always use `-o'. + +1999-11-19 Tom Tromey <tromey@cygnus.com> + + * dist.am: Set `CDPATH=:' to avoid problems. Merged from + Alexandre's change on branch. + +1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br> + + * Makefile.am (maintainer-check): Look for occurrences of ``cd' + without `CDPATH'. + * dejagnu.am: Set CDPATH before cd. + * Makefile.in: Rebuilt. + + * automake.in (handle_single_transform_list): Change `\1' for `$1' + in `s///' replacement. + + * automake.in (handle_dist): Set CDPATH before cd. + * dejagnu.am (check-DEJAGNU): Likewise. + * texinfos.am (install-info-am, dist-info): Likewise. + * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise. + * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise. + * aclocal.m4, configure, Makefile.in: Rebuilt. + + * AUTHORS: Added myself. + +1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br> + + * m4/missing.m4: Support relative srcdir and ac_aux_dir. + Reported by Tim Wilkinson <tim@transvirtual.com> + * aclocal.m4, configure: Rebuilt. + +1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br> + + * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no + LEX program is found, use `${am_missing_run}flex'. + +1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (handle_single_transform_list): Replace `$(OBJEXT)' + with `o' in depfile. + + * automake.in (handle_lib_objects_cond): Remove second dot from + dependency file names. + + * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po, + regardless of OBJEXT. + + * automake.in (handle_dependencies): Add blank line after depend2. + (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output + blank line before `include's, not after them. + (scan_one_configure_file): Do not special-case `DEP_' any more. + + * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only + if AMDEP is empty. + * aclocal.m4, configure: Rebuilt. + + * m4/depend.m4 (AMDEPBACKSLASH): Define. + * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH. + + * automake.in (handle_dependencies): Generate `include's for + dependency files after `@AMDEP@'. + + * m4/missing.m4: Use eval, instead of a sub-shell, to test for + --run support in the missing script, since SHELL is not exported. + Reported by job bogan <job@piquin.uchicago.edu> + * aclocal.m4, configure: Rebuilt. + +1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br> + + * aclocal.m4, configure: Rebuilt with itself. + * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise. + + * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument. + Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by... + (AM_MISSING_HAS_RUN): New macro. + * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG. + * automake.texi (Requirements): Likewise. + * version.texi, stamp-vti: Rebuilt. + +1999-07-28 Tom Tromey <tromey@cygnus.com> + + * depcomp: Handle the `hp' mode. + +1999-07-06 Tom Tromey <tromey@cygnus.com> + + * depcomp: Work around HP-UX 10.20 sed bug. + +1999-07-05 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dependencies): Generate a separate include + for each dep file. Report from Alexandre Oliva. + * depend.am: Don't include DEP_FILES. + +1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br> + + * depend.am: Add @AMDEP@ before `include', so that dependency + tracking can be disabled. + * depend2.am: Ditto, before all lines related with dependency + tracking. + * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents + --enable/disable-dependency-tracking and sets AMDEP accordingly. + It is implicitly disabled if depcomp is missing. + (AM_DEPENDENCIES): Disable dependency tracking unless it can be + generated by side-effect. + * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK. + * automake.in (handle_dependencies): Add @AMDEP@ before the value + of DEP_FILES. + * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES + starting with `#'. + + * depcomp: Support -xM for dependency generation, for Sun CC. + Reported by Alex Hornby <alex@anvil.co.uk> + * m4/depend.m4: Extract the list of supported dependency-tracking + mechanisms from the depcomp script and use it to test each one. + * THANKS: Added Alex Hornby. + + * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as + to leave $(...COMPILE) in a line by itself. + + * THANKS: Added Miles Bader. + +1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp> + + * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'. + Fix `dashmstdout' to ignore non-dependency-generating uses of the + -M flag. + * depcomp (makedepend): New dependency-generating method. + +1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br> + + * missing: If given `--run' as first argument, try to run the + given program before falling back to the ``emulated'' behavior. + Add support for `tar'. + * automake.in: Use new `tar' support for `dist'. + * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the + program, prepend `missing --run' to the given program name. + * m4/init.m4: Remove AMTAR-related stuff. + * NEWS: Updated. + + * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on + CONFIG_FILES. Do not use temporary variable for list of + dependency files, it breaks Cygwin. + +1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br> + + * depcomp (gcc): Imported comments removed from depend2.am, so + that we don't lose them. + + * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U// + when not using ansi2knr. + +1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br> + + * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support. + * depcomp (cpp): Extract dependencies from `# nnn "..."' lines. + +1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br> + + * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h, + so as not to compile an empty source; some compilers fail on this. + Redirect stderr of depcc to /dev/null. Test for -M with -o, + because some compilers will output the rules to the output file. + * depcomp (dashmstdout): Add --silent before --mode=compile, so + that we don't get libtool output mixed up with make rules. + + * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR. + * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use + -o for libtool, otherwise it may try to deduce the object name + from the dependency-generation flag. + * depcomp: Assume depdir exists. Preserve depfile on unsuccessful + compilations. + + * libtool.am: Do not emit .c.lo here... + * depend2.am: ... emit .*.lo here, only when using libtool. + * automake.in (get_object_extension): No more @MINUSO@ here. + (handle_single_transform_list): Set $depfile from $object. + (handle_dependencies): Emit depend2.am for all used languages, + regardless of $use_dependencies; the setting of depcomp makes the + difference. + (lang_cxx_finish): Do not emit compilation rules. + (lang_objc_finish): Likewise. + (lang_java_finish): Likewise. + +1999-04-21 Tom Tromey <tromey@cygnus.com> + + * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly + interpolate DEPDIR in DEP_FILES expansion. + +1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM> + + * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style + dependency updating. + * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to + handle multi-line dependency lists. + +1999-11-12 Tom Tromey <tromey@cygnus.com> + + Fix for PR automake/14: + * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention + AC_CYGWIN. + * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32. + + * m4/multi.m4: Added missing `]'. From Akim Demaille. + + * Makefile.am (path-check): Make sure distdir is writeable before + removing it. + * automake.in (handle_texinfo): Added `cm' and `ov' extensions. + (handle_dist_worker): Make sure distdir is writeable before + removing it. + (initialize_global_constants [$dist_trailer]): Make sure distdir + is writeable before removing it. + * dist.am (distcheck): Make the new source tree read-only before + compiling. Idea from Karl Berry. + + * automake.texi (Gnits): Allow COPYING.LIB again. + * automake.in (check_gnits_standards): Allow COPYING.LIB again. + +1999-11-11 Jim Meyering <meyering@ascend.com> + + * dist.am (distcheck): Remove $(distdir).tar.gz before counting + files. + +1999-11-09 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dist): Typo fix. From Jim Meyering. + +1999-11-09 Jim Meyering <meyering@ascend.com> + + * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT + markers, no matter what. + +1999-11-08 Tom Tromey <tromey@cygnus.com> + + * dist.am (distcheck): Put `&&' at the start of the distcheck-hook + line. + + * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'. + From Jim Meyering. Also, don't mention file name in `cp' + destination. From Olly Betts. + +1999-10-27 Miodrag Vallat <miodrag@ifrance.com> + + * texinfos.am (uninstall-info): Use installed info file, not one + from srcdir or builddir. + +1999-11-07 Tom Tromey <tromey@cygnus.com> + + * clean.am (maintainer-clean-generic): Remove Makefile.in. From + Jeff Bailey + + Fix for PR automake/18: + * automake.in (handle_dist): Add contents of dist.am to the output + rules. + * Makefile.am (amfiles): Added dist.am. + * dist.am: New file. + (distcheck): Added uninstall and distclean checks. + + * automake.in (PATH_PATTERN): Added `-' as allowable character. + Fixes PR automake/20. From Matthew D. Langston. + + * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters + allowed in suffixes. Fixes PR 22. From Matthias Clasen. + +1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br> + + * m4/lispdir.m4: -batch must come before -q. + * elisp-comp: Likewise. + Reported by Lars Hecking <lhecking@nmrc.ucc.ie> + * THANKS: Added Lars. + +1999-08-15 Tom Tromey <tromey@cygnus.com> + + * automake.in (get_object_extension): Fixed quoting bug. Fixes + ansi4.test. + +1999-07-27 Tom Tromey <tromey@cygnus.com> + + * config.guess, config.sub: New versions from autoconf. + +1999-07-13 Tom Tromey <tromey@cygnus.com> + + Work around losing `awk'. Report from Harlan Stenn. + * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK. + * tags.am (ID, TAGS): Use $(AWK), not `awk'. + + * automake.in (handle_source_transform): Mark prefix as seen if + corresponding _SOURCES variable exists. Fixes empty2.test. + +1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> + + * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to + m4. + (AUTOMAKE): Set --amdir to current directory. + +1999-06-20 Tom Tromey <tromey@cygnus.com> + + * Makefile.am (TAGS_FILES): New macro. + (ETAGS_ARGS): Moved files into TAGS_FILES. + (TAGS_DEPENDENCIES): Likewise. + (ETAGS_ARGS): Removed. + (TAGS_DEPENDENCIES): Removed duplicate definition. + + * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report + from Ganesan Rajagopal. + (TAGS): Likewise. + +1999-06-18 Thomas Tanner <tanner@ffii.org> + + * automake.in (handle_ltlibraries): Check for -module in LDFLAGS, + too. + +1999-06-20 Mark Elbrecht <snowball3@bigfoot.com> + + * ylwrap: Handle filenames output by the DOS version of Bison. + +1999-06-20 Tom Tromey <tromey@cygnus.com> + + * ylwrap: Be less strict when recognizing DOS paths. From Mark + Elbrecht. + +1999-06-19 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dist_worker): Remove redundant entries from + DIST_SUBDIRS. + + * automake.in (handle_lib_objects_cond): Better error message when + unrecognized option passed in LDADD. + +1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br> + + * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with + appropriate --acdir and --amdir arguments. + +1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (dist_header): Avoid changing permissions of files + in the source tree, trying a complex `find/chmod' command before + falling back to plain chmod. + (handle_dist_worker): Do not create directories with mode 777, the + find above will take care of that. + * m4/init.m4: Set install_sh for find/chmod above. + + * THANKS: Added Shuhei Amakawa. + +1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk> + + * mans.am: Strip dirname from given filename. + +1999-06-07 Jim Meyering <meyering@ascend.com> + + * automake.in (handle_dist): Change emitted rules so that a failure + in `$(MAKE) distcheck-hook' propagates to the outer make. + +1999-05-27 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_single_transform_list): Replace AM_FLAG and + not FLAG in compilation rule. + (add_depend2): Likewise. + + * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to + libtool. + + * m4/dmalloc.m4: Updated dmalloc site information. + +1999-05-19 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_single_transform_list): Push object name + without extension onto lang_specific_files. Fixes + specflags4.test. + + * automake.in (handle_single_transform_list): Added missing + space. Fixes specflags.test. + +1999-05-05 Tom Tromey <tromey@cygnus.com> + + * automake.in: Disabled dependency tracking for Java. + +1999-05-04 Tom Tromey <tromey@cygnus.com> + + * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR). + * automake.in (handle_libraries): Recognize _AR variable. + +1999-04-30 Tom Tromey <tromey@cygnus.com> + + * automake.in (finish_languages): Always use `-o $@' with + libtool. Define ltcompile and ltlink at outermost scope in + function. + * libtool.am (.c.lo): Removed. + + * automake.in (finish_languages): Put `.' before extension in + suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not + `-flag'. From Pavel Roskin. + +1999-04-28 Tom Tromey <tromey@cygnus.com> + + * automake.in (finish_languages): Fixed scoping of ltcompile and + ltlink. From Pavel Roskin. + +1999-04-27 Tom Tromey <tromey@cygnus.com> + + * automake.in (read_main_am_file): Don't start macro definition + with backslash-newline. Instead, append newline at the end if + required. + + * automake.in (read_am_file): Insert a backslash before a trailing + newline. Fixes pluseq8.test. + + * automake.in (MACRO_PATTERN): Allow digits and `_' to start a + macro name. + (check_canonical_spelling): Don't insert `AM' before macro name + (reverts Alexandre's 1999-04-27 patch). + * automake.texi: Reverted documentation change for `AM' patch. + + * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'. + Minor rewrite for clarity. + (check_canonical_spelling): Prefer `$1' over `\1'. + + * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always + use `-o $@'. + (@LTOBJ@): Likewise. + * automake.in (handle_single_transform_list): Don't print rule if + doing dependency tracking and the file's language supports it. + (initialize_per_input): Initialize lang_specific_files. + (add_depend2): New function. + (handle_dependencies): Use it. + + * automake.in (lang_ppf77_finish): Use lang_f77_finish. + ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed + to `PPF77COMPILE' to allow use of f77 and ppf77 in the same + directory. + (lang_ratfor_finish): Use lang_f77_finish. + + * compile.am (NOTDEPEND.c.o): Removed. + (OBJEXT.c.obj): Likewise. + * automake.in: Added `flags' attribute to all relevant languages. + (handle_single_transform_list): Handle per-derived-object flags. + Changed interface and all callers. + (handle_built_sources): Don't call handle_single_transform_list. + Added `compile' and `compiler-name' attribute to all relevant + languages. + (finish_languages): Define compiler variables here. + (lang_cxx_finish): Don't call define_compiler_variable. Don't + define flag variable or .o rules. Don't add to @suffixes. + (lang_f77_finish): Likewise. + (lang_ppf77_finish): Likewise. + (lang_objc_finish): Likewise. + (lang_java_finish): Likewise. + (finish_languages): Define flag variable here. + Added `output-arg' attribute to all relevant languages. + (finish_languages): Define `.o' rules here. + (finish_languages): Put extension on @suffixes. + (get_object_extension): Don't transform NOTDEPEND or MINUSO. + +1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (initialize_global_constants): Invoke gzip for + dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c. + + * automake.in (initialize_global_constants): Remove zip file + before re-creating it. + Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us> + + * texinfos.am (uninstall-info): Look for info file in srcdir, just + like in install-info-am. + Reported by Tudor Hulubei <tudor@cs.unh.edu> + + * automake.in (handle_lib_objects_cond): \Q doesn't work either. + Let's use the good ol' substitution, then. + Reported by Russ Allbery <rra@stanford.edu> + + * automake.in (check_canonical_spelling): Insert AM before names + starting with non-letters. + + * automake.texi: Document it. + +1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (handle_lib_objects_cond): Do not use quotemeta, it + doesn't work on perl4. Maybe \Q and \E do. + +1999-04-24 Tom Tromey <tromey@cygnus.com> + + * automake.in: Treat `.zip' and `.jar' files as Java. + + * automake.in (generate_makefile): Define `subdir' after reading + .am file. + (read_main_am_file): Give programming error if variable defined + before invocation. + +1999-04-22 Tom Tromey <tromey@cygnus.com> + + * automake.in (generate_makefile): Define `subdir' variable. + (handle_dist): Don't define `subdir'. + + * automake.in (handle_texinfo): Change numbering scheme for + stamp-vti files, to avoid problems with DOS. + From Michel de Ruiter. + + * automake.texi: Don't mention AM_FUNC_MKTIME. + * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME. + * automake.in (scan_one_configure_file): Recognize + AC_FUNC_MKTIME, not AM_FUNC_MKTIME. + (obsolete_macros): Mention AM_FUNC_MKTIME. + * m4/Makefile.am (m4data_DATA): Removed mktime.m4. + * m4/mktime.m4: Removed. + +1999-04-20 Tom Tromey <tromey@cygnus.com> + + * automake.texi (Top level): Don't recommend substing SUBDIRS. + +1999-04-20 Brian Ford <ford@vss.fsi.com> + + * scripts.am: Change else if's to elif. + +1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (handle_lib_objects_cond): Only require the source + of a LIBOBJ if it's not in BUILT_SOURCES. + Reported by Erez Zadok. + +1999-04-19 Tom Tromey <tromey@cygnus.com> + + * automake.in: Treat `.class' files as Java source. + (lang_java_finish): Handle `.class' files. + +1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br> + + * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'. + + * m4/lispdir.m4: Do not override lispdir if it's already defined. + Run some emacs-lisp to find out the site-lisp directory, but + relocate it into prefix. + +1999-04-17 Paul Eggert <eggert@twinsun.com> + + * m4/mktime.m4 (bigtime_test, main): Move alarm from + bigtime_test to main, since Solaris 7 (64-bit) mktime loops + even outside of bigtime_test. Use a time limit of 60 seconds + for the whole test, not 10 seconds per iteration. + +1999-04-17 Erez Zadok <ezk@cs.columbia.edu> + + * automake.in: Create stamps for headers in appropriate + directories, even if the input file lives in a different place. + * remake-hdr.am: Likewise. + +1999-04-16 Tom Tromey <tromey@cygnus.com> + + From Brian Ford: + * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS): + Invoke `sed' only once per program. + * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS): + Invoke `sed' only once per program. + +1999-04-13 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_subdirs): Make `install-recursive' phony. + From Michel de Ruiter. + + * automake.in (handle_ltlibraries): Added missing `check'. + +1999-04-12 Tom Tromey <tromey@cygnus.com> + + * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c + maintainer). + +1999-04-11 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dist): Use AMTAR. + (initialize_global_constants): Likewise. + * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR. + + * automake.in (lang_sub_obj): New function. + (lang_cxx_rewrite): Use it. + (lang_asm_rewrite): Likewise. + (lang_objc_rewrite): Likewise. + (lang_cxx_finish): Add `-o $@' to all C++ rules. + (lang_asm_finish): Add `-o' to suffix rules when appropriate. + (lang_objc_finish): Add `-o $@' to all ObjC rules. + (lang_java_finish): Likewise. + + * automake.in: Only register `asm' once. + (lang_asm_finish): Put assembly suffixes on @suffixes. + + * libtool.am (.s.lo): Removed. + (.S.lo): Likewise. + * automake.in (lang_asm_finish): Handle libtool. + + * libtool.am (.c.o): Always pass -c to libtool. + + * automake.in (lang_yacc_rewrite): Handle sources in subdirs. + (lang_yaccxx_rewrite): Likewise. + (lang_lex_rewrite): Likewise. + (lang_lexxx_rewrite): Likewise. + + Assembly code no longer included by default: + * compile.am (.s.o): Removed. + (.S.o): Likewise. + * automake.in: Register `asm' language. + (lang_asm_finish): Generate suffix rules for assembly. + (get_object_extension): Don't add `.s' or `.S' to suffix list. + + * automake.in (get_object_extension): Substitute @MINUSO@ when + including compile.am. + * compile.am (.c.o): Added @MINUSO@. + (.c.obj): Likewise. + + First cut at allowing objects in subdirectories: + * m4/Makefile.am (m4data_DATA): Added minuso.m4. + * Makefile.am (dist_script_DATA): Added compile. + * m4/minuso.m4: New file. + * automake.in (initialize_global_constants): Added compile to + common_files. + (seen_cc_c_o): New global. + (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen. + (handle_options): Recognize `subdir-objects' option. + (lang_c_rewrite): Added directory argument. + (lang_yacc_rewrite): Likewise. + (lang_yaccxx_rewrite): Likewise. + (lang_lex_rewrite): Likewise. + (lang_lexxx_rewrite): Likewise. + (handle_single_transform_list): Pass directory to _rewrite + function. Generate dependencies for dirstamp files for each .o; + it is just the rules we want to create once. + (lang_c_rewrite): Handle `subdir-objects' option. + (lang_c_rewrite): Require `compile' program. + * compile: New file. + + * automake.in (initialize_per_input): Initialize %directory_map. + (handle_single_transform_list): Only create .dirstamp rules once + per directory. + + * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG. + + Fix for confh.test: + * automake.in (configure_input_files): New global. + (scan_configure): Set it. + (handle_configure): Use configure_input_files when determining + which subdirs have a Makefile.am. Fixes confh.test. + (handle_configure): Only recognize acconfig.h in top srcdir. + +1999-04-10 Tom Tromey <tromey@cygnus.com> + + * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'. + (%.lo): Likewise. + + * automake.in (am_install_var): Remove redundancies from the + result. Fixes test cond8.test. + + * automake.in (handle_single_transform_list): Handle dependency + tracking when files are created in subdirs. Error if object in + subdir has `..' component. + + * automake.in (initialize_global_constants): Use $(TAR), not tar. + + * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES. + + * automake.in (lang_yacc_finish): Added missing `&'. + +1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (handle_configure): Replace multiple occurrences of + @STAMP@ in the same line; completes the patch for remake-hdr.am + below. + + * automake.in (handle_dependencies): Fix test for `autodep' + support. + + * automake.in (handle_source_transform): Add a pfx to used_pfx + only if it's conditional or non-empty, to reduce the number of + empty variables. Emit _OBJECS variable based on program name if + no SOURCES were explicitly specified. + + * remake-hdr.am: Create the stamp file before the header file, + and just rename it after, so that the timestamps will be correct. + Reported by Marc Horowitz <marc@mit.edu> + + * automake.in (lang_yacc_finish): Generate and dist a `.h' for a + `.y' iff YFLAGS or AM_YFLAGS contain `-d'. + Reported by Jim Meyering <meyering@ascend.com> + + * automake.in (lang_yacc_finish): $hname must not contain a `.'. + +1999-04-10 Tom Tromey <tromey@cygnus.com> + + * Makefile.am (EXTRA_DIST): New macro. + * ChangeLog.1996, ChangeLog.1998: New files. + +1999-04-09 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_source_transform): Handle dist and nodist + prefixes. + (initialize_per_input): Initialize dist_sources. + (check_libobjs_sources): Handle dist and nodist prefixes. + (generate_makefile): Define DIST_SOURCES. + * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES. + + * automake.texi (Macros): Mention AM_PROG_GCJ. + (Java Support): New node. + (Dist): Documented dist_ and nodist_ prefixes. + + * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ. + + * automake.in (lang_java_finish): Generate .lo rule for `.java' + files, not `.gcj' files. + + * m4/gcj.m4: New file. + * m4/Makefile.am (m4data_DATA): Added gcj.m4. + + * automake.in: Register the `java' language. + (resolve_linker): Handle GCJLINK. + (lang_java_rewrite): New function. + (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants. + (lang_c_rewrite): Use new constants. + (lang_cxx_rewrite): Likewise. + (lang_header_rewrite): Likewise. + (lang_yacc_rewrite): Likewise. + (lang_yaccxx_rewrite): Likewise. + (lang_lex_rewrite): Likewise. + (lang_lexxx_rewrite): Likewise. + (lang_asm_rewrite): Likewise. + (lang_f77_rewrite): Likewise. + (lang_ppf77_rewrite): Likewise. + (lang_ratfor_rewrite): Likewise. + (lang_objc_rewrite): Likewise. + (handle_single_transform_list): Likewise. Handle LANG_SUBDIR + return from rewrite function. + (lang_java_finish): New function. + (register_language): Changed interface and all calls. Added + `autodep' settings to various languages. + (handle_dependencies): Use `autodep' property of language when + including dependency-tracking code. + +1999-04-07 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_texinfo): Indentation fixes. + +1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (value_to_list): Skip *only* trailing backslashes. + +1999-04-07 Pavel Roskin <pavel_roskin@geocities.com> + + * automake.in (value_to_list): Skip trailing backslashes. + +1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir + when appropriate. + Reported by Per Cederqvist <ceder@lysator.liu.se> + (handle_texinfo): Do not define texinfo_tex='.', use + '$(srcdir)/texinfo.tex' instead; the directory name will be + properly extracted. + (require_conf_file_with_line): Fixed typo. + +1999-04-03 Raja R Harinath <harinath@cs.umn.edu> + + * automake.in (handle_tests): Test `dir=./' before `dir=', so that + we do not depend on PATH starting with `.'. + +1999-03-31 Tom Tromey <tromey@cygnus.com> + + * automake.in (quote_cond_val): Quote \n. + (unquote_cond_val): Unquote \n. + (read_am_file): If line ends with `\', preserve it and add a + newline. + (read_main_am_file): In conditional case, put conditional text at + beginning of each generated line. + +1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (handle_tests): support XFAIL_TEST + * automake.texi: document it + +1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br> + + * End of merge from trunk. + +1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (cmdline_use_dependencies): Reintroduce it. + (--ignore-deps): Set cmdline_use_dependencies again. + (handle_dependencies): If use_dependencies is not set, define + depcomp as empty. + (handle_configure): Pass --ignore-deps to generated Makefile.ins. + (scan_configure): Do not require depcomp when ignoring + dependencies. + (initialize_global_constants): Reintroduce --ignore-deps. + +1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br> + + * depcomp: New file. + * Makefile.am (dist_script_DATA): Added depcomp. + * automake.in (cmdline_use_dependencies, omit_dependencies, + dependency_macros): Removed. + (--ignore-deps): Just ignore. + (handle_single_transform_list, dep_files): Named dependency files + as \$(DEPDIR)/$base.P$obj + (handle_lib_objects_cond): Likewise. + (generate_dependency_code): Do not check for AM_*_DEPENDENCIES. + (scan_one_configure_file): Likewise. + (handle_dependencies): Always enable auto-dep. Define `depcomp'. + Ignore OMIT_DEPENDENCIES. + (handle_configure): Do not pass --ignore-deps. + (scan_configure): Require `depcomp'. + (initialize_global_constants): Make `depcomp' common. Remove + `--ignore-deps' from usage. + (get_object_extension): No more NOTDEPEND in compile nor libtool. + * compile.am: Remove rules for .c.o and .c.obj + * depend.am (distclean-depend): Wipe out $(DEPDIR) + * depend2.am (@FPFX@DEPMODE): Define from config.status. + Use it and depcomp in suffix rules. + * libtool.m4: Likewise. + * m4/ccdepend.m4, m4/cxxdepend.m4: Removed. + * m4/depvars.m4, m4/objcdepend.m4: Likewise. + * m4/Makefile.am (dist_m4data_DATA): Likewise. + * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR + from the Makefile and subst it in deps. Report creation of deps + files (for now). Replace $U with `_' and the empty string. Write + a comment to each created file. + * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name. + (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the + dependency mode and AC_SUBST [$1]DEPMODE. + * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call + AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG + appears in configure.in, before or after AM_INIT_AUTOMAKE. + +1999-04-02 Raja R Harinath <harinath@cs.umn.edu> + + * depout.m4: Fix sed expression for extracting `dirpart'. + +1999-03-29 Tom Tromey <tromey@cygnus.com> + + * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'. + + * compile.am (.c.obj): Also disabled when dependency tracking + enabled. + * depend2.am (@EXT@.obj): New target. + * automake.in (get_object_extension): Added explanatory comment. + (generate_dependency_code): Handle $seen_objext. + + * depend.am: Removed obsolete comment. + * depend2.am: Minor formatting fix. + +1999-03-28 Tom Tromey <tromey@cygnus.com> + + * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new + files. + (EXTRA_DIST): Removed. + * automake.in (dependency_macros): New global. + (scan_one_configure_file): Recognize new dependency tracking + macros, and define new resulting configure variables. + (generate_dependency_code): New sub. + (handle_dependencies): Use it. + * depend2.am (DEP_@FPFX@COMPILE): New macro. + (@EXT@.o): Use it. + (@EXT@.lo): Likewise. + * m4/depvars.m4: New file. + * m4/objcdepend.m4: New file. + * m4/cxxdepend.m4: New file. + * m4/init.m4: Moved dependency handling code into depout.m4. + * m4/depout.m4: New file. + * m4/ccdepend.m4: New file. + * m4/depend.m4: New file. + + * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern. + (@EXT@.lo): Likewise. + * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no + longer needed. + + * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which + will create the required .P files for dependency tracking. + * automake.in (scan_dependency_file): Removed. + (handle_dependencies): Never call scan_dependency_file. + (generate_deps): Removed. + (parse_arguments): Don't recognize --generate-deps, --build-dir, + --srcdir-name, or --include-deps. Do recognize --ignore-deps. + (srcdir_name): Removed. + (build_directory): Removed. + (initialize_global_constants): Changed $USAGE to reflect argument + parsing changes. + (handle_dist_worker): Never run automake in `dist' rule. + (handle_configure): Use --ignore-deps, not --include-deps. + * depend.am (DEPS_MAGIC): Removed. + (DEP_FILES): Unconditionally include. + +1999-03-27 Tom Tromey <tromey@cygnus.com> + + * automake.in (saw_sources_p): Correctly count header extensions + seen. + (handle_headers): Fixed order of arguments to am_install_var. + + * automake.in (am_install_var): Don't error if EXTRA_foo is + defined uselessly. + + * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate. + (uninstall-@DIR@SCRIPTS): Likewise. + * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate. + (uninstall-@DIR@PROGRAMS): Likewise. + * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate. + (uninstall-@DIR@LTLIBRARIES): Likewise. + * lisp.am (install-@DIR@LISP): Use NDIR when appropriate. + (uninstall-@DIR@LISP): Likewise. + * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate. + (uninstall-@DIR@LIBRARIES): Likewise. + * java.am (install-@DIR@JAVA): Use NDIR when appropriate. + (uninstall-@DIR@JAVA): Likewise. + * header.am (install-@DIR@HEADERS): Use NDIR when appropriate. + (uninstall-@DIR@HEADERS): Likewise. + * data.am (install-@DIR@DATA): Use NDIR when appropriate. + (uninstall-@DIR@DATA): Likewise. + * Makefile.in: Rebuilt. + * Makefile.am (dist_pkgdata_DATA): Renamed. + (EXTRA_DIST): Removed. + (install-data-hook): Added POST_INSTALL; print commands as they + are run; respect DESTDIR. + * dist-vars.am (DISTFILES): Removed $(HEADERS). + * automake.in (am_install_var): Accept `-candist' and + `-defaultdist' options. Handle `dist_' and `nodist_' prefixes. + (am_primary_prefixes): Added can_dist argument. Recognize `dist_' + and `nodist_' prefixes. + (handle_scripts): Pass -candist to am_install_var. + (handle_data): Pass -defaultdist to am_install_var. + (handle_headers): Likewise. + (handle_emacs_lisp): Pass -candist to am_install_var. + (handle_java): Pass -candist to am_install_var. + +1999-03-26 Tom Tromey <tromey@cygnus.com> + + * m4/init.m4: Fixed typo when invoking SHELL. + + * automake.in (lang_yacc_finish): Always use `.h' as suffix for + yacc header file. From Ralf Corsepius. + + * Makefile.in: Rebuilt. + * Makefile.am: Updated to reflect removal of TAR subst. + * automake.texi (Options): Document dist-bzip2. + * automake.in (TAR): Removed global. + (initialize_global_constants): Changed `dist' to use pipe with + gzip; work with non-GNU tar. + (handle_dist): Handle non-GNU tar. Don't define TAR. + (initialize_global_constants): Added `dist-bzip2' entry. + (handle_options): Recognize dist-bzip2 option. + (handle_dist): Likewise. + * configure: Rebuilt. + * configure.in: Don't check for tar. + * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute + AMTARFLAGS. + + * automake.in (am_install_var): Removed obsolete comment. + + * texinfos.am (uninstall-info): Don't print loop but instead print + commands. Simplified pre-uninstall loop. + * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but + instead print commands. + * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead + print commands. + * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but + instead print commands. + * lisp.am (install-@DIR@LISP): Strip subdir from file name. + (uninstall-@DIR@LISP): Likewise. Also, don't print loop but + instead print commands. + * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead + print commands. + * java.am (uninstall-@DIR@JAVA): Don't print loop but instead + print commands. + * header.am (install-@DIR@HEADERS): Strip subdir from file name. + (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but + instead print commands. + * data.am (install-@DIR@DATA): Strip subdir from file name. + (uninstall-@DIR@DATA): Likewise. Also, don't print loop but + instead print commands. + + * automake.in (handle_merge_targets): `install-strip' is a phony + target. From Michel de Ruiter. + +1999-03-25 Tom Tromey <tromey@cygnus.com> + + * automake.in (define_compiler_variable): Don't define variable + with trailing `_'. + +1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (LDADD): accept -dlopen and -dlpreopen here + * automake.texi: ditto + +1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir + is absolute and != objdir. dir="" or "$(srcdir)/" fixes it + +1999-03-24 Tom Tromey <tromey@cygnus.com> + + * automake.in (define_compiler_variable): New sub. + (finish_languages): Use it. + (lang_cxx_finish): Likewise. + (lang_f77_finish): Likewise. + (lang_ppf77_finish): Likewise. + (lang_ratfor_finish): Likewise. + (lang_objc_finish): Likewise. + +1999-03-23 Tom Tromey <tromey@cygnus.com> + + * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple + sed invocations. From Elrond. + (uninstall-@DIR@PROGRAMS): Likewise. + + * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'. + From Ralf Corsepius. + +1999-02-01 Thomas Tanner <tanner@gmx.de> + + * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a + warning when AM_PROG_LIBTOOL was found + * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL + +1999-03-22 Tom Tromey <tromey@cygnus.com> + + Made `+=' more robust. Fixes pluseq6.test and pluseq7.test. + * automake.in (define_standard_variables): New sub. + (read_main_am_file): Use two passes to scan standard variables. + (read_am_file): Don't special-case configure variables with `+='. + (initialize_per_input): Initialize %var_was_plus_eq. + (read_am_file): Set var_was_plus_eq element correctly. + (define_variable): Give error if variable assigned with `+=' is + internally defined. + (initialize_per_input): Initialize %am_var_defs. + (file_contents_with_transform): Set element in %am_var_defs. + (read_am_file): Use %am_var_defs. + +1999-03-21 Tom Tromey <tromey@cygnus.com> + + * automake.in (initialize_per_input): Initialize %object_map. + (handle_single_transform_list): Allow source files in + subdirectories. + +1999-03-21 Jim Meyering <meyering@na-net.ornl.gov> + + * automake.in (handle_dist): Add missing newline after the first + semicolon. + +1999-03-11 Tom Tromey <tromey@cygnus.com> + + * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4, + m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering. + + From Jim Meyering: + * automake.in (handle_dist): Add `;\' to end of distcheck-hook + line. + (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as + legitimate ending. Fixes libobj9.test. + + From Ralf Corsepius. Fixes lex3.test. + * automake.in (lang_yacc_finish): Include `.' in name pushed onto + maintainer-clean list. + (lang_lex_finish): Likewise. + +1999-03-02 Tom Tromey <tromey@cygnus.com> + + * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if" + construct to work around FreeBSD make/sh problem. From Rich Wales. + +1999-03-01 Tom Tromey <tromey@cygnus.com> + + Fixes from Pavel Roskin: + * automake.in (variable_conditions_sub): Sort list passed to + variable_conditions_permutations. + (variable_conditions): Sort list before returning. + +1999-02-27 Tom Tromey <tromey@cygnus.com> + + * automake.in (lang_extensions): New sub. + (handle_dependencies): Use it. + (cxx_extensions): Removed. + (lang_cxx_finish): Use lang_extensions. + (f77_extensions): Removed. + (lang_f77_finish): Use lang_extensions. + (objc_extensions): Removed. + (lang_ppf77_finish): Put `.' before extension. Fixes ext.test. + Report from Dave Morrison. + (lang_ratfor_finish): Likewise. + +1999-02-26 Tom Tromey <tromey@cygnus.com> + + * automake.in (finish_languages): Added AM_LDFLAGS. + (lang_cxx_finish): Likewise. + (lang_f77_finish): Likewise. + (lang_ppf77_finish): Likewise. + (lang_ratfor_finish): Likewise. + (lang_objc_finish): Likewise. + +1999-02-11 Tom Tromey <tromey@cygnus.com> + + * aclocal.in (obsolete_macros): Copied from automake.in. + (obsolete_rx): Use only keys of obsolete_macros. + (scan_configure): Report replacement macro for an obsolete macro. + * automake.in (obsolete_macros): Added ud_GNU_GETTEXT. + + * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT + entry. Fixes obsolete2.test. + + * automake.in (obsolete_macros): Use empty string to indicate no + substitution. + (scan_one_configure_file): Likewise. + +1999-02-07 Paul Eggert <eggert@twinsun.com> + + * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa + -D_HPUX_SOURCE, since -Ae allows `long long' and this is + needed by some programs. + +1999-02-10 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_texinfo): Added `pgs' to list of + extensions. From NISHIDA Keisuke. + +1999-02-04 Akim Demaille <demaille@inf.enst.fr> + + * automake.in (handle_texinfo): remove texinfo.tex from + TEXINFODIR. + +1999-02-02 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG. + * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG. + * header-vars.am (INSTALL_PROGRAM): Removed + AM_INSTALL_PROGRAM_FLAGS. + (INSTALL_STRIP_FLAG): New macro. + + * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++ + lex source. + (lang_yacc_finish): Likewise. + (lang_lex_finish): Likewise. + +1999-02-01 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dist_worker): Correctly find find in $$d, + not $$. From Bill Davidson. + + * automake.in (finish_languages): Use "&", not "do". From Pavel + Roskin. + (handle_single_transform_list): Likewise. + +1999-01-29 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_configure): Removed unused variable. From + Pavel Roskin. + + * ansi2knr.c: New version from L. Peter Deutsch. + +1999-01-22 Tom Tromey <tromey@cygnus.com> + + * automake.in (require_file_internal): Correctly examine return + value of `system'. From Andris Pavenis. Fixes copy.test. + + * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13. + + * automake.in (lang_ppf77_rewrite): New function. From Jochen + Kuepper. Fixes ppf77.test. + (lang_ratfor_rewrite): New function + + * automake.in (handle_configure): Use `&' before sub calls (Perl 4 + fix). From Erez Zadok. + +1999-01-15 Tom Tromey <tromey@cygnus.com> + + * configure.in: Version 1.4a (oops). + + * configure.in: Updated version to 1.5a. + +1999-01-14 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_configure): Compute $header_dir based on + $one_name, not $one_hdr. Reported by Erez Zadok. Fixes + confh2.test. + (handle_configure): Compute relative path to input header + correctly in all cases. + + * automake.in (handle_tests): Avoid error messages from dejagnu + test rules. From Karl Heuer. + + * automake.in (handle_texinfo): Add `/' to end of $conf_dir. + + * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'. + + * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir. + From Alexandre Oliva and Erez Zadok. + + * automake.in (create): Renamed from touch. + (handle_configure): Use create, not touch. + + * config.sub, config.guess: New versions from autoconf. + + * mkinstalldirs: New version from autoconf. + +1999-01-12 Tom Tromey <tromey@cygnus.com> + + * config.sub, config.guess, COPYING, texinfo.tex: New versions + from FSF. + +1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu> + + * automake.in (PATH_PATTERN): New variable: + (INCLUDE_PATTERN): Use it. Ignore all include commands using + symbols besides $(top_srcdir) and $(srcdir). + +1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (handle_dist_worker): avoid failure in `make dist' + if last file is a builddir-only file + +1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br> + + * missing (autoheader): `s' was missing from sed script; grr + +1999-01-11 Tom Tromey <tromey@cygnus.com> + + * remake-hdr.am (@STAMP@): Reverted timestamp change. + ($(srcdir)/@STAMP@.in): Likewise. + +1999-01-10 Tom Tromey <tromey@cygnus.com> + + * Makefile.am (scriptdir): New macro. + (script_DATA): Likewise. + (install-data-hook): Use them. + (EXTRA_DIST): Added script_DATA. + (installcheck-local): Use script_DATA. + + * Makefile.am (pkgdata_DATA): Removed duplicate definition. + +1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br> + + * missing (autoheader): accept multiple header files + (automake): simplify sed processing + +1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (handle_configure, stamp_dir): create only one stamp + file per header, instead of one in the top-level directory and one + in the directory that contains the header. + +1999-01-10 Tom Tromey <tromey@cygnus.com> + + * automake.in (lang_objc_finish): Formatting fix. + + * automake.in (objc_extensions): New sub. + (handle_dependencies): Only generate dependency-tracking code for + ObjC when ObjC source seen. + +----- + +Copyright 1999-2012 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, are +permitted provided the copyright notice and this notice are preserved. diff --git a/old/ChangeLog.01 b/old/ChangeLog.01 new file mode 100644 index 000000000..cb7b37a41 --- /dev/null +++ b/old/ChangeLog.01 @@ -0,0 +1,4937 @@ +2001-12-31 Tom Tromey <tromey@redhat.com> + + * automake.texi (Extending): Document installcheck-local. Added + installdirs-local index entry. + (Tests): Document installcheck-local. + + * automake.in (handle_single_transform_list): Indentation fix. + +2001-12-31 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (common_files): Add COPYING.DOC. + Suggested by Karl Berry. + +2001-12-30 Tom Tromey <tromey@redhat.com> + + * automake.in (define_configure_variable): Define a user macro, + not an automake macro. + * tests/Makefile.am (TESTS): Added ar.test. + * tests/ar.test: New file. + + For PR automake/211: + * automake.in (object_compilation_map): New global. + (initialize_per_input): Initialize it. + (COMPILE_LIBTOOL): New constant. + (COMPILE_ORDINARY): Likewise. + * tests/Makefile.am (TESTS): Added pr211.test. + * tests/pr211.test: New file. + + For PR automake/215: + * configure.in: Use AM_AUTOMAKE_OPTIONS. + * Makefile.am (AUTOMAKE_OPTIONS): Removed. + * automake.texi (Macros): Document AM_AUTOMAKE_OPTIONS. + (Options): Mention AM_AUTOMAKE_OPTIONS. + * automake.in (global_options): New global. + (global_options_line): Likewise. + (scan_autoconf_traces): Trace AM_AUTOMAKE_OPTIONS. + (scan_one_autoconf_file): Likewise. + (process_option_list): New function. + (handle_options): Use it. Also, handle global options. + * m4/Makefile.am (m4data_DATA): Added options.m4. + * m4/options.m4: New file. + + * lib/am/install.am (?SUBDIRS?installdirs-am): Handle + installdirs-local. + (?!SUBDIRS?installdirs): Likewise. + * automake.in (handle_installdirs): Handle installdirs-local. + * automake.texi (Extending): Mention installdirs. + * tests/Makefile.am (TESTS): Added installdir.test. + * tests/installdir.test: New file. + +2001-12-30 Akim Demaille <akim@epita.fr> + + * lib/am/yacc.am: Also rename the possible y.output file. + Remove the trailing y.tab.h. + +2001-12-30 Paolo Bonzini <bonzini@gnu.org> + + * automake.texi (Install): Remove mention of nonexistent + uninstall-hook. + +2001-12-30 Alan Modra <amodra@bigpond.net.au> + + * automake.in (generate_makefile): Unlink output file before + opening so that any hard links are not changed. + +2001-12-30 Tom Tromey <tromey@redhat.com> + + * tests/pr220.test: Use `required' to pick up gcc. + + For PR automake/243: + * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Strip everything + after `:'. + * tests/Makefile.am (TESTS): Added pr243.test. + * tests/pr243.test: New file. + + For PR automake/220: + * tests/Makefile.am (TESTS): Added pr220.test. + * tests/pr220.test: New file. + * m4/cond.m4 (AM_CONDITIONAL): Cause creation of config.status to + fail if conditional was never run. + + For PR automake/260: + * lib/depcomp (tru64): Correctly handle libtool case. + From doreille@smr.ch. + +2001-12-30 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/distdir.am (distcleancheck_listfiles): Unquote. + Reported by Yann Droneaud. + +2001-12-29 Tom Tromey <tromey@redhat.com> + + For PR automake/266: + * tests/Makefile.am (TESTS): Added pr266.test. + * tests/pr266.test: New file. + * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Handle + non-standard name for makefile. + + For PR automake/279: + * automake.in (conditional_ambiguous_p): New sub. + (handle_lib_objects_cond): Use it. + (check_ambiguous_conditional): Use it. + * tests/Makefile.am (TESTS): Added pr279.test, pr279-2.test. + * tests/pr279.test: New file. + * tests/pr279-2.test: New file. + +2001-12-26 Tom Tromey <tromey@redhat.com> + + For PR automake/249: + * tests/Makefile.am (TESTS): Added nodist2.test. + * tests/nodist2.test: New file + +2001-12-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * m4/multi.m4: Fix quoting in AC_OUTPUT_COMMANDS. + +2001-12-26 Alexandre Duret-Lutz <duret_g@epita.fr> + + * configure.in: Test for Autoconf >= 2.52. + * tests/defs (needs_autoconf, has_autoconf): Delete definition. + * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test, + tests/cond4.test, tests/cond9.test, tests/cond16.test, + tests/cond18.test, tests/cond19.test, tests/cond20.test, + tests/confsub.test, tests/depcomp2.test, tests/depdist.test, + tests/depend2.test, tests/dirname.test, tests/distname.test, + tests/extra5.test, tests/install2.test, tests/lex3.test, + tests/make.test, tests/nobase.test, tests/pr9.test, + tests/pr87.test, tests/stamph2.test, tests/subdir5.test, + tests/subdirbuiltsources.test, tests/subobj3.test, + tests/subobj5.test, tests/subobj6.test, tests/substref.test, + tests/target-cflags.test, tests/yacc4.test, tests/yacc7.test, + tests/yaccvpath.test: Do not use $needs_autoconf. + +2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr> + + * configure.in: Bump version to 1.5c. + +2001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr> + + * configure.in: Bump version to 1.5b. + + * lib/config.sub, lib/config.guess: New versions from FSF. + + * lib/am/lex.am, lib/am/yacc.am: Use `rm -f', not `rm'. + +2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (check_gnu_standards, check_gnits_standards): Pass + "$am_file.am" as WHERE argument to require_file. + +2001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr> + + * m4/python.m4 (AM_PATH_PYTHON): Check all known Python interpreters + in loop until we find one the satisfies the user supplied version. + Add python2 to the list of known interpreters. Don't use + changequote. Cache the calculation of PYTHON_VERSION and + PYTHON_PLATFORM. + (AM_PYTHON_CHECK_VERSION): New function, extracted from + AM_PATH_PYTHON and modernized. + * m4/runlog.m4: New file. + * m4/Makefile.am (m4data_DATA): Add it. + +2001-12-06 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/confsub.test, tests/depdist.test, tests/extra5.test, + tests/nobase.test, tests/stamph2.test, + tests/subdirbuiltsources.test: Require Autoconf. + +2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.texi (Dist): Document $(DISTCHECK_CONFIGURE_FLAGS). + * lib/am/distdir.am (distcheck): Honnor $(DISTCHECK_CONFIGURE_FLAGS). + Suggested by Merijn de Jonge. + +2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/tags.am (ID): Search $(LISP) files in $(srcdir), + like other ID dependencies. + Suggested by Christian Cornelssen. + +2001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (handle_dist): Distribute common files which + do not exist but are target of a Makefile rule. + * automake.texi (Dist): Update. + * test/builtcommon3.test: New file. + * test/Makefile.am (TESTS): Add distcommon3.test. + +2001-12-04 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (macro_define): Fix misuse of chomp introduced on + 2001-11-28. + +2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (append_comments): New. Extracted from + read_am_file. Match '\n' with a regexp, don't use substr (the + perlport man page says '\n' is not always one byte wide). + (read_am_file): Use it. Always chomp $_. + (file_contents_internal): Use append_comments. + (macro_define): Don't treat the trailing '\n' with substr, use + a regexp or chomp. + +2001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/defs: Turn on shell traces when VERBOSE=x. + +2001-11-26 Tom Tromey <tromey@redhat.com> + + * automake.texi (Assembly Support): Mention .s and .S as only + suffixes. + +2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/subdirbuiltsources.test: Set -e after sourcing defs, not + before. + +2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/lex3.test: Require GNU Make. + +2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/defs (ACLOCAL): Add -I $srcdir/../m4 before any other + directory. + +2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files + in $(srcdir), like other TAGS dependencies. + Suggested by Christian Cornelssen. + +2001-11-26 Akim Demaille <akim@epita.fr> + + * automake.in (¯o_define): Use $where when reporting an error, + not the place where the macro was first defined since (i) if this + is the first definition, then obviously it was not defined before, + and (ii) anyway, the error is with the new definition, not the + first. + +2001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/distdir.am (distcheck): Call distcleancheck. + (distcleancheck_listfiles, distcleancheck): New, extracted from + distcheck. + * automake.texi (Checking the distribution): Document + distcleancheck_listfiles and distcleancheck. + +2001-11-25 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (scan_one_autoconf_file): Parenthesize qw// in + foreach invocation, otherwise Perl5.005_03 complains about a + syntax error. Reported by Yann Droneaud. + +2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (scan_texinfo_file): Suppress FIXME about strange + map behavior. + +2001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/defs (aclocaldir): Check for existence of libtool.m4 and + gettext.m4 if required. + +2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (define_objects_from_sources, + handle_lib_objects_cond, value_to_list): Use quotemeta instead of + the equivalant substitution. + +2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (SUFFIX_RULE_PATTERN): Add '_(){}$@' to the + set of accepted characters in extensions. + (rule_define): Convert '.o' and '.obj' into '$(OBJEXT)' for + internall use. + * tests/suffix6.test: Ensure that `.o' is handled like `.$(OBJEXT)'. + +2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.texi (Suffixes): Don't require SUFFIXES, but document + its use for the "extreme" cases. + +2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (rule_define): Use $KNOWN_EXTENSIONS_PATTERN + to match suffix rules for known extensions, or call + accept_extensions on suffixe rules for unknown extensions. + (var_SUFFIXES_trigger): New function. + (macro_define): Call var_VAR_trigger when $VAR is updated. + * tests/suffix6.test, tests/suffix7.test: New files. + * tests/Makefile.am (TESTS): Add suffix6.test and suffix7.test. + +2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (KNOWN_EXTENSIONS_PATTERN, known_extensions_list): + New variables. + (handle_single_transform_list, lang_yacc_target_hook): Use + KNOWN_EXTENSIONS_PATTERN. + (accept_extension): New function. + (register_language): Call it. + +2001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr> + + At every place where an "$extension" is used, include the leading + dot in the extension, don't hardcode it when building the filename. + That will make any support for a dot-less extension easier to add. + + * automake.in (SUFFIX_RULE_PATTERN): Include extension dots in + backref groups. + ("main"): Prepend a '.' to the supported extensions of all + languages (e.g. 'c' becomes '.c'). + (handle_languages, handle_single_transform_list, + handle_lib_objects_cond, handle_headers, derive_suffix, + rule_define): Do not add a dot + before extensions, and include dots in matching groups. + * lib/am/depend2.am (.%EXT%.o, .%EXT%.obj, .%EXT%.lo): Rename as ... + (%EXT%.o, %EXT%.obj, %EXT%.lo): ... these. + * lib/am/lex.am (.%EXT%.%DERIVED-EXT%): Rename as ... + (%EXT%%DERIVED-EXT%): ... this. + * lib/am/yacc.am: Likewise. + +2001-11-12 Akim Demaille <akim@epita.fr> + + * m4/make.m4 (AM_MAKE_INCLUDE): Serial 2. + Use `"#"' and `"\""', which + Autoconf mode prefers over `'#'' and `'"''. + * m4/missing.m4 (AM_MISSING_HAS_RUN): Serial 3. + Rely on AC_MSG 2.50's quotation. + +2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (scan_texinfo_file): Typo from 2001-11-05. + +2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/distdir.am (distdir): Also look for directory in build + directory first. (See 2001-05-14.) + * tests/Makefile.am (TESTS): Add extra5.test. + * tests/extra5.test: New file. + From Dean Povey. + +2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for distcommon2.test: + * automake.in (automake_needs_to_reprocess_all_files): New + variable. + ("main"): Process all Makefiles a second time if + $automake_needs_to_reprocess_all_files is set. + (maybe_push_required_file): Return 1 or 0 whether the file is + pushed or not. + (require_file_internal): Set $automake_needs_to_reprocess_all_files + if an added file can't be pushed. + + * test/distcommon2.test: New file. + * test/Makefile.am (TESTS): Add distcommon2.test. + From Pavel Roskin. + +2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (exec_dir_p): Remove. Replace by... + (EXEC_DIR_PATTERN):... this. + (am_install_var): Adjust to use EXEC_DIR_PATTERN. + +2001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for nobase.test: + * lib/am/header-vars.am (install_sh_DATA): New. + * lib/am/data.am (install-%DIR%%PRIMARY%): Declare and use + %DIR%%PRIMARY%_INSTALL, and set it to $(install_sh_DATA) instead + of $(INSTALL_DATA) for nobase_ targets. + * lib/am/lisp.am (install-%DIR%LISP): Likewise. + * lib/am/python.am (install-%DIR%PYTHON): Likewise. + * tests/nobase.test (configure.in): Append AC_OUTPUT. + * tests/Makefile.am (XFAIL_TESTS): Remove nobase.test. + +2001-11-08 Akim Demaille <akim@epita.fr> + + * automake.texi: Remove references to stamp-h.in, which no longer + exists. + * tests/stamph2.test: Formatting change. + +2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in. + Don't use -Wno-error. + +2001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/suffix4.test ($AUTOMAKE): Don't use -Wno-error. + * tests/suffix5.test ($AUTOMAKE): Likewise. + +2001-11-07 Akim Demaille <akim@epita.fr> + + * m4/init.m4 (AM_INIT_AUTOMAKE): Don't escape quotes in + AC_MSG_ERROR. + Reported by Jim Meyering. + +2001-11-07 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/distdir.am (am__remove_distdir): Define in topdir only. + +2001-11-05 Paul Eggert <eggert@twinsun.com> + + * lib/am/distdir.am (am__remove_distdir): + New macro. Do not change permission of non-directories. + Change only user permission, as there's no point to changing group + or other permission. + (distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all, + distcheck): Use it. + +2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/python.am: Cleanup the cleaning section. + * automake.texi (Python): Remove documentation for PYCFILES + and PYOFILES. Update the first paragraphes. + +2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (FOREIGN, GNU, GNITS, AC_CANONICAL_HOST, + AC_CANONICAL_SYSTEM, MOSTLY_CLEAN, DIST_CLEAN): Define as constants. + Adjust usage everywhere. + +2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (libtool_files, libtool_sometimes, common_files, + common_sometimes, config_aux_path): Use qw to simplify definition. + (scan_texinfo_file) <clean_suffixes, predefined_index, + hidden_index>: Likewise. + (scan_autoconf_traces) <traced>: Likewise. + (scan_one_autoconf_file, check_gnu_standards, resolve_linker): + Likewise. + +2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (handle_single_transform_list): Pass $nonansi_obj to + derive_suffix. Don't use an hardcoded 'o' for object extensions. + (derive_suffix): Accept $OBJ as a second argument, don't + hardcode 'o'. + * tests/suffix5.test: New test. + * tests/Makefile.am (TESTS): Add suffix5.test. + Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>. + +2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (handle_single_transform_list): Don't call + $lang->target_hook for undefinied langages. + * tests/suffix4.test: New test. + * tests/Makefile.am (TESTS): Add suffix4.test. + Reported by Dmitry Mikhin <dmitrym@acres.com.au>. + +2001-11-05 Akim Demaille <akim@epita.fr> + + * automake.in (@common_sometimes, &handle_configure): No longer + use stamp-hin. + * lib/am/remake-hdr.am: Adjust. + * tests/confh.test: There is no stamp.hin. + +2001-11-01 Akim Demaille <akim@epita.fr> + + * lib/am/lex.am, lib/am/yacc.am: Use the output file name in + `#line' and multiple inclusion guards. + * lib/ylwrap: Remove debugging code. + (input_dir, input_rx): Move where used. + Use the output file name in `#line'. + +2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (transform): Update documentation. + +2001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr> + + * m4/gcj.m4 (AM_PROG_GCJ): Define GCJFLAGS if unset. + Reported by Olivier Louchart-Fletcher <olivier@zipworld.com.au>. + +2001-10-30 Akim Demaille <akim@epita.fr> + + * automake.in (&create): Reinstall. + +2001-10-30 Akim Demaille <akim@epita.fr> + + * automake.in (&append_exeext): Use macro_delete. + +2001-10-30 Akim Demaille <akim@epita.fr> + + * automake.in ($verbose): Remove, inherited from + Automake::General. + (&variable_delete): Rename as... + (¯o_delete): this, for consistency. + (&variable_assert): New. + (&variable_value_as_list, &variable_value_as_list_recursive_worker): + Use it. + +2001-10-29 Akim Demaille <akim@epita.fr> + + * m4/lispdir.m4 (AM_PATH_LISPDIR): Use AC_RUN_LOG to avoid + cluttering configure's stdout. + +2001-10-28 Akim Demaille <akim@epita.fr> + + * automake.in: Various formatting changes. + (create): Remove, unused. + +2001-10-28 Akim Demaille <akim@epita.fr> + + * automake.in (&append_exeext): New. + (&am_primary_prefixes): Use it. + +2001-10-28 Akim Demaille <akim@epita.fr> + + * automake.in (am_primary_prefixes): Now, in accordance with its + comment, return the list of prefixes actually used, not all the + possible prefixes for a primary. + (&handle_libraries, &handle_ltlibraries, &handle_java) + (&am_install_var): Adjust. + * Makefile.am (maintainer-check): Allow `local $_;'. + +2001-10-28 Akim Demaille <akim@epita.fr> + + * automake.in: Various formatting changes. + (&variable_defined): Second argument is optional. + +2001-10-28 Akim Demaille <akim@epita.fr> + + * automake.in (&am_primary_prefixes): Now returns a list, not a + hash. + (&handle_libraries, &handle_ltlibraries, &handle_java) + (&am_install_var): Adjust. + +2001-10-28 Akim Demaille <akim@epita.fr> + + * automake.in (@libtoolize_files, @libtoolize_sometimes): Rename + as... + (@libtool_files, @libtool_sometimes): these. + ($libtool_location): Remove, completely replaced by $seen_libtool. + (&require_file_internal): Do not run libtoolize, that's + autoreconf's job. + +2001-10-28 Akim Demaille <akim@epita.fr> + + * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test, + * tests/acouttbs.test, tests/auxdir.test, tests/colon.test, + * tests/colon2.test, tests/colon3.test, tests/colon4.test, + * tests/colon5.test, tests/colon6.test, tests/colon7.test, + * tests/conf2.test, tests/config.test, tests/depcomp.test, + * tests/depcomp2.test, tests/discover.test, tests/fpinst2.test, + * tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test, + * tests/libobj8.test, tests/output.test, tests/output2.test, + * tests/output3.test, tests/output4.test, tests/output5.test, + * tests/pr2.test, tests/remake.test, tests/remake2.test, + * tests/remake3.test, tests/scripts.test, tests/stamph.test, + * tests/subdir.test, tests/subdir2.test, tests/subdir4.test, + * tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION + assignments. + +2001-10-28 Akim Demaille <akim@epita.fr> + + * automake.in (&scan_autoconf_traces): Use eq for equality. + Anchor regexps. + Remove dead comment. + (&initialize_per_input): Don't initialize several times the same + vars. + +2001-10-28 Akim Demaille <akim@epita.fr> + + * automake.in (scan_one_autoconf_file): When using %generalize, be + sure to replace only words. AC_FUNC_OBSTACK was matching + M4_AC_FUNC_OBSTACK. + +2001-10-26 Akim Demaille <akim@epita.fr> + + * tests/stamph2.test: Strengthen. + * tests/confh2.test, tests/confh3.test: Remove. + These are bad tests: they don't check the effects, but some + internal details in Makefile. + And they are covered by stamph2.test. + +2001-10-26 Akim Demaille <akim@epita.fr> + + Now that stamp-h's are created by config.status, we don't need to + handle them in Makefile's. + + * lib/am/remake-hdr.am (%STAMP%): Just run config.status. + * m4/header.m4 (_AM_STAMP): New. + (_AM_CONFIG_HEADER): Use it. + +2001-10-26 Akim Demaille <akim@epita.fr> + + * automake.in (&generate_makefile, &handle_texinfo_helper) + (&handle_man_pages, &handle_dist, &handle_configure, &handle_all) + (&define_pretty_variable, &read_am_file, &file_contents_internal) + (&am_install_var, &push_dist_common, &unquote_m4_arg): Simplify + `join (' ', @list)' into `"@list"'. + +2001-10-26 Akim Demaille <akim@epita.fr> + + * automake.in (@config_fullnames, @config_names): Remove. + (@config_headers): Now contains the actual spec used in + AC_CONFIG_HEADERS. + (&split_config_file_spec): New. + (&handle_tags, &handle_configure, &handle_all, &scan_autoconf_traces) + (&scan_one_autoconf_file): Adjust. + (&scan_one_autoconf_file): Pff, don't think _AM_CONFIG_HEADER is + AM_CONFIG_HEADER. + +2001-10-26 Akim Demaille <akim@epita.fr> + + * m4/header.m4 (_AM_CONFIG_HEADER): New. + (AM_CONFIG_HEADER): Use it. + +2001-10-26 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_configure): Use the config.status 2.50 + invocation syntax for config files and headers. + autoheader needs the name of the file to create, not from what it + must be created, hence CONFIG_HEADER_FULL is $one_name, not + $one_fullname. + * lib/am/configure.am, lib/am/remake-hdr.am: Likewise. + * tests/confsub.test (SUBDIRS): Adjust to the new config.status + invocation. + Strengthen: Use the non-default config.hin source. + Strengthen: Make sure config.h is properly updated when config.hin + is changed. + +2001-10-26 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_configure): Seeing Automake files in + @other_input_files is a programming error, not merely something to + ignore. + Factor slightly the code. + +2001-10-26 Akim Demaille <akim@epita.fr> + + * automake.in ($canonical_location): New. + Use it. + (&require_config_file, $line_error): Remove. + +2001-10-24 Akim Demaille <akim@epita.fr> + + * automake.in: Use &verbose. + (&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use + Automake::XFile. + +2001-10-25 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON): + Have the basename step optional and use %NDIR% instead of %DIR% in + filenames in order to support 'nobase_'. + +2001-10-24 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (handle_languages, handle_single_transform_list, + lang_c_rewrite): Use require_conf_file instead of + require_config_file to require depcomp or compile from + Makefile.am. (This is a part of my patch of 2001-10-15 which got + mistakenly reverted.) + +2001-10-24 Akim Demaille <akim@epita.fr> + + * tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is + stamp-h1. + +2001-10-24 Akim Demaille <akim@epita.fr> + + Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can + appear in Makefile.in in the clean rule. + + * tests/cxxansi.test: Adjust. + +2001-10-24 Akim Demaille <akim@epita.fr> + + * automake.in (&am_print_error, &am_file_error, &am_macro_error) + (&am_target_error, &am_line_error, &am_conf_error, &am_file_warning): + Rename as... + (&print_error, &file_error, ¯o_error, &target_error, &line_error) + (&conf_error, &file_warning): these. + (&file_warning): Fix the prototype and argument handling. + (&am_line_warning): Remove, unused. + + Also, repair the misapplication of previous patches. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * automake.in ($ac_output_location): Replace with... + ($ac_config_files_location): this. + (&scan_autoconf_traces): We don't need $file and $line, $here is + enough. + (&scan_one_autoconf_file): Use `$in_ac_output' to store the macro + name (AC_OUTPUT or AC_CONFIG_FILES) for error messages. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * automake.in (&require_file_with_macro): Use &require_file. + (&read_am_file): Move the definition of $here at its proper place. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * automake.in ($libtool_line, $seen_pythondir): Replace with... + ($libtool_location, $pythondir_location): these. + (&require_conf_file_with_line, &require_conf_file_with_line): + Remove, unused. + (&require_file): Don't forget $where. + (&require_conf_file): Ahem... Fix the name. + (&require_config_file): Invoke &require_conf_file, not yourself. + (&am_line_error): Fix the default am_file_error invocation. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * automake.in ($seen_lispdir): Replace with... + ($am_lispdir_location): this. + (&require_conf_file): New. + (&require_config_file, &require_conf_file_with_line, + (&require_conf_file_with_conf_line): Use it. + (&require_conf_file_with_macro): New. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * automake.in ($config_header_line, $ac_output_line) + ($ac_gettext_line, $package_version_line): Replace with... + ($config_header_location, $ac_output_location) + ($ac_gettext_location, $package_version_location): these. + (&require_file_with_conf_line, &require_file_with_line): Remove, + no longer used. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * automake.in (&require_file_internal): Instead of $file and $line, + take $where as first argument. + Adjust all callers. + (&require_file_with_macro): New. + Use it where internal black magic was used to recover the location + of a macro definition. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * automake.in (&read_am_file): Define and use `$here'. + Avoid using am_line_error. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * automake.in (&am_target_error): New. + Use it where appropriate instead of... + (&am_line_error): this. + Using it for a target is a croak error. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * automake.in (&am_macro_error): New. + Use it where appropriate instead of... + (&am_line_error): this. + Using it for a macro is a croak error. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/. + AC_OUTPUT a Makefile. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * automake.in (%var_line): Rename as... + (%var_location): this. + Use it consistently as the location where the macro is defined, + file and line when possible, otherwise just file. + (&read_am_file): Rules have their own location tracking, don't + pollute %var_location. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * automake.in (am_line_error): Clarify. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * automake.in (&am_print_error): Set $exit_status since all your + users do. + (&am_error, &am_file_error, &am_line_error, &am_conf_error): + Don't. + (&am_conf_line_error, &am_conf_line_warning): Remove. + Adjust callers to use &am_file_error and... + (&am_file_warning): new. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * m4/regex.m4: Use AC_LIBOBJ. + Require 2.50, and use AC_LIBSOURCES freely. + * tests/asm.tests: Formatting changes. + Exercise AM_PROG_AS. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * tests/install.test: This test is an empty shell, do not run + automake. + * tests/Makefile.am (TESTS): Don't run it. + * tests/defs (ACLOCAL): When using gettext, pass in the installed + aclocaldir. + * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake + --add--missing. + * tests/obsolete2.test: Remove, merged into... + * tests/obsolete.test: here. + Both aclocal and automake should complain. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs + for symbols which cannot be Make macro names. + (scan_one_autoconf_file): `$here' is new. + Use it consistently instead of `1' to remember a token was seen. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * tests/subdircond.test: Requires gettext. + * tests/libobj.test, tests/libobj10.test, tests/libobj2.test, + * tests/libobj6.test, tests/libobj9.test, tests/libtool.test, + * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test, + * tests/nolink.test, tests/obsolete.test, tests/pr72.test, + * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test: + Produce valid configure.in, use aclocal appropriately, declare + when libtool is required. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does. + * automake.texi (Macros, Yacc and Lex): Adjust. + * automake.in ($seen_decl_yytext): Rename as... + ($seen_prog_lex): this. + (&scan_autoconf_traces): Add AC_PROG_LEX support. + (&scan_one_autoconf_file, &lang_lex_finish): Adjust. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * automake.in (&scan_autoconf_traces): Add support for + AM_PATH_LISPDIR and AM_PATH_PYTHON. + +2001-10-21 Akim Demaille <akim@epita.fr> + + * tests/defs (ACLOCAL): Point to the installed aclocaldir if + libtool is required. + * tests/lex.test: Run AC_INIT once. + * tests/ldflags.test, tests/listval.test, tests/suffix2.test: + Libtool is required. + * tests/header.test: Build a correct configure.in. + * tests/defun2.test (configure.in): Be a bit respectful with + Autoconf, close the macro invocations. + * tests/confdeps.test: Even when not using aclocal, aclocal.m4 + must be correct. + + * automake.in (scan_autoconf_traces): Add support for + AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL, + AM_CONFIG_HEADER, AM_MAINTAINER_MODE. + * tests/condincl.test (target): Better pattern, to avoid matching + the definition of `target_alias' which is now properly discovered + as an AC_SUBST by traces. + * cond4.test: Better grep pattern: After all, why shouldn't + TWO_FALSE be AC_SUBST properly. + * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust. + +2001-10-20 Kevin Ryde <user42@zip.com.au> + + * lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when + actually using ansi2knr. + + * automake.in (handle_configure): Always put a number on $stamp_name, + to match AM_CONFIG_HEADER. + +2001-10-20 Tom Tromey <tromey@redhat.com> + + * tests/Makefile.am (TESTS): Added condd.test. + (XFAIL_TESTS): Added condd.test. + * tests/condd.test: New file. + +2001-10-20 Akim Demaille <akim@epita.fr> + + * automake.in (&scan_autoconf_traces): Add support for + AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and + AC_CONFIG_AUX_DIR. + * tests/alpha.test (configure.in): Automake wants a Makefile. + +2001-10-20 Akim Demaille <akim@epita.fr> + + * automake.in (scan_autoconf_traces): Use an unlikely to be used + separator between trace arguments, in particular not `:' as it is + within AC_CONFIG_FILES's $1. + +2001-10-20 Akim Demaille <akim@epita.fr> + + * tests/alpha.test (configure.in): Create, don't append. A single + AC_INIT is enough. + +2001-10-20 Akim Demaille <akim@epita.fr> + + * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test, + * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test, + * tests/alpha.test, tests/ansi.test, tests/asm.test, + * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test, + * tests/badline.test, tests/block.test, tests/canon2.test, + * tests/check.test, tests/checkall.test, tests/clean.test, + * tests/colneq.test, tests/colneq2.test, tests/colon.test, + * tests/colon2.test, tests/colon3.test, tests/colon4.test, + * tests/colon5.test, tests/colon6.test, tests/colon7.test, + * tests/comment.test, tests/comment3.test, tests/cond.test, + * tests/cond2.test, tests/cond6.test, tests/cond7.test, + * tests/condincl.test, tests/condincl2.test, tests/condman.test, + * tests/condman2.test, tests/confdist.test, tests/confh.test, + * tests/confh2.test, tests/confh3.test, tests/confvar.test, + * tests/confvar2.test, tests/copy.test, tests/ctarget1.test, + * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test, + * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test, + * tests/else.test, tests/empty.test, tests/exdir.test, + * tests/exdir2.test, tests/extra3.test, tests/extra4.test, + * tests/flibs.test, tests/fnoc.test, tests/fo.test, + * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test, + * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test, + * tests/include.test, tests/info.test, tests/insh.test, + * tests/insh2.test, tests/install.test, tests/installsh.test, + * tests/instdata.test, tests/instdata2.test, tests/instexec.test, + * tests/insthook.test, tests/instman.test, tests/instman2.test, + * tests/java.test, tests/javaprim.test, tests/javasubst.test, + * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test, + * tests/man.test, tests/mclean.test, tests/mdate.test, + * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test, + * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test, + * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test, + * tests/outdir.test, tests/output.test, tests/output2.test, + * tests/output3.test, tests/output4.test, tests/output5.test, + * tests/package.test, tests/pluseq.test, tests/pluseq2.test, + * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test, + * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test, + * tests/primary.test, tests/proginst.test, tests/python.test, + * tests/remake.test, tests/remake2.test, tests/remake3.test, + * tests/rulepat.test, tests/scripts.test, tests/seenc.test, + * tests/sinclude.test, tests/spell.test, tests/spell3.test, + * tests/spelling.test, tests/stamph.test, tests/subdir.test, + * tests/subdir2.test, tests/subdircond.test, tests/subst.test, + * tests/symlink.test, tests/symlink2.test, tests/symlink3.test, + * tests/syntax.test, tests/tags.test, tests/tagsub.test, + * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test, + * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test, + * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test, + * tests/texinfo9.test, tests/vars.test, tests/vartar.test, + * tests/version.test, tests/version2.test, tests/version3.test, + * tests/version4.test, tests/vpath.test, tests/vtexi.test, + * tests/vtexi2.test, tests/werror.test: Run aclocal before automake. + +2001-10-20 Akim Demaille <akim@epita.fr> + + * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test, + * tests/acouttbs.test, tests/asm.test, tests/colon.test, + * tests/colon2.test, tests/colon3.test, tests/colon4.test, + * tests/colon5.test, tests/colon6.test, tests/colon7.test, + * tests/conf2.test, tests/confh.test, tests/confh2.test, + * tests/confh3.test, tests/confh4.test, tests/config.test, + * tests/confsub.test, tests/depend3.test, tests/discover.test, + * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test, + * tests/header.test, tests/ldadd.test, tests/ldflags.test, + * tests/libobj.test, tests/libobj10.test, tests/libobj2.test, + * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test, + * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test, + * tests/output.test, tests/output2.test, tests/output3.test, + * tests/output4.test, tests/output5.test, tests/package.test, + * tests/parse.test, tests/pr2.test, tests/remake.test, + * tests/remake2.test, tests/remake3.test, tests/scripts.test, + * tests/stamph.test, tests/subdir.test, tests/subdir2.test, + * tests/subdir4.test, tests/subdirbuiltsources.test, + * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test, + * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove + AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation + since AM_INIT_AUTOMAKE requires them. + +2001-10-20 Akim Demaille <akim@epita.fr> + + * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE + arguments. + Don't run AC_ARG_PROGRAM another time, it is required by + AM_INIT_AUTOMAKE. + * tests/aclocal.test: Work on the default configure.in + * tests/config.test (configure.in): Don't AC_ARG_PROGRAM. + First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER. + + Be realistic in testing: AC_INIT is required for Autoconf. + Broken so called optimized tests break trace handling. + + * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test, + * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test, + * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test, + * tests/colon.test, tests/colon2.test, tests/colon3.test, + * tests/colon4.test, tests/colon5.test, tests/colon6.test, + * tests/colon7.test, tests/cond.test, tests/cond2.test, + * tests/cond3.test, tests/cond5.test, tests/conf2.test, + * tests/confh.test, tests/confh2.test, tests/confh3.test, + * tests/confh4.test, tests/config.test, tests/confsub.test, + * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test, + * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test, + * tests/fpinstall.test, tests/header.test, tests/ldflags.test, + * tests/libobj.test, tests/libobj10.test, tests/libobj2.test, + * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test, + * tests/libobj9.test, tests/output.test, tests/output2.test, + * tests/output3.test, tests/output4.test, tests/parse.test, + * tests/pr2.test, tests/recurs.test, tests/recurs2.test, + * tests/remake.test, tests/remake2.test, tests/remake3.test, + * tests/req.test, tests/scripts.test, tests/subdir.test, + * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test, + * tests/tagsub.test, tests/texinfo8.test, tests/version.test, + * tests/version2.test: Add AC_INIT in `configure.in'. + +2001-10-20 Akim Demaille <akim@epita.fr> + + * automake.in (&scan_autoconf_traces): Add support for + AM_INIT_AUTOMAKE, AM_CONDITIONAL. + Let @args have a more natural M4 correspondence: $1 is args[1], no + args[0] etc. + (&scan_autoconf_files): Using autoconf traces is no longer a + complement of the previous ad hoc scheme: use either. + +2001-10-20 Akim Demaille <akim@epita.fr> + + * automake.in (&scan_one_autoconf_file): `%generalize' is new, and + factors dedicated $libsources assignments. + +2001-10-20 Akim Demaille <akim@epita.fr> + + * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4: + Remove, since Autoconf 2.52 has them. + * automake.in, aclocal.in, automake.texi: Adjust. + +2001-10-19 Akim Demaille <akim@epita.fr> + + * automake.in (&read_main_am_file): s/generated automatically/ + generated/. + Insert @configure_input@, since 2.50 no longer output this + automatically for Makefiles. + +2001-10-19 Kevin Ryde <user42@zip.com.au> + + * lib/am/check.am (check-TESTS): Add an "else true" to work with + Ultrix 4.5 /bin/sh when $(TESTS) is empty. + +2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test. + * tests/nobase.test: New file. Based on a bug report + from Martin Frydl <martin@idoox.com>. + +2001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (am_install_var): Don't strip nobase_ from $X, do + this with $nodir_name only. Use $nodir_name where appropriate. + +2001-10-15 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (handle_languages, handle_single_transform_list, + lang_c_rewrite): Use require_conf_file instead of + require_config_file to require depcomp or compile from Makefile.am. + (require_aux_file_with_line): New function, adapted from + require_conf_gile_with_line. + (require_conf_file_with_line, require_conf_file_with_conf_line): + Simplify using require_aux_file_with_line. + (require_config_file): Simplify using require_conf_file_with_conf_line. + (require_conf_file): New function. + +2001-10-15 Akim Demaille <akim@epita.fr> + + * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH]) + normally, what is wrong is that automake outputs a variable + definition for it, hence... + * automake.in (scan_one_autoconf_file): don't. + + * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted + from... + (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust. + Use AC_CONFIG_COMMANDS. + (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P. + +2001-10-15 Akim Demaille <akim@epita.fr> + + * m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst. + +2001-10-15 Akim Demaille <akim@epita.fr> + + * automake.in (&variable_conditions): Be deterministic and Perl + version independent: sort the result. + (&variable_output, &variable_pretty_output): Sort all the @conds, + not only when defaulted. + * tests/cond3.test: Adjust. + +2001-10-15 Akim Demaille <akim@epita.fr> + + * automake.in: Formatting changes. + +2001-10-15 Akim Demaille <akim@epita.fr> + + * aclocal.in: Use Automake::General and Automake::XFile. + Use find_configure_ac. + Output the Emacs tags for Autoconf mode selection. + +2001-10-10 Akim Demaille <akim@epita.fr> + + * lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update + from master copies. + +2001-10-09 Akim Demaille <akim@epita.fr> + + Do not use Autoconf internals. + + * tests/dirname.test: Don't use AC_PLAIN_SCRIPT. + * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not + m4_regexp and m4_patsubst, since the latter are reserved for ERE + macro in GNU M4 1.5. + +2001-10-08 Akim Demaille <akim@epita.fr> + + * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf + changed its name. + +2001-10-05 Akim Demaille <akim@epita.fr> + + * automake.in (scan_autoconf_files): Use find_configure_ac from + General. + +2001-10-02 Akim Demaille <akim@epita.fr> + + * lib/Automake/Struct.pm: Update from Autoconf. + * lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS + Autoconf. + * automake.in: Use them. + (&uniq, $me): Remove, as they are provided by Automake::General. + +2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr> + + * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4. + * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'. + * lib/am/dejagnu.am (check-DEJAGNU): Likewise. + * lib/am/distdir.am (distcheck): Likewise. + * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without + using cd so we don't have to fiddle with CDPATH. + * lib/am/header-vars.am (am__cd): Define so as to support Zsh and + DOSish path separator. + +2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/python.am (install-%DIR%PYTHON, + uninstall-%DIR%PYTHON): Strip path of source file. + (clean-python): Comment out. + +2001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (handle_python): Use require_conf_file_with_conf_line + instead of require_file_with_conf_line, so that elisp-comp and + py-compile are installed in the aux-directory. + (handle_emacs_lisp): Likewise. Define elisp_comp. + * lib/am/lisp.am (.el.elc): Use elisp_comp. + +2001-10-01 Akim Demaille <akim@epita.fr> + + * lib/am/distdir.am (distcheck): Report the trailing files. + Run `dist-gzip', not `dist', as it may leave other distribution + flavors. + +2001-09-29 Paul Eggert <eggert@twinsun.com> + + * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes + bugs when making file names with unusual characters. Quote chmod + arg "$dirmode", in case it contains white space. + + Incorporate the following change from autoconf mkinstalldirs: + + 1999-04-10 Ben Elliston <bje@cygnus.com> + + Add `-m' flag to specify the mode of a newly created + directory. Add command line usage and `-h', `--help' options. + Contributed by Jeff Garzik. + +2001-09-27 Akim Demaille <akim@epita.fr> + + * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code. + +2001-09-27 Akim Demaille <akim@epita.fr> + + * lib/am/distdir.am (dist): Rename as... + (dist-gzip): this. + (dist): Additional name for dist-all. + * automake.texi (Options, Dist): Adjust. + +2001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr> + + * aclocal.in (obsolete_macros): Update AM_EXEEXT message. + * automake.in (obsolete_macros): Likewise. + (seen_objext): Remove (unused). + (scan_one_autoconf_file): Don't handle AC_OBJEXT. + * lib/am/header-vars.am (EXEEXT, OBJEXT, + PATH_SEPARATOR): New variables. + * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT. + +2001-09-23 Tim Van Holder <tim.van.holder@pandora.be> + + * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to + neutralize CDPATH for us. + * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore. + * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build + TEXINPUTS. + +2001-09-22 Akim Demaille <akim@epita.fr> + + * configure.in, NEWS: Bump to 1.5a. + Require 2.52. + +2001-09-22 Paul Eggert <eggert@twinsun.com> + + * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000, + Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am, + lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4, + m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4, + m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4, + m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4, + m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4, + m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4, + m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4, + m4/termios.m4, m4/winsz.m4: Add copyright notice. + + * INSTALL, lib/INSTALL: Upgrade to latest autoconf version, + which has a copyright notice. + + * m4/strtod.m4: Correct the dates on the copyright notice. + +2001-09-17 Akim Demaille <akim@epita.fr> + + * lib/missing (autom4te): New. + (aclocal, autoconf, automake, autoheader, help2man): Propagate + actual failures. + +2001-08-27 Tom Tromey <tromey@redhat.com> + + * automake.texi (A Shared Library): Clarify installation + requirement. + (Install): Typo. From Adrian Bunk. + +2001-08-27 Tom Tromey <tromey@redhat.com> + + * automake.texi (Macros): Typo fix. + From Christian Cornelssen + +2001-08-27 Tom Tromey <tromey@redhat.com> + + * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test, + tests/cond4.test, tests/cond16.test, tests/cond18.test, + tests/cond19.test, tests/depcomp2.test, tests/depend2.test, + tests/lex3.test, tests/pr87.test, tests/subobj3.test, + tests/substref.test: Clear CFLAGS. + + * automake.texi (Yacc and Lex): Mention lex, not yacc. + From Alexey Mahotkin. + +2001-08-27 Tom Tromey <tromey@redhat.com> + + * tests/yacc7.test: Use test -f, not test -e. + +2001-08-27 Adrian Bunk <bunk@fs.tum.de> + + * automake.texi (etags): Typo fix. + +2001-08-27 Guido Draheim <guidod@gmx.de> + + * automake.in : restrict ansi2knr option to be a filepath + +2001-08-23 Richard Boulton <richard@tartarus.org> + + * tests/yacc7.test: Actually add this file: was accidentally omitted. + +2001-08-22 Tom Tromey <tromey@redhat.com> + + * automake.texi (Conditionals): Mention that conditionals must + always be invoked. For PR automake/220. + +2001-08-22 Richard Boulton <richard@tartarus.org> + Tom Tromey <tromey@redhat.com> + + * automake.in (lang_yacc_target_hook): Make header file depend on + .c file, not .y file. + * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the + .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule. + * tests/yacc7.test: New file. + * tests/Makefile.am (TESTS): Added yacc7.test. + +2001-08-22 Tim Van Holder <tim.van.holder@pandora.be> + + * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir. + +2001-08-18 Tom Tromey <tromey@redhat.com> + + * automake.texi (Dist): Mention dist-all. + +2001-08-18 Tom Tromey <tromey@redhat.com> + + * tests/cond3.test: Use portable sed expression. + From Richard Boulton. + +2001-08-13 Richard Boulton <richard@tartarus.org> + + * automake.in (handle_source_transform): Call + define_objects_from_sources() instead of calling + variable_value_as_list(), handle_single_transform_list() and + define_pretty_variable() directly. + (handle_single_transform_list): Add $topparent parameter, used for + error messages. Improved error message. + (define_objects_from_sources): New function. + (subobjname): New function. + (variable_conditions_recursive): New name for variable conditions. + (variable_value_as_list_recursive): New name for variable_value_as_list. + (variable_value_as_list_worker): Renamed to ... + (variable_value_as_list_recursive_worker): ... this. + (variable_conditions_sub): Renamed to ... + (variable_conditions_recursive_sub): ... this. + (variable_conditions): Rewritten: now doesn't recurse subvariables. + (variable_value_as_list): Rewritten: now doesn't recurse subvariables. + (substfroms): New global. + (substtos): New global. + (substnums): New global. + * tests/cond3.test: Update to work with new method of defining _OBJECTS. + * tests/cond4.test: Update to work with new method of defining _OBJECTS. + * tests/sourcesub2.test: New test. + * tests/Makefile.am (TEST): Added sourcesub2.test. + +2001-08-11 Tom Tromey <tromey@redhat.com> + + * configure.in: Upped to 1.4s. + +2001-08-09 Richard Boulton <richard@tartarus.org> + + * automake.in (handle_single_transform_list): Use new global, + `%linkers_used', to store the linkers used, rather than an internal + variable. Enables correct linker to be calculated across a group + of calls to &handle_single_transform_list. Return only list of + objects, since linker to be used is now externally determined. + (handle_source_transform): adapted for new calling conventions of + handle_single_transform_list. Calls resolve_linker() on a set of + all the linkers used for any prefix, rather than for each prefix in + turn. + (linkers_used): New global. + * tests/link_dist.test: New test. + * tests/Makefile.am (TESTS): Added link_dist.test. + +2001-08-08 Raja R Harinath <harinath@cs.umn.edu> + + Dissociate testsuite 'make' invocations from outer 'make'. + * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL + environment variables. + * tests/cond16.test: Use '$MAKE -s', and avoid GNU make + dependency. + * tests/substref.test: Likewise. + +2001-08-08 Richard Boulton <richard@tartarus.org> + + * tests/cond18.test: New file. + * tests/cond19.test: New file. + * tests/cond20.test: New file. + * tests/cond4.test: Updated to check the generated _OBJECTS more + thoroughly. + * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and + cond20.test + +2001-08-08 Richard Boulton <richard@tartarus.org> + + * automake.in (file_contents_internal): if a rule is conditionally + defined, define the standard automake definition for it for those + conditions which are not conditionally defined. + (invert_conditions): New function: invert a list of conditionals. + + * tests/cond14.test: New file. + * tests/cond15.test: New file. + * tests/Makefile.am (TESTS): Added cond14.test and cond15.test. + +2001-08-05 Tom Tromey <tromey@redhat.com> + + * tests/Makefile.am (TESTS): Added dejagnu2.test. + * tests/dejagnu2.test: New file. + * lib/am/dejagnu.am (site.exp): Don't conditionalize. + * automake.in (handle_scripts): Removed dead code. + (handle_tests_dejagnu): Don't handle site.exp generation + specially. + +2001-08-04 Richard Boulton <richard@tartarus.org> + + * tests/cond17.test: New file: test for being able to define an + object to be generated in different ways according to a + conditional. + * tests/Makefile.am (XFAIL_TESTS): Add cond17.test. + (TESTS): Added cond17.test. + +2001-08-02 Richard Boulton <richard@tartarus.org> + + * automake.in (variable_conditions_sub): Handle variable + substitution refs when computing conditions based on subvariable + conditions. Fixes substitution refs of system variables when sub + variable is conditional. + (SUBST_REF_PATTERN): New global. + * tests/cond16.test: New file: regression test for variable + substitution refs. + * test/Makefile.am (TESTS): Added cond16.test. + +2001-08-03 Tom Tromey <tromey@redhat.com> + + * tests/substref.test: Require GNU make; backed out previous + change. + + * tests/substref.test: Handle entering/leaving directory + messages. + +2001-08-03 Richard Boulton <richard@tartarus.org> + + * automake.in (value_to_list): Check for whether $from is defined, + rather than whether it is true, so that empty $froms are allowed in + substitution reference patterns. + + * tests/substref.test: New file: test behavior of substitution + references when the $from side of the substitution is empty. + * tests/Makefile.am (TESTS): Added substref.test. + +2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr> + + * m4/install-sh.m4: New file. + * m4/Makefile.am (m4data_DATA): Add install-sh.m4. + * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ... + * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check + for install.sh any longer, always use install-sh, don't even + fall back to missing. Use $am_aux_dir, making $install_sh absolute. + * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh + is absolute. + * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH. + +2001-08-02 Tim Van Holder <tim.van.holder@pandora.be> + + * automake.texi (EXEEXT): Clarify. + +2001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr> + + * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo. + + * m4/auxdir.m4: More comments. + +2001-07-31 Richard Boulton <richard@tartarus.org> + Raja R Harinath <harinath@cs.umn.edu> + + * automake.in (variable_conditions_sub): Remove @parent_conds + argument. This was old logic - duplicate or impossible + conditionals are removed later by &variable_conditions_reduce(). + Fixes tests/cond13.test. + (conditionals_true_when): Removed. + * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test. + +2001-07-31 Tom Tromey <tromey@redhat.com> + + * tests/Makefile.am (TESTS): Added cond13.test. + (XFAIL_TESTS): Likewise. + * tests/cond13.test: New file. + + * configure.in: Upped to version 1.4k. + + * configure.in: Released 1.4j. + + * lib/config.guess: Updated from master sources. + * lib/config.sub: Likewise. + +2001-07-30 Tom Tromey <tromey@redhat.com> + + * automake.texi (A Program): Typo. Added subsections and more + text about conditional compilation. + (A Shared Library): Moved earlier. + (Program variables): Updated LINK text. Added AM_CFLAGS. + (C++ Support): Added AM_CXXFLAGS. + (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS. + (EXEEXT): New node. + + * tests/Makefile.am (TESTS): Added aclibobj.test. + * tests/aclibobj.test: New file. + * automake.in (handle_lib_objects_cond): Avoid undefined variable + error. + (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES. + + * automake.texi (Dist): Mention other distribution types. + (Install): Updates. + +2001-07-29 Tom Tromey <tromey@redhat.com> + + * automake.texi (Program and Library Variables): Texinfo fix. + From Alexey Mahotkin. + +2001-07-28 Tom Tromey <tromey@redhat.com> + + * automake.texi (Strictness): Mention Cygnus mode. + (Cygnus): Updated. + (Uniform): Likewise. + (Canonicalization): Likewise. + (Install): Add `nobase_' to example; typo fix. + (Clean): Typo. + (Dist): Expand on putting a directory into EXTRA_DIST. Insert + section markers. + (Options): Texinfo fixes; some text updates. + (Tags): Update. + +2001-07-27 Tom Tromey <tromey@redhat.com> + + * automake.texi (Invoking Automake): Document --Werror and + --Wno-error. + +2001-07-26 Tom Tromey <tromey@redhat.com> + + * tests/nolink.test: Added no-exeext. + + * automake.in (check_variable_defined_unconditionally): Don't call + macro_dump. + + * automake.texi (Optional): Don't mention ALL_LINGUAS. + (gettext): Likewise. + * automake.in (seen_linguas, all_linguas, all_linguas_line): + Removed. + (handle_gettext): Don't do any checking of the languages. + (scan_one_autoconf_file): Don't look for ALL_LINGUAS. + + * automake.in (am_print_error): New function. + (am_error): Use it. + (am_file_error): Likewise. + (am_line_error): Likewise. + (am_conf_error): Likewise. + (am_conf_line_error): Likewise. + + * automake.texi (Options): Document no-exeext. + * automake.in (handle_options): Recognize no-exeext. + (rule_define): Handle no-exeext. + * tests/Makefile.am (TESTS): Added new file. + * tests/exeext2.test: New file. + + * automake.in (make_input_list): Removed. + (scan_autoconf_config_files): Don't add to make_input_list. + (scan_one_autoconf_file): Don't use make_input_list. + (scan_autoconf_files): Use make_list, not make_input_list. + (scan_autoconf_files): Likewise. + + * automake.in (seen_exeext): Removed. + (generate_makefile): Don't define EXEEXT or OBJEXT. + (scan_one_autoconf_file): Don't check for AC_EXEEXT. + (am_install_var): Don't check $seen_exeext. + (handle_programs): Likewise. + (rule_define): Allow x to override x$(EXEEXT), for now. + (file_contents_internal): Only define rule if rule_define allows + us to. + * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT. + +2001-07-25 Tom Tromey <tromey@redhat.com> + + From Nicolas Joly: + * tests/pr9.test: Require GNU make. + * tests/dirname.test: Don't use `-u'. + +2001-07-22 Tom Tromey <tromey@redhat.com> + + * tests/Makefile.am (TESTS): Added auxdir2.test. + (XFAIL_TESTS): Likewise. + * tests/auxdir2.test: New file. + + * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test. + * automake.in (TARGET_PATTERN): Add `@' as allowable character. + + * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test. + * automake.in (am_install_var): Add $(EXEEXT) even if program name + holds `.'. Don't add $(EXEEXT) if program name already has it. + (handle_programs): Don't add $(EXEEXT) if user already did. + (make_paragraphs): Don't compute EXEEXT. + + * tests/Makefile.am (TESTS): Added exeext.test. + (XFAIL_TESTS): Likewise. + * tests/exeext.test: New file. + +2001-07-22 Tom Tromey <tromey@redhat.com> + + * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not + `prog.exe' on Cygwin with libtool. From Robert Collins. + +2001-07-21 Tim Van Holder <tim.van.holder@pandora.be> + + * tests/dirname.test: Explicitly use $SHELL to run the + script; this avoids failures on DJGPP. + * tests/install2.test: Skip if 'chmod 000' doesn't make + a file unreadable. + +2001-07-21 Tom Tromey <tromey@redhat.com> + + * tests/libtool2.test: Check for libtoolize. + + * tests/Makefile.am (TESTS): Added substtarg.test. + (XFAIL_TESTS): Likewise. + * tests/substtarg.test: New file. + + * automake.in (handle_dist): Handle case where aux dir doesn't + have a Makefile. Fixes depdist.test. + * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test. + * tests/depdist.test: Look for config/depcomp. + + * tests/Makefile.am (TESTS): Added depdist.test. + (XFAIL_TESTS): Likewise. + * tests/depdist.test: New file. From Eric Magnien. + + * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50 + AC_PROG_CC_C_O does require AC_PROG_CC. + + From Erik Lindahl: + * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not + `foo.o.d'. + * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation + output is suitable for make. + + * automake.texi (Macros): Document AM_PROG_AS. + (Assembly Support): New node. + * m4/Makefile.am (m4data_DATA): Added as.m4. + * m4/as.m4: New file. + + * automake.texi (Tags): Added uref to global tags. + +2001-07-21 Tim Van Holder <tim.van.holder@pandora.be> + + * automake.in (handle_single_transform_list): Use $(DEPDIR) + instead of hardcoding '.deps'. + * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check. + +2001-07-20 Derek Price <dprice@collab.net> + + * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct + locations. + * tests/dirname.test: New test. + * tests/stamph2.test: New test. + * tests/Makefile.am: Add new tests. + * tests/Makefile.in: Regenerated. + +2001-07-19 Tom Tromey <tromey@redhat.com> + + * automake.texi (Tags): Document GTAGS_ARGS. + * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi. + +2001-07-19 Tom Tromey <tromey@redhat.com> + Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for ccnoco.test, subobj8.test: + * m4/Makefile.am (m4data_DATA): Added auxdir.m4. + * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test, + subobj8.test. + * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile. + Use AM_AUX_DIR_EXPAND. + * lib/compile: Handle case where `-o' argument is the name of an + executable, not an object file. + * m4/auxdir.m4: New file, from... + * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND. + * automake.in (handle_single_transform_list, lang_c_rewrite): + Require compile using `require_config_file'. + +2001-07-19 Tom Tromey <tromey@redhat.com> + + * automake.texi (Program and Library Variables): Added X example + for _LDADD. + +2001-07-19 Tom Tromey <tromey@redhat.com> + + * automake.texi (Distributing): Updated to reflect new license. + +2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (require_build_directory): New function, extracted + from ... + (handle_single_transform_list): ... here. + (require_build_directory_maybe): New function. + (handle_prograns, handle_libraries, handle_ltlibraries): Call + require_build_directory_maybe() to ensure the subdirectory + in which a target may lie will exist when the target is created. + (handle_libraries, handle_ltlibraries): Use basename before + checking library name. + * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%. + * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise. + * lib/am/program.am (%PROGRAM%): Likewise. + +2001-07-18 Tim Van Holder <tim.van.holder@pandora.be> + + * m4/missing.m4: Reword comment. + +2001-07-18 Pavel Roskin <proski@gnu.org> + + * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES. + * tests/gcj.test: Likewise. + * tests/gcj2.test: Likewise. + * tests/gcj3.test: Likewise. + +2001-07-18 Tom Tromey <tromey@redhat.com> + + * lib/compile: Change how lockdir is computed. If linking or + compiling without `-o', just run the compiler. + + * tests/Makefile.am (TESTS): Added ccnoco.test. + (XFAIL_TESTS): Likewise. + * tests/ccnoco.test: New file. + +2001-07-17 Tom Tromey <tromey@redhat.com> + + * lib/ylwrap: Added special exception. + * lib/py-compile: Added license. + * lib/mdate-sh: Added special exception. + * lib/elisp-comp: Added special exception. + * lib/compile: Added special exception. + * lib/depcomp: Added special exception. + + Report from Motoyuki Kasahara: + * tests/make.test: Use am__include. + * tests/exsource.test: Use am__include. + * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote. + * automake.in (handle_languages): Use am__include and am__quote. + + * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES. + * m4/init.m4: Updated callers. + +2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> + + * aclocal.in (parse_arguments, write_aclocal): Update Copyrights. + * aclocal.in (scan_configure, add_file): Handle the full macro + name even if it contains numbers, such as I18N. + +2001-07-16 Tom Tromey <tromey@redhat.com> + + * automake.texi (Dependencies): Link to dependency tracking page. + (Data): Mention dist_. + (Clean): Mention clean heuristics. + (Install): Mention nobase_. + + * automake.texi (Program and Library Variables): Document _LINK. + +2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (handle_libraries): Allow libraries to lie in + a subdirectory by constraining only the basename to start + with 'lib', not the whole path. + +2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/subobj8.test: New file. + * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test. + +2001-07-16 Tom Tromey <tromey@redhat.com> + + Fix for PR automake/212: + * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'. + (uninstall-%DIR%LISP): Likewise. + +2001-07-15 Tom Tromey <tromey@redhat.com> + + * automake.in (usage): Rewrote code to handle columnization. + From Alexey Mahotkin and Maxim Sinev. + + Report from Ralf Corsepius: + * automake.in (TARGET_PATTERN): Add `+' as valid character. + (SUFFIX_RULE_PATTERN): Likewise. + * tests/Makefile.am (TESTS): Added cxx.test. + * tests/cxx.test: New file. + + * lib/am/tags.am (distclean-tags): Remove files for gtags. + From Shigio Yamaguchi. + +2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca> + + * lib/am/distdir.am (distcheck): Emit diagnostic when files + remain after "make uninstall". + +2001-07-14 Tom Tromey <tromey@redhat.com> + + * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi. + + * lib/missing (makeinfo): Redirect stdout and stderr outside + subshell. From Alexandre Oliva. + +2001-07-14 Akim Demaille <akim@epita.fr> + + * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b', + `\b(foo|bar)\b' is what we want. + * aclocal.in: Likewise. + +2001-07-14 Akim Demaille <akim@epita.fr> + + * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is + not used. + Do not require the corresponding AC_PROG_CC as AC_PROG_CC is + actually modified to require AM_DEPENDENCIES. + Rename `confdir' as `conftest.dir' so that the configure trap + remove it. + +2001-07-04 Tom Tromey <tromey@redhat.com> + + Fix for nolink.test: + * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test. + * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%. + * automake.in (am_install_var): Only rewrite PROGRAMS if + $seen_exeext. + (make_paragraphs): Always define %EXEEXT%. + +2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/nolink.test: New file. + * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test. + +2001-07-04 OKUJI Yoshinori <okuji@gnu.org> + + * automake.in (scan_texinfo_file): Add the second argument to + `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index + itself may not be used directly. + +2001-07-04 Tom Tromey <tromey@redhat.com> + + * missing: Updated. + * lib/missing (makeinfo): Use subshell, not explicit sh + invocation. + + * automake.texi (Headers): Mention that we prefer uninstalled + headers in _SOURCES. + (ANSI): Mention cross-compilation limitation. + +2001-07-03 Tom Tromey <tromey@redhat.com> + + * configure.in: Upped to 1.4i. + + * configure.in: Released 1.4h. + + * lib/config.guess, lib/config.sub: Updated. + +2001-07-02 Tom Tromey <tromey@redhat.com> + + Fix for libtool2.test: + * tests/libtool2.test: Use `rm -f' to placate maintainer-check. + * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR. + * automake.in (generate_makefile): Call handle_libtool + unconditionally. + * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test. + + * tests/libtool2.test: Look for `.lo' files to be removed. + + * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test. + + * tests/Makefile.am (TESTS): Removed dup.test. + * tests/dup.test: Removed. + * aclocal.in (scan_file): Don't give error for duplicate macro. + +2001-07-01 Tom Tromey <tromey@redhat.com> + + * automake.texi (Program and Library Variables): Document + subdir-objects. Document fact that per-object flags override AM_ + flags. + (Options): Likewise. + (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS. + (Multilibs): New node. + (Macros): Documented missing macros. + (Auxiliary Programs): New node. + + * lib/missing (makeinfo): If makeinfo exists, and we're in --run + mode, then simply fail. + +2001-07-01 Tim Van Holder <tim.van.holder@pandora.be> + + * lib/ylwrap: Improve support for DOS paths (and paths + containing backslashes in general). + +2001-07-01 Tom Tromey <tromey@redhat.com> + + * lib/missing: Added special exception to license. + + * missing: Updated. + * lib/missing: Updated. Added comment explaining configure.ac + oddity. + + * lib/depcomp: Reorder arguments to gcc3. + From Per Oyvind Hvidsten. + + * tests/Makefile.am (TESTS): Added libtool2.test. + * tests/libtool2.test: New file. + + * automake.texi (Program and Library Variables): Added example for + _AR. + +2001-06-29 Tom Tromey <tromey@redhat.com> + + * tests/cond11.test: Use `=', not `=='. + * tests/cond12.test: Look for automake in build directory, not + source directory. + +2001-06-29 Richard Boulton <richard@tartarus.org> + + * automake.in (conditionals_true_when): Pass first parameters by + reference, avoiding bug which put all parameters in @CONDS instead + of @WHENS. Report by Kalle Olavi Niemitalo. + Take a single WHEN instead of an array of WHENS. + Remove FIXME; can't now have an empty @WHENS. + (conditional_is_redundant): New sub. + (variable_conditions_reduce): Check whether each condition is + implied by any of the other conditions (other those already + discarded), rather than checking only against those already + considered (and kept). Also, fix sense of check: was keeping + tautologous terms instead of discarding them. Use + conditional_is_redundant instead of conditionals_true_when. + * tests/Makefile.am (TESTS): Added cond11.test and cond12.test. + * tests/cond11.test: New file. + * tests/cond12.test: New file. + +2001-06-29 Raja R Harinath <harinath@cs.umn.edu> + + * automake.in (saw_sources_p): Work even if there are more + than one header files, and more than of one type of header. + * tests/Makefile.am (TESTS): Added new file. + * tests/depend4.test: New file. + +2001-06-28 Tom Tromey <tromey@redhat.com> + + * lib/am/libs.am (RANLIB): Don't define. + +2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (am_install_var): Assign 1 to $first on + first interation. + +2001-06-23 Tom Tromey <tromey@redhat.com> + + Fix for yacc5.test: + * lib/ylwrap: Changed usage. + * lib/am/yacc.am: Rewrote to use new substitutions. + * lib/am/lex.am: Likewise. + * automake.in (handle_languages): Skip files whose language + doesn't have a compiler. Handle `define_flag' attribute. + Changed '$' to "\$" to aid Emacs fontification. + (struct): Added `rule_file'. Removed `derived_autodep'. Added + `_target_hook' and `define_flag'. + (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile', + and `compiler' attributes. Removed `linker', `derived_autodep', + and `ansi' attributes. Added `define_flag'. + (yacc, yaccxx): Added `_target_hook'. + (saw_extension): Count number of times extension seen. + (count_files_for_language): New sub. + (saw_sources_p): Use it. + (handle_single_transform_list): Allow language rewrite function + to return a new source extension. Call target_hook. + (yacc_sources, lex_sources): Removed. + (initialize_per_input): Don't initialize yacc_sources or + lex_sources. + (lang_yacc_rewrite): Rewrote. + (lang_yaccxx_rewrite): Likewise. + (lang_lex_rewrite): Likewise. + (lang_lexxx_rewrite): Likewise. + (output_yacc_build_rule): Removed. + (output_lex_build_rule): Removed. + (lang_yacc_finish): Removed build rule generation. + (lang_lex_finish): Likewise. + (DASH_D_PATTERN): New global. + (lang_yacc_target_hook): New function. + (_target_hook): New function. + (register_language): Default `define_flag'. + * tests/yacc5.test: Updated test. + * tests/yacc4.test: Exit with status 77 if bison doesn't work. + * tests/yacc3.test: Remove bogus `make' invocation. Added test + for all YFLAGS variables. + +2001-06-20 Tom Tromey <tromey@redhat.com> + + * tests/yacc5.test: Check for per-executable YFLAGS. + +2001-06-19 Tom Tromey <tromey@redhat.com> + + * tests/Makefile.am (TESTS): Added yacc5.test. + * tests/yacc5.test: New file. + +2001-06-17 Tom Tromey <tromey@redhat.com> + + * automake.in (require_file_internal): Check for already-required + file after searching for it, and only if it is not found. Don't + use `readlink' when checking for dangling symlink. Work if + --force-missing specified. + * tests/acoutput2.test: Also test --force-missing. + + Fix for libtool.test: + * automake.in (generate_makefile): Call handle_libtool. + (handle_libtool): New sub. + (handle_compile): Don't read `libtool' file. + + * tests/acoutput2.test: New file. + * tests/Makefile.am (TESTS): Added acoutput2.test. + +2001-06-15 Tom Tromey <tromey@redhat.com> + + * tests/Makefile.am (TESTS): Added libtool.test. + * tests/libtool.test: New file. + +2001-06-14 Tom Tromey <tromey@redhat.com> + + Fix some lisp bugs reported by Bruno Haible: + * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the + echo. + (install-%DIR%LISP): Handle case where lispdir is not defined. + (uninstall-%DIR%LISP): Likewise. + (.el.elc): Added `else' clause. + + Fix for bug reported by Steve M. Robbins: + * automake.in (handle_single_transform_list): When building a file + from a subdirectory, continue to use `AM_' prefix. + * tests/Makefile.am (TESTS): Added subobj7.test. + * tests/subobj7.test: New file. + + * lib/am/configure.am ($(top_builddir)/config.status): Added + $(top_builddir) prefix to work around problems with some vendor + makes. From Nicolas Joly. + + * automake.in (yacc_lex_finish_helper): Find ylwrap in + top_srcdir. From Tim Van Holder. + * tests/Makefile.am (TESTS): Added yacc6.test. + * tests/yacc6.test: New file. + +2001-06-14 Tim Van Holder <tim.van.holder@pandora.be> + + * tests/defs, tests/installsh.test: Properly support + DOS-style paths. + +2001-06-14 Tom Tromey <tromey@redhat.com> + + * tests/Makefile.am (TESTS): Added mdate4.test. + * tests/mdate4.test: New file. + + * aclocal.in (scan_m4_files): Removed unused variable. + +2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr> + + * aclocal.in (scan_m4_files): Tweak the building of &search so + that multiple macro names can be found on the same line. Ensure + we match whole macro name, not only substrings. + +2001-06-12 Tom Tromey <tromey@redhat.com> + + * automake.texi (ANSI): Minor clarification. + (Other GNU Tools): Don't mention Guile. + (Guile): Removed. + (Java Support): Mention file extensions. + (Man pages): Mention dist_. Don't mention info pages. + +2001-06-11 Tom Tromey <tromey@redhat.com> + + * automake.texi (Program variables): Document AM_CPPFLAGS. + Deprecate INCLUDES. + (Java Support): Document AM_GCJFLAGS. + (Support for Other Languages): Removed `fixme'; added link to + suffix rule handling. + + * automake.texi (Program and Library Variables): Document _LIBADD, + _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES. + +2001-06-11 Kevin Dalley <kevind@rahul.net> + + * missing: Support configure.ac. + +2001-06-08 Tom Tromey <tromey@redhat.com> + + * tests/version4.test: New file. + * automake.in (version_check): New sub. + (handle_options): Use it. + * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed. + (TESTS): Added version4.test. + * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed. + * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'. + +2001-06-04 Kevin Dalley <kevind@rahul.net> + + * lib/am/dejagnu.am (site.exp): Fix typo. + +2001-06-02 Tom Tromey <tromey@redhat.com> + + * automake.in (variable_conditions_sub): Move parent-only code + from here... + (variable_conditions): ... to here. + (variable_conditions_sub): Include this variable's conditions in + the resulting condition list. + * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test. + +2001-06-01 Tom Tromey <tromey@redhat.com> + + * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test. + (TESTS): Likewise. + * tests/ltdeps.test: New file. Report from Lars J. Aas. + +2001-05-31 Tom Tromey <tromey@redhat.com> + + * automake.texi (Alternative): New node. + (Macros): Use new name for gcc. + (Java Support): Likewise. + (Dependencies): Rewrote. + (Invoking Automake): (Re-)document -i, --ignore-deps, and + --include-deps. + + * automake.texi (Top level): Removed erroneous spaces. Documented + MAKE and MAKEFLAGS. + +2001-05-29 Tom Tromey <tromey@redhat.com> + + * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable. + + * automake.texi (Include): Rewrote. + (Suffixes): Remove Java example. + (Java): Added more explanation. Document variables. + (Uniform): Mention JAVA as a primary. + (Python): Updated for new Python support. + (Sources): Added a weak example. + + * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS. + + * automake.texi (A Program): Mention `check' prefix. + (Program and Library Variables): New node. + (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and + AM_MAKEINFOFLAGS. + (etags): Mention per-program flags. + (Tests): Document AM_RUNTESTFLAGS; added sectioning; more + updates. + + * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and + install-info-am. + +2001-05-28 Tom Tromey <tromey@redhat.com> + + * m4/Makefile.am (MAINT_CHARSET): Removed. + * Makefile.am (MAINT_CHARSET): Removed. + * automake.in (maint_charset, dist_charset): Removed. + (local_maint_charset): Removed. + (initialize_per_input): Don't use maint_charset. + (handle_dist): Don't compute maint_charset or check DIST_CHARSET. + + * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and + AM_MAKEINFOFLAGS. + (.%SUFFIX%.dvi): Likewise. + (.%SUFFIX%): Likewise. + +2001-05-27 Tom Tromey <tromey@redhat.com> + + * automake.in (handle_multilib): Only add multilib support code at + top level. + * lib/am/multilib.am: Handle invocation of *-multi targets + differently for SUBDIRS and non-SUBDIRS Makefiles. + * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment. + Only add multilib code when the Makefile in question is actually + rebuilt. + + * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS. + +2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (handle_single_transform_list): Skip unknown + extensions. + +2001-05-25 Tom Tromey <tromey@redhat.com> + + * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS. + +2001-05-24 Tom Tromey <tromey@redhat.com> + + * automake.in (handle_texinfo_helper): Find mdate-sh in current + directory in some situations. + + * automake.in (generate_makefile): Better explanation for ansi2knr + fix. + +2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (handle_languages): Skip unknown extensions. + (derive_suffix): Check whether $extension_map{$source_ext} + is undefined, not empty. + +2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (read_am_file): Ignore trailing backslash on + comment lines. + +2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names. + +2001-05-21 Akim Demaille <akim@epita.fr> + + * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked + multiple times'' warning. + +2001-05-20 Tom Tromey <tromey@redhat.com> + + * configure.in: Updated to 1.4g. + + * configure.in: Updated to 1.4f. + + * Makefile.am (EXTRA_DIST): Added ChangeLog.2000. + + * lib/ansi2knr.c: New version. + + * Makefile.am (FETCHFILES): Added ansi2knr.c. + (fetch): Likewise. + +2001-05-19 Tom Tromey <tromey@redhat.com> + + * config.guess, config.sub: New versions from FSF. + + * Makefile.am (fetch): Compare against files in srcdir. + + For for ansi2knr report from Harlan Stenn: + * automake.in (generate_makefile): Run handle_compile before + handle_languages. + +2001-05-18 Tom Tromey <tromey@redhat.com> + + * automake.in: Reverted erroneous checkin. + +2001-05-18 Akim Demaille <akim@epita.fr> + + * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust + to missing `install-info'. + +2001-05-17 Tom Tromey <tromey@redhat.com> + + * automake.in (lang_c_finish): Use `rm -f'. + + * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails. + * tests/Makefile.am (TESTS): Added new file. + * tests/ansi5.test: New file. + +2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if + STRIP is not empty. + * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM + to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV. + * automake.texi (Requirements): Document the use of the STRIP + variable in cross-compilation environments. + +2001-05-17 Tom Tromey <tromey@redhat.com> + + * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert + to no dependency tracking. + * tests/Makefile.am (TESTS): Added depcomp2.test. + * tests/depcomp2.test: New file. From Pavel Roskin. + + * lib/depcomp (aix): Bug fix and simplification from Larry Jones. + + * lib/depcomp (tru64): New dependency tracking mode. + + Fix for PR automake/159: + * lib/depcomp (aix): Rewrote. + (sgi): Likewise. + + Fix for PR automake/174: + * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test. + * automake.in (read_am_file): Warn if `#' is at start of rule. + +2001-05-16 Tom Tromey <tromey@redhat.com> + + For PR automake/174: + * tests/Makefile.am (TESTS): Added comment3.test. + (XFAIL_TESTS): Likewise. + * tests/comment3.test: New file. + + Fix for PR automake/175: + * tests/Makefile.am (XFAIL_TESTS): Removed make.test. + * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and + `Leaving directory' messages. + + For PR automake/175: + * tests/Makefile.am (XFAIL_TESTS): Added make.test. + * tests/make.test: Run test with `make -w'. + + * tests/Makefile.am (TESTS): Removed maintclean.test. + * lib/am/clean.am (maintainer-clean-generic): Don't remove + Makefile.in. + * lib/am/configure.am (maintainer-clean-am): Removed. + (maintainer-clean-conf): Removed. + * tests/maintclean.test: Removed. + +2001-05-15 Tom Tromey <tromey@redhat.com> + + Fix for PR automake/177: + * Makefile.am (maintainer-clean): Set perllibdir before invoking + automake or aclocal. + + Fix for maintclean.test: + * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test. + * lib/am/clean.am (distclean-generic): Don't remove config.cache + or config.log. + (distclean, maintainer-clean): Moved to... + * lib/am/configure.am: ... here. + (distclean): Remove config.cache and config.log. + (maintainer-clean): Removed. + (maintainer-clean-conf): New target. + (maintainer-clean-am): New target. + + * tests/Makefile.am (TESTS): Added maintclean.test. + (XFAIL_TESTS): Likewise. + * tests/maintclean.test: New file. + + Fixes PR automake/175: + * tests/target-cflags.test: Use $needs_gnu_make. + * tests/exsource.test: Use $needs_gnu_make. + * tests/make.test: Require GNU make. + * tests/defs (needs_gnu_make): Compute. + +2001-05-14 Tom Tromey <tromey@redhat.com> + + * lib/ylwrap: Fixed quoting on regular expression. Fixes + yacc4.test. + + Fix for texinfo10.test. + * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test. + * lib/am/texinfos.am: Use LOCAL-TEXIS liberally. + * automake.in (handle_texinfo_helper): New sub. + (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS. + * tests/texinfo10.test: Added more cases. + + Fix for yaccvpath.test: + * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test. + * lib/am/distdir.am (distdir): Always look for file in build + directory first. + * lib/ylwrap: Quote the `#line' regular expression. + * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier + change; don't run sed on the generated file. + * tests/yaccvpath.test: Create new parser in srcdir. Added test + to make sure parser will be rebuilt at dist time. + +2001-05-13 Pavel Roskin <proski@gnu.org> + + * automake.in ($IGNORE_PATTERN): Allow spaces before comments + beginning with `##'. + * automake.texi (General Operation): Document it. + +2001-05-13 Tom Tromey <tromey@redhat.com> + + Reported by Rainer Orth: + * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on + TOPDIR_P. + * tests/Makefile.am (TESTS): Added distname.test. + * tests/distname.test: New file. + + * Makefile.am (dist_pkgdata_DATA): Removed. + + * tests/defs: Find files to copy in lib/. + * automake.in (perllibdir): Set to Automake directory. + * ansi2knr.c, ansi2knr.1: Removed. + * Makefile.am (dist_am_DATA): Removed. + (amdir): Removed. + (maintainer-check): Look for lib/am/*.am. Expect 28 lines of + diffs. + (scriptdir): Removed. + (dist_script_DATA): Likewise. + (install-data-hook): Likewise. + (installcheck-local): Likewise. + (TAGS_FILES): Removed amfiles. + (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1. + * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and + point it to the right directory. + * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am, + compile.am, configure.am, data.am, dejagnu.am, depend.am, + depend2.am, distdir.am, footer.am, header-vars.am, header.am, + install.am, java.am, lang-compile.am, lex.am, library.am, libs.am, + libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am, + mans.am, multilib.am, program.am, progs.am, python.am, + remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am, + texibuild.am, texinfos.am, yacc.am: Moved to lib/am/. + * configure.in (AC_OUTPUT): Added lib/am/Makefile. + (AUTOMAKE): Use --libdir, not --amdir. + Ues AC_CONFIG_AUX_DIR. + * lib/Makefile.am (SUBDIRS): Added `am'. + (scriptdir): New macro. + (dist_script_DATA): Likewise. + (dist_pkgdata_DATA): Likewise. + (install-data-hook): New target. + (installcheck-local): Likewise. + * lib/am/Makefile.in: New file. + * lib/am/Makefile.am: Removed everything except amdir and + dist_am_DATA. + +2001-05-13 Akim Demaille <akim@epita.fr> + + * automake.in ($pkgdata_dir): Rename as... + ($libdir): this. + ($am_dir): Remove, replace its uses with $libdir. + (&parse_arguments): Replace --amdir with --libdir. + * automake.texi (Invoking Automake): Document --libdir, not + --amdir. + * tests/defs (AUTOMAKE): Use --libdir, not --amdir. + +2001-05-13 Tom Tromey <tromey@redhat.com> + + * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE, + not AMDEP. + * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK. + Correctly look at AMDEP_TRUE, not AMDEP. + + Report from Robert Boehne: + * tests/Makefile.am (TESTS): Added depend2.test. + * tests/depend2.test: New file. + +2001-05-13 James Henstridge <james@daa.com.au> + + * m4/python.m4 (AM_PATH_PYTHON): Added more names for python. + Point pythondir at site-packages directory. Rename + PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to + pyexecdir. Removed package/module argument. Removed + PYTHON_SITE_INSTALL. Added version checking. + +2001-05-14 Jim Meyering <meyering@lucent.com> + + * automake.in (macro_define): Change one remaining use of + `variable_dump' to `macro_dump'. + +2001-05-13 Tom Tromey <tromey@redhat.com> + + * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc + and gcj. + +2001-05-13 Akim Demaille <akim@epita.fr> + + * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext) + (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp) + (&am_primary_prefixes): Use `map' rather than `grep'. + +2001-05-13 Akim Demaille <akim@epita.fr> + + * automake.in (Language): Set config_vars for yacc, yaccxx, lex, + lexxx, asm. + (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify. + (&lang_asm_finish): Remove, set asm's finisher to C's one. + +2001-05-13 Akim Demaille <akim@epita.fr> + + * lang-compile.am: New file, loaded once per language. + * depend2.am: Move definitions loaded once per language in the + aforementioned file. + * automake.in (&handle_languages): Load it. + (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now + handled by lang-compile.am. + +2001-05-13 Tom Tromey <tromey@redhat.com> + + * tests/Makefile.am (TESTS): Added python.test. + * tests/python.test: New file. + * automake.in (handle_languages): Use + config_aux_dir_set_in_configure_in. + (handle_python): Correctly mention AM_PATH_PYTHON. Use + py-compile, not py_comp. Define py_compile macro. + +2001-05-13 Derek Price <dprice@openavenue.com> + + * automake.in (require_file_with_conf_line, + require_file_with_line, require_file): Pass a @require_file_path + of $relative_dir instead of '.' to require_file_internal so that + all the special casing of '.' can be removed elsewhere. + (require_config_file, require_conf_file_with_line, + require_conf_file_with_conf_line): Remove special casing for '.' + and make sure $config_aux_dir is maintained properly. + (require_file_internal): Remove special casing of '.' and set + @require_file_path when missing files are added. + (maybe_push_required_file): Remove special casing of '.' + (handle_dependencies): Remove a workaround for a bug now fixed + and remove $config_aux_dir special casing. + (handle_configure): Remove special casing for $config_aux_dir + (handle_python): Ditto. + (yacc_lex_finish_helper): Change $config_aux_dir switch to + switch on the value of $config_aux_dir_set_in_configure_in. + (handle_texinfo): Ditto. + (scan_one_configure_file): Set $config_aux_dir and + $config_aux_dir_set_in_configure_in properly so special casing + on the value of $config_aux_dir can be removed elsewhere. + * tests/depcomp.test: New file. + * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the + first subdir containing a C file. + * tests/libobj2.test: Ditto. + * tests/Makefile.am (TESTS): Added 'depcomp.test'. + +2001-05-12 Tom Tromey <tromey@redhat.com> + + * tests/gcj.test: Updated for gcj dependency tracking. + * tests/gcj2.test: Likewise. + + Fixes PR automake/169. + * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc + style for OBJC. + * automake.in (java): Added autodep entry. + * tests/Makefile.am (TESTS): Added gcj3.test. + * tests/gcj3.test: New file. + +2001-05-12 Raja R Harinath <harinath@cs.umn.edu> + + * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern + stop at the first '='. + * tests/Makefile.am (TESTS): Added vars.test. + * tests/vars.test: New file. + +2001-05-12 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_single_transform_list): Simplify + computation of $object and $this_obj_ext. + * tests/lex3.test: Merge into... + * tests/lex.test: here. + * tests/pr19.test: Improve and rename as... + * tests/lex3.test: this. + +2001-05-09 Tom Tromey <tromey@redhat.com> + + * automake.in (read_am_file): Correctly compute $saw_bk. + (scan_autoconf_files): Ensure configure_dist_common is always + set. + * tests/defs (AUTOMAKE): Added --Werror. + +2001-05-09 Pavel Roskin <proski@gnu.org> + + * automake.in (define_compiler_variable): Escape $(LIBTOOL) in + double quotes. + +2001-05-09 Tom Tromey <tromey@redhat.com> + + * tests/werror.test: Use `rm -f'. + +2001-05-09 Akim Demaille <akim@epita.fr> + + * automake.in (&am_line_warning): Invoke `am_line_error', not itself. + +2001-05-09 Akim Demaille <akim@epita.fr> + + * automake.in: Remove some code left from bad patches. + (&handle_dependency): Remove, for the same reason. + +2001-05-09 Akim Demaille <akim@epita.fr> + + * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET. + (&handle_tests_dejagnu, &define_standard_variables): Don't. + (&define_standard_variables): Don't transform %top_builddir% since... + * header-vars.am: Use %TOPDIR% instead. + +2001-05-09 Akim Demaille <akim@epita.fr> + + * automake.in (@objects): Remove, unused. + Remove all the code related to it, and to former `$(OBJECTS)'. + +2001-05-08 Tom Tromey <tromey@redhat.com> + + For PR automake/29: + * ylwrap: Handle arguments to program. Remove old code that tried + to avoid absolute paths and add new code to do it in all cases. + Removed ancient logic that tried to deal with relative path. + * tests/Makefile.am (TESTS): Added yacc4.test. + * tests/yacc4.test: New file. + + Fix for PR automake/149 and werror.test: + * automake.in (require_file_internal): Use am_line_warning or + am_conf_line_warning when suppressing error. + (am_line_warning): New sub. + (am_conf_line_warning): Save and restore warning signal. + * tests/Makefile.am (XFAIL_TESTS): Removed werror.test. + + Fix for PR automake/36: + * tests/Makefile.am (TESTS): Added asm.test. + * tests/asm.test: New file. + * automake.in (asm): Use ASFLAGS and AS. + (lang_asm_finish): New sub. + + * automake.in (read_am_file): Removed debugging code. + + For PR automake/149: + * tests/Makefile.am (TESTS): Added werror.test. + (XFAIL_TESTS): Likewise. + * tests/werror.test: New file. + + * automake.in (conditional_true_when): Don't return if we see + `TRUE'. + + * tests/objc.test: Removed. + * tests/Makefile.am (XFAIL_TESTS): Removed objc.test. + (TESTS): Likewise. + + * automake.in (subst): New sub. + (handle_languages): Use it. + (output_lex_build_rule): Likewise; also use _am_quote. + (check_libobjs_sources): Likewise. + (make_paragraphs): Use subst. + + * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE + problem. + + * automake.in (file_contents_internal): Prototype now `$$%'. + (register_language): Prototype now `%'. + + Fixes test subobj6.test and PR automake/160: + * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test. + * compile.am (mostlyclean-compile): Added MOSTLYRMS. + (distclean-compile): Added DISTRMS. + * tests/subobj6.test (wish_SOURCES): Updated to reflect + `mostlyclean' use; added test for non-subdir case. + * automake.in (compile_clean_files): New global. + (MOSTLY_CLEAN, DIST_CLEAN): New constants. + (initialize_per_input): Initialize compile_clean_files. + (handle_single_transform_list): Set compile_clean_files entries. + (handle_compile): Handle compilation cleanups. + +2001-05-08 Lars J. Aas <larsa@sim.no> + + * automake.texi (Canonicalizing Automake macros): Document not + canonicalizing strudels (@) anymore. + +2001-05-08 Akim Demaille <akim@epita.fr> + + * distdir.am (dist-all): Build all the flavors using a single + distdir. + +2001-05-08 Akim Demaille <akim@epita.fr> + + * automake.in (&file_contents_internal): Apply the @cond_stack to + the rules and assignments. + Don't rely on `$.' as it's biased by &make_paragraphs. + Don't remove backslashes in variable values. + +2001-05-08 Akim Demaille <akim@epita.fr> + + * automake.in ($IGNORE_PATTERN): Improve for multi-line matches. + ($RULE_PATTERN): Use that from `&make_paragraphs'. + ($MACRO_PATTERN): Just catch the name of a macro. + ($BOGUS_MACRO_PATTERN): Remove. + ($ASSIGNMENT_PATTERN): New. + (&file_contents_internal, &make_paragraphs): Adjust. + (¯o_define): Catch bad macro names. + (&cond_stack_endif): Better error message. + (&file_contents_internal): Don't remove backslashes in variable + values. + (¯o_define): Do it for `+=' user variables. + (&define_standard_variables): Use `undef' instead of a dummy + variable. + (&make_paragraph): Be sure not to chop the trail of hash only + lines: adjust the `##' regexp. + (&rule_define): Fix a bug: don't read $1 but $target. + * tests/condincl.test: Strengthen. + +2001-05-08 Akim Demaille <akim@epita.fr> + + * automake.in (Language): Add attributes `Name' and `config_vars'. + (&finish): Work properly if there is no _finish. + (Automake): Register language Names and AC_SUBST dependencies. + Register Fortran 77 variables upon which ratfor and ppf77 depend. + (&handle_languages): Once per language, invoke + `define_linker_variables', and check its config_vars. + (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish) + (&lang_java_finish): Remove. + (&lang_ppf77_finish, &lang_ratfor_finish): Adjust. + +2001-05-08 Akim Demaille <akim@epita.fr> + + * automake.in (&file_contents_internal): Accept $IS_AM. + (&handle_compile, &define_standard_variables, &file_contents): Adjust. + +2001-05-08 Akim Demaille <akim@epita.fr> + + * automake.in (am_install_var): Use `next' instead of `if' on the + body of $X loop. + +2001-05-08 Akim Demaille <akim@epita.fr> + + * automake.in (Language): Add attributes `lder' and `ld'. + (®ister_language): Specify for cxx, objc, f77, gcj. + (&define_linker_variable): New. + (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish) + (&lang_java_finish): Adjust. + (&libtool_compiler): Remove. + +2001-05-08 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as + argument, as you don't use it. + Hence... + (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you + don't use it. + Hence... + (&handle_programs): Don't mess with %lex_sources, as you don't use + it. + +2001-05-08 Akim Demaille <akim@epita.fr> + + * automake.in (Language): Add attribute `link'. + (®ister_language): Specify for cxx, objc, f77, gcj. + (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish) + (&lang_java_finish): Adjust. + +2001-05-08 Akim Demaille <akim@epita.fr> + + * automake.in (&define_compiler_variables): Use only $LANG as + argument. + (&handle_languages): Adjust. + +2001-05-08 Akim Demaille <akim@epita.fr> + + * automake.in (&define_program_variable): Remove. + (&scan_one_autoconf_file): Skip MAKEINFO when found in an + AM_MISSING_PROG. + (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI. + * texinfos.am: Do it. + +2001-05-08 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_tests_dejagnu): Don't define EXPECT and + RUNTEST. + * dejagnu.am: Do it. + (site.exp): Use `if'. + +2001-05-08 Akim Demaille <akim@epita.fr> + + * automake.in: Formatting changes. + (variable_dump, variables_dump): Rename as... + (macro_dump, macros_dump): these. + +2001-05-08 Akim Demaille <akim@epita.fr> + + Support `if !COND', `else COND', `end COND'. + + * automake.texi (Conditionals): Document it. + * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN) + ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'. + ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept + a leading `!' before the condition. + (&handle_options): Use `\d'. + (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New. + (&read_am_file, &file_contents_internal): Use them. + (&transform): No longer substitute `%!COND%', forcing the use of + `! %?COND%'. + * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust. + +2001-05-08 Akim Demaille <akim@epita.fr> + + Uniform handling of per-object compilation rules. + Note: Automake is repaired. + + * automake.in (&handle_languages): Output per object rules for all + the objects, not only for those which language supports dependency + tracking. + Fix Automake: when outputting per-object rules, use `-o' if the + language has no `output_flag', as it's really needed. + (&handle_single_transform_list): Instead of special casing files + which need per object rules but which language don't support + dependency tracking, keep them in the queue for processing by + `&handle_languages'. + +2001-05-08 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_languages): `ext-compile.am' and + `depend2.am' are now equivalent for generic rules: output only the + latter. + * ext-compile.am: Remove. + +2001-05-08 Akim Demaille <akim@epita.fr> + + Note: This patch breaks Automake. Repaired within two patches. + + * automake.in (Language): Replace the attribute `output_arg' with + `compile_flag' and `output_flag'. + (Automake): Adjust language registrations. + (&handle_languages): Transform `-c' and `-o' for both suffix and + per object rules, instead of `OUTARG' and `LTOUTARG' only for + generic rules. + (&handle_single_transform_list): Adjust to `compile_flag' and + `output_flag'. + * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'. + +2001-05-08 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_languages): Don't transform %COMPILER%. + Use `$lang->compiler' instead of `$pfx' to transform generic + %COMPILE% and %LTCOMPILE%. + * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead + of %COMPILER% and $<. + +2001-05-07 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_languages): Use the same `%transform' for + both `depend2.am' and `ext-compile.am'. + Delay the definition of `$flag' so it is right before the first use, + and rename as `$flags'. + +2001-05-07 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_languages): Compute `$ltoutarg' and + `$outarg' independently of dependency code. + There is no use looping on a language's possible extensions since + we loop over used extensions. + Therefore, there is no use for a local `%transform'. + +2001-05-07 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_languages): Don't use $comp. + +2001-05-07 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_languages): Merge the two loops over + %extension_seen/%languages into one and group code to be run once + per language together. + +2001-05-07 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_languages): Move the `if + ($use_dependencies)' block so that loops over extensions and + languages are next to each other. + +2001-05-07 Akim Demaille <akim@epita.fr> + + * automake.in (&depend2): Remove, merged into... + (&handle_languages): here. + +2001-05-07 Akim Demaille <akim@epita.fr> + + * automake.in (&finish_languages): Rename as... + (&handle_languages): this. + Include the body of... + (&handle_dependency): this. + Remove. + +2001-05-06 Tom Tromey <tromey@redhat.com> + + For PR automake/46: + * tests/Makefile.am (TESTS): Add subdir5.test. + (XFAIL_TESTS): Likewise. + * tests/subdir5.test: New file. + + * tests/subobj6.test (wish_SOURCES): Use $MAKE. + * tests/subobj5.test (wish_SOURCES): Use $MAKE. + + * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork + identifier'. + (handle_options): Handle fork identifier in version number. + + * automake.texi (Dist): Document distcheck-hook. + + * tests/confh4.test: Update to reflect DEFS change. + For PR automake/132. + + Fix for PR automake/132: + * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to + compilation. + (java): Remove INCLUDES and DEFS from compilation. + (lang_c_finish): Add DEFAULT_INCLUDES to compilation. + * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%. + (DEFAULT_INCLUDES): New macro. + + * automake.in (usage): Re-align explanatory text. + Fixes PR automake/148. + + * automake.texi (Uniform): Don't use @PROGRAMS@. + Fixes PR automake/154. + + For PR automake/160: + * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test. + (XFAIL_TESTS): Add subobj6.test. + * tests/subobj6.test: New file. + + * automake.texi (Uniform): Mention dist_, nodist_, and nobase_. + (Top level): Don't mention `flat'. + (Extending): Likewise. + (User Variables): New node. + + * distdir.am (distdir): Make subdirectory for each file. + Fixes test subobj5.test. + + * tests/Makefile.am (TESTS): Add new file. + (XFAIL_TESTS): Likewise. + * tests/texinfo10.test: New file. + +2001-05-05 Pavel Roskin <proski@gnu.org> + + * automake.in (scan_texinfo_file): Treat @defindex and @synindex + in the same way as @defcodeindex and @syncodeindex respectively. + +2001-05-05 Tom Tromey <tromey@redhat.com> + + * mans.am (install-man%SECTION%): Minor cleanup. + (uninstall-man%SECTION%): Likewise. + + * tests/Makefile.am (XFAIL_TESTS): Removed man.test. + * mans.am (install-man%SECTION%): Handle dist_ and nodist_ + prefixes. + (uninstall-man%SECTION%): Likewise. + * automake.in (handle_man_pages): Handle dist_ and nodist_ + prefixes. + + * automake.texi (Future): Removed. + (Depth): Removed. + (Hello): Don't mention `deep'. + (Top level): Likewise. + + * automake.in (conditional_true_when): Use a hash, not index(). + Also, a TRUE component always results in a true return. + Fixes test cond10.test. For PR automake/164. + * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test. + +2001-05-05 Raja R Harinath <harinath@cs.umn.edu> + + For PR automake/164: + * tests/Makefile.am (TESTS): Added new file. + (XFAIL_TESTS): Likewise. + * tests/cond10.test: New file. + +2001-05-05 Tom Tromey <tromey@redhat.com> + + * texinfos.am (uninstall-info-am): Debian install-info v1.8.3 + prints to stderr. + (install-info-am): Likewise. + +2001-05-05 Pavel Roskin <proski@gnu.org> + + * automake.in (scan_texinfo_file): Don't push undefined values + to @clean_suffixes. + +2001-05-05 Richard Boulton <richard@tartarus.org> + + * automake.in (handle_dist): Check for existence of DIST_SUBDIRS + first. + +2001-05-05 Robert Collins <robert.collins@itdomain.com.au> + + * automake.in (required_targets): Added uninstall-am. + +2001-05-05 Tom Tromey <tromey@redhat.com> + + Fix bug reported by Robert Boehne: + * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be + substituted. + (handle_dependencies): Likewise. + * Makefile.am (maintainer-check): Look for AMDEP_TRUE + substitution. Correct diff now has 30 lines. Look for space + after losing `undef'. + +2001-05-04 Peter Eisentraut <peter_e@gmx.net> + + * m4/sanity.m4: Remove the temp file before possible error exits. + +2001-05-04 Akim Demaille <akim@epita.fr> + + * configure.in: Set perllibdir. + From Dave Morrison. + +2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * automake.in ($pkgdata_dir): New. + (&require_file_internal): Use it. + +2001-05-03 Akim Demaille <akim@epita.fr> + + Case insensitive FS choke on Automake/ vs automake. + Reported by Tim Van Holder. + + * Automake/: Move into... + * lib/: this new directory. + +2001-05-03 Raja R Harinath <harinath@cs.umn.edu> + + * data.am (install-%DIR%%PRIMARY%): Execute the same command as + echoed. + +2001-04-30 Jim Meyering <meyering@lucent.com> + + * automake.in: Remove `/lib' from include directory. + +2001-04-27 Akim Demaille <akim@epita.fr> + + AM_INIT_AUTOMAKE is no longer optional. + + * automake.in ($seen_make_set, $seen_prog_install) + ($seen_arg_prog): Remove. + (&handle_programs, &handle_scripts, &scan_one_autoconf_file): + Remove related code. + +2001-04-27 Akim Demaille <akim@epita.fr> + + * tests/specflags4.test, tests/specflags5.test: Remove, merged + into... + * tests/specflags3.test: here. + +2001-04-27 Akim Demaille <akim@epita.fr> + + * automake.in ($seen_path_xtra): Remove. + (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables. + (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra. + +2001-04-27 Akim Demaille <akim@epita.fr> + + * automake.in (&file_contents_internal): Declare it. + +2001-04-27 Akim Demaille <akim@epita.fr> + + * automake.in (&read_am_file, &file_contents_internal): Don't + define macros when `FALSE', to avoid errors on doubly defined + variables but under condition `FALSE'. In order to allow... + (&am_install_var): When reading the associated file for the first + time, enable `%?FIRST%'. + (&handle_libraries): Let libs.am define $(AR) and $(RANLIB). + * libs.am: Do it when `%?FIRST%'. + +2001-04-27 Akim Demaille <akim@epita.fr> + + * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR). + * ansi2knr.am: Do it. + Prefer `if %?FOO%' to `if %!FOO%'. + +2001-04-27 Akim Demaille <akim@epita.fr> + + * automake.in (®ister_language, &finish_languages): Use `pure' + as a Boolean. + (®ister_language): Use %done properly with objects, not names. + (&finish_languages): Replace `$non_c' with `$needs_c'. + +2001-04-27 Akim Demaille <akim@epita.fr> + + Unify LISP, PYTHON and JAVA primaries. + + * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e., + return if there are no files, hook elisp-comp on the Autoconf + macro, rely on lisp.am to define variables. + (&handle_python, &handle_java): Likewise. + (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and + `PYTHON' must be handled here, not in `&handle_python'. + * java.am: Define needed variables and rules. + +2001-04-27 Akim Demaille <akim@epita.fr> + + * automake.in (&am_install_var): Transform `ONE_PRIMARY'. + * data.am: Use it. + * header.am: Include data.am. + +2001-04-27 Akim Demaille <akim@epita.fr> + + * automake.in (&am_install_var): Transform `PRIMARY'. + * data.am: Equip with %PRIMARY%. + +2001-04-27 Akim Demaille <akim@epita.fr> + + * automake.in (@conditional_stack): Rename as... + (@cond_stack): this. + (&file_contents_internal): Support inclusion of files. + +2001-04-27 Akim Demaille <akim@epita.fr> + + * automake.in (&lang_extensions): Remove. + (&add_depend2, &saw_sources_p): Adjust. + * depend2.am: `%EXT%' no longer includes the dot. + +2001-04-27 Akim Demaille <akim@epita.fr> + + * automake.in (&finish_languages, &handle_single_transform_list) + (&add_depend2, &handle_dependencies): No longer use the language + name in `$lang'. Rename `$lang_obj' as `$lang'. + +2001-04-27 Akim Demaille <akim@epita.fr> + + * automake.in (®ister_language): Use `new Language' with a hash. + +2001-04-27 Akim Demaille <akim@epita.fr> + + * automake.in (®ister_language): Rename `output-arg' and + `derived-autodep' as `output_arg' and `derived_autodep' to match + the Language attribute. + Set the defaults in %option instead of $lang. + +2001-04-27 Akim Demaille <akim@epita.fr> + + * Automake/: New directory. + * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct. + * automake.in (Language): Use Automake::Struct. + * tests/defs: Adjust to find Struct. + +2001-04-23 Pavel Roskin <proski@gnu.org> + + * automake.in: Add forward declaration for register_language(). + * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it + passes now. + +2001-04-20 Akim Demaille <akim@epita.fr> + + * automake.in (%required_targets): Add `uninstall'. + From Robert Collins. + +2001-04-12 Akim Demaille <akim@epita.fr> + + * automake.in (Language): Add attribute `name'. + (®ister_language): The name of the language is now given in the + hash. + No longer use `$lang' as the name of the language. + Rename `$lang_obj' as `$lang'. + +2001-04-12 Akim Demaille <akim@epita.fr> + + * automake.in (Language): Add attribute `_finish'. + (&finish): New. + (Automake): Adjust. + (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish) + (&lang_asm_finish): Remove. + +2001-04-12 Akim Demaille <akim@epita.fr> + + * automake.in (Language): Add attribute `extensions'. + (Automake): Pass a hash to `®ister_language' instead of a + list of pseudo assignments. + (®ister_language): Adjust. + (&finish_languages): Initialize `$ltoutarg'. + +2001-04-12 Akim Demaille <akim@epita.fr> + + * automake.in (Language): Add attribute `output_arg'. + (%language_map): Remove. + (®ister_language): Build only the object, and store in + %languages only. + (&finish_languages, &handle_single_transform_list): Adjust. + +2001-04-12 Akim Demaille <akim@epita.fr> + + * automake.in (Language): Add attributes `flags', `compile' and + `compiler'. + (&finish_languages, &handle_single_transform_list, &handle_dist) + (&add_depend2, ®ister_language): Use them and the `linker' and + `pure' attributes. + +2001-04-12 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_single_transform_list, &finish_languages) + (&handle_dist, &handle_dependencies): Use the language object for + autodep and derived-autodep too. + +2001-04-12 Akim Demaille <akim@epita.fr> + + * automake.in (¯o_define): Ignore Automake definition for + ($var, $cond) if there is already a user definition for ($var, $cond). + +2001-04-12 Akim Demaille <akim@epita.fr> + + * automake.in (&scan_texinfo_file): Catch @cindex and the like, + but also @deffn and so on which push data in indexes. + Reported by Derek R. Price. + +2001-04-12 Akim Demaille <akim@epita.fr> + + * automake.in (Language): New package, temporarily in this file. + Use Class::Struct. + (Automake): New package. + (%languages): New. + (&handle_single_transform_list): Use the language object's `ansi' + attribute instead of `$language_map{"$lang-ansi-p"}'. + (®ister_language): Build and register the language too. + +2001-04-11 Tom Tromey <tromey@redhat.com> + + Fixes report from Larry Jones: + * automake.in (handle_dependencies): Add `@_am_quote@' where + appropriate. + * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make. + +2001-04-11 Akim Demaille <akim@epita.fr> + + * depend2.am: Fix the `if' condition for Libtool. + Reported by Robert Boehne. + +2001-04-10 Robert Collins <robert.collins@itdomain.com.au> + + * tests/subobj5.test: New file. + +2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make. + * tests/Makefile.am (TESTS): Added make.test. + * tests/make.test: New file. + +2001-04-10 Tom Tromey <tromey@redhat.com> + + * tests/defs: Changed how ACLOCAL and AUTOMAKE are set. + +2001-04-10 Derek R. Price <dprice@collab.net> + + * tests/defs: Allow user to override AUTOMAKE and ACLOCAL. + +2001-04-10 Akim Demaille <akim@epita.fr> + + * distdir.am: Add a missing backslash. + +2001-04-10 Akim Demaille <akim@epita.fr> + + * automake.in (&scan_aclocal_m4): Handle $relative_dir and special + variables. + Specify to the caller whether $regen_aclocal_m4. + (&handle_configure): Adjust. + Transform `REGEN-ACLOCAL-M4'. + Reported by Tom. + * configure.am: Use it. + * tests/defs (me): New. + * tests/confdeps.test: New. + +2001-04-09 Tom Tromey <tromey@redhat.com> + + * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'. + Fixes report from Jim Meyering. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_configure): Don't bother with optimizing + macro uses. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * tests/cond3.test (expected): Adjust. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_single_transform_list): Remove $xbase, + unused. + (&handle_source_transform): All the variables have conditions now, + simplify. + (&variable_delete): Admit an argument @conds. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in ($source_suffix_pattern): Remove, unused. + %extension_map seems to have replaced it. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * ext-compile.am: New file. + * automake.in (&finish_languages): Output it. + Require a C linker if there are several registered source suffixes. + (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo' + extensions, which are discovered in ext-compile.am. + With the help from Robert Boehne. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_compile): Extract from... + (&get_object_extension): here. + (&read_am_file): Call it. + ($included_generic_compile, $included_knr_compile) + ($included_libtool_compile): Remove. + ($get_object_extension_was_run): New. + +2001-04-09 Akim Demaille <akim@epita.fr> + + Use AM_CONDITIONAL and if/endif for AMDEP. + + * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP. + * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading + to a configure time if/endif), or to `FALSE' (static removal of + the code). + (&handle_dependencies): Adjust to use `AMDEP_TRUE'. + * depend2.am: Use if/endif. + + Adjust the 101 tests that use dependencies so that they + properly invoke aclocal before automake. They need to `see' + `AM_CONDITIONAL([AMDEP], ...)'. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * tags.am: Fix missing leading tabs. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in: Use simple quotes to define the _PATTERN variables + to unobfuscate the regexps. + ($AM_CONDITIONAL_PATTERN): Let the user quote the variable. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&rule_define): When you discover a suffix rules, + register the extensions for .SUFFIXES. + (&handle_texinfo): Don't register the suffixes. + (&get_object_extension): Don't register suffixes, let them be + discovered in depend2.am. + (&handle_emacs_lisp): Depend on your lisp.am. + * lisp.am: Include the rule &handle_emacs_lisp used to output. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * subdirs.am: Don't define info related recursive targets. + * texinfos.am: Do. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * subdirs.am (RECURSIVE_TARGETS): New variable. + Use it. + * automake.in (&handle_subdirs): Output it. + (&file_contents_internal): Support value spread on several lines. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_man_pages): Rely on mans.am to define + man%SECTION%dir and MANS. + * mans.am: Do it. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&variable_dump): Use %var_type properly. + (¯o_define): Enforce better overriding rules. + Handle the special case that used to handle... + (&define_pretty_variable): this. + Hence, don't. + The variables you define are owned by Automake. + (&generate_makefile): PRE_INSTALL and co must not be defined *by + the user*. + (&variable_defined): Now independent of the owner. + (&variable_output, &variable_pretty_output): Adjust to %var_type. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (%var_was_plus_eq): Rename as... + (%var_type): this. + (%def_type): Remove. + (¯o_define): %var_type may now hold `', `+', or `:'. + (%conditional, %am_vars, %content_lines): Rename as... + (%var_value, %var_comment, %var_line): these. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&variable_output): Admit a list of @CONDS. + (&variable_pretty_output): New. + (&define_pretty_variable): Use it. + (&read_am_file, &file_contents_internal): Prepend a separator to + $am_vars only if there is none yet. + (&file_contents_internal): Rename $separator as $spacing to + harmonize with &read_am_file. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&am_install_var): Transform DIST, and let the *.am + files handle DIST_COMMON. + * data.am, header.am, java.am, list.am, python.am, script.am: Set + DIST_COMMON. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (%dist_common): Remove. + (%configure_dist_common): Replace with... + ($configure_dist_common): this. + (&generate_makefile): Read the user file before using + push_dist_common, as it sets DIST_COMMON, and read_am_file checks + that no variable is defined before it is run. + (&handle_texinfo): Don't handle DIST_COMMON, let your file do it. + (&dist_cmp): Rename as... + (&for_dist_common): this. + (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do + it. + Adjust to $configure_dist_common. + * configure.am, texi-vers.am: Set DIST_COMMON. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_aclocal_m4): Rename as... + (&scan_aclocal_m4): this. + Return the list of aclocal.m4 dependencies. + (&handle_configure): Invoke it, and use it when loading... + * configure.am: Template the rules to recreate aclocal.m4. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&get_object_extension): Use ansi2knr.am. + * clean-kr.am, kr-extra.am: Remove, merged into... + * ansi2knr.am: this new file. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&transform): Fix an incredible bug which was + breaking the if/endif system. + ($ELSE_PATTERN): Admit an optional argument. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * comp-vars.am: Remove, merged into... + * compile.am: here. + * automake.in (&get_object_extension): Adjust. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * remake.am: Merge into... + * configure.am: ... here. + * automake.in (&handle_configure): Adjust. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&output_lex_build_rule): Output this... + * lex.am: New file. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&condition_negate): New. + (&variable_conditions_permutations): Use it. + (&read_am_file, &file_contents): Use it on `else' clauses to + support `if FALSE'. + (&output_yacc_build_rule): Output this... + * yacc.am: New file. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR. + (&handle_dist): Don't. + (&handle_clean): Don't handle config.status here, let... + * clean.am: ... do it. + * distdir.am: Adjust. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in: Use strict vars and subs. + Declare `%require_file_found'. + (&handle_source_transform, &make_paragraphs): Declare my variables. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am, + * progs.am, python.am: Use if/endif instead of ?INSTALL?. + * java.am (_am_installdirs): Be sure to set it. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&make_condition): Return '#' when FALSE. + (&conditional_string): Return FALSE, not '#' in the corresponding + cases. + (&file_contents_internal): Adjust. + (&check_variable_defined_unconditional): Dump the guilty variable. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * distdir.am: Use and abuse of if/endif. + * scripts.am: Using if/endif with variables is fine. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&make_paragraphs): Extract from &file_contents. + Make it more robust than the previous RE based scheme. + (&file_contents): Use it. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&make_paragraphs): Extract from &file_contents. + Make it more robust than the previous RE based scheme. + (&file_contents): Use it. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * tests/yacc2.test: Don't define several times a variable, as + automake complains. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_source_transform): Fix pr72: don't define + $linker if there are no @files. + +2001-04-09 Akim Demaille <akim@epita.fr> + + Avoid reading twice header-vars.am as now macro_define + complains. + + * automake.in (&define_standard_variables): Don't output the + variables. + (&read_main_am_file): Output first user variables, then Automake + variables. + Don't call twice &define_standard_variables. + Save variable comments in $am_vars. + (&variable_output): New. + (&file_contents_internal): New. + Save variable comments in $am_vars. + (&file_contents): Use it. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (¯o_define): The user is allowed to override + a value if it was set by Automake, or if it was found in AC_SUBST. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_source_transform): Better locality of the + variables. + Use `next' to skip nonexistent variables. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&variable_dump): If a variable is undefined, say + it. + (&check_ambiguous_conditional): Give finer error messages. + (¯o_define): Check that a `+=' variable is not set with `='. + Check for ambiguous definitions each time you _set_ (even with `+=') + a variable. + (&read_main_am_file): Perform a deep copy of %conditional. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&variable_defined): Some callers, e.g., + &am_primary_prefixes, really want to know if the variable is + defined for any condition, not `TRUE' by default. + (&am_primary_prefixes): Give a more precise error message. + +2001-04-09 Akim Demaille <akim@epita.fr> + + (&variable_conditions): Don't include `FALSE' in the result. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&variable_conditions_reduce): FALSE is absorbent. + (&variable_conditions): Don't include `FALSE' in the result. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * tests/defs, tests/depend3.test: Remove useless code. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_source_transform): Use + &variable_conditions, don't read $conditional{$var}. + (&variable_conditions_sub): When the call is the top level call, + generate all the permutations of the conditions. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so + that it does not get noticed twice by automake, which now + complains for multiple definitions. + * tests/vartar.test: s/INSTALL/install/g, automake now complains + because we defined INSTALL. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&generate_makefile) Use macro_define to define + SOURCES and OBJECTS. + (&variable_defined): Don't check for $conditional{VAR}{COND} as + this would make perl create $condition{VAR}, which we don't want. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&variable_defined, &define_pretty_variable): + Simplify code which used to handle the cases where not all + variables were in %conditional. + (&define_variable): Use &define_pretty_variable. + (&variable_conditions_sub, &variable_value_as_list_worker) + (&variable_value_as_list, &rule_define): Simplify syntax. + (&read_main_am_file): Dump the guilty predefined variables. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&variable_conditions_sub) + (&variable_value_as_list_worker): Remove dead code which used to + handle the cases where not all variables were in %conditional. + +2001-04-09 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_source_transform, &read_main_am_file): + Simplify loops which were split in two parts, conditional vs + unconditional variables. + +2001-04-09 Akim Demaille <akim@epita.fr> + + Handle unconditional values of variables as conditioned by + `TRUE'. + + * automake.in (%contents): Remove. + (&generate_makefile, &handle_ltlibraries, ¯o_define) + (&read_am_file, &variable_defined, &variable_conditions_sub) + (&variable_value, &variable_value_as_list_worker) + (&variable_value_as_list, &define_pretty_variable) + (&read_main_am_file): Use + $conditional, not %contents. + (&variable_conditions_permutations): Don't return TRUE and FALSE. + (&variable_conditionally_defined): New. + (&handle_dist): Use it. + (&check_ambiguous_conditional): When multiply defined, specify + under which condition. + (¯o_define): Use it. + (&variable_delete): New. + (&read_am_file): Use it. + (&am_install_var): Simplify, as all the variables are in + %conditional now. + +2001-04-07 Tom Tromey <tromey@redhat.com> + + * tests/Makefile.am (XFAIL_TESTS): Added man.test. + (TESTS): Likewise. + * tests/man.test: New file. + +2001-04-07 Raja R Harinath <harinath@cs.umn.edu> + + * depcomp (gcc3): Invert test condition. + +2001-04-07 Tom Tromey <tromey@redhat.com> + + * depcomp (gcc3, gcc): Don't assume $? will be set in `if' + statement. Report from Larry Jones. + +2001-04-07 Raja R Harinath <harinath@cs.umn.edu> + + * depcomp (sgi): Fix sed expression. Report from Robert Boehne. + +2001-04-01 Tom Tromey <tromey@redhat.com> + + * java.am (.PHONY clean-am): Removed trailing ":". + From Per Bothner. Fixes PR automake/139. + +2001-03-28 Akim Demaille <akim@epita.fr> + + * program.am: Fix a stupid typo: now *all* (not none) the programs + use `$(EXEEXT)'. + Reported by Robert Boehne. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (&read_am_file, &file_contents): Avoid name clashes + on $cond. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (&variable_conditionally_defined): Rename as... + (&check_variable_unconditionally_defined): this. + (&variable_dump): Fix the output. + (&variable_defined, ¯o_define): Since conditions are + canonicalized, don't use a loop to look for a condition: read the + hash. + (¯o_define, &rule_define, &read_am_file, &file_contents): + Rename $cond_string as $cond. + * distdir.am (PACKAGE, VERSION): Remove; since they are already + discovered via AC_SUBST, they now trigger a `defined twice' error. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_footer, &handle_installdirs) + (&read_main_am_file): Don't read %contents directly, use + &variable_value. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (&read_am_file): Define the variables in a single + shot. + Factor the $saw_bk code. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (&read_am_file): Keep $cond_string up to date. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (&define_variable): Use ¯o_define. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (¯o_define): Don't lose the location if we + redefine a variable. + Don't push all the variables in @var_list, let... + (&read_am_file, &file_contents): ... do it. + (&define_pretty_variable): Use macro_define. + (&am_install_var): Delete the value of variables being redefined + to pacify ¯o_define which checks that variables are not + doubly defined. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (&conditional_dump): Rename as... + (&variables_dump): this. Use... + (&variable_dump): this new sub. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (&file_contents): Maintain $cond_string sync with + @cond_stack. + Output rules only if not under `FALSE'. + Define variables under $cond_string. + * scripts.am: For the time being if/endif does not work properly + with macros. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (IF_PATTERN): Unobfuscate the parens. + (ENDIF_PATTERN): Allow a condition to be specified. + (&file_contents): Use a @cond_stack. + (&transform): At least for an easy transition, also transform + %?FOO% and %!FOO%, as suggested by Lars. + * scripts.am: First test bed for static if/endif use. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (&file_contents): Use rule_define. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (¯o_define): Don't rely on $1. + Initialize the variable. + Set its Automakism only if not defined or if given to the user. + When concatenating values, insert a separator only if the value + was not empty. + (&read_am_file): When dumping the @var_list, skip Automake + variables. + (&file_contents): Use macro_define. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (&rule_define): Extract from... + (&read_am_file): here. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (¯o_define, &read_am_file): More work for the + former from the latter. Reorganize the latter. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (¯o_define): Extract from... + (&read_am_file): here. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (%am_var_defs): Replace with... + (%var_is_am): this. + (&handle_installdirs, &variable_value_as_list_worker, &read_am_file) + (&file_contents, am_primary_&prefixes): Adjust. + (&variable_defined, &define_variable): The actual semantics is + `user defined'. + (&read_main_am_file): Assert the var is user defined when + outputting @var_list. + +2001-03-23 Akim Demaille <akim@epita.fr> + + * automake.in (read_am_file): TRUE and FALSE are predefined + conditionals. + (&by_condition): Adjust. + (&conditional_string): Recognize `TRUE' and `FALSE'. + (&make_condition): Use it. + * m4/cond.m4: Reject TRUE and FALSE as conditionals. + * automake.texi (Conditionals): Adjust. + * tests/cond9.test: s/FALSE/WRONG/. + +2001-03-12 Pavel Roskin <proski@gnu.org> + + * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes + now. + +2001-03-12 Akim Demaille <akim@epita.fr> + + * automake.in (&variable_conditions_permutations): Separate the + conditions. + * tests/cond3.test: Improve the sed expression. + +2001-03-09 Pavel Roskin <proski@gnu.org> + + * Makefile.am (maintainer-check): Scan all *.am files and tests + for invocations of `rm' without `-f'. + * tests/mclean.test: Adjusted to prevent triggering the above + test. + +2001-03-09 Tom Tromey <tromey@redhat.com> + + * automake.in (scan_one_autoconf_file): Fixed comment to avoid + maintainer-check failure. + +2001-03-09 Akim Demaille <akim@epita.fr> + + * tests/cond3.test: Strengthen. + +2001-03-09 Akim Demaille <akim@epita.fr> + + * automake.in (&conditional_string): Produce a unique string + characterizing a condition stack. + (&conditional_same): Remove, comparing two strings is now enough. + (&variable_defined): Adjust. + (&read_am_file): Use conditional_string. + +2001-03-08 Akim Demaille <akim@epita.fr> + + * automake.in: Use -w. + Normalize all use of `$lang . '-foo'' into `"$lang-foo"'. + (&parse_arguments): Support --Werror and --Wno-error as a + temporary hack until --warning/-W is properly implemented. + (&handle_single_transform_list): Prototype. + Be sure to define $directory. + Use `exists' instead of testing the value of a maybe undefined + hash value. + (&add_depend2, &handle_configure, &handle_footer, &file_contents) + (&handle_factored_dependencies): Use defined values. + (&scan_one_autoconf_file): Save $_. + * tests/lex2.test, tests/sinclude.test, tests/suffix3.test: + Run automake with --Wno-error. + +2001-03-07 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_all): Use an array instead of a scalar for + local_headers. + Get rid of all-redirect: let `all' be that target. + +2001-03-07 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_merge_targets): Ventilate its non `all' + related content into... + (&generate_makefile): here. + (&handle_merge_targets): Rename as... + (&handle_all): this. + Remove a useless `if': `@all' is obviously not empty, since it + contains at least the `basename ($makefile)' which has just been + unshifted. + +2001-03-07 Akim Demaille <akim@epita.fr> + + * automake.in, aclocal.in: Backquote is inert in double quotes. + +2001-03-06 Akim Demaille <akim@epita.fr> + + * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .' + into `grep -v ...'. + +2001-03-06 Pavel Roskin <proski@gnu.org> + + * java.am: Use `rm -f' instead of `rm'. + +2001-03-06 Akim Demaille <akim@epita.fr> + + * automake.in (&push_dist_common): Simplify. + +2001-03-06 Jens Krger <jens_krueger@physik.tu-muenchen.de> + + * ltlib.am: Replaced spaces with tab. + +2001-03-06 Pavel Roskin <proski@gnu.org> + + * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's + fixed now. + +2001-03-05 Pavel Roskin <proski@gnu.org> + + * header.am, scripts.am: Use ?INSTALL? in the install and + uninstall rules. + +2001-03-05 Pavel Roskin <proski@gnu.org> + + * tests/copy.test: Never use `rm' without `-f' - it may ask + questions, notably for read-only files during `make distcheck'. + * tests/insh.test: Likewise. + * tests/installsh.test: Likewise. + * tests/symlink.test: Likewise. + * tests/symlink2.test: Likewise. + * tests/symlink3.test: Likewise. + +2001-03-05 Pavel Roskin <proski@gnu.org> + + * noinstdir.test: New test. + * tests/Makefile.am (TESTS): Add noinstdir.test. + (XFAIL_TESTS): Likewise. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_options): Change the RE so that the third + part of the versions always exist. + (&file_contents): Don't pass uninitialized values to &transform. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in (&file_contents): Require a hash as second argument. + Adjust callers. + +2001-03-05 Akim Demaille <akim@epita.fr> + + Always use hashes with &file_contents. + + * automake.in (&handle_texinfo): texibuild.am does not need + TEXINFODIR. + texinfos.am wants only TEXICLEANS. + (&handle_dist, &add_depend2, &handle_clean): Replace $xform with + %transform. + * texinfos.am: Adjust. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_programs, &handle_libraries, &handle_tags) + (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust. + (&am_install_var): Forget about `-clean'. + Transform ?INSTALL?. + Always output the *.am file. + * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am, + * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am: + Remove, merged into the corresponding *.am file. + * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with + ?INSTALL?. + +2001-03-05 Pavel Roskin <proski@gnu.org> + + * Makefile.am (amfiles): Add configure.am. Sort alphabetically. + +2001-03-05 Akim Demaille <akim@epita.fr> + + If OBJEXT and EXEEXT are not set, provide a default value, and use + them unconditionally. + + * automake.in (&generate_makefile): Provide default values for + EXEEXT and OBJEXT. + (&get_object_extension, &finish_languages) + (&handle_single_transform_list, &handle_programs, &add_depend2) + (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with + them, they are defined. + * compile.am, depend2.am, program.am, progs.am: Likewise. + * remake-hdr.am: Fix a typo. + * tests/cxxo.test, tests/fo.test, tests/implicit.test, + * tests/interp.test, tests/subobj.test, tests/subobj2.test, + * tests/suffix2.test: Adjust. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in (&file_contents): Map MAINTAINER-MODE to + @MAINTAINER_MODE_TRUE@ or nothing. + * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust. + Suggested by Tom. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in (&do_one_merge_target): Remove, was only called from... + (&handle_merge_targets): here for `all'. + Adjust. + +2001-03-05 Akim Demaille <akim@epita.fr> + + Make the installation/uninstallation of Info pages follow the + regular am/recursive scheme. + + * automake.in (%required_targets, %dependencies): Add + install-info. + (%dependencies): Add install-info, install-info-am, and + unstall-info. + (&handle_subdirs): Don't transform INSTALLINFO, which mapping was + reversed BTW. Does anybody use the option `no-installinfo'? + (&handle_merge_targets): Let the handling of info related targets + to... + (&handle_factored_dependencies): this. + * subdirs.am: Use ?INSTALL-INFO?. + * texinfos.am: Define the install-info, uninstall-info and + uninstall-info-am targets. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in (%required_targets, %dependencies): Add dvi, info, + dvi-am, info-am. + (@info, @dvi): Remove. + (&handle_texinfo, &handle_merge_targets): Adjust. + (&handle_factored_dependencies): Required targets are phony. + * texinfos.am: Build info, dvi, and the corresponding -am or + -recursive targets. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in (&am_install_var): Remove $cygxform, unused. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in (&file_contents): Transform LIBTOOL. + (&am_install_var): Remove $ltxform. + * ltlib.am, progs.am: Adjust. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in: Require AC_PROG_INSTALL in... + (&scan_autoconf_files): here. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * configure.am: New file. + * automake.in (&file_contents): Transform CONFIGURE-AC. + (&handle_texinfo, &handle_configure): Don't transform + CONFIGURE_AM. + (&handle_configure): Use `configure.am'. + * remake-hdr.am, remake.am, texi-vers.am: Adjust to + MAINTAINER-MODE and CONFIGURE-AC. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in (&pretty_print_internal): Don't output useless + spaces. + (define_pretty_variable): Don't issue the space after the `=' sign + to avoid trailing spaces in Makefile.ins. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in (&generate_makefile): Invoke &initialize_per_input + *before* setting $am_file_name and $in_file_name. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in ($in_file_name, $am_file_name, $relative_dirs): + Globals, initialized... + (&initialize_per_input): here. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in ($am_relative_dir): Global. + (&initialize_per_input): Init it. + (%make_list, @make_input_list): My them from + (&scan_autoconf_files): here. + (&require_file_internal): Mying changes. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in (%am_vars, @var_list, %def_type): Globals. + (&initialize_per_input): Initialize them. + (&read_main_am_file): Don't local them. + (&get_object_extension): $objext is private. + (&handle_single_transform_list): $lang is. + (&handle_ltlibraries): $libname_rx is. + (&scan_autoconf_config_files): How about actually paying attention + to your arguments, instead of working on $_? (this is no Perl + variable, it's a Perl variable followed by a question mark). + (&file_contents): $contents and $separator are private. + (&am_install_var): Declare @condvals, not $condvals. + (%make_dirs): My. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in (&initialize_per_input): Move to the top. + Precede with the `my' list of its variables. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in ($am_file): Use vars. + ($am_file_name, $in_file_name): Private to &generate_makefile. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in: Preparation for `use strict': Move the + initialization of the constants to the top, from... + (&initialize_global_constants): here. + +2001-03-05 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_single_transform_list, &add_depend2): Let + $lang_specific_files{$lang} be a list instead of a string. + +2001-03-05 Akim Demaille <akim@epita.fr> + + Let's make it run ten times faster... + + * automake.in (&transform): Be sure to remove the `\n' with ?FOO? + transformations. + (&file_contents): Let `$command' remove the Automake commands, and + normalize the series of `\n'. + Slurp the file and apply $command in a single step. + No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which + is already normalized to be handled by &transform. + +2001-03-05 Tom Tromey <tromey@redhat.com> + + * automake.in (register_language): Add entry for `-pure'. + Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java. + (finish_languages): Use `-pure' field of language map. + +2001-03-03 Tom Tromey <tromey@redhat.com> + + * tests/yaccvpath.test: No need to remove dummy files. + * tests/subobj3.test: No need to remove dummy files. + * tests/pr9.test: No need to remove dummy files. + * tests/pr87.test: No need to remove dummy files. + * tests/pr19.test: No need to remove dummy files. + * tests/install2.test: No need to remove dummy files. + * tests/defs: Actually copy in install-sh, mkinstalldirs, missing, + and depcomp. + +2001-02-27 Pavel Roskin <proski@gnu.org> + + * tests/yaccvpath.test: Add a delay to make parse.c really out + of date. Detect the problem earlier, after `make distdir'. Drop + dependency on flex. Always use the `-y' flag for bison. Comment + changes. + * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS. + +2001-03-02 Jens Krger <jens_krueger@physik.tu-muenchen.de> + + * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo. + +2001-02-28 Akim Demaille <akim@epita.fr> + + * automake.in (&add_depend2): Transform `GENERIC'. + Get rid of the ad hoc transformation of `@EXT@.o:' which in + addition was broken by the `@ -> %' patch. + * depend2.am: Adjust to use ?GENERIC?. + +2001-02-28 Akim Demaille <akim@epita.fr> + + * Makefile.am (maintainer-check): `undef $/' is OK. + +2001-02-28 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_configure): Fortunately, $top_reldir, + the definition of which was highly suspicious, was unused. + +2001-02-27 Akim Demaille <akim@epita.fr> + + * automake.in (%exec_dir_p): Move to the top so that it is visible + to all routines. + +2001-02-27 Pavel Roskin <proski@gnu.org> + + * tests/yaccvpath.test: Prevent automake from looking into .. + and ../.. by using AC_CONFIG_AUX_DIR in configure.in. + +2001-02-27 Akim Demaille <akim@epita.fr> + + * automake.in (%exec_dir_p): Pulled out from... + (&am_primary_prefixes): here. + +2001-02-27 Akim Demaille <akim@epita.fr> + + * automake.in (&usage): Display $0, not $me. + +2001-02-27 Akim Demaille <akim@epita.fr> + + * mans.am: s/INSTALL_MAN/INSTALL-MAN/. + * automake.in (&handle_clean): Don't escape what's given to + &transform. + +2001-02-27 Akim Demaille <akim@epita.fr> + + Distinguish automake substitutions from config.status + substitutions. + + * automake.in (&add_depend2): Transform AMDEP. + (&handle_clean): Transform MCFILES and MFILES. + (&file_contents): Transform MAINTAINER_MODE. + (&transform, &am_install_var): Use `%', not `@'. + Adjust all the *.am files. + * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN. + * depend2.am: Display the double dependency on both ?AMDEP? and + @AMDEP@. + +2001-02-27 Tom Tromey <tromey@redhat.com> + + * distdir.am (distcheck): Fixed new code. + + * tests/yaccvpath.test: Fail gracefully if bison/flex not found. + Only configure once. + + * distdir.am (distcheck): Print error message if distclean failed + to fully clean. + +2001-02-27 Pavel Roskin <proski@gnu.org> + + * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/. + +2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/Makefile.am (TESTS): Added yaccvpath.test. + * tests/yaccvpath.test: New file. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.in (&am_install_var): Recognize whether predefined + directories are `data' or `exec'. + * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install + ?EXEC?. + * tests/instdata2.test: Update. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is + necessarily in infodir. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.in ($am_file): Be `local', as my'd variables used in + `foreach' loops are always private to the loop. + +2001-02-26 Pavel Roskin <proski@gnu.org> + + * Makefile.am: Add install.am. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing + routines, otherwise the elements to compare are passed in @_ + instead of $a and $b. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.in (%required_targets): `installcheck-am' is needed. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.in (&transform_cond): Merge into... + (&transform): this. + Adjust all uses. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_dist): Use &transform instead of dedicated + magic for DISTDIRS. + But be sure to always do it. + * distdir.am: Adjust. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.in: Use File::Basename. + (&dirname, &basename): Remove. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.in ($me): New. + Use it. + (&usage): Display your full name. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.texi (Invoking Automake): Remove dead options. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.in (&scan_texinfo_file): Also compute the list of files + to clean. + Handle local errors. + (&handle_texinfo): Use it. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.in: Don't pass arguments to... + (&parse_arguments): Work on @ARGV. + Use Getopt. + Add support for `-f'. + (&version): New. + (&usage): Update. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_merge_targets, &do_one_merge_target): Don't + handle installcheck and installcheck-am. + * install.am: Do it. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_merge_targets, &do_one_merge_target): Don't + handle install and install-am. + * install.am: Do it. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_merge_targets, &do_one_merge_target): Don't + work on targets handled by %dependencies. + (&handle_factored_dependencies): Do it. + * install.am: Install install-exec, install-data and uninstall's + suites. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_merge_targets): Move `install-strip' from + here... + * install.am: to here. + +2001-02-26 Akim Demaille <akim@epita.fr> + + * automake.in (@installdirs): Remove. + (&file_contents): Be able to grow Automake macros with `+='. + (&handle_texinfo, &handle_man_pages, &am_install_var): Let your + files define _am_installdirs. + (&handle_installdirs): Remove the code, just output `install.am'. + * install.am: New. + * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am, + * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs). + +2001-02-26 Akim Demaille <akim@epita.fr> + + * tests/instdata2.test (libexec_DATA): Exercise more + possibilities. + +2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr> + + * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete). + +2001-02-25 Tom Tromey <tromey@redhat.com> + + * tests/instdata2.test: Added `sbin_DATA' check. + + * tests/Makefile.am (TESTS): Added subdircond.test. + * tests/subdircond.test: New file. + * automake.in (handle_gettext): Don't fail if SUBDIRS + conditionally defined. + + * automake.in: Use IO::File. + (generate_makefile): Use IO::File. + (scan_texinfo_file): Likewise. + (handle_aclocal_m4): Likewise. + (scan_autoconf_traces): Likewise. + (scan_one_autoconf_file): Likewise. + (read_am_file): Likewise. + (file_contents): Likewise. + (create): Likewise. + +2001-02-25 Akim Demaille <akim@epita.fr> + + * automake.in (handle_texinfo): Remove code handled by texinfos.am. + +2001-02-25 Akim Demaille <akim@epita.fr> + + * automake.in (&transform): Also call &transform_cond on your + arguments. + (&handle_dist): Adjust. + (&handle_factored_dependencies): Uniq dependencies. + +2001-02-25 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_gettext): Simplify redundant `if'. + Used &variable_value, don't read %contents directly. + +2001-02-25 Akim Demaille <akim@epita.fr> + + * automake.in ($install_recursive): Remove, replaced with calls to + `&variable_defined ('SUBDIRS')'. + (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since... + (&file_contents): now does. + +2001-02-25 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_man_pages): $found is dead. + +2001-02-25 Akim Demaille <akim@epita.fr> + + Internally just store the conditionals as space separated lists of + CONDITIONS (instead of @CONDITIONS@). + + * automake.in (&conditional_true_when, &variable_conditions_sub): + Split conditions at spaces. + (&handle_dependencies, &variable_conditions_permutations): Don't + put @ around conditions. + (&variable_conditions_cmp): There are no @ to strip. + (&make_condition): New. + (&define_pretty_variable, &read_main_am_file, &read_am_file): Use + it. + (&read_main_am_file, &read_am_file): Stop playing with @ by hand. + Join @conditional_stack with spaces. + (&read_main_am_file): Adjust the output of variables. + Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE = + true' and no longer `@TEST@TRUE = @TEST@true'. + (&variable_conditions_cmp): Rename as... + (&by_condition): this. + Sort in a human pleasant order. + Use it everywhere a human can see conditions. + (&variable_conditions_reduce): Don't sort conditions, that's + pointless. + * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen. + +2001-02-25 Akim Demaille <akim@epita.fr> + + * automake.in: `my' the globals. + +2001-02-25 Akim Demaille <akim@epita.fr> + + * automake.in (&initialize_per_input): %targets_conditionals is + new. + (&read_am_file): When slurping a rule, set the target related + variable, and no variable related variable. + (&file_contents): Likewise. + * tests/vartar.test, tests/ctarget1.test: New. + +2001-02-25 Akim Demaille <akim@epita.fr> + + * automake.in (&variable_defined, &variable_value_as_list_worker): + If $VAR is effectively a variable, don't die if it's also a + target. + Plus some formatting changes. + +2001-02-25 Akim Demaille <akim@epita.fr> + + * automake.in: Mying changes. + * Makefile.am (maintainer-check): Check the stability of the + number of uses of `local'. + +2001-02-25 Akim Demaille <akim@epita.fr> + + * automake.in: Mying changes. + +2001-02-25 Akim Demaille <akim@epita.fr> + + * automake.in: Mying changes. + +2001-02-25 Akim Demaille <akim@epita.fr> + + * automake.in: Mying changes. + (&handle_tags): Fix a bug uncovered by the previous mying changes: + transform CONFIG into $config, not $xform. + +2001-02-25 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var): + Don't deal with install-data-am, install-exec-am and unstall-am. + (&initialize_per_input): Add them to %dependencies. + Remove %exec_dir_p since the *.am files are now in charge of it. + Remove @uninstall, @install_data, @install_exec. + (&handle_merge_targets): Adjust to these removals. + (&file_contents): Also &transform_cond for --no-installman and + --no-installinfo. + (&do_one_merge_target): Add some magic to install hooks on + %dependencies' targets. + (%required_targets): New. + (&handle_factored_dependencies): Output required targets. + * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am, + * mans-vars.am, mans.am, progs.am, python.am, scripts.am, + * texinfos.am: Declare your dependencies on install-data-am, + install-exec-am and uninstall-am. + * tests/instdata2.test (incldata_HEADERS): New test. + +2001-02-24 Tom Tromey <tromey@redhat.com> + + * Makefile.am (amfiles): Added texibuild.am. + * texibuild.am: New file. + * tests/Makefile.am (TESTS): Added texinfo9.test. + * tests/texinfo9.test: New file. + * automake.in (handle_texinfo): Keep track of suffixes used. Give + error if suffix unrecognized. Removed extraneous newline. + +2001-02-23 Akim Demaille <akim@epita.fr> + + * automake.in (&am_install_var): Don't hook on the clean targets + and .PHONY. + * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am, + * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am: + Do it. + +2001-02-23 Akim Demaille <akim@epita.fr> + + * automake.in: Promote local `my' over `local'. + +2001-02-23 Akim Demaille <akim@epita.fr> + + * automake.in: Formatting and mying changes. + +2001-02-23 Akim Demaille <akim@epita.fr> + + * automake.in: Formatting and mying changes. + +2001-02-23 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_man_pages): Let install-man and + uninstall-man be handled by the dependency tracker. + (&initialize_per_input): Let %dependencies track them. + * mans.am: Add the needed hooks with the proper dependencies. + +2001-02-22 Pavel Roskin <proski@gnu.org> + + * tests/target-cflags.test: Don't use subshell to configure in + subdirectory. Typo fix - run `./foo', not `/foo'. + +2001-02-22 Akim Demaille <akim@epita.fr> + + * automake.in: Formatting and mying changes. + +2001-02-21 Tom Tromey <tromey@redhat.com> + + * automake.in (handle_dist): Introduce new variable to avoid extra + keys in %dist_dirs. Fixes distdir.test. + + * automake.in (handle_texinfo): Only remove suffixes we can + handle. + + * tests/distdir.test: Check to make sure directory isn't made in + build directory. + + * automake.in (handle_dist): Do nothing in Cygnus mode. + +2001-02-21 Pavel Roskin <proski@gnu.org> + + * header-vars.am: Remove tabs before variable definitions. + +2001-02-21 Akim Demaille <akim@epita.fr> + + * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid + false diagnostics. + +2001-02-21 Akim Demaille <akim@epita.fr> + + * automake.in (&dist_cmp, &target_cmp): Be sure to return a + numeric value as required by Perl 5.6. + +2001-02-21 Akim Demaille <akim@epita.fr> + + * dist-vars.am: Remove, merge into... + * distdir.am: this. + * automake.in (dirname, basename, backname): Move to the top of + the file so that prototypes are checked, + Use them without `&'. + (&handle_dist): Adjust. + +2001-02-21 Akim Demaille <akim@epita.fr> + + * automake.in (&check_ambiguous_conditional, &read_main_am_file): + Use a uniform naming scheme. + ("e_cond_val, &unquote_cond_val): Delete, dead code. + (&read_am_file): Fix conditional definition of backslash continued + items. + +2001-02-21 Akim Demaille <akim@epita.fr> + + Change the handling of conditionals: instead of using an ad-hoc + encoding to store a hash in a string, use hashes. + + * automake.in (&conditional_dump): New. + (&check_ambiguous_conditional, &variable_defined) + (&variable_conditions_sub, &variable_value_as_list_worker) + (&define_variable, read_am_file, &read_main_am_file): Be sure to + handle `$conditional{$vars}' as a hash instead of a plain string. + +2001-02-21 Akim Demaille <akim@epita.fr> + + * automake.in (&conditional_true_when): Modernize, simplify. + Warning: `$comp' is now private (my), while it used to be + `inherited' from a `local' elsewhere in the code. AFAICT it was + wrong, but some dirty side effect might show up. + (&conditionals_true_when): New. + (&variable_conditions_sub, &variable_conditions_reduce): Use it. + +2001-02-21 Akim Demaille <akim@epita.fr> + + * automake.in ($top_builddir): Remove, used in one place. + (&define_standard_variables): Adjust. + Move the definition of triplet variables into... + * header-vars.am: here. + +2001-02-21 Akim Demaille <akim@epita.fr> + + * automake.in (&initialize_global_constants): Don't define $USAGE. + (&usage): Handle the former content of $USAGE. + Don't pretend autoconf cares about Makefile.in. + Classify the options. + (&handle_tests): Formatting and mying changes. + +2001-02-21 Akim Demaille <akim@epita.fr> + + * automake.in (&handle_tests_dejagnu): Move the definition of a + default `site.exp' into... + * dejagnu.am (site.exp): here. + Use DOS compliant file names. + +2001-02-21 Akim Demaille <akim@epita.fr> + + * automake.in (&dist_cmp): New. + (&handle_dist): Use it. + Promote `my' over `local'. + +2001-02-21 Akim Demaille <akim@epita.fr> + + * dist.am: Remove, merge into... + * distdir.am: here. Use the neat sed snippet for banners. + BTW, distcheck is phony. + * automake.in (&handle_dist_worker): Remove, merge into... + (&handle_dist): this. + (&file_contents): Strip leading new lines. + Be sure to end comments with new lines. + +2001-02-21 Akim Demaille <akim@epita.fr> + + * distdir.am (GZIP_ENV): Define. + * automake.in (&handle_dist): Don't. + (&uniq): New. + (&handle_dist_worker, &am_install_var): Use it. + +2001-02-21 Akim Demaille <akim@epita.fr> + + * distdir.am (distdir): Handle the DIST-TARGETS. + * automake.in (&handle_dist_worker): Don't. + +2001-02-21 Akim Demaille <akim@epita.fr> + + * automake.in (&file_contents): Transform the global options (such + as CYGNUS). + (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't. + +2001-02-21 Akim Demaille <akim@epita.fr> + + * distdir.am (distdir): Be sure to have permissive rights on its + contents. + (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional + targets. + And BTW, all these guys are phony. + * automake.in (&handle_dist_worker): As its name doesn't indicate, + output distributions. + (&handle_dist): As its name doesn't indicate, don't. + (&initialize_global_constants): Don't define variables which + content is now handled by distdir.am. + But register `dist-all' as a factored target. + (&handle_factored_dependencies): Don't output empty targets. + +2001-02-20 Tom Tromey <tromey@redhat.com> + + * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow + invocation. + +2001-02-18 Tom Tromey <tromey@redhat.com> + + * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP. + Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'. + (AM_PROG_STRIP): Commented out. + +2001-02-17 Raja R Harinath <harinath@cs.umn.edu> + + * depcomp (gcc3): Protect against the compiler deleting + the dependency output file. + +2001-02-17 Tom Tromey <tromey@redhat.com> + + * automake.in (handle_merge_targets): Use double quotes around + setting of INSTALL_STRIP_PROGRAM. + * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM + to absolute path at runtime. + (AM_PROG_STRIP): Don't explicitly test $STRIP. + +2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr> + + * m4/strip.m4: New file. + * m4/Makefile.am (m4data_DATA): Add strip.m4. + * m4/init.m4: Call AM_PROG_INSTALL_STRIP. + * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function. + * automake.in (handle_merge_targets): In the install-strip rule, + set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV + to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG. + * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV, + don't use INSTALL_STRIP_FLAG any longer. + +2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's + argument. + +2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (unquote_m4_arg): New function. + (scan_one_configure_file): Call unquote_m4_arg on + AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h]) + works. + +2001-02-15 Tom Tromey <tromey@redhat.com> + + * config.guess, config.sub: New versions from FSF. + + * Makefile.am (WGET): New macro. + (FETCHFILES): New macro. + (fetch): New target. + + * tests/subobj3.test: Exit with status 77 if gcc not found. + * tests/pr9.test: Exit with status 77 if gzip not found. + * tests/pr87.test: Exit with status 77 if gcc not found. + * tests/pr19.test: Exit with status 77 if gzip or gcc not found. + * tests/install2.test: Exit with status 77 if gzip not found. + * tests/exsource.test: Exit with status 77 if GNU make not found. + * tests/ansi3.test: Exit with status 77 if gcc not found. + + * tests/target-cflags.test: Require GNU make. Exit with status 77 + if gcc or make not found. Fixes PR automake/121. + + * configure.in: Require Perl 5.005. + * automake.in: Require 5.005. + + * automake.texi (Top): Conditionalize on `nottex', not `info'. + Fixes PR automake/122. + +2001-02-14 Tom Tromey <tromey@redhat.com> + + * automake.in (add_depend2): Only emit a given object rule once. + Fixes specflags6.test. + +2001-02-14 Richard Boulton <richard@tartarus.org> + + * tests/specflags6.test: New file. + +2001-02-14 Tom Tromey <tromey@redhat.com> + + * automake.texi (A Shared Library): Mention -module. + +2001-02-13 Tom Tromey <tromey@redhat.com> + + * automake.in (do_one_merge_target): Always register $name and + $name-am as phony. + + * automake.in (do_one_merge_target): Register `all' as phony + target. + + * configure.in: Updated to 1.4e for cvs. + +2001-02-12 Tom Tromey <tromey@redhat.com> + + * configure.in: Updated to 1.4d and released. + + * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_* + names through autoconf. + + Fix for subdirbuiltsources.test: + * automake.in (initialize_per_input): [all_target] Initialize to + empty string. + (handle_merge_targets): Use all-redirect target to handle built + sources. + (do_one_merge_target): Don't generate all-redirect rule. + +2001-02-11 Peter Muir <iyhi@yahoo.com> + + * tests/subdirbuiltsources.test: New file. + * tests/Makefile.am (TESTS): Added new file. + +2001-02-10 Tom Tromey <tromey@redhat.com> + + * tests/condlib.test: New file. + * tests/Makefile.am (TESTS): Added new file. + +2001-02-10 Lars J. Aas <larsa@sim.no> + + * automake.in ($MACRO_PATTERN): Include '@' in name regex. + (&canonicalize): New. Includes '@' in canonical range. + (&check_canonical_spelling, &handle_programs, &handle_libraries, + &handle_ltlibraries, &handle_texinfo): Use &canonicalize. + +2001-02-10 Raja R Harinath <harinath@cs.umn.edu> + + * automake.in (handle_configure): Revert part of + '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't + set CONFIG_COMMANDS explicitly. + +2001-02-09 Raja R Harinath <harinath@cs.umn.edu> + + * depcomp (gcc3): Propagate exit code. + +2001-02-09 Lars J. Aas <larsa@sim.no> + + * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo) + +2001-02-09 Tom Tromey <tromey@redhat.com> + + Clean up maintainer-check warnings: + * Makefile.am (maintainer-check): Ignore comment lines in CDPATH + check. + * automake.in (handle_dist_worker): Removed redundant `my $xform'. + +2001-02-09 Akim Demaille <akim@epita.fr> + + * automake.in (&file_contents): Remove a dead branch. + +2001-02-09 Akim Demaille <akim@epita.fr> + + * automake.in (&transform): Use `my', not `local'. + (&transform_cond): New. + (&get_object_extension, &handle_texinfo, &handle_tags) + (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean) + (&handle_tests_dejagnu): Use it. + * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am + * dejagnu.am, data.am, clean.am: Adjust to the new syntax. + +2001-02-09 Akim Demaille <akim@epita.fr> + + * automake.in: Various formatting changes, and modernization of + Perl constructs. + (&backname): New. + (&handle_configure, define_standard_variables): Use it. + +2001-02-08 Tom Tromey <tromey@redhat.com> + + * automake.in (file_contents): Only add $actions if any are + found. Fixes new failure in pr87.test. + +2001-02-08 Pavel Roskin <proski@gnu.org> + + * tests/pr87.test: Check foo/Makfile.in after it is created. + +2001-02-08 Tom Tromey <tromey@redhat.com> + + * tests/pr87.test: Added check for blank line after `.c.o' rule. + Report from Lars J. Aas. + +2001-02-07 Lars J. Aas <larsa@sim.no> + + * lisp.am (install-@DIR@LISP): Removed extra space. + * header.am (install-@DIR@HEADERS): Removed extra space. + * data.am (install-@DIR@DATA): Removed extra space. + +2001-02-07 Tom Tromey <tromey@redhat.com> + + * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ". + + * automake.in (handle_dependencies): Use _am_include, not + AMINCLUDE. + * tests/exsource.test: Use _am_include, not AMINCLUDE. + * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE. + + * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test. + + * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old. + + * automake.in (handle_configure): Handle case where output file is + in subdir with no Makefile of its own. Fixes remake3.test, + distcommon.test. + +2001-02-06 Pavel Roskin <proski@gnu.org> + + * automake.in (handle_dependencies): Rename AM_INCLUDE to + AMINCLUDE. + * m4/make.m4 (AM_MAKE_INCLUDE): Likewise. + * tests/exsource.test: Likewise. + +2001-02-06 Derek Price <derek.price@openavenue.com> + + * automake.in (handle_configure): Fix syntax error. + +2001-02-06 Akim Demaille <akim@epita.fr> + + * subdirs.am: This file is the exception: clean recursive targets + are called by the clean targets, not the clean-am targets. + Otherwise we have a circular dependency: clean -> clean-am -> + clean-recursive -> clean. + * automake.in (handle_clean): Bind `-local' targets to `-am' + targets, not top targets. + Don't declare -recursive dependencies of the clean targets: + `subdirs.am' did it. Less hard coded knowledge, transfered + into... + * clean.am: here. + +2001-02-06 Akim Demaille <akim@epita.fr> + + Monstro unsplitable patch. + + The aim is to remove hard coded knowledge about clean targets from + automake.in, leaving them in the *.am files. + In addition to the mechanic needed to factor some dependencies, it + appears some rules (most notably distclean and maintainer-clean) + need factored actions. So first, be ready to catch factored + rules. + + * automake.in (&file_contents): For the time being, use an extended + $RULE_PATTERN which is able to match any kind of rules, with or + without dependency, with or without actions. + Handle all the rules uniformly, storing in %actions the factored + actions. + (&flatten, &target_cmp): New. + (&handle_factored_dependencies): Output the %actions. + No longer special case `clean'. + Output the rules in alphabetical order, but keeping `.PHONY' last. + + Now we must not use &push_phony_cleaners, which is doing all sort + of magic to push a bit of everything in all the clean targets. + The biggest problem being that, making a Cartesian product, it + requires many useless targets. The `*.am' file know better. + But first, register the new factored rules. + + * automake.in (&initialize_per_input): Include clean, mostlyclean, + maintainer-clean, distclean and their `*-am' counterpart in + %dependencies. + Initialize %actions. + (get_object_extension, handle_texinfo, handle_tags, handle_multilib) + handle_dependencies, handle_subdirs, handle_configure, handle_clean) + (handle_emacs_lisp, handle_python): Don't play with + &push_phony_cleaners nor &depend and `clean'. + * texinfos.am, texi-vers.am, tags-clean.am: + * subdirs.am,python-clean.am, multilib.am, lisp-clean.am: + * libtool.am, kr-extra.am, depend.am, compile.am, clean.am: + * clean-kr.am, clean-hdr.am: Do it. + Whenever a target is empty, just remove it, it will no longer be + called. + + There is still some magic about clean to hard code. But really, + that's the end of &do_one_clean_target. + + * automake.in (&do_one_clean_target): Kaboom out. + (&handle_clean): Rewrite the magic code. + (&am_install_var): No longer use &push_phony_cleaners, nor depend + on `clean'. + (&push_phony_cleaners): Kaboom too. + +2001-02-06 Akim Demaille <akim@epita.fr> + + * automake.in (do_one_clean_target): Don't hard code knowledge + about libtool, and maintainer-clean. + * clean.am, libtool.am: Handle these. + +2001-02-05 Akim Demaille <akim@epita.fr> + + * automake.in (handle_texinfo): No longer hard code the clean + targets. + (texinfos.am): Include them. + +2001-02-05 Akim Demaille <akim@epita.fr> + + * Makefile.am (perl4-check): Remove, we now require Perl 5. + (maintainer-check): Don't be silent when you find a problem, and + actually, even specify the locations. + Also check that @_ is assigned to arrays. + +2001-02-05 Akim Demaille <akim@epita.fr> + + * m4/regex.m4: Use AC_LIBSOURCES. + * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not + _AC_LIBOBJ_DECL. + +2001-02-04 Tom Tromey <tromey@redhat.com> + + * m4/Makefile.am (m4data_DATA): Added make.m4. + * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include + dependency files. + * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE. + Copy depcomp to subdir. + * m4/make.m4: New file. + +2001-02-04 Pavel Roskin <proski@gnu.org> + + * automake.in (handle_dist_worker): Remove a line that is now + in distdir.am. + +2001-02-04 Kevin Ryde <user42@zip.com.au> + + * automake.in (handle_configure): Call config.status with empty + CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file. + +2001-02-04 Tom Tromey <tromey@redhat.com> + + * depcomp (ddashmd): Removed case. + (sgi): Handle failure exit correctly + (aix): Likewise. Also, add dummy `.h' targets. + +2001-02-04 Akim Demaille <akim@epita.fr> + + * distdir.am (distdir): New file, extracted from... + * automake.in (handle_dist_worker): here. + Adjust. + +2001-02-04 Akim Demaille <akim@epita.fr> + + * automake.in (@clean): Remove, replaced by... + ($dependencies{'clean'}): this. + Use `&depend' instead of push'ing into @clean. + (handle_factored_dependencies): For the time being, skip 'clean'. + (do_one_clean_target): Don't ask for argument 1 and 4 as they are + always `clean', and `@clean'. + +2001-02-04 Akim Demaille <akim@epita.fr> + + * automake.in (%dependencies): Don't be initialize globally for + all the files, but in... + (&initialize_per_input): here. + (&depend): New. + (@phony): Replace all occurrences with the corresponding &depend + invocation. + +2001-02-03 Tom Tromey <tromey@redhat.com> + + * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER. + * header-vars.am (INSTALL_HEADER): New macro. + + * automake.texi (Rebuilding): New node. + +----- + +Copyright (C) 2001-2012 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, are +permitted provided the copyright notice and this notice are preserved. diff --git a/old/ChangeLog.02 b/old/ChangeLog.02 new file mode 100644 index 000000000..b99f7578a --- /dev/null +++ b/old/ChangeLog.02 @@ -0,0 +1,3225 @@ +2002-12-31 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/ChannelDefs.pm: New file. + * lib/Automake/Makefile.am (dist_perllib_DATA): Add ChannelDefs.pm. + * automake.in: Move all "register_channel" calls to ChannelDefs.pm. + (prog_error, error, fatal, verb, switch_warning, parse_WARNINGS, + parse_warnings): Move to ChannelDefs.pm. + (usage): Move the warning list to Automake::ChannelDefs::usage + and call it. + (set_strictness): Move channel setings to + Automake::ChannelDefs::set_strictness and call it. + + * automake.in (err): Rename as ... + (error): ... this. Adjust all callers. + Suggested by H.Merijn Brand. + +2002-12-13 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/version7.test: Require GNU make. + Reported by Patrick Welche. + +2002-12-11 Brian Ford <ford@vss.fsi.com> + + * m4/init.m4 (AM_INIT_AUTOMAKE): Properly quote AC_PACKAGE_TARNAME + and AC_PACKAGE_VERSION. + +2002-12-11 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.texi (ANSI): Since Autoconf 2.54, LIBOBJ and LTLIBOBJ + no longer have to be rewritten in order to support deansification. + (Tests): Link to the DejaGnu manual. + (Optional): Comment out FIXME. + (Complete, A Library, LIBOBJS): Use $(LIBOBJ) and $(ALLOCA) + instead of @LIBOBJ@ and @ALLOCA@. + (Sources): Typo. + +2002-12-05 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/texinfos.am (install-info-am, uninstall-info-am): Strip + directories from info filenames. + * tests/texinfo13.test: Make sure main.info gets installed + as $(infodir)/main.info. + + * automake.in (handle_dist): Do not define %GETTEXT% if the user + is using $seen_gettext_external, this distcheck won't run + `./configure' with a meaningless `--with-included-gettext'. + * tests/gettext.test: Make sure distcheck uses --with-included-gettext. + * tests/gettext2.test: Make sure distcheck does not use + --with-included-gettext. + + * m4/ccstdc.m4: Define am_cv_prog_cc_stdc for backward + compatibility and diagnose the use of AM_PROG_CC_STDC. + * automake.texi (Public macros) <AM_PROG_CC_STDC>: Remove + documentation, this macro is no longer supported. + Reported by Kevin Ryde. + +2002-12-04 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_languages): Test $objdir, not $srcdir, to + decide whether a _.c file is in a subdirectory and has to be + cleaned separately. + Reported by Kevin Ryde. + + * tests/ansi10.test (liblib_a_LIBADD): Set ac_cv_prog_cc_stdc + not am_cv_prog_cc_stdc. + + * automake.texi (Options): Some English nits from Eric Siegerman. + (Sources): Rewrite the introduction and move the example to ... + (Built sources example): ... this separate node. + + * automake.in (variable_pretty_output): Strip trailing + backslashes in $val after $val is defined... + Reported by Kevin Ryde. + + * tests/depcomp2.test: Pass CC='gcc' as an argument to ./configure + not in the environment. Otherwise the test will fail when + run with ksh and VERBOSE=x. + Reported by Paul Jarc. + + * tests/man2.test: Exercize `make uninstall', to test + the previous change. + +2002-12-03 Nicolas Joly <njoly@pasteur.fr> + + * lib/am/mans.am (uninstall-man%SECTION%): Change the extension of + the man pages being uninstalled, if needed. + +2002-12-03 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (macro_define): Do not strip escaped new lines + in Automake's +='ed variables. We don't know whether it will + be pretty printed or not at this point. + (variable_pretty_output): Do this here. + * tests/pluseq10.test: New file. + * tests/Makefile.am (TESTS): Add pluseq10.test. + Reported by Ralf Corsepius. + +2002-12-02 Charles Wilson <cwilson@ece.gatech.edu> + + * tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): + Append $(EXEEXT) again. + +2002-12-02 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.texi (Sources): Illustrate $(BUILT_SOURCES) with an + example. + + * automake.texi (Options): Programs listed in + AM_INSTALLCHECK_STD_OPTIONS_EXEMPT should have $(EXEEXT) appended. + * tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): + Append $(EXEEXT). + Reported by Charles Wilson. + +2002-12-01 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (lang_c_finish): Do not fill de_ansi_files with + subdirectory informations for %libsources files. A LIBOBJS source + is always in the current directory. This reverts part of a change + from 2002-01-13. + * tests/ansi10.test: New file. + * tests/Makefile.am (TESTS): Add ansi10.test. + + * automake.in (do_check_merge_target): Add missing space. + + * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream + versions. + + * configure.in: Do not use missing while checking for Autoconf's + version, otherwise we won't notice that Autoconf isn't installed. + Augment the error message with a few questions to help users. + +2002-11-30 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/gnits2.test, tests/gnits3.test: Move the greps inside the + Makefile, so we can honor $(EXEEXT). Otherwise these tests + fail under Cygwin. + Reported by Charles Wilson. + + For PR automake/375 (Debian Bug #168671): + * automake.in (scan_texinfo_file): Erase all known index files, no + matter whether they are used at the top-level or not, because we + can never know if they are used in included files. The remaining + macros we recognize at the top-level of a Texi document are + @defindex, @defcodeindex, @synindex, and @syncodeindex. + * tests/texinfo18.test: New file. + * tests/Makefile.am (TESTS): Add texinfo18.test. + Reported by Simon Richter. + + * automake.in (scan_texinfo_file): Honor only the first @setfilename. + * tests/texinfo17.test: New file. + * tests/Makefile.am (TESTS): Add texinfo17.test. + Reported by Karl Berry. + + For PR automake/357: + * automake.in (require_file_internal): Don't complain a file is "not + found" when it is a target. Make sure "not found" files are otherwise + reported as error (they were reported as 'note'). + * tests/distcommon3.test: Augment to test the above. + * tests/libobj12b.test: Touch ltmain.sh. + * tests/required2.test: Make sure Automake fails because ltmain.sh + has been removed. + Reported by Ronald Landheer. + + * tests/texinfo3.test: Make sure we don't output single suffix + inference rules when building `.info'-less Info files (this + confuses Solaris make). Run distcheck to make sure the rules + work. + * automake.in (output_texinfo_build_rules): Define GENERIC_INFO + and SOURCE_INFO. + * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%, + %DEST_PREFIX%%DEST_SUFFIX%): Honor GENERIC_INFO and SOURCE_INFO. + +2002-11-29 Alexandre Duret-Lutz <adl@gnu.org> + + For PR automake/359: + * automake.in (do_check_merge_target): Make `check' dependent on + $(BUILT_SOURCES) if the variable is defined. Run `check-am' or + `check-recursive' in a submake in this case. + * tests/check2.test, tests/check3.test: New files. + * tests/check.test: Make sure `check' depends on `check-am'. + * tests/Makefile.am (TESTS): Add check2.test and check3.test. + + For PR automake/371 and PR automake/372: + * automake.in (rule_define): Honor inference rules with multiple + targets, and warn when they are used. + * tests/suffix11.test: New file. + * tests/Makefile.am (TESTS): Add suffix11.test. + Reported by Duncan Gibson. + +2002-11-28 Alexandre Duret-Lutz <adl@gnu.org> + + For PR automake/370: + * automake.in (handle_languages): Don't prepend $U to $myext + since handle_single_transform_list now appends it to $obj. + Process the rule twice to handle deansified files in subdirectories. + Mark _.c files in subdirectories for cleaning. + (handle_single_transform_list): Append $U to $obj_sans_ext if + needed: before this dependencies were output foo.Po instead + of foo$U.Po. Don't output explicit dependencies for renamed + objects or sources in sub-directories: we already output + a full compile rule for them. + (lang_c_finish): Don't always use the full filename in the + .c -> _.c rule. This reverts part of my change of 2002-11-21. + * tests/ansi6.test, tests/ansi7.test: Make sure deansified + files are created in the right directory, and cleaned. + Reported by Kevin Ryde. + +2002-11-25 Jim Meyering <jim@meyering.net> + + * lib/install-sh: Put `$0:' at the beginning of each diagnostic, + not `install:'. + +2002-11-21 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (make_condition_string): New function. + (cond_stack_if, cond_stack_else, cond_stack_endif): Use it. + Suggested by Raja R Harinath. + + * tests/texinfo13.test: Require texi2dvi-o. + * tests/defs.in: Handle required=texi2dvi-o. + + * automake.in (lang_c_finish): Use $@ in the .c -> _.c rule. + + * automake.in (handle_single_transform_list): Don't strip the + directory from $full_ansi. This reverts my patch of 2002-10-16. + (lang_c_finish): Use the full filename, including the directory, + in the .c -> _.c rule. These two files must reside in the same + directory. + * tests/ansi6.test: Also try to compile without ansi2knr. + Reported by Andreas Schwab + +2002-11-20 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Conditional.pm (strip): New function. + * lib/Automake/ConditionalSet.pm (sub_conditions): Use it. + Suggested by Raja R Harinath. + + * automake.in (conditional_ambiguous_p, macro_define, rule_define, + require_variables): Use ->human instead of ->string. + * lib/Automake/Conditional.pm (string): Don't sort conditions, they + are already sorted. + (_to_human, human): New functions. + * lib/Automake/ConditionalSet.pm (human): New function. + * tests/cond27.test, tests/library3.test, tests/pluseq5.test, + tests/pluseq9.test: Adjust. + + * lib/Automake/Conditional.pm [SYNOPSIS]: Fix not's description. + * lib/Automake/ConditionalSet.pm (sub_conditions): New function. + (multiply): Also accept an Automake::Conditional as argument. + * automake.in (variable_not_always_defined_in_cond): Simplify, + using only Automake::ConditionalSet methods. + Suggested by Raja R Harinath. + + * lib/Automake/ConditionalSet.pm (conds): Use value() to simplify. + (invert): Rewrite as a product-of-sums to sum-of-products converter. + (_multiply, multiply): New functions. + * lib/Automake/Conditional.pm (not): New function. + * lib/Automake/tests/ConditionalSet.pl (test_invert): Update. + * automake.in (condition_negate): Move ... + * lib/Automake/Conditional.pm (negate_condition): ... here. + Suggested by Raja R Harinath. + +2002-11-19 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/ConditionalSet.pm (_simplify, simplify): New methods. + (true): Cache return value, so _simplify can use it. + * lib/Automake/tests/ConditionalSet.pl (test_simplify): New function. + * automake.in (variable_not_always_defined_in_cond): Return + a simplified ConditionalSet. + (macro_define, require_variables): Adjust. + * tests/Makefile.am (TEST): Add library3.test. + * tests/library3.test: New file. + * tests/pluseq9.test: Adjust. + Thanks to Raja R Harinath. + +2002-11-18 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/tests/Makefile.am, lib/Automake/tests/Conditional.pl, + lib/Automake/tests/ConditionalSet.pl: New files. + * lib/Automake/Makefile.am (SUBDIRS): New variable. + * configure.in: Output lib/Automake/tests/Makefile. + * lib/Automake/ConditionalSet.pm (by_conditions): Delete. + (conds): Don't use by_conditions, sort alphabetically, and + return sorted conds. + (string): Call ->string on each Conditional. + * tests/Makefile.am (TESTS): Remove cond12.test. + * tests/cond12.test: Remove, moved to + lib/Automake/tests/ConditionalSet.pl. + * tests/cond3.test: Adjust conditional ordering. + +2002-11-15 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/ConditionalSet.pm (_permutations_worker): Ignore TRUE + conditions. + (permutations): Treat empty permutations as TRUE. + (invert): Simplify. + Suggested by Raja R Harinath. + +2002-11-14 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (variable_defined): Thinko. + * lib/Automake/ConditionalSet.pm (true): Simplify. + (permutations): Fix documentation. + (new): Don't simplify conditional sets that contain TRUE. + Reported by Raja R Harinath. + +2002-11-14 Eric Blake <ebb9@email.byu.edu> + + * lib/am/depend2.am: Add missing fi in c.obj rules. + +2002-11-14 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_installdirs): Reindent to workaround a + parsing bug in Perl 5.6.0. + Reported by Patrick Welche. + + * lib/Automake/Conditional.pm: Add reference to ConditionalSet.pm. + * lib/Automake/ConditionalSet.pm: New file. + * lib/Automake/Makefile.am (dist_perllib_DATA): Add ConditionalSet.pm. + * automake.in: Use ConditionalSet. + (by_condition, invert_conditions, variable_conditions_permutations): + Remove, now defined as Automake::ConditionalSet::by_condition, + Automake::ConditionalSet::invert, and + Automake::ConditionalSet::permutations. + (variable_sorted_conditions): Remove. + (msg_var, msg_target handle_source_transform, handle_lib_objects, + conditional_ambiguous_p, variable_not_always_defined_in_cond, + macro_define, macro_dump, variable_defined, + variable_conditions_recursive, variable_conditions, + target_conditions, variable_conditionally_defined, + variable_conditions_recursive_sub, + check_variable_defined_unconditionally, variable_value_as_list, + variable_value_as_list_recursive_worker, variable_output, + variable_pretty_output, rule_define, append_exeext, + am_install_var, require_variables_for_macro): Adjust to + use ConditionalSet. + +2002-11-13 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (variable_conditions): Split into ... + (variable_conditions, variable_sorted_conditions): ... these + functions, where variable_sorted_conditions has the semantic of + the old variable_condition. + (target_conditions): New function. + (msg_var, handle_lib_objects_cond, check_ambiguous_conditional, + variable_not_always_defined_in_cond, macro_define, + variable_defined, check_variable_defined_unconditionally, + variable_conditions_recursive_sub, + variable_conditions_permutations, variable_value_as_list, + variable_value_as_list_recursive_worker, append_exeext, + am_install_var, require_variables_for_macro): Use variable_conditions. + (msg_target, rule_define): Use target_conditions. + (define_objects_from_sources, macro_define, macro_dump, + variable_pretty_output): Use variable_sorted_conditions. + + * automake.texi (Conditional Sources): Fix the `+=' example. + Reported by Mike Castle. + + * automake.in: Don't declare TRUE and FALSE, import them from + Automake::Conditional. + * lib/Automake/Conditional.pm (TRUE, FALSE): New constants. + (new): Simplify using FALSE. + (reduce): New function, moved from ... + * automake.in (variable_conditions_reduce): ... here. + (variable_conditions_recursive_sub, invert_conditions): + Adjust calls to Automake::Conditional::reduce. + * tests/cond12.test: Adjust to use Automake::Conditional. + +2002-11-09 Jim Meyering <jim@meyering.net> + + Make install-sh work even when names contain spaces or + certain (but not all) shell metachars. + + * lib/install-sh: Remove lots of unnecessary quoting. + Add double quotes where necessary. + Write diagnostics to stderr, not stdout. + Normalize spacing in diagnostics: use one space (not two, + and not a TAB) after the leading `install:'. + Remove trailing white space. + Remove unnecessary curly braces. + If removing the destination fails, also try to move it aside. + Use `trap' more portably. + * tests/installsh2.test: New file, to test for the above fix. + * tests/Makefile.am (TESTS): Add installsh2.test. + + * automake.texi: Fix some typos and a grammar nit. + +2002-11-07 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (switch_warning): Subject Perl warnings to -Werror. + + * automake.texi (Extending): Complete unterminated sentence. + Reported by Mike Castle. + +2002-11-06 Akim Demaille <akim@epita.fr> + + * automake.in (&conditional_ambiguous_p): Don't forget to ->string + the Conditionals. + +2002-10-31 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.texi (Dist): Fix the distcleancheck_listfiles example. + Reported by Karl Berry. + +2002-10-31 Akim Demaille <akim@epita.fr> + + * tests/location.test (Makefile.am): Strengthen. + * lib/Automake/Channels.pm (_print_message): Be sure to flush + $partial when the message is output. + Thanks to Alexandre Duret-Lutz. + +2002-10-31 Akim Demaille <akim@epita.fr> + + * automake.in (&read_am_file): Use $last_where to register the + _first_ line of a variable definition as location instead of the + last one. + (&conditional_ambiguous_p): Don't forget to ->string the + Conditionals. + (&rule_define): Likewise. + * tests/location.test: Adjust to exercise this. + +2002-10-25 Charles Wilson <cwilson@ece.gatech.edu> + + * tests/defs.in: Add explicit stanza for python -V. + +2002-10-16 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/ansi6.test, tests/ansi7.test: Set ac_cv_prog_cc_stdc instead + of am_cv_prog_cc_stdc. This follows Akim's patch of 2002-10-09, + and reveals a bug in my patch of 2002-10-15. + * automake.in (handle_single_transform_list): Strip directory name + from $full_ansi if subdir-objects is not set. + + * lib/texinfo.tex: New version from Texinfo 4.2b. + +2002-10-15 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_single_transform_list) <full_ansi>: New variable. + Use this to record correct dependencies about deansifiable files which + are using per-program flags or are in a subdirectory. + * tests/ansi9.test: New file. + * tests/Makefile.am (TESTS): Add ansi9.test. + Reported by Paul D. Smith + +2002-10-12 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in (ac_defun_rx, ac_require_rx): If the macro name is + quoted, accept any character but `]'. This makes it possible + to define macros such as `AC_LANG_PREPROC(Fortran 90)'. + (scan_m4_files): Quote $key in the regex. Don't define $expr, it's + not used. + (add_file, scan_file): Adjust to the new definitions of $ac_defun_rx + and $ac_require_rx. + * tests/aclocal2.test: New file. + * tests/Makefile.am (TESTS): Add aclocal2.test. + Reported by Tamara L. Dahlgren and Tom Epperly. + +2002-10-11 Alexandre Duret-Lutz <adl@gnu.org> + + For Debian Bug#153697: + * lib/am/dejagnu.am (distclean-DEJAGNU): Remove $tool.sum and + $tool.log. + Suggested by Andrew Suffield. + +2002-10-10 Alexandre Duret-Lutz <adl@gnu.org> + + For PR automake/369: + * lib/am/python.am: Lookup python files in build directory or + source directory. + From Mathias Doreille. + * tests/python3.test: New file. + * tests/Makefile.am (TESTS): Add python3.test. + * tests/defs: Handle `required=python'. + + For PR automake/358: + * lib/am/texi-vers.am (%STAMPVTI%): Depend on configure instead of + configure.ac. + Suggested by Thien-Thi Nguyen. + * lib/am/configure.am ($(srcdir)/configure): Depends on + %CONFIGURE_DEPS% + * automake.in (@configure_deps): New array. + (scan_autoconf_traces): Scan for m4_include and m4_sinclude, + and fill @configure_deps. + (handle_configure): Substitute %CONFIGURE_DEPS%. + Distribute @configure_deps. + * tests/version7.texi: New file. + * tests/vtexi.test: Adjust. + * tests/Makefile.am (TESTS): Add version7.test. + * automake.texi (Dist): Mention that m4_include'd files + are distributed. + +2002-10-09 Akim Demaille <akim@epita.fr> + + * m4/ccstdc.m4 (AM_PROG_CC_STDC): Its definition is now empty: + the content of this macro was merged in AC_PROG_CC. + * m4/protos.m4 (AM_C_PROTOTYPES): Adjust to AC_C_PROTOTYPES. + * tests/depacl.test: Remove, it exercizes aclocal in a way that was + exercized by all the other tests since the test suite really uses + aclocal. + * tests/Makefile.am (TESTS): Remove depacl.test. + +2002-10-08 Paul Eggert <eggert@twinsun.com> + + * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%, + %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Use "makeinfo -o output + input", not "makeinfo input -o output", as the latter fails if + POSIXLY_CORRECT=1. + * lib/am/texinfos.am (.dvi.ps): Likewise for dvips. + * m4/depend.m4 (_AM_DEPENDENCIES): Likewise for $depcc. + +2002-10-08 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (file_contents_internal): Fix the relationship + regex flags, don't use `m'. + + For Debian Bug#162583: + * automake.in (file_contents_internal): Simplify regex to + separate relationship from actions in rules. + Reported by Sam Hocevar. + + * lib/Automake/Conditional.pm (has): Simplify. + +2002-10-07 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Conditional.pm: New file. + * lib/Automake/Makefile.am (dist_perllib_DATA): Add Conditional.pm. + * automake.in: Use Automake::Conditional. + (TRUE, FALSE): New constants. + (%var_value, %var_location, %var_comment, %var_type, %var_owner, + %targets, %target_source, %target_name, %target_owner): Tie to + Tie::RefHash::Nestable. + (generate_makefile, process_option_list, handle_options, + handle_languages, handle_source_transform, handle_compile, + handle_libtool, handle_texinfo_helper, handle_dist, handle_subdirs, + scan_aclocal_m4, handle_emacs_lisp, handle_python, + scan_autoconf_files, variable_assert, define_variable, + define_pretty_variable, define_configure_variable, am_install_var, + push_dist_common): Use TRUE. + (define_objects_from_sources): Fix return value on + "recursively-defined" errors. + (conditional_string, conditional_true_when, conditional_is_redundant, + conditional_implies_any, make_conditions): Remove these functions, + obsoleted by Conditional.pm. + (cond_stack_if, cond_stack_else, cond_stack_endif): Return + an Automake::Conditional instance. + (by_condition, conditional_ambiguous_p, + variable_not_always_defined_in_cond, macro_define, + variable_conditions_recursive, variable_conditions_recursive_sub, + variable_conditions_reduce, invert_conditions, + variable_conditions_permutations, + check_variable_defined_unconditionally, variable_value_as_list, + variable_output, variable_pretty_output, rule_define, + read_am_file, file_contents_internal, require_variables): Adjust + to use Automake::Conditional objects. + (handle_footer): Get $(SUFFIXES) in 'all' conditions. + * tests/cond12.test: Adjust to use Automake::Conditional objects. + +2002-10-01 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_source_transform): If foo_SOURCES is defined + conditionally, create and use am__foo_SOURCES_DIST for distribution. + * tests/condd.test: Extend to check distributed files. + * tests/substref.test: Make sure we don't use such a variable when + it's not needed. + Reported by Marcus Brinkmann. + +2002-09-30 Ezra Peisach <epeisach@MED-XTAL.BU.EDU> + + * tests/defs.in: Run $MAKE --version -v. + * tests/dollar.test: Abort on ./defs failure. + * tests/lex5.test: Require GNUmake, not make. + +2002-09-30 Kevin Ryde <user42@zip.com.au> + + * m4/as.m4 (AM_PROG_AS): Let CCAS and CCASFLAGS default to the actual + values of $CC and $CFLAGS (as opposed to $(CC) and $(CFLAGS)), so + configure tests can use them. Use AC_ARG_VAR instead of AC_SUBST. + +2002-09-30 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (require_variables): The fix introduced in 2002-09-19 + is imcomplete. Rewrite the conditional variable definition check + using &variable_not_always_defined_in_cond. + * tests/cond26.test, tests/cond27.test, tests/cond28.test: New file. + * tests/Makefile.am (TESTS): Add cond26.test, cond27.test, and + cond28.test. + Reported by Juergen Keil. + + * automake.in (INTERNAL): Redefine as an empty location, + so that internal locations get displayed as `automake:'. + + * lib/am/distdir.am (distdir): Create $dc_destdir right before + its use. + Reported by Akim Demaille. + + Fix for PR automake/366: + * automake.in (handle_dist): Strip $(srcdir) and replace + $(top_srcdir) when computing DIST_COMMON directories. + * tests/include2.test: Use an obsolute $(srcdir), and check + for spurious directories in $(distdir)/sub. + * lib/am/distdir.am: Rewrite $(top_srcdir) as $(top_builddir). + Reported by Kevin Ryde. + +2002-09-29 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/Automake/Channels.pm (%_default_options): Add 'partial'. + (_format_message): Rename as ... + (_format_sub_message): ... this. + (_format_message): New function, extracted from ... + (_print_message): ... here. Honor the 'partial' option. + ($partial): New variable. + * automake.in (handle_ltlibraries, check_ambiguous_conditional, + rule_define): Mark partial messages. + + * automake.in (handle_ltlibraries): Record library locations in + %liblocations, and print the previous declaration on error. + * tests/libtool6.test: Check that the locations of the two + definitions are shown. + + For PR automake/360: Propagate more locations. + * automake.in (handle_programs): Adjust usage of am_install_var's + return value. Pass on locations as context to file_contents. + (handle_libraries, handle_ltlibraries): Likewise. Use locations + in the 'not a standard library name' diagnostic. + (handle_emacs_lisp, handle_python): Adjust usage of am_install_var's + return value. Pass on locations to require_variables and + require_conf_file. + (check_ambiguous_conditional): Strip trailing dot in message. + (value_to_list): Add the $WHERE and $LOC_WANTED arguments. + (variable_value_as_list_recursive_worker): Add the $LOC_WANTED + argument. Adjust calls to value_to_list. + (variable_value_as_list_recursive): Call + variable_value_as_list_recursive_worker with $LOC_WANTED = 0. + (variable_loc_and_value_as_list_recursive): New function, + variable_value_as_list_recursive_worker with $LOC_WANTED = 1. + (am_install_var): Use variable_loc_and_value_as_list_recursive, + and return a list of [$location, $value] pairs. + (rule_define): Use better locations in EXEEXT diagnostic. + (handle_source_transform, define_objects_from_sources): Add and use + a $WHERE argument. Adjust callers. + * tests/stdlib.test: Grep the location in error message. + * tests/location.test: New file. + * tests/Makefile.am (TESTS): Add location.test. + + * tests/exeext3.test: New file. + * tests/Makefile.am (TESTS): Add exeext3.test. + * automake.in (%target_name): New hash. + (initialize_per_input): Reset %target_name. + (rule_define): Fill %target_name, and use it to detect targets + which have been registered with key X but really are X$(EXEEXT). + +2002-09-28 Alexandre Duret-Lutz <duret_g@epita.fr> + + For PR automake/360: + * lib/Automake/Location.pm: New file. + * lib/Automake/Channels.pm (_print_message): Display contexts + when given an Automake::Location. + (msg): Clone the location. + * lib/Automake/Makefile.am (dist_perllib_DATA): Add Location.pm. + * tests/comment5.test: Make sure we display `included from' stacks. + * automake.in: Use Automake::Location. + (INTERNAL): New constant. + (file_contents, file_contents_internal, define_variable, + define_pretty_variable, read_am_file): Take $WHERE as argument. + Adjust all callers. + (scan_autoconf_traces) <$where>: Define as a Location, and use + it instead of $here. + (macro_define, rule_define): Make sure $WHERE is a location. + Clone it before updating $var_location or $targets. + +2002-09-27 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/mkinstalldirs: Reindent using `sh-indentation: 2'. + Suggested by Bruno Haible. + + * Makefile.am (fetch, FETCHFILES): Don't fetch install-sh from + Autoconf. Automake now has the master copy of install-sh and + mkinstalldirs. + +2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr> + + * configure.in: Bump version to 1.7a. + + * NEWS, configure.ac: Version 1.7. + +2002-09-25 Art Haas <ahaas@neosoft.com> + + * automake.texi (Optional, Options, Distributing, ANSI, + API versioning): Spelling fixes and Texi tweaks. + +2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr> + + * configure.in: Check for 'tex'. + * tests/defs.in: Handle required=tex using configure's result. + Reported by Patrick Welche. + + * Makefile.am (mdate-sh): Remove. + * mdate-sh: Delete. + Suggested by Akim Demaille. + +2002-09-25 Tom Tromey <tromey@redhat.com> + + * NEWS: Mention distuninstallcheck. + * automake.texi (Dist): Document new macro and target. + * lib/am/distdir.am (distuninstallcheck_listfiles): New macro. + (distuninstallcheck): New target. + (distcheck): Use distuninstallcheck. + +2002-09-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + + * tests/specflags7.test (true_CFLAGS, false_CFLAGS, false.c): Use + AM_TRUE, AM_FALSE to avoid bad interaction with Tru64 UNIX + <sys/types.h>. + * tests/specflags8.test (true_CPPFLAGS, false_CPPFLAGS, false.c): + Likewise. + +2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (output_texinfo_build_rules): Define %SOURCE_REAL%. + * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%, + %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Add %SOURCE_REAL% as dependency. + +2002-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + + * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Use $$dir in make + command. + +2002-09-24 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (handle_single_transform_list): Revert the change + from 2002-09-22. We need to erase .libs/ in the object directory + in addition to the library directory. + + * tests/target-cflags.test: Build in `build/', not `obj/' because + `obj/' is special to BSD make. + + * automake.in (read_am_file): Prefix included files with + $(top_srcdir) or $(srcdir) in DIST_COMMON. Fixes + subdircond2.test, and subdircond3.test on OSF1. + + * tests/defs.in (SHELL): Set it. + + * lib/am/distdir.am (distcleancheck): Mention `in build directory' + in error message. + +2002-09-23 Alexandre Duret-Lutz <duret_g@epita.fr> + + For PR automake/350: + * automake.in (handle_ltlibraries): Allow a library to be installed + many times in the same directory. + * tests/libtool5.test, tests/libtool6.test: New files. + * tests/Makefile.am (TESTS): Add libtool5.test and libtool6.test. + +2002-09-22 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (handle_ltlibraries): Fill $libtool_clean_directories + here, with directories where .la files are built... + (handle_single_transform_list): ... not here with directories + where .lo files are built. + * tests/libtool3.test: Build a library in a subdirectory to + check for this. + Reported by Peter Gavin. + + * tests/cond5.test: Give more time to automake. + Reported by Art Haas. + + * configure.in: Really check for Autoconf 2.54. + + * automake.texi (Yacc and Lex): ylwrap is used only when there is + more than one yacc or lex source file in a directory. + + * automake.in (macro_define): Update a variable's location each + time its owner is updated. + * tests/gnuwarn.test: Append to CFLAGS to check for this. + Reported by Harlan Stenn. + +2002-09-20 Alexandre Duret-Lutz <duret_g@epita.fr> + + * configure.in: Bump version to 1.6g. + + * configure.in, NEWS: Bump version to 1.6f. + + * Makefile.am (INSTALL): New rules. + +2002-09-20 Mirko Streckenbach <strecken@infosun.fmi.uni-passau.de> + + For PR automake/363: + * m4/cond.m4: Fix AC_MSG_ERROR quoting. + +2002-09-19 Pavel Roskin <proski@gnu.org> + + * tests/warnopts.test: Fix random failures by removing Autoconf + cache directory when configure.in changes. Use the code and the + comment from tests/asm.test. + +2002-09-19 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.texi (Program and Library Variables) <maude_LIBADD>: + Don't mention _LDADD for Libtool libraries. + Reported by Schleicher Ralph. + + For PR automake/361: + * tests/suffix8.test: More explicit dependencies. + Reported by Paul Eggert. + + * automake.in (rule_define): Don't diagnose duplicate user rules. + * tests/phony.test, tests/percent2.test: New files. + * tests/Makefile.am (TESTS): Add them. + Reported by Ralf Corsepius. + + * automake.in (require_variables): Search variable definitions + in any condition implied by $cond. + * tests/cond25.test: New file. + * tests/Makefile.am (TESTS): Add cond25.test. + Reported by Pavel Roskin. + + * tests/subobj9.test: Skip this test on configure errors. + Reported by Paul Eggert. + +2002-09-18 Alexandre Duret-Lutz <duret_g@epita.fr> + + * configure.in: Bump version to 1.6e. + + * configure.in, NEWS: Bump version to 1.6d. + * tests/libobj12.test, tests/libobj12b.test: Include ./defs, + not $srcdir/defs. + * tests/suffix8.test: Typo. + + * automake.in (check_ambiguous_conditional, rule_define): Issue + syntactic warnings, not errors. + (macro_define): Don't adjust the owner of a variable which is being + appended in a condition different from its definition. + (variable_output, variable_pretty_output): Make sure the + requested condition exists. + + For PR automake/353: fill %var_location, %var_comment, + %var_type, %var_owner for each condition. + * automake.in (msg_cond_var): New function. + (msg_var): Use it. + (generate_makefile, process_option_list, handle_languages, + handle_lib_objects_cond, handle_compile, handle_libtool, + handle_ltlibraries, handle_texinfo_helper, handle_tests, + handle_emacs_lisp, handle_python, macro_define, macro_delete, + macro_dump, variable_assert, variable_output, + variable_pretty_output, read_am_file, read_main_am_file, + file_contents_internal, am_primary_prefixes, + require_variables_for_macro): Adjust accesses to %var_location, + %var_comment, %var_type, %var_owner. + (append_comments, require_file_with_macro, + require_conf_file_with_macro, require_variables): Add the + $cond argument. + * tests/comment7.test: New file. + * tests/Makefile.am (TESTS): Add comment7.test. + +2002-09-17 Alexandre Duret-Lutz <duret_g@epita.fr> + + For PR automake/353: + * automake.in (check_ambiguous_conditional): Display locations for + the two definitions of the ambiguous variable. Show the macro_dump + output in --verbose only. Accept $where as a third argument, + (macro_define): Pass $where. + + * automake.in (handle_programs): Ooops. Really add LDADD + objects into _DEPENDENCIES. + * tests/libobj12.test: Check for it. + +2002-09-17 Assar Westerlund <assar@kth.se> + Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (handle_programs, handle_libraries, + handle_ltlibraries): Maintain $seen_libobjs on a + per-program/per-library basis, instead of globally to each + of these functions. + * tests/libobj12.test, tests/libobj12b.test: New files. + * tests/Makefile.am (TESTS): Add libobj12.test and libobj12b.test. + +2002-09-17 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/defs.in (configure.in): Don't call AC_PROG_INSTALL and + AC_PROG_MAKE_SET. + + * lib/config.guess, lib/config.sub, lib/INSTALL, + lib/Automate/Struct.pm: New upstream version. + * Makefile.am (mdate-sh): New rule. + (FETCHFILES): Add Automate/Struct.pm. + (fetch): Get Automate/Struct.pm. + (AUTOMAKESOURCES, CLEANFILES): New macros. + (EXTRA_DIST, TAGS_FILES): Use them. + * install-sh, mkinstalldirs, missing: Delete. + + * automake.in: Rename the 'unused' channel to 'syntax'. + (variable_defined): Issue a warning instead of an error + for variable-is-a-target conditions. + * automake.texi (Invoking Automake): Rename the 'unused' + channel to 'syntax'. + * tests/warnopts.test: Likewise. + + * tests/suffix8.test: Add explicit dependencies. + * tests/texinfo13.test, tests/texinfo16.test: Require tex. + +2002-09-16 Alexandre Duret-Lutz <duret_g@epita.fr> + + * configure.in, m4/init.m4, NEWS: Require Autoconf 2.54. + + * automake.in (variable_defined): Thinko in $cond handling. + +2002-09-15 Paul Eggert <eggert@twinsun.com> + + * lib/Automake/Channels.pm: Don't use 'our', as it isn't portable + to Perl 5.00503. + + * Makefile.am (maintainer-check): Don't use egrep. + +2002-09-15 Tom Tromey <tromey@redhat.com> + + * tests/subdircond3.test: Pass flags to make in environment. + * tests/subdircond2.test: Pass flags to make in environment. + * Makefile.am (maintainer-check): Add a new check for @...@ + substitutions. Updated correct number of diffs between source and + build trees. + + * configure.in (aclocal, automake): Don't create. + * automake.in ($prefix): Don't define. + * aclocal.in ($prefix): Don't define. + * Makefile.am (do_subst): New macro. + (automake): New target. + (aclocal): Likewise. + +2002-09-15 Alexandre Duret-Lutz <duret_g@epita.fr> + + * aclocal.in, automake.in: Requote each "@var@" as '@var@'. + +2002-09-14 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/Makefile.am (XFAIL_TESTS): Remove specflags7.test and + specflags8.test. + +2002-09-13 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.texi (Building ctags and etags): Rename and adjust as ... + (Building true and false): ... this. + * tests/targetclash.test: New file. + * tests/specflags7.test, tests/specflags8.test: Adjust to build + true and false. + * tests/Makefile.am (TESTS): Add targetclash.test. + + Diagnose target clashes, for PR automake/344: + * automake.in (%targets): Record conditionals for definitions. + (%target_conditional): Remove (obsoleted by %targets). + (%target_source, %target_owner): New hashes. + (TARGET_AUTOMAKE, TARGET_USER): New constants. + (initialize_per_input): Adjust to reset new variables. + (err_cond_target, msg_cond_target): New functions. + (msg_target): Adjust usage of %targets. + (conditional_ambiguous_p): Take a list of conditional to check + as a third parameter, so this can be used for other things that + variables. + (handle_lib_objects_cond): Adjust conditional_ambiguous_p usage. + (variable_defined): Restrict the target-with-same-name check + to user targets. + (rule_define): Add the $SOURCE argument, and take $OWNER instead + of $IS_AM. Diagnose target clashes (including ambugious + conditionals). Return a list of conditions where the rule should + be defined instead of a boolean. Fill %target_source and + %target_owner. + (target_define): Use `exists', not `defined'. + (read_am_file): Adjust the call to rule_define. + (file_contents_internal): Add more FIXMEs. Simplify my moving + and documenting the "define rules in undefined conditions" to + rule_define. + * tests/Makefile.am (XFAIL_TESTS): Add specflags7.test and + specflags8.test. + +2002-09-12 Akim Demaille <akim@epita.fr> + + * aclocal.in: Prototype all the functions. + Add `(C)' to Copyrights. + (&add_file): Strip the comments before checking for `AC_REQUIRE'. + Remove Perl 4 hacks, since anyway we require 5.005 via General.pm. + +2002-09-11 Akim Demaille <akim@epita.fr> + + * lib/am/texinfos.am (TEXI2PDF): Pass --batch to texi2dvi, since + it was already supported when --pdf support was added. + +2002-09-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/Automake/Channels.pm (_default_options): Add `backtrace'. + (msg): Die with backtrace if requested. + * automake.in: Enable `backtrace' on the `automake' channel. + + * automake.in (process_option_list): Mention `Automake' in + version-mismatch error. + Suggested by Akim Demaille. + + * tests/Makefile.am ($(TESTS)): Replace by ... + (check_SCRIPTS): ... this. + Suggested by Raja R Harinath. + +2002-09-09 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/Makefile.am ($(TESTS)): New, depends on defs. + (BUILT_SOURCES): Remove (useless because of PR/359). + + * m4/init.m4: Execute cygpath in a sub-shell. + +2002-09-08 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (macro_define): Warn about `:=' assignments. + * tests/colneq.test: Check for this warning. + + * automake.texi (Include): Fragments are always distributed. + * NEWS: Likewise. + +2002-09-08 Andreas Buening <andreas.buening@nexgo.de> + + Fix for automake/334: + * lib/am/depend2.am: Replaced "cygpath -w" by $(CYGPATH_W). + * m4/init.m4: New make variable CYGPATH_W. + +2002-09-08 Alexandre Duret-Lutz <duret_g@epita.fr> + + * configure.in: Check for EGREP and FGREP. Create tests/defs. + * tests/defs: Rename as ... + * tests/defs.in: ... this. Add copyright notice. Use configure's + values for PERL, EGREP, and FGREP. Be verbose if $srcdir is unset. + * tests/Makefile.am (EXTRA_DIST): Remove defs. + (BUILT_SOURCES): New. + * tests/acinclude.test, tests/aclibobj.test, tests/aclocal.test, + tests/aclocali.test, tests/aclocali1.test, tests/aclocalii.test, + tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test, + tests/acoutqnl.test, tests/acouttbs.test, tests/acouttbs2.test, + tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test, + tests/all.test, tests/alpha.test, tests/amassign.test, + tests/ammissing.test, tests/ansi.test, tests/ansi2.test, + tests/ansi3.test, tests/ansi4.test, tests/ansi5.test, + tests/ansi6.test, tests/ansi7.test, tests/ansi8.test, + tests/ar.test, tests/asm.test, tests/autoheader.test, + tests/autoheader2.test, tests/auxdir.test, tests/auxdir2.test, + tests/backsl.test, tests/backsl2.test, tests/badline.test, + tests/badopt.test, tests/badprog.test, tests/block.test, + tests/canon.test, tests/canon2.test, tests/canon3.test, + tests/canon4.test, tests/canon5.test, tests/ccnoco.test, + tests/check.test, tests/checkall.test, tests/clean.test, + tests/colneq.test, tests/colneq2.test, tests/colon.test, + tests/colon2.test, tests/colon3.test, tests/colon4.test, + tests/colon5.test, tests/colon6.test, tests/colon7.test, + tests/comment.test, tests/comment2.test, tests/comment3.test, + tests/comment4.test, tests/comment5.test, tests/comment6.test, + tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test, + tests/cond11.test, tests/cond12.test, tests/cond13.test, + tests/cond14.test, tests/cond15.test, tests/cond16.test, + tests/cond17.test, tests/cond18.test, tests/cond19.test, + tests/cond2.test, tests/cond20.test, tests/cond21.test, + tests/cond22.test, tests/cond23.test, tests/cond24.test, + tests/cond3.test, tests/cond4.test, tests/cond5.test, + tests/cond6.test, tests/cond7.test, tests/cond8.test, + tests/cond9.test, tests/condd.test, tests/condincl.test, + tests/condincl2.test, tests/condlib.test, tests/condman.test, + tests/condman2.test, tests/conf2.test, tests/confdeps.test, + tests/confdist.test, tests/confh.test, tests/confh4.test, + tests/config.test, tests/confincl.test, tests/confsub.test, + tests/confvar.test, tests/confvar2.test, tests/copy.test, + tests/ctarget1.test, tests/cxx.test, tests/cxx2.test, + tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test, + tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test, + tests/cygwin32.test, tests/dash.test, tests/defun.test, + tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test, + tests/depacl.test, tests/depacl2.test, tests/depcomp.test, + tests/depcomp2.test, tests/depdist.test, tests/depend.test, + tests/depend2.test, tests/depend3.test, tests/depend4.test, + tests/destdir.test, tests/dirforbid.test, tests/dirlist.test, + tests/discover.test, tests/distcommon.test, + tests/distcommon2.test, tests/distcommon3.test, + tests/distdir.test, tests/distname.test, tests/dollar.test, + tests/double.test, tests/dup2.test, tests/dup3.test, + tests/else.test, tests/empty.test, tests/empty2.test, + tests/empty3.test, tests/empty4.test, tests/error.test, + tests/exdir.test, tests/exdir2.test, tests/exeext.test, + tests/exeext2.test, tests/exsource.test, tests/ext.test, + tests/ext2.test, tests/extra.test, tests/extra2.test, + tests/extra3.test, tests/extra4.test, tests/extra5.test, + tests/extra6.test, tests/extra7.test, tests/flibs.test, + tests/fnoc.test, tests/fo.test, tests/fonly.test, + tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test, + tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test, + tests/gcj5.test, tests/getopt.test, tests/gettext.test, + tests/gettext2.test, tests/gnits.test, tests/gnits2.test, + tests/gnits3.test, tests/gnuwarn.test, tests/header.test, + tests/implicit.test, tests/include.test, tests/include2.test, + tests/info.test, tests/insh.test, tests/insh2.test, + tests/install.test, tests/install2.test, tests/installdir.test, + tests/installsh.test, tests/instdata.test, tests/instdata2.test, + tests/instexec.test, tests/insthook.test, tests/instman.test, + tests/instman2.test, tests/interp.test, tests/interp2.test, + tests/java.test, tests/java2.test, tests/javaprim.test, + tests/javasubst.test, tests/ldadd.test, tests/ldflags.test, + tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test, + tests/lex5.test, tests/libobj10.test, tests/libobj11.test, + tests/libobj2.test, tests/libobj3.test, tests/libobj4.test, + tests/libobj5.test, tests/libobj7.test, tests/libobj8.test, + tests/library.test, tests/library2.test, tests/libtool.test, + tests/libtool2.test, tests/libtool3.test, tests/libtool4.test, + tests/link_c_cxx.test, tests/link_dist.test, tests/link_f_c.test, + tests/link_f_c_cxx.test, tests/link_f_cxx.test, + tests/link_f_only.test, tests/lisp.test, tests/lisp2.test, + tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test, + tests/maintclean.test, tests/make.test, tests/makevars.test, + tests/man.test, tests/man2.test, tests/mclean.test, + tests/mdate.test, tests/mdate2.test, tests/mdate3.test, + tests/mdate4.test, tests/mkinst2.test, tests/mkinstall.test, + tests/nobase.test, tests/nodefine.test, tests/nodefine2.test, + tests/nodep.test, tests/nodepcomp.test, tests/nodist.test, + tests/nodist2.test, tests/noinst.test, tests/noinstdir.test, + tests/nolink.test, tests/nostdinc.test, tests/number.test, + tests/obsolete.test, tests/order.test, tests/outdir.test, + tests/output.test, tests/output2.test, tests/output3.test, + tests/output4.test, tests/output5.test, tests/package.test, + tests/parse.test, tests/percent.test, tests/pluseq.test, + tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test, + tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test, + tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test, + tests/ppf77.test, tests/pr2.test, tests/pr204.test, + tests/pr211.test, tests/pr220.test, tests/pr224.test, + tests/pr229.test, tests/pr243.test, tests/pr266.test, + tests/pr279-2.test, tests/pr279.test, tests/pr287.test, + tests/pr300-lib.test, tests/pr300-ltlib.test, + tests/pr300-prog.test, tests/pr307.test, tests/pr72.test, + tests/pr87.test, tests/pr9.test, tests/prefix.test, + tests/primary.test, tests/primary2.test, tests/proginst.test, + tests/python.test, tests/python2.test, tests/ranlib.test, + tests/recurs.test, tests/recurs2.test, tests/remake.test, + tests/remake2.test, tests/remake3.test, tests/req.test, + tests/required.test, tests/required2.test, tests/rulepat.test, + tests/scripts.test, tests/seenc.test, tests/sinclude.test, + tests/sourcesub.test, tests/sourcesub2.test, tests/space.test, + tests/specflags.test, tests/specflags2.test, + tests/specflags3.test, tests/specflags6.test, + tests/specflags7.test, tests/specflags8.test, + tests/specflags9.test, tests/spell.test, tests/spell2.test, + tests/spell3.test, tests/spelling.test, tests/stamph.test, + tests/stamph2.test, tests/stdlib.test, tests/strip.test, + tests/subdir.test, tests/subdir2.test, tests/subdir3.test, + tests/subdir4.test, tests/subdir5.test, tests/subdir6.test, + tests/subdir7.test, tests/subdirbuiltsources.test, + tests/subdircond.test, tests/subdircond2.test, + tests/subdircond3.test, tests/subobj.test, tests/subobj2.test, + tests/subobj3.test, tests/subobj4.test, tests/subobj5.test, + tests/subobj6.test, tests/subobj7.test, tests/subobj8.test, + tests/subobj9.test, tests/subobjname.test, tests/subpkg.test, + tests/subst.test, tests/substref.test, tests/substtarg.test, + tests/suffix.test, tests/suffix10.test, tests/suffix2.test, + tests/suffix3.test, tests/suffix4.test, tests/suffix5.test, + tests/suffix6.test, tests/suffix7.test, tests/suffix8.test, + tests/suffix9.test, tests/symlink.test, tests/symlink2.test, + tests/symlink3.test, tests/syntax.test, tests/tags.test, + tests/tagsub.test, tests/target-cflags.test, tests/target.test, + tests/texinfo.test, tests/texinfo10.test, tests/texinfo13.test, + tests/texinfo16.test, tests/texinfo2.test, tests/texinfo3.test, + tests/texinfo4.test, tests/texinfo5.test, tests/texinfo6.test, + tests/texinfo7.test, tests/texinfo8.test, tests/texinfo9.test, + tests/transform.test, tests/unused.test, tests/vars.test, + tests/vars2.test, tests/vars3.test, tests/vartar.test, + tests/version.test, tests/version2.test, tests/version3.test, + tests/version4.test, tests/version5.test, tests/version6.test, + tests/vpath.test, tests/vtexi.test, tests/vtexi2.test, + tests/warnopts.test, tests/werror.test, tests/whoami.test, + tests/xsource.test, tests/yacc.test, tests/yacc2.test, + tests/yacc3.test, tests/yacc4.test, tests/yacc5.test, + tests/yacc6.test, tests/yacc7.test, tests/yacc8.test, + tests/yaccpp.test, tests/yaccvpath.test: Add copyright notice. + Source ./defs instead of $srcdir/defs. + +2002-09-05 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/distdir.am (distcheck): Strip $(srcdir) prefix on + distributed files, to workaround Sun make VPATH munging. + This fixes subdircond2.test, subdircond3.test, and subpkg.test + on Solaris. + * tests/extra6.test, tests/lex3.test, tests/pr87.test, + tests/pr9.test, tests/target-cflags.test, tests/texinfo13.test, + tests/texinfo16.test, tests/yacc7.test, tests/yaccvpath.test: + Don't require GNU make. + + * lib/am/distdir.am (distcheck): Add missing `;'. + + * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Account for + Sun make rewriting rules in VPATH builds. (Fixes gnits3.test.) + * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Likewise. + +2002-09-04 Alexandre Duret-Lutz <duret_g@epita.fr> + + For automake/354: + * lib/am/texibuild.am (%SOURCE_SUFFIX%.dvi, %SOURCE_SUFFIX%.pdf): + Don't use `-o' unless necessary. + +2002-08-25 Alexandre Duret-Lutz <duret_g@epita.fr> + + For PR automake/343: + * automake.in (scan_texinfo_file) <clean_suffixes>: Remove dvi, ps, + and pdf. + (output_texinfo_build_rules): Define %DIRSTAMP% when processing + texibuild.am. Return $dirstamp and a list of files to clean. + (handle_texinfo_helper): Process texi-vers.am after the call to + output_texinfo_build_rules and use $dirstamp to define %DIRSTAMP%. + * lib/am/texi-vers.am (%STAMPVTI%): Build %DIRSTAMP% if needed. + * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Likewise. + (%DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Depend on %DIRSTAMP%. + * tests/texinfo13.test: New file. + * tests/Makefile.am (TESTS): Add texinfo13.test. + * lib/am/texinfos.am (install-info-am, dist-info): Looks for + info files in build or source directory. + This completes the change from 2002-07-30 (for PR automake/168). + +2002-08-24 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (CLEAN, MAINTAINER_CLEAN): New constants. + (maintainer_clean_files): Replace by ... + (clean_files): ... this new variable. + (initialize_per_input, lang_yacc_target_hook, + lang_lex_target_hook): Use %clean_files instead of + @maintainer_clean_files. + (handle_clean): Rewrite, using %clean_files. + (require_build_directory_maybe): Use %clean_files instead + of %compile_clean_files. This allows using + &require_build_directory_maybe for non-compiling targets. + * lib/am/clean.am (mostlyclean-generic, clean-generic, + distclean-generic, maintainer-clean-generic): Rewrite using + %MOSTLYCLEAN_RMS%, %CLEAN_RMS%, %DISTCLEAN_RMS%, and + %MAINTAINER_CLEAN_RMS%. + + For Debian Bug#157778: + * m4/python.m4: Fix output of `python' in checking messages + when no version of Python is required. + +2002-08-23 Raja R Harinath <harinath@cs.umn.edu> + + * lib/am/depend2.am (%EXT%.lo): Fix typo. Rename the file that + was generated by gcc -MF. + +2002-08-23 Pavel Roskin <proski@gnu.org> + + * lib/am/progs.am: Exit in case of install failure, otherwise + it is ignored on Cygwin because of the surrounding "for" loop. + +2002-08-23 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.texi (Top level): More words about conditional + subdirectories. Don't mention AC_PROG_MAKE_SET. + * tests/subdircond2.test, tests/subdircond3.test: New files. + * tests/Makefile.am (TESTS): Add them. + + For PR automake/347: + * automake.in (MACRO_PATTERN): Allow `.' in variable names. + (scan_variable_expansions, check_variable_expansions): New functions. + (macro_define): Call check_variable_expansions. + (read_am_file): Likewise, when outputing rules. + (variable_conditions_recursive_sub): Simplify using + scan_variable_expansions. + * tests/vars3.test: New file. + * tests/Makefile.am (TESTS): Add vars3.test. + * tests/colneq.test: Use -Wno-portability. + + * lib/Automake/Channels.pm (buffering, backlog): New variables. + (buffer_messages, flush_messages): New functions. + (@EXPORT): Add buffer_messages and flush_messages. + * automake.in (generate_makefile): Call buffer_messages and + flush_messages to buffer warnings until AUTOMAKE_OPTIONS has + been read. + + * automake.in (read_am_file): Fix computation of path to + included file when $(top_srcdir) is not used. + * tests/include2.test: Augment. + +2002-08-22 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (set_strictness): Never enable 'portability' + warnings for now. + (usage): Adjust `-Wportability' doc. + * automake.texi (Invoking Automake): Likewise. + Suggested by Ralf Corsepius. + +2002-08-21 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of + so_location files in current directory. + + Fix for PR automake/346: + * automake.texi (Optional): Supress the documentation for + AC_PATH_XTRA, AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE, AC_FUNC_FNMATCH, + AC_FUNC_GETLOADAVG, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_OBSTACK, + AC_FUNC_STRTOD, AC_REPLACE_FUNCS, AC_REPLACE_GNU_GETOPT, + AC_STRUCT_ST_BLOCKS, AM_WITH_REGEX, AC_CHECK_TOOL, AC_CHECK_PROG, + AC_CHECK_PROGS, AC_PATH_PROG, and AC_PATH_PROGS. Augment the + documentation of AC_LIBSOURCE and AC_SUBST to explain this + applies to any macro that calls them. + +2002-08-19 Tom Tromey <tromey@redhat.com> + + For PR automake/348: + * tests/Makefile.am (TESTS): Added include2.test. + * tests/include2.test: New file. + * tests/include.test: Check to make sure include file is + distributed. + * automake.in (read_am_file): Distribute included files. + +2002-08-19 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for PR automake/345: + * tests/defs: Add support for required=non-root, stolen + from fileutils' test suite. + * tests/destdir.test: Use required=non-root. + + * tests/vtexi.test: Fix spurious failure introduced on 2002-07-30. + +2002-08-17 Tom Tromey <tromey@redhat.com> + + For PR automake/347: + * automake.in (rule_define): Given portability warning if "%" seen + in target name. + (TARGET_PATTERN): Added `%'. + * tests/Makefile.am (TESTS): Added percent.test. + * tests/percent.test: New file. + +2002-08-15 Art Haas <ahaas@neosoft.com> + + * lib/am/depend2.am: Use correct name for dependency file in + libtool fastdep case. + +2002-08-14 Art Haas <ahaas@neosoft.com> + + * lib/am/depend2.am: Added missing `;'. + +2002-08-02 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.texi (Python): Fix wording. + + * tests/ext2.test: New file. This bug is present in Automake 1.6.3 + and was fixed by the change on variable_conditions_permutations + and invert_conditions on 2002-05-16. + * tests/Makefile.am (TESTS): Add ext2.test. + Reported by Ladislav Strojil. + +2002-08-01 Alexandre Duret-Lutz <duret_g@epita.fr> + + * aclocal.in (parse_arguments): Add `dirlist' paths add the + very end of the search path, after aclocal-APIVERSION/ and + aclocal/. + * automake.texi (Macro search path): Adjust to reflect the + new ordering. + * tests/dirlist.test: Check for this. + +2002-07-31 Charles Wilson <cwilson@ece.gatech.edu> + + * aclocal.in (parse_arguments): Add support for extending + default macro search path, using a `dirlist' file within + the aclocal directory. + * automake.texi (Invoking aclocal): Move option descriptions into ... + (aclocal options): ... this new node. + (Macro search path): New node. + * tests/dirlist.test: New file. + * tests/Makefile.am (TESTS): Add dirlist.test. + * m4/dirlist: New file. + * m4/Makefile.am (EXTRA_DIST): Add dirlist. + * tests/defs: Honor any installed dirlist when searching for + libtool.m4 and gettext.m4. + +2002-07-30 Alexandre Duret-Lutz <duret_g@epita.fr> + + Build info files in builddir instead of srcdir (for PR automake/168), + and prepare support for info files in subdirecties. + * automake.in (output_texinfo_build_rules): New function. + (handle_texinfo_helper): Use output_texinfo_build_rules, and + prepare to support subdir texinfos. Define am__TEXINFO_TEX_DIR. + * lib/am/texi-vers.am: Build version.texi and stamp-vti in the + current directory, not $(srcdir). Use %STAMPVTI% to name the stamp + file. + * lib/am/texibuild.am: Rewrite to output files in the current + directory, not $(srcdir). Also, support both generic and + non-generic output. Pass `-o $@' to makeinfo, texinfo, and + texi2dvi (for PR automake/339). + * tests/texinfo3.test: Make sure the `.texi:' rule is output. + * tests/texinfo10.test: Use set -e, so the checks are not ignored. + * tests/texinfo16.test: New file. + * tests/Makefile.am (TESTS): Add texinfo16.test. + +2002-07-29 Alexandre Duret-Lutz <duret_g@epita.fr> + + * aclocal.in (write_aclocal): Don't write the filename ($output_file) + in the aclocal.m4 header. + + * configure.in: Require Autoconf 2.53b. + +2002-07-28 Alexandre Duret-Lutz <duret_g@epita.fr> + + * configure.in: Bump version to 1.6c. + + * configure.in: Bump version to 1.6b. + * lib/config.guess, lib/config.sub, lib/Automake/XFile.pm: New + upstream versions. + * automake.in: Don't write @ALLOCA@ and @LIBOBJS@ in clear text, + since this file is processed by config.status. + +2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (read_am_file): Escaped newlines in comments are not + portable. If a comment line doesn't start with a `#', add it. + * tests/comment6.test: Ensure this is done. + +2002-07-24 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix failures reported by Patrick Welche on NetBSD. + * tests/gnits2.test, tests/gnits3.test: Don't trust the exit + status of `make -k'. + * tests/obsolete.test: Source obs.1 and obs.2 from current + directory. + +2002-07-23 Patrick Welche <prlw1@newn.cam.ac.uk> + + * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add + configure.lineno. + +2002-07-23 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/required2.test: New file. + * tests/Makefile.am (TESTS): Add required2.test. + * automake.in (initialize_per_input): Remove %require_file_found + setting. This reverts my change of 2002-04-19. + (require_file_internal): Use the full name of a file as a + key in %require_file_found, not only the basename. + Reported by Andrew Suffield. + +2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (handle_subdirs): Warn if `obj' appears in SUBDIRS. + * tests/subdir7.test: New file. + * tests/Makefile.am (TESTS): Add subdir7.test. + + * lib/mkinstalldirs: Remove Id keyword. + + * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor + AM_INSTALLCHECK_STD_OPTIONS_EXEMPT. + * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise. + * automake.texi (Options) <std-options>: Document + AM_INSTALLCHECK_STD_OPTIONS_EXEMPT. + (Gnits): Reference std-options. + * tests/gnits3.test: New file. + * tests/Makefile.am (TESTS): Add gnits3.test. + Suggested by Jim Meyering. + +2002-07-20 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/gnits2.test: Use --program-prefix. Test for scripts too. + Replace the sed script by calls to grep, easier to debug. + * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Honor nobase + and $(transform). + * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise. + + * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS): + Always strip the directory part before applying $(transform), + even for nobase_ targets. + * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS): + Likewise. + * tests/nobase.test: Use --program-prefix while testing nobase + support. + +2002-07-19 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/dirname.test: Delete. We don't define _AM_DIRNAME anymore. + * tests/Makefile.am (TESTS): Remove dirname.test. + + * m4/init.m4: Require Autoconf 2.53b. + * m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN. + * m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN. + * m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise. + * m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise. + * m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise. + * m4/protos.m4 (fp_C_PROTOTYPES): Likewise. + * m4/regex.m4 (fp_WITH_REGEX): Likewise. + * m4/termios.m4: Delete. AM_SYS_POSIX_TERMIOS is now AU_DEFUNed + in m4/obsolete.m4. + * m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now + AU_DEFUNed in m4/obsolete.m4. + * m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files. + * m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4, + and obsolete.m4. Remove termios.m4 and winsz.m4. + * aclocal.in (obsolete, obsolete_rx): Remove. + (scan_configure): Don't grep for obsolete macros. + * tests/defs (AUTOUPDATE): Define. + * Makefile.am (maintainer-check): Check for misuses of autoupdate. + * tests/obsolete.test: Rewrite. Exercize the AU_DEFUN macros from + m4/obsolete.m4. + + Fix for PR automake/338: + * automake.in (seen_gettext_external): New variable. + (handle_gettext): Conditionalize the intl/ check on + $seen_gettext_external. Fix grep usage. + (scan_autoconf_traces): Set $seen_gettext_external if + `external' is passed to AM_GNU_GETTEXT. + * tests/gettext.test, tests/gettext2.test: New files. + * tests/Makefile.am (TESTS): Add gettext.test and gettext2.test. + +2002-07-18 Alexandre Duret-Lutz <duret_g@epita.fr> + Akim Demaille <akim@epita.fr> + + * m4/header.m4 (_AM_DIRNAME, _AM_STAMP, _AM_CONFIG_HEADER, + _AM_CONFIG_HEADER_INSINUATE): Remove them all. Leave just ... + (AM_CONFIG_HEADER): ... this new definition for compatibility. + * m4/init.m4: Don't call _AM_CONFIG_HEADER_INSINUATE. + (_AC_AM_CONFIG_HEADER_HOOK): New macro. + * tests/confh5.tests: Delete. + * tests/Makefile.am (TESTS): Remove confh5.tests. + +2002-07-16 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (handle_single_transform_list): Typo. + + * lib/Automake/Channels.pm (dup_channel_setup, + drop_channel_setup): New functions. + (@EXPORT): Add them. + * automake.in (generate_makefile): Call dup_channel_setup and + drop_channel_setup. + (process_option_list): Recognize --warnings and -W options. + * automake.texi (Options): Document them. + * tests/pluseq5.test: Check that -Wno-obsolete will disable the + warning. + * tests/warnopts.test: New file. + * tests/Makefile.am (TESTS): Add warnopts.test. + +2002-07-12 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in: Register warning channel `gnu'. + (set_strictness): Turn on `gnu' in --gnu and --gnits. + (usage): Mention the `gnu' category. + (%var_is_am): Replace by ... + (%var_owner): ... this, which uses ... + (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE): ... these new constants. + Adjust all uses of %var_is_am. + (handle_languages): Warn about user variables being overriden. + (require_variables): Also check %configure_vars for the existence + of a required variable. + * automake.texi (Invoking Automake): Document -Wgnu. + * tests/yacc2.test, tests/yacc3.test: Use -Wno-gnu when + we test YFLAGS. + * tests/gnuwarn.test: New file. + * tests/Makefile.am (TESTS): Add gnuwarn.test. + +2002-07-11 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for PR automake/337: + * automake.in: Redefine the `flags' attribute of each language + as a list. List CPPFLAGS in `flags' when it is used. + (register_language): Set the default value of 'flags'. + (handle_single_transform_list): Adjust to treat `flags' as a list. + (handle_languages): Likewise. Don't bother defining the + configure variable for `c', this is always done since we trace + configure.ac. + * automake.texi (etags): Use per-executable _CPPFLAGS. + (Program and Library Variables): Mention maude_CPPFLAGS. + (Program variables): Likewise. + * tests/specflags8.test: Use _CPPFLAGS instead of _CFLAGS. + * tests/specflags9.test: New file. + * tests/Makefile.am (TESTS): Add specflag9.test. + +2002-07-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.texi: Use `variable' instead of `macro' everywhere it + designates a Makefile variable. + (Texinfo): `VERSION', `UPDATED', `EDITION', and `UPDATED-MONTH' are + `flags', not `macros'. `Macro' means something else in Texinfo. + Also show how to use these flags. + * automake.in (file_contents_internal): s/macro/variable/ in + error message. + + * automake.in (parse_arguments): Call Getopt twice: once to catch + --help or --verbose, and once to process the other arguments. + (usage, verbose): Always exit 0, ignoring $exit_code (which anyway + should always be 0 because of the change to parse_arguments). + * tests/Makefile.am (TESTS): Add getopt.test. + * tests/getopt.test: New file. + +2002-07-09 Tom Tromey <tromey@redhat.com> + + For PR automake/286: + * automake.texi (Tags): Document ctags. + * automake.in (handle_tags): Handle ctags. + * lib/am/tags.am (CTAGS): New macro. + (CTAGSFLAGS): Likewise. + (ctags): New target. + (distclean-tags): Remove `tags'. + + * lib/am/depend2.am: Reworked syntax to avoid parsing problem. + + * lib/am/depend2.am: Search in srcdir and builddir for %SOURCE% + before passing to cygpath. Partial fix for PR automake/334. + +2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (generate_makefile): Suggest using AM_CPPFLAGS + instead of INCLUDES. + * tests/pluseq5.test: Check that AM_CPPFLAGS is suggested. + +2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (usage, version): Honor $exit_code. + (parse_arguments): Use fatal. + +2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.texi (Invoking Automake): Document WARNINGS. + * automake.in (switch_warning, parse_WARNINGS): New function. + (setup_warnings): Rename to ... + (parse_warnings): ... this. Move most of the code to switch_warning. + Accept a comma separated list of categories. + * tests/vars2.test: Use a comma separated list of warning categories. + +2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr> + + * NEWS (New in 1.6): Mention that libtoolize is no longer run + by automake. + +2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for PR automake/291: + * automake.in (macro_define): Catch variable names starting + with `_'. + (handle_installdirs): Rename _am_installdirs to am__installdirs. + * lib/am/data.am, lib/am/install.am, lib/am/libs.am, + lib/am/lisp.am, lib/am/ltlibs.am, lib/am/mans.am, + lib/am/progs.am, lib/am/python.am, lib/am/scripts.am, + lib/am/texinfos.am: Likewise. + * tests/canon5.test: Use -Wno-portability. + * tests/vars2.test: New file. + * tests/Makefile.am (TESTS): Add vars2.test. + +2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/defs (AUTOMAKE): Add -Wall. + * tests/outdir.test: Use -Wno-obsolete. + +2002-07-07 Tom Tromey <tromey@redhat.com> + + * m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler> + conditional. + * automake.in (handle_languages): Compute FASTDEP. + * lib/am/depend2.am: Added %FASTDEP% mode. + +2002-07-07 Tom Tromey <tromey@redhat.com> + + * automake.texi (Optional): AM_MAINTAINER_MODE is ok in Gnits mode + now. Fixes PR automake/332. + +2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/nobase.test (test-install-exec): Move all the `test -f' + tests in the Makefile so we can use $(EXEEXT) on programs. + Reported by Charles Wilson. + +2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr> + + * m4/header.m4 (AM_CONFIG_HEADER): New macro. + * tests/confh5.test: Make sure that Autoconf complains if + AM_CONFIG_HEADER or AC_CONFIG_HEADERS is called before + AM_INIT_AUTOMAKE. + +2002-07-06 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/Automake/Channels.pm: New file. + * lib/Automake/Makefile.am (dist_perllib_DATA): Add Channels.pm. + * automake.in: Use Automake::Channels and register some channels + for errors and warnings. + ($exit_status): Remove, replaced by Channels::$exit_code. + (%required_variables): Remove, Channels will filter-out duplicates + itself. + (initialize_per_input): Call reset_local_duplicates. + (prog_error): Adjust to all `msg'. + (setup_warnings): New functions. + (parse_arguments): Accept -W CATEGORY and --warnings=CATEGORY, + call setup_warnings. + (usage): Update usage text accordingly. + (macro_dump, macros_dump): Return the dump as a string instead + of printing it. + (am_install_var) <$warned_about_extra>: Remove, Channels will + filter-out duplicates itself. + (set_strictness): Turn on/off channels for each stricness. + (err, fatal, err_var, err_target, err_am, err_ac, msg_var, + msg_target, msg_am, msg_ac, reject_var, reject_target, verb): + New functions, to replace ... + (print_error, am_error, file_error, macro_error, target_error, + conf_error, file_warning): ... these functions. Remove them. + Update all the code to use the new functions. The rough + correspondance is + am_error -> err_am + file_error -> err + macro_error -> err_var + target_error -> err_target + conf_error -> err_ac + die -> fatal + macro_error if defined -> reject_var + target_error if defined -> reject_target + verbose -> verb + * automake.texi (Invoking Automake): Document -W and --warnings. + Remove the documentation for --Werror and --Wno-error. + * tests/defs: Use -Werror, not --Werror. + * tests/exeext2.test: Test that the error message + is enabled with -Wobsolete. + * tests/output5.test: Rewrite to test that Automake complains + when there is no Makefile specified. (The original test was + succeeding for the wrong reason.) + * tests/seenc.test: Don't use --Wno-error, there is no reason now + that -Werror doesn't stop after the first error. + * tests/subobj.test: Use --add-missing, and check that + `compile' is installed and that Automake says so. + * tests/subobj2.test: Don't create `compile'. + +2002-07-05 Tom Tromey <tromey@redhat.com> + + * automake.texi (Java Support): Mention --main and _LDFLAGS. + For PR automake/324. + +2002-07-04 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/asm.test: Erase Autom4te's cache between each test. + +2002-07-03 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (am_macro_for_var): Add LIBTOOL. + (ac_macro_for_var): Add RANLIB. + (seen_libtool): Remove. + (handle_libtool, lang_c_finish, define_compiler_variable, + make_paragraphs): Use + variable_defined ('LIBTOOL') instead of $seen_libtool. + (handle_languages) <%transform>: Don't set 'LIBTOOL', it is + already done in make_paragraphs. + (handle_libraries): Simplify by requiring RANLIB with + &require_variables_for_macro. + (handle_ltlibraries): Simplify by requiring LIBTOOL with + &require_variables_for_macro. + (scan_autoconf_traces): Don't trace for AC_PROG_LIBTOOL and + AM_PROG_LIBTOOL. + * tests/libtool4.test, tests/library2.test: New files. + * tests/Makefile.in (TESTS): Add libtool4.test and library2.test. + +2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (create, keyed_aclocal_warning): Delete, unused. + +2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (ac_macro_for_var): Add YACC. + +2002-07-01 Alexandre Duret-Lutz <duret_g@epita.fr> + + Handle multiple suffix rules with the same input extension. + For PR automake/37. + + * automake.in (suffix_rules_default): New variable. + (suffix_rules): Redefine as a hash of hashes of pairs. + (initialize_per_input): Setup suffix_rules_default from + suffix_rules on first call, an override suffix_rules + with suffix_rules_default on following calls. + (struct) <output_extensions>: New attribute. + (register_language): Set the default for output_extensions. + Call register_suffix_rule for each suffix. + (derive_suffix, handle_languages): Adjust to the new definition + of $suffix. + (register_suffix_rule): New function. + (rule_define): Call register_suffix_rule. + * tests/suffix8.test, tests/suffix9.test, tests/suffix10.test: + New files. + * tests/Makefile.am (TESTS): Add them. + +2002-06-30 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (am_macro_for_var, ac_macro_for_var, + required_variables): New variables. + (am_c_prototypes, seen_prog_lex, am_lispdir_location, + pythondir_location): Remove. + (initialize_per_input): Clear %required_variables. + (require_variables, require_variables_for_macro): New functions. + (handle_languages): Call &require_variables for $lang->config_vars. + (handle_compile): Call &require_variables_for_macro for the + ANSI2KNR and U variables. + (handle_emacs_lisp): Call &require_variables for EMACS and libdir. + (handle_python): Call &require_variables for PYTHON. Don't + explicitly allow `python' as a prefix for PYTHON. + (scan_autoconf_traces): Don't scan AC_PROG_LEX, AM_C_PROTOTYPES, + AM_PATH_LISPDIR, and AM_PATH_PYTHON. + (scan_autoconf_traces) <AC_SUBST>: Don't filter out ANSI2KNR and + AMDEPBACKSLASH here... + (define_configure_variable): ... do this here. + (am_primary_prefixes): Probe the existence of ${X}dir using + &require_variables_for_macro. If a standard prefix is not + legitimate, say so. Ignore all configure variables. + * tests/ansi8.test, tests/cxx2.test, tests/gcj5.test, + tests/lisp2.test, tests/python2.test: New files + * tests/Makefile.am (TESTS): Add them. + * tests/asm.test: Grep stderr. + * tests/lex2.test: Rewrite to test that Automake suggests AM_PROG_LEX. + * tests/python.test: Make sure py-compile is installed. + +2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR, + COMPILE_LIBTOOL, COMPILE_ORDINARY): Redefine as constants. + Adjust all occurrences. + +2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr> + + * aclocal.in: Add local variables so that Emacs setups GNU style + for perl-mode and cperl-mode. + * automake.in: Likewise. + (WHITE_PATTERN, RULE_PATTERN, SUFFIX_RULE_PATTERN, MACRO_PATTERN, + ASSIGNMENT_PATTERN, IF_PATTERN, ELSE_PATTERN, ENDIF_PATTERN, + INCLUDE_PATTERN, EXEC_DIR_PATTERN): Write $ as "\$" to please + perl-mode. + +2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr> + + * Makefile.am (fetch): Fetch install-sh from Autoconf CVS. + * lib/config.sub, lib/install-sh: New upstream versions. + +2002-06-26 Paul Eggert <eggert@twinsun.com> + + * Makefile.am (maintainer-check): Don't assume that egrep exists; + this fixes a portability bug introduced in the 2002-06-08 fix for + PR automake/317. + +2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (required_targets): Add ps and ps-am. + (initialize_per_input): Reset them. + (handle_texinfo_helper): Fill @pss_list, and define the + PSS make variable. + * lib/am/texinfos.am (RECURSIVE_TARGETS): Add ps-recursive. + (ps, ps-am): New targets. + * automake.texi (Auxiliary Programs) <texinfo.tex>: Mention + `make ps' and `make pdf'. + (Texinfo): Document `make ps', `make pdf', and `make dvi'. + (Extending): The `ps' and `pdf' targets support a `-local' version. + +2002-06-26 Art Haas <ahaas@neosoft.com> + + * automake.texi: s/.../@dots{}/. + +2002-06-26 Alexandre Duret-Lutz <duret_g@epita.fr> + + * configure.in: Check that ln works, fall back to `cp -p'. + * Makefile.am (install-exec-hook): Use $(LN) instead of ln. + Reported by Andreas Buening. + +2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in: Register &lang_lex_target_hook for lex and lexxx. + (lang_lex_target_hook): New function. + * tests/lex3.c: Complete to check that maintainer-clean erases + Lex's output. + Reported by Flavien Astraud. This was lost on 2001-06-23 too. + +2002-06-21 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (lang_yacc_target_hook): Add $output to + @maintainer_clean_files. This was lost on 2001-06-23. + * tests/yacc7.test, tests/yacc4.test: Complete to check + that maintainer-clean erases YACC's output files, + respectively with and without `-d'. + Reported by Flavien Astraud. + +2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/lang-compile.am (%FPFX%DEPMODE): Delete. This is now + traced from configure.ac. + + * automake.in (macro_define): Don't accept to override an AC_SUBST + or Automake variable in a new condition. + * tests/cond23.test, tests/cond24.test: New file. + * tests/Makefile.am (TESTS): Add cond23.test and cond24.test. + Reported by Patrik Weiskirchre. + +2002-06-19 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/nobase.test, tests/pr204.test, tests/pr300-lib.test, + tests/pr300-ltlib.test, tests/pr300-prog.test, + tests/specflags7.test, tests/specflags8.test, tests/subdir5.test, + tests/subobj6.test, tests/subpkg.test, tests/transform.test: + Require gcc. + +2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/libtool2.test: Use required=libtoolize. + * tests/install2.test: Use required=gzip. + +2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/defs (required): Handle bison; set YACC automatically. + * tests/pr204.test, tests/yacc4.test, tests/yacc8.test, + tests/yaccvpath.test: Require bison. Don't set YACC. + +2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/defs (required): Handle `gcc' and `g++'; automatically + export CC and CXX when they are required. + * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test, + tests/cond4.test, tests/cond16.test, tests/cond18.test, + tests/cond19.test, tests/depcomp2.test, tests/depend2.test, + tests/lex3.test, tests/pr87.test, tests/pr220.test, + tests/substref.test, tests/target-cflags.test, tests/yacc4.test, + tests/yaccvpath.test: Require gcc. Don't pass CC=gcc to + configure. + * tests/subobj9.test: Require g++. + +2002-06-18 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/defs (required): Handle `GNUmake'. + (needs_gnu_make): Don't define anymore. + * tests/cond4.test, tests/cond18.test, tests/cond19.test, + tests/dollar.test, tests/exsource.test, tests/extra6.test, + tests/lex3.test, tests/make.test, tests/pr9.test, tests/pr87.test, + tests/subdir5.test, tests/target-cflags.test, tests/yacc7.test, + tests/yaccvpath.test: Use `required=GNUmake' instead of + `$needs_gnu_make'. + +2002-06-17 Paolo Bonzini <bonzini@gnu.org> + + * automake.in (process_option_list): Recognize std-options. + (handle_options): Enable std-options in gnits strictness. + (am_install_var): If std-options, enable CK-OPTS section. + * lib/am/scripts.am (installcheck-am): New target. + * lib/am/progs.am (installcheck-am): New target. + * tests/gnits2.test: New file. + * tests/Makefile.am (TESTS): Add gnits2.test. + * automake.texi (Gnits, Options): Document std-options. + +2002-06-17 Kevin Ryde <user42@zip.com.au> + + * automake.in (scan_texinfo_file): Add tmp to @clean_suffixes, + as generated by recent texinfo.tex. + +2002-06-14 Alexandre Duret-Lutz <duret_g@epita.fr> + + * m4/header.m4 (AM_CONFIG_HEADER): Rename to ... + (_AM_CONFIG_HEADERS): ... this. + (_AM_CONFIG_HEADER_INSINUATE): Define AC_CONFIG_HEADERS to + call _AM_CONFIG_HEADERS; and AM_CONFIG_HEADER to call + AC_CONFIG_HEADERS. + * automake.in (scan_autoconf_traces): Trace AC_CONFIG_HEADERS + instead of AM_CONFIG_HEADER. + * tests/autoheader2.test: New file. + * tests/Makefile.am (TESTS): Add autoheader2.test. + Suggested by Raja R Harinath. + +2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr> + + * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): Use m4_copy instead + of m4_rename so that AC_CONFIG_HEADER is never undefined and + therefore still traced after the redefinition. + * tests/defs (AUTOHEADER): Define. + * tests/autoheader.test: New file. + * tests/Makefile.am (TESTS): Add autoheader.test. + Reported by Braden McDaniel. + +2002-06-13 Paolo Bonzini <bonzini@gnu.org> + + * automake.in (check_gnu_standards): In --gnu mode, accept + one of COPTING, COPYING.LESSER, or COPYING.LIB. + (common_files): Add COPYING.LESSER. + * automake.texi (Gnits): Document this. + +2002-06-13 Paolo Bonzini <bonzini@gnu.org> + + * automake.in (required_targets): Add the pdf and pdf-am targets. + (initialize_per_input): Likewise. + (scan_texinfo_file): Add pdf to @clean_suffixes. + (handle_texinfo_helper): Output the .pdf dependencies, and define + the PDFS variable. + * lib/am/texinfos.am (TEXI2PDF): New variable. + (pdf, pdf-am): New targets. + (.PHONY): Add pdf, pdf-am, and pdf-recursive. + * lib/am/texibuild.am (.%SUFFIX%.pdf): New rule. + +2002-06-13 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix pr307.test failure with gcc 3.x. + * lib/depcomp (dashmstdout): Strip the call to libtool, and + replace `-o $object' by `-o /dev/null' before running "$@" + to generate dependencies. + (cpp): Strip the call to libtool as well as `-o $object'. + +2002-06-12 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/depcomp (tru64): Expect dependency files in .libs/, maybe as + $base.lo.d, when libtool is used. + Reported by Nicolas Joly. + +2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/java.am (class%DIR%.stamp): Don't run $(JAVAC) when there + is no file to compile. + * tests/java2.test: New file. + * tests/Makefile.am (TESTS): Add java2.test. + Reported by Braden N. McDaniel. + +2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/maintclean.test: Don't check for autom4te.cache if + it's not created by Autoconf. + Reported by Bernd Jendrissek. + +2002-06-11 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.texi (Tests): Document site.exp. Update DejaGnu's url. + +2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/header-vars.am (transform): Define. + Was removed by mistake on 2002-04-13. + * tests/transform.test: New file. + * tests/Makefile.am (TESTS): Add transform.test. + Reported by Nicolas Joly. + +2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/dollar.test: Require GNU make. + * tests/maintclean.test: Don't use `export YACC=false'. Pass + YACC=false to configure instead. + +2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL, + INSTALL: New upstream versions. + +2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/sinclude.test: Check for m4_include too. + +2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/sinclude.test: Rename the package as amsinclude; + am__sinclude still trigers the sinclude macro once it has been + converted to am--sinclude. + Reported by Nicolas Joly. + +2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.texi (API versioning): Typo. + +2002-06-10 Nicolas Joly <njoly@pasteur.fr> + + * THANKS (Nicolas Joly): Remove duplicate. + +2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * Makefile.am (maintainer-check): Fix $MAKE -e detection. + * tests/yacc7.test: Use rm -f. + +2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/defs (ACLOCAL, AUTOMAKE): Use absolute paths. + * tests/subpkg.test: New file. + * tests/Makefile.am (TESTS): Add subpkg.test. + +2002-06-09 Alexandre Duret-Lutz <duret_g@epita.fr> + + For PR automake/318: + * tests/nobase.test: Rewrite to test _HEADERS, _DATA, _SCRIPTS, + _PROGRAMS, _LIBRARIES, and _LTLIBRARIES. + * lib/am/scripts.am (install-%DIR%SCRIPTS, + uninstall-%DIR%SCRIPTS): Honor nobase_; strip the directory by + default. + (?%DIR%SCRIPT_INSTALL): New variable. + * lib/am/header-vars.am (install_sh_SCRIPT): New variable. + Reported by Eric Siegerman. + +2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (lang_yacc_target_hook): Add rule to recover from + the removal of $header. + * lib/am/yacc.am (%BASE%.h): Remove (duplicate with the one + output by lang_yacc_target_hook). + * tests/yacc7.test: Try to recreate foo.h after its removal. + * tests/yacc8.test: Add `AM_YFLAGS = -d' and try to recreate + parse.h too. + Reported by Bernd Jendrissek. + +2002-06-08 Alexandre Duret-Lutz <duret_g@epita.fr> + + For PR automake/317: + * Makefile.am (maintainer-check): Disallow `for f in $(FILES)', + suggest `list='$(FILES)'; for f in $$list' instead. + * lib/am/distdir.am (distdir): Adjust `for' usage. + * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise. + * tests/dollar.test: New file. + * tests/Makefile.am (TESTS): Add dollar.test. + Reported by Eric Siegerman and Philip Fong. + +2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr> + + For PR automake/47 (fixed a long time ago): + * tests/yacc7.test: Also check that parser sources are distributed. + +2002-06-06 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): New variable. + (distclean): Use it. + (maintainer-clean): Delete autom4te.cache and + $(am__CONFIG_DISTCLEAN_FILES). + * tests/maintclean.test: New file. + * tests/Makefile.am (TESTS): Add maintclean.test. + +2002-06-05 Miloslav Trmac <trmac@popelka.ms.mff.cuni.cz> + + * lib/am/dejagnu.am (site.exp): Quote build_alias, host_alias, and + target_alias. + +2002-05-31 Alexandre Duret-Lutz <duret_g@epita.fr> + + * Makefile.am (maintainer-check): Check for egrep and fgrep. + + * test/cond22.test: Set SHELL when calling $MAKE -e. + +2002-05-31 Richard Boulton <richard@tartarus.org> + + Fix PR automake/326: + * automake.in (define_objects_from_sources): Calculate the result in + all conditions before passing this to subobjname to pick a name to + store the result in. + (subobjname): Expect a list of condition/value pairs as input. + Combine this list and use it as the key to determine the variable name. + * test/cond22.test: New file. + * tests/Makefile.am (TESTS): Add cond22.test + +2002-05-30 Paul Eggert <eggert@twinsun.com> + + * lib/am/distdir.am (distdir): Don't assume that 'grep -F' works; + instead, use shell pattern matching. + +2002-05-29 Paul Eggert <eggert@twinsun.com> + + Don't assume that egrep and fgrep exist, as POSIX 1003.1-2001 no + longer requires them. + + * Makefile.am (maintainer-check): Use grep -E and grep -F instead + of egrep and fgrep. Omit unnecessary -E and -F. + Fix quoting typo -- "fgrep '\$${'" should have been "fgrep '$${'". + * lib/am/distdir.am (distdir): fgrep -> grep -F. + Use $(), not ${}, for Make variables. + * lib/am/texinfos.am (install-info-am, uninstall-info-am): + fgrep -> grep + * m4/make.m4 (AM_MAKE_INCLUDE): Likewise. + * tests/defs: Set FGREP and EGREP. + + * tests/aclocali.test, tests/acoutput2.test, tests/all.test, + tests/ansi.test, tests/ansi4.test, tests/colon3.test, + tests/cond21.test, tests/condlib.test, tests/confh4.test, + tests/confsub.test, tests/cxxansi.test, tests/cxxo.test, + tests/depend4.test, tests/discover.test, tests/distname.test, + tests/dup3.test, tests/empty4.test, tests/fo.test, + tests/implicit.test, tests/insh2.test, tests/interp.test, + tests/lex.test, tests/lex3.test, tests/lex4.test, + tests/libobj5.test, tests/libobj7.test, tests/make.test, + tests/makevars.test, tests/nostdinc.test, tests/parse.test, + tests/pluseq.test, tests/pluseq4.test, tests/pluseq6.test, + tests/pr2.test, tests/pr9.test, tests/seenc.test, + tests/specflags.test, tests/specflags3.test, + tests/specflags6.test, tests/subobj.test, tests/subobj2.test, + tests/suffix3.test, tests/texinfo.test, tests/texinfo6.test, + tests/texinfo8.test, tests/vtexi.test, tests/yacc3.test, + tests/yacc6.test: fgrep -> $FGREP, egrep -> $EGREP + +2002-05-24 Alexandre Duret-Lutz <duret_g@epita.fr> + + For PR automake/323: + * m4/depend.m4: Missing comma. + * tests/gcj4.test: New file. + * tests/Makefile.am (TESTS): Add gcj4.test. + Reported by David Pashley. + +2002-05-22 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/defs (configure.in): Don't double-quote $me. + * tests/sinclude.test: Overwrite configure.in and use + `am__sinclude' instead of `sinclude' as package name. + Excercise `m4_sinclude' instead of `sinclude'. + +2002-05-20 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (conditional_implies_one_of): Rename as ... + (conditional_implies_any): ... this. + * tests/pluseq9.test: Exercise another case with the new + `C' variable. + Suggested by Raja R Harinath. + +2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/defs (configure.in): Quote macro arguments. + Reported by Nicolas Joly. + +2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/header-vars.am (build_triplet, host_triplet, + target_triplet): Define. Were removed by mistake on 2002-04-13. + +2002-05-17 Alexandre Duret-Lutz <duret_g@epita.fr> + + For PR automake/186: + * lib/am/distdir.am (distcheck): Attempt a DESTDIR install. + * tests/destdir.test: New file. + * tests/Makefile.am (TESTS): Add destdir.test. + +2002-05-16 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (conditional_true_when): Return false if $WHEN == FALSE. + (conditional_is_redundant): Simplify. + (conditional_implies_one_of, + variable_not_always_defined_in_cond): New functions + (macro_define): Reject appends if the variable is not defined in + all conditions where `+=' applies. + (invert_conditions): Rewrite. Before this patch, + invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE") + would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems + wrong (these conditions implies "A_FALSE"). Now it outputs (), + which just means the input conditions cover all cases. + (variable_conditions_permutations): Never output FALSE conditions. + * tests/pluseq2.test, tests/pluseq3.test: Define data_DATA + in the CHECK_FALSE condition to fix the test. + * tests/pluseq5.test: Actually check the diagnostic. + * tests/pluseq9.test: New file. + * tests/Makefile.am (TESTS): Add pluseq9.test. + +2002-05-14 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for PR automake/322: + * automake.in (read_am_file): Rename $was_rule as $prev_state, and + set it with IN_RULE_DEF, IN_VAR_DEF, or IN_COMMENT as appropriate. + Handle comments continued by backslashes. + * tests/comment6.test: New file. + * tests/Makefile.am (TESTS): Add comment6.test. + Reported by Braden N. McDaniel. + +2002-05-08 Charles Wilson <cwilson@ece.gatech.edu> + Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/progs.am (clean-%DIR%PROGRAMS): If Libtool is used, clean + both `program$(EXEEXT)' and `program'; needed under Cygwin. + * tests/libtool3.test: New file. + * tests/Makefile.am (TESTS): Add libtool3.test. + +2002-05-07 Alexandre Duret-Lutz <duret_g@epita.fr> + + * TODO: Undust. + +2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr> + + * Makefile.am (FETCHFILES, fetch): Get INSTALL from Autoconf CVS. + +2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr> + + Erase stamps from the Makefile that generates them. + + * automake.in (handle_configure): Append each used stamp to + @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this + file is not used anymore. + * lib/am/clean.am (distclean-generic): Don't erase stamp-h and + stamp-h[0-9]*. + * tests/subdir6.test: New file. + * tests/Makefile.am (TESTS): Add it. + +2002-05-06 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for condd.test (conditional `+='): + * automake.in (%appendvar): New. + (initialize_per_input): Clear it. + (macro_define): Handle += for variable defined in another condition. + * automake.texi (Conditional Sources): Use conditional += in + the example. + (General Operation, Conditionals): Remove note about broken +=. + * tests/cond21.test: New file. + * tests/condd.test: Also test conditional append to a _SOURCE + variable. Create missing directories. + * tests/Makefile.am (TESTS): Add cond21.test. + (XFAILS): Remove condd.test. + +2002-05-05 Tom Tromey <tromey@redhat.com> + + * automake.texi (Program and Library Variables): Mention _LFLAGS. + +2002-04-30 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Erase so_locations + files. Fix subobj9.test on OSF and IRIX. + Reported by Nelson H. F. Beebe. + +2002-04-26 Tom Tromey <tromey@redhat.com> + + * lib/am/dejagnu.am (distclean-DEJAGNU): New target. + For Debian bug 144221. + +2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e. + +2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (subobjname): Use the length of %subobjvar + instead of $subobjnamenum. + (subobjnamenum): Remove. + +2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr> + + For PR automake/307: + * lib/depcomp: Never compute dependencies in the background, this + can cause races with libtool. Compute the dependencies after + the actual compilation. Don't make libtool silent now that + it's run in the foreground. + * tests/pr307.test: New file. + * tests/Makefile.am (TESTS): Add pr307.test. + Reported by Laurent Morichetti. + +2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/check.am: Show skipped tests. Display the + $(PACKAGE_BUGREPORT) address on failure. + +2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix PR automake/315: + * automake.in (subobjname): Rewrite to generate variable name + unique for each content. + (%substnums): Remove. + (%subobjvar): New hash. + (initialize_per_input): Clear %subobjvar. + (define_objects_from_sources): Return the name of the variable + defined, in addition to the linker. Call subobjname only once + the content of the variable to define is known. + (handle_source_transform): Adjust call to define_objects_from_sources. + * tests/specflags8.test: Mention PR 315. + * tests/subobjname.test: New file. + * tests/Makefile.am (XFAIL_TESTS): Remove specflags8.test. + (TESTS): Add subobjname.test. + +2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr> + + * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Grep + the whole file for 'generated by automake', not only the + first line. This accounts for post-processed Makefile.in's. + * tests/postproc.test: New file. + * tests/Makefile.am (TESTS): Add postproc.test. + +2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr> + + For PR automake/151 and PR automake/314: + * automake.texi (A Program): Split into + (Program Sources, Linking, Conditional Sources, Conditional + Programs): ... these subsections; moving the Linking node + before the Conditional discussions. + (Conditional Sources): More details. Notably, mention + hello_DEPENDENCIES. + (Conditionals): Adjust reference to Conditional Programs. + +2002-04-19 Paul Eggert <eggert@twinsun.com> + + Fix some bugs when using "$@" when there might be zero positional + arguments in cases where this matters. Zsh doesn't support + the workaround ${1+"$@"} that has been used by Automake since + the Mon Dec 4 11:55:36 1995 change. + + * aclocal.in: Use 'case' statement to work around problem. + * automake.in: Likewise. + * lib/ylwrap: Likewise. + * lib/missing: No need for workaround, as the command is never + invoked with zero arguments. + * tests/ccnoco.test: Likewise. + * missing: Update from lib/missing. + +2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (initialize_per_input): Clear %require_file_found. + (%require_file_found): Group the declaration with the other + variables initialized by initialize_per_input. + * tests/required.test: New file. + * tests/Makefile.am (TESTS): Add it. + Reported by Marius Vollmer. + +2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr> + + * m4/header.m4 (_AM_CONFIG_HEADER_INSINUATE): New function, + override AC_CONFIG_HEADERS with AM_CONFIG_HEADER. + (_AM_CONFIG_HEADER): Use _AM_AC_CONFIG_HEADERS. + * m4/init.m4: Call _AM_CONFIG_HEADER_INSINUATE. + * tests/stamph2.test: Use AC_CONFIG_HEADERS for some of the config + files. + * tests/confh5.test: New file. + * tests/Makefile.am (TESTS): Add confh5.test. + * automake.texi (Optional, Public macros): Update descriptions + of AC_CONFIG_HEADERS and AM_CONFIG_HEADER. + +2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/man2.test: New file. + * tests/Makefile.am (TESTS): Add man2.test. + * lib/am/mans.am (install-man%SECTION%): Change the extension + of the man pages being installed, as documented. + +2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr> + + Enable traces; wipe out the old configure.in parser. + + * automake.in (scan_autoconf_traces): Use '$ENF{AUTOCONF}' of + 'autoconf'. Honnor the $filename argument. + (scan_autoconf_files): Don't call scan_one_autoconf_file. + Always call scan_autoconf_traces. + (scan_one_autoconf_file): Remove, with it associated regexes. + (obsolete, obsolete_rx): Remove. + (register_language, handle_languages): Remove the 'define_flag' + support. Remove it from the struct and language definitions too. + (unquote_m4_arg): Remove. + * lib/am/header-vars.am, lib/am/compile.am, lib/am/lisp.am: Remove + the `FOO = @FOO@' definitions for all AC_SUBST'ed variables. They + are now generated automatically. + * aclocal.in (obsolete_macros): Don't mention obsolete_macros in + automake.in. + * automake.texi (Invoking Automake): Mention the AUTOCONF envvar. + +2002-04-13 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/version6.test: New file. + * tests/Makefile.am (TESTS): Add tests/version6.test. + * automake.in (version_check): Return 0 on equality. + +2002-04-13 Andreas Schwab <schwab@suse.de> + + * THANKS: Update my mail address. + +2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/discover.test: Use a full configure.in that calls AC_INIT. + Use AC_LIBOBJ. Grep the error message. + * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in. + Grep the error message. Require libtool. + * tests/ldflags.test: Don't use LIBOBJS. + * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the + error messages for CC and CXX. + +2002-04-12 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR + and AMDEPBACKSLASH. + * tests/distcommon2.test: Use a full configure.in that calls AC_INIT. + * tests/ext.test: Enable dependencies for OBJC. + * tests/libobj.test, tests/libobj6.test, tests/libobj9.test: + Delete. They tests for different flavors of $LIBOBJS assignments + that wont be supported anymore. + * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ. + * tests/obsolete.test: Don't test Automake. + * tests/suffix5.test: Require libtool. + * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and + libobj9.test. + +2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * configure.in (APIVERSION): Fix definition. + +2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * NEWS: Catch up with changes since 1.6. + +2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/yacc8.test: Don't assume GNU make, run config.status + to regenerate the Makefile. + +2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * Makefile.am (maintainer-check): Make sure `$MAKE -e' is + always followed by a SHELL setting. + * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: Set + SHELL when calling `$MAKE -e'. + +2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/subobj9.test: Use configure.in, not configure.ac, + otherwise this fails with old libtool versions. + +2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream + versions. + +2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr> + + * ChangeLog.2001: New file, extracted from ChangeLog. + * Makefile.am (EXTRA_DIST): Add it. + +2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.texi (Canonicalization): The sources for libmumble++.a + go into libmumble___a_SOURCES. + +2002-04-07 Alexandre Duret-Lutz <duret_g@epita.fr> + + * Makefile.am (maintainer-check): Check for `sleep 1' uses in the + test suite. Suggest `sleep 2' instead. + * tests/confsub.test: Use `sleep 2'. + +2002-04-04 Paul Eggert <eggert@twinsun.com> + + * lib/am/subdirs.am: + ($(RECURSIVE_TARGETS), maintainer-clean-recursive): + $(MAKEFLAGS) -> $$MAKEFLAGS, so that we don't run into problems if + MAKEFLAGS contains '$(...)'. + +2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/specflags8.test: Typo. + +2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/specflags6.test: Run aclocal. + * tests/Makefile.am (TESTS): Add specflags6.test. + +2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/specflags7.test, tests/specflags8.test: New files. + * tests/Makefile.am (TESTS): Add them. + (XFAIL_TESTS): Add specflags8.test. + +2002-03-29 Tom Tromey <tromey@redhat.com> + + * automake.in (check_typos): Examine AM_LDFLAGS. + Fixes PR automake/311. + + For PR automake/312: + * lib/am/libtool.am (clean-libtool): Use LTRMS. + * automake.in (handle_single_transform_list): When processing a + libtool object, clean the ordinary object and register the + directory. + (libtool_clean_directories): New global. + (initialize_per_input): Initialize it. + (generate_makefile): Call handle_libtool later. + (handle_libtool): Handle libtool_clean_directories. + * tests/subobj9.test: New file. + * tests/Makefile.am (TESTS): Added subobj9.test. + +2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/extra6.test, tests/subdir5.test: Require GNU make. + +2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/dup3.test (ACLOCAL): s/srcdir/testsrcdir/. + +2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/extra7.test: New file. + * tests/Makefile.am: Add it. + * lib/am/distdir.an (distdir): When a distribuable directory + exists both in `.' and $(srcdir), merge both directories. This + works around a failure of extra6.test on Tru64 reported by + Nicolas Joly. + +2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/pr87.test, tests/yaccvpath.test: Require GNU make. + +2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr> + + * Makefile.am (maintainer-check): Catch occurrences of + `$MAKE foo=bar' in the testsuite. Suggest using + `foo=bar $MAKE -e' instead. + * tests/ansi3.test, tests/ansi5.test, tests/subobj3.test: + Use $MAKE -e. This fixes a ansi5.test failure with Solaris make. + * tests/defs: Unset $srcdir, and set $testsrcdir to its old value. + * tests/installsh.test (AUTOMAKE, ACLOCAL): Use $testsrcdir. + +2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for PR automake/310: + * lib/am/depend2.am, lib/am/lex.am, lib/am/yacc.am: Quote %SOURCE% + so it never appears as a plain word. + +2002-03-25 Angus Leeming <a.leeming@ic.ac.uk> + + * lib/depcomp (tru64): Correctly compute `base'. + +2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/pr211.test: s/requires/required/, otherwise the test fails + if libtool is not installed. + +2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/dirname.test: Don't use $SHELL when calling ./configure. + +2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/dirname.test: Use --quiet to fix failure on installations + using a site script. + Reported by Nicolas Joly. + +2002-03-21 Alexandre Duret-Lutz <duret_g@epita.fr> + + * Makefile.am (maintainer-check): Check for misuses of make, + autoconf, automake, aclocal, and perl in the testsuite. Suggest + using $MAKE, $AUTOCONF, $AUTOMAKE, $ACLOCAL, and $PERL instead. + * tests/confsub.test: Use $AUTOCONF and $MAKE. + * tests/extra5.test, tests/extra6.test, tests/lex5.test, + tests/nobase.test, tests/nodist2.test, tests/pr204.test, + tests/pr224.test, tests/pr287.test, tests/strip.test, + tests/yacc8.test: Use $MAKE. + +2002-03-20 Alexandre Duret-Lutz <duret_g@epita.fr> + + Add support for two-dot versions. + + * tests/version5.test: New file. + * tests/Makefile.am (TESTS): Add it. + * automake.in (version_split, version_compare): New functions. + (version_check): Rewrite using version_split and version_compare. + (process_option_list): Adjust regex. + +2002-03-18 Richard Boulton <richard@tartarus.org> + + Fix for PR automake/306: + * automake.texi (Generalities): Document +=. + (Conditionals): Document limitations of += with conditionals. + +2002-03-17 Tom Tromey <tromey@redhat.com> + + Fix for PR automake/295: + * automake.texi (Invoking Automake): Deprecate --output-dir. + * automake.in (usage): Don't document --output-dir. + (output_directory): Don't initialize. + (parse_arguments): Deprecate --output-dir. + + * m4/init.m4 (AUTOMAKE, ACLOCAL): Removed extra quotes. + Fixes PR automake/304. + +2002-03-17 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/dirforbid.test: Workaround for NetBSD sh bug. + Fixes PR automake/305. + +2002-03-11 Richard Boulton <richard@tartarus.org> + + * automake.in (check_typos): Allow variables with reserved + suffices (such as _LDFLAGS) and prefixes which aren't + recognised if the variable is defined in configure.ac. + Fixes acsubst.test. + +2002-03-11 Richard Boulton <richard@tartarus.org> + + * tests/acsubst.test: New test, by Alexandre Duret-Lutz + * tests/acsubst2.test: New test, by Alexandre Duret-Lutz + * tests/Makefile.am (TEST): Added acsubst.test and acsubst2.test + +2002-03-11 Peter Breitenlohner <peb@mppmu.mpg.de> + + * tests/defs: Unset DESTDIR, otherwise `make DESTDIR=/foo check' + causes failures. + +2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for PR automake/303: + * automake.in (version_check): Move the error message ... + (process_option_list): ... here, so we can distinguish between + global and local options. + +2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/pr300-lib.test, tests/pr300-ltlib.test, + tests/pr300-prog.test: Use AC_OUTPUT, not AC_OUTPUT(Makefile), so + Autoconf doesn't complain about Makefile being output twice. + +2002-03-06 Tom Tromey <tromey@redhat.com> + + * configure.in: Upped version to 1.6a. + +2002-03-05 Tom Tromey <tromey@redhat.com> + + * configure.in: Released 1.6. + +2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for PR automake/300: + * tests/pr300-lib.test, tests/pr300-ltlib.test, + tests/pr300-prog.test: New files. + * tests/Makefile.am (TESTS): Add them. + * automake.in (handle_ltlibraries): Strip nobase_ prefix to + compute the directory. + * lib/am/header-vars.am (install_sh_PROGRAM): New variable. + * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): New variable. + (install-%DIR%LIBRARIES): Use it. Honor nobase_. + (uninstall-%DIR%LIBRARIES): Honor nobase_. + * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): New variable. + (install-%DIR%LTLIBRARIES): Use it. Honor nobase_. + (uninstall-%DIR%LTLIBRARIES): Honor nobase_. + * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): New variable. + (install-%DIR%PROGRAMS): Use it. Honor nobase_. + (uninstall-%DIR%PROGRAMS): Honor nobase_. + See also the fix for nobase.test on 2001-11-09. + +2002-03-05 Tom Tromey <tromey@redhat.com> + + * lib/config.sub, lib/config.guess, lib/texinfo.tex: Updated. + +2002-03-05 Pavel Roskin <proski@gnu.org> + + * tests/yacc8.test: Add a command between "test" and "cd" to + work around a bug in bash-2.05. + +2002-03-05 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for PR automake/294: + * tests/dirforbid.test: New file. + * tests/Makefile.am (TESTS): Add it. + * automake.in (standard_prefix): New hash. + (am_primary_prefixes): Forbid standard_prefixes which are not + explicitely allowed. + * automake.texi (Uniform): Remove FIXME. + +2002-03-05 Jim Meyering <meyering@lucent.com> + + * automake.in (@common_files): Add config.rpath. + +2002-03-05 Kevin Ryde <user42@zip.com.au> + + For PR automake/297: + * lex.m4 (AM_PROG_LEX): Don't set LEX=${am_missing_run}flex until + after AC_PROG_LEX, since it will try to run it and fail (in autoconf + 2.52 at least). + +2002-02-25 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (scan_one_autoconf_file): Declare + LEX_OUTPUT_ROOT and LEXLIB as configure variables when + AM_PROG_LEX or AC_PROG_LEX are seen. This allows to ... + * lib/am/lex.am: ... remove the LEX_OUTPUT_ROOT and LEXLIB + definitions. Search %SOURCE% in $(srcdir). Use s||| instead + of s/// in the sed invocation, to support filenames containing + slashes. + * lib/am/yacc.am: Search %SOURCE% in $(srcdir). Use s||| too. + * tests/lex5.test, tests/yacc8.test: New files. + * tests/Makefile.am (TESTS): Add them. + +2002-02-23 Per Bothner <per@bothner.com> + + * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Set `dirpart' to + `.' in else branch. + +2002-02-22 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/make.test: Revert the grep logic to work around a bug + in NetBSD sh (see NetBSD Problem Report #11542). + Reported by Patrick Welche. + +2002-02-20 Tim Van Holder <tim.van.holder@pandora.be> + + * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS + to try and prevent a non-lisp emacs from starting in interactive + mode. + * automake.texi: Document this change. + +2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.texi (Macros): Split into ... + (Public Macros, Private Macros): ... these. + +2002-02-19 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/insthook.test: Use sed instead of "tail +X". + +2002-02-18 Paul Eggert <eggert@twinsun.com> + + * lib/depcomp: Don't use "tail +3"; it's not portable to + POSIX 1003.1-2001 hosts. + +2002-02-18 Jim Meyering <meyering@lucent.com> + + * tests/cond12.test: Use sed 1q, not `head -n 1'. + The latter is not portable to some old systems. + * m4/depout.m4: Don't use `head -1'; it's no longer portable. + Use `sed 1q' instead. + * tests/insthook.test: Likewise. + +2002-02-17 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (handle_lib_objects_cond): Tell the user to put + global linker flags in AM_LDFLAGS, not LDFLAGS. + + * automake.texi (General Operation): AC_SUBST'ed variables + override Automake's variables. + (Uniform): More words and @refs. + (Auxiliary Programs) <config.sub, config.guess>: Add URL. + (etags): More explanations about the first example. + (Invoking Automake): Mention autoreconf. More @refs. + (Requirements): Mention AC_CONFIG_FILES. + (Optional): AC_CHECK_TOOL will no longer install config.sub and + config.guess. Mention AC_LIBOBJ, AC_LIBSOURCE, and AC_LIBSOURCES. + (Invoking aclocal): aclocal no longer warn about duplicates. + (Macros) <AM_INIT_AUTOMAKE>: More explanations. + (Extending aclocal): Suggest using the output of + `aclocal --print-ac-dir` to install third-party macros. + (Alternative): Specify ordering of dist_, nodist_, and nobase_ + prefixes. + (A Program): Mention scripts. The global LDADD variable is not + meant to hold link flags, suggest using AM_LDFLAGS instead. + (Program and Library Variables) <maude_LIBADD, maude_LDADD>: + _LIBADD and _LDADD are subject to the same restriction wrt to + link flags. + (Program and Library Variables) <maude_DEPENDECIES>: Is also + derived from maude_LIBADD. + (Program variables): Define AM_LDFLAGS. + (Dependencies): Passing the no-dependencies option to + AM_INIT_AUTOMAKE is prefered. + (Scripts): Explain why automake is magically cleaned. + Mention noinst_SCRIPTS and check_SCRIPTS. + (Data): Use dist_ in Automake's example. + (Dist): Reference AM_INIT_AUTOMAKE for PACKAGE and VERSION. + Mention AC_CONFIG_FILES instead of AC_OUTPUT. + +2002-02-14 Alexandre Duret-Lutz <duret_g@epita.fr> + + * Makefile.am (FETCHFILES): Add Automake/XFile.pm. + (fetch): Fetch XFile.pm. Update the files in $(srcdir) instead + of asking the maintainer to do it manually. + * lib/config.guess, lib/config.sub, lib/texinfo.tex, + Automake/XFile.pm: New upstream versions. + +2002-02-02 Tom Tromey <tromey@redhat.com> + + * automake.texi (Macros): Warn about upgrading. + +2002-02-01 Tom Tromey <tromey@redhat.com> + + Change per GNU coding standards: + * aclocal.in (parse_arguments): Only mention most recent year in + copyright output. + * automake.in (version): Only mention most recent year. + +2002-01-30 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.texi (API versioning): New Node. + (Extending): Use $(DESTDIR) in examples. + +2002-01-28 Akim Demaille <akim@epita.fr> + + * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5. + Respect the --help layout. + +2002-01-27 Tom Tromey <tromey@redhat.com> + + * configure.in: Bumped to 1.5e. + + * lib/am/yacc.am: Use `rm -f'. + + * configure.in: Released 1.5d. + + * lib/config.guess: New version from FSF. + + * Makefile.am (uninstall-hook): New target. + +2002-01-24 Akim Demaille <akim@epita.fr> + + * lib/install-sh: Update, from Autoconf. + +2002-01-24 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (scan_one_autoconf_file): Don't treat AC_CHECK_TOOL + as AC_CANONICAL_HOST (the former does not require the latter since + Autoconf 2.50). + * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Check for strip. + * automake.texi (Requirements): Do not require STRIP to be + defined by the user. + +2002-01-23 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/depend.am (distclean-depend): Erase %DEPDIRS%, not $(DEPDIRS). + * automake.in (handle_languages): Compute and substitute %DEPDIRS%. + * tests/pr224.test: Make sure .deps subdirectories are + erased by distclean. + +2002-01-22 Tom Tromey <tromey@redhat.com> + + * m4/gcj.m4 (AM_PROG_GCJ): Don't invoke dependency code if + no-dependencies option is set. + * m4/init.m4 (AM_INIT_AUTOMAKE): Don't invoke dependency code if + no-dependencies option is set. Don't call AM_DEP_TRACK or + AM_SET_DEPDIR. + +2002-01-22 Pavel Roskin <proski@gnu.org> + + * tests/asm.test: Use CCAS and CCASFLAGS instead of AS and + ASFLAGS. + +2002-01-22 Akim Demaille <akim@epita.fr> + + * Makefile.am (FETCHFILES): Remove ansi2knr.c, add texinfo.tex. + (fetch): Adjust. + +2002-01-21 Tom Tromey <tromey@redhat.com> + + * Makefile.am (fetch): Don't fetch ansi2knr. + + * automake.texi (Macros): Updated for new variable names. + (Program and Library Variables): Likewise. + (Assembly Support): Likewise. + * m4/as.m4: Use CCAS and CCASFLAGS. + * automake.in (asm): Use CCAS and CCASFLAGS. + +2002-01-21 Akim Demaille <akim@epita.fr> + + * automake.in (&parse_arguments): Use a more GNUish error message + on wrong options. + +2002-01-20 Tom Tromey <tromey@redhat.com> + + Fix for PR automake/231: + * m4/gcj.m4 (AM_PROG_GCJ): Use _AM_DEPENDENCIES(GCJ). + * m4/depend.m4: Document `GCJ'. + + For PR automake/224: + * tests/Makefile.am (TESTS): Added pr224.test. + * tests/pr224.test: New file. + * lib/depcomp: Fixed computation of depfile. + * lib/am/depend2.am: Use %DEPBASE%, not $(DEPDIR). + * automake.in (handle_single_transform_list): Only reject `..' + component for Java. Put dependencies in directory near object. + (handle_languages): Set DEPBASE. Handle de-ansi-fication. + +2002-01-20 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/defs: Export AUTOMAKE and ACLOCAL. + +2002-01-19 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for PR automake/204: + * tests/pr204.test: New file. + * tests/Makefile.am (TESTS): Add it. + * automake.in (handle_single_transform_list): Don't distribute + sources derived from non-distributed sources. + +2002-01-18 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for PR automake/229: + * tests/pr229.test: New file. + * tests/Makefile.am (TESTS): Add it. + * automake.in (scan_one_autoconf_file): Recognize AC_CYGWIN, + AC_EMXOS2, and AC_MINGW32. + +2002-01-18 Tom Tromey <tromey@redhat.com> + + * tests/cond7.test: Fix test bug exposed by copyright update. + + For PR automake/288: + * automake.in (lang_c_rewrite): Don't prepend directory to base if + directory is `.'. Also, properly compute de_ansi_files entry in + subdir-objects case + * tests/Makefile.am (TESTS): Added ansi7.test. + * tests/ansi7.test: New file. + + * aclocal.in (parse_arguments): Added 2002. + (write_aclocal): Likewise. + (parse_arguments): Updated my email address. + * automake.in (gen_copyright): Added 2002. + (version): Likewise. Also, changed my email address. + + * configure.in (APIVERSION): Refined definition. + +2002-01-18 Tom Tromey <tromey@redhat.com> + + * missing: Updated. + * lib/missing: Accept versioned aclocal. + * m4/init.m4 (AM_INIT_AUTOMAKE): Look for versioned aclocal. + +2002-01-17 Pavel Roskin <proski@gnu.org> + + * m4/Makefile.am (m4datadir): Use APIVERSION. + +2002-01-16 Tom Tromey <tromey@redhat.com> + + * Makefile.am (install-exec-hook): Use APIVERSION. + * m4/init.m4 (AM_INIT_AUTOMAKE): Use am__api_version. + * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__api_version from + APIVERSION. + * automake.in (perllibdir): Use APIVERSION. + (libdir): Likewise. + * aclocal.in (perllibdir): Use APIVERSION. + (APIVERSION): New global. + (parse_arguments): Use APIVERSION. + * configure.in (APIVERSION): New subst. + (pkgvdatadir): Use APIVERSION. + +2002-01-15 Tom Tromey <tromey@redhat.com> + + * missing: Updated. + * lib/missing: Match against `automake*' to pick up versioned + automake. + * m4/init.m4 (AM_INIT_AUTOMAKE): Use versioned automake name. + * m4/amversion.in (AM_AUTOMAKE_VERSION): Set am__version + variable. + * lib/am/Makefile.am (amdir): Use pkgvdatadir. + * lib/Makefile.am (dist_pkgvdata_DATA): Renamed to use + pkgvdatadir. + (scriptdir): Use pkgvdatadir. + (installcheck-local): Likewise. + * lib/Automake/Makefile.am (perllibdir): Use pkgvdatadir. + * automake.in (perllibdir): Added VERSION. + (libdir): Likewise. + * aclocal.in (parse_arguments): Search versioned directory. Don't + push unversioned directory unless it exists. + (perllibdir): Added VERSION. + (default_acdir): New global. + * m4/Makefile.am (m4datadir): Added $(VERSION). + * Makefile.am (install-exec-hook): New target. + * configure.in (ACLOCAL): Search build directory. + (pkgvdatadir): New subst. + +2002-01-15 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/config.sub, lib/config.guess: New versions from FSF. + +2002-01-13 Tom Tromey <tromey@redhat.com> + + For PR automake/288: + * automake.in (lang_c_rewrite): Set value for de_ansi_files entry + to directory. + (lang_c_finish): Likewise. Also, use directory information from + de_ansi_files. + +2002-01-13 Kevin Ryde <user42@zip.com.au> + + For PR automake/288: + * tests/Makefile.am (TESTS): Added ansi6.test. + * tests/ansi6.test: New file. + +2002-01-13 Tom Tromey <tromey@redhat.com> + + For PR automake/287: + * lib/am/distdir.am (distdir): Use `$$list' trick when looping + over subdirs. + * tests/Makefile.am (TESTS): Added pr287.test. + * tests/pr287.test: New file. + +2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/distdir.am (distdir): Handle subdirectories. + * tests/extra6.test: New file. + * tests/Makefile.am (TESTS): Add it. + +2002-01-13 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/extra2.test: Run $ACLOCAL. + +2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr> + + * m4/init.m4 (AM_INIT_AUTOMAKE): Set PACKAGE and VERSION from + AM_INIT_AUTOMAKE arguments when using the old-style call. + Use AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION in the new form only. + Suggested by Pavel Roskin. + +2002-01-12 Alexandre Duret-Lutz <duret_g@epita.fr> + + * test/nodefine.test, test/nodefine2.test: Check that no-define + works, not the contrary... + * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset. + * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define, + not the contrary. + +2002-01-12 Jim Meyering <meyering@lucent.com> + + * automake.in (scan_one_autoconf_file): Unquote AC_LIBOBJ argument. + * tests/libobj11.test: New file. + * tests/Makefile.am (TESTS): Add libobj11.test. + +2002-01-09 Ryan T. Sammartino <ryants@shaw.ca> + + * lib/depcomp (msvisualcpp): Strip -Gm, -Gi, and -ZI options. + +2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (file_contents_internal): Introduce two variables, + $is_rule and $discard_rules to track rules spanning across multiple + paragraphs. This fixes a very nasty bug reported by Dmitry Mikhin + where only the first paragraph of such a multi-paragraph rule was + discarded; but it leaves many similar latent bugs (see the FIXMEs). + +2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/dup3.test: Remove all -I from $ACLOCAL before using it. + * tests/error.test: Use some macro names which are not defined by + Automake itself. + +2002-01-09 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.texi (Complete, Macros, Options): Document the new style + AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion. + * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from + AC_INIT if they are available there. Support a new call form + where the only argument is an optional space-separated list of + Automake options. + * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove. + (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS, + _AM_IF_OPTION): New functions. + * automake.in (AC_INIT_PATTERN): New variable. + (global_options_line): Remove, use $seen_init_automake instead. + (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version + from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE. + Remove the AM_AUTOMAKE_OPTIONS handling. + * configure.in: Modernize. + * tests/defs (configure.in): Modernize. One third of the tests + still overwrite the default configure.in and use an old + AM_INIT_AUTOMAKE call, so that makes testing for both. + * tests/nodefine.test, tests/nodefine2.test: New files. + * tests/Makefile.am (TESTS): Add them. + +2002-01-08 Raja R Harinath <harinath@cs.umn.edu> + + * automake.in (define_configure_variable): Propagate line numbers. + +2002-01-08 Alexandre Duret-Lutz <duret_g@epita.fr> + + * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.2. + +2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr> + + * configure.in: Run the Autoconf test in a subdirectory, then + erase this directory. + +2002-01-07 Alexandre Duret-Lutz <duret_g@epita.fr> + + * configure.in (AUTOMAKE): Create m4/amversion.m4. + * m4/amversion.in: New file. + * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ... + (dist_m4data_DATA): ... this. + (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4. + * m4/init.m4 (AM_INIT_AUTOMAKE): Require + AM_SET_CURRENT_AUTOMAKE_VERSION. + * automake.in (seen_automake_version): New variable. + (scan_autoconf_traces, scan_one_autoconf_file, + scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain + when the version used in aclocal.m4 differs from Automake's. + * tests/defs (ACLOCAL): Look in ../m4 too. + * tests/installsh.test (ACLOCAL): Likewise. + * tests/installdir.test (installdirs-local): Run $ACLOCAL. + +2002-01-06 Raja R Harinath <harinath@cs.umn.edu> + + * automake.in (handle_languages): Emit an automake + internal variable 'am__depfiles_maybe'. + * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe. + + * lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to + config.status. + +2002-01-06 Tom Tromey <tromey@redhat.com> + + * automake.texi (Tags): Document new variables. + * lib/am/tags.am (ETAGS): New macro. + (ETAGSFLAGS): Likewise. + (TAGS): Use them. + +2002-01-04 Tom Tromey <tromey@redhat.com> + + * configure.in (ACLOCAL): Set perllibdir. From Nicolas Joly. + +2002-01-04 Alexandre Duret-Lutz <duret_g@epita.fr> + + * automake.in (read_am_file): Thinko in "comment following + trailing backslash" detection. + * tests/comment5.test: Test for this too. + +2002-01-02 Tom Tromey <tromey@redhat.com> + + * automake.texi (Extending): Added index for uninstall-hook. + +2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for PR automake/278: + * m4/python.m4 (AM_PYTHON_CHECK_VERSION): Use `sys.hexversion' to cope + with versions such as '2.2c1'. Also, use `int' instead of the + obsoleted `string.atoi'. + Reported by Enrico Scholz. + +2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr> + + Fix for PR automake/280: + * automake.in (read_am_file): Warn about trailing backslashes + in comments. + * tests/comment5.test: New file. + * tests/Makefile.am (TESTS): Add comment5.test. + Reported by Enrico Scholz. + +2002-01-02 Alexandre Duret-Lutz <duret_g@epita.fr> + + * tests/comment4.test: New file. + * tests/Makefile.am (TESTS): Add comment4.test. + + Fix for comment4.test: + * automake.in (read_am_file): Output leading comments only when + encountering white lines. + +2002-01-01 Tom Tromey <tromey@redhat.com> + + For PR automake/234: + * tests/Makefile.am (TESTS): Added strip.test. + * tests/strip.test: New file. + + * automake.texi (Extending): Mention uninstall-hook. + (Install): Likewise. + * automake.in (handle_factored_dependencies): Allow + uninstall-hook. + +2002-01-01 Alexandre Duret-Lutz <duret_g@epita.fr> + + * lib/am/install.am (install-strip): Set INSTALL_STRIP_FLAG=-s, + it is needed by install-%DIR%LTLIBRARIES in ltlib.am. + This fixes a bug introduced on 2001-01-28. + Reported by Jared Davis. + +----- + +Copyright (C) 2002-2012 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, are +permitted provided the copyright notice and this notice are preserved. diff --git a/old/ChangeLog.03 b/old/ChangeLog.03 new file mode 100644 index 000000000..b7e8c6a8c --- /dev/null +++ b/old/ChangeLog.03 @@ -0,0 +1,2971 @@ +2003-12-31 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (generate_makefile): Update misleading comment. + + * automake.in (handle_languages): Define %DEPBASE% conditionally + on subdir-objects. Define SUBDIROBJ. Do not clean *_.c files + here ... + (lang_c_finish): ... do it here. + (handle_single_transform_list): Do not output specific rules for + subdir-objects files which are not renamed. This should reduce + the size of Makefiles with lots of subdirectory sources. + * lib/depcomp: Simplify computation of dependency output, and use + DEPDIR. + * lib/am/depend2.am (%EXT%.o, %EXT%.obj, %EXT%.lo): Adjust call + to depcomp. Compute depbase on-the-fly in generic fastdep rules + for subdir-objects. + * tests/ansi9.test: Do not grep for an explicit rule that + we no longer expect. Really run $MAKE to make sure the chain + of rules works. + * tests/yacc5.test: Do not grep for an explicit rule that + we no longer expect. Adjust to use set -e. + +2003-12-27 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (@common_files): Move configure, configure.ac, and + configure.in ... + (@common_sometimes): ... here so that these files do not appear + twice in DIST_COMMON. + + * automake.in (maybe_push_required_file): Add $(srcdir) in front + a required files outside the current directory or its subdirectories. + * lib/am/distdir.am (distdir): Update comment. + Report from Nicolas Joly. + +2003-12-26 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (@copying): Do not repeat the version. + (Top): Use @insertcopying. Add a @detailmenu, this works around + Emacs 21's inability to lookup indices in sub-nodes (reported + by Kevin Ryde). + (C++ Support, Assembly Support, Fortran 77 Support, Java Support, + Support for Other Languages, Preprocessing Fortran 77, Compiling + Fortran 77 Files, Mixing Fortran 77 With C and C++, How the Linker + is Chosen): Add missing descriptions in menus. + (Fortran 77 and Autoconf): Remove, this node was just saying "use + Autoconf 2.53 or greater". + +2003-12-26 Santiago Vila <sanvila@unex.es> (tiny change) + + * NEWS: s/Gettext 1.12.1/Gettext 0.12.1/ + +2003-12-25 Nicolas Joly <njoly@pasteur.fr> (tiny change) + + * doc/automake.texi (Conditional Sources): Typo. + +2003-12-25 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Config.in: Require Exporter. + Report from Kevin Ryde (failure with Perl 5.005_03). + +2003-12-15 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/aclocal6.test: Check for autom4te.cache only if it has + been created. + * tests/maintclean.test: Update comment. + Report from Bruno Haible. + + * tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test: + Require texi2dvi-o. + Report from Václav Haisman. + +2003-12-10 Alexandre Duret-Lutz <adl@gnu.org> + + * configure.ac, NEWS: Bump version to 1.8a. + + * configure.ac, NEWS: Bump version to 1.8. + + * lib/texinfo.tex: New upstream version. + + * Makefile.am (INSTALL): Copy the source from $(srcdir). + +2003-12-09 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Rule.pm (define): Remove debugging traces. + Report from Akim Demaille. + +2003-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change) + Alexandre Duret-Lutz <adl@gnu.org> + + * Makefile.am (do_subst): Fix the substitution of @configure_input@. + (automake, aclocal): Create the output atomically and make it + read-only, as done in the Autoconf package. + * lib/Automake/Makefile.am (do_subst): Fix the substitution of + @configure_input@. + (Config.pm): Create the output atomically and make it read-only. + * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Substitute + @configure_input@ and make the output read-only. + * lib/Automake/Config.in, m4/amversion.in, tests/aclocal.in, + tests/automake.in, tests/defs.in: Add a @configure_input@ line. + +2003-12-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change) + + * doc/automake.texi (Local Macros, CVS): Typos. + +2003-12-08 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Variable.pm (hook): Use $$ as prototype, not $\&. + Perl 5.6.0 will not accept a reference sub reference for the + latter. + * automake.in (var_SUFFIXES_trigger): Adjust registration via + Automake::Variable::hook. + (handle_texinfo_helper): Make sure `inner_expand => 1' appears + on one line, so that Perl 5.6.0 does not complain about + inner_expand being a bare identifier. + +2003-12-05 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in (check_acinclude, scan_file): Output `warning:' in + front of warnings. + Report from Pavel Roskin. + +2003-12-04 Alexandre Duret-Lutz <adl@gnu.org> + + * TODO: Remove some old entries. + + * doc/automake.texi (Rebuilding): Document CONFIGURE_DEPENDENCIES + and CONFIG_STATUS_DEPENDENCIES. Move this sections later + in the manual since it's pretty advanced material. + + * automake.in ($config_header_location): Remove. Use + %ac_config_files_location instead. + (rewrite_inputs_into_dependencies): Do not prepend $(top_builddir)/ + at the top-level. + (handle_configure): Use rewrite_inputs_into_dependencies to + distribute and compute AC_CONFIG_HEADERS dependencies. + (scan_autoconf_traces) <AC_CONFIG_HEADERS>: Fill + %ac_config_files_location. + * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Rename as ... + (%CONFIG_HIN%): ... this. $(srcdir) is already added in + scan_autoconf_traces. + * tests/Makefile.am (TESTS): Add confh5.test. + * tests/confh5.test: New file. + + * tests/ltlibsrc.test: Fix the zoo_d_old2_la.c rule in Makefile.am, + $< is not portable and the source is in $(srcdir). + +2003-12-03 Paolo Bonzini <bonzini@gnu.org> + Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_configure): Do not require link sources if + they contain a dollar, or if they were built. Likewise, do not + clean link destination if they contain a dollar. + (scan_autoconf_traces) <AC_CONFIG_LINKS>: Populate + %ac_config_files_location with link destinations. Do not + store locations in @config_links, now that %ac_config_files_location + have them. + * tests/conflnk3.test: New file. + * tests/Makefile.am (TESTS): Add conflnk3.test. + +2003-12-02 Alexandre Duret-Lutz <adl@gnu.org> + + * configure.ac, NEWS: Bump version to 1.7i. + + * configure.ac, NEWS: Bump version to 1.7h. + + * doc/automake.texi (Default _SOURCES): Fix reference to true. + + * lib/texinfo.tex: New upstream version. + +2003-11-30 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_source_transform): If it's present, use + libfoo_la.c instead of libfoo.c as the default source of + libfoo.la, and issue an -Wobsolete diagnostic. Do not be + greedy in the suffix replacement regex. + * doc/automake.texi (Default _SOURCES): New node. + (Program Sources, Libtool Modules): Refer to it. + * tests/ltlibsrc.test: Update to check for old default source files. + +2003-11-30 Gary V. Vaughan <gary@gnu.org> + + * automake.in (&handle_source_transform): Calculate a default file + for use in the absence of an appropriate _SOURCES declaration by + first stripping any suffix from the unxformed target name, and + appending `.c'. + * doc/automake.texi (Program Sources, Libtool Modules): Document this. + * tests/ltlibsrc.test: New file. + * tests/Makefile.am (TESTS): Add ltlibsrc.test. + +2003-11-29 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Variable.pm (loc_and_value_as_list_recursive, + _value_as_list_recursive_worker): Merge into ... + (value_as_list_recursive): ... this function. Pass options + as a hash argument, and use the `location' option to trigger + the behavior of loc_and_value_as_list_recursive. + (traverse_recursively, transform_variable_recursively): Take + options as a %options argument. + (_do_recursive_traversal): Perform expansion of inner variables + (as in `$(FILE).ext') on request. + * automake.in (handle_options, check_libobjs_sources) + (handle_source_transform, handle_LIBOBJS, handle_ltlibraries) + (handle_ltlibraries, handle_man_pages, handle_dist) + (handle_gettext, am_install_var): Adjust usage of + value_as_list_recursive. + (handle_texinfo_helper): Pass inner_expand to + value_as_list_recursive. + * tests/txinfo28.test: New file. + * tests/Makefile.am (TESTS): Add txinfo28.test. + Report from Ralf Corsepius. + + * lib/Automake/Variable.pm (_do_recursive_traversal): Do not + update @_substfroms and @_substfroms for undefined variables. + * tests/substre2.test: New file. + * tests/Makefile.am (TESTS): Add substre2.test. + + * lib/Automake/VarDef.pm (value): Rename as ... + (raw_value): ... this. + (value): New method, strip # and \\\n. + (dump): Use raw_value. + * lib/Automake/Variable.pm (output): Use raw_value. + (value_as_list): Simplify, now that backslash and comments + are already removed. + * tests/txinfo22.test: Make sure Automake isn't confused + by comments in variables. + +2003-11-27 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi: More target vs. rule editing. Back out some + of the previous changes. It's OK to talk about targets as "entry + points", or as thing to build, but targets cannot be run: rules + are run. + + * doc/automake.texi: s/target/rule/ where appropriate. A target + is the destination of a target rule, not the rule itself. + Suggested by Bruno Haible. + +2003-11-25 Alexandre Duret-Lutz <adl@gnu.org> + + * configure.ac, NEWS: Bump version to 1.7g. + + * configure.ac, NEWS: Bump version to 1.7f. + + * automake.in (prepend_srcdir): Parenthesize @inputs to remove + a maintainer-check warning. + * tests/subst2.test: Rewrite the $MAKE invocation to please + maintainer-check. + + * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream + versions. + + * doc/automake.texi (Program variables): Mention per-target + _CPPFLAGS in the documentation of INCLUDES. + * automake.in (generate_makefile): Likewise in the INCLUDES diagnostic. + Report from Bob Friesenhahn. + + * doc/automake.texi (Extending): Elaborate on overriding. + * NEWS: Likewise. + Suggested by Bruno Haible. + +2003-11-24 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Variable.pm (output): Add $(am__empty) to variable + definitions that end with a line full of @substitutions@ that + would confuse HP-UX Make if it were blank. + (transform_variable_recursively): Make sure not to erase empty + variables. + * tests/Makefile.am (TESTS): Add subst2.test. + * tests/subst2.test: New file. + Report from Harlan Stenn. + + * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Work around a + Texinfo 4.1 bug. + Report from Dalibor Topic. + +2003-11-22 Alexandre Duret-Lutz <adl@gnu.org> + + Fix for PR automake/411: + * automake.in (rewrite_inputs_into_dependencies): Simplify, and rename + into ... + (prepend_srcdir): ... this. + (rewrite_inputs_into_dependencies): New function, extracted from ... + (handle_configure): ... here. Adjust to use prepend_srcdir + or rewrite_inputs_into_dependencies where needed. Especially, + using (the new) rewrite_inputs_into_dependencies to compute + Makefile dependencies will fix PR/411. + * lib/am/configure.am (DIST_COMMON): Remove %MAKEFILE-IN%, it's + already distributed by rewrite_inputs_into_dependencies. + * tests/Makefile.am (TESTS): Add output10.test, remove distcom.test. + * tests/colon3.test: Use set -e. Don't allow any AUTOMAKE + invocation refer to zardoz. Make sure two.in and three.in + appear as $(srcdir)/two.in and $(srcdir)/three.in dependencies. + * tests/distcom.test: Delete. This is covered by tests/output9.test. + * tests/output10.test: New file, for PR/411. + +2003-11-21 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (append_exeext): Do not append $(EXEEXT) to + @substitutions@. + * tests/exeext4.test: New file. + * tests/Makefile.am (TESTS): Add exeext4.test. + +2003-11-19 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/configure.am (%MAKEFILE%): Remove %MAINTAINER-MODE%, + mistakenly added on 2001-03-05. + * tests/remake5.test: New file. + * tests/Makefile.am (TESTS): Add remake5.test. + Report from Ralf Corsepius. + +2003-11-18 Alexandre Duret-Lutz <adl@gnu.org> + + * configure.ac, NEWS: Bump version to 1.7e. + + * configure.ac, NEWS: Bump version to 1.7d. + + * lib/config.sub, lib/config.guess, lib/texinfo.tex: New + upstream versions. + +2003-11-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl> (tiny change) + Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/texinfos.am (install-info): Depend on + install-info-recursive or install-info-am even if no-installinfo. + * tests/txinfo27.test: New file. + * tests/Makefile.am (TESTS): Add txinfo26.test. + +2003-11-18 Paolo Bonzini <bonzini@gnu.org> + Alexandre Duret-Lutz <adl@gnu.org> + + * lib/ylwrap: Do not overwrite headers if they haven't changed. + Fix the include guard substitution. + * tests/yacc6.test: Augment to run ylwrap, and make sure it + does not needlessly update headers. + * tests/yacc8.test: Make sure headers are not needlessly updated + with ylwrap is not used. Move `test -f foo.o' into the + Makefile as `test -f foo.$(OBJEXT)' for portability. + +2003-11-17 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (generate_makefile): Define SUBDIRS if it is + not defined and DIST_SUBDIRS is. + * tests/subpkg2.test: New file. + * tests/Makefile.am (TESTS): Add subpkg2.test. + Report from Gary V. Vaughan. + + * tests/suffix11.test: Check for suffixes containing `-'. + * lib/Automake/Rule.pm ($_SUFFIX_RULE_PATTERN): Accept `-' in + suffixes. + + * lib/Automake/Rule.pm (define): Suggest using target-local instead + of target-am, not target-am-local. + * tests/overrid.test: Check the diagnostic for clean-am. + Report from Bruno Haible. + +2003-11-17 Jim Meyering <jim@meyering.net> + + * bootstrap: Require not only that `perl' have the executable + bit set, but also that it is not a directory. + + * lib/am/configure.am: Mark %MAKEFILE% as `.PRECIOUS'. + +2003-11-17 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (ac_config_files_location): Declare as a hash. + (handle_configure): Rewrite the computation of AC_CONFIG_FILES + dependencies; make sure we don't use $(srcdir) or $(top_srcdir) + for inputs which are also outputs, and do not check inputs + relatively to the current directory. + (scan_autoconf_config_files): Take $where as argument, and + fill $ac_config_files_location. + * tests/output8.test, tests/output9.test: New files. + * tests/Makefile.am (TESTS): Add output8.test and output9.test. + Report from Bruno Haible. + +2003-11-14 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/aclibobj.test, tests/aclocal.test, tests/aclocal3.test, + tests/acoutbs.test, tests/acoutbs2.test, tests/acoutnoq.test, + tests/acoutpt.test, tests/acoutpt2.test, tests/acoutqnl.test, + tests/acsilent.test, tests/acsubst.test, tests/acsubst2.test, + tests/all.test, tests/alpha.test, tests/amassign.test, + tests/ammissing.test, tests/ansi.test, tests/ansi10.test, + tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test, + tests/ansi4.test, tests/ansi5.test, tests/ansi6.test, + tests/ansi7.test, tests/ansi9.test, tests/ar.test, + tests/autohdr.test, tests/autohdr2.test, tests/auxdir.test, + tests/auxdir2.test, tests/backsl.test, tests/backsl2.test, + tests/badprog.test, tests/block.test, tests/canon2.test, + tests/canon3.test, tests/canon4.test, tests/canon5.test, + tests/ccnoco.test, tests/check.test, tests/check2.test, + tests/check3.test, tests/checkall.test, tests/clean.test, + tests/colneq2.test, tests/colon.test, tests/colon2.test, + tests/colon3.test, tests/colon4.test, tests/colon5.test, + tests/colon6.test, tests/colon7.test, tests/comment.test, + tests/comment2.test, tests/comment4.test, tests/comment6.test, + tests/comment7.test, tests/compile_f_c_cxx.test, tests/cond.test, + tests/cond10.test, tests/cond11.test, tests/cond13.test, + tests/cond14.test, tests/cond15.test, tests/cond16.test, + tests/cond17.test, tests/cond18.test, tests/cond19.test, + tests/cond21.test, tests/cond22.test, tests/cond25.test, + tests/cond26.test, tests/cond28.test, tests/cond3.test, + tests/cond4.test, tests/cond5.test, tests/cond6.test, + tests/cond7.test, tests/cond8.test, tests/cond9.test, + tests/condd.test, tests/condinc.test, tests/condlib.test, + tests/condman.test, tests/condman2.test, tests/conf2.test, + tests/confdeps.test, tests/confh.test, tests/confh4.test, + tests/config.test, tests/confincl.test, tests/conflnk.test, + tests/conflnk2.test, tests/confsub.test, tests/confvar.test, + tests/confvar2.test, tests/copy.test, tests/ctarget1.test, + tests/cxx.test, tests/cxxansi.test, tests/cxxcpp.test, + tests/cxxlibobj.test, tests/cxxlink.test, tests/cxxnoc.test, + tests/cxxo.test, tests/cygwin32.test, tests/dash.test, + tests/defun.test, tests/defun2.test, tests/dejagnu.test, + tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test, + tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test, + tests/depcomp.test, tests/depcomp2.test, tests/depcomp4.test, + tests/depdist.test, tests/depend.test, tests/depend2.test, + tests/depend3.test, tests/depend4.test, tests/destdir.test, + tests/dirlist.test, tests/discover.test, tests/distcom.test, + tests/distcom2.test, tests/distdir.test, tests/distname.test, + tests/dollar.test, tests/double.test, tests/dup2.test, + tests/empty.test, tests/empty2.test, tests/empty3.test, + tests/empty4.test, tests/error.test, tests/exdir.test, + tests/exeext.test, tests/exeext3.test, tests/exsource.test, + tests/ext.test, tests/ext2.test, tests/extra.test, + tests/extra2.test, tests/extra3.test, tests/extra4.test, + tests/extra5.test, tests/extra6.test, tests/extra7.test, + tests/flibs.test, tests/fnoc.test, tests/fo.test, + tests/fonly.test, tests/fortdep.test, tests/fpinst2.test, + tests/fpinstall.test, tests/gcj.test, tests/gcj3.test, + tests/gcj4.test, tests/gnits2.test, tests/gnits3.test, + tests/header.test, tests/implicit.test, tests/include.test, + tests/include2.test, tests/info.test, tests/insh2.test, + tests/install2.test, tests/installdir.test, tests/instdat.test, + tests/instdat2.test, tests/instexec.test, tests/insthook.test, + tests/instman.test, tests/instman2.test, tests/instsh.test, + tests/instsh2.test, tests/interp.test, tests/interp2.test, + tests/java.test, tests/java2.test, tests/javaprim.test, + tests/javasubst.test, tests/ldadd.test, tests/ldflags.test, + tests/lex.test, tests/lex3.test, tests/lex4.test, tests/lex5.test, + tests/libobj11.test, tests/libobj2.test, tests/libobj4.test, + tests/libobj5.test, tests/libobj7.test, tests/libobj8.test, + tests/library.test, tests/libtool.test, tests/libtool2.test, + tests/libtool3.test, tests/libtool5.test, tests/link_c_cxx.test, + tests/link_dist.test, tests/link_f_only.test, tests/link_fc.test, + tests/link_fccxx.test, tests/link_fcxx.test, tests/lisp.test, + tests/listval.test, tests/ltdeps.test, tests/ltlibobjs.test, + tests/maintclean.test, tests/make.test, tests/makej.test, + tests/makevars.test, tests/man.test, tests/man2.test, + tests/mclean.test, tests/mdate.test, tests/mdate2.test, + tests/mdate3.test, tests/mdate4.test, tests/mkinst2.test, + tests/mkinstall.test, tests/nobase.test, tests/nodef.test, + tests/nodef2.test, tests/nodep.test, tests/nodepcomp.test, + tests/nodist.test, tests/nodist2.test, tests/nodist3.test, + tests/noinst.test, tests/noinstdir.test, tests/nolink.test, + tests/nostdinc.test, tests/number.test, tests/obsolete.test, + tests/order.test, tests/outdir.test, tests/output.test, + tests/output2.test, tests/output3.test, tests/output4.test, + tests/parse.test, tests/phony.test, tests/pluseq.test, + tests/pluseq10.test, tests/pluseq2.test, tests/pluseq3.test, + tests/pluseq4.test, tests/pluseq6.test, tests/pluseq8.test, + tests/postproc.test, tests/ppf77.test, tests/pr2.test, + tests/pr204.test, tests/pr220.test, tests/pr224.test, + tests/pr229.test, tests/pr243.test, tests/pr266.test, + tests/pr279-2.test, tests/pr279.test, tests/pr287.test, + tests/pr300-lib.test, tests/pr300-ltlib.test, + tests/pr300-prog.test, tests/pr307.test, tests/pr72.test, + tests/pr87.test, tests/pr9.test, tests/prefix.test, + tests/proginst.test, tests/python.test, tests/python3.test, + tests/python4.test, tests/python5.test, tests/python6.test, + tests/python7.test, tests/python8.test, tests/python9.test, + tests/recurs2.test, tests/remake.test, tests/remake2.test, + tests/remake3.test, tests/req.test, tests/reqd.test, + tests/rulepat.test, tests/scripts.test, tests/sinclude.test, + tests/space.test, tests/specflg3.test, tests/specflg6.test, + tests/specflg7.test, tests/specflg8.test, tests/specflg9.test, + tests/spell3.test, tests/spelling.test, tests/spy.test, + tests/stamph2.test, tests/stdlib2.test, tests/strip.test, + tests/subcond.test, tests/subcond2.test, tests/subcond3.test, + tests/subdir.test, tests/subdir2.test, tests/subdir3.test, + tests/subdir4.test, tests/subdir5.test, tests/subdir6.test, + tests/subdirbuiltsources.test, tests/subobj.test, + tests/subobj2.test, tests/subobj3.test, tests/subobj4.test, + tests/subobj5.test, tests/subobj6.test, tests/subobj7.test, + tests/subobj8.test, tests/subobj9.test, tests/subobjname.test, + tests/subpkg.test, tests/subst.test, tests/substref.test, + tests/suffix.test, tests/suffix10.test, tests/suffix2.test, + tests/suffix3.test, tests/suffix4.test, tests/suffix5.test, + tests/suffix6.test, tests/suffix7.test, tests/suffix8.test, + tests/suffix9.test, tests/symlink2.test, tests/symlink3.test, + tests/tags.test, tests/tagsub.test, tests/target-cflags.test, + tests/transform.test, tests/txinfo.test, tests/txinfo10.test, + tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test, + tests/txinfo18.test, tests/txinfo2.test, tests/txinfo23.test, + tests/txinfo24.test, tests/txinfo25.test, tests/txinfo26.test, + tests/txinfo3.test, tests/txinfo5.test, tests/txinfo6.test, + tests/txinfo7.test, tests/txinfo8.test, tests/txinfo9.test, + tests/unused.test, tests/vars.test, tests/vars3.test, + tests/vartar.test, tests/version.test, tests/version2.test, + tests/version4.test, tests/version6.test, tests/version7.test, + tests/vpath.test, tests/vtexi.test, tests/vtexi2.test, + tests/werror.test, tests/whoami.test, tests/yacc.test, + tests/yacc3.test, tests/yacc4.test, tests/yacc5.test, + tests/yacc6.test, tests/yacc7.test, tests/yacc8.test, + tests/yaccpp.test, tests/yaccvpath.test: Fix license to refer + to Automake, not autoconf. + + Fix for PR automake/408: + * lib/am/texinfos.am (install-info-am): Strip any $(srcdir)/ prefix + from $file, as already done for dist-info. + * tests/Makefile.am (TESTS): Add txinfo26.test. + * tests/txinfo26.test: New file. + Report from Nicholas Wourms. + +2003-11-13 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/lispdir.m4 (AM_PATH_LISPDIR): If EMACS=t, empty it before + running AC_CHECK_PROGS(EMACS). + * lib/am/lisp.am (elc-stamp): Quote $(EMACS). + Report from Jens Petersen. + + * tests/mkinst2.test: Rewrite. + + * m4/mkdirp.m4: Do not require AM_AUX_DIR_EXPAND. + +2003-11-12 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (scan_autoconf_traces): Honor sinclude. + * tests/sinclude.test: Check for sinclude. + Report from Roberto Bagnara. + +2003-11-11 Alexandre Duret-Lutz <adl@gnu.org> + + * Makefile.am: Do not rerun `make dist' after tagging, `make distcheck' + already build the tarballs. Commit files right before tagging. + Check NEWS before running distcheck. + + * m4/amversion.in (AM_AUTOMAKE_VERSION): Missing cosmetic space. + + * configure.ac, NEWS: Bump version to 1.7c. + + * configure.ac, NEWS: Bump version to 1.7b. + * Makefile.am (maintainer-check): Ignore comments while + scanning for rm without -f. + + * Makefile.am (fetch): Get all files from savannah. Do not + postprocess Struct.pm and XFiles.pm, since we now are the master + of these. + * lib/config.sub, lib/config.guess, lib/config-ml.in, + lib/texinfo.tex: New upstream versions. + + * configure.ac: Check that autoconf is installed, that it works, + and that it is recent enough in three steps, not one. + + * NEWS: Minor edits. + + * lib/Makefile.am (dist_script_DATA): Move config-ml.in ... + (dist_pkgvdata_DATA): ... here. + + * tests/spy.test: Document overlapping ::-rules incompatibilities, + and check only non-overlapping ::-rules. + + * doc/automake.texi (Texinfo): Define MAKEINFO, MAKEINFOHTML, + MAKEINFOFLAGS, AM_MAKEINFOFLAGS, AM_MAKEINFOHTMLFLAGS, TEXI2DVI, + TEXI2PDF, DVIPS, and TEXINFO_TEX in a table. + (Uniform): Do not speak of missing HTML support, this is + confusing. + * lib/Automake/Variable.pm (_silent_variable_override): Add + AM_MAKEINFOHTMLFLAGS. + * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Use MAKEINFOHTML and + AM_MAKEINFOHTMLFLAGS instead of MAKEINFO and AM_MAKEINFOFLAGS. + * lib/am/texinfos.am (MAKEINFOHTML, AM_MAKEINFOHTMLFLAGS): Define. + * tests/txinfo21.test: Add a test with AM_MAKEINFOHTMLFLAGS. + +2003-11-10 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/spy.test: New file. + * tests/Makefile.am (TESTS): Add spy.test. + + * automake.in (handle_configure): Distribute and define mkinstalldirs + only if it is already present in the package. + (scan_autoconf_files): Do not require mkinstalldirs. + (require_build_directory): Use $(mkdir_p), not $(mkinstalldirs). + * lib/am/data.am, lib/am/distdir.am, lib/am/install.am, + lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/mans.am, + lib/am/progs.am, lib/am/python.am, lib/am/scripts.am, + lib/am/texinfos.am: Use $(mkdir_p) instead of $(mkinstalldirs). + * m4/mkdirp.m4: New file. + * m4/Makefile.am (dist_m4data_DATA): Add mkdirp.m4. + * m4/init.m4 (AM_INIT_AUTOMAKE): Call AM_PROG_MKDIR_P. + * tests/Makefile.am (TESTS): Remove insh.test. + * tests/insh.test: Delete. + * tests/defs.in, tests/instsh.test: Do not install mkinstalldirs. + * tests/auxdir.test: Install mkinstalldirs. + * tests/distdir.test, tests/instman.test, tests/pr2.test: Use + $(mkdir_p), not $(mkinstalldirs). + * tests/empty.test: Run configure, do not substitute things by hand. + * doc/automake.texi (Optional) <AC_CONFIG_FILES>: Take install-sh + as an example, not mkinstalldirs. + (Auxiliary Programs) <mkinstalldirs>: Update. + + * tests/defs.in: Handle required=bzip2. + + * tests/defs.in: Export SHELL. + * tests/cond11.test: Missing quotes. + * tests/nogzip2.test: Require bzip2. + +2003-11-09 Alexandre Duret-Lutz <adl@gnu.org> + + * NEWS: Add news entries from 1.6.x and 1.7.x. + + * automake.texi (Optional) <AC_SUBST>: Grammar fixes. + + * automake.in (check_gnu_standards): Install COPYING only if + none of COPYING, COPYING.LIB, or COPYING.LESSER exist. Do not + overwrite the license otherwise. + * tests/Makefile.am (TESTS): Add license.test. + * tests/license.test: New file. + + * lib/mkinstalldirs: Mention automake-patches@gnu.org and + bug-automake@gnu.org. + * lib/compile, lib/depcomp, lib/elisp-comp, lib/mdate-sh: + Likewise. Also add support for --help and --version. + * lib/py-compile, lib/ylwrap: Likewise, and reindent. + +2003-11-08 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/tags.am (ETAGSFLAGS, CTAGSFLAGS): Remove. + * lib/am/dejagnu.am (RUNTESTFLAGS): Remove. + * lib/am/java.am (JAVACFLAGS): Remove. + * tests/dejagnu3.test: Check that the environment value + of RUNTESTFLAGS get passed down to runtest. + Suggested by Mark Mitchell. + + * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj) + (?GENERIC?%EXT%.lo): Do not echo compile command manually, this + breaks `make -s'. Instead, fold the compile command on two lines, + so that it take less space on the display. + Suggested by Karl Berry and William Fulton. + + * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%): Rename as ... + (%DEST_INFO_PREFIX%%DEST_SUFFIX%): ... this, and honor ?INSRC? + to select $(srcdir) or `.' builds. + (INFO_DEPS): Define here. + * lib/am/texinfos.am (dist-info): Strip filename starting with + "$(srcdir)/". + * automake.in (output_texinfo_build_rules): Take a new argument + $insrc, and adjust substitutions in 'texibuild'. + (handle_texinfo_helper): Compute a regex of all user-cleaned + files, and use this to select whether to build .info files in `.' + or $(srcdir). Give an account of the $(srcdir) vs `.' debacle. + Alway build the version.texi and stamp files in $(srcdir). Do not + define INFO_DEPS. + * tests/Makefile.am (TESTS): Add txinfo23.test, txinfo24.test, + and txinfo25.test. + * tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test: + New files. + * tests/txinfo13.test, tests/txinfo16.test, tests/txinfo3.test, + tests/vtexi.test: Adjust to new rules. + +2003-11-05 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.58. + * configure.ac: Require Autoconf 2.58a, and check for 2.58. + +2003-10-27 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Erase %STAMP%. + * tests/Makefile.am (TESTS): Add autohdr3.test + * tests/autohdr3.test: New file. + + * automake.in (handle_configure): Rename am__configure_deps + as am__aclocal_m4_deps and include $(ACLOCAL_M4_SOURCES) and + $configure_ac. Define am__configure_deps as am__aclocal_m4_deps + + $(CONFIGURE_DEPENDENCIES) + $(ACLOCAL_M4). Do not define + ACLOCAL_M4_DEPS while processing configure.am. + (make_paragraphs): Do not define %CONFIGURE_AC%, now unused. + (scan_aclocal_m4): Do not distribute aclocal.m4, this + is done from lib/am/configure.am. + * lib/am/configure.am (%MAKEFILE-IN%, DIST_COMMON, + $(top_srcdir)/configure, $(ACLOCAL_M4)): Simplify using + $(am__configure_deps) or $(am__aclocal_m4_deps). + * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Likewise. + +2003-10-26 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/remake-hdr.am ($(srcdir)/%CONFIG_HIN%): Depend on + $(am__configure_deps). + + * automake.in (handle_configure): Distribute all AC_CONFIG_HEADERS + sources, and without using require_file. Define %CONFIG_H_DEPS% + and %FIRST_CONFIG_HIN% while processing remake-hdr.am. + * lib/am/remake-hdr.am (%STAMP%): Use %CONFIG_H_DEPS% instead + of (srcdir)/%CONFIG_HIN%. Output the $(srcdir)/%CONFIG_HIN% + rule only for the first header (i.e., if %FIRST_CONFIG_HIN%). + * tests/autohdr4.test: New file. + * tests/Makefile.am (TESTS): Add autohdr4.test. + * tests/config.test: Do not grep, run things to see if they work. + +2003-10-25 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/output7.test: Populate sub/ with a dummy file, so that it + is not empty. This fixes a failure reported by Patrick Welche. + * lib/am/distdir.am: Add note about tar's `-o' option and empty + directories. + +2003-10-24 Didier Cassirame <faded@free.fr> (tiny change) + + * lib/ylwrap: Typo in regex. + +2003-10-23 Paul Eggert <eggert@twinsun.com> + + * lib/Automake/XFile.pm: Don't assume -j is solo. + Issue a more-informative diagnostic. + Problems reported by Eric Sunshine. + +2003-10-21 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/lispdir.m4 (AM_PATH_LISPDIR): Always check for Emacs. + Always define lispdir. + * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Check + $(EMACS) to decide whether _LISP files must be installed, + not $(lispdir). + * doc/automake.texi (Emacs Lisp): Mention the two ways to install + non byte-compiled Emacs lisp files. + * tests/lisp4.test, tests/lisp5.test: Check "make install" + when EMACS=no. + Suggested by Simon Josefsson. + + * NEWS: Clarify the entry about multiple conditional definitions + of _PROGRAMS, _LDADD, and _LIBADD. + Report from Simon Josefsson. + + * lib/am/install.am (install-strip): Override install_sh_PROGRAM + too. + Report from Elmar Hoffmann. + +2003-10-07 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in ("MAIN", usage, parse_arguments): Move near + the end, so "MAIN" can use prototypes. + (scan_configure): Move later too, for the sake of prototypes. + (scan_configure_dep): Fix setting of $scanned_configure_dep. + (trace_used_macros): Do not take any argument. + +2003-10-06 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/stdlib2.test: Check AM_LDFLAGS alone. + + * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream + versions. + + * automake.in (handle_ltlibraries): Also grep AM_LDFLAGS for `-module'. + * tests/stdlib2.test: New file. + * tests/Makefile.am (TESTS): Add stdlib2.test. + Report from Kevin P. Fleming. + +2003-10-03 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change) + + * tests/defs.in: For required=runtest, check that we are using + a DejaGnu that supports specifying the program on the command-line. + +2003-10-03 Alexandre Duret-Lutz <adl@gnu.org> + + For Debian Bug #213524: + * lib/am/texinfos.am (install-info-am, uninstall-info-am): Merge + stderr and stdout, and grep only the first line while testing + install-info --version's output. This revert part of the change + from 2001-05-18. + +2003-10-01 Akim Demaille <akim@epita.fr> + + * m4/amversion.in: Add (C) to the Copyright notice. + +2003-10-01 Paul Eggert <eggert@twinsun.com> + + * lib/Automake/XFile.pm: Use Errno. + (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in + <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>. + +2003-09-30 Tom Tromey <tromey@redhat.com> + + * lib/Automake/Options.pm (_process_option_list): Recognize + no-dist. + * NEWS: Update. + * doc/automake.texi (Options): Document no-dist. + * automake.in (check_cygnus): Set no-dist option. + (handle_dist): Recognize no-dist. + * tests/nodist3.test: New file. + * tests/Makefile.am (TESTS): Added nodist3.test. + +2003-09-29 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_clean): Take $makefile as argument, and + define %MAKEFILE% while processing clean.am. + (generate_makefile): Pass $makefile to handle_clean. + * lib/am/clean.am (distclean, maintainer-clean): Erase %MAKEFILE%, + not Makefile. + * tests/gnumake.test: New file. + * tests/Makefile.am (TESTS): Add gnumake.test. + Report from Braden N. McDaniel. + +2003-09-26 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Scripts): Update the example about automake. + Mention `dist_' for distributed scripts. + + * lib/mkinstalldirs: Clean up after NextStep and OpenStep mkdir. + Suggested by Eric Sunshine. + +2003-09-25 Alexandre Duret-Lutz <adl@gnu.org> + + * README: More mailing lists. + + * NEWS: Mention the switch to GNU FDL for the manual. + +2003-09-24 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/install-sh (src, dst): Protect names starting with `-', + as in mkinstalldirs. + + * configure.in: Rename as ... + * configure.ac: ... this. + * README: s/configure.in/configure.ac/. + + * doc/fdl.texi: New file. + * doc/Makefile.am (automake_TEXINFOS): New variable. + * doc/automake.texi (Copying This Manual): New appendix, include + fdl.texi. + (Macro and Variable Index, General Index): Move as subsections of ... + (Indices): This new appendix. + + * doc/automake.texi: Refer to configure.ac instead of configure.in. + + * automake.texi: Move ... + * doc/automake.texi: ... here. + * doc/Makefile.am: New file. + * configure.in: Output doc/Makefile. + * Makefile.am (SUBDIRS): Add doc. + (ETAGS_ARGS, TAGS_DEPENDENCIES): Move to doc/Makefile.am. + +2003-09-23 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in (write_aclocal): Consider files with relative + paths as local to the project, i.e., subject to m4_include. + * tests/subpkg.test (ACLOCAL_AMFLAGS): Make sure m4_include + is also used for .m4 files in the outer project. + + Support for multiple inputs in AC_CONFIG_FILES. + Requested long ago by Harlan Stenn. + * automake.in (handle_dist): Remove unused argument $makefile. + (handle_subdirs): Expect SUBDIRS elements in $relative_dir, + not $am_relative_dir. + (rewrite_inputs_into_dependencies): Allow $add_srcdir to + be a filename that must always be prefixed by $(srcdir) or + $(top_srcdir). + (handle_configure, generate_makefile): Revamp to make the + Makefile.am, Makefile.in, Makefile more independent. + (locate_am): New function. + (scan_configure_dep, parse_arguments): Use locate_am. + (MAIN): Adjust call to generate_makefile. + * lib/am/configure.am: Remove %MAKEFILE-IN% from the dependencies + of %MAKEFILE%. %MAKEFILE-IN% is already in %MAKEFILE-DEPS%. + * tests/output6.test, tests/output7.test: New files. + * tests/Makefile.am (TESTS): Add them. + * automake.texi (Requirements) <AC_CONFIG_FILES>: Document how + multiple inputs are scanned. + +2003-09-13 Alexandre Duret-Lutz <adl@gnu.org> + + * Makefile.am (FETCHFILES, fetch): Do not fetch lib/Automake/XFile.pm + and lib/Automake/Struct.pm from Autoconf. + * lib/Automake/XFile.pm: Update comment, Automake is now + the master for this file. Cosmetic changes. + +2003-09-09 Akim Demaille <akim@epita.fr> + + * lib/Automake/FileUtils.pm (&update_file): s/cannot not/cannot/g. + Reported by Gary Vaughan. + (&find_file): Walk the @include in forward order. + +2003-09-09 Akim Demaille <akim@epita.fr> + + * lib/Automake/FileUtils.pm (&update_file): Be sure not to leave + trailing files. + +2003-09-07 Alexandre Duret-Lutz <adl@gnu.org> + + Changes to m4_included files should also cause aclocal.m4 to change. + * aclocal.in (m4_include_rx): New variable. + (scan_configure_dep): New function. + (scan_configure, add_file): Simplify using scan_configure_dep. + * tests/Makefile.am (TESTS): Add acloca13.test. + * tests/aclocal13.test: New file. + + * tests/instsh.test: Do not reset $ACLOCAL and $AUTOMAKE now + that we have fake version in the $PATH. + + * aclocal.in (add_file): Remove useless filling of $output, probably + left a after CVS conflict. This code is now in write_aclocal. + + * aclocal.in (configure_ac): Do not call require_configure_ac + before parsing the options. + * automake.in (configure_ac): Likewise. + * lib/Automake/Variable.pm (configure_ac): Do not require configure.ac, + find it. + * lib/Automake/Configure_ac.pm (require_configure_ac): + find_configure_ac never return an undefined value, so test + the file's existence instead. + * tests/Makefile.am (TESTS): Add help.test. + * tests/help.test: New file. + +2003-09-06 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/XFile.pm: Update to use ChannelDefs. + (close): Call Automake::FileUtils::handle_exec_errors on errors. + * automake.in (scan_autoconf_files): Exit with $?=63 on version + mismatch. + (scan_autoconf_traces): Likewise. Close the autoconf pipe to + capture abnormal exits. + * aclocal.in ($exit_status): Remove, and use Channels.pm's $exit_code + instead. + (trace_used_macros): Close the autom4te pipe to capture abnormal exits. + * lib/missing: When a tool has run and exited with $?=63, emulate + it. Adjust the diagnostic and pretend the tool is tool old in this + case. Use an emacs-updated "scriptversion" variable. + * configure.in: Output tests/aclocal-${APIVERSION} and + tests/automake-${APIVERSION}. + * tests/aclocal.in, tests/automake.in, + tests/missing.test, tests/missing2.test: New files. + * tests/defs.in (AUTOMAKE, ACLOCAL, PATH): Define + to use tests/aclocal-$APIVERSION and tests/automake-$APIVERSION. + * tests/dup3.test: Remove. alocal9.test, acloca10.test, and others are + already testing for this. + * tests/depacl2.test, tests/dup2.test, tests/order.test: Fix + configure.in so that aclocal works. + * tests/defun.test: Quote the AC_DEFUN body. + * tests/Makefile.am (TESTS): Add missing.test and missing2.test, + and remove dup3.test. + (check_SCRIPTS): Add aclocal and automake. + + * tests/unused.test: Quote AC_DEFUN arguments. + +2003-09-05 Paul Eggert <eggert@twinsun.com> + + * NEWS, aclocal.in, automake.in, automake.texi, lib/ansi2knr.c, + lib/depcomp, lib/missing, lib/py-compile, + lib/Automake/Channels.pm, lib/Automake/Rule.pm, + lib/Automake/Variable.pm, lib/Automake/tests/Condition.pl, + lib/am/dejagnu.am, lib/am/depend.am, lib/am/lisp.am, + lib/am/remake-hdr.am, lib/am/texi-vers.am, m4/obsolete.m4, + m4/python.m4, tests/backsl4.test, tests/defs.in, + tests/dejagnu7.test, tests/depacl2.test, tests/dirlist.test, + tests/error.test, tests/getopt.test, tests/gnuwarn.test, + tests/include2.test, tests/libobj10.test, tests/libtool5.test, + tests/libtool6.test, tests/lisp3.test, tests/phony.test, + tests/pr220.test, tests/subcond2.test, tests/subcond3.test, + tests/vtexi.test: + Spelling and minor grammar fixes. + +2003-09-01 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/config.sub, lib/config.guess, lib/texinfo.tex, + lib/config-ml.in, lib/symlink-tree: New upstream versions. + +2003-08-31 Thien-Thi Nguyen <ttn@gnu.org> (tiny change) + + * tests/yacc7.test: Require bison. + +2003-08-31 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in (scan_file): Warn about underquoted AC_DEFUN. + ($underquoted_manual_once): New variable. + * automake.texi (Extending aclocal): Document this. + +2003-08-29 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in (@file_order): New variable, to make sure + files are output in the opposite order of the -I arguments. + (scan_file): Fill it. + (trace_used_macros, write_aclocal): Use it. + (scan_m4_files): Reverse the directory contents, so that + macros from the lexicographically greatest files are preferred. + * tests/aclocal9.test, tests/acloca10.test, tests/acloca11.test: + New files. + * tests/Makefile.am (TESTS): Add them. + +2003-08-24 Alexandre Duret-Lutz <adl@gnu.org> + + For Debian Bug #206299: + * automake.in ($configure_deps_greatest_timestamp, + $output_deps_greatest_timestamp): New variables. + (initialize_per_input): Reset $output_deps_greatest_timestamp. + (scan_autoconf_traces, scan_autoconf_files, read_am_file): + Update $configure_deps_greatest_timestamp and + $output_deps_greatest_timestamp + (generate_makefile): Rewrite the logic to decide whether + to rewrite the output. Move the leading dup_channel_setup + and trailing drop_channel_setup to MAIN, so that + drop_channel_setup is executed for all exit paths. + * tests/aclocal7.test: Update to check for $AUTOMAKE --no-force + * tests/distcom6.test: New file. Report from Scott James Remnant. + * tests/Makefile.am (TESTS): Add distcom6.test. + + * configure.in: Require Autoconf 2.57b to be sure + aclocal can use autom4te --language Autoconf-without-aclocal-m4. + * m4/init.m4: Likewise. Move the AC_PREREQ and m4_pattern_allow + calls inside the AM_INIT_AUTOMAKE macro. + * m4/auxdir.m4, m4/cond.m4, m4/lex.m4, m4/regex.m4: Move + AC_PREREQ calls inside the macros. + * m4/header.m4: Remove AC_PREREQ. + + * automake.in (file_contents_internal): Do not add newlines before + empty actions. + + * aclocal.in (write_aclocal): Take an output file and list of + used macros in arguments and make up the file contents here. + (trace_used_macros): New function. + (add_file): Do not update $output. + ($output): Delete. + (MAIN): Call trace_used_macros. Then rewrite aclocal.m4 only + for these traced macros. This should shorten aclocal.m4 by + stripping out unused macros. + * automake.texi (Invoking aclocal): Document ${AUTOM4TE}. + * tests/aclibobj.test: Make sure configure.in exists by the time + aclocal runs. + * tests/aclocal8.test: New file. + * tests/Makefile.am (TESTS): Add aclocal8.test. + Suggested by Bruno Haible and Akim Demaille. + +2003-08-21 Akim Demaille <akim@epita.fr> + + * lib/Automake/Configure_ac.pm (&find_configure_ac) + (&require_configure_ac): Accept an optional directory argument. + ($configure_ac): Remove. + * aclocal.in, automake.in ($configure_ac): New. + * lib/Automake/Variable.pm: Don't use $configure_ac, just + configure.ac. + +2003-08-20 Akim Demaille <akim@epita.fr> + + * lib/Automake/FileUtils.pm: More perldoc. + (&up_to_date_p): New. + +2003-08-17 Alexandre Duret-Lutz <adl@gnu.org> + + Fix for PR automake/398: + * m4/python.m4: Do not call AC_PATH_PROGS if $PYTHON is already + set. Display `none' instead of `:' and $PYTHON is set to `:' + when no suitable interpreter is found. Honor ACTION-IF-FOUND and + ACTION-IF-NOT-FOUND. + * automake.texi (Python): Document ACTION-IF-FOUND and + ACTION-IF-NOT-FOUND. + * tests/python4.test, tests/python5.test, tests/python6.test, + tests/python7.test, tests/python8.test, tests/python9.test: New + files. + * tests/Makefile.am (TESTS): Add them. + Report from Per Cederqvist. + +2003-08-13 Alexandre Duret-Lutz <adl@gnu.org> + + Fix for PR automake/399: + * m4/python.m4: Use AC_PATH_PROGS, not AC_PATH_PROG. + Report from Per Cederqvist. + +2003-08-12 Raja R Harinath <harinath@acm.org> + + * lib/Automake/Condition.pm (strip): Replace loop with 'grep'. + (not): Replace loop with 'map'. + * lib/Automake/DisjConditions.pm (sub_conditions): Likewise. + * lib/Automake/Item.pm (not_alwasy_defined_in_cond): + Don't 'simplify' result of 'invert', since it's already in + canonical form. + * lib/Automake/Rule.pm (define): Replace loop with + 'not_always_defined_in_cond'. + + * lib/Automake/DisjConditions.pm (ambiguous_p): Typo in comment. + * lib/Automake/Rule.pm (accept_extensions, msg_cond_rule): Likewise. + (define): Reword comment slightly. + * Variable.pm (_var_order, msg_cond_var): Typo in comment. + * tests/cond20.test (var2): Use foo.c instead of foo.cc to avoid + spurious automake error exit. + +2003-08-12 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Item.pm, lib/Automake/ItemDef.pm: New files. + * lib/Automake/Rule.pm, lib/Automake/RuleDef.pm: New files. + * lib/Automake/Makefile.am (dist_perllib_DATA): Add them. + * lib/Automake/VarDef.pm: Make this a subclass of Automake::ItemDef. + (new): Adjust to call Automake::ItemDef::new. + (comment, location, owner): Delete. Now inherited from ItemDef. + * lib/Automake/Variable.pm: Make this a subclass of Automake::Item. + (_new): Adjust to call Automake::Item::new. + (name, def, rdef, _set, conditions, not_always_defined_in_cond): + Delete. How inherited from Item, where `_set' is called `set'. + * automake.in (SUFFIX_RULE_PATTERN): Delete. Now in Automake::Rule. + (suffix_rules_default): Delete. Now + Automake::Rule::_suffix_rules_default + (suffixes): Delete. Now Automake::Rule::suffixes. + (TARGET_AUTOMAKE, TARGET_USER): Delete. Now + Automake::RuleDef::RULE_AUTOMAKE and Automake::RuleDef::RULE_USER. + (%targets, %target_source, %target_name, %target_owner): Delete, + replaced by the Rule and RuleDef classes. + (dependencies, depend, actions): Delete. Now in Automake::Rule. + (suffix_rules, register_suffix_rule): Likewise. + (KNOWN_EXTENSIONS_PATTERN, accept_extensions): Likewise. + (known_extensions_list): Delete. Now + Automake::Rule::_known_extensions_list. + (target_conditions): Delete. Now inherited by Automake::Rule + from Automake::Item::conditions. + (rule_define): Delete. Now Automake::Rule::define. Adjust all + callers. + (target_defined): Delete. Now Automake::Rule::rule. Adjust all + callers. + (initialize_per_input): Adjust to call Automake::Rule::reset. + (err_target, err_cond_target, msg_cond_target, msg_target, + reject_target): Delete. Now defined in Automake::Rule as + err_rule, err_cond_rule, msg_cond_rule, msg_rule and reject_target. + Adjust all callers. + (handle_languages): Call suffix_rules_count. + * tests/location.test: Adjust expected diagnostics. We now display + $(EXEEXT) accurately. + +2003-08-10 Alexandre Duret-Lutz <adl@gnu.org> + + Revert the fix for PR automake/291: + * lib/Automake/Variable.pm (define): Do not warn about variables + starting with `_' which are an issue on NEWS-OS 4.2R. According + to Paul Eggert, NEWS-OS 4.2R is ten years old, the latest version + was released on 1996 and is not in wide use. On the other hand, + variables starting with `_' are mandatory in several situations, + so diagnosing them is more annoying than useful. + * tests/canon5.test: Do not use -Wno-portability. + * tests/vars2.test: Delete. + * tests/Makefile.am (TESTS): Remove vars2.test. + Suggested by Jim Meyering. + +2003-08-09 Raja R Harinath <harinath@acm.org> + + * lib/Automake/DisjConditions.pm (ambiguous_p): Simplify slightly. + * lib/Automake/tests/DisjConditions.pl (test_ambig): Test + Automake::Disjunctions::ambiguous_p. + +2003-08-07 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Variable.pm (condition_ambiguous_p): Move ... + * lib/Automake/DisjConditions.pm (ambiguous_p): ... here. + * automake.in (rule_define): Adjust usage. + * lib/Automake/Variable.pm (_check_ambiguous_condition): Likewise. + + * lib/Automake/Options.pm: New file. + * lib/Automake/Makefile.am (dist_perllib_DATA): Add Options.pm. + * automake.in (FOREIGN, GNU, GNITS, $default_strictness) + ($default_strictness_name, $strictness, $strictness_name) + (%options, %global_options, process_option_list) + (set_strictness): Remove, now in Options.pm. + (initialize_per_input): Call Automake::Options::reset. + (handle_options, get_object_extension, get_object_extension) + (handle_languages, handle_single_transform_list, handle_compile) + (handle_texinfo_helper, handle_man_pages, handle_dist) + (handle_configure, do_check_merge_target) + (handle_factored_dependencies, handle_tests) + (handle_minor_options, scan_autoconf_traces, check_cygnus) + (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define) + (make_paragraphs, am_install_var, parse_arguments): Adjust + to set and read options via the new interface. + +2003-08-07 Raja R Harinath <harinath@acm.org> + + * Makefile.am (maintainer-check): Update perllibdir. + * lib/Automake/Makefile.am (Config.pm): Depend on Makefile too. + (EXTRA_DIST): Add Config.in. + * Makefile.in, lib/Automake/Makefile.in: Regenerate. + * tests/defs.in (AUTOMAKE, ACLOCAL): Use absolute paths in + $perllibdir. + +2003-08-06 Raja R Harinath <harinath@acm.org> + + * configure.in (AUTOMAKE, ACLOCAL): Search the 'lib' directory + from the builddir too, to pick up Automake::Config. + * tests/defs.in (AUTOMAKE, ACLOCAL): Likewise. + * configure: Regenerate. + * automake.in (BEGIN): Handle multiple directories in $perllibdir. + * aclocal.in (BEGIN): Likewise. + +2003-08-07 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/ltcond.test: Thinko. + +2003-08-06 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Config.in: New file. + * lib/Automake/Makefile.am (nodist_perllib_DATA, do_subst, + CLEANFILES): New variables. + (Config.pm): New rule. + * Makefile.am (maintainer-check): Adjust expected differences + between automake.in and automake. + * aclocal.in, automake.in: Use Automake::Config. + +2003-08-05 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/ltconv.test: s/rm/rm -f/ to placate maintainer-check. + + * automake.in (handle_texinfo_helper): Use the user definition + of TEXINFO_TEX before checking for cygnus or AC_CONFIG_AUX_DIR. + * tests/txinfo22.test: New file. + * tests/Makefile.am (TESTS): Add txinfo22.test. + Report from Tom Tromey. + +2003-08-03 Raja R Harinath <harinath@acm.org> + + * lib/Automake/Variable.pm (@EXPORT): Remove + traverse_variable_recursively and + require_variables_for_variable. + (require_variables_for_variable, traverse_variable_recursively) + (_traverse_variable_recursively_worker): Convert to + Automake::Variable methods, remove support for being + invoked with variable names, and rename to ... + (requires_variables, traverse_recursively) + (_do_recursive_traversal): ... these. + (_value_as_list_recursive_worker, transform_variable_recursively): + Update to reflect changes. + * automake.in (handle_LIBOBJS, handle_ALLOCA) + (handle_libraries, handle_ltlibraries, am_primary_prefixes): + Likewise. + (define_objects_from_sources): Fix typo in comment. + +2003-08-02 Raja R Harinath <harinath@acm.org> + + * automake.in (handle_source_transform): Replace 'grep' with 'map'. + (register_language): Replace 'grep' with 'foreach' modifier. + +2003-08-01 Raja R Harinath <harinath@acm.org> + + * lib/Automake/Variables.pm (variables): Return a list of + Automake::Variable instances, not a list of strings. + (dump): Remove support for being invoked with a string. + (variables_dump): Adapt to these changes. + * automake.in (check_typos): Likewise. + (am_primary_prefixes): Likewise. + +2003-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change) + + * lib/depcomp (aix): Support AIX Compiler version 6. + +2003-07-31 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.texi (A Shared Library): Rewrite and split into + subsections. Valuable comments from Norman Gray, Harlan Stenn, + Tim Van Holder, and Guido Draheim. + * tests/ltcond.test, tests/ltcond2.test, tests/ltconv.test: New files. + * tests/Makefile.am (TESTS): Add them. + +2003-07-30 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_single_transform_list): Complain about + foo.$(OBJEXT) being created both with libtool and without, not + about foo.lo. + Report from Tim Van Holder. + +2003-07-29 Alexandre Duret-Lutz <adl@gnu.org> + + * Makefile.am (FETCHFILES, fetch): Add config-ml.in and + symlink-tree. + * lib/config.sub, lib/config-ml.in, lib/texinfo.tex: New + upstream versions. + +2003-07-28 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_configure): Cosmetic change to avoid + a maintainer-check complaint. + +2003-07-27 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Variable.pm (@EXPORT): Remove variable_dump. + (variable_dump): Replace by ... + (dump): ... this method. + (rdef, _check_ambiguous_condition): Adjust to use ->dump. + (define, variables_dump): Adjust to use Automake::Variable::dump + + * lib/am/compile.am (mostlyclean-compile): Do not erase core dumps. + * automake.texi (Built sources example): Adjust example. + +2003-07-26 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (get_object_extension, handle_languages) + (handle_single_transform_list, handle_compile, handle_compile) + (handle_texinfo_helper, handle_texinfo_helper, handle_man_pages) + (handle_tests, handle_minor_options, check_gnu_standards) + (lang_sub_obj, lang_c_rewrite, lang_c_finish, rule_define): + Simplify "if (defined $options{'X'})" into "if ($options{'X'})". + + Complete changes from 2003-07-08. + * automake.in ($cmdline_use_dependencies, $use_dependencies): Remove, + replaced by $options{'no-dependencies'}. + ($global_options): Remove. + (%global_options): New variable. + (initialize_per_input): Empty %options. + (process_option_list): Take a location and %options ref argument, + process no-dependencies as other options. + (handle_options): Do not reparse the global options, just initialize + %options from %global_options and fill it with local options. + (handle_languages, handle_single_transform_list) + (handle_configure, check_cygnus): Adjust usage of + $options{'no-dependencies'}. + (make_paragraphs): Adjust usage of $options{'cygnus'}. + (parse_arguments): Set cygnus and no-dependencies in %global_options. + (scan_autoconf_traces) <AM_INIT_AUTOMAKE>: Call process_option_list + to fill %global_options. + +2003-07-25 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/remake4.test: Use `$MAKE distdir' instead of `$MAKE dist' to + avoid the use of tar. + +2003-07-24 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/gnuwarn2.test: Typo. + + * tests/insthook.test: Use $MAKE, not make. + + Fix missing rebuilds during `make dist' with BSD make. + * automake.in (generate_makefile): Do not push Makefile.in, and + Makefile.am into DIST_COMMON here. + * lib/am/configure.am (DIST_COMMON): Do it here, and use + %MAKEFILE-AM% and %MAKEFILE-IN% so that items in DIST_COMMON + actually match the targets. Prefix `configure' with `$(srcdir)/' + to match the target. + * tests/remake4.test: New file. + * tests/Makefile.am (TESTS): Add remake4.test. + Report from Akim Demaille. + +2003-07-23 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_multilib): Register all-multi. + (file_contents_internal): Insert \n when concatenating actions + from "factored" rules. + * lib/config-ml.in: New file, from GCC, including a patch + from Ralf Corsepius (see GCC's PR 11526). + * lib/symlink-tree.in: New file, from GCC. + * lib/Makefile.am (dist_script_DATA): Add config-ml.in and + symlink-tree. + * lib/am/clean.am (distclean-generic): Do not delete Makefile here... + (distclean, maintainer-clean): ... do it here. + * lib/am/depend.am (distclean-depend): Likewise, replace by + (distclean, maintainer-clean): ... these. + * lib/am/multilib.am (all-recursive, install-recursive, + mostlyclean-recursive, clean-recursive, distclean-recursive, + maintainer-clean-recursive): Remove these rules. + (mostlyclean-am, clean-am, distclean-am, maintainer-clean-am): Replace + by ... + (mostlyclean, clean, distclean, maintainer-clean): ... these. + (all-am): Remove, done in handle_multilib. + (install-am): Replace by ... + (install-exec-am): ... this. + * tests/Makefile.am (TESTS): Add multlib.test. + * tests/multlib.test: New file, based on a test case by + Ralf Corsepius + +2003-07-23 Tom Tromey <tromey@redhat.com> + + * lib/missing (autom4te): Typo. + +2003-07-16 Derek Price <derek@ximbiot.com> + + * automake.in (scan_autoconf_traces): Handle AC_CONFIG_LINKS. + (handle_configure): Handle adding AC_CONFIG_LINKS arguments to + distclean targets (CONFIG_CLEAN_FILES makefile var). + * NEWS: Note new handling of AC_CONFIG_LINKS. + * automake.texi (Other things Automake recognizes): Ditto. + * tests/Makefile.am (TESTS): Add new tests. + * tests/conflnk.test: New test that links are cleaned on distclean. + * tests/conflnk2.test: New test that source files for links are + distributed. + +2003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change) + + * automake.in (scan_autoconf_traces): Trace AM_ENABLE_MULTILIB to + render $seen_multilib functional again. + +2003-07-10 Raja R Harinath <harinath@cs.umn.edu> + + Avoid using refs as hash keys. + * lib/Automake/Variable.pm ($_traversal): New. + (reset): Reset $_traversal. + (_new): New attribute 'scanned'. + (%_vars_scanned): Remove. + (traverse_variable_recursively) + (traverse_variable_recursively_worker): + Use $_traversal instead of %_vars_scanned to detect recursively + defined variables. + + * lib/am/configure.am (am--refresh): Silence. + +2003-07-10 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Variable.pm (define): Make clear the diagnostic + about variable names starting with `_' is about *Make* variables. + + For Debian Bug #193907: + * automake.texi (Clean): make maintainer-clean should still + allow ./configure && make to run. + + * automake.texi (CVS): Typo. + +2003-07-09 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in: Use Automake::FileUtils. + (parse_arguments, scan_configure, scan_m4_files): Never call + "die" to print an error message. Use print and exit. + * automake.in: Use Automake::FileUtils. + * lib/Automake/General.pm ($debug, $help, $tmp, $verbose, + $version, &debug, &getopt, &mktmpdir, &verbose): Remove. + (END): Do not massage Perl's exit code. Do not clean any temporary + directory. + (find_file, mtime, update_file, xsystem, contents): Move to ... + * lib/Automake/FileUtils.pm: ... this new file. Adjust to + report errors using Channels. + (handle_exec_errors, xqx): New functions, from Autoconf. + * lib/Automake/Makefile.am (dist_perllib_DATA): Add FileUtils.pm. + + * lib/Automake/Variable.pm (_traverse_variable_recursively_worker): + Return the empty list on recursively defined variable. This + supersedes my change of 2003-07-02. + +2003-07-08 Akim Demaille <akim@epita.fr> + + * automake.in ($cygnus_mode): Replace with $options{'cygnus'}. + Adjust all dependencies. + (&depend): Move next to %dependencies and prototype. + (&initialize_per_input): Initialize the 'cygnus' field of + '%options' to spare the code from 'exists' or 'defined' when + testing it. + (&handle_configure, &do_check_merge_target, &check_cygnus): Prototype. + (&parse_arguments): Rename '%options' and '%options_1st_pass' as + '%cli_options' and '%cli_options_1st_pass' to avoid clashes and + inconsistencies. + +2003-07-07 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (generate_makefile): Move near the end of the + file, after the definition of all called functions, so that + prototypes can be enforced. + +2003-07-06 Akim Demaille <akim@epita.fr> + + * lib/am/subdirs.am (RECURSIVE_TARGETS): Move install-recursive, + install-exec-recursive, install-data-recursive and + uninstall-recursive addition to... + * lib/am/install.am: here. + * lib/am/texinfos.am, lib/am/subdirs.am: Remove the .PHONY + declaration of RECURSIVE_TARGETS. + +2003-07-06 Akim Demaille <akim@epita.fr> + + * lib/Automake/Variable.pm, lib/Automake/VarDef.pm (VAR_SORTED): + New variable type. + Handle it. + * automake.in (&handle_subdirs): Prototype. + Adjust callers. + Make RECURSIVE_TARGETS a VAR_SORTED. + +2003-07-06 Akim Demaille <akim@epita.fr> + + * automake.in (&define_files_variable): New. + (&handle_texinfo_helper): Move the handling of user variables from + here, to... + (&handle_texinfo): here. + This is to balance the size of these functions, and to match the + convention of other _helper functions. + (&handle_texinfo_helper): Use &define_files_variable. + Move some code to use less variables. + Rename $info_cursor as $texi. + (&handle_texinfo): Do not call handle_texinfo_helper if there are + no TEXINFOS. + * lib/am/texinfos.am: Sort the occurrences of dvi, info, pdf, ps + and html. + Remove *-recursive targets from .PHONY, they are part of + $(RECURSIVE_TARGETS) anyway. + (install-info, mostlyclean-aminfo): Are .PHONY. + +2003-07-05 Akim Demaille <akim@epita.fr> + + * lib/am/distdir.am: Use ';' as a terminator, not a separator, for + sed complex commands, as required by NetBSD sed. + Reported by Patrick Welche. + +2003-07-05 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/config.guess, lib/config.sub: New upstream version. + +2003-07-04 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.texi (Optional, Dist): AC_CONFIG_AUX_DIR files + are automatically distributed. + + * lib/depcomp (icc): Update to grok ICC 7.1's output. + * m4/depend.m4 (_AM_DEPENDENCIES): Check dependency generation + in a subdirectory, and with many dependencies. This + catches more failures of depcomp. + Reports from Ralf Wildenhues and Akim Demaille. + +2003-07-04 Akim Demaille <akim@epita.fr> + + * automake.in (&scan_texinfo_file, &output_texinfo_build_rules, + (&handle_texinfo_helper, &handle_texinfo): Formatting changes. + Prototype properly. + Don't use & when calling functions. + +2003-07-03 Alexandre Duret-Lutz <adl@gnu.org> + + * NEWS: Categorize entries. + Suggested by Jim Meyering. + + * Makefile.am (maintainer-clean): Disallow '$AUTOMAKE && exit 1'. + Ignore @...@ substitutions in comments. + * tests/defs.in: Try to make the shell more POSIX compliant. + (AUTOMAKE_run, AUTOMAKE_fails): New functions. + * tests/README: Mention AUTOMAKE_fails. + * tests/alloca.test, tests/alloca2.test, tests/ansi8.test, + * tests/asm.test, tests/backsl3.test, tests/backsl4.test, + * tests/badline.test, tests/badopt.test, tests/canon.test, + * tests/canon5.test, tests/colneq.test, tests/comment3.test, + * tests/comment5.test, tests/cond2.test, tests/cond20.test, + * tests/cond23.test, tests/cond24.test, tests/cond27.test, + * tests/condinc2.test, tests/conff2.test, tests/cxx2.test, + * tests/dejagnu2.test, tests/dirforbid.test, + * tests/distcom3.test, tests/else.test, tests/exdir2.test, + * tests/exeext2.test, tests/gcj2.test, tests/gcj5.test, + * tests/getopt.test, tests/gettext.test, tests/gettext2.test, + * tests/gnits.test, tests/gnuwarn.test, tests/gnuwarn2.test, + * tests/insh.test, tests/lex2.test, tests/libobj10.test, + * tests/libobj12.test, tests/libobj13.test, + * tests/libobj3.test, tests/library2.test, + * tests/library3.test, tests/libtool4.test, + * tests/libtool6.test, tests/lisp2.test, tests/location.test, + * tests/nogzip2.test, tests/output5.test, tests/overrid.test, + * tests/percent.test, tests/percent2.test, + * tests/pluseq5.test, tests/pluseq7.test, tests/pluseq9.test, + * tests/pr211.test, tests/primary.test, tests/primary2.test, + * tests/python2.test, tests/recurs.test, tests/reqd2.test, + * tests/seenc.test, tests/specflg.test, tests/specflg2.test, + * tests/spell.test, tests/spell2.test, tests/srcsub.test, + * tests/srcsub2.test, tests/stdlib.test, tests/subdir7.test, + * tests/substtarg.test, tests/suffix11.test, + * tests/symlink.test, tests/syntax.test, + * tests/targetclash.test, tests/txinfo4.test, + * tests/version3.test, tests/warnopts.test, + * tests/xsource.test, tests/yacc2.test: Use set -e, + AUTOMAKE_fails, and always grep error message. + + * automake.in (handle_ltlibraries): Fix call to msg. + + * tests/stamph.test: Delete. + * tests/Makefile.am (TESTS): Remove stamph.test. + + * automake.in (handle_single_transform_list): Use $var->name + to print variable in the configure-substitution diagnostic. + Do not mention the parent when it is the variable itself. + + * tests/package.test: Delete. + * tests/Makefile.am (TESTS): Remove package.test. + + * automake.in (cond_stack_else): Return FALSE if `if' was not + used. + (cond_stack_endif): Return TRUE if `if' was not used. Do not + display $negate and $cond, they are irrelevant and maybe undefined. + +2003-07-02 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Variable.pm (_traverse_variable_recursively_worker): + Do not return undef when a variable is recursively defined, this + causes warnings all over the place. Return the empty string instead. + + * lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES + from empty DIST_ARCHIVES. + +2003-07-01 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (scan_autoconf_traces): Check the expected + number of arguments of each traced macro. + * tests/overrid.test: Fix call to AM_CONDITIONAL. + * tests/conff2.test: New files. + * tests/Makefile.am (TESTS): Add conff2.test. + Report from Paolo Bonzini. + +2003-06-30 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in ($SUBST_REF_PATTERN): Do not define. + (%gen_varname): Move to Variable.pm, as %_gen_varname. + (initialize_per_input): Do not clean %gen_varname. + (handle_options, check_libobjs_sources, handle_source_transform, + handle_LIBOBJS, handle_ltlibraries, handle_texinfo_helper, + handle_man_pages, handle_dist, handle_subdirs, handle_gettext, + am_install_var): Adjust to use value_as_list_recursive, + loc_and_value_as_list_recursive, and has_conditional_contents. + (require_file_with_macro): Accept an Automake::Variable as argument. + (traverse_variable_recursively, + traverse_variable_recursively_worker, gen_varname, + transform_variable_recursively): Move ... + * lib/Automake/Variable.pm (traverse_variable_recursively, + _traverse_variable_recursively_worker, + _gen_varname, transform_variable_recursively): ... here. + * automake.in (variable_conditionally_defined, + variable_value_as_list_recursive_worker, + variable_value_as_list_recursive + variable_loc_and_value_as_list_recursive): Move ... + * lib/Automake/Variable.pm (has_conditional_contents, + _value_as_list_recursive_worker, + value_as_list_recursive, loc_and_value_as_list_recursive): ... here. + (reset): Reset %_gen_varname. + (require_variables_for_variable): Accept an Automake::Variable + as argument. + +2003-06-27 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/aclocal6.test: Test maintainer-clean in VPATH + builds. (For Ralf's fix.) + +2003-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (tiny change) + + * lib/am/configure.am (maintainer-clean): Remove + $(top_srcdir)/autom4te.cache, not autom4te.cache. + +2003-06-27 Akim Demaille <akim@epita.fr> + + * automake.texi: Use @node with a single argument. + +2003-06-27 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/Makefile.am (dist_m4data_DATA): Add $(top_srcdir)/m4/amversion.m4. + + * lib/am/distdir.am (distcheck): Run $(am__remove_distdir) + at the end of distcheck. This was mistakenly removed on + 2003-06-15. + * tests/subpkg.test: Make sure distcheck cleans up after itself. + + * m4/Makefile.am ($(srcdir)/amversion.m4): Rename as ... + ($(top_srcdir)/m4/amversion.m4): ... this. + (DISTCLEANFILES): Remove. + (nodist_m4data_DATA): Remove. amversion.m4 is automatically + distributed. + (EXTRA_DIST): Add amversion.in. + +2003-06-25 Akim Demaille <akim@epita.fr> + + * automake.texi (Top): Use @copying and @insertcopying. + Make Alexandre an author. + * automake.in ($gen_copyright): Add the "(C)" to Copyright. + * lib/depcomp: Likewise. + +2003-06-23 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Variable.pm (vardef, rvardef, set_seen): New functions. + (variable_defined, examine_variable): Remove. + (%_ac_macro_for_var): Add an entry for ALLOCA. + (require_variables): Use vardef instead of variable_defined. + Do not use _cvar. + * automake.in (generate_makefile): Do not push $(SOURCE) into + @sources. Use define_pretty_variable to define SOURCES. + (handle_LIBOBJS, handle_ALLOCA): Use require_variables_for_variable + to require LIBOBJS, LTLIBOBJS and ALLOCA. + (handle_programs, handle_ltlibraries): Do not define an empty + _DEPENDENCIES or _LDFLAGS variable when none is defined. + (define_configure_variable): Do not check whether the variable + already exists (it's Automake::Variable::define's job). + (require_build_directory): Likewise, do not check + the existence of am__dirstamp. + (generate_makefile, handle_options, handle_languages) + (check_libobjs_sources, handle_single_transform_list) + (traverse_variable_recursively_worker, handle_source_transform) + (handle_lib_objects, handle_LIBOBJS, handle_compile) + (handle_libtool, handle_programs, handle_libraries) + (handle_ltlibraries, check_typos, handle_texinfo_helper) + (handle_man_pages, handle_tags, handle_dist, handle_subdirs) + (scan_aclocal_m4, handle_gettext, handle_footer, handle_install) + (handle_all, do_check_merge_target, handle_clean, lang_c_finish) + (handle_tests, lang_yacc_target_hook, define_pretty_variable) + (define_compiler_variable, define_linker_variable) + (make_paragraphs, am_primary_prefixes, am_install_var): Adjust to + call var, vardef, or set_seen, instead of variable_defined. Use + set_seen only for variables which are actually checked by + check_typos. + * tests/target.test: Delete. + * tests/alloca.test, tests/alloca2.test: New files. + * tests/libobj3.test: Check error message. + * tests/distcom4.test: Make sure configure is in DIST_COMMON. + This replace confdist.test. + * tests/Makefile.am (TESTS, XFAIL_TESTS): Remove target.test. + (TESTS): Add alloca.test and alloca2.test. Remove confdist.test. + +2003-06-20 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_dist): Delete DIST_COMMON before redefining + it. Bug report from Akim Demaille. + (rewrite_inputs_into_dependencies): Make sure we always return + something, even when $add_srcdir is 0. + * tests/distcom4.test, tests/distcom5.test: New files. + * tests/Makefile.am (TESTS): Add distcom4.test and distcom5.test. + + * tests/cond29.test: Also check for _SOURCES. + Report from Paolo Bonzini. + +2003-06-20 Akim Demaille <akim@epita.fr> + + * lib/am/configure.am: Replace leading spaces with a real tab. + +2003-06-15 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/nogzip.test, tests/nogzip2.test: New files. + * tests/Makefile.am (TESTS): Add nogzip.test and nogzip2.test + +2003-06-15 Akim Demaille <akim@epita.fr> + + * automake.in (&make_paragraphs): Define %GZIP%. + (&process_option_list): Accept no-dist-gzip2. + (&handle_dist): Complain when no archive format is enabled. + * lib/am/distdir.am (DIST_ARCHIVES): New variable. + (dist-gzip, dist-bzip2, dist-tarZ, dist-zip): No longer + conditioned. + (dist): Build $(distdir).tar.gz conditionally. + (distcheck): Use DIST_ARCHIVES to find an archive to unpack, and + to list built archives. Run $(MAKE) dist instead of dist-gzip. + * automake.texi (Options, The types of distributions): Adjust. + +2003-06-15 Jens Elkner <elkner@imsgroup.de> (tiny change) + + * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with + POSIXLY_CORRECT=1. + +2003-06-14 Karl Berry <karl@gnu.org> + Alexandre Duret-Lutz <adl@gnu.org> + + * mkinstalldirs (scriptversion): New variable. Setup emacs hooks + to update it each time the file is written, as in install-sh. + (usage): Improve message. + (--version): New option. + (--help): Output to stdout, not stderr. + +2003-06-13 Paul Eggert <eggert@twinsun.com> + + * lib/install-sh (dsttmp, rmtmp): Do not use '#' in file names; + it's not guaranteed by POSIX and it doesn't work on OpenVMS. + Bug reported by Bernard Giroud in: + http://mail.gnu.org/archive/html/autoconf-patches/2003-06/msg00013.html + +2003-06-05 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (check_gnu_standards): Use no-installman and + no-installinfo's locations. + (process_option_list): Fill %options with locations. + (check_cygnus) Fill $options{'no-installinfo'} and + $options{'no-dependencies'} with $cygnus_mode, so that it + remains a Location. + * tests/gnuwarn2.test: New file. + * tests/Makefile.am (TESTS): Add gnuwarn2.test. + +2003-06-04 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (process_option_list): Record the location + of ansi2knr's definition. + (handle_compile): Use it. + * tests/ansi3.test: Make sure the location appears correctly. + Update to use set -e. + * tests/ansi3b.test: New file. + * tests/Makefile.am (TESTS): Add ansi3b.test. + + * tests/alpha.test: Really run $MAKE. Augment to test + subdirectories, and check-news report. + * tests/alpha2.test: New file. Bug report from Akim Demaille. + * tests/gnits2.test: Make sure README-alpha is not distributed. + * tests/Makefile.am (TESTS): Add alpha2.test. + * automake.in (handle_minor_options): Distribute README-alpha + using push_dist_common, not require_file_with_macro. + +2003-06-03 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Configure_ac.pm + (search_configure_ac, find_configure_ac): Rename as ... + (find_configure_ac, require_configure_ac): ... these. + * aclocal.in (scan_configure): Adjust call to require_configure_ac. + * automake.in (scan_autoconf_files): Likewise. + Suggested by Tim Van Holder. + + * alocal.in: Use Automake::Configure_ac. + ($configure_ac): Delete. + (scan_configure): Adjust use of find_configure_ac; + * automake.in: Use Automake::Configure_ac. + ($configure_ac): Delete. + (scan_autoconf_files): Adjust use of find_configure_ac; + * lib/Automake/Configure_ac.pm: New file. + * lib/Automake/General.pm (find_configure_ac): Delete. Now + replaced by Automake::Configure_ac::search_configure_ac. + * lib/Automake/Makefile.am (dist_perllib_DATA): Add Configure_ac.pm. + * lib/Automake/Variable.pm: Use Automake::Configure_ac. + (require_variables): Adjust use of $configure_ac. + +2003-06-02 Akim Demaille <akim@epita.fr> + + * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am, + * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am, + * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am, + * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am, + * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am, + * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am, + * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am, + * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am, + * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am, + * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am, + * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4, + * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4, + * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4, + * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4, + * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4, + * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4, + * m4/Makefile.am: White space changes and Copyright updates. + +2003-05-29 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Variable.pm (check_defined_unconditionally): Add + the $parent_cond argument. + (output): Use $self->name in diagnostic not $self. + (variable_value_as_list): Rename as ... + (value_as_list): ... this. Declare as a method. Take a $parent_cond + argument and pass it to check_defined_unconditionally. Do not call + variable_assert, now that this is a method. + (variable_assert): Delete (unused). + * automake.in (traverse_variable_recursively_worker): Adjust to + use check_defined_unconditionally and value_as_list as a methods. + + * lib/Automake/Variable.pm (output): Declare as a method, since it + is only used this way. + (define): Fix documentation of $cond. + Suggested by Raja R. Harinath. + +2003-05-25 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Variable.pm, lib/Automake/VarDef.pm: New files. + * lib/Automake/Makefile.am (dist_perllib_DATA): Add Variable.pm + and VarDef.pm. + * automake.in: Use Automake::Variable and Automake::VarDef. + (MACRO_PATTERN): Delete. Now Automake::Variable::_MACRO_PATTERN. + (am_macro_for_var): Delete. Now Automake::Variable::_am_macro_for_var. + (ac_macro_for_var): Delete. Now Automake::Variable::_ac_macro_for_var. + (silent_variable_override): Delete. Now + Automake::Variable::_silent_variable_override. + (var_value, var_location, var_comment, var_type, var_owner, + var_pretty, content_seen): Delete. This functionality is now + offered by Automake::Variable and Automake::VarDef. + (VAR_AUTOMAKE, VAR_CONFIGURE, VAR_MAKEFILE, VAR_ASIS, VAR_PRETTY): + Delete. Now defined in Automake::VarDef. + (var_order): Delete. Now Automake::Variable::_var_order. + (appendvar): Delete. Now Automake::Variable::_appendvar. + (var_SUFFIX_trigger): Register using Automake::Variable::hook. + (initialize_per_input): Call Automake::Variable::reset. + (err_var, msg_cond_var, msg_var, reject_var): Delete. Now + defined in Automake::Variable. + (generate_makefile, process_option_list, handle_languages) + (traverse_variable_recursively_worker) + (transform_variable_recursively, handle_compile) + (handle_libraries, handle_ltlibraries) + (check_typos, handle_dist, handle_subdirs, scan_autoconf_files): + Adjust to use Automake::Variable functions. + (check_ambiguous_condition): Delete. Now + Automake::Variable::_check_ambiguous_condition. + (condition_ambiguous_p): Delete. Now + Automake::Variable::condition_ambiguous_p. + (variable_not_always_defined_in_cond): Delete. Now + Automake::Variable::not_always_defined_in_cond. + (macro_define): Delete. Now Automake::Variable::define. + (macro_delete): Delete. Now Automake::Variable::variable_delete. + (macro_dump): Delete. Now Automake::Variable::variable_dump. + (macros_dump): Delete. Now Automake::Variable::variables_dump. + (variable_defined): Delete. Now + Automake::Variable::variable_defined, with the target check + temporarily disabled. + (variable_assert): Delete. Now Automake::Variable::variable_assert. + (examine_variable): Delete. Now + Automake::Variable::examine_variable. + (variable_conditions): Delete. Now Automake::Variable::conditions. + (scan_variable_expansions): Delete. Now + Automake::Variable::scan_variable_expansions. + (check_variable_expansions): Delete. Now + Automake::Variable::check_variable_expansions. + (check_variable_defined_unconditionally): Delete. Now + Automake::Variable::check_defined_unconditionally. + (variable_value): Delete. Now Automake::Variable::variable_value. + (variable_value_as_list): Delete. Now + Automake::Variable::variable_value_as_list. + (variable_value_as_list_recursive_worker): Adjust to use + Automake::Variable functions. + (variable_output): Delete. Now Automake::Variable::output. + (define_pretty_variable, define_configure_variable, read_am_file) + (define_standard_variables, read_main_am_file): Adjust to use + Automake::Variable functions. + (handle_variables): Delete. Now Automake::Variable::output_variables. + (file_contents_internal, am_primary_prefixes, am_install_var) + (require_file_with_macro, require_conf_file_with_macro) + (push_dist_common): : Adjust to use + Automake::Variable functions. + (require_variables): Delete. Now + Automake::Variable::require_variables. + (require_variables_for_macro): Delete. Now + Automake::Variable::require_variables_for_variable. + * tests/Makefile.am (XFAIL_TESTS): Add target.test. + +2003-05-25 Christian Cornelssen <ccorn@cs.tu-berlin.de> (tiny change) + + * tests/dejagnu7.test: Check if runtest supports --status. + +2003-05-23 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Location.pm (dump): Output 'INTERNAL' when position + is undefined. + + * lib/Automake/DisjConditions.pm (human): Fix infinite loop when + $self contains only one Condition. + + * automake.in: Use plain strict, including refs. + (macro_define, handle_single_transform_list): Use \&{'name'} to + build references to named subroutines. + +2003-05-22 Karl Berry <karl@gnu.org> + + * automake.texi: Update @dircategory to match the Free Software + Directory. End directory entries with dots. + +2003-05-22 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.texi (maintainer-mode): s/François/Fran@,{c}ois/. + + * lib/elisp-comp: s/François/Franc,ois/. + Suggested by Paul Eggert. + + * automake.in: Move the "main" code at the end. + (parse_arguments): Move near the end. + ($KNOWN_EXTENSIONS_PATTERN, @known_extensions_list, + accept_extensions, var_SUFFIXES_trigger): Move these definitions + before any call to register_language. + (am_file): Move the definition with all other global variables, + do not use local to define it. + * Makefile.am (maintainer-check): Expect no `local' in Automake. + +2003-05-21 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Wrap.pm, lib/Automake/tests/Wrap.pl: New files. + * lib/Automake/Makefile.am (dist_perllib_DATA): Add Wrap.pm. + * lib/Automake/tests/Makefile.am (TESTS): Add Wrap.pl. + * automake.in (handle_texinfo_helper, pretty_print_rule) + (variable_output): Adjust to use makefile_wrap instead of + pretty_print_internal. + (pretty_print_internal): Remove. Renamed as Automake::Wrap::wrap + and augmented to accept the $eol and $max_len arguments. + +2003-05-18 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Autom4te/XFile.pm, lib/config.guess, lib/config.sub, + lib/texinfo.tex: New upstream versions. + +2003-05-17 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/install.am (install, install-exec, install-data, uninstall): + Declare conditionally using a if/else/endif block instead of + using ?SUBDIRS?-style conditions. The latter fail when + %maybe_BUILT_SOURCES% is replaced by several lines. + This fixes a bug introduced on 2003-04-06. + * tests/bsource.test: New file. + * tests/Makefile.am (TESTS): Add bsource.test. + Reported by Bruno Haible. + +2003-05-11 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.texi (renamed objects): New node. + (Program and Library Variables): Move maude_DEPENDENCIES closer + to maude_LDADD. Define and use `per-target compilation flags' in the + explanation for maude_CFLAGS et al. Link to the `renamed objects' + node. Illustrate maude_SHORTNAME. + +2003-05-09 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/install-sh: Update copyright notice and license to that of + X11R6. This removes an advertising clause reported as Debian bug + #191717. + +2003-05-07 Alexandre Duret-Lutz <adl@gnu.org> + + * configure.in (ACLOCAL): Do not use -I, --acdir is enough. + + * m4/make.m4: Rename the doit target as am__doit, + and make it phony. + Reported by Philip S Tellis. + +2003-05-07 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/configure.am (%MAKEFILE-IN%): Propagate automake's exit + status. + * tests/makej.test: New file (test Autom4te's cache locking, + new in CVS Autoconf). + * tests/Makefile.am (TESTS): Add makej.test. + +2003-05-06 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/General.pm (contents): New function. + * aclocal.in (greatest_mtime, force_output): New globals. + (scan_configure, add_file): Update $greatest_mtime. + (parse_arguments): Parse --force. + (write_aclocal): Do not overwrite $output_file unless needed. + * automake.texi (aclocal options): Document --force. + * tests/aclocal7.test: New file. + * tests/Makefile.am (TESTS): Add aclocal7.test. + +2003-05-05 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.texi (Optional): Document m4_include. + (Invoking aclocal): Shake a bit to introduce the various uses + of aclocal and explain that aclocal will use m4_include for + local files. + (Extending aclocal): Show how to install installable macros + in $(datadir)/aclocal, and make it clearer that writing installable + macros is not the only way to extend aclocal. + (Local Macros, Future of aclocal): New sections. + +2003-04-27 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (@common_files): Remove acinclude.m4 since + it will be m4_included by aclocal.m4 and files are always + distributed. + (scan_aclocal_m4): Do not bother about acinclude.m4 anymore. + We will get this dependency when tracing m4_includes. + * tests/aclocal6.test: Make sure acinclude.m4 is distributed + when used. + * tests/acinclude.test: Delete. + * tests/Makefile.am (TESTS): Remove acinclude.test. + +2003-04-25 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_configure): Don't add @configure_deps to + DIST_COMMON, we do this from lib/am/configure.am now. + Define the am__configure_deps variable instead of substituing + %CONFIGURE_DEPS%. + * lib/am/configure.am (%MAKEFILE-IN%, $(top_srcdir)/configure, + $(ACLOCAL_M4)): Use $(am__configure_deps) instead of %CONFIGURE_DEPS%. + (DIST_COMMON): Add $(am__configure_deps). + + * tests/aclocal6.test: New file. + * lib/am/configure.am (am--refresh): New rule. + (%MAKEFILE-IN%, %MAKEFILE%, $(top_builddir)/config.status, + $(top_srcdir)/configure): Call the top-level am--refresh from + subdirectories. + ($(ACLOCAL_M4)): Depend upon %CONFIGURE_DEPS%. Call the + top-level am--refresh when not in the top-level directory. + Fix jump directories for VPATH builds. + Suggested by Raja R. Harinath. + +2003-04-24 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (scan_aclocal_m4): Do not parse ACLOCAL_AMFLAGS + and glob for m4_files (We've got all local m4 files while + tracing m4_include's). Diagnose ACLOCAL_M4_SOURCES as obsolete. + Distribute aclocal.m4 only at the top-level. + (my_glob): Remove. This fixes PR automake/11. + (handle_dist): Strip leading `./' from directories. + * aclocal.in (add_file): Output 'm4_include([file.m4])' instead + of copying local files. + (write_aclocal, parse_arguments): Bump copyright date. + * configure.in: De not build m4/amversion.m4 from here ... + * m4/Makefile.am ($(srcdir)/amversion.m4): ... do this here. + (nodist_m4data_DATA): Use $(srcdir)/amversion.m4 instead + of amversion.m4. + * tests/Makefile.am (XFAIL_TESTS): Remove aclocal5.test. + (TESTS): Remove aclocal2.test. Do not test aclocal.test twice. + * tests/aclocal2.test: Delete (pointless). + * tests/aclocal5.test: Make sure configure's dependencies are + distributed. + * tests/acinclude.test: Adjust to search for m4_include. + * tests/dirlist.test, tests/dup3.test: Run $AUTOCONF and grep + configure instead of aclocal.m4. + + For PR automake/46: + * automake.in (scan_aclocal_m4): Work in all directories, not only + the top-level. Prepend $(top_srcdir) in front of each aclocal.m4 + dependency. + * lib/am/configure.am (config.status, configure, $(ACLOCAL_M4)): + Define rebuild rules in each directory. + * tests/subdir8.test: Augment to exercise aclocal.m4's dependencies + from the top-level directory. + * tests/aclocal5.test: New file. Exercise aclocal.m4's dependencies + from a subdirectory. + * tests/Makefile.am (TESTS): Add aclocal5.test. + (XFAIL_TESTS): Replace subdir8.test by aclocal5.test. + +2003-04-24 Akim Demaille <akim@epita.fr> + Alexandre Duret-Lutz <adl@gnu.org> + + For PR automake/46: + * lib/am/configure.am (%MAKEFILE-IN%): If Makefile.in is rebuilt + because of one of configure's dependencies, run automake without + argument to update the whole tree at once. Depend upon + %CONFIGURE_DEPS%. + (%MAKEFILE%): If Makefile is rebuilt because config.status has + been updated, run config.status without arguments. + * automake.in (scan_autoconf_traces): Prepend $(top_srcdir) + before all files in @configure_deps. + * tests/subdir5.test: Modernize configure.in, make sure + maude/Makefile was actually created, and exercise %CONFIGURE_DEPS%. + * tests/subdir8.test: New file. + * tests/Makefile.am (TESTS): Add subdir8.test. + (XFAIL_TESTS): Replace subdir5.test by subdir8.test. + +2003-04-23 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.texi (Requirements): Typo in index + s/AC_CONFIG_FILE/AC_CONFIG_FILES/. + + * lib/texinfo.tex: New upstream version. + +2003-04-21 Jim Meyering <jim@meyering.net> + + * lib/mkinstalldirs: Remove each sequence of spaces before a + TAB character. + * lib/depcomp: Search for TAB-SPC, not SPC-TAB. + +2003-04-19 Alexandre Duret-Lutz <adl@gnu.org> + + Fix for PR automake/389: + * automake.in (handle_configure): Don't put $colon_infile in + CONFIG-MAKEFILE. + * tests/conff.test: New file. + * tests/Makefile.am (TESTS): Add conff.test. + Reported by Alexander Turbov. + +2003-04-18 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/defs.in: Handle required=etags to work around + Exuberant Ctags. + + * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream + versions. + + * tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test: + Distribute dejagnu test cases, so that distcheck actually runs them. + +2003-04-18 Richard Dawe <rich@phekda.freeserve.co.uk> + + * lib/am/dejagnu.am (site.exp): Don't define tool in site.exp, + because we set that by invoking runtest with --tool. + * tests/Makefile.am (TESTS): Add dejagnu4.test, dejagnu5.test, + dejagnu6.test, dejagnu7.test. + * tests/dejagnu4.test: New test. + * tests/dejagnu5.test: New test. + * tests/dejagnu6.test: New test. + * tests/dejagnu7.test: New test. + + * tests/dejagnu3.test: Make sure the DejaGnu test is actually run. + +2003-04-18 Jim Meyering <jim@meyering.net> + + * automake.in (variable_output): Fix typo in comment s/is/if/. + + * lib/am/yacc.am (?!GENERIC?%OBJ% aka .y.c): Don't redirect + directly to $@. Instead, redirect to $@t and rename upon success. + Also, move the commands that update $@ so they are last. Otherwise, + this rule could leave the user with an up to date target (.c file) + but with a missing or corrupted corresponding .h file. + +2003-04-17 Richard Dawe <rich@phekda.freeserve.co.uk> + + * tests/defs.in: Handle required=runtest, to detect runtest + from DejaGnu. + * tests/Makefile.am (TESTS): Add dejagnu3.test. + * tests/dejagnu3.test: New test. + +2003-04-16 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (rule_define): If the user tries to override + an Automake which has a -local variant, suggest using the + -local variant in the -Woverride diagnostic. + (handle_factored_dependencies): Register factored + rules with rule_define, and define them only in undefined + conditions. + * tests/Makefile.am (TESTS): Add override.test. + * tests/overrid.test: New file. + * tests/phony.test: Count the number of .PHONY targets. + +2003-04-15 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/distdir.am (distuninstallcheck, distcleancheck): Silence + these rules, so that we don't confuse users by echoing + "echo ERROR:" commands which are not run. + +2003-03-14 Richard Dawe <rich@phekda.freeserve.co.uk> + Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (output_texinfo_build_rules, handle_texinfo_helper, + initialize_per_input): Add infrastructure for generating HTML + documentation from texinfo source. + * lib/am/texinfos.am: Add rules for building HTML documentation + from texinfo source. + * lib/am/texibuild.am: Likewise. + * automake.texi (Texinfo): Document rules for building + HTML documentation from texinfo source. + * tests/txinfo21.test: New file. + * tests/Makefile.am (TESTS): Add txinfo21.test. + * tests/defs.in: Handle required=makeinfo-html. + +2003-04-14 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (%silent_variable_override): New variable. + (macro_define): Warn about variable definitions overriding + Automake variables. + (rule_define): Warn about target definitions overriding + Automake variables. Fix $condmsg definition. + * automake.texi (Invoking Automake): Document the `override' + category. + * lib/Automake/ChannelDefs.pm (usage): Likewise. + * lib/am/texinfos.am [!%?CYGNUS] (MAKEINFO): Do not define, + this is already done in m4/init.m4. + * tests/dejagnu2.test: Run $MAKE, don't only grep. Use + -Wno-override, and make sure we get a warning without. + * tests/exeext2.test, tests/substtarg.test: Use -Wno-override, + and make sure we get a warning without. + * tests/exeext3.test, tests/java2.test, tests/nolink.test, + tests/subpkg.test, tests/vartest.test: Use -Wno-override. + * tests/txinfo13.test: Use installcheck-local instead of overriding + installcheck. + * tests/txinfo2.test: Run $MAKE on the real Makefile (this test + used to succeed thanks to a failure...) + * tests/location.test: Adjust expected messages. + * tests/Makefile.am (XFAIL_TESTS): Add txinfo5.test. + +2003-04-12 Raja R Harinath <harinath@acm.org> + + * lib/Automake/DisjConditions.pm (true): Don't cache answer. + (invert): Update comment. + (_simplify): Remove. + (simplify): Implement using invert(). + * lib/Automake/tests/DisjConditions.pl (test_simplify): + Update to reflect changes. + +2003-04-12 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (scan_autoconf_files): Augment the error message + about AM_INIT_AUTOMAKE not found. + Suggested by Bruno Haible. + + * lib/Automake/Version.pm: New file. + * lib/Automake/Makefile.am (dist_perllib_DATA): Add Version.pm. + * lib/Automake/tests/Version.pl: New file. + * lib/Automake/tests/Makefile.am (TESTS): Add Version.pl. + * tests/Makefile.am (TESTS): Remove version5.test. + * tests/version5.test: Delete. Move the tests to Version.pl. + * automake.in (version_split, version_compare, version_check): Move ... + * lib/Automake/Version.pm (split, compare, check): ... here. + +2003-04-11 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/tests/Condition.pl (test_reduce_and) + (test_reduce_or): Cosmetics. + * lib/Automake/tests/DisjConditions.pl (test_sub_conditions): + Fix a comment. + * lib/Automake/DisjConditions.pm (sub_conditions): Add missing C<...> + in comment. + * tests/yacc8.test, configure.in: Update copyright year. + +2003-04-10 Richard Dawe <rich@phekda.freeserve.co.uk> + + * configure.in: Get the build platform name. Define + MODIFICATION_DELAY as the time to wait after modifying a file, + to cope with timestamp granularity issues, depending + on the platform. + * tests/defs.in: Define `sleep' using MODIFICATION_DELAY. + +2003-04-10 Eric Siegerman <eric_97@pobox.com> (tiny change) + + * automake.texi (Public macros): Clarify that the new + AM_INIT_AUTOMAKE variant is preferred, and the old one + deprecated. Copy-edit the rest of the AM_INIT_AUTOMAKE item. + (Hello): Caution that the example uses the deprecated + AC_INIT/AM_INIT_AUTOMAKE syntax, and xref to the discussion. + +2003-04-10 Alexandre Duret-Lutz <adl@gnu.org> + + Retain all variable definitions until the whole Makefile.am has + been processed, then output all variables in one step, at the top + of Makefile.in. (Older revisions used to output user variables + before generating Automake targets, and to mix Automake variables + with Automake targets, preventing redefinitions of previously + output variables.) + + * automake.in (%var_pretty): New variable. + (VAR_ASIS, VAR_PRETTY): New constants. + (@var_list): Rename as ... + (@var_order): ... this. + (initialize_per_input): Clear %var_pretty. + (handle_variables): New function, extracted from ... + (read_main_am_file): ... here. + (generate_makefile): Call handle_variable after everything else. + (handle_dist): Use define_pretty_variable, not pretty_print. + (pretty_print): Delete. + (macro_define): Augment with $COMMENT and $PRETTY parameters. + Update %var_comment, %var_pretty, and @var_order. Adjust callers. + (variable_pretty_output): Merge with ... + (variable_output): ... this, and choose the prettiness on a + per-condition basis. + (append_comments): Delete. This work is now done by macro_define. + (read_am_file, file_contents_internal): Don't call append_comments + nor update @var_list, adjust calls to macro_define. + (handle_subdirs): Don't explicitly output RECURSIVE_TARGETS, + just mark it as VAR_PRETTY. + * tests/exeext.test: Make sure bin_PROGRAMS is output only once. + Report from Jim Meyering. + +2003-04-06 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_installdirs): Rename as ... + (handle_install): ... this. Define maybe_BUILT_SOURCES. + (generate_makefile): Adjust call to handle_install. + * lib/am/install.am (install): Use %maybe_BUILT_SOURCES%. + * automake.texi (Sources, Built sources example): BUILT_SOURCES + is honored by `make install' too. + * tests/check3.test: Make sure that `make install' also depends + upon BUILT_SOURCES. + Report from Alexander Turbov. + + * lib/am/libs.am (ARFLAGS): Define. + * automake.in (handle_libraries): Use `$(ARFLAGS)' instead of + hard-coding `cru'. + * automake.texi (A Library): Explain how AR, ARFLAGS and RANLIB + are used, and how they can be overridden. + (Program and Library Variables): Adjust to show `$(ARFLAGS)' + instead of `cru' + * tests/ar.test: Rewrite to test for AR, ARFLAGS, and RANLIB. + * tests/ranlib.test: Delete, obsoleted by ar.test. + * tests/Makefile.am (TESTS): Remove ranlib.test. + Report from Paul Thomas. + +2003-04-03 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (check_trailing_slash): New function (variation on + a patch by Peter Muir). Diagnose whitespaces following trailing + backslash. + (read_am_file): Use it. + * tests/backsl4.test: New file. + * tests/Makefile.am (TESTS): Add backsl4.test. + Reported by Peter Muir. + +2003-03-29 Raja R Harinath <harinath@acm.org> + + Speedup Automake::DisjConditions::invert(). + * lib/Automake/Condition.pm (multiply): New. + * lib/Automake/DisjConditions.pm (_multiply): Use it. + (sub_conditions): Likewise. + + * lib/Automake/Condition.pm (reduce): Rename to ... + (reduce_and): ... this. + (reduce_or): New. + * lib/Automake/DisjConditions.pm (_multiply): Use reduce_or(). + * lib/Automake/tests/Condition.pl (test_reduce): Rename to ... + (test_reduce_and): ... this. + (test_reduce_or): New. + * lib/Automake/tests/DisjConditions.pl + (test_invert): Update to reflect effect of reduce_or(). + (test_simplify): Don't skip invert() on larger inputs. + +2003-03-29 Raja R Harinath <harinath@cs.umn.edu> + + * tests/yacc8.test: Add a $sleep before modifying Makefile.am so + that timestamp will change. + +2003-03-23 Akim Demaille <akim@epita.fr> + Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/tags.am (TAGS): Use --etags-include instead of --include, + when supported by etags (Exuberant Ctags). + * tests/tagsub.test: Rewrite to _run_ the `tags' rule. + +2003-03-20 Alexandre Duret-Lutz <adl@gnu.org> + + For Debian Bug #185388: + * automake.texi (Extending): Augment the install-exec-hook + discussion with an example how to symlink a versioned binary. + * tests/insthook.test: Rewrite to test the above example. + Report from James R. Van Zandt. + +2003-03-19 Alexandre Duret-Lutz <adl@gnu.org> + + * Makefile.am (maintainer-check): Allow `automake:' tokens, + occuring in location.test. Automake now has 5 legitimate + unsubstituted @strings@. + + * tests/aclocal4.test: Require GNU make. + +2003-03-14 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/aclocal4.test: New file. Test for the ACLOCAL_M4 bug below. + * tests/Makefile.am (TESTS): Add aclocal4.test. + +2003-03-14 Jim Meyering <jim@meyering.net> + + * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in + subdirectories. Makefile.in depends on that variable. + +2003-03-13 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/init.m4: Remove a leftover comment from the pre-1.7 era. + + Fix for PR automake/386: + * m4/init.m4: Require Autoconf 2.55. + Reported by Owen Taylor. + + * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj) + (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode. + Suggested by Matthias Andree. + + * tests/README: Typo. + +2003-03-08 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj) + (?GENERIC?%EXT%.lo): Hide the if/then/else machinery for FASTDEP. + Just echo the gcc command. + Suggested by Karl Berry. + +2003-03-06 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/depend2.am (?GENERIC?%EXT%.lo): Do not use + `test -f foo || echo $(srcdir)/` to emulate a VPATH search when + outputing suffix rules. This follows 2003-02-25's change. + * lib/am/lex.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise. + * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%): Likewise. + +2003-03-05 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.texi (Requirements) <AC_CONFIG_FILES>: Files listed + with AC_CONFIG_FILES are cleaned by `make distclean'. Don't + pretend otherwise. + Reported by Rafael Laboissiere. + +2003-03-04 Andreas Buening <andreas.buening@nexgo.de> + + * lib/mdate-sh: Find out which column of the ls -l output contains + the month. Do not assume it is at least the fifth column. + +2003-02-26 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.texi (Emacs Lisp): Mention that `dist_' can be used. + + * automake.texi (Emacs Lisp): Instruct people to use lisp_DATA + instead of lisp_LISP when they don't want byte-compilation. + Don't mention ELCFILES anymore. + * automake.in (handle_data): Allow lisp_DATA. + * tests/lisp5.test: New file. + * tests/Makefile.am (TESTS): Add lisp5.test. + + * automake.in (handle_emacs_lisp): Don't build *.elc files + if ELCFILES was set empty. + * tests/lisp4.test: New file. + * tests/Makefile.am (TESTS): Add lisp4.test. + Reported by Simon Josefsson. + + * tests/lex3.test, tests/lex5.test: Require flex. + Reported by Leo Davis. + +2003-02-25 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj): Do not + use the `test -f foo || echo $(srcdir)/` to emulate a VPATH search + when outputing suffix rules. + * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.dvi) + (?GENERIC?%SOURCE_SUFFIX%.pdf): Likewise. + Suggested by Bruno Haible. + + * automake.in (read_am_file): Catch trailing backslashes on last line. + * tests/backsl3.test: New file. + * tests/Makefile.am (TESTS): Add backsl3.test. + Reported by Akim Demaille. + +2003-02-24 Alexandre Duret-Lutz <adl@gnu.org> + + * ChangeLog: Move 2002's entries to ... + * ChangeLog.02: ... this new file. + * Makefile.am (EXTRA_DIST): Add ChangeLog.02. + +2003-02-24 Richard Dawe <rich@phekda.freeserve.co.uk> + + * tests/version7.test: Use $sleep to sleep before updating + the version, to work around timestamp inconsistencies in Windows. + +2003-02-24 Bruno Haible <bruno@clisp.org> + Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/texibuild.am: Don't remove the target info files. Instead, + back up and restore them if makeinfo fails. + * tests/txinfo20.test: New file. + * tests/Makefile.am (TESTS): Add txinfo20.test. + +2003-02-23 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.texi (FAQ, CVS, maintainer-mode, wildcards) + (distcleancheck): Fix typos and other errors reported by Karl + Berry. + +2003-02-20 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Use $(...) + instead of ${...}. + + * tests/defs.in: Handle required=ro-dir. + * tests/destdir.test: Use this. + +2003-02-19 Richard Dawe <rich@phekda.freeserve.co.uk> + + * lib/am/distdir.am (distcheck): Strip any leading DOS drive + from dc_install_base. + +2003-02-19 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/texinfos.am (install-info-am, uninstall-info-am): Install + DJGPP-style *.iNN info files. + (maintainer-clean-aminfo): Rewrite using the same pattern + as in uninstall-info-am. + * lib/am/texibuild.am (%SOURCE_SUFFIX%%DEST_SUFFIX%): Erase + DJGPP-style *.iNN info files before running $(MAKEINFO). + * tests/txinfo19.test: New file. + * tests/Makefile.am (TESTS): Add txinfo19.test. + +2003-02-18 Richard Dawe <rich@phekda.freeserve.co.uk> + + * lib/depcomp (dashmstdout): Cope with DOS filenames in + dependencies. + +2003-02-17 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/depcomp (makedepend): Don't pass $object to makedepend. + Reported by Stepan Kasal. + +2003-02-12 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/defs.in: Handle required=makedepend. + + * Makefile.am (maintainer-check): Update the diff check + to account for the recent @SHELL@ substitution. + +2003-02-11 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/depcomp: Do not put comments on the `icc)' line. + + * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream + versions. + + Fix for PR automake/381: + * automake.in (handle_gettext): Do not print diagnostics + about po/ and intl/ missing from SUBDIRS if po/ does not + exist. Warn if `SUBDIRS = intl' is used although libintl + is 'external'. + * tests/gettext.test: Make sure diagnostics are not output + when po/ does not exist. + * tests/gettext2.test: Test for unwanted intl/. + PR from Alexander Turbov, fix suggested by Bruno Haible. + + * m4/depend.m4: Grep depcomp's stderr for icc warnings about + ignored options. + * lib/depcomp (icc): New mode. + * tests/depcomp5.test: New file. + * tests/defs.in: Handle required=icc. + * tests/Makefile.am (TESTS): Add it. + + Temporary hack for PR automake/381: + * automake.in (handle_gettext): Turn missing po/ and intl/ errors + into -Wsyntax warnings. + +2003-02-10 Richard Dawe <rich@phekda.freeserve.co.uk> + + * Makefile.am: Substitute @SHELL@ in automake.in and aclocal.in. + This makes the setting of SHELL work for DJGPP. + +2003-02-10 Alexandre Duret-Lutz <adl@gnu.org> + + For PR automake/385: + * lib/depcomp (makedepend): Strip any libtool call, before + running makedepends. + * tests/depcomp4.test: New file. + * tests/Makefile.am (TESTS): Add it. + Reported by Jeff Squyres. + + Related to PR automake/385: + * lib/depcomp (dashmstdout): Do not use `-o /dev/null', or gcc will + write dependencies to /dev/null. `-o /dev/null' was added + on 2002-06-13 just because I tried to replace `-o foo.o' by something + else and didn't thought about removing it entirely. + * tests/depcomp3.test: New file. + * tests/Makefile.am (TESTS): Add it. + + * automake.in (BEGIN): Override $ENV{'SHELL'} with ./configure's + SHELL for DJGPP. + Suggested by Richard Dawe. + +2003-02-09 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.texi (FAQ, CVS, maintainer-mode, wildcards) + (distcleancheck): New nodes. + +2003-02-06 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (scan_autoconf_files): Don't complain that + AM_INIT_AUTOMAKE comes from an old version if it was not found. + +2003-02-05 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (am_install_var): Simplify filtering of + variable_loc_and_value_as_list_recursive's output. + +2003-02-04 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Recompute + indexes of header files so we create stamp files with + the right numbers when config.status is run on some headers. + * tests/stamph2.test: Check for this. + Reported by Sander Niemeijer. + +2003-02-02 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (vars_scanned): Move near traverse_variable_recursively. + (traverse_variable_recursively, + traverse_variable_recursively_worker): Accept a $COND_FILTER argument + to filter out conditions during recursion. Don't recurse into + undefined variables. Don't pass empty results to &FUN_COLLECT. + (value_to_list): Remove, was used by + variable_value_as_list_recursive_worker only. + (variable_value_as_list_recursive_worker): Rewrite using + traverse_variable_recursively. Remove the $parent argument. + (variable_value_as_list_recursive, + variable_loc_and_value_as_list_recursive): Adjust calls + to variable_value_as_list_recursive_worker. Don't reset + %vars_scanned. + * tests/cond3.test: Don't expect empty helper variables, + we don't output them anymore. + * tests/cond30.test: Use an undefined variable. + + * automake.in (handle_programs): Strip $(EXEEXT) before + calling &check_canonical_spelling. + * tests/exeext.test: Make sure we don't use a + maude3__EXEEXT__OBJECTS variable. + +2003-02-02 Jeremy Nimmer <jwnimmer@alum.mit.edu> (tiny change) + + For Debian Bug #39542: + * automake.texi (Invoking Automake, Optional): Document how + AC_CONFIG_AUX_DIR interacts with missing files. + +2003-02-02 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/DisjConditions.pm (_permutations_worker) + (permutations): Remove, so that people aren't tempted to use it. + * lib/Automake/tests/DisjConditions.pl (tests_permutations): Remove. + + * automake.in (variable_conditions_recursive): Remove. + (variable_conditionally_defined): Rewrite using + traverse_variable_recursively. + + * automake.in (traverse_variable_recursively, + traverse_variable_recursively_worker): Pass one merged Condition + instead of a stack of conditions to &FUN_STORE and &FUN_COLLECT. + (transform_variable_recursively, define_objects_from_sources) + (handle_lib_objects, variable_conditions_recursive): Adjust usage. + +2003-02-01 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_lib_objects): Compute _DEPENDENCIES variables + using transform_variable_recursively instead of + variable_conditions_recursive and variable_value_as_list_recursive + to avoid combinatorial explosion. + (handle_lib_objects_cond): Merge into handle_lib_objects. + * tests/cond11.test: Don't grep internal details in Makefile.in, + run $MAKE to make sure the resulting Makefile runs as expected. + * tests/cond29.test: Also exercise conditional _LDADD. + * tests/cond31.test, tests/cond32.test: New files. + * tests/Makefile.am (TESTS): Add tests/cond31.test and + tests/cond32.test. + +2003-01-31 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_lib_objects_cond): Ignore -dlopen and + -dlpreopen in _LIBADD variables too. + (handle_LIBOBJS, handle_ALLOCA): New functions, extracted from + handle_lib_objects_cond. + * tests/libtool7.test: New file. + * tests/Makefile.am (TESTS): Add libtool7.test. + + * automake.texi (Program and Library Variables): Clarify that + _LIBADD is for libraries and _LDADD for programs. + + * automake.in (handle_source_transform): Correct typo from 2003-01-23. + +2003-01-28 Alexandre Duret-Lutz <adl@gnu.org> + + Fix for PR automake/352: + * automake.in (transform_variable_recursively): If the destination + and the source variables are the same, delete the source variable + before defining the destination variable. + (handle_programs): Strip any $(EXEEXT) suffix from $one_file, + or this will confuse handle_source_transform. + (append_exeext): Rewrite using transform_variable_recursively. + * tests/cond29.test, tests/cond30.test: New files. + * tests/exeext.test: Run ./configure and make, this uncovered + the above handle_programs issue. + * tests/Makefile.am (TESTS): Add cond29.test and cond20.test. + + * automake.in (%subobjvar): Replace by ... + (%gen_varname): ... this. + (subobjname): Replace by ... + (gen_varname): ... this. + (initialize_per_input): Clean gen_varname instead of subobjname. + (transform_variable_recursively): New function, extracted + from define_objects_from_sources. + (define_objects_from_sources): Use transform_variable_recursively. + Remove the unused $parent argument. + (handle_source_transform): Adjust call to define_objects_from_sources. + +2003-01-23 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (@substfroms, @substtos): Move near + traverse_variable_recursively. + (traverse_variable_recursively, traverse_variable_recursively_worker): + New functions, extracted from define_objects_from_sources. + (define_objects_from_sources): Rewrite using + traverse_variable_recursively. + (handle_source_transform): Use variables_conditionally_defined + instead of calling variable_conditions_recursive directly. + Adjust the call to define_objects_from_sources; there is no need + to reset @substtos, @substfroms, and %vars_scanned now. + (variable_conditions_recursive): Rewrite using + traverse_variable_recursively. + (variable_conditions_recursive_sub): Remove. + (variable_conditionally_defined): Fix condition comparison (the + consequence was that DIST_SUBDIRS was always output). + * lib/Automake/Condition.pm (merge): Allow merging several + conditions at once. + +2003-01-22 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.texi (Python): Explain that directory variables start + with either ${prefix} or ${exec_prefix}, and point to the + `Installation Directory Variables' section of the Autoconf manual. + +2003-01-21 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/distdir.am (top_distdir, distdir): Define these + variables only in top level Makefile. Redefine $(top_distdir) + as $(distdir). + (distdir): Fix passing of $(top_distdir) to sub-makes. + * automake.in (handle_dist): Do not define the DISTDIR and + TOP_DISTDIR transformations. We don't need them anymore. + * automake.texi (Dist): Reorder the dist-hook section, and move + the DIST_SUBDIRS paragraph earlier. Document distdir and + top_distdir. + * tests/subpkg.test: Update to check for $(distdir) and + $(top_distdir). + +2003-01-19 Alexandre Duret-Lutz <adl@gnu.org> + + Rename more files to accomodate 8+3 file systems, and adjust the + vocabulary at the same time: AM_CONDITIONAL defines "conditionals", + and we call "condition" a conjunction of "conditionals". + * lib/am/Conditional.pm: Rename to lib/am/Condition.pm. + * lib/am/tests/Conditional.pl: Rename to lib/am/tests/Condition.pl. + * lib/am/ConditionalSet.pm: Rename to lib/am/DisjConditions.pm. + * lib/am/tests/ConditionalSet.pl: Rename to + lib/am/tests/DisjConditions.pl + * lib/am/Conditional.pm (condition_negate): Rename to ... + * lib/am/Condition.pm (conditional_negate): ... this. + * automake.in: Adjust references to Condition and DisjConditions. + (check_ambiguous_conditional, conditional_ambiguous_p): Rename to ... + (check_ambiguous_condition, condition_ambiguous_p): ... these. + + * tests/README: New file. + + * automake.texi (Conditional Programs): Show a sample Makefile.am. + Remind $(EXEEXT) must be appended to configure substitutions. + Show how Automake conditionals can be used instead. + * tests/exeext.test (check_PROGRAMS): Make sure EXEEXT is also + appended to conditionally defined programs. + +2003-01-16 Jim Meyering <jim@meyering.net> + + Accept --help and --version, and lots of syntactic clean-up. + * lib/install-sh: Use consistent indentation, two spaces per level. + (scriptversion): New variable. + Change initializations like `variable=""' to `variable='. + (usage): New variable. + Use `test', not `['. + Use `test -z "$var"', not `[ x"$var" = x ]'. + Use `test -n "$var"', not `[ x"$var" != x ]'. + Alphabetize case entries. + Accept --help and --version options. + Remove unnecessary `else :' clauses. + Add a `Local variables' eval block to help emacs users update + the time-stamp variable added above. + Mostly from Karl Berry. + +2003-01-16 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/python.m4 (AM_PATH_PYTHON) <_AM_PYTHON_INTERPRETER_LIST>: Add + python2.3. + + * m4/python.m4 (AM_PATH_PYTHON): Query distutils for `pythondir' + or `pyexecdir', for the sake of 64-bit distributions that usually + use lib64/ instead of lib/. Fall back to the default directory + if it doesn't work. + Suggested by Gwenole Beauchesne. + +2003-01-14 Alexandre Duret-Lutz <adl@gnu.org> + + For PR automake/382: + * automake.texi (Yacc and Lex): Document `AM_YFLAGS = -d'. + Explain BUILT_SOURCES is usually needed in this case. + Reported by William S Fulton. + +2003-01-13 Alexandre Duret-Lutz <adl@gnu.org> + + Rename some files for the sake of 8+3 file systems. + * tests/aclocali.test: Rename to tests/aclocal.test. + * tests/aclocali1.test: Rename to tests/aclocal2.test. + * tests/aclocalii.test: Rename to tests/aclocal3.test. + * tests/acoutput.test: Rename to tests/acoutpt.test. + * tests/acoutput2.test: Rename to tests/acoutpt2.test. + * tests/acouttbs.test: Rename to tests/acoutbs.test. + * tests/acouttbs2.test: Rename to tests/acoutbs2.test. + * tests/autoheader.test: Rename to tests/autohdr.test. + * tests/autoheader2.test: Rename to tests/autohdr2.test. + * tests/condincl.test: Rename to tests/condinc.test. + * tests/condincl2.test: Rename to tests/condinc2.test. + * tests/distcommon.test: Rename to tests/distcom.test. + * tests/distcommon2.test: Rename to tests/distcom2.test. + * tests/distcommon3.test: Rename to tests/distcom3.test. + * tests/installsh.test: Rename to tests/instsh.test. + * tests/installsh2.test: Rename to tests/instsh2.test. + * tests/instdata.test: Rename to tests/instdat.test. + * tests/instdata2.test: Rename to tests/instdat2.test. + * tests/libobj12b.test: Rename to tests/libobj13.test. + * tests/link_f_c.test: Rename to tests/link_fc.test. + * tests/link_f_c_cxx.test: Rename to tests/link_fccxx.test. + * tests/link_f_cxx.test: Rename to tests/link_fcxx.test. + * tests/nodefine.test: Rename to tests/nodef.test. + * tests/nodefine2.test: Rename to tests/nodef2.test. + * tests/required.test: Rename to tests/reqd.test. + * tests/required2.test: Rename to tests/reqd2.test. + * tests/sourcesub.test: Rename to tests/srcsub.test. + * tests/sourcesub2.test: Rename to tests/srcsub2.test. + * tests/specflags.test: Rename to tests/specflg.test. + * tests/specflags2.test: Rename to tests/specflg2.test. + * tests/specflags3.test: Rename to tests/specflg3.test. + * tests/specflags6.test: Rename to tests/specflg6.test. + * tests/specflags7.test: Rename to tests/specflg7.test. + * tests/specflags8.test: Rename to tests/specflg8.test. + * tests/specflags9.test: Rename to tests/specflg9.test. + * tests/subdircond.test: Rename to tests/subcond.test. + * tests/subdircond2.test: Rename to tests/subcond2.test. + * tests/subdircond3.test: Rename to tests/subcond3.test. + * tests/texinfo.test: Rename to tests/txinfo.test. + * tests/texinfo2.test: Rename to tests/txinfo2.test. + * tests/texinfo3.test: Rename to tests/txinfo3.test. + * tests/texinfo4.test: Rename to tests/txinfo4.test. + * tests/texinfo5.test: Rename to tests/txinfo5.test. + * tests/texinfo6.test: Rename to tests/txinfo6.test. + * tests/texinfo7.test: Rename to tests/txinfo7.test. + * tests/texinfo8.test: Rename to tests/txinfo8.test. + * tests/texinfo9.test: Rename to tests/txinfo9.test. + * tests/texinfo10.test: Rename to tests/txinfo10.test. + * tests/texinfo13.test: Rename to tests/txinfo13.test. + * tests/texinfo16.test: Rename to tests/txinfo16.test. + * tests/texinfo17.test: Rename to tests/txinfo17.test. + * tests/texinfo18.test: Rename to tests/txinfo18.test. + * tests/Makefile.am (TESTS): Adjust. + * ChangeLog.1996: Rename to ChangeLog.96. + * ChangeLog.1998: Rename to ChangeLog.98. + * ChangeLog.2000: Rename to ChangeLog.00. + * ChangeLog.2001: Rename to ChangeLog.01. + * Makefile.am (EXTRA_DIST): Adjust. + Reported by Richard Dawe. + +2003-01-13 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change) + + * lib/am/distdir.am (distcheck): '=' is not valid in DOS filenames. + Use '_build' and '_inst' instead of '=build' and '=inst'. + * tests/man2.test: Reflect change automake: check for files in + '_build' and '_inst' directories instead of '=build' and '=inst'. + +2003-01-13 Alexandre Duret-Lutz <adl@gnu.org> + + Use `_dirstamp' when the file-system doesn't support `.dirstamp'. + * m4/lead-dot.m4: New file. + * m4/Makefile.am (dist_m4data_DATA): Add lead-dot.m4 + * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_LEADING_DOT.: + * m4/depend.m4 (AM_SET_DEPDIR): Require AM_SET_LEADING_DOT. Define + DEPDIR using am__leading_dot. + * automake.in (require_build_directory): Define am__dirstamp, a new + variable for the dirstamp basename, based on am__leading_dot. + * tests/subobj6.test: Move all `test -f' into Makefiles, so we can + use $(am__dirstamp). + Reported by Richard Dawe. + + * tests/gnits2.test, tests/pr300-prog.test, tests/transform.test: + Move all `test -f' into Makefiles, so we can honor $(EXEEXT) when + testing for programs. + Reported by Richard Dawe. + +2003-01-10 Alexandre Duret-Lutz <adl@gnu.org> + + * Makefile.am (maintainer-check): Suggest using $sleep instead of + sleep 2. + * tests/defs.in (sleep): New variable. + * tests/asm.test, tests/confsub.test, tests/lisp3.test, + tests/texinfo16.test, tests/warnopts.test, tests/yaccvpath.test: + Use $sleep instead of sleep 2, to work around timestamp + inconsistencies in Windows. + Reported by Richard Dawe. + + * Makefile.am (maintainer-check): Do not require SHELL=/bin/sh + after $MAKE -e. + * tests/ansi3.test, tests/ansi5.test, tests/cond22.test, + tests/man2.test, tests/subobj3.test, tests/suffix8.test, + tests/suffix11.test: Do not set SHELL=/bin/sh after $MAKE -e. + $SHELL is overridden by tests/defs, so it won't hurt even + if $MAKE -e uses the $SHELL envvar. + * tests/ansi.test, tests/insh2.test, tests/texinfo.test, + tests/texinfo8.test: Use SHELL=$SHELL, not SHELL=/bin/sh. + Reported by Richard Dawe. + + Build elisp files all at once instead of one by one. + * automake.in (handle_emacs_lisp): Define am__ELFILES. Add + elc-stamp to all's dependencies. + * lib/am/lisp.am (elc-stamp): New rule, build all *.elc files. + (.el.elc): Rewrite to call elc-stamp if $@ doesn't exist. + (clean-lisp): Clean elc-stamp. + * lib/elisp-comp: Reindent. Erase the temporatry directory + from a trap. Propagate Emacs's exit status. + * tests/lisp3.test: New file. + * tests/Makefile.am (TESTS): Add lisp3.test. + Reported by Ryan T. Sammartino. + +2003-01-09 Akim Demaille <akim@epita.fr> + + * automake.texi: Prefer $(FOO) to @FOO@ in the documentation. + +2003-01-08 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious + variables. Suggested by Ryan T. Sammartino. + +2003-01-05 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (macro_define): Add missing `{$cond}' (typo from + 2002-09-18). + ($gen_copyright): Append year 2003. + (version): Increase year. + + * tests/defs.in: Substitute aclocaldir instead of running + the installed aclocal. Otherwise Libtool and Gettext + tests get skipped when aclocal doesn't preexist. + Reported by Imacat. + * tests/listval.test, tests/suffix2.test: Remove pointless -I + argument to aclocal. + +----- + +Copyright (C) 2003-2012 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, are +permitted provided the copyright notice and this notice are preserved. diff --git a/old/ChangeLog.04 b/old/ChangeLog.04 new file mode 100644 index 000000000..111f87b1d --- /dev/null +++ b/old/ChangeLog.04 @@ -0,0 +1,1623 @@ +2004-12-31 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/man2.test, tests/transform.test: Specify --mandir, in order + not to fail when Autoconf changes its $mandir default. + +2004-12-30 Alexandre Duret-Lutz <adl@gnu.org> + + Support for `install-dvi', `install-html', `install-ps', and + `install-pdf', as recently introduced into the GNU Coding + Standard. + + * automake.in (handle_factored_dependencies): Reject + uninstall-dvi-local, uninstall-html-local, uninstall-info-local, + uninstall-ps-local, and uninstall-pdf-local. Allow + install-info-local even when no-installinfo is not used. + (handle_data): Allow datarootdir, dvidir, htmldir, pdfdir, and psdir. + (%standard_prefix): Declare these new standard directory variables. + * doc/automake.texi (Texinfo, Third-Party Makefiles): Document + install-dvi, install-html, install-pdf, and install-ps. + (Extending): Document install-local-dvi, install-local-html, + install-local-info, install-local-pdf, and install-local-ps. + * lib/Automake/Rule.pm (%dependencies): Add new install rules, + and remove uninstall-info. + * /cvs/automake/automake/lib/am/texinfos.am (install-dvi, + install-dvi-am, install-dvi-recursive, install-html, + install-html-am, install-html-recursive, install-pdf, + install-pdf-am, install-pdf-recursive, install-ps, install-ps-am, + install-ps-recursive, uninstall-dvi-am, uninstall-html-am, + uninstall-pdf-am, uninstall-ps-am): New rules. + (uninstall-info): Delete. + * tests/txinfo21.test: Augment to check for these new rules. + * tests/exdir2.test: Do not use `htmldir' as example of + undefined directory. + * tests/overrid.test: Do not be fooled by install-ps and + install-html. + * tests/txinfo10.test: Do not grep for uninstall-info-recursive. + +2004-12-27 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (Preprocessed Fortran): Fix the definition of FCLINK. + + * Makefile.am (maintainer-check): Refine check for @_ in scalar + context. Check for correct use of PRE_INSTALL, NORMAL_INSTALL, + POST_INSTALL, PRE_UNINSTALL, NORMAL_UNINSTALL, and POST_UNINSTALL. + * lib/am/texinfos.am (uninstall-info-am): Hide the invocation of + $(PRE_UNINSTALL). +2004-12-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/am/texinfos.am (uninstall-info-am): Show change of + directory while uninstalling DJGPP-style info files. + +2004-12-27 Alexandre Duret-Lutz <adl@gnu.org> + + Declare recursive install targets as dependencies of `.MAKE', so + that `make -n install' works with BSD Make too. + + * lib/Automake/Rule.pm (reset) <%dependencies>: Add `.MAKE'. + * automake.in (target_cmp): Move all `.XYZ' target last, not + only `.PHONY'. + (handle_factored_dependencies): Add target with hooks to `.MAKE'. + Do not let a user definition of .MAKE override ours. + * lib/am/install.am (install-am, install-strip): Mark as `.MAKE'. + * lib/am/multilib.am (all-multi, install-multi, mostlyclean-multi, + clean-multi, distclean-multi, maintainer-clean-multi): Likewise. + * lib/am/subdirs.am (mostlyclean-recursive, clean-recursive, + distclean-recursive, maintainer-clean-recursive): Likewise. + +2004-12-18 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/config-ml.in, lib/config.guess, lib/config.sub, + lib/texinfo.tex: New upstream versions. + + * doc/automake.texi (gettext): Move the paragraph about + dist_list_LISP... + (Emacs Lisp): ... here. + Report from Bruno Haible. + + * doc/automake.texi: Bump GFDL version to 1.2, since that is + what we distribute. + + * doc/automake.texi: Fix more misuses of @ref, @xref and @pxref, + including some of the "corrections" below. Thanks to Karl Berry. + + * doc/automake.texi: Correct several misuses of @xref and @pxref. + +2004-12-17 Jim Meyering <jim@meyering.net> + + * install-sh: Use `(exit N); exit N', not `(exit N); exit'. + Otherwise, install-sh could exit with improper exit status when + exiting via a trapped interrupt. Thanks to a report from Bob Proulx. + +2004-12-14 Akim Demaille <akim@epita.fr> + + * doc/automake.texi (Options): Englishoes. + (Options): And another. + +2004-12-13 Alexandre Duret-Lutz <adl@gnu.org> + + * ChangeLog.03: New file, extracted from ChangeLog. + * Makefile.am (EXTRA_DIST): Add it. + +2004-12-12 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (check_user_variables): New function, extracted + from ... + (handle_languages): ... here. + (handle_languages, define_compiler_variable, define_link_variable): + Honore LIBTOOLFLAGS. + (handle_single_transform): Check _LIBTOOLFLAGS in + addition to other per-target flags for Libtool objects. + (handle_libtool): Warn if LIBTOOLFLAGS is defined. + * doc/automake.texi (Libtool Flags, Program and Library Variables, + Flag Variables Ordering): Document LIBTOOLFLAGS. + * tests/libtool7.test: Check basic support for LIBTOOLFLAGS. + * tests/libtool8.test: Make sure Automake warns about LIBTOOLFLAGS + definitions. + * tests/subobj9.test: Adjust. + +2004-12-11 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Per-Object Flags): New node. + +2004-12-09 Alexandre Duret-Lutz <adl@gnu.org> + + Fix PR automake/441: + * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Do + not install *.class if "$(%DIR%_JAVA)" is empty. + * tests/java3.test: New file. + * tests/Makefile.am (TESTS): Add it. + Report from Johannes Nicolai. + + * doc/automake.texi (Java): Mention dist_ and add an example. + * tests/java.test: Do actually compile java files and run distcheck. + +2004-12-08 Peter O'Gorman <peter@pogma.com> + Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/FileUtils.pm (dir_has_case_matching_file, + reset_dir_cache): New functions. + * automake.in (handle_dist, require_file_internal): Use them, so + that CHANGELOG is not confused with ChangeLog on case-insensitive + case-preserving file systems. + * tests/hfs.test: New file. + * tests/Makefile.am (TESTS): Add hfs.test. + +2004-12-08 Paul Eggert <eggert@cs.ucla.edu> + + * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles + the spaces inside $ls_command. Problem reported by Loulou Pouchet in + <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>. + Don't use "set - x"; plain "set x" is enough, and simplifies debugging. + +2004-12-05 Toshio Kuratomi <toshio@tiki-lounge.com> + + * lib/py-compile: Add --destdir switch to py-compile that takes a + path argument that is not compiled into the file when byte compiling. + * lib/am/python.am: Use the new py-compile arguments to not include + DESTDIR in the byte compiled files. + * tests/python12.test: Test that DESTDIR won't be byte compiled into + python files. + +2004-12-05 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Clean): Typo. + + * doc/automake.texi: Use @acindex for Autoconf macros, and @vindex + for variables (@cvindex was previously used for both). Separate + these two indices in the output. Use @code, @file, and @command + in @cindex lines wherever appropriate so they render nicely. + +2004-12-05 Stepan Kasal <kasal@ucw.cz> + + * doc/automake.texi (renamed objects, CVS): Typos. + +2004-12-05 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Flag Variables Ordering): New section. + (User Variables, Program and Library Variables): @xref it. + +2004-11-24 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Conditional Subdirectories): More comments + about non-distributed subdirectories. + + * Makefile.am (maintainer-clean): Check for unescaped @ in manual. + +2004-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi (Built sources example): Fix typo. + +2004-11-22 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in (parse_arguments): Diagnose abbreviation ambiguous with + --help or --version. + * automake.in (parse_arguments): Likewise. + * tests/aclocal.test, tests/automake.test: Check this. + Report from Eric Blake. + +2004-11-21 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (parse_arguments): Diagnose empty arguments, options + with missing argument, and support `--'. + * aclocal.in (parse_arguments): Diagnose options with missing + argument. + * tests/aclocal.test: More checks. + * tests/automake.test: New file. + * tests/postprog.test: Use `--' for fun. + * tests/Makefile.am (TESTS): Add automake.test. + Report from Eric Blake. + + * lib/am/progs.am (installcheck-%DIR%PROGRAMS): Run programs with + /dev/null as input, so we do not hang on programs that read their + input without supporting --help and --version. + * lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise for scripts. + * tests/gnits2.test: Change scriptnok.sh to cat its input. + Report and fix from James Youngman. + +2004-11-17 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in (%file_seen): Rename as ... + (%file_added): ... this, and move it close to add_file(), the only + function that uses it. + + * aclocal.in (version): Remove initial blank line and reproduce + the layout of automake --version. From Art Haas. + + * aclocal.in (%file_type, FT_USER, FT_AUTOMAKE_SYSTEM): New variables. + (scan_m4_dirs): New function, extracted from ... + (scan_m4_files): ... here. Call scan_m4_files three times, for each + FT_ constant. + (scan_file): Take a file type argument to update %file_type. + (write_aclocal): Do not m4_include files that are not of type FT_USER. + * tests/dirlist.test: Make sure m4_include is not used for --acdir + files. + + * tests/defs.in (testaclocaldir): New variable. + * tests/aclocal.test: Use it to fix the test. Report from + Patrick Welche. + +2004-11-10 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/python.m4 (AM_PATH_PYTHON): Fix the invocation of + AC_PATH_PROGS to correctly define PYTHON as `:' when no interpreter + is found (this worked correctly only when a minimal version was + passed to AM_PATH_PYTHON). Report from Stepan Kasal. + (_AM_PYTHON_INTERPRETER_LIST): Define using m4_define_default, + so we can easily override the list from the test suite. + * tests/python11.test: New file. + * tests/Makefile.am (TESTS): Add python11.test. + + * doc/automake.texi (Libtool Modules): Make clearer that -module + should appear explicitly in _LDFLAGS. + +2004-11-09 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in (parse_arguments): Correctly recognize --print-ac-dir. + * tests/aclocal.test: Check --print-ac-dir and a unknown option. + + * aclocal.in (parse_arguments): Fix detection of unexisting default + $(datadir)/aclocal. Report from Akim. + +2004-11-07 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in ($acdir): Rename as ... + (@system_includes): ... this. + (@user_includes, @automake_includes): New variables. + ($default_acdir, $default_dirlist): Remove. + (parse_arguments): Populate @user_includes, @automake_includes, and + @system_includes instead of filling a unique @dirlist array. + ("MAIN"): Adjust to scan m4 files in @user_includes, + @automake_includes, and @system_includes. + +2004-11-06 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in (parse_arguments): Correct comment. From Akim. + +2004-11-04 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in: Use Automake::ChannelDefs, and adjust all output + to be done via `fatal', `msg', `verb', or `prog_error'. + (version): New function. + (parse_arguments): Rewrite using Getopt::Long, call &version, and + honor -W and --warning. + ($verbose): Remove. + (trace_used_macros): Do not trace the first arguments of macros + for which we do not need it. This caused failures because of + unexpected newlines in the output. + * doc/automake.texi (aclocal options): Document -W and --warning. + * tests/defs.in (ACLOCAL): Always use -Werror, to catch Perl + warnings about uninitialized variables. + +2004-11-03 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/defs.in: Do not distinguish VERBOSE=x from + VERBOSE=anything_but_x, always turn on shell traces. + + * aclocal.in (write_aclocal): Make sure $map_traced_defs{$m} exists + before using it. Suppress a warning observable in test/acloca16.test. + Report from Ralf Wildenhues. + +2004-11-01 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/XFile.pm (lock): Make sure $ENV{'MAKEFLAGS'} exists + before inspecting it; this fixes "uninitialized value in + concatenation" diagnostics when flock fails. + Report from Gary V. Vaughan. + + * aclocal.in: Use strict and -w. Declare local variables with `my', + and get rid of `local'. + (scan_m4_files, add_macro): Reindent these functions while we are + at it. + + * lib/config.guess, lib/texinfo.tex: New upstream versions. + + * doc/automake.texi (LIBOBJS): Spelling and grammar corrections + from Ralf Wildenhues. + +2004-10-31 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (LIBOBJS): Augment with an example setup. + (LTLIBOBJ): Rename as ... + (LTLIBOBJS): ... this. Link to LIBOBJS, and mention LTALLOCA. + +2004-10-25 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi: Untabify, tabs in the examples are poorly + rendered. + * Makefile.am (maintainer-check): Grep tabs in the manual. + + * tests/comment8.test: Use $MAKE, not make. + +2004-10-24 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/distcom3.test: Typo. + +2004-10-22 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Libtool Convenience Libraries): Explain how + to force the linker selection. + + * lib/install-sh: Fix the dirname emulation to ignore trailing + slashes, i.e., the direname of `a/b/' is `a', not `a/b/'. This + caused `install-sh a/b/' to fail. + * tests/instsh2.test: Augment. + Report from Пухальский Юрий Андреевич. + +2004-10-21 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (get_object_extension): The extension to use is know + by the caller, and cannot be selected by looking only at the + target name. Simplify this function to simply conditionally + prepend $U to the given extension. + (handle_programs, handle_libraries, handle_ltlibraries): Hard-code + the extension to use. This way Automake won't mistake a program + named `foo.la' as a libtool library. + * tests/primary3.test: New file. + * tests/Makefile.am (TESTS): Add primary3.test. + +2004-10-12 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Install): Link to node Extending for examples. + (Extending): More comments about install-data-hook vs + install-exec-hook, and link to Install. + + * configure.ac: Export @am_AUTOCONF@. + * tests/defs.in (AUTOCONF): Define as @am_AUTOCONF@, not @AUTOCONF@, + so the test suite runs `autoconf' and not `missing --run autoconf'. + * tests/missing.test, tests/missing2.test: Arrange for missing + to be used in front of autoconf even if the user has exported + AUTOCONF. This fixes two spurious failures reported by + Mark D. Baushke. + + * lib/compile: Handle output.obj in addition to output.o. + * tests/compile.test: Check for this. + +2004-10-11 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Sources): Typo, reported by Karl Berry. + +2004-10-10 Kelley Cook <kcook@gcc.gnu.org> (tiny change) + Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in ($ac_defun_rx): Match AC_DEFUN_ONCE. + (trace_used_macros): Trace AC_DEFUN_ONCE. + * tests/aclocal5.test: Use AC_DEFUN_ONCE. + +2004-10-10 Stepan Kasal <kasal@ucw.cz> (tiny change) + + * doc/automake.texi (Extending): Typo. + +2004-10-10 Martin Waitz <tali@admingilde.org> (tiny change) + + * m4/as.m4 (AM_PROG_AS): Check dependency tracking mode for CCAS. + * automake.in (cppasm): Use the dependency tracking more for CCAS. + * doc/automake.texi (Assembly Support): Note that *.S are + preprocessed with CPPFLAGS. + +2004-10-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * automake.in (Languages): Split .s (asm) and .S (cppasm) into + separate languages. Make cppasm (Preprocessed Assembler) aware + of CPPFLAGS, AM_CPPFLAGS. + (handle_languages): Fix typo. + (lang_cppasm_rewrite): New function. + +2004-09-29 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/subobj9.test: Adjust regexes after previous patch. + +2004-09-28 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_languages, define_compiler_variable): Output + Libtool's --tag= option before --mode=compile, because depcomp use + --mode=compile as end marker for libtool arguments. + (define_linker_variable): Likewise before --mode=link, for + uniformity. + * tests/pr307.test: Make sure dependency files are updated. That + was not the case because depcomp thought `--tag=CC' was the + compiler to get dependencies from. + Report from Пухальский Юрий Андреевич. + +2004-09-26 Alexandre Duret-Lutz <adl@gnu.org> + + * configure.ac: Require Perl 5.6. + * lib/Automake/Config.in: Require Perl 5.6 (not done in + lib/Automake/General.pm because it is shared with Autoconf), + and use `our' instead of `use vars'. + * aclocal.in (rel2abs): Remove. + (scan_configure_dep): Use File::Spec->rel2abs instead. + + * tests/compile.test, tests/instsh2.test, tests/instspc.test: Use + two consecutive spaces in filename instead of one, to catch mistake + like `echo $val | ...`. + * tests/README: Suggest this. + Suggested by Ralf Wildenhues. + +2004-09-25 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Clean): Document -local targets. + +2004-09-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi: Typos. + +2004-09-21 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Timeline): Typos and other English mistakes + reported by Jim and Gary. + + * lib/Automake/VarDef.pm (append): Strip comments from augmented + variables. + * tests/comment8.test: New file. + * tests/Makefile.am (TESTS): Add comment8.test. + Report from Stepan Kasal. + +2004-09-19 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/compile.test: Fix rm usage. + + * INSTALL, lib/INSTALL, lib/config.sub, lib/config.guess, + lib/texinfo.tex: New upstream versions. + + * doc/automake.texi (Timeline): New node. Thanks to Karl and Tom + for their comments on a preliminary version of this, Akim for + digging out some old mails, and Jason Molenda for sending the note + about Automake in Alias to Tom. + (Releases): Rename `ac' to `acl', suggested by Akim. + +2004-09-19 Akim Demaille <akim@epita.fr> + + * AUTHORS, automake.in, aclocal.in: Add Alexandre Duret-Lutz as + author. + +2004-09-15 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Releases): New node. + + * doc/automake.texi (Dependencies): Link to Dependency Tracking + Evolution. + (Dependency Tracking Evolution): Link to GNU make, Sources (for + BUILT_SOURCES), and update the paragraph about the "plan" to + inline dependency tracking with gcc3. + + * doc/automake.texi (History): New node. + (Dependency Tracking Evolution): New node, filled with a Texinfo + version of Tom Tromey's ``Dependency Tracking in Automake'' + document, initially published on the Automake homepage on + 2001-06-29. + +2004-09-10 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/minuso.m4 (AM_PROG_CC_C_O): Make sure AC_PROG_CC is never + called after this macro. + * tests/distname.test, tests/subdir5.test, tests/subdir8.test, + tests/subobj.test, tests/subobj4.test, tests/subobj5.test, + tests/subobj6.test: Adjust. + Report from Ralf Wildenhues. + + * lib/Automake/Channels.pm (_print_message): Handle uniq_part with + arbitrary string. + * automake.in (lang_c_rewrite): Set uniq_part so that the + AM_PROG_CC_C_O diagnostic is output only once for subdir objects + and only once for objects with per-target flags. + + * automake.in (lang_c_rewrite): Print files and locations + for AM_PROG_CC_C_O errors. + (handle_single_transform): Pass $var to &$subr so it can + print locations. + + * lib/compile, lib/elisp-comp, lib/install-sh, lib/ylwrap: Use $ret + instead of $status which is read-only in Zsh. + +2004-09-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Alexandre Duret-Lutz <adl@gnu.org> + + * lib/compile: Preserve spaces in arguments (for example + -DPACKAGE_STRING="foo 0.1"). + * tests/compile.test: New file. + * tests/Makefile.am (TESTS): Add compile.test. + +2004-09-07 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_clean): Sort rm commands output for + mostlyclean-generic, clean-generic, distclean-generic, and + maintainer-clean-generic. + Report from Bob Friesenhahn. + + * automake.in (lang_c_rewrite): Do not require AM_PROG_CC_C_O for + libtool objects. + (handle_single_transform): Pass nonansi_obj to &$subr so + lang_c_rewrite can distinguish libtool objects. + * tests/libtool7.test: Use subdir-objects without using AM_PROG_CC_C_O. + Report from Gary V. Vaughan and Patrick Welche. + +2004-09-07 Andreas Schwab <schwab@suse.de> + + * automake.in ($PATH_PATTERN): Add `+'. + +2004-09-07 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/missing3.test: New file (check for Paolo's change below). + * tests/Makefile.am (TESTS): Add missing3.test. + +2004-09-07 Paolo Bonzini <bonzini@gnu.org> + + * missing: Handle all command line options together. Add a + separate case statement to detect failed runs, and fail + silently there if --help or --version is passed to the program. + +2004-08-11 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/config.guess, lib/texinfo.tex: New upstream versions. + + For PR automake/433: + * configure.ac (pkgvdatadir): Define using "$PACKAGE", not "automake". + + Fix PR automake/432: + * lib/am/yacc.am [!%?MORE-THAN-ONE%]: Replace `#line's in y.tab.h too. + * tests/yacc7.test: Check this. + +2004-08-08 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/DisjConditions.pm (new): Precompute 'string' and 'conds' + in place instead of as a side-effect of calling ->string and ->conds. + This saves method-lookup time, simplify ->string and ->conds, and + allows to create the object only when necessary. + (string, conds): Simplify, now that the result is precomputed. + + * automake.in (%am_file_cache): New hash. + (make_paragraphs): Cache .am files with comments stripped to save + some useless input and substitutions. + + * lib/Automake/Variable.pm (%_primary_dict): New hash. + (_new, variable_delete): Update %_primary_dict. + (variables): Accept an optional $suffix argument. + * automake.in (check_typos, am_primary_prefixes): Use that + optional argument to restrict the loops over the variables we are + interested in. + +2004-08-06 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Item.pm (def): Rewrite more concisely, it's faster + this way. + +2004-08-05 Alexandre Duret-Lutz <adl@gnu.org> + + Speed up make_paragraphs. + * automake.in (handle_languages): Always define SUBDIROBJ, + DERIVED-EXT, and DIST_SOURCE, because the new transform() will + abort on unknown tokens. + (transform): Rewrite with different semantics. + (make_paragraphs): Make a single pass over the paragraph to + transform all template tokens instead of doing as much passes as + possible token. + + * automake.in ($libtool_new_api): New variable. + (handle_libtool): Do not libtool's aux files if $libtool_new_api. + (scan_autoconf_traces) <LT_SUPPORTED_TAG>: Set $libtool_new_api. + (scan_autoconf_traces) <AC_REQUIRE_AUX_FILE>: Remember only the + first location for required files. + +2004-08-04 Alexandre Duret-Lutz <adl@gnu.org> + + Support AC_REQUIRE_AUX_FILE, and fix requirement of AM_PROG_CC_C_O. + * automake.in (%required_aux_file): New hash. + (handle_single_transform, lang_c_rewrite): Do not explicitly + require 'compile', this is now an internal detail of + AM_PROG_CC_C_O. + (scan_autoconf_traces): Trace AC_REQUIRE_AUX_FILE and fill + %required_aux_file. + (scan_autoconf_files): Require all %required_aux_file instead + of explicitly requiring install-sh and missing. + (generate_makefile): Do not require config.sub and config.guess. + (handle_single_transform): Pass $have_per_exec_flags to + &lang_c_rewrite. + * configure.ac, m4/init.m4: Require Autoconf 2.59a. + * doc/automake.texi (Optional): Document AC_REQUIRE_AUX_FILE. + (Program and Library Variables, Options, Public macros): + AM_PROG_CC_C_O is required when per-target flags or subdir-objects + are used with C sources. + * m4/minuso.m4: Require `compile' using AC_REQUIRE_AUX_FILE. + * m4/missing.m4: Require `missing' similarly. + * tests/acsubst2.test, tests/distcom2.test, tests/distcom6.test, + tests/specflg.test, tests/specflg2.test, tests/specflg3.test, + tests/specflg6.test, tests/specflg7.test, tests/specflg8.test, + tests/specflg9.test, tests/subobj7.test, tests/target-cflags.test, + tests/yacc6.test: Fix to use AM_PROG_CC_C_O. + +2004-08-03 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (yacc_lex_finish_helper): Fix definition of YLWRAP + when ylwrap is installed in a default aux dir found in a parent + package. + * tests/subpkg.test: Augment to check that YLWRAP is installed + properly. + * doc/automake.texi (Yacc and Lex): ylwrap is not sought is the + current directory. + Report from Norman Gray. + +2004-08-02 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Optional): Update documentation for + AC_CANONICAL_BUILD, AC_CANONICAL_HOST, and AC_CANONICAL_TARGET. + + * automake.in (AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM): Replace by ... + (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET): ... these. + (scan_autoconf_traces): Scan for the latter three macros instead of + the former two. + (make_paragraphs): Adjust definitions of %BUILD%, %HOST%, and %TARGET%. + * tests/hosts.test: New file. + * tests/Makefile.am (TESTS): Add hosts.test. + Report and test case from Norman Gray. + +2004-08-01 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in (scan_file): Update "#Extending%20aclocal" URL, makeinfo + 4.7 now outputs "#Extending-aclocal". + +2004-08-01 Alexandre Duret-Lutz <adl@gnu.org> + Derek R. Price <derek@ximbiot.com> + + Disable Lex and Yacc rules whenever possible if AM_MAINTAINER_MODE + is used and maintainer-mode disabled. + * automake.in (Automake::struct): Define nodist_specific. + Set it in languages yacc, yaccxx, lex, and lexxx. + (register_language): Default nodist_specific to 0. + (handle_single_transform): Honor nodist_specific. + * lib/am/yacc.am (am__skipyacc): Define this in maintainer mode. + (%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skipyacc) to disable these + rules when needed. + * lib/am/lex.am (am__skiplex): Define this in maintainer mode. + (%EXT%%DERIVED-EXT%, %OBJ%): Use $(am__skiplex) to disable these + rules when needed. + * tests/mmodely.test: New file. + * tests/pr204.test: Augment to check AM_MAINTAINER_MODE and nodist_ + parsers. + * tests/Makefile.am (TESTS): ADd mmodely.test. + * doc/automake.texi (Yacc and Lex): Note dependence on maintainer mode. + +2004-07-28 Alexandre Duret-Lutz <adl@gnu.org> + + * configure.ac, NEWS: Bump version to 1.9a. + + * configure.ac, NEWS: Bump version to 1.9. + + * automake.in (generate_makefile): Update misleading comment about + libtool scripts. + + * lib/texinfo.tex: New upstream version. + +2004-07-25 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Remove `.' from the mkdir_p + definition, it causes `make install' to fails for user with no + right to write in the source-tree. + * automake.in (handle_configure): Do not use mkdir_p in the + definition for $(mkdir_p). + Report from Harlan Stenn. + + * lib/am/texi-vers.am (%STAMPVTI%): Typo in comment. + +2004-07-22 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Libtool Modules): Typo in example. + Report from Ulrich Eckhardt. + +2004-07-21 Andreas Schwab <schwab@suse.de> (tiny change) + + * automake.in (check_directory): Quote $dir in regexp. + +2004-07-17 Alexandre Duret-Lutz <adl@gnu.org> + + * configure.ac, NEWS: Bump version to 1.8e. + + * configure.ac, NEWS: Bump version to 1.8d. + + * lib/config-ml.in, lib/config.sub, lib/config.guess, lib/texinfo.tex: + New upstream versions. + + * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html, + ?!GENERIC?%DEST_PREFIX%.html): Use $(X), not ${X}. + + * tests/installdir.test: installdirs-local should appear three times, + since the change from 2004-07-11 will make it PHONY. + + * lib/am/distdir.am (distdir): Always use $(DIST_SUBDIRS) now + that it is always defined. This is less confusing for users + reading the generated Makefiles. + * automake.in (handle_dist): Do not substitute DIST_SUBDIR_NAME. + + * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html, + ?!GENERIC?%DEST_PREFIX%.html): Output .htp, and then rename to .html + on success. In case the target is a directory, this ensures its + time stamp is updated and the no files are left over inside. + * tests/txinfo21.test: Augment to test missing timestamp update + reported by Akim Demaille. + + * doc/automake.texi (Top level): Rename as ... + (Directories): ... this, and split into ... + (Subdirectories, Conditional Subdirectories): ... these. + (Subdirectories): Illustrate the use of `.'. + (Conditional Subdirectories): Describe SUBDIRS and DIST_SUBDIRS + before the example. Append a discussion about non-configured + conditional directories. + (Alternative): Move as a child of Directories. + (Subpackages): New section. + (Dist): Adjust links to Subdirectories, a Subpackages. + (Third-Party Makefiles): Link to Conditional Subdirectories. + +2004-07-14 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (target_hook): Accept %transform as last argument. + (handle_single_transform): Pass %transform to target_hook. + (handle_source_transform): Define DIST_SOURCE to tell whether + a the source of a file is distributed or not. + (lang_yacc_target_hook): Check DIST_SOURCE, and do not distribute + the generated header if the .y source is not distributed. + * tests/pr204.test: Use AM_YFLAGS = -d and make sure generated + headers are not distributed. + +2004-07-12 Simon Josefsson <jas@extundo.com> (tiny change) + + * doc/automake.texi (Options): Improve ustar file name length + discussion. Reference tar manual. + +2004-07-12 Ray Simard <rhs.techlists@sylvan-glade.com> (tiny change) + + * lib/Automake/Variable.pm (define): Fix precondition check. + +2004-07-11 Alexandre Duret-Lutz <adl@gnu.org> + + For PR automake/428: + Support for conditionally defined -hook and -local rules. + * automake.in (user_phony_rule): New function. + (handle_dist, handle_install, handle_all, do_check_merge_target, + handle_factored_dependencies): Use user_phony_rule before + adding a user -hook or -local rule as a dependency to ensure + it is always defined an phony. + * tests/cond37.test, tests/condhook.test: New files. + * tests/Makefile.am (TESTS): Add them. + Report from Simon Josefsson and Nik A. Melchior. + +2004-07-05 Paul Eggert <eggert@cs.ucla.edu> + + * doc/automake.texi (Install): Warn that you should create + /tmp/staging before installing into it, to avoid security problems. + * lib/install-sh: Remove support for -b= and -t= options; this + has been moribund for a decade. + Add support for -t and -T options (new in coreutils install). + -c option now does nothing (the default is to copy), for + compatibility with BSD and coreutils 'install'. + Fix usage message; it referred to nonexistent variables. + Don't assume 'lasterr' is unset in environment. + * tests/instsh2.test: Don't assume that install-sh without -c + moves (it now copies). Add tests for new -t and -T options. + +2004-06-16 Alexandre Duret-Lutz <adl@gnu.org> + + For Debian Bug#254372: + * doc/automake.texi (Invoking aclocal): Rewrite the paragraph + explaining m4_include is used for relative files. + +2004-06-10 Alexandre Duret-Lutz <adl@gnu.org> + + For Debian Bug #251820: + * aclocal.in (scan_file): Keep track of the location where each + file is included, and display it when reporting a missing file. + Pass this location to scan_file as a second argument. + (scan_m4_files): Adjust calls to scan_file. + * tests/acloca14.test: Add a test for this diagnostic. + +2004-06-07 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/tar.m4 (_AM_PROG_TAR): Split the definition of $_am_tools + so it works with Solaris and Tru64 /bin/sh. + Report from Nicolas Joly. + +2004-06-06 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/tar.m4 (_AM_PROG_TAR): Introduce $_am_tools to work around a + bug in NetBSD /bin/sh. + Report from Nicolas Joly. + +2004-06-03 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/defs.in (required=icc): Use `-V -help' instead of + `-V -dryrun'. icc 8.0 fails on the latter. + * tests/depcomp5.test: Require depmode=icc for icc 7.x, and + depmod=gcc otherwise. + Report from Ralf Wildenhues. + + * lib/am/clean.am (distclean-generic): Do no + `rm -f $(CONFIG_CLEAN_FILES)' if `$(CONFIG_CLEAN_FILES)' is empty. + Report from Nicolas Joly. + +2004-05-31 Alexandre Duret-Lutz <adl@gnu.org> + + * NEWS: Make clearer that we do not output partial Makefile.ins on + error. + Suggested by Akim Demaille. + + * lib/depcomp (tru64) [libtool]: Use $dir$base.o.d instead + of $dir.libs/$base.o.d. Libtool 1.5 causes both to be output, + and we will clean the second automatically during distclean. + Using the latter and leaving the former as we did before cause + "files left in build directory" failures during distcheck. + Suggested by Nicolas Joly. + + * doc/automake.texi (Built sources example): Explain what + nodist_foo_SOURCES is (not) useful to, and use it in all the + examples. + (Tags): Mention nodist_noinst_HEADERS and nodist_prog_SOURCES. + Suggested by Akim Demaille. + +2004-05-23 Alexandre Duret-Lutz <adl@gnu.org> + + * configure.ac, NEWS: Bump version to 1.8c. + + * configure.ac, NEWS: Bump version to 1.8b. + + * m4/tar.m4 (_AM_PROG_TAR) <cpio>: Specify -o and -i option first, + by POSIX; and use option -d in am_untar. + + * tests/defs.in (PATH): Export it. + + * lib/am/multilib.am: Add $(MAKE) comments to multido and + multiclean lines, to enable parallel make. Based on a patch + by Alexandre Oliva applied to newlib on 2003-10-15. + +2004-05-22 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (scan_autoconf_traces): Trace for LT_SUPPORTED_TAG + instead of AC_LIBTOOL_TAGS, since that how CVS Libtool has been + changed. + * tests/libtool3.test: Do not grep for --tag=CC, since CVS + Libtool (unlike Libtool 1.5) does not has any CC tag. + + * tests/tar2.test: Skip the test if no pax archiver were found. + + * NEWS: Sync with branch-1-8, and reorganize current entry. + + * automake.in (handle_libraries): Make the diagnostic about + non standard libraries a warning in foreign packages. This + is already the case in handle_ltlibraries. + (handle_libraries, handle_ltlibraries): Suggest a standard + library name in the diagnostic, to help newcomers. + * tests/stdlib.test, tests/stdlib2.test: Check for these + suggestions. + + Check directory names for unportable names. Shaking the code + to check this also led to the removal of the no-"/"-in-SUBDIRS + restriction, and a fix to _do_recursive_traversal. + + * automake.in (check_directory): New function extracted from + handle_subdirs, and augmented to check for reserved W32/DOS name. + (check_directories_in_var): New function. + (handle_subdirs): Call check_directories_in_var. Doing so also + suppress the restriction that SUBDIRS should not contain slashes. + (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Call check_directory + to ensure the argument exists and is safe. + * doc/automake.texi (Top level): Do not say that src/subdir + cannot be put in SUBDIRS. + (Dist): Mention that distdir and top_distdir can be absolute. + * lib/Automake/Variable.pm (_do_recursive_traversal) Support + undefined $fun_collect, and fix two bugs introduced with + skip_ac_subst on 2004-03-07. + * lib/am/distdir.am (distdir): Use absolute distdir and + top_distdir when recursing, because we can no longer prepend only + `..' in case of SUBDIRS with `/'. + * tests/auxdir4.test, tests/subdir9.test: New files. + * tests/Makefile.am (TESTS): Add auxdir4.test. + * tests/cond2.test, tests/subdir7.test: Augment to check location + in diagnostics. + +2004-05-21 Eric Blake <ebb9@byu.net> (tiny changes) + + * tests/txinfo22.test (AC_CONFIG_AUX_DIR): Use aux1, not aux, for + cygwin compatibility. + * tests/yacc6.test (AC_CONFIG_AUX_DIR): Likewise. + + * tests/conflnk3.test: Isolate checking for working `test -e' into + a subshell, to skip this test on broken /bin/sh of solaris. + +2004-05-17 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/cond.m4 (AM_CONDITIONAL): Double-quote diagnostic. + * tests/condd.test: Define a macro with the same name as a + conditional. + * tests/pr220.test: Modernize, and make sure the diagnostics + contains the macro name. + Report from Volker Boerchers. + +2004-05-16 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/texinfo.tex: New upstream version. + +2004-05-15 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_dist): Always define DIST_SUBDIRS, even when + the no-dist or cygnus options are used. + * tests/clean2.test: New file. + * tests/Makefile.am (TESTS): Add clean2.test. + Report from Daniel Jacobowitz. + + * aclocal.in (add_macro): Do not error out on undefined required + macros. We are not sure they are really used, and Autoconf + already diagnoses them. + (scan_configure_dep): Diagnose missing AM_ macros as warnings rather + than errors. + * tests/aclocal3.test, tests/ammissing.test: Adjust to expect a + warning instead of an error. + * tests/aclocal8.test: AC_REQUIRE an undefined macro in an unused + macro, and ensure aclocal works anyway. + * tests/acloca17.test: New file. + * tests/error.test: Delete, superseded by tests/acloca17.test. + * tests/Makefile.am (TESTS): Add acloca17.test and remove error.test. + Report from Jim Meyering. + + * lib/am/texibuild.am (?!GENERIC_INFO?%DEST_INFO_PREFIX%%DEST_SUFFIX%): + Fold a few lines to reduce the output by 5 lines. + Suggested by Karl Berry. + + * automake.in (parse_arguments, MAIN): Give more precise + diagnostics when no input file is found. + * tests/output5.test: Adjust. + Suggested by Jens Petersen. + +2004-05-14 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/libs.am (AR, ARFLAGS): Move these definition ... + * automake.in (handle_libraries): ... here, so that they are + output even for EXTRA_LIBRARIES. + * tests/ar2.test: New file. + * tests/Makefile.am (TESTS): Add it. + Report from Kevin Ryde. + +2004-05-13 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (generate_makefile): Do not output Makefile.in on + errors. + * tests/werror2.test: New file. + * tests/Makefile.am (TESTS): Add werror2.test. + * tests/substtarg.test, tests/cond36.test, tests/backsl4.test: + Adjust to run automake with -Wno-error when the output is expected + in spite of the error. + Report from Harlan Stenn. + + * doc/automake.texi (Program and Library Variables): Remove + doubled word in footnote. + + * automake.in (handle_source_transform): Also check for a + $(srcdir)/old_source rule when computing the default source name. + Propagate this $(srcdir) prefix in Automake variables. + * tests/ltlibsrc.test (noinst_LTLIBRARIES): Explicitly refer to + $(srcdir)/zoo_d_old2_la.c. This fixes another failure with BSD Make. + +2004-05-13 Paul Eggert <eggert@cs.ucla.edu> + + * Makefile.am (fetch): Work even with FreeBSD "make", which + uses sh -e and thus errors-out if a simple-command fails. + * lib/am/check.am (check-TESTS): Likewise. + * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Likewise. + * lib/am/tags.am (TAGS): Likewise. + +2004-05-13 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/lex3.test, tests/yacc6.test: Require GNU Make. + Fixing these for BSD Make requires invasive changes (lexers and + parsers must be built into $srcdir, and--most annoyingly--all + references to parse.h must be changed to $(srcdir)/parse.h). + Report from Mark D. Baushke. + +2004-05-10 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/defs.in (GNUmake): Grep for GNU to parry FreeBSD make. + Report from Mark D. Baushke. + +2004-04-25 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/texinfo.tex: New upstream version. + + * lib/depcomp (tru64): Clarify comments. Thanks to Nicolas Joly. + + * doc/automake.texi (Headers): Revamp. + +2004-04-24 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (check_typos): Clarify the diagnostic. + * tests/warnopts.test: Adjust. + + * lib/Automake/VarDef.pm (append): Turn VAR_ASIS variables into + VAR_PRETTY variables to work around make implementation with + limited line length, such as OSF1/Tru64 make. + * tests/longline.test: New file. + * tests/Makefile.am (TESTS): Add it. + * tests/pluseq3.test, tests/pluseq8.test: Adjust. + Report from Simon Josefsson. + + * lib/am/tags.am (TAGS): Pass `.' to Exuberant Ctags if + --etags-include is used but no other files are supplied, so it + creates the TAGS file anyway. + Report from Akim Demaille. + + * lib/depcomp (tru64) [libtool]: Nicolas Joly reported on + 2002-06-12 that dependencies were output in $dir.libs/$base.lo.d. + Teun Burgers reported on 2004-03-30 they were in + $dir.libs/$base.o.d. Try both. + +2004-04-23 Alexandre Duret-Lutz <adl@gnu.org> + + For PR automake/414: + Introduce option filename-length-max=99. + * doc/automake.texi (Options): Document it. + * configure.ac (AM_INIT_AUTOMAKE): Use it. + * lib/Automake/Options.pm (_process_option_list): Recognize it. + * automake.in (handle_dist): Set FILENAME_FILTER. + * lib/am/distdir.am (distdir) [FILENAME_FILTER]: Diagnose long + filenames. + * tests/fn99.test: New file. + * tests/Makefile.am (TESTS): Add fn99.test. + +2004-04-20 Alexandre Duret-Lutz <adl@gnu.org> + + For PR automake/414: + Introduce options tar-v7, tar-ustar, and tar-pax to select + tar format. + * doc/automake.texi (Options): Document them. + * lib/Automake/Options.pm (_process_option_list): Process + these new options. + * lib/am/distdir.am (dist-gzip, dist-bzip2, dist-tarZ, dist, + distcheck): Adjust to use am__tar and am__untar. + * m4/tar.m4: New file. + * m4/Makefile.am (dist_m4data_DATA): Add tar.m4. + * m4/init.m4 (AM_INIT_AUTOMAKE): Support the new options + and call _AM_PROG_TAR. + * tests/tar.test, tests/tar2.test, tests/tar3.test: New files. + * tests/Makefile.am (TESTS): Add them. + +2004-04-18 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/distdir.am (distcheck): Typo in shar decompression. + + * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream + versions. + +2004-04-17 Alexandre Duret-Lutz <adl@gnu.org> + + Fix PR automake/49: + * automake.in (scan_autoconf_traces) <AC_CONFIG_AUX_DIR>: Diagnose + calls to AC_CONFIG_AUX_DIR followings calls to AM_INIT_AUTOMAKE. + * tests/auxdir.test, tests/auxdir2.test, tests/lex5.test, + tests/mdate3.test, tests/multlib.test, tests/reqd2.test, + tests/symlink.test, tests/txinfo8.test, tests/txinfo22.test, + tests/yacc6.test, tests/yacc8.test: Fix to call AC_CONFIG_AUX_DIR + before AM_INIT_AUTOMAKE. + * tests/auxdir3.test: New file (exercise this diagnostic). + * tests/Makefile.am (TESTS): Add auxdir3.test. + +2004-04-15 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in (%map_traced_defs): New variable. + (scan_m4_files): Normalize filenames. + (trace_used_macros): Trace for AC_DEFUN and AU_DEFUN, also + ask for the filename and the first argument. Populate + %map_traced_defs. + (write_aclocal): Use $map_traced_defs to filter out unused + definitions. + * tests/acloca16.test: New file. + * tests/Makefile.am (TESTS): Add acloca16.test. + +2004-04-12 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in ($automake_needs_to_reprocess_all_files): Remove. + ($automake_will_process_aux_dir): New variable. + (scan_autoconf_traces): Reorder @input_files so that the Makefile + that distributes aux files is processed last. This way we do not + have to process all files twice using + $automake_will_process_aux_dir. + (require_file_internal): Suggest a full run of automake when + appropriate. + (MAIN): Remove the loop on $automake_needs_to_reprocess_all_files. + * tests/distcom7.test: New file. + * tests/reqd2.test: Do not check for the "running more than two" + message. + * tests/Makefile.am (TESTS): Add distcom7.test. + + * automake.in (@config_aux_path, $config_aux_dir): Rename as ... + ($config_aux_dir, $am_config_aux_dir): ... these. + ($config_aux_dir_set_in_configure_in): Rename as ... + ($config_aux_dir_set_in_configure_ac): ... this. + (%require_file_found): Rename as ... + (%required_file_not_found): ... this. + (handle_languages, handle_texinfo_helper, handle_dist, + handle_configure, handle_emacs_lisp, handle_python, + scan_autoconf_traces, yacc_lex_finish_helper): Adjust to new names. + (scan_autoconf_traces): Call locate_aux_dir. + (locate_aux_dir): New function. + (@require_file_paths): Remove, not used anymore. + (require_file_internal): Look files in only one directory (instead + of @require_file_internal) passed in argument. + (require_file, require_conf_file): Pass the destination directory + to require_file_internal. + + Fix for PR automake/416: + * m4/depend.m4 (_AM_DEPENDENCIES): Catch `not supported' ICC 8.0 + remarks. + From Peter Seiderer. + +2004-04-10 Andreas Buening <andreas.buening@nexgo.de> + + * aclocal.in, automake.in, configure.ac, Makefile.am, + tests/aclocal.in, tests/automake.in, tests/defs.in: + Use PATH_SEPARATOR from autoconf instead of ':'. + +2004-04-09 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_lib_objects): Pass the condition of + the variable definition to handle_LIBOBJS and handle_ALLOCA, + not the aggregated conditions. + * tests/Makefile.am (TESTS): Add libobj14.test. + * tests/libobj14.test: New file. + Report from Bill Davidson. + +2004-04-02 Mike Nolta <mike@nolta.net> + + Better support for Fortran 9x. + * automake.in: Add "fc" and "ppfc" languages for Fortran 9x. + * doc/automake.texi (Fortran 9x Support): New section. + * lib/Automake/Variable.pm (%_ac_macro_for_var): Add AC_PROG_FC. + * tests/compile_f90_c_cxx.test: New file. + * tests/ext.test: Add AC_PROG_FC. + * tests/f90only.test: New file. + * tests/link_f90_only.test: New file. + * tests/Makefile.am (TESTS): Add new tests. + +2004-04-01 Paul Eggert <eggert@twinsun.com> + + * lib/install-sh: If "mv -f" works, use it, and fall back to + the old "test -f" + "rm -f" + "mv" method only if "mv -f" does + not work. This improves performance in the usual case where + "mv -f" works. It also lets us install the "mv" command + without worrying about a small window where "mv" does not + exist (this problem was reported by Raul Nunez de Arenas + Coronado). + +2004-03-26 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/python.m4 (AM_PATH_PYTHON): Make sure am_display_PYTHON is + set when $PYTHON has been set by the user. + From Esben Haabendal Soerensen. + +2004-03-22 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Default _SOURCES): Typo. + (true): Correct _'s placement in example. + Report from Stepan Kasal. + +2004-03-19 Alexandre Duret-Lutz <adl@gnu.org> + + Overriding JAVAROOT is legitimate, do not warn about it. + * lib/Automake/Variable.pm (%_silent_variable_override): Add JAVAROOT. + * tests/java2.test: Run automake without -Wno-override. + Report from Simon Josefsson. + +2004-03-14 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_texinfo_helper): Typos in comment. + +2004-03-07 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/config.guess: New upstream version. + + Fix for PR automake/285: + * automake.in (handle_ltlibraries): Keep track of installation + directories for each condition, then define a $(am_TARGET_rpath) + variable to hold the -rpath flags of Libtool libraries conditionally + installed in different directories. + * lib/Automake/DisjConditions.pm (merge): New function. + * tests/libtool6.test: Adjust. + * tests/libtool8.test: New file. + * tests/Makefile.am (TEST): Add libtool8.test. + + * lib/Automake/Variable.pm (traverse_recursively, + _do_recursive_traversal): Honor the skip_ac_subst option. + * automake.in (handle_dist): Use skip_ac_subst. + +2004-02-29 Alexandre Duret-Lutz <adl@gnu.org> + + * Makefile.am (cvs-release): Upload to ~ftp/pub/automake, not + ~ftp/automake. + * lib/gnupload (Example): Update example. + + * lib/config-ml.in, lib/config.guess, lib/config.sub, + lib/texinfo.tex: New upstream versions. + + * m4/depend.m4 (_AM_DEPENDENCIES): Use `touch' rather than `: >' + to create numbered dependencies. This fixes a portability issue + when CONFIG_SHELL is forced to /bin/sh on Solaris 8. + Reported by Mark Phillips. + + * automake.in (lang_yacc_target_hook): Use Automake::Rule::define + so that rules for the same headers are not output twice. + * lib/Automake/Variable.pm (value_as_list_recursive): Do not + call `return' inside `map'. + * tests/cond30.test: Make sure `a.c' and `b.c' both appear + in the Makefile.in. + * tests/cond35.test, tests/cond36.test: New files. + * tests/Makefile.am (TESTS): Add cond35.test and cond36.test. + Report from Roman Fietze. + + Fix for PR/413: + * lib/am/distdir.am (distcheck): Create $dc_destdir with `umask + 077 && mkdir' instead of `$(mkdir_p)'. This prevents possible + symlink attacks reported by Stefan Nordhausen. + +2004-02-16 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Multiple Outputs): More text, based on + comments from Eric Siegerman, Tim Van Holder, and Oren Ben-Kiki. + +2004-02-15 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/mkdirp.m4: Use `mkdir -p' only with GNU mkdir, because + Solaris 8's mkdir is not thread-safe. + * lib/mkinstalldirs: Likewise. + * lib/install-sh: Abort when mkdir fails to create a directory. + Report from Nathanael Nerode. + +2004-02-07 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in (rel2abs): New function. + (scan_configure_dep): Use rel2abs instead of File::Spec->rel2abs, + the later does was introduced in Perl 5.6 so using it breaks with + Perl 5.005. + Report from Werner John. + +2004-02-03 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Future of aclocal): Make clearer that + it's ok to install macros into /usr/share/aclocal/. + +2004-02-01 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/lisp.test: Delete (pointless). + * tests/Makefile.am (TESTS): Remove lisp.test. + + * lib/Automake/Variable.pm (transform_variable_recursively): + Define rewritten variables in all conditions not *covered* by user + definitions, not simply in conditions without a previous + definition. + * tests/cond34.test: New file. + * tests/Makefile.am (TESTS): Add cond34.test. + Report from Elena A. Vengerova + + * doc/automake.texi (Multiple Outputs): Typo. + + * doc/automake.texi (Emacs Lisp): Typos. + + Support for conditional _LISP. + * automake.in (handle_emacs_lisp): Define $(ELCFILES) from LISP, not + from $(am__ELCFILES). + * lib/am/lisp.am (elc-stamp): Use $(LISP) instead of $(am__ELFILES). + * tests/lisp6.test: New file. + * tests/Makefile.am (TESTS): Add it. + + * automake.in (handle_emacs_lisp): Define $(ELCFILES) as + $(am__ELCFILES), and always push it on @all. Do not mention + elc-stamp. + * lib/am/lisp.am (.el.elc): Rewrite as ... + ($(am__ELCFILES)): ... this, and depend on elc-stamp. + (elc-stamp): Make sure elc-stamp is older that all .elc files, as + explained in the manual entry below. + + * doc/automake.texi (Multiple Outputs): New node. + +2004-01-31 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/regex.m4: Do not AC_SUBST(LIBOBJS), and quote most arguments. + * tests/regex.test: New file. + * tests/Makefile.am (TESTS): Add regex.test. + +2004-01-28 Alexandre Duret-Lutz <adl@gnu.org> + + * Makefile.am (maintainer-check): Check for unquoted $(DESTDIR) uses. + * lib/am/data.am, lib/am/distdir.am, lib/am/java.am, lib/am/libs.am, + lib/am/lisp.am, lib/am/ltlib.am, lib/am/mans.am, lib/am/progs.am, + lib/am/python.am, lib/am/scripts.am, lib/am/texinfos.am: Quote + installation paths in install, uninstall, and installcheck rules, + as well as in am__installdirs variables. This is for the sake + of paths containing spaces. + * lib/am/install.am (installdirs-am, installdirs): Do not try + to create "" directories. + * test/instspc.test: New file. + * test/Makefile.am (TESTS): Add instspc.test. + Report from James Amundson. + + * doc/automake.texi (Not Enough, Third-Party Makefiles): New nodes. + (Extending): Make it a subsection of Not Enough. + + * lib/gnupload (GPG): Use an absolute path. Suggestion from Gary + V. Vaughan. + (passphrase): Unset it this variable before using it, in case it + was exported. Report from Scott James Remnant. + +2004-01-25 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/gnupload (usage): Fix example. + * Makefile.am (cvs-release): Fix call to gnupload. + From Jim Meyering. + +2004-01-24 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/gnupload: New script. + * lib/Makefile.am (EXTRA_DIST): Distribute gnupload. + * Makefile.am (cvs-release): New target. + +2004-01-23 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/python.am (uninstall-%DIR%PYTHON): Remove extra `;'s. + Fix python10.test. + + * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use `s/xx//p' + instead of `/xx/ s///p'; the latter fails when GNU sed is run with + POSIXLY_CORRECT. Also strip superfluous -e. + Report from Miloslav Trmac. + +2004-01-22 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/lex5.test: Sleep before calling AUTOMAKE the second time, + this fixes a spurious failure reported by Andreas Schwab. Also + make sure ylwrap is not installed unless needed, and exercise + --no-force. + +2004-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change) + + * doc/automake.texi (Dist): Document limitations of distcheck-hook + and DISTCHECK_CONFIGURE_FLAGS with regard to subdirs and + subpackages. + +2004-01-20 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Upgrading): New node. + +2004-01-20 Gary V. Vaughan <gary@gnu.org> + + * automake.in (scan_autoconf_traces): AC_LIBTOOL_TAGS can be + correctly called without arguments as evidenced by the libtool + demo directories. + +2004-01-13 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/conflnk3.test: Skip if `test -e' does not work. + Report from Lars Hecking. + +2004-01-13 Jim Meyering <jim@meyering.net> + + * lib/install-sh: Change `\n \t' to `\n\t ' in `defaultIFS' + assignment. Remove spurious SPACEs before TABs. + +2004-01-12 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/py-compile: Check input files after option processing. + Ensure --basedir has an argument. + * lib/am/python.am (install-%DIR%PYTHON): Do not run py-compile + if nothing was installed. + * tests/python10.test: New file. + * tests/Makefile.am (TESTS): Add python10.test. + Suggested by Sander Niemeijer. + + * tests/txinfo29.test: Remove autom4te.cache. + Report from Greg Schafer. + + * lib/install-sh: Do not use "$@" in a context where it may be empty, + for the sake of OSF1/Tru64's shell. + Report from He Li. + +2004-01-11 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/config.sub, lib/config.guess, lib/texinfo.tex: New upstream + versions. + + * m4/as.m4, m4/depend.m4, m4/maintainer.m4, m4/multi.m4: Update + copyright years and serial. + + * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.4. + +2004-01-10 Peter Eisentraut <peter_e@gmx.net> (tiny change) + + * m4/as.m4 (AM_PROG_AS): Format and align help string more + consistently. + * m4/depend.m4 (AM_DEP_TRACK): Likewise. + * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise. + * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise. + * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise. + +2004-01-10 Paul Eggert <eggert@twinsun.com> + + * m4/lispdir.m4 (AM_PATH_LISPDIR): Don't use \? in sed regular + expressions; it doesn't conform to POSIX. + +2004-01-10 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (shadow_unconditionally): New function... + (handle_source_transform): ... extracted from here. + (am_install_var): Use shadow_unconditionally to define %DISTVAR%. + * lib/am/data.am, lib/am/java.am, lib/am/lisp.am, lib/am/python.am, + lib/am/script.am: Add %DISTVAR% to DIST_COMMON. + * tests/cond33.test: Make sure all conditional files are distributed. + Report from Ralf Corsepius. + +2004-01-08 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Append `.' to $(mkdir_p). + * lib/install-sh: Accept `install-sh -d' with 0..n arguments, + as well as `install-sh sources... dest' with multiple sources. + * tests/cond33.test: New file. + * tests/instsh2.test: Add more checks for install-sh. + * tests/transform.test: Test for installdirs. + * tests/Makefile.am (TESTS): Add cond33.test + Report from Ralf Corsepius. + + * automake.in (handle_configure): Skip AC_CONFIG_LINKS items which + do not look like DEST:SRC. + * tests/conflnk3.test: Check for AC_CONFIG_LINKS($computed). + +2004-01-07 Alexandre Duret-Lutz <adl@gnu.org> + + Fix for PR automake/289: + * automake.in (Automake::Struct::libtool_tag): New attribute. Define + it for the language that have a Libtool tag. + (%libtool_tags): New variable. + (handle_languages, define_compiler_variable) + (define_linker_variable): Pass --tag=XXX to libtool if supported. + (scan_autoconf_traces): Scan for _LT_AC_TAGCONFIG and AC_LIBTOOL_TAGS. + * tests/libtool3.test, tests/subobj9.test: Check that --tag=XXX is + output. + +2003-01-07 Eric Sunshine <sunshine@sunshineco.com> (tiny change) + + * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): Add + config.status.lineno. + +2004-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change) + + * doc/automake.texi (Rebuilding): Typo. + +2004-01-07 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/Makefile.am (dist_am_DATA): Really add inst-vars.am. + +2004-01-06 Alexandre Duret-Lutz <adl@gnu.org> + + * THANKS: Add Bruce Korb. + +2004-01-05 Alexandre Duret-Lutz <adl@gnu.org> + + Mimic Paul Eggert's changes to Autoconf. + * Makefile.am (automake, aclocal): Use `chmod a-w', not `chmod -w'. + * lib/Automake/Makefile.am (Config.pm): Likewise. + * m4/Makefile.am ($(top_srcdir)/m4/amversion.m4): Likewise. + + * lib/am/inst-vars.am: New file, define am__vpath_adj_setup, + am__vpath_adj, and am__strip_dir. + * lib/am/Makefile.am (dist_am_DATA): Add inst-vars.am. + * lib/am/data.am, lib/am/lisp.am, lib/am/python.am, + lib/am/scripts.am: Include inst-vars.am, and use $(am__vpath_adj), + $(am__vpath_adj_setup), and $(am__strip_dir) in install and + uninstall rules. This fixes installation of nobase_ files in + VPATH setups with Sun and OSF1/Tru64 Make. + * lib/am/libs.am, lib/am/ltlib.am: Include inst-vars.am, and use + $(am__strip_dir) to simplify install and uninstall rules. + * tests/nobase.test: Augment to check installation from VPATH builds. + + * automake.in (%transformed_files): New variable. + (initialize_per_input): Reset it. + (make_paragraphs): Fill %transformed_files, and define %FIRST% + each time a file is transformed for the first time. + (handle_configure): Do not define %FIRST_CONFIG_HIN%. + (am_install_var): Do not define %FIRST%. + * lib/am/remake-hdr.am: Use %?FIRST% instead of %?FIRST_CONFIG_HIN%. + +2004-01-04 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/texinfo.tex: New upstream version. + + * m4/mkdirp.m4: Do not use `-m 0755'. This overrides special bits + and break setups where 775 directories are expected. Just obey + umask as we did in the past. + Report from Harlan Stenn. + +2004-01-03 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (scan_texinfo_file): Do not compare $outfile to '' + as $outfile might not be defined at all. + + * lib/Automake/Variable.pm (define): Rework the way we check + Automake variable definition. Ensure consistent :=/+=/= + definitions only for variables that have been and are defined by + Automake, and make it an internal error. Ignore Automake + attempts to touch a user variable, even with += assignments. + * tests/txinfo29.test: New file. + * tests/Makefile.am (TESTS): Add txinfo29.test. + Reported by Bruce Korb. + +2004-01-02 Tom Tromey <tromey@redhat.com> + + * automake.in (handle_source_transform): Don't generate dist + variables when no-dist is set. + (generate_makefile): Likewise. + * tests/nodist3.test: Ensure that DIST_SOURCES is not created, + and that dist target does not exist. + Reported by Tom Fitzsimmons. + +2004-01-02 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/libtool5.test, tests/ltcond.test, tests/ltcond2.test, + * tests/ltconv.test: Run automake with --add-missing, because + the CVS version of libtoolize no longer install config.sub and + config.guess by default. + + Fix for PR automake/319: + * aclocal.in (scan_m4_files): Scan configure.ac. + (trace_used_macros, write_aclocal): Remove configure.ac from the + list of files to include. + * tests/Makefile.am (TESTS): Add acloca15.test. + * tests/acloca15.test: New file. + + * aclocal.in (%file_includes): New variable. + (scan_configure_dep): Compile $m4_include_rx and $ac_require_rx once. + (scan_file): Scan for included files, and process these files + recursively. Fill %file_includes and %file_contents. Return the + list of included files, not the contents. + (scan_m4_files): Adjust calls to scan_files. + (strip_redundant_includes): New function. + (trace_used_macros): Call it. + (write_aclocal): Likewise. Also check the mtime of included files. + * tests/Makefile.am (TESTS): Add acloca14.test. + * tests/acloca14.test: New file. + Report from Phil Edwards. + +2004-01-01 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_languages): Do not define DEP_FILES. + * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Extract included + files with $(DEPDIR) in their name instead of DEP_FILES. + * tests/depend.test, tests/depend4.test, tests/exsource.test: + Adjust. + Suggested by Tom Tromey. + + Do not output .lo rules for programs and static libraries objects, + and do not output .o/.obj rules for libtool libraries. This is + about explicit rules only, not inference rules. + * automake.in (handle_single_transform_list): Rename as ... + (handle_single_transform): ... this. Take a single file + to transform (it was only called this way) and accept a new + %transform argument. Fill %lang_specific_files with list + references instead of strings, and append %transform to each + of these lists. + (define_objects_from_sources, handle_source_transform): + Take a %transform argument, and forward it to &handle_single_transform. + (handle_languages): Adjust to the new format of + %lang_specific_files, and honor its %transform part. + (handle_programs, handle_libraries, handle_ltlibraries): Override + %NONLIBTOOL% and %LIBTOOL% while calling handle_source_transform. + (make_paragraphs): Define %NONLIBTOOL% by default. Make sure + %transform settings override global settings. + * lib/am/depend2.am (%OBJ%, %OBJOBJ%): Define only if %NONLIBTOOL%. + * tests/libtool3.test: Augment to check Makefile.ins for unneeded + rules. + Suggested by Thomas Fitzsimmons. + + * automake.in, aclocal.in: Bump copyright years. + +----- + +Copyright (C) 2004-2012 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, are +permitted provided the copyright notice and this notice are preserved. + +;; Variables: +;; coding: utf-8 +;; End: diff --git a/old/ChangeLog.09 b/old/ChangeLog.09 new file mode 100644 index 000000000..02a1e33f7 --- /dev/null +++ b/old/ChangeLog.09 @@ -0,0 +1,5767 @@ +2009-12-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix and complete copyright notices in Makefile.am files. + * Makefile.am: Use single-`#' comment for copyright notice, so + that it also appears in the generated Makefile.in file. + * doc/Makefile.am: Likewise. + * doc/amhello/Makefile.am: Likewise. + * doc/amhello/src/Makefile.am: Likewise. + * lib/Automake/Makefile.am: Likewise. + * lib/Automake/tests/Makefile.am: Likewise. + * lib/Makefile.am: Likewise. + * lib/am/Makefile.am: Likewise. + * m4/Makefile.am: Likewise. + * tests/Makefile.am: Add copyright notice. + Report of missing copyright notice by Stefano Lattarini. + +2009-12-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fixed typo in Makefile.am (extra semicolon removed) + * Makefile.am (sc_diff_automake_in_automake): Removed an extra + semicolon in target's rules, which prevented a stdout redirection + from working. + +2009-12-21 Julien Danjou <julien@danjou.info> (tiny change) + + Add support for newer python version + * m4/python.m4 (AM_PATH_PYTHON): Add python3.1 to + _AM_PYTHON_INTERPRETER_LIST. + +2009-12-21 Karl Berry <karl@freefriends.org> + + mention ncftpput in gnupload --help + * lib/gnupload: Mention ncftpput in `--help' output. + Report by Bruce Korb. + +2009-12-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * NEWS: Update. + +2009-12-05 Antonio Diaz Diaz <ant_diaz@teleline.es> + + Replace unlzma, gunzip, bunzip2 with pack tool -d invocation. + * lib/am/distdir.am (distcheck): Use lzma -d, gzip -d, bzip2 -d, + instead of the respective un$tool invocation, to avoid depending + on another tool. + * THANKS: Update. + +2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Use $DJDIR rather than $DJGPP to detect running on DJGPP. + * automake.in (Language): Use $ENV{'DJDIR'} for the + $ENV{'SHELL'} override. + * bootstrap: Use $DJDIR for setting BOOTSTRAP_SHELL, to fix + bootstrapping under MinGW when $DJGPP has been set. + + Do not rely on Perl symlink status, for MSYS perl. + * automake.in (require_file_internal): Ensure presence of + symlink target file; MSYS perl symlink doesn't return an error + status when the file could not be created (copied, on this + system). Fixes symlink.test failure. + +2009-12-04 Stefano Lattarini <stefano.lattarini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Avoid Solaris sh `set -e' bug in vala4.test. + * tests/vala4.test: New variable $cwd, holding the full path of the + current directory. Use it instead of `pwd` command substitution, + to avoid Heirloom/Solaris Sh bug with `set -e'. + +2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix requirements of silent8.test. + * tests/silent8.test: Require makeinfo --html, tex, texi2dvi -o, + dvips. + +2009-12-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + File `automake.in' is not meant to be executed (only to be + preprocessed into `automake'), so don't leave it executable. + * automake.in: Remove executable bit. + +2009-12-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + Don't make the generated Automake's Config.pm executable. + * lib/Automake/Makefile.am (Config.pm): Don't make the generated + `Config.pm' file executable. + +2009-11-28 Jim Meyering <meyering@redhat.com> + + do not put world-writable directories in distribution tarballs + * lib/am/distdir.am (distdir): Do not make all directories + group- or world-writable. Instead, use 755. + * tests/subpkg4.test (test-distdir-is-readable): Check for new, + more restricted permissions. + +2009-11-29 Karl Berry <karl@freefriends.org> + + Rewrite `gnupload --help' examples. + * lib/gnupload: Use GNU style version numbers, a generic package + name, and more useful examples. + +2009-11-28 Jim Meyering <meyering@redhat.com> + + avoid a warning from perl-5.11 + * lib/Automake/Wrap.pm (_tab_length): Remove useless use of tr's + "/d" modifier. + +2009-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Distribute the Automake bootstrap script. + * Makefile.am (EXTRA_DIST): Add bootstrap. + Report by Jan Engelhardt. + +2009-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Coverage for corner cases in derive_suffix. + Ensure unrelatex SUFFIXES entries and unrelated inference rules + are ignored silently. + * tests/ext3.test: New test. + * tests/Makefile.am: Update. + + Coverage for user-provided _LINK variables. + * tests/link_override.test: New test. + * tests/Makefile.am: Adjust. + + Coverage: warn about substitutions that need EXTRA_PRIMARY. + * tests/extra9.test: New test. + * tests/Makefile.am: Adjust. + + Coverage: warn about configure substitution in EXTRA_PRIMARY. + * tests/subst5.test: New test. + * tests/Makefile.am: Update. + + Coverage for syntax errors with conditionals in included fragments. + * tests/condinc2.test: Amend test. + + Coverage: diagnose variables with forbidden dist_ prefix. + * tests/candist.test: New test. + * tests/Makefile.am: Update. + + Coverage for conditional `else' and `endif' arguments. + * tests/cond46.test: New test. + * tests/Makefile.am: Update. + +2009-10-31 Jim Meyering <meyering@redhat.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Don't let an envvar setting of "$fail" cause build failure. + Without this change, in a project using an automake-generated + Makefile, "make fail=anything" would fail inappropriately, + due to the `test -z "$$fail"' at the end of this emitted rule: + * lib/am/subdirs.am ($(RECURSIVE_TARGETS)): Initialize "fail=" to keep + an envvar setting of that variable from causing unwarranted failure. + ($(RECURSIVE_CLEAN_TARGETS)): Likewise. + * tests/subdir10.test: New test. + * tests/Makefile.am: Update. + +2009-10-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Simplify Variable::_check_ambiguous_condition. + * lib/Automake/Variable.pm (_check_ambiguous_condition): No need + to check for $def since ambiguous_p returns an empty $message if + there is no other condition which is ambiguous to $cond. + + Coverage for DisjConditions.pm. + * lib/Automake/tests/DisjConditions.pl (test_basics): Increase + test coverage: test ->human, ->merge, ->simplify, ->multiply. + * lib/Automake/tests/DisjConditions-t.pl (test_basics): Likewise + changes, but including state copies across thread creation. + * lib/Automake/tests/DisjCon2.pl: New test. + * lib/Automake/tests/DisjCon3.pl: Likewise. + * lib/Automake/tests/Makefile.am (TESTS, XFAIL_TESTS): Adjust. + + Coverage and fixes for Condition.pm. + * lib/Automake/Condition.pm (new): Catch common programming + errors better by checking type of passed argument before + munging them to all be strings through split. + * lib/Automake/tests/Condition.pl (test_basics): Also test + ->human. + (test_merge): New function, test ->merge, ->merge_conds, + ->strip. + * lib/Automake/tests/Condition-t.pl (test_basics, test_merge): + Likewise changes, but including state copies across thread + creation. + * lib/Automake/tests/Cond2.pl: New test for programming error. + * lib/Automake/tests/Cond3.pl: Likewise. + * lib/Automake/tests/Makefile.am (TESTS, XFAIL_TESTS): Update. + + Coverage for Wrap.pm. + * lib/Automake/tests/Wrap.pl (@tests): Add test for word with + trailing space. + (test_makefile_wrap, @makefile_tests): New function, new list of + tests, to test makefile_wrap. + + Coverage for Version.pm. + * lib/Automake/tests/Version.pl (test_version_compare): Also + try Automake::Version::check for the version pairs, taking into + account the special-case naming of code forks. + (@tests): Add more test cases. + (test_bad_versions, @bad_versions): New function, new test cases, + to ensure bad version strings are rejected. + * lib/Automake/tests/Version2.pl: New test. + * lib/Automake/tests/Version3.pl: Likewise. + * lib/Automake/tests/Makefile.am (TESTS): Add tests here ... + (XFAIL_TESTS): ... and here, new. + + Pod coverage for Perl modules. + * lib/Automake/ChannelDefs.pm (parse_warnings): Fix + typo in Pod documentation. + * lib/Automake/Condition.pm: Add a couple of missing `=back' + lines. + (_has): Renamed from ... + (has): ... this, as this is an internal method. + (strip, false, true_when): Adjust callers. + * lib/Automake/Configure_ac.pm: Add Pod `Functions' section with + documentation for find_configure_ac and require_configure_ac. + * lib/Automake/Location.pm: Fix typo in Pod. Add `Methods' + section, document methods. + * lib/Automake/RuleDef.pm: New `Methods' Pod section. + * lib/Automake/VarDef.pm: Document `raw_value'. + * lib/Automake/Wrap.pm (_tab_length): Rename from ... + (tab_length): ... this, as this is an internal method. + (wrap): Adjust callers. + * lib/Automake/XFile.pm: Reorganize Pod a bit, add `Methods' + section. + +2009-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Perl coverage support using Devel::Cover. + This introduces makefile rules to run the testsuite with Perl + coverage enabled. It skips tests that use perl ithreads, by + unsetting AUTOMAKE_JOBS and setting WANT_NO_THREADS to make the + threaded tests skip. + * Makefile.am (PERL_COVERAGE_DB, PERL_COVERAGE_FLAGS) + (PERL_COVER): New variables. + (check-coverage, recheck-coverage, clean-coverage): New phony + targets. + (check-coverage-run, recheck-coverage-run): New phony helper + targets. + (clean-local): New, depend on clean-coverage. + * lib/Automake/tests/Condition-t.pl: Skip if WANT_NO_THREADS is + set. + * lib/Automake/tests/DisjConditions-t.pl: Likewise. + * tests/defs.in: New required entry 'perl-threads'. + * tests/parallel-am.test: Use it to skip if WANT_NO_THREADS is + set. + * tests/parallel-am2.test: Likewise. + * tests/parallel-am3.test: Likewise. + + Add convenience `recheck' target to our toplevel Makefile.am. + * Makefile.am (recheck): New convenience target. + * tests/README: Give examples for running only failed or + outdated or otherwise selected tests. + + dist: allow running several compressors in parallel. + * lib/am/distdir.am (am__post_remove_distdir): New internal + variable. + (DIST_TARGETS): New variable, set to list of chosen distribution + formats. Order formats by expected duration, slowest first, for + better parallelism. + (dist-gzip, dist-bzip2, dist-lzma, dist-xz, dist-tarZ) + (dist-shar, dist-zip): Use $(am__post_remove_distdir). + (dist, dist-all): Do not depend on distdir. Instead of + replicating each compression command, use a recursive invocation + to allow running all $(DIST_TARGETS) in parallel. + * NEWS: Update. + Report by Peter Breitenlohner. + + Fix license headers of cscope tests to be GPLv2+. + * tests/cscope.test: Revert to GPL version 2. + * tests/cscope2.test: Likewise. + * tests/cscope3.test: Likewise. + + Sync auxiliary files from upstream. + * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub, + lib/texinfo.tex: Sync from upstream. + + Doc and comment typos. + * automake.in (handle_ltlibraries): Fix typo in comment. + * tests/distcom7.test: Likewise. + * tests/lisp5.test: Likewise. + * doc/automake.texi (Usage of Conditionals): Fix typo. + +2009-10-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix race condition in werror2.test due to sanity sleep change. + * tests/werror2.test: Generate Makefile.in before configure so + that a Makefile.am update after configure has run is guaranteed + to be newer than Makefile.in. + * tests/subdir5.test: Document why this test does not need to be + fixed. + * tests/subdir8.test: Likewise. + + Improve description of the various *LINK variables. + * doc/automake.texi (Program and Library Variables): _LINK also + receives libraries to link against. _LINK may be generated. + (Program Variables): Document reasons when per-target _LINK is + used instead of LINK. + (How the Linker is Chosen): Document how a per-target _LINK + variable and per-target link flags override linker selection. + * THANKS: Update. + Report by Dave Korn against gcc/libstdc++-v3. + + Allow variable override of, rather than by, silent variables. + When overriding variables, check the VAR_SILENT status of the + old condition, not the new one: we allow non-silent overrides + of silent variables (these do not hit ordering bugs in the + automake output), but there is no use case for doing so the + other way round. Fixes conditional overrides of variables + annotated AM_SUBST_NOTMAKE in configure.ac. + * lib/Automake/Variable.pm (_check_ambiguous_condition): Check + for VAR_SILENT in $ambig_cond not $cond. + * tests/cond44.test, tests/cond45.test: New tests, analogous to + cond23.test and cond24.test. + * tests/Makefile.am: Update. + Spotted originally in binutils/bfd. + + Fix `make clean check' for the Automake package. + * lib/Automake/Makefile.am (SUBDIRS): Add `.' before `tests', + so that Config.pm is built first. + + Fix in-tree `recheck' after failed test that runs `check'. + If a test like pr401b-p.test fails for some reason, a `make + recheck' would cause another reason for failure because it sets + AM_MAKEFLAGS which gets propagated into the test and causes its + `make check' to fail. + * tests/defs.in: Also unset AM_MAKEFLAGS. + +2009-10-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + Updated code enabling Bourne-compatibility in test scripts. + * tests/defs.in: updated the code enabling Bourne-compatibility + mode in the shell (now it's copied from autoconf 2.64). + + Avoid leaking TEST_LOG_COMPILER in environment of test scripts. + * tests/defs.in: Unset variable `TEST_LOG_COMPILER'. + +2009-10-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + Testsuite: do not use `chmod -R' when cleaning up. + * tests/Makefile.am (clean-local-check): Do not use `chmod -R' on + the test directories, as that may change or try to change the mode + of installed files: the test directory may contain symlinks to + ltmain.sh files from a Libtool installation, and Solaris `chmod -R' + touches symlink targets. Instead, use the cleanup strategy used + in distdir.am (which is also employed in tests/defs.in). + +2009-10-06 Bruno Haible <bruno@clisp.org> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix 'compile' script to not call mv when target equals source. + * lib/compile: Don't attempt to move the generated file to its + target destination when it is already at the target destination. + Avoids an mv failure with subdir-objects. + * tests/ccnoco3.test: New test. + * tests/Makefile.am: Adjust. + +2009-10-01 Stefano Lattarini <stefano.lattarini@gmail.com> (tiny change) + + Fix recommended way to run automake's test scripts with Zsh. + * tests/README (Supported shells): Changed the recommended way + to run automake's test scripts with Zsh. Now we tell to use + the Zsh's command line option `-o no_function_argzero', not + `--no-function-argzero', since the latter does not work with + versions 3.x of Zsh. + +2009-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fixups and tests for cscope functionality. + It seems cscope is not able to take into account relative + file names of included cscope.files files, but it is able to + canonicalize file names containing '../' sequences. + This patch makes the cscope references relative again, and + fixes some corner cases. + * NEWS: Reword a bit. + * THANKS: Update. + * automake.in (handle_tags): Use $(am__cd). Provide default + empty rule for the `cscope' target, for empty sources. + * lib/am/tags.am (cscopelist): Construct relative path to files + in $(srcdir) if $(srcdir) is relative. + [TOPDIR_P] (cscope): Do not depend on cscope-clean. Only invoke + $(CSCOPE) if cscope.files is nonemtpy. + (clean-cscope): Rename from ... + (cscopeclean): ... this. + (cscope.files): Depend on clean-cscope. + (distclean-tags) [!TOPDIR_P]: No need to remove cscope files + here. + * tests/cscope.test, tests/cscope2.test, tests/cscope3.test: New + tests. + * tests/Makefile.am: Adjust. + +2009-09-25 Debarshi Ray <rishi@gnu.org> + + New target to generate cscope database. + * automake.in (handle_tags): Handle cscope. + * doc/automake.texi (Tags): Document cscope. + * lib/am/tags.am (CSCOPE): New macro. + [TOPDIR_P] (AM_RECURSIVE_TARGETS): Add cscope. + (cscope): New target. + (cscopeclean): Likewise. + (cscope.files): Likewise. + (cscopelist): Likewise. + (distclean-tags): Remove `cscope.out', `cscope.in.out', + `cscope.po.out' and `cscope.files'. + * NEWS: Update. + Based upon earlier patch from Jesse Barnes. + +2009-09-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Use silent-rules for building the Automake package. + * configure.ac (AM_INIT_AUTOMAKE): Add silent-rules option. + * Makefile.am (automake, aclocal, INSTALL): Add silencing + variables to recipe. + * doc/Makefile.am (update_mans, $(srcdir)/aclocal.1) + ($(srcdir)/automake.1, $(srcdir)/amhello-1.0.tar.gz): Likewise. + * lib/Automake/Makefile.am (Config.pm): Likewise. + * tests/Makefile.am ($(srcdir)/parallel-tests.am) + ($(parallel_tests), defs-p): Likewise. + +2009-09-25 Jack Kelly <endgame.dos@gmail.com> + + Add silent rules support for texinfo outputs. + * automake.in (define_verbose_texinfo): Define several new verbose + tagvars and verbose vars. + (define_verbose_tagvar): Increase spacing to 8 to accommodate + MAKEINFO, TEXI2DVI, TEXI2PDF. + (handle_texinfo): Additional substitution for silencing dvips. + (output_texinfo_build_rules): Additional substitutions for + silencing texi2dvi and texi2pdf. + * lib/am/texibuild.am: Add silencing to makeinfo, makeinfo --html, + texi2dvi and texi2pdf rules. + * lib/am/texinfos.am: Add silencing to .dvi.ps rule. + * tests/Makefile.am: Add silent8.test. + * tests/silent8.test: New test: tests that silent texinfo rules + produce quiet messages. + * NEWS: Update. + +2009-09-18 Peter Johansson <trojkan@gmail.com> (tiny change) + + Fix link to "Recursive Make Considered Harmful" paper. + * doc/automake.texi (Alternative): Fix broken URL. + +2009-09-11 Reuben Thomas <rrt@sc3d.org> (tiny patch) + + Fix outdated reference to sh-utils in the manual. + * doc/automake.texi (Options): The reference to `sh-utils' + should be to `coreutils'. + +2009-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Avoid sleeping for one second most of the time in sanity check. + * m4/sanity.m4 (AM_SANITY_CHECK): Try sanity check first without + sleeping for a second, and only if that failed, sleep and try + again, to avoid the delay in the common case of a configure + script that is older than a second, or a system with sub-second + time stamp granularity. + Report and different patch by Jim Meyering. + +2009-09-06 Stefano Lattarini <stefano.lattarini@gmail.com> (tiny change) + + tests/README: warn about zsh incompatibilities. + * tests/README (User interface, Getting details from failures): + Explicitly state that every test is a "shell script", not just + a "script", and that it's run by `/bin/sh' by default. + * tests/README (User interface, Supported shells): New subsection, + telling about expected portability of the automake test scripts, + describing a zsh incompatibility (w.r.t. $0), and a workaround to + it (with the `--no-function-argzero' option). + + testsuite: fix a minor glitch. + * tests/defs.in (exit trap): Use `$me', not `$as_me', as the + name of the current test (used in error messages). + * THANKS: Update. + +2009-07-08 Jim Meyering <meyering@redhat.com> + + manual: fix a trivial grammar error. + * doc/automake.texi (Invoking aclocal): Fix grammar. + +2009-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + AM_PROG_GCJ: use AC_CHECK_TOOLS for gcj, for cross compilation. + * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_TOOLS, rather than + AC_CHECK_PROGS, when searching for `gcj'. + * NEWS: Update. + Report by Jack Kelly. + +2009-05-24 Jack Kelly <endgame.dos@gmail.com> (tiny change) + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + AM_PROG_GCJ currently fails to define OBJEXT and EXEEXT. + * tests/gcj6.test: New test. + * tests/Makefile.am: Update; mark gcj6.test as XFAIL. + * THANKS: Update. + +2009-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + parallel-tests: avoid GNU make 3.80 substitution bug. + * lib/am/check.am [PARALLEL_TESTS] (check-TESTS): Remove any + `.log' entries from `$(TEST_LOGS)' even if the list is nonempty, + to work around GNU make 3.80 substitution reference issue with + trailing white space in the variable. + * tests/parallel-tests10.test: New test. + * tests/parallel-tests6.test: Update comment. + * tests/Makefile.am: Update. + * NEWS: Update. + Report by Bob Friesenhahn. + +2009-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + testsuite: unset installation directory variables. + * tests/defs.in: Before test execution, be sure to unset all + installation directory variables, so they cannot have an effect + on a `make -e install' command within a test. + Report by Dagobert Michelsen. + + testsuite: do not change the mode of installed Libtool files. + * tests/defs.in: Do not use `chmod -R' on the test directory, as + that may change or try to change the mode of installed files: + the test directory may contain symlinks to ltmain.sh files from + a Libtool installation, and Solaris `chmod -R' touches symlink + targets. Instead, use the cleanup strategy used in distdir.am. + * NEWS: Update. + Report by Dagobert Michelsen. + + testsuite: do not fail in cleanup code. + * tests/defs.in: Turn off errexit in the cleanup trap, to avoid + a test failure due to a nonzero command. + * THANKS: Update. + Report by Dagobert Michelsen. + +2009-05-23 Peter O'Gorman <peter@pogma.com> + + python: do not install in system directories on Darwin 9. + On Darwin 9, get_python_lib returns a path below `/Library/Python' + regardless of the `prefix' argument it was passed, causing `make + install' to target the system directories regardless of `--prefix' + argument used. Work around this Darwin bug by ignoring the result + of get_python_lib if it points outside of the passed prefix, and + the prefix was not a system directory. + * m4/python.m4 (AM_PATH_PYTHON): If the prefix does not match the + initial portion of the pythondir returned by get_python_lib, then + ignore it unless the configured prefix is `/usr' or starts with + `/System'. Fixes instmany-python.test failure on Mac OS X 10.5.7. + * NEWS: Update. + +2009-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Clarify how to enable `silent-rules' and other global options. + * doc/automake.texi (Options): When introducing options, be more + careful to note that not all of them can be specified in + AUTOMAKE_OPTIONS statements, and that some do not make sense in + subdirectories. Note more prominently that `silent-rules' can + only be specified in configure.ac. + * lib/Automake/Options.pm (_process_option_list): Improve error + message for `silent-rules', `tar-v7', `tar-ustar', `tar-pax' + options specified in Makefile.am files. + Report by Bruno Haible. + +2009-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Skip specflg10.test without a C++ compiler. + * tests/specflg10.test: Require g++. + Report by Thien-Thi Nguyen. + +2009-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Revert last patch, IRIX has an editor named `jot'. + * tests/instmany-mans.test: Do not try `jot'. + * tests/instmany-python.test: Likewise. + * tests/instmany.test: Likewise. + Report by Peter O'Gorman. + +2009-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + testsuite: also try `jot' as `seq' replacement. + * tests/instmany-mans.test: Try BSD `jot' before resorting to a + slow but portable shell loop. + * tests/instmany-python.test: Likewise. + * tests/instmany.test: Likewise. + Suggestion by Peter O'Gorman. + + Fix test failure when pkg.m4 is not found, only pkg-config. + * tests/vala5.test: Update comment, this test is not expected to + fail any more. Require valac version 0.7.0. Skip if configure + fails, could be due to unexpanded PKG_CHECK_MODULES or too old + valac. + Report by Simon Josefsson. + +2009-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Post-release version bump. + * configure.ac, NEWS: Bump version to 1.11a. + +2009-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Automake 1.11. + * configure.ac: Bump version to 1.11. + * doc/automake.texi (Releases): Add line for 1.11. Remove line + for 1.10b. + + Fix maintainer-check failures. + * automake.in (lang_vala_finish_target): Use `$(am__cd)' instead + of plain `cd'. + * tests/vala2.test: Use `rm -f' instead of `rm'. + + Revert Automake license to GPLv2+. + Automake will move to GPLv3+ once the Exception statement has + been rewritten to use the new GPLv3 exception language. This + change does not impact the COPYING file that may be installed + by `automake --add-missing'. + * COPYING: Revert to GPLv2. All uses changed. + * NEWS: Update. + + Rewrite NEWS for 1.11. + * NEWS: Rewrite, merging 1.10b and 1.10c entries. + + Sync auxiliary files from upstream. + * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from + upstream. + + Update release statistics, improve release-stats rule. + * Makefile.am (release-stats): Output stderr of pstops in + addition to catching it, for better debugging. + * doc/automake.texi (Releases): Add line for 1.10.2. + + Cope with parallel BSD make -jN semantics. + When BSD `make -jN' is used without `-B' which enables backwards + compatible semantics, it may reuse the same shell for several + commands within a rule; so ensure we do not leave it in a + different directory, nor `exit 0' early in a multi-command rule. + * lib/am/distdir.am (distcheck): After running `distcleancheck', + change back to original working directory. + * lib/am/remake-hdr.am (%CONFIG_HIN%): Run autoheader in a + subshell. + * lib/am/mans.am (uninstall-man%SECTION%): Do not `exit 0' early + in a rule that consists of several shell invocations. Parallel + NetBSD `make -jN' without `-B' will use only one shell for all + commands, but won't respawn one after `exit 0'. Fixes + notrans.test failure. + * tests/makej2.test: New test. + * tests/Makefile.am: Update. + + Fix typo in comment. + * lib/am/install.am: Fix typo. + +2009-05-17 Matthias Klose <doko@ubuntu.com> (tiny change) + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Let AM_PATH_PYTHON honor python's idea about the site directory. + * m4/python.m4 (AM_PATH_PYTHON): When computing pythondir and + pyexecdir, pass the expanded prefix resp. exec_prefix as `prefix' + to get_python_lib, so python can determine the name of the site + directory depending on the install location. Afterwards, replace + the directory names with the unexpanded values of $PYTHON_PREFIX + resp. $PYTHON_EXEC_PREFIX again, to allow override according to + the documentation. Fixes site directory computation for Debian + and Ubuntu (`dist-packages' for a prefix of `/usr' or `/usr/local', + `site-packages' elsewhere). + * NEWS, THANKS: Update. + +2009-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Vala: for now, require GNU make. + * doc/automake.texi (Vala Support): GNU make is currently + required for Vala sources. + * tests/vala2.test, tests/vala3.test, tests/vala5.test: Require + GNU make. + +2009-05-17 Jürg Billeter <j@bitron.ch> + + Vala: Use $(srcdir) in rebuild rules. + valac is always run in srcdir as the generated files are distributed. + So srcdir needs to be taken into account in the rebuild rules to not + wrongly trigger a rebuild in the wrong directory. + * automake.in (lang_vala_finish_target): Rebuild files in + $(srcdir). + * tests/vala2.test: Test rebuild rules from VPATH build. + + Vala: Add and test rebuild rules for generated header and vapi files. + valac will generate additional files when using, for example, -H in + VALAFLAGS. We need to recognize these options and add appropriate + rebuild rules to fix parallel build. + * automake.in (lang_vala_finish_target): Recognize -H, -h, + --header, --internal-header, --vapi, --internal-api, --gir flags + to valac and rebuild rules for generated headers; distribute + and maintainer-clean them. + * tests/vala2.test: Test rebuild rules. + +2009-05-17 Jürg Billeter <j@bitron.ch> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Vala: Fix build when using per-target VALAFLAGS. + This does not yet implement full per-target support for VALAFLAGS, + however, this change at least fixes building when there is only one + target per source file, which is the most common situation. + * automake.in: Remove `VALAFLAGS' from `flags' in language struct. + (lang_vala_finish_target): Handle `*_VALAFLAGS rewriting' manually + here; check `VALAFLAGS' user variables. + * tests/Makefile.am (XFAIL_TESTS): Remove vala5.test. + * doc/automake.texi (Vala Support): Document per-target flag + limitations. + +2009-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + For PR automake/540: + Document some formatting restrictions for Makefile.am files. + * doc/automake.texi (General Operation, Usage of Conditionals): + Variable assignments should not be indented by TABs, rule commands + should. Conditional keyword statements should not be indented. + * THANKS: Update. + Report by Luo Yi. + +2009-05-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix copyright years in *.am files. + * lib/am/check.am, lib/am/check2.am, lib/am/distdir.am, + lib/am/program.am, lib/am/tags.am: Fix copyright years. + + distdir: avoid duplicate `find' traversal with subpackages. + * lib/am/distdir.am (distdir) [%?SUBDIRS%]: When recursing, set + `am__skip_mode_fix'. + [%?TOPDIR_P%]: When `$(am__skip_mode_fix)' is set, avoid tree + walk. + * tests/subpkg4.test: New test, to ensure that we still walk the + whole tree while fixing permissions. We don't ensure it is + walked once only. + * tests/Makefile.am: Update. + + Disable test cleanup trap with OSF1/Tru64 sh. + * configure.ac: Test whether /bin/sh has working 'set -e' + in conjunction with an exit trap. Set $am_cv_sh_errexit_works + accordingly, substitute sh_errexit_works, and warn about + leftover test directories with broken shells like Tru64 /bin/sh. + * tests/defs.in: Do not install any traps with broken shells. + +2009-05-02 Bruno Haible <bruno@clisp.org> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Recommend *-local hooks without commands, for extensibility. + * doc/automake.texi (Clean): Show how to write the clean-local + extension with separate phony target. + * tests/Makefile.am (clean-local-check): Practice what we preach + by marking this phony. For consistency, rename from ... + (check-clean-local): ... this. + +2009-04-28 Eric Blake <ebb9@byu.net> + + scripts: normalize all timestamps to UTC + * lib/compile (scriptversion): Update emacs hook. + * lib/depcomp (scriptversion): Likewise. + * lib/elisp-comp (scriptversion): Likewise. + * lib/gnupload (scriptversion): Likewise. + * lib/install-sh (scriptversion): Likewise. + * lib/mdate-sh (scriptversion): Likewise. + * lib/missing (scriptversion): Likewise. + * lib/mkinstalldirs (scriptversion): Likewise. + * lib/py-compile (scriptversion): Likewise. + * lib/ylwrap (scriptversion): Likewise. + +2009-04-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + silent-rules: fix alignment of less verbose output. + * automake.in (define_verbose_var): Define `$silent_var' as + VAR_ASIS, not VAR_PRETTY, to avoid squashing of multiple + adjacent spaces. + * tests/silent.test: Amend test. + Report by Jan Engelhardt. + +2009-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + manual: fix trivial grammar errors. + * doc/automake.texi (Subpackages, Vala Support, Java) + (Checking the Distribution, Timeline): Fix `a' vs. `an' errors + and duplicate `the'. + Report by Eric Blake. + + Indent rule commands consistently with a TAB. + * lib/am/check.am ($(TEST_SUITE_LOG)): Consistently use TAB, not + spaces, for indentation of commands, even if indentation may not + be needed at all. + * lib/am/texinfos.am (install-info-am): Likewise. + * THANKS: Update. + Prompted by report from John Calcote. + + parallel-tests: fix recheck* targets for non-GNU make. + * lib/am/check.am (recheck recheck-html): Override AM_MAKEFLAGS + to portably transport the TEST_LOGS settings through the + recursive `make' invocations. Fixes parallel-tests9.test + failure with Solaris make. + * tests/parallel-tests9.test: Also ensure that the test + summary is correct for `recheck'. + Suggestion by Akim Demaille. + +2009-04-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Avoid racy depmodes with universal builds. + * m4/depend.m4 (_AM_DEPENDENCIES): If universal builds are used, + avoid racy depmodes. + * lib/depcomp: Ignore `-arch' argument for makedepend depmode. + Report by Bruno Haible, analysis by Bruno Haible, Peter O'Gorman, + and Eric Blake. + +2009-04-21 Fabian Alenius <fabian.alenius@gmail.com> (tiny change) + + Fix link to autotools tutorial. + * doc/automake.texi (Autotools Introduction): Fix broken link. + * THANKS: Update. + +2009-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + testsuite: minor w32 fixes. + * tests/depend5.test: Don't fail if the system or file system + cannot handle weird characters, instead just try a few. + * tests/parallel-tests3.test: Really wait until the serial test + has finished, before letting the cleanup trap do its work. + Report by Bruno Haible. + + Avoid nonportable `./FILE' instead of `FILE' in test. + * tests/libtool3.test: Do not use `$(top_builddir)/sub/libname.la' + in *_LDADD entry if `$(top_builddir)' is `.'. Fixes test failure + with parallel NetBSD make. + + Detect make `include' style also with parallel non-GNU make. + Parallel NetBSD make outputs `--- $target ---' messages, + parallel HP-UX make outputs `Making target"$target"'. Just + ignore all additional output for the include test. + * m4/make.m4 (AM_MAKE_INCLUDE): Ignore additional output + produced by `make' to relax `include' style detection. + + manual: add FAQ `Debugging Make Rules'. + * doc/automake.texi (Debugging Make Rules): New FAQ section. + (Top, FAQ): Adjust menus, and capitalization of the description + of the `Hard-Coded Install Paths' node. + (Multiple Outputs): Add comment to restore font-lock for vim. + Suggestion by Karl Berry. + + Let XFile::lock warn and fail with parallel non-GNU make, too. + * lib/Automake/XFile.pm (lock): Also match `-j' for parallel BSD + make, and `-P' for parallel HP-UX make. + + Fix AM_PROG_VALAC version requirement detection. + * m4/vala.m4 (AM_PROG_VALAC): Remove `Vala ' from valac + --version string before comparing versions. + * tests/vala2.test: Require version 0.7.0 for the test. + Fixes failures of vala2.test and vala3.test with older valac. + + Correctly treat all assignments with bogus trailing comments. + Before this patch, automake would silently fail to diagnose and + to copy into the output those variable assignments which are + preceded by a comment, and end in backslash newline comment. + * automake.in (read_am_file): When determining whether an + escaped newline followed by a comment is an error, correctly use + the parser state, not the contents of a saved comment, which + could still be carried over from a comment before an assignment. + * NEWS: Update. + * tests/commen11.test: New test. + * tests/Makefile.am: Update. + Report by Karl Berry. + +2009-04-14 Karl Berry <karl@freefriends.org> + + manual: improve markup: itemize list in `Extending'. + * doc/automake.texi (Extending): Use `@item's for user override + semantics. + +2009-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + bin_PROGRAMS = $(EXTRA_PROGRAMS) should work. + * automake.in (am_install_var): For `PROGRAMS' primary, strip + `$(EXEEXT)' here already, so the name uniquifying works even + when we look at names repeatedly, with inconsistent executable + extension; through variable references, we might have added + the extension ourselves earlier. + (handle_programs): No need to strip `$(EXEEXT)' here any more. + * tests/extra8.test: New test. + * tests/Makefile.am: Update. + * THANKS: Update. + Report by Daniel Richard G. + +2009-04-10 Jim Meyering <meyering@redhat.com> + + Fix grammar in comments and documentation. + * doc/automake.texi (API versioning): Fix grammar. + * automake.in: Fix grammar in comment. + * lib/Automake/ChannelDefs.pm: Likewise. + * tests/ext2.test: Likewise. + +2009-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + More minor fixups to vala support. + * automake.in (lang_vala_finish_target): Fix typo in comment. + * doc/automake.texi (Vala Support): Fix typo. Declare vala + support as "initial". + * NEWS: Likewise, declare vala support as "initial". + +2009-04-05 Jürg Billeter <j@bitron.ch> + + Improve Vala support. + * automake.in: Update to Vala 0.7.0 semantics, recover from removal + of built sources, support silent-rules, drop _PKGNAME variables + * doc/automake.texi, NEWS: Update. + * lib/am/vala.am: Bump copyright years. + * m4/vala.m4: Likewise. + * tests/vala.test: Remove obsolete grep tests. + * tests/vala1.test: Likewise. + * tests/vala2.test: Test full build, distcheck, and distclean. + * tests/vala3.test: Likewise, also test with subdir-objects. + * tests/vala4.test: Bump copyright years. + * tests/vala5.test: New test for per-target flags, expected to fail. + * tests/Makefile.am: Update. + * THANKS: Update. + +2008-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Minor fixups for Vala support. + * automake.in: $(VALAFLAGS) comes after $(AM_VALAFLAGS). + * doc/automake.texi (Vala Support): Add some references, + document AM_VALAFLAGS, streamline a bit. + * lib/am/vala.am: Copyright blurb. + * m4/vala.m4 (AM_PROG_VALAC): Rewrite using AS_VERSION_COMPARE. + * tests/vala.test: Fix minor nits. + * tests/vala1.test: Likewise. + * tests/vala2.test: Likewise. + * tests/vala3.test: Likewise. + * tests/vala4.test: New test, for version argument of + AM_PROG_VALAC. + * tests/Makefile.am: Update. + +2008-10-09 Mathias Hasselmann <mathias.hasselmann@gmx.de> + + * automake.in: Support Vala in non-recursive builds. Make sure + foo_VALAFLAGS really use used. Inject --library switch when building + Vala libraries. + * doc/automake.texi, NEWS: Document Vala support. + * m4/vala.m4: Rename AC_PROG_VALAC to AM_PROG_VALAC. + * tests/Makefile.am: Additional Vala tests. + * tests/vala.test: Also test VALAFLAGS support. + * tests/vala1.test: Test non-recursive Vala support. + * tests/vala2.test: Test _PKGNAME variables. + * tests/vala3.test: Test compiling of C code generated by Vala. + +2008-10-09 Mathias Hasselmann <mathias.hasselmann@gmx.de> + + Initial support for the vala programming language. + * automake.in: Add %known_libraries, lang_vala_rewrite, + lang_vala_finish and lang_vala_target_hook to support the Vala + programming language. Register Vala language hooks. + * lib/am/vala.am: Empty rules file to prevent creation of depend2 + based rules for Vala code. + * lib/am/Makefile.am (dist_am_DATA): Add vala.am. + * m4/vala.m4: Provide AC_PROG_VALAC for detecting the Vala compiler. + * m4/Makefile.am (dist_m4data_DATA): Add vala.m4. + * tests/vala.test: Test Vala support. + * tests/Makefile.am: Update. + +2009-04-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + testsuite: do not fail on systems without read permissions. + * tests/instfail-info.test: Do not use the `non-root' + requirement for testing whether files may be made unreadable; + instead use `test -r' and skip the test if that still works. + * tests/instfail-java.test: Likewise. + * tests/instfail-libtool.test: Likewise. + * tests/instfail.test: Likewise. + * tests/instmany-mans.test: Likewise. + * tests/instmany-python.test: Likewise. + * tests/instmany.test: Likewise. + * tests/parallel-tests9.test: Likewise. + + testsuite: parallel make fixes. + This patch fixes a couple of testsuite bugs exposed with + `MAKE=make\ -jN make check'. + * tests/libtoo10.test: Do not run `clean' in same $MAKE + invocation as `all check'. Fixes test failure with parallel + NetBSD `make -jN'. + * tests/nobase.test: Be sure to create a directory before + creating files in it. Fixes test failure with MAKE=`make -jN' + for NetBSD make. This issue is hidden with parallel GNU make + due to its parallel breadth first update order. + * tests/parallel-tests3.test: Skip if $MAKE contains `-j', + GNU make will use the environment variable $MAKE for recursion + and thus run in parallel even if `$MAKE -j1' was used on the + command line in the test. Also, after running the test proper, + wait long enough so that background jobs have finished and there + are no open files left when the cleanup code runs. + +2009-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + silent-rules reorganization, --enable-silent-rules switch. + This patch introduces a configure-time option to set the default + verbosity. Since configure now needs to know whether the + `silent-rules' automake option was set, the latter can only be + set within AM_INIT_AUTOMAKE, or with a new AM_SILENT_RULES macro + but not any more through AUTOMAKE_OPTIONS or the automake + command line option `--silent-rules'. + * automake.in (define_verbose_var): Define the default verbose + variable in terms of `$(AM_DEFAULT_VERBOSITY)'. + (handle_configure): Do not pass `--silent-rules' to automake. + (scan_autoconf_traces): Trace `AM_SILENT_RULES'. If seen, + enable global `silent-rules' option. + (usage): Do not document `--silent-rules'. + (parse_arguments): Do not accept `--silent-rules'. + * doc/automake.texi (Options): Overhaul. Document + AM_SILENT_RULES, --enable-silent-rules, --disable-silent-rules, + AM_DEFAULT_VERBOSITY. Show an example for user-added variables + for less verbose output. + (Invoking Automake): Remove documentation for `--silent-rules'. + (Public Macros): Document `AM_SILENT_RULES'. + * NEWS: Update. + * lib/Automake/Options.pm (_process_option_list): Accept + `silent-rules' only as option in configure.ac. + * m4/init.m4 (AM_INIT_AUTOMAKE): If the `silent-rules' option + was enabled, require `AM_SILENT_RULES'; move AM_BACKSLASH + initialization to ... + * m4/silent.m4 (AM_SILENT_RULES): ... this new file, new macro. + Deal with `--enable-silent-rules' switch; define + AM_DEFAULT_VERBOSITY. + * m4/Makefile.am (dist_m4data_DATA): Add silent.m4. + * tests/dollarvar.test: Remove tests for `--silent-rules', use + `AM_SILENT_RULES'. + * tests/flavor.test: Remove test for `--silent-rules'. + * tests/silent.test: Use `AM_SILENT_RULES' instead of + `AUTOMAKE_OPTIONS = silent-rules'; use `--enable-silent-rules'. + * tests/silent2.test: Likewise. + * tests/silent3.test: Likewise. + * tests/silent4.test: Likewise. + * tests/silent5.test: Likewise. + * tests/silent6.test: Likewise. Test `AM_SILENT_RULES' as well + as `AM_INIT_AUTOMAKE([silent-rules])' instead of + `--silent-rules'. + * tests/silent7.test: Use `AM_SILENT_RULES' instead of + `AUTOMAKE_OPTIONS = silent-rules'; ensure the latter is rejected. + Test combinations of --enable-silent-rules and + --disable-silent-rules with `make V=0' and `make V=1'. + Suggestion for configure-time switch by Bob Friesenhahn. + + manual: Add note about parallelism and tests ordering. + * doc/automake.texi (Simple Tests using parallel-tests): + Dependencies between test logs work for tests with known + extensions only. Hint that tests should be prepared to be run + in parallel. + + Fix maintainer-check failure. + * tests/suffix13.test: Use Exit not exit. + +2009-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + parallel-tests: more testsuite exposure. + * tests/parallel-tests.test: Also test overriding TEST_LOGS and + TESTS. + + parallel-tests: let VERBOSE=yes output appear before summary. + * lib/am/check.am ($(TEST_SUITE_LOG)): In `VERBOSE=yes' mode, + output contents of `$(TEST_SUITE_LOG)' before, rather than after + the test suite summary. This ensures that the email address + appears near the end of the output; also, the log file already + starts with a result summary anyway. + + parallel-tests: `clean recheck' should not rerun all tests. + * lib/am/check.am (recheck, recheck-html): Do not rerun all + tests if `$(TEST_SUITE_LOG)' does not exist. + * tests/parallel-tests2.test: Adjust recheck test. + * tests/parallel-tests9.test: Adjust recheck-html test. + * NEWS: Update. + Suggestion by Akim Demaille. + +2009-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Eric Blake <ebb9@byu.net> + + parallel-tests: Fix driver for nonempty executable extension. + * automake.in (handle_tests): New substitution `%am__EXEEXT%', + defined as 'FALSE' for non-generic rules, or if no programs are + built at all. Otherwise, define it as configure conditional. + * lib/am/check2.am [%am__EXEEXT%] (%EXT%$(EXEEXT).log): New + conditional generic rule. + * m4/init.m4: Hook an m4_provide of `_AM_COMPILER_EXEEXT' onto + Autoconf's `_AC_COMPILER_EXEEXT' macro. + (AM_INIT_AUTOMAKE): If `_AM_COMPILER_EXEEXT' has been provided + at `AC_CONFIG_COMMANDS_PRE' time, then introduce a conditional + `am__EXEEXT', defined to true iff `$EXEEXT' is nonempty. + * tests/check5.test: Only match `_EXEEXT_[1-9]' here, to avoid + false positives stemming from `@am__EXEEXT_TRUE@'. + * NEWS: Update. + +2009-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix a couple of $(EXEEXT)-related testsuite failure. + * tests/check8.test: Allow executable extensions in test suite + output. + * tests/check9.test: Add `$(EXEEXT)' manually to @substituted@ + XFAIL_TESTS entries. + + * NEWS: Update for last patch. + +2009-04-07 Florian Briegel <briegel@zone42.de> (tiny change) + Stepan Kasal <skasal@redhat.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix renamed objects with subdir-objects and other languages. + * automake.in: Fixed bug when building with renamed objects + and foreign languages. + * tests/suffix13.test: New test. + * tests/Makefile.am: Adjust. + * THANKS: Update. + Reports by Florian Briegel and Stepan Kasal. + +2009-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Do not remove texinfo outputs upon mostlyclean. + * lib/am/texinfos.am: New substitutions %MOSTLYCLEAN%, + %MAINTCLEAN%. + (clean-aminfo): New target, remove %TEXICLEAN% if nonemtpy, + declare phony. Hook this target to ... + (clean-am): ... this and ... + (?CYGNUS?clean-info): ... this. + (maintainer-clean-aminfo): Remove %MAINTCLEAN% if nonempty, + for later. + (mostlyclean-aminfo): Remove %MOSTLYCLEAN%. + * automake.in (handle_texinfo_helper): Return three arrays + $MOSTLYCLEAN, $TEXICLEAN, $MAINTCLEAN, instead of one array. + Only put LaTeX helper files in $MOSTLYCLEAN, the rest in + $TEXICLEAN for now. + (handle_texinfo): Accept these, chop off extra newline, and + substitute them in `texinfos.am'. + * NEWS: Update. + * tests/txinfo33.test: New test. + * tests/Makefile.am: Update. + Report by Bruno Haible. + +2009-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + testsuite: unset TESTS, TEST_LOGS, to avoid interference. + * tests/defs.in: Unset TESTS, TEST_LOGS. + + testsuite: generate $(parallel_tests) just when needed. + * tests/Makefile.am (check_SCRIPTS): No need to list + $(parallel_tests) here, they can be generated as needed during + the test run, following our recommendation in the manual. + + Remove superfluous line from recheck recheck-html. + * lib/am/check.am (recheck recheck-html): Remove superfluous + line, introduced bogusly in last commit. + +2009-04-06 Akim Demaille <akim@lrde.epita.fr> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + parallel-tests: redo check-html, recheck, recheck-html. + * lib/am/check.am (recheck, recheck-am): Remove. + (recheck-TESTS): Rename to ... + (recheck): ... this and rewrite, factored ... + (recheck-html): ... with this rule. Pass TEST_LOGS rather than + RECHECK_LOGS to `check' and `check-html', respectively, to avoid + running outdated tests. Invoking the public macros ensures + `check_SCRIPTS' etc. are created in time. Do not output errors + for tests that were not run yet. If the testsuite has not run + at all, run all tests. + (check-html): Run `check' target, not `check-TESTS', to ensure + `check_SCRIPTS' etc. are created in time. + (.PHONY, .MAKE, AM_RECURSIVE_TARGETS): Adjust contents. + * tests/parallel-tests2.test: Expose the check-html and + recheck-html issues. + * tests/parallel-tests9.test: Expose the recheck issues. + Bugs in previous version pointed out by Akim, who already had + them fixed in his original version. + +2009-04-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + parallel-tests: LOG_COMPILER for tests without known extension. + * automake.in (handle_tests): If we don't match a known + extension, define `LOG_COMPILER' as `$(LOG_COMPILE) + $(AM_LOG_FLAGS) $(LOG_FLAGS)' and use it as %COMPILE% in check2. + * doc/automake.texi (Simple Tests using parallel-tests): + Document it. In the examples, suggest using the AM_*LOG_FLAGS + flags in Makefile.am rather than the variables without `AM_' + prefix. + * lib/Automake/tests/Makefile.am (AM_PL_LOG_FLAGS): Renamed from + (PL_LOG_FLAGS): ... this variable, intended for the user. + * tests/parallel-tests7.test: Extend test. + * NEWS: Update. + Suggestion by Akim Demaille. + + More node renaming in the manual. + * doc/automake.texi (Top): Adjust menu to ... + (API Versioning): ... this node being renamed from ... + (API versioning): ... this, and ... + (Wildcards): ... this being renamed from ... + (wildcards): ... this. + Report by Karl Berry. + +2009-04-03 Andreas Schwab <schwab@linux-m68k.org> + + * tests/instdir-java.test: Don't require gcj. Skip if javac is + not available. + +2009-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix testsuite failures due to nonexistent `dirlist' entries. + * tests/defs.in: When parsing `$aclocaldir/dirlist', only add + existing directories D to aclocal `-I D' flags, as aclocal + errors on nonexisting directories. + Report and analysis by Andreas Schwab. + +2009-03-31 Akim Demaille <akim@lrde.epita.fr> + + Fix typo in manual. + * doc/automake.texi (Simple Tests using parallel-tests): Fix + typo. + +2009-03-31 Jim Meyering <meyering@redhat.com> + + Avoid test failure due to paranoid TAR_OPTIONS envvar setting. + * tests/txinfo18.test: Don't let a TAR_OPTIONS=--keep-old-files + environment variable setting cause test failure. Fixed in + texi2dvi 4.13. + + Use more common spelling in diagnostic: s/canonic/canonical/. + * automake.in (check_typos): s/canonic/canonical/. + +2009-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure.ac, NEWS: Bump version to 1.10c. + +2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure.ac, NEWS: Bump version to 1.10b. + * doc/automake.texi (Releases): Add statistics for 1.10b. + + * NEWS: Minor update. + + Reorganize nodes in the manual. + Avoid texinfo sectioning commands without nodes, by either + introducing new nodes along with menus, or using headings + commands. Adjust all references. + * doc/automake.texi: Throughout the manual, adjust references to + new or changed node names. Rename `non-configured' to + `unconfigured', capitalize headings and section names better. + (Top): List new menus and nodes introduced below. + (Length Limitations): Renamed from ... + (Length limitations): ... this. + (aclocal Options): Renamed from ... + (aclocal options): ... this. + (Macro Search Path): Renamed from ... + (Macro search path): ... this. Rename subsubsections to + subsubheadings. + (Public Macros, Obsolete Macros, Private Macros): Renamed from + (Public macros, Obsolete macros, Private macros): ... these. + (Conditional Subdirectories): Introduce sub menu and split ... + (SUBDIRS vs DIST_SUBDIRS, Subdirectories with AM_CONDITIONAL) + (Subdirectories with AC_SUBST, Unconfigured Subdirectories): + ... into these new nodes. Adjust subsection names to node + names. + (Conditional Sources): Rename subsubsections to subsubheadings. + (Conditional Programs): Likewise. + (Program Variables): Renamed from ... + (Program variables): ... this. + (Libtool Issues): Introduce sub menu and split into ... + (Required file ltmain.sh not found) + (Objects created both with libtool and without): ... these new + nodes. + (Other Objects, Built Sources): Renamed from ... + (Other objects, Built sources): ... these. + (Built Sources Example): Renamed from ... + (Built sources example): this. Rename unnumberedsubsecs to + subsubheadings. + (Man Pages): Renamed from ... + (Man pages): ... this. + (Install): Introduce sub menu and split into ... + (Basics of Installation, The Two Parts of Install) + (Extending Installation, Staged Installs) + (Install Rules for the User): ... these new nodes. + (Dist): Introduce sub menu and split into ... + (Basics of Distribution, Fine-grained Distribution Control) + (The dist Hook, Checking the Distribution) + (The Types of Distributions): ... these new nodes. + (Tests): Introduce sub menu and split into ... + (Simple Tests, Simple Tests using parallel-tests, DejaGnu Tests) + (Install Tests): ... these new nodes. + (Conditionals): Move the portability paragraph up, introduce sub + menu and split into ... + (Usage of Conditionals, Limits of Conditionals): ... these new + nodes. Link to several sections throughout the manual that deal + with specific usage of conditionals. + (CVS): Rename subsections to subheadings. + (maintainer-mode): Likewise. + (Limitations on File Names): Renamed from ... + (limitations on file names): ... this. + (Flag Variables Ordering): Rename subsections to subheadings. + (Renamed Objects): Renamed from ... + (Renamed objects): ... this. + (Dependency Tracking Evolution): Introduce sub menu and split + into ... + (First Take on Dependencies, Dependencies As Side Effects) + (Dependencies for the User, Techniques for Dependencies) + (Recommendations for Tool Writers) + (Future Directions for Dependencies): ... these new nodes. + Report by Karl Berry. + +2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Update AM_RECURSIVE_TARGETS for parallel-tests. + * lib/am/check.am [PARALLEL_TESTS] (AM_RECURSIVE_TARGETS): + Add check, recheck, check-html, recheck-html. + +2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Akim Demaille <akim@lrde.epita.fr> + + parallel-tests: New target recheck-html. + * lib/am/check.am [PARALLEL_TESTS] (recheck-html): New phony, + recursive target. Factor common implementation with + `check-html'. + * doc/automake.texi (Tests): Document recheck-html. + * tests/parallel-tests2.test: Test it. + +2009-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Akim Demaille <akim@lrde.epita.fr> + + parallel-tests: redo lazy checking: recheck and RECHECK_LOGS. + Replace the LAZY_TEST_SUITE API with a simpler yet more powerful + one: RECHECK_LOGS specifies those tests which are to be removed + in any case before testing. Provide a `recheck' convenience + target to set RECHECK_LOGS to all failed and unexpectedly passed + tests. Document several ways to limit the set of tests run. + * lib/am/check.am [PARALLEL_TESTS] (RECHECK_LOGS): New variable, + default to $(TESTS_LOGS). + (check-TESTS): Remove $(RECHECK_LOGS) not $(TEST_LOGS). Drop use + of LAZY_TEST_SUITE. + ($(TEST_SUITE_LOG)): Do not output note about lazy rerun, as + LAZY_TEST_SUITE is gone. + (recheck): New target. + (recheck-am, recheck-TESTS): New internal targets. + * doc/automake.texi (Tests): Update @vindex for TESTS and + TEST_LOGS. Replace description of LAZY_TEST_SUITE with a list + of ways the set of tests to be run can be modified. Document + RECHECK_LOGS and the recheck target. + * tests/defs.in: Unset RECHECK_LOGS not LAZY_TEST_SUITE. + * tests/parallel-tests.test: Adjust, replacing LAZY_TEST_SUITE + with corresponding RECHECK_LOGS settings. + * tests/parallel-tests9.test: New tests. + * tests/Makefile.am: Update. + Suggestion and different implementation by Akim Demaille. + + parallel-tests: do not mark check-TESTS as `.MAKE'. + * lib/am/check.am [PARALLEL_TESTS] (.MAKE): Remove check-TESTS. + This rule removes files, which should not be executed with BSD + `make -n'. + + parallel-tests: warn about $(srcdir), $(top_srcdir) in TESTS. + * automake.in (handle_tests): Warn about portability issue + concerning generated TESTS files listed with a `$(srcdir)/' + or `$(top_srcdir)/' prefix. + * doc/automake.texi (TESTS): Document this issue. Mention that + the parallel-tests driver is still experimental. + * tests/parallel-tests8.test: New test. + * tests/Makefile.am: Update. + + check-html: Always create HTML output, note conversion failure. + * lib/am/check.am (check-html): Create `$(TEST_SUITE_HTML)' in + any case. Exit unsuccessfully if HTML creation failed. + * tests/parallel-tests2.test: Amend test to expose this. + +2009-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + parallel-tests: per-extension test driver: <EXT>_LOG_COMPILER. + For test files with extension <ext>, introduce the internal + variable <EXT>_LOG_COMPILE, which expands to + $(<EXT>_LOG_COMPILER) $(AM_<EXT>_LOG_FLAGS) $(<EXT>_LOG_FLAGS). + Turn also the lib/Automake/tests testsuite over to the new + test driver. + * doc/automake.texi (Tests): Document `EXT_LOG_COMPILER' and + `EXT_LOG_FLAGS'. + * lib/am/check2.am: Insert `%COMPILE%' right before test. + * automake.in (handle_tests): Substitute `COMPILE' for check2, + empty for tests without extension, and `$(ext_LOG_COMPILE)' for + extension `ext'. In the latter case, define it from the public + components. + * configure.ac (AM_INIT_AUTOMAKE): Use `parallel-test' globally. + * tests/Makefile.am (AUTOMAKE_OPTIONS): Remove, not needed here + any more. + * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Split ... + (PL_LOG_COMPILER, PL_LOG_FLAGS): ... into these new variables. + (TESTS_EXTENSIONS): New variable, initialize to `.pl'. + * tests/parallel-tests7.test: New test. + * tests/Makefile.am: Update. + Suggestion by Akim Demaille. + +2009-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + parallel-tests: also record logs of SKIPped tests. + * lib/am/check.am [PARALLEL_TESTS] ($(TEST_SUITE_LOG)): Record + SKIPs as well. + Suggested by Jim Meyering. + + Minor optimization in parallel-tests text box creation. + * lib/am/check.am [PARALLEL-TESTS] (am__text_box): Use only one + awk invocation, rather than several tools, to create a text box. + Suggestion from Akim Demaille. + +2009-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Rewrite maintainer-check in separate tests, parallelizable. + * Makefile.am (sc_diff_automake_in_automake, sc_perl_syntax) + (sc_no_brace_variable_expansions, sc_rm_minus_f) + (sc_no_for_variable_in_macro, sc_mkinstalldirs) + (sc_pre_normal_post_install_uninstall, sc_perl_no_undef) + (sc_perl_no_split_regex_space, sc_cd_in_backquotes) + (sc_cd_relative_dir, sc_perl_at_uscore_in_scalar_context) + (sc_perl_local_no_parens, sc_perl_local) + (sc_AMDEP_TRUE_in_automake_in, sc_tests_make_without_am_makeflags) + (sc_tests_plain_make, sc_tests_plain_autoconf) + (sc_tests_plain_autoupdate, sc_tests_plain_automake) + (sc_tests_here_document_format, sc_tests_Exit_not_exit) + (sc_tests_automake_fails, sc_tests_plain_aclocal) + (sc_tests_plain_perl, sc_tests_required_after_defs) + (sc_tests_overriding_macros_on_cmdline, sc_tests_plain_sleep) + (sc_tests_plain_egrep_fgrep, sc_mkdir_p, sc_perl_at_substs) + (sc_unquoted_DESTDIR, sc_tabs_in_texi, sc_at_in_texi): New rules, + all phony, all listed in ... + (syntax_check_rules): ... this new variable and split out from ... + (maintainer-check): ... this rule. Depend on $(syntax_check_rules). + + * Makefile.am (maintainer-check): Do not complain if DESTDIR is + passed as argument to `make'. + + * doc/automake.texi (Cross-Compilation): Fix underfull hbox. + + Sync auxiliary files from upstream. + * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub, + lib/texinfo.tex: Sync from upstream. + +2009-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + manual: minor cleanups. + * doc/automake.texi (Yacc and Lex): Adjust spacing in example. + (Mixing Fortran 77 With C and C++): Drop unneeded @page breaks. + + Sane (un)install for empty directory variables. + This patch fixes all install and uninstall rules to behave + sanely when $(wheredir) is the empty string, but $(where_HOW) is + nonempty, for all kinds of values of `where' and `HOW'. + * lib/am/data.am (install-%DIR%%PRIMARY%, uninstall-%DIR%%PRIMARY%): + Do not touch the install tree if the corresponding directory variable + $(%NDIR%dir) is empty. + * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): Likewise. + * lib/am/libs.am (install-%DIR%LIBRARIES, uninstall-%DIR%LIBRARIES): + Likewise. + * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Likewise. + * lib/am/ltlib.am (install-%DIR%LTLIBRARIES, uninstall-%DIR%LTLIBRARIES): + Likewise. + * lib/am/mans.am (install-man%SECTION%, uninstall-man%SECTION%): + Likewise. + * lib/am/progs.am (install-%DIR%PROGRAMS, uninstall-%DIR%PROGRAMS): + Likewise. + * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON): + Likewise. + * lib/am/scripts.am (install-%DIR%SCRIPTS, uninstall-%DIR%SCRIPTS): + Likewise. + * lib/am/texinfos.am (install-dvi-am, install-html-am, install-pdf-am) + (install-ps-am, uninstall-dvi-am, uninstall-html-am, uninstall-pdf-am) + (uninstall-ps-am): Likewise. + * tests/instdir2.test, tests/instdir-java.test, + tests/instdir-lisp.test, tests/instdir-ltlib.test, + tests/instdir-prog.test, tests/instdir-python.test, + tests/instdir-texi.test: New tests. + * tests/Makefile.am: Update. + * NEWS: Update. + Suggestion by Akim Demaille. + + Ensure that empty directory variables work with empty content variables. + This test ensures that, if both $(wheredir) and $(where_HOW) are + the empty string, then the `install' and `uninstall' rules behave + sanely, for several directory variables `wheredir' and several + primaries `HOW'. + * tests/instdir.test: New test. + * tests/Makefile.am: Update. + +2009-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Use --tag=FC with libtool also for .f90 files. + * automake.in: Set 'libtool_tag' for language `fc'. + * tests/fort5.test: Grep for the tag. + * THANKS: Update. + Report by John R. Cary. + +2009-03-22 Peter Breitenlohner <peb@mppmu.mpg.de> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + For PR automake/533: + DISTFILES containing a directory and files in that directory. + When the source tree contains non-writable files or directories + (as happens during distcheck), and directories or entries + thereof are listed multiple times in variables to be + distributed, then the corresponding directories below $(distdir) + need to be made writable recursively. Since file modes should + not change, they need to be copied recursively using `cp -f'. + * lib/am/distdir.am: Handle this situation. + * tests/distdir.test: Extend test to those cases. + * NEWS: Update. + Report by Peter Breitenlohner. + +2009-03-22 Jim Meyering <meyering@redhat.com> + + Fix a documentation typo. + * doc/automake.texi (Headers): Clarify the note telling when it's + better not to use noinst_HEADERS. + +2009-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Define AM_RECURSIVE_TARGETS, for gnulib's GNUmakefile. + This new macro lists all public targets which invoke `make' + recursively, or depend on targets which do so. It allows to + prevent parallelism selectively, when multiple targets are + passed on the `make' command line. + * lib/am/distdir.am [%?SUBDIRS%] (AM_RECURSIVE_TARGETS): New + macro. + * lib/am/subdirs.am (AM_RECURSIVE_TARGETS): Likewise. + * lib/am/tags.am [%?SUBDIRS%] (AM_RECURSIVE_TARGETS): + Likewise. + +2009-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix LAZY_TEST_SUITE handling and $(TEST_SUITE_LOG) recreation. + * lib/am/check.am (check-TESTS): Expand `$(TEST_LOGS)' only once + in the rule command, for systems with low command line limits. + Remove $(TEST_SUITE_LOG) even in LAZY_TEST_SUITE mode. + ($(TEST_SUITE_LOG)): Always recreate $(TEST_SUITE_LOG). Mention + lazy mode in the summary output. + * tests/parallel-tests.test: Test LAZY_TEST_SUITE semantics. + +2009-03-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix parallel-tests with empty $(TESTS) for BSD make. + * lib/am/check.am [PARALLEL_TESTS] ($(TEST_SUITE_LOG)): Ignore + empty line stemming from empty $(TEST_LOGS), to avoid counting + zero tests as one. + (check-TESTS): If `$(TESTS)' is empty, override TEST_LOGS to be + empty, rather than `.log', for BSD make. + * tests/parallel-tests6.test: New test. + * tests/Makefile.am: Update. + + Mark check-html and check-TESTS as recursive for BSD make. + * lib/am/check.am [PARALLEL_TESTS] (.MAKE): Add check-TESTS + and check-html prerequisites. + + Match XFAIL_TESTS correctly with Solaris make. + * lib/am/check.am [PARALLEL_TESTS]: VPATH rewriting may have + changed test names, so srcdir needs to be taken into account + explicitly when checking against the list of tests expected + to fail. Fixes spurious FAILures from XFAIL_TESTS. + + Use append mode to capture parallel test output. + * tests/lisp8.test: Use append mode for output from `make -j', + to avoid dropped lines. + * tests/parallel-tests3.test: Likewise. + + parallel-tests: Fix summary output. + * lib/am/check.am (am__text_box): Fix unportable sed script, + replacing `\n' in the right hand side of an `s' command with + a literal newline. Kudos to Bruno Haible for the newline idea. + * tests/parallel-tests.test: Update test to expose this. + +2009-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Overhaul of tests/README. + * tests/README: General overhaul. Mention parallel test suite + execution, the test-suite.log file; document `Exit' vs. `exit', + `defs' vs. `defs-p', the naming of `parallel-tests' tests. + * README: Simplify, point to tests/README. + + Documentation for the parallel-tests driver. + * doc/automake.texi (Tests, Options): Document the `parallel-tests' + option, including new features of the test driver. + * NEWS: Update. + + New tests for `parallel-tests'. + * tests/parallel-tests.test: New file, to expose a bunch of + features of `parallel-tests': VERBOSE, clean, TEST_SUITE_LOG, + test dependencies, DISABLE_HARD_ERRORS. + * tests/parallel-tests2.test: New file, test check-html. + * tests/parallel-tests3.test: New file, test concurrency. + * tests/parallel-tests4.test: New file, test suffix rules. + * tests/parallel-tests5.test: New file, demonstrate compile/test + concurrency. + * tests/defs.in: Add a `required' check for rst2html. + * tests/Makefile.am: Update. + + parallel-tests: Ensure backward-compatible semantics. + For each test in Automake's test suite that uses TESTS, generate + an identical one that uses the `parallel-tests' option, for + coverage of backward-compatible functionality. + * tests/gen-parallel-tests: New file, generates distributed + Makefile.am snippet tests/parallel-tests.am to list all tests + that use the TESTS interface but not yet the `parallel-tests' + option, with names mangled to use suffix `-p.test', in ... + (parallel_tests): ... this new make macro. + * tests/Makefile.am ($(srcdir)/parallel-tests.am) + ($(parallel_tests), defs-p): New rules. + (TESTS): Add check11.test and $(parallel_tests). + (check_SCRIPTS): Add defs-p, $(parallel_tests). + (check-clean-local): Remove `defs-p'. + (EXTRA_DIST): Distribute gen-parallel-tests. + (MAINTAINERCLEANFILES): New variable, remove $(parallel_tests). + * bootstrap: Generate parallel-tests.am. + * tests/check8.test: Check for circular dependencies in rules. + * tests/check11.test: New test, check that SKIPs are not counted + as passed tests. + * tests/defs.in: Unset DISABLE_HARD_ERRORS, LAZY_TEST_SUITE, + VERBOSE, so the tests are not influenced by the way our test + suite is invoked. + +2009-03-08 Akim Demaille <akim@lrde.epita.fr> + Jim Meyering <jim@meyering.net> + Benoit Sigoure <tsuna@lrde.epita.fr> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Parallel test execution: new option `parallel-tests'. + * automake.in (handle_tests): Set new conditional PARALLEL_TESTS + when reading check.am. Handle option `parallel-tests' and all + its new semantics. Define macros TEST_SUFFIXES, TEST_SUITE_LOG, + TEST_SUITE_HTML, TEST_LOGS, TEST_LOGS_TMP, suffix rules if + applicable, and per-target rules for other tests. Add all log + files to %clean_files at the `MOSTLY_CLEAN' level. + * lib/Automake/Options.pm (_process_option_list): Accept + `parallel-tests'. + * lib/am/check.am [!PARALLEL_TESTS] (check-TESTS): Move existing + testsuite driver under this new conditional. + [PARALLEL_TESTS] + (am__rst_title, am__rst_section, am__text_box am__sh_e_setup) + (am__check_pre, am__check_post): New internal macros. + ($(TEST_SUITE_LOG), check-TESTS, .log.html, check-html): New + rules. + * lib/am/check2.am: New file. + * lib/am/Makefile.am (dist_am_DATA): Add check2.am. + * tests/Makefile.am (AUTOMAKE_OPTIONS): Use `parallel-tests'. + (clean-local): Renamed from distclean-local. + * tests/defs.in: Drop VERBOSE handling, not needed here any more. + +2009-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Rename `silent' mode to `silent-rules' mode. + * automake.in (define_verbose_var, verbose_flag) + (define_verbose_tagvar, handle_options, handle_languages) + (handle_configure, parse_arguments): Rename the `silent' option + to `silent-rules', so it coincides with the `--silent-rules' + command line option; adjust all code and comments. + * lib/Automake/Options.pm (_process_option_list): Likewise. + * doc/automake.texi (Invoking Automake, Libtool Flags, Options): + Likewise. + * NEWS: Adjust. + * tests/dollarvar.test, tests/silent.test, tests/silent2.test, + tests/silent3.test, tests/silent4.test, tests/silent5.test, + tests/silent6.test, tests/silent7.test: Likewise. + Suggestion by Jan Engelhardt. + +2009-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + `silent' mode unconditionally overrides portability-recursive. + * automake.in (parse_arguments): Don't handle a global `silent' + option here; instead, ... + (handle_options): ... handle the "normal" `silent' option here. + Override `portability-recursive' here, at the last point we deal + with options, instead ... + * lib/Automake/Options.pm (_process_option_list): ... of here. + * tests/silent6.test: Replace unportable make snippet, remove + FIXME note, add more test cases of options passed in the various + locations. + + Drop extra line from compile rules when `silent' is not used. + * lib/am/depend2.am [!%FASTDEP%]: Only use the `%VERBOSE% + @AM_BACKSLASH@' extra line if ?VERBOSE?. + Report by Ralf Corsepius. + +2009-03-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Keep `--silent-rules' across triggered automake reruns. + * automake.in (usage): Reformat to be a bit clearer. + (handle_configure): Remove substitutions %STRICTNESS% and + %USE-DEPS% in favor of a new substitution %AUTOMAKE-OPTIONS% + that carries over all needed flags. + * lib/am/configure.am (%MAKEFILE-IN%): Adjust rule. + * tests/flavor.test: New test, to ensure --$flavor (gnu, + gnits, foreign, cygnus), --ignore-deps, and --silent-rules are + preserved across automake reruns. + * tests/Makefile.am: Update. + +2009-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Provide variables for silencing of user rules. + * automake.in (handle_languages): Always define `AM_V_GEN' and + `AM_V_at'. + * doc/automake.texi (Options): Document these flags. + * tests/silent7.test: New test. + * tests/Makefile.am: Update. + + Redo variable naming for `silent' machinery. + The public variables are named `AM_V_' plus the compiler + short-hand now, e.g.: AM_V_CC, AM_V_CXXLD, AM_V_GEN. The + dispatch variables are internal details and begin with + `am__v_'. + * automake.in (verbose_var): Update comment. + (verbose_private_var): New function. Order functions so that + ones not needed outside this section are listed first. + (verbose_dispatch): Remove, no need to factor this. + (define_verbose_var, define_verbose_libtool): Use + verbose_private_var. + (define_verbose_tagvar): Likewise; and simplify. + Report by Jan Engelhardt. + + Let -Wportability turn on/off the portability-recursive channel. + * lib/Automake/ChannelDefs.pm (switch_warning): switch + `portability-recursive' channel as well if changing the + `portability' channel. + * tests/dollarvar2.test: New test. + * tests/Makefile.am: Update. + +2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + New automake command line option `--silent-rules'. + * automake.in (parse_arguments): Accept `--silent-rules; let it + override command line warning settings. + (usage): Document it. + * doc/automake.texi (Invoking Automake): Document it. + * NEWS: Update. + * tests/dollarvar.test: Also test `--silent-rules'. + * tests/pr300-ltlib.test: Use `$MAKE V=1' to enable verbose + output, which is matched later in the test. + * tests/silent6.test: New test. + * tests/Makefile.am: Update. + + Documentation and tests for the `silent' option. + * NEWS: Update. + * doc/automake.texi (Invoking Automake): `silent' turns off some + portability warnings. + (Libtool Flags): `silent' silences libtool. + (Options): Document the `silent' flag. + * tests/dollarvar.test, tests/silent.test, tests/silent2.test, + tests/silent3.test, tests/silent4.test, tests/silent5.test: New + tests. + * tests/Makefile.am: Update. + * Makefile.am (maintainer-check): Ignore `DESTDIR' and `V' when + checking for make variables that should not be overridden from + the command line. + +2009-03-07 Jan Engelhardt <jengelh@medozas.de> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Implement `silent' build rules. + * automake.in (ccer): New field in the language structure. + Initialize it for all registered languages. + (verbose_var, verbose_flag, verbose_dispatch) + (silent_flag, define_verbose_var, define_verbose_tagvar) + (define_verbose_libtool): New functions. + (handle_languages, handle_programs, handle_libraries) + (handle_ltlibraries, handle_configure) + (define_compiler_variable, define_linker_variable) + (define_per_target_linker_variable): Use them where appropriate + to define variables to implement the silent output machinery. + * lib/Automake/Options.pm (_process_option_list): Accept + `silent', turning off `portability-recursive'. + * lib/am/depend2.am: Add %VERBOSE% and %SILENT% prefixes where + appropriate. + * lib/am/lex.am: Likewise. + * lib/am/library.am: Likewise. + * lib/am/ltlibrary.am: Likewise. + * lib/am/program.am: Likewise. + * lib/am/yacc.am: Likewise. + * m4/init.m4 (AM_INIT_AUTOMAKE): Substitute, but do not define, + AM_BACKSLASH. + * tests/defs.in: Unset `V', to avoid influencing inner tests. + +2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + New channel `portability-recursive'. + Add new channel for portability warnings about recursive make + variable expansions `$(var1$(var2))'. Enable it alongside + `-Wportability'. + * lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Register + channel `portability-recursive'. + * lib/Automake/Variable.pm (_VARIABLE_CHARACTERS) + (_VARIABLE_RECURSIVE_PATTERN): New variables. + (check_variable_expansions): Diagnose recursive variable + expansions through the new channel. + +2009-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * NEWS: Update. + +2009-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Ignore warnings from autom4te about Libtool macros. + * tests/ltinstloc.test: When testing for presence of warnings, + filter out any that are not interesting for this test, e.g., + warnings about installed files or about bogusly named cache + variables in libtool.m4, emitted by recent Autoconf when older + Libtool is used. + +2009-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Relax depcomp test for MSVC to not require minuso. + * m4/depend.m4 (_AM_DEPENDENCIES): When checking the msvisualcpp + and msvcmsys depmodes, do not require `-c -o' to work just yet. + It is not needed by the depcomp script for these depmodes, and + works around the ordering issue between the tests. + Report by Peter Rosin. + +2009-03-09 Peter Rosin <peda@lysator.liu.se> + + * tests/compile2.test: Fix typo. + +2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Improve NetBSD 'make -n' output for many standard targets. + * automake.in (handle_tags): Let .MAKE depend on + `tags-recursive' and `ctags-recursive' if appropriate. + (handle_all): Likewise for `all'. + (do_check_merge_target): Likewise for `check-am' and `check'. + * lib/am/ansi2knr.am (.MAKE): Depend on %ANSI2KNR-DIR%/ansi2knr. + * lib/am/install.am [%?maybe_BUILT_SOURCES%] (.MAKE): Depend on + `install'. + * tests/maken3.test, tests/maken4.test: New tests. + * tests/Makefile.am: Update. + + Improve `make -n dist' and `make -n distcheck' for GNU make. + Ensure that `make -n dist' and `make -n distcheck' do not change + files, due to GNU make executing rules containing `$(MAKE)'. + * lib/am/distdir.am (distdir): Separate the creation of + `$(distdir)/$$subdir' for `$(DIST_SUBDIRS)' and the recursion + into the `$(DIST_SUBDIRS)' in two separate rule commands. + (distcheck): Exit recursive rule early when run with `make -n', + as detected by a witness file. + * tests/maken.test, tests/maken2.test: New tests. + * tests/Makefile.am: Update. + * NEWS: Update. + +2009-03-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Solaris make testsuite fixes. + * tests/check10.test: When a rule fails, Solaris make will + output the complete command that failed; in this case the test + suite driver. Adjust the test to not bogusly match lines from + the driver, rather than its output. + * tests/distcleancheck.test: Avoid triggering VPATH rewriting, + not desirable in this test. + * tests/specflg10.test: Use BUILT_SOURCES to specify an + intermediate target, so Solaris make knows what to do. + + testsuite: SKIP compile tests if configure found no compiler. + * tests/depend6.test: configure will exit 77 if AC_PROG_CC found + no working compiler. Allow the test to be SKIPped in that case. + * tests/postproc.test: Likewise. + * tests/pr243.test: Likewise. + * tests/pr266.test: Likewise. + + Fix maintainer-check fallout. + * tests/compile2.test: Use `Exit', not `exit'. + +2009-03-07 Peter Breitenlohner <peb@mppmu.mpg.de> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Extract correct man section from files in man_MANS. + * lib/am/mans.am: Extract correct man section in the presence of + multiple dots in the file base name and/or directory components. + * tests/man5.test: New test case. + * tests/Makefile.am: Update. + +2009-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi (maintainer-mode): Fix logic in + AM_MAINTAINER_MODE description. + * THANKS: Update. + Report by Daniel Kahn Gillmor. + +2009-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/gnupload: Change conffile name to `.gnuploadrc'. + +2009-03-04 William Pursell <bill.pursell@gmail.com> + + Replace bare `automake' with `@command{automake}' or `Automake'. + * doc/automake.texi: Avoid bare `automake' in the manual, + replacing occurrences with `@command{automake}' when the command + is meant, and `Automake' when speaking about the software + package in general. + +2009-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/depcomp: Various portability and quoting nits. + + reformat gnupload script. + * lib/gnupload: Reformat and reindent. + + gnupload touchups. + * lib/gnupload (conffile): New variable. Use throughout. + (dry_run): Use `false' and `:' values. Show, don't execute, + gpg signing commands upon --dry-run. + (usage): Typo and formatting fixes. Mention that commands are + applied in order. + (argument loop): Factorize a bit, fix quoting. + (dprint, mkdirective, mksymlink, upload): Formatting and + portability fixes. + +2009-03-04 Sergey Poznyakoff <gray@gnu.org> + + Various gnupload improvements. + Add support for uploading to download.gnu.org.ua. + Add support for a .gnupload configuration file. + Support creating and removing symlinks. + Allow for several operations in a single invocation. + Add debugging features. + * lib/gnupload: New options --delete, --symlink, --rmsymlink, + --symlink-regex, --dry-run; support `--' to separate options and + commands from files. New target download.gnu.org.ua. Expand + `.gnupload' file contents before command line arguments. + (usage): Expand. + (dprint, mkdirective, mksymlink, upload): New functions. + * THANKS: Update. + +2009-03-03 Peter Rosin <peda@lysator.liu.se> + + Add depmode=msvcmsys for Microsoft Visual C++ on MSYS. + * lib/depcomp [msvisualcpp]: Fork fewer processes. Filter out + libtool in the preprocessor invocation (as is done in + depmode=cpp). Silence compiler stderr. + [msvcmsys]: New depmode as a derivative of depmode=msvisualcpp. + msvcmsys transforms any backslashes into forward slashes to + make the grep in depend.m4 match, instead of the "cygpath -u" + that is used in msvisualcpp. + +2009-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Peter Rosin <peda@lysator.liu.se> + + Fix w32 path handling in the `compile' script. + * lib/compile: Handle colons and backslashes in win32 paths. + * tests/compile2.test: New test. + * tests/Makefile.am: Update. + Report and initial patch by Peter Rosin. + +2009-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix `use constant' usage for MSYS Perl 5.6.0. + * automake.in (QUEUE_MESSAGE, QUEUE_CONF_FILE, QUEUE_LOCATION) + (QUEUE_STRING): Define using one `use constant' each; as perl + 5.6.0 (on MSYS) does not understand `use constant { ... }'. + * THANKS: Update. + Report by Peter Rosin. + +2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix recursive html and install-* doc rules for BSD make. + * automake.in (%required_targets): Add html-am, + install-html-am, install-dvi-am, install-pdf-am, install-ps-am, + install-info-am. + * tests/txinfo32.test: New test. + * tests/Makefile.am: Update. + + Fix comment typo. + * lib/am/distdir.am (distcheck): Fix typo in comment. + + Ignore generated files below doc/amhello for git. + * doc/amhello/.gitignore: New file. + +2009-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi (Program variables): Add cross reference to + `Flag Variables Ordering' node. + Report by Karl Berry. + +2009-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix mmodely.test to work on Solaris 10. + * tests/mmodely.test: Define yylex, to satisfy needed symbol in + libfl. Return from main instead of using exit, undeclared. + * THANKS: Update. + Report by Chris Hoogendyk. + +2009-01-30 Karl Berry <karl@freefriends.org> + + * lib/gnupload: Add download URL to --help output. + +2009-01-23 Eric Blake <ebb9@byu.net> + + Use no-arg macros via AC_REQUIRE for consistency. + * m4/init.m4 (AM_INIT_AUTOMAKE): Require, rather than directly + expand, AM_PROG_INSTALL_SH and AM_PROG_INSTALL_STRIP. + * configure: Regenerate. + +2009-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Bump copyright years. + * aclocal.in (write_aclocal, version): Bump copyright years. + * automake.in (gen_copyright, version): Likewise. + * doc/automake.texi: Likewise. + +2008-12-29 Chris Pickett <chris.pickett@mail.mcgill.ca> (tiny change) + + * doc/automake.texi (LIBOBJS): Clarify overriding of + `*_DEPENDENCIES'. + * THANKS: Update. + +2008-12-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Revamp semantics for `missing help2man' and manpage distribution. + Previously, `missing help2man' would create a missing man page + containing an error message, and exit 1. This does not play + well with `make': the next run will see this particular man page + as being up to date, and will only error out on the next + generated man page, if any; repeat until all pages are done. + This patch changes `missing' to exit successfully in this case, + but `make dist' will ensure that no such man pages are packaged. + * lib/missing: Exit successfully even if we create a replacement + page due to missing help2man. + * automake.in (make_paragraphs): Define %HAVE-MANS% to be true + if this makefile deals with man pages. + * lib/am/distdir.am (distdir): If %INSTALL-MAN% and %HAVE-MANS%, + check that no man page in $(MANS) contains the replacement text + from `missing'. + * tests/man4.test: New test. + * tests/Makefile.am: Update. + * NEWS: Reorder a bit, update. + * THANKS: Update. + Report by Werner Lemberg and Karl Berry. + + Do not use 'global' for makefile-wide settings. + * doc/automake.texi (Linking, Libtool Flags) + (Program and Library Variables, Flag Variables Ordering): + Reword instances of `global variables' that really mean + makefile-wide ones. + * THANKS: Update. + Report by Andreas Bergmeier. + + Fix config.status depfiles failure. + * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Commands are + again a single shell brace group, so they are correctly skipped + when dependencies are turned off. The failure is noisy with + ksh only. + * tests/depend6.test: New test. + * tests/Makefile.am: Adjust. + * THANKS: Update. + Report and different suggested patch by Markus Duft. + +2008-12-21 Zoltan Rado <z.rado@chello.hu> (tiny change) + + * doc/automake.texi (DESTDIR): Fix a couple of typos. + * THANKS: Update. + +2008-12-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix nonportable sed script in 'missing'. + * lib/missing: In sed script, do not use ';' after 't' commands. + +2008-12-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + PR automake/531: + * doc/automake.texi (amhello Explained) + (Mixing Fortran 77 With C and C++): Fix broken links to + Autoconf manual. + Report by Michael Ploujnikov. + +2008-12-07 Michael Ploujnikov <ploujj@gmail.com> (tiny change) + + * doc/automake.texi (Optional, Future of aclocal): Various + spelling and grammar fixes. + * THANKS: Update. + +2008-12-03 William Pursell <bill.pursell@gmail.com> + + Simple typographical and grammar errors in automake.texi. + * doc/automake.texi: Fix object/article consistency (eg "an + flag" becomes "a flag"), correct minor punctuation errors, etc. + + * doc/automake.texi (Auxiliary Programs, Python, Rebuilding): + Replace 'configure' with '@command{configure}' as appropriate. + +2008-11-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fixup release rules. + * Makefile.am (cvs-diff): Remove. + (git-dist): Do not use clcommit any more. Use new-style tag + name. Pass $(AM_MAKEFLAGS) to $(MAKE). + (git-diff): Adjust. + (git-release): Do not upload to sources.redhat.com. + +2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix portability issues in distcleancheck_listfiles doc example. + * doc/automake.texi (Dist): In the `distcleancheck_listfiles' + code example, add `.' path, for Solaris `find', also rewrite so + `{}' appears only once and as separate argument, for Posix. + * tests/distcleancheck.test: New test. + * tests/Makefile.am: Update. + * THANKS: Update. + Report by Jan Engelhardt and Andreas Schwab. + +2008-11-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Jim Meyering <jim@meyering.net> + + Cope with whitespace in $MISSING and $install_sh. + * configure.ac (am_AUTOHEADER): New substitution, save the value + of $AUTOHEADER before AM_INIT_AUTOMAKE may add $MISSING. + * tests/defs.in: Use am_AUTOHEADER. + * lib/am/install.am: Fix typo. + * m4/install-sh.m4 (AM_PROG_INSTALL_SH): Add suitable + single-quote quoting to install_sh, but only if needed. + * m4/missing.m4 (AM_MISSING_HAS_RUN): Add suitable double-quote + quoting to MISSING, but only if needed. + * m4/sanity.m4 (AM_SANITY_CHECK): Abort configure if `pwd` or + $srcdir contain shell meta-characters that cannot be handled; + space and tab are allowed in the former only. + * tests/sanity.test: New test. + * tests/Makefile.am: Adjust. + * NEWS: Update. + Reports by Jim Meyering and others. + +2008-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Let `missing' also work with versioned and prefixed programs. + * lib/missing: Ignore prefixes of `gnu-', `gnu', and `g' when + testing for known programs; also, ignore suffixes. + * tests/missing.test: Amend test. + * NEWS, THANKS: Update. + Report by Tim Rice. + +2008-11-23 William Pursell <bill.pursell@gmail.com> + + * doc/automake.texi (Macro search path, Extending aclocal) + (Local Macros, Serials, Public macros, Directories) + (Conditional Subdirectories, Nesting Packages) + (Building a program, Libtool Modules) + (Program and Library Variables, Default _SOURCES, LIBOBJS): + Correct verb/object tense agreement, swap some words, + and general trivial cleanup. + +2008-11-22 William Pursell <bill.pursell@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi (VPATH Builds, Nested Packages) + (Length limitations, Auxiliary Programs, Invoking Automake) + (Requirements, Optional): Fix typos and grammaros, correct URL + to 'config' source repository. Rewrite description of AC_SUBST. + (true): Cross-reference to `Default _SOURCES' node. + +2008-11-22 William Pursell <bill.pursell@gmail.com> + + * configure.ac: Quote APIVERSION. + +2008-11-22 Jim Meyering <meyering@redhat.com> + + * tests/xz.test: Fix typo introduced by Ralf in last patch. + + Add xz compression support. + * NEWS: Mention xz as well as lzma (xz will displace lzma). + * automake.in (handle_dist): Recognize dist-xz. + (make_paragraphs): Map XZ to dist-xz. + * doc/automake.texi (Dist): Add dist-xz. + (Options): Likewise. + * lib/Automake/Options.pm (_process_option_list): Accept + dist-xz. + * lib/am/distdir.am (dist-xz): New rule. + (dist dist-all): Add command to create an xz-compressed tarball. + (distcheck): Handle xz-compressed tarballs just like the others. + * tests/xz.test: New file, based on nogzip.test. + * tests/Makefile.am (TESTS): Add xz.test. + +2008-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + When installing COPYING, recommend adding the file to VCS. + * automake.in (require_file_internal): If installing `COPYING', + mention that we install the GPLv3 file and recommend adding the + file to version control. + * doc/automake.texi (Invoking Automake): Point to `Gnits' node + for `--add-missing'. + (Gnits): Clarify semantics: that for strictness gnu or higher, + INSTALL is installed, and that COPYING is installed as GPLv3 + if no COPYING file exists. + * tests/license2.test: New test. + * tests/Makefile.am: Update. + * NEWS, THANKS: Update. + Report by Brian Cameron. + +2008-11-20 William Pursell <bill.pursell@gmail.com> + + * doc/automake.texi (Timeline): Fix typos and grammaros. + +2008-11-12 Karl Berry <karl@freefriends.org> + + New gnupload option --delete to remove archive files. + * lib/gnupload: Accept --delete to remove files from + alpha.gnu.org or ftp.gnu.org. + +2008-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Testsuite fixes for ksh. + * tests/check10.test: Add ':' as last command in subshell, for + zero exit status of the subshell. + * tests/parallel-am.test: Do not let failing 'unset' of + nonexistent variable exit the test. + * tests/parallel-am2.test: Likewise. + * tests/parallel-am3.test: Likewise. + +2008-11-11 Charles Wilson <libtool@cwilson.fastmail.fm> (tiny change) + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Cleanup config.lt in case LT_OUTPUT is in use. + * lib/am/libtool.am [TOPDIR_P] (distclean-libtool): clean up + config.lt as well as libtool. + * tests/libtoo11.test: New test. + * tests/Makefile.am: Update. + * NEWS: Update. + +2008-11-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub, + lib/texinfo.tex: Sync from upstream. + +2008-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Update to GFDL 1.3. + * doc/fdl.texi: Update to GFDL 1.3. + * doc/automake.texi (GNU Free Documentation License): Adjust. + * NEWS: Update. + + * NEWS: Fix typos. + * automake.in: Fix typos in comments. Remove extraneous + whitespace. + +2008-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Cope with absent Perl modules threads and Thread::Queue. + * automake.in: Instead of `use threads', use `require threads; + import threads' inside a BEGIN section. Likewise for + Thread::Queue. + * lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Likewise. + * lib/Automake/tests/Condition-t.pl: Likewise. + * lib/Automake/tests/DisjConditions-t.pl: Likewise. + * configure.ac: Likewise, use `require' and `import'. + Report by Eric Blake, fix suggested by Ben Pfaff. + +2008-11-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Multiple 'make uninstall' should not fail even for TEXINFOS. + * lib/am/texinfos.am (uninstall-info-am): Do not fail due to + install-info if the installed file does not exist (any more). + * tests/txinfo26.test: Issue multiple `make uninstall'. + * tests/instmany-mans.test: Likewise. + * tests/instmany-python.test: Likewise. + * tests/instmany.test: Likewise. + * tests/txinfo26.test: Likewise. + * NEWS: Update. + +2008-11-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + New public macro AM_SUBST_NOTMAKE. + * m4/substnot.m4 (AM_SUBST_NOTMAKE): New public macro; invoke + _AM_SUBST_NOTMAKE with arguments. + * doc/automake.texi (Optional): Document it. + * NEWS: Update. + * tests/subst4.test: New test. + * tests/Makefile.am: Update. + Suggestion by Bruno Haible. + + Fix regression introduced by AM_DEFAULT_SOURCE_EXT. + * automake.in (handle_source_transform): Use the right variable + when determining whether to apply the old rule for the libtool + library default source name. + Testsuite failure exposed by Bob Proulx' build daemon. + +2008-11-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + New maintainer target release-stats. + * Makefile.am (release-stats): New target, to help computing the + entries in the statistics table in automake.texi. + * doc/automake.texi (Releases): Reformat a bit. Add number of + generated files. Add entry for 1.10.1. + + Choose default source extension: AM_DEFAULT_SOURCE_EXT. + * automake.in (handle_source_transform): Accept unconditional + literal extension in AM_DEFAULT_SOURCE_EXT as override for the + default source extension `.c'. If set, ignore the old default + source rule for libtool libraries. + * doc/automake.texi (Default _SOURCES): Document this. + * NEWS: Update. + * tests/specflg10.test: New test. + * tests/Makefile.am: Update. + Suggestion by Akim Demaille. + + Fix maintainer-check failure. + * tests/parallel-am.test: Rename variable to not match pattern + used in maintainer-check. + +2008-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * NEWS: Fix typo. + Spotted by Jim Meyering. + +2008-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Parallel automake --add-missing: serialized file installs. + * automake.in (QUEUE_CONF_FILE, QUEUE_LOCATION, QUEUE_STRING): + New serialization keys. + ($required_conf_file_queue): New file global. + (queue_required_conf_file, require_queued_conf_file): New + functions, to queue and dequeue requirements for aux dir files. + (require_conf_file): Enqueue if needed. + (get_number_of_threads): Can do threads with --add-missing now. + (handle_makefiles_threaded): Let worker threads enqueue, let + master attend to queued requirements at the right time. + * tests/parallel-am.test: Explain the purpose of the include + chain used here. + * tests/parallel-am2.test: Also cope with --add-missing. + * tests/parallel-am3.test: New test, test absence of races with + concurrent same-file installs stemming from --add-missing. + * tests/Makefile.am: Adjust. + + Implement serialization for Locations. + * lib/Automake/Location.pm (serialize, deserialize): New + functions. They allows to serialize a Location in an array, and + to restore a Location from a thread queue. The API is + unsymmetric (array vs. queue) because enqueuing data needs to + happen atomically. + + Parallel automake: ordered output messages. + * lib/Automake/Channels.pm (%_default_options): New options + `ordered' default enabled, `queue', default zero (no queue), + `queue_key' default undefined. + (_merge_options): Ensure `ordered' channels cannot have fatal + messages or backtrace output. + (_enqueue, _dequeue): New functions, to push messages onto a + Thread::Queue, and output messages from such a queue, suitably + weeded for duplicates in the same manner as _print_message. + (_print_message): If the channel is ordered and has an + associated queue, then enqueue messages instead of printing + them. + (setup_channel_queue, pop_channel_queue): New functions, + to set a Thread::Queue for channels, and to flush a queue. + * lib/Automake/ChannelDefs.pm: Unset channel option `ordered' + for fatal, automake, and verb channels. + * automake.in (QUEUE_MESSAGE): New global constant, used as + serialization key. + (handle_makefiles_threaded): Create message queues for each + input file; workers queue messages, and the master outputs them + ordered, using the new Channels.pm functions. + * tests/parallel-am.test: Also check for ordered output (in the + absence of --add-missing races). + * tests/parallel-am2.test: New test; check for ordered output of + warning and (regular) error messages. + * tests/Makefile.am: Adjust. + + Parallel automake execution: AUTOMAKE_JOBS. + * lib/Automake/Config.in (perl_threads): New global. + * automake.in: Use it. If the perl supports interpreter-based + threading, then use `threads' and `Thread::Queue'. + (handle_makefile, handle_makefiles_serial): New functions, + factored out from main. + (get_number_of_threads): New function, compute number of threads + to use, based on environment variable `AUTOMAKE_JOBS' and number + of independent makefiles. + (handle_makefiles_threaded): New function. Spawn threads, use + thread queue to distribute handling the different makefiles. + Collect $exit_code values from threads. + (main): Use new functions. + * aclocal.in: No threads here. + * configure.ac: Substitute PERL_THREADS; enabled with perl >= + 5.7.2 and when ithreads are available. + * bootstrap (dosubst): Likewise. + * Makefile.am (do_subst): Likewise. + * lib/Automake/Makefile.am (do_subst): Likewise. + * lib/Automake/ChannelDefs.pm: Use `Automake::Config' and + `threads'. + (verb): Prepend thread ID (tid) to verbose messages. + * lib/Automake/Channels.pm (msg): Before exiting, flush stderr, + needed for worker threads. + * lib/Automake/tests/Makefile.am (TESTS_ENVIRONMENT): Also + include the build tree path, so Config.pm is found. + * tests/parallel-am.test: New test. + * tests/Makefile.am: Update. + * doc/automake.texi (Invoking Automake): Document AUTOMAKE_JOBS. + * NEWS, THANKS: Update. + Report about long execution times by Joakim Tjernlund and others. + +2008-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Minor file checking optimization: set_dir_cache_file. + * lib/Automake/FileUtils.pm (set_dir_cache_file): New function. + * automake.in (require_file_internal): Instead of resetting the + cache when a file has been installed, simply correct the cache + using set_dir_cache_file. + + No uniquifying for fatal, prog_error, and verbose messages. + There is no point in dropping critical messages, even if they + are duplicates (unlikely to happen unless they have been sent + as non-critical messages before), and verbose messages should + enable to show progress, even using duplicate statements. + * lib/Automake/ChannelDefs.pm (fatal, automake, verb): Set + `uniq_part' to `UP_NONE' when registering these channels. + + Fix 'config.status --file=... depfiles' with new Autoconf. + * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Eval + $CONFIG_STATUS contents if we detect the quoting used by + Autoconf 2.62 and newer for --file=. + * tests/depend5.test: New test. + * tests/Makefile.am: Update. + * NEWS, THANKS: Update. + Report by Sam Steingold against gnulib. + +2008-10-26 Johan Dahlin <jdahlin@async.com.br> + + Support for Python 3.0, drop support for pre-2.0. + * lib/py-compile: Do not import string; use sys.stdout.write + instead of print, files.split instead of string.split. + * m4/python.m4 (AM_PATH_PYTHON): Also look for python3 and + phython3.0; do not look for python1.5. Use sys.stdout.write. + (AM_PYTHON_CHECK_VERSION): Do not use string; adjust to xrange + removal in Python 3.0, and changed semantics of map. + * doc/automake.texi (Python, Hard-Coded Install Paths): Update + Python versions mentioned in the manual, using 2.5 everywhere. + * NEWS, THANKS: Update. + +2008-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/Automake/Channels.pm (@chain): Drop unused variable. + + Cleanup of per-input global variables in automake.in. + * automake.in ($output_vars, $output_all, $output_header) + ($output_rules, $output_trailer): Fix comment, and sort + declarations in the order they will appear in the output. + ($all_target): Unused variable, remove. + (Variables not reset by &initialize_per_input.): New section, + clarify that %am_file_cache is not reset. + (initialize_per_input): Reset $am_file_name, $am_relative_dir, + $in_file_name, $relative_dir, and $topsrcdir to `undef' rather + than the empty string; $topsrcdir was not reset at all. Sort + remaining variables in the same order as in the section + `Variables reset by &initialize_per_input'. + + Let stderr output end up on fd 2 in testsuite. + * tests/defs.in (AUTOMAKE_run): Output recorded stderr on file + descriptor 2. + * tests/getopt.test: Fix erroneous multiple redirection, + uncovered by above change. + +2008-10-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix DisjConditions module to be thread-safe for perl >= 5.7.2. + Self-hashes of blessed references are not correctly transported + through thread creation. This patch fixes that by recreating + the hashes upon thread creation with a CLONE special subroutine, + which is automatically invoked by new enough Perl versions. + * lib/Automake/DisjConditions.pm (CLONE): New special + subroutine to fix self hashes upon thread creation. + * lib/Automake/tests/Condition-t.pl: New, sister test to + Condition.pl, but spawns a new threads after each creation of a + new condition; skip test if perl is too old or ithreads are not + available. + * lib/Automake/tests/DisjConditions-t.pl: Likewise. + * lib/Automake/tests/Makefile.am (TESTS): Add them. + +2008-10-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix comment typos. + * automake.in (require_file_internal): Fix typos in comments. + * m4/amversion.in: Likewise. + * lib/Automake/Variable.pm: Likewise. + * lib/Automake/XFile.pm: Likewise. + + Diagnose unsupported uses of `backname' helper function. + * automake.in (backname): Error out if the path points outside + the directory it started in. + +2008-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Nicer 'make dist' output. + * lib/am/distdir.am (distdir): Hide the complex script + used for computing the relative subdirs; echo the sub-make + command. + +2008-10-12 William Pursell <bill.pursell@gmail.com> (tiny patch) + + * tests/defs.in: Fix comment typo. + +2008-10-12 William Pursell <bill.pursell@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix grammar w.r.t. plurals in test reports. + * lib/am/check.am: Fix singular/plural forms in test reports. + * tests/check10.test: New test. + * tests/Makefile.am: Update. + +2008-10-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Require texi2dvi in tests, makeinfo may not be enough. + * tests/txinfo16.test: RHEL 5.2 has makeinfo and texi2dvi in + separate packages, so also list the latter as required, as the + test generates DVI and/or PDF output (through distcheck). + * tests/txinfo18.test: Likewise. + * tests/txinfo21.test: Likewise. + * tests/txinfo22.test: Likewise. + * tests/txinfo3.test: Likewise. + * tests/version7.test: Likewise. + * THANKS: Update. + Report by Alexander Martens. + + Fix bootstrap to remove read-only directories right. + * bootstrap: Remove automake-$APIVERSION correctly. + +2008-10-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Improve test coverage of current TESTS semantics. + * tests/check8.test: New test, for subdir tests and setting of + $srcdir. + * tests/check9.test: New test, check @substituted@ TESTS. + * tests/Makefile.am: Update. + +2008-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * m4/minuso.m4 (AM_PROG_CC_C_O): Work around shell quoting issue + with AIX sh; fixes depcomp6.test failure. + * NEWS, THANKS: Update. + Report by Rainer Tammer. + + Print captured output before failing. + * tests/acloca14.test, tests/acloca17.test, tests/acloca18.test, + tests/aclocal.test, tests/acsilent.test, tests/alpha.test, + tests/check4.test, tests/color.test, tests/fn99.test, + tests/fn99subdir.test, tests/help.test, tests/init.test, + tests/lisp8.test, tests/missing3.test, tests/pr220.test, + tests/python11.test, tests/python4.test, tests/python5.test, + tests/unused.test, tests/version8.test: When Exit is called + after a command that has stdout or stderr redirected to a file + for later inspection, output the file before failing the test. + + Fix some comment typos. + * automake.in: Fix some comment typos. + * lib/Automake/Condition.pm: Likewise. + * lib/Automake/DisjConditions.pm: Likewise. + * lib/Automake/Variable.pm: Likewise. + * lib/Automake/tests/DisjConditions.pl: Likewise. + +2008-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * tests/aclibobj.test: Fix race condition. + +2008-09-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix man page creation without installed files. + * doc/Makefile.am (update_mans): Use wrappers in tests/ + directory. + ($(srcdir)/aclocal-$(APIVERSION).1): Use versioned wrapper as + input program to help2man. + ($(srcdir)/automake-$(APIVERSION).1): Likewise. + Report by Eric Blake. + +2008-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Remove unneeded per-rule *INSTALL variables. + * NEWS: Update. + * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): Remove. + (install-%DIR%%PRIMARY%): Adjust. + * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Remove. + (install-%DIR%LIBRARIES): Adjust. + * lib/am/ltlibs.am (%DIR%LTLIBRARIES_INSTALL): Remove. + (install-%DIR%LTLIBRARIES): Adjust. + * lib/am/progs.am (%DIR%PROGRAMS_INSTALL): Remove. + (install-%DIR%PROGRAMS): Adjust. + * lib/am/python.am (%DIR%PYTHON_INSTALL): Remove. + (install-%DIR%PYTHON): Adjust. + * lib/am/scripts.am (%DIR%SCRIPT_INSTALL): Remove. + (install-%DIR%SCRIPTS): Adjust. + + Compactify program rules using ternary operators. + * lib/am/progs.am (install-%DIR%PROGRAMS): Uglify^WCompactify + using ternary operators `%KEY?TRUE:FALSE%'. + (uninstall-%DIR%PROGRAMS): Likewise. + + New doc section about command line length limits. + * doc/automake.texi (Length limitations): New node. + (Alternative): `nobase_' is not always equivalent to several + base variables. + (Install): Mention multi-file install. + * NEWS: Expand on the issue, list some more user-visible + consequences. + + Install nobase_lib_LTLIBRARIES before bin_PROGRAMS. + * automake.in (generate_makefile): If nobase_lib_LTLIBRARIES are + used, add an ugly hack to install them before bin_PROGRAMS, just + like done with lib_LTLIBRARIES. + * tests/ltorder.test: Add program, to expose this. + + Do not reorder nobase ltlib installation. + This patch changes back the order of installation of nobase + LTLIBRARIES to that in which files are listed in the variables. + It does not fix the issue of strict dependency ordering, as + implied by *_LIBADD, but as before allows to steer the order by + listing the libraries in nobase_*_LTLIBRARIES appropriately. + As an advantage over the state of 1.10, multiple consecutive + nobase libraries to be installed in the same directory are + passed to libtool in one invocation. + * lib/am/ltlib.am (install-%DIR%LTLIBRARIES) [!%?BASE%]: Do not + reorder libraries upon installation. Remove spurious empty + line. + * tests/ltorder.test: New test. + * tests/Makefile.am: Update. + + Fix -rpath arguments for nobase_*_LTLIBRARIES. + * automake.in (handle_ltlibraries): New hash %instsubdirs to + track the dirname of nobase ltlibraries, and tack it onto the + end of the -rpath argument. Also, fix the warning about ltlibs + installed in multiple locations to fit a bit better. + * tests/pr300-ltlib.test: Expose this bug here. + * tests/ltinstloc.test: New test. + * tests/Makefile.am: Update. + * NEWS: Update. + + Man pages for automake and aclocal. + * configure.ac (HELP2MAN): New substitution. + * doc/Makefile.am (dist_man1_MANS, MAINTAINERCLEANFILES) + (update_mans): New macros. + ($(srcdir)/aclocal-$(APIVERSION).1) + ($(srcdir)/automake-$(APIVERSION).1): New rules, generate + man pages from the command line help with help2man. + ($(srcdir)/aclocal.1, $(srcdir)/automake.1): New rules, for + `.so' man page links to the versioned pages. + * NEWS: Update. + +2008-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Faster install for libtool outputs. + * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Invoke `libtool + --mode=install' with multiple libraries at once. + (%DIR%LTLIBRARIES_INSTALL): No need to use install_sh any more. + * lib/am/progs.am (install-%DIR%PROGRAMS): Likewise, remove much + of the libtool special-casing by invoking it for multiple + programs at once. + +2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fast install and uninstall for SCRIPTS. + * lib/am/scripts.am [%?INSTALL%]: Include inst-vars.am + independent of `%?BASE%'. + (install-%DIR%SCRIPTS): Install multiple scripts at once, + using awk and a number of sed scripts. + (uninstall-%DIR%SCRIPTS): Compute the installed names, and + remove them, all at once. + (%DIR%SCRIPT_INSTALL) [!BASE]: No need to use install-sh any + more. + + Multi-file install for PROGRAMS. + * lib/am/progs.am (install-%DIR%PROGRAMS): Allow to install + several programs with one install invocation, when not using + libtool; employs some trickery to cater for nobase_, $(EXEEXT), + create needed directories, libtool, while only forking a + constant number of times in the fast path; uses awk and sed also + in the default path. + (%DIR%PROGRAMS_INSTALL) [!BASE]: No need to use install-sh any + more. + + Enhance cleaning of programs in libtool mode. + * lib/am/progs.am (clean-%DIR%PROGRAMS) [?LIBTOOL?]: Fork less + often, avoid removing programs twice if $(EXEEXT) is empty. + * tests/nobase-libtool.test: Also test PROGRAMS, in order to + exercise the code path. + * THANKS: Update. + Report by Toralf Förster. + +2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Jim Meyering <jim@meyering.net> + + Reliable multi-file install for man pages. + * lib/am/mans.am: Include inst-vars.am. + (install-man%SECTION%): Gather lists of man pages to install, + and install up to 40 of those that do not have to be renamed + at once. Fail if installation of any file fails. + (uninstall-man%SECTION%): Rewrite to use fewer sed invocations. + * doc/automake.texi (Man pages): Hint the user to the fast path. + Indentation fix. + * tests/instmany-mans.test: New test. + * tests/Makefile.am: Update. + +2008-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Faster `make uninstall'; fast install for JAVA. + * lib/am/inst-vars.am (am__nobase_strip_setup) + (am__nobase_strip): New macros. + (am__nobase_list): Factorize. + * lib/am/data.am (uninstall-%DIR%%PRIMARY%): Use them, for a + constant number of forks per uninstall. + * lib/am/libs.am (uninstall-%DIR%LIBRARIES): Likewise. + * lib/am/lisp.am (uninstall-%DIR%LISP): Likewise. + * lib/am/progs.am (uninstall-%DIR%PROGRAMS): Fast uninstall. + * lib/am/python.am (uninstall-%DIR%PYTHON): Fast uninstall. + Echo all `rm' commands that are are executed. + * lib/am/java.am (install-%DIR%JAVA, uninstall-%DIR%JAVA): + Fast install and uninstall. + + AIX ranlib dislikes spaces in the argument. + * lib/am/libs.am (install-%DIR%LIBRARIES): Fix instsh.test + failure on AIX due to ranlib and whitespace in the directory. + * THANKS: Update. + Report by John F Trudeau. + + Fail upon install or ranlib failure, part two. + * lib/am/java.am (install-%DIR%JAVA): Fail upon install failure. + * lib/am/lisp.am (install-%DIR%LISP): Likewise. + * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Likewise. + * lib/am/libs.am (install-%DIR%LIBRARIES): Likewise, for + `install' as well as `ranlib'. + * lib/am/progs.am (install-%DIR%PROGRAMS): If `install' fails, + return its exit failure, not 1. + * tests/instfail.test: New test, for PROGRAMS (without libtool), + LIBRARIES, including nobase variants. + * tests/instfail-info.test: Likewise, for TEXINFOS. + * tests/instfail-java.test: Likewise, for JAVA. + * tests/instfail-libtool.test: Likewise, for PROGRAMS (with + libtool) and LTLIBRARIES. + * tests/Makefile.am: Adjust. + + Exit upon `install' failure, part one. + * lib/am/data.am (install-%DIR%%PRIMARY%): Exit if any install + command fails. + * lib/am/python.am (install-%DIR%PYTHON): Likewise. + * lib/am/scripts.am (install-%DIR%SCRIPTS): Likewise. + * lib/am/texinfos.am (install-dvi-am, install-html-am) + (install-info-am:, install-pdf-am): Likewise. + * tests/instmany.test: New test, for SCRIPTS, DATA, and HEADERS. + * tests/instmany-python.test: New test, for PYTHON. + * tests/Makefile.am: Adjust. + +2008-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix multi-file installation for files in srcdir. + For files that can live in the build tree or the source tree, + we have to expect that prepending `$(srcdir)/' to each name + will let the install command line exceed length limitations. + Thus use a new macro, $(am__base_list), to install in chunks + of 40 files, similar to what we do for nobase_* files. There, + lower the limit to 40, too. + * lib/am/inst-vars.am (am__install_max): Lower to 40. + (am__base_list): New macro. + * lib/am/data.am (install-%DIR%%PRIMARY%) [%?BASE%]: Use it. + * lib/am/texinfos.am (install-dvi-am, install-html-am) + (install-info-am, install-pdf-am, install-ps-am): Likewise. + +2008-09-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Use `Exit' instead of `exit' in test suite. + Cater to Bourne shells like Solaris sh that do not pass the + `exit' argument as status to the cleanup trap. + * Makefile.am (maintainer-check): Check that here-documents + use only `END' or `EOF' as delimiter in the test suite. + Check that, outside of here-documents, the tests do not use + `exit' with an argument, but use `Exit' instead. + * tests/defs.in (Exit): New function. Use it throughout, + starting with the introduction of the exit trap. + * tests/aclibobj.test, tests/acloca10.test, tests/acloca11.test, + tests/acloca12.test, tests/acloca13.test, tests/acloca14.test, + tests/acloca15.test, tests/acloca16.test, tests/acloca17.test, + tests/acloca18.test, tests/acloca19.test, tests/acloca20.test, + tests/acloca21.test, tests/acloca22.test, tests/aclocal.test, + tests/aclocal3.test, tests/aclocal4.test, tests/aclocal5.test, + tests/aclocal6.test, tests/aclocal7.test, tests/aclocal8.test, + tests/aclocal9.test, tests/acoutbs.test, tests/acoutbs2.test, + tests/acoutnoq.test, tests/acoutpt.test, tests/acoutpt2.test, + tests/acoutqnl.test, tests/acsilent.test, tests/acsubst.test, + tests/acsubst2.test, tests/all.test, tests/alloca.test, + tests/alloca2.test, tests/alpha.test, tests/alpha2.test, + tests/amassign.test, tests/ammissing.test, tests/amopt.test, + tests/amsubst.test, tests/ansi.test, tests/ansi10.test, + tests/ansi2.test, tests/ansi3.test, tests/ansi3b.test, + tests/ansi4.test, tests/ansi5.test, tests/ansi6.test, + tests/ansi7.test, tests/ansi8.test, tests/ansi9.test (main), + tests/ar.test, tests/ar2.test, tests/asm.test, tests/asm2.test, + tests/asm3.test, tests/automake.test, tests/auxdir.test, + tests/auxdir2.test, tests/auxdir3.test, tests/auxdir4.test, + tests/backsl.test, tests/backsl2.test, tests/backsl3.test, + tests/backsl4.test, tests/badline.test, tests/badopt.test, + tests/badprog.test, tests/block.test, tests/bsource.test, + tests/canon-name.test, tests/canon.test, tests/canon2.test, + tests/canon3.test, tests/canon4.test, tests/canon5.test, + tests/ccnoco.test, tests/ccnoco2.test, tests/check.test, + tests/check2.test, tests/check3.test, tests/check4.test, + tests/check5.test, tests/check6.test, tests/check7.test, + tests/checkall.test, tests/clean.test, tests/clean2.test, + tests/colneq.test, tests/colneq2.test, tests/colon.test, + tests/colon2.test, tests/colon3.test, tests/colon4.test, + tests/colon5.test, tests/colon6.test, tests/colon7.test, + tests/color.test (test_no_color), tests/commen10.test, + tests/comment.test, tests/comment2.test, tests/comment3.test, + tests/comment4.test, tests/comment5.test, tests/comment6.test, + tests/comment7.test, tests/comment8.test, tests/comment9.test, + tests/compile.test, tests/compile_f90_c_cxx.test, + tests/compile_f_c_cxx.test, tests/cond.test, tests/cond10.test, + tests/cond11.test, tests/cond13.test, tests/cond14.test, + tests/cond15.test, tests/cond16.test, tests/cond17.test, + tests/cond18.test, tests/cond19.test, tests/cond2.test, + tests/cond20.test, tests/cond21.test, tests/cond22.test, + tests/cond27.test, tests/cond3.test, tests/cond37.test, + tests/cond39.test, tests/cond4.test, tests/cond40.test, + tests/cond41.test, tests/cond5.test, tests/cond6.test, + tests/cond7.test (AC_INIT), tests/cond8.test, tests/cond9.test, + tests/condd.test, tests/condhook.test, tests/condinc.test, + tests/condinc2.test, tests/condlib.test, tests/condman.test, + tests/condman2.test, tests/conf2.test, tests/confdeps.test, + tests/conff.test, tests/conff2.test, tests/confh.test, + tests/confh4.test, tests/confh5.test, tests/config.test, + tests/confincl.test, tests/conflnk.test, tests/conflnk2.test, + tests/conflnk3.test, tests/conflnk4.test, tests/confsub.test, + tests/confvar.test, tests/confvar2.test, tests/copy.test, + tests/ctarget1.test, tests/cxx.test, tests/cxx2.test, + tests/cxxansi.test, tests/cxxcpp.test, tests/cxxlibobj.test, + tests/cxxlink.test, tests/cxxnoc.test, tests/cxxo.test, + tests/cygwin32.test, tests/dash.test, tests/defs.in (else), + tests/defun.test, tests/defun2.test, tests/dejagnu.test, + tests/dejagnu2.test, tests/dejagnu3.test, tests/dejagnu4.test, + tests/dejagnu5.test, tests/dejagnu6.test, tests/dejagnu7.test, + tests/depacl2.test, tests/depcomp.test, tests/depcomp2.test, + tests/depcomp3.test, tests/depcomp4.test, tests/depcomp5.test, + tests/depcomp6.test, tests/depcomp7.test, tests/depdist.test, + tests/depend.test, tests/depend2.test, tests/depend3.test, + tests/depend4.test, tests/destdir.test, tests/dirforbid.test, + tests/dirlist.test, tests/dirlist2.test, tests/discover.test, + tests/distcom2.test, tests/distcom3.test, tests/distcom4.test, + tests/distcom5.test, tests/distcom6.test, tests/distcom7.test, + tests/distdir.test, tests/distname.test, tests/dollar.test, + tests/double.test, tests/dup2.test, tests/else.test, + tests/empty.test, tests/empty2.test, tests/empty3.test, + tests/empty4.test, tests/exdir.test, tests/exdir2.test, + tests/exdir3.test, tests/exeext.test, tests/exeext2.test, + tests/exeext3.test, tests/exeext4.test, tests/exsource.test, + tests/ext.test, tests/extra.test, tests/extra2.test, + tests/extra3.test, tests/extra4.test, tests/extra5.test, + tests/extra6.test, tests/extra7.test, tests/f90only.test, + tests/flibs.test, tests/fn99.test, tests/fn99subdir.test, + tests/fnoc.test, tests/fo.test, tests/fonly.test, + tests/fort1.test, tests/fort2.test, tests/fort4.test, + tests/fort5.test, tests/fortdep.test, tests/fpinst2.test, + tests/fpinstall.test, tests/gcj.test, tests/gcj2.test, + tests/gcj3.test, tests/gcj4.test, tests/gcj5.test, + tests/getopt.test, tests/gettext.test, tests/gettext2.test, + tests/gettext3.test, tests/gnits.test, tests/gnits2.test (main), + tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test, + tests/gnuwarn2.test, tests/header.test, tests/help.test, + tests/hosts.test, tests/implicit.test, tests/include.test, + tests/include2.test, tests/info.test, tests/init.test, + tests/insh2.test, tests/install2.test, tests/installdir.test, + tests/instdat.test, tests/instdat2.test, tests/instexec.test, + tests/insthook.test, tests/instman.test, tests/instman2.test, + tests/instsh.test, tests/instsh2.test, tests/instsh3.test, + tests/instspc.test, tests/interp.test, tests/interp2.test, + tests/java.test, tests/java2.test, tests/java3.test, + tests/javaprim.test, tests/javasubst.test, tests/ldadd.test, + tests/ldflags.test, tests/lex.test, tests/lex2.test, + tests/lex3.test, tests/lex4.test, tests/lex5.test (main), + tests/libexec.test, tests/libobj10.test, tests/libobj11.test, + tests/libobj12.test, tests/libobj13.test, tests/libobj2.test, + tests/libobj3.test, tests/libobj4.test, tests/libobj5.test, + tests/libobj7.test, tests/libobj8.test, tests/library.test, + tests/library2.test, tests/library3.test, tests/libtoo10.test, + tests/libtool.test, tests/libtool2.test, tests/libtool3.test + (main), tests/libtool4.test, tests/libtool5.test, + tests/libtool6.test, tests/libtool7.test, tests/libtool8.test, + tests/libtool9.test (main), tests/license.test, + tests/link_c_cxx.test, tests/link_dist.test, + tests/link_f90_only.test, tests/link_f_only.test, + tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test, + tests/lisp2.test, tests/lisp3.test, tests/lisp4.test, + tests/lisp5.test, tests/lisp6.test, tests/lisp7.test, + tests/lisp8.test, tests/listval.test, tests/location.test, + tests/longlin2.test, tests/longline.test, tests/ltcond.test, + tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test, + tests/ltlibobjs.test, tests/ltlibsrc.test, tests/lzma.test, + tests/maintclean.test, tests/make.test, tests/makej.test, + tests/makevars.test, tests/man.test, tests/man2.test, + tests/man3.test, tests/mclean.test, tests/mdate.test, + tests/mdate2.test, tests/mdate3.test, tests/mdate4.test, + tests/mdate5.test, tests/missing.test, tests/missing2.test, + tests/missing3.test, tests/missing4.test, tests/missing5.test, + tests/missing6.test, tests/mkinst2.test, tests/mkinst3.test, + tests/mkinstall.test, tests/mmode.test, tests/mmodely.test, + tests/multlib.test, tests/nobase-libtool.test, + tests/nobase-python.test, tests/nobase.test, tests/nodef.test, + tests/nodef2.test, tests/nodep.test, tests/nodep2.test, + tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test, + tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test, + tests/noinst.test, tests/noinstdir.test, tests/nolink.test, + tests/nostdinc.test, tests/notrans.test, tests/number.test, + tests/objc.test, tests/objc2.test, tests/obsolete.test, + tests/order.test, tests/outdir.test, tests/output-order.test, + tests/output.test, tests/output10.test, tests/output11.test, + tests/output12.test, tests/output13.test, tests/output2.test, + tests/output3.test, tests/output4.test, tests/output5.test, + tests/output6.test, tests/output7.test, tests/output8.test, + tests/output9.test, tests/overrid.test, tests/parse.test, + tests/pluseq.test, tests/pluseq10.test, tests/pluseq2.test, + tests/pluseq3.test, tests/pluseq4.test, tests/pluseq5.test, + tests/pluseq6.test, tests/pluseq7.test, tests/pluseq8.test, + tests/pluseq9.test, tests/postproc.test, tests/ppf77.test, + tests/pr2.test, tests/pr204.test, tests/pr211.test, + tests/pr220.test, tests/pr224.test, tests/pr229.test, + tests/pr243.test, tests/pr266.test, tests/pr279-2.test, + tests/pr279.test, tests/pr287.test, tests/pr300-lib.test, + tests/pr300-ltlib.test, tests/pr300-prog.test, tests/pr307.test, + tests/pr401.test, tests/pr401b.test, tests/pr401c.test, + tests/pr72.test, tests/pr87.test, tests/pr9.test, + tests/prefix.test, tests/primary.test, tests/primary2.test, + tests/primary3.test, tests/proginst.test, tests/python.test, + tests/python10.test, tests/python11.test, tests/python12.test, + tests/python2.test, tests/python3.test, tests/python4.test, + tests/python5.test, tests/python6.test, tests/python7.test, + tests/python8.test, tests/python9.test, tests/recurs.test, + tests/recurs2.test, tests/regex.test, tests/remake.test, + tests/remake2.test, tests/remake3.test, tests/remake4.test, + tests/remake5.test, tests/remake6.test, tests/remake7.test, + tests/req.test, tests/reqd.test, tests/reqd2.test, + tests/rulepat.test, tests/scripts.test, tests/seenc.test, + tests/sinclude.test, tests/space.test, tests/specflg.test, + tests/specflg2.test, tests/specflg3.test, tests/specflg6.test, + tests/specflg7.test, tests/specflg8.test, tests/specflg9.test, + tests/spell.test, tests/spell2.test, tests/spell3.test, + tests/spelling.test, tests/spy.test, tests/srcsub.test, + tests/srcsub2.test, tests/stamph2.test, tests/stdinc.test, + tests/stdlib.test, tests/stdlib2.test, tests/strip.test, + tests/subcond.test, tests/subcond2.test, tests/subcond3.test, + tests/subdir.test, tests/subdir2.test, tests/subdir3.test, + tests/subdir4.test, tests/subdir5.test, tests/subdir6.test, + tests/subdir7.test, tests/subdir8.test, tests/subdir9.test, + tests/subdirbuiltsources.test, tests/subobj.test, + tests/subobj10.test, tests/subobj2.test, tests/subobj3.test, + tests/subobj4.test, tests/subobj5.test, tests/subobj6.test, + tests/subobj7.test, tests/subobj8.test, tests/subobj9.test, + tests/subobjname.test, tests/subpkg.test, tests/subpkg2.test, + tests/subpkg3.test, tests/subst.test, tests/subst2.test, + tests/subst3.test, tests/substre2.test, tests/substref.test, + tests/substtarg.test, tests/suffix.test, tests/suffix10.test, + tests/suffix11.test, tests/suffix12.test, tests/suffix2.test, + tests/suffix3.test, tests/suffix4.test, tests/suffix5.test, + tests/suffix6.test, tests/suffix7.test, tests/suffix8.test, + tests/suffix9.test, tests/symlink.test, tests/symlink2.test, + tests/symlink3.test, tests/syntax.test, tests/tags.test, + tests/tagsub.test, tests/tar.test, tests/tar2.test, + tests/tar3.test, tests/target-cflags.test, + tests/targetclash.test, tests/transform.test, tests/txinfo.test, + tests/txinfo10.test, tests/txinfo13.test, tests/txinfo16.test, + tests/txinfo17.test, tests/txinfo18.test, tests/txinfo19.test, + tests/txinfo2.test, tests/txinfo20.test, tests/txinfo21.test, + tests/txinfo22.test, tests/txinfo23.test, tests/txinfo24.test, + tests/txinfo25.test, tests/txinfo26.test, tests/txinfo27.test, + tests/txinfo28.test, tests/txinfo29.test, tests/txinfo3.test, + tests/txinfo30.test, tests/txinfo31.test, tests/txinfo4.test, + tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test, + tests/txinfo8.test, tests/txinfo9.test, tests/unused.test, + tests/upc.test, tests/upc2.test, tests/upc3.test, + tests/vars.test, tests/vars3.test, tests/vartar.test, + tests/version.test, tests/version2.test, tests/version3.test, + tests/version4.test, tests/version6.test, tests/version7.test, + tests/version8.test, tests/vpath.test, tests/vtexi.test, + tests/vtexi2.test, tests/warnopts.test, tests/werror.test, + tests/werror2.test, tests/whoami.test, tests/xsource.test, + tests/yacc.test, tests/yacc2.test, tests/yacc3.test, + tests/yacc4.test, tests/yacc5.test, tests/yacc6.test, + tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test, + tests/yaccvpath.test: Use `Exit $arg' instead of `exit $arg' + throughout, except inside created files. + +2008-09-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Avoid Heisenbug with verbose testing on HP-UX. + * tests/output-order.test: Remove spurious redirection line + from output for comparison. + + For all possibly-relative subdirs, use $(am__cd). + Up to now, $(am__cd) was only used within backquotes, to avoid + extraneous output. This patch also uses it for every `cd' to a + relative subdir, to prevent CDPATH from entering an unwanted + directory. + * Makefile.am (maintainer-check): Fix current check for + $(am__cd) within backquotes a bit. Add new check for `cd' to a + relative subdir. + * automake.in (handle_tags, handle_configure): Adjust rules. + * lib/am/ansi2knr.am: Likewise. + * lib/am/configure.am: Likewise. + * lib/am/distdir.am: Likewise. + * lib/am/remake-hdr.am: Likewise. + * lib/am/subdirs.am: Likewise. + * lib/am/tags.am: Likewise. + * lib/am/texibuild.am: Likewise. + + Fix nobase-python.test for BSD make. + * tests/nobase-python.test: Listing a dependency to be found + via VPATH search explicitly, without the path, as a target, + will turn off VPATH search for FreeBSD make. So move the + creation of the files outside of the Makefile. + +2008-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Implement AM_MAINTAINER_MODE([DEFAULT-MODE]). + * m4/maintainer.m4 (AM_MAINTAINER_MODE): Allow for an optional + first argument of `enable' or `disable', setting the default. + * doc/automake.texi (Optional, maintainer-mode): Document. + * tests/mmode.test: New test. + * tests/Makefile.am: Adjust. + * NEWS: Update. + Suggestion by Vincent Lefevre. + +2008-08-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Copyright year updates. + * lib/am/header-vars.am: Update copyright years. + * lib/am/remake-hdr.am: Likewise. + * lib/am/tags.am: Likewise. + +2008-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * THANKS: Use Cyrillic name instead of ASCII transcription. + +2008-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix rebuilding of removed subdir/Makefile.in files. + * lib/am/configure.am (%MAKEFILE-IN%) [?!TOPDIR_P?]: If + subdir/Makefile.in was removed, am--refresh would not update + it. Fix up for it by running the per-directory rebuild rule. + * tests/remake6.test, tests/remake7.test: New tests. + * tests/Makefile.am: Adjust. + * NEWS, THANKS: Update. + Report and initial patch by Ilya N. Golubev. + +2008-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * tests/notrans.test: Use multiple man files of each type. + + Fix maintainer-check failures. + * doc/automake.texi (Conditionals): Drop TAB. + * tests/missing6.test: Use 'rm -f'. + +2008-08-19 Reuben Thomas <rrt@sc3d.org> (tiny patch) + + * doc/automake.texi (Flag Variables Ordering, Per-Object Flags): + Fix grammaros. + +2008-08-02 Karl Berry <karl@freefriends.org> + + * lib/gnupload: Provide also a simple example. + +2008-06-25 Thien-Thi Nguyen <ttn@gnuvola.org> + + Small doc fix. + * doc/automake.texi (Public Macros): Close open paren. + +2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Introduce macro $(am__mv) to facilitate 'libtool --dry-run'. + * lib/am/depend.am (am__mv): New macro, set to 'mv -f'. + * lib/am/depend2.am: Use throughout to move the temporary + depfile *.Tpo to its final destination *.Po. + +2008-06-18 Rafael Espindola <espindola@google.com> + + * lib/config-ml.in: don't handle --enable-shared and --enable-static. + +2008-06-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/am/inst-vars.am (am__install_max): New variable. + (am__nobase_list): Use it. + + Fix conditional rules competing with config.status rules. + * automake.in (handle_configure): Teach targets about the + conditional config.status rule. + * tests/cond39.test: Adjust test to expose this. + + For AC_CONFIG_LINKS(X,X), do not clean X in a non-VPATH build. + * automake.in (rewrite_inputs_into_dependencies): Do distribute + inputs where input and output name are equal. This relies on + the assumption that it only happens with AC_CONFIG_LINKS. + (handle_configure) <CONFIG_CLEAN_VPATH_FILES>: New variable, for + links where source and dest are equal. + * lib/am/clean.am (distclean-generic): Remove, if build tree not + equal source tree. + * tests/conflnk4.test: New test. + * tests/Makefile.am: Adjust. + * NEWS: Update. + +2008-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi (Extending): Fix ambivalent wording. + Report by Ben Pfaff. + +2008-06-04 Karl Berry <karl@freefriends.org> + + * doc/automake.texi (Install, Hard-Coded Install Paths): Fix + punctuation and markup. + (Extending): Improve wording and clarify order semantics of + *-local and *-hook targets. + +2008-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi (Extending): Fix grammar. + Report by Karl Berry. + +2008-05-13 Stepan Kasal <skasal@redhat.com> + + Fix typos. + * doc/automake.texi (Timeline): Reported by Reuben Thomas. + * lib/am/remake-hdr.am: A few typos in comments. + +2008-04-10 Eric Blake <ebb9@byu.net> + + Prefer a released version of autoconf. + * NEWS: Bump requirement to autoconf 2.62. + * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise. + * configure.ac: Likewise. + (AC_PREREQ): Remove check, done by AM_INIT_AUTOMAKE instead. + + AC_AUTOCONF_VERSION can inadvertently expand to a macro name. + * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Use proper + m4 quoting. + * aclocal.in (write_aclocal): Likewise. + * tests/missing6.test: New test. + * tests/Makefile.am (TESTS): Run it. + * tests/missing4.test: Adjust. + +2008-04-02 Eric Blake <ebb9@byu.net> + + Make gnupload friendlier for VPATH usage. + * lib/gnupload: Allow uploads from separate directory. + +2008-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Implement conditional AC_CONFIG_FILES: AM_COND_IF. + * automake.in (%ac_config_files_condition): New. + (scan_autoconf_config_files): Record condition if any. + (scan_autoconf_traces): Trace _AM_COND_IF, _AM_COND_ELSE, + _AM_COND_ENDIF, updating @cond_stack as appropriate. + (handle_configure): Prefix config.status rule with condition. + Check that m4 quotation is done consistently. + * m4/cond.m4 (AM_CONDITION): Define `_AM_COND_VALUE_name' + with `name' being the name of the condition, to its shell + condition. + * m4/cond-if.m4: New file. + (_AM_COND_IF, _AM_COND_ELSE, _AM_COND_ENDIF): New trace helpers. + (AM_COND_IF): New macro, implements conditionals. + * m4/Makefile.am: Adjust. + * doc/automake.texi (Requirements, Optional, Conditionals): + Document AM_COND_IF. + * NEWS: Update. + * tests/cond39.test, tests/cond40.test, tests/cond41.test, + tests/cond42.test, tests/cond43.test: New tests. + * tests/Makefile.am: Adjust. + +2008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi (@ovar): New macro, from autoconf.texi. + (Python): Use it. + Suggestion by Eric Blake. + +2008-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/texinfo.tex: Sync from upstream. + +2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi (Requirements, Linking, Extending): + Fix underfull and overfull lines, fix wording a bit. + + * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from + upstream. + + * Makefile.am (WGET_SV_GIT_CF): New. + (fetch): Pull config.guess and config.sub from git repo now. + + * lib/Autom4te/FileUtils.pm (handle_exec_errors): New argument + $hint, show if the executing program does not exist. + (xsystem_hint): New function, like xsystem but allows to pass + a hint. + +2008-03-11 Peter Breitenlohner <peb@mppmu.mpg.de> + + Implement the `notrans_' prefix for untransformed manpages. + * automake.in (handle_man_pages), lib/am/mans.am: Implement + notrans_ prefix for MANS primary and rework dependencies for + install-man%SECTION%; use only vars defined in Makefile.am. + * doc/automake.texi (Renaming, Uniform, Man pages): + Document notrans_ prefix. + * NEWS: Update. + * tests/notrans.test: New test. + * tests/Makefile.am: Update. + + * automake.in (handle_man_pages): Reindent, for next patch. + +2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Use `install' with multiple files at once for some primaries. + With nobase targets, at most 50 files are installed at once, + to avoid quadratic string concatenation and line length limits. + This isn't yet done with base targets. One hope is that there, + the typical file name length is lower. If this turns out to be + a problem, it should be revisited. + + * lib/am/inst-vars.am (am__nobase_list): New helper macro for + installation of multiple nobase files at once: sorts and lists + files keyed by their target directory. + * lib/am/data.am (%DIR%%PRIMARY%_INSTALL): No need to set it to + $(install_sh_DATA) any more, not even for nobase targets. + (install-%DIR%%PRIMARY%): Split base and nobase cases. + Rewrite to pass lists of files which all go in the same + directory to `install'. In the nobase case, make use of + $(am__nobase_list) and $(MKDIR_P) each directory before + populating it. Take care of files in source and build trees, + and avoid creating directories where no files are to be + installed. + * lib/am/libs.am (%DIR%LIBRARIES_INSTALL): Likewise. + (install-%DIR%LIBRARIES): Likewise. + * lib/am/python.am (%DIR%PYTHON_INSTALL): Likewise. + (install-%DIR%PYTHON): Likewise. Also take care to keep note of + a list for byte compilation after installation. + * lib/am/texinfos.am (install-dvi-am, install-html-am) + (install-info-am, install-pdf-am, install-ps-am): Use file lists + to install multiple files at once. + * NEWS: Update. + Suggested by Akim Demaille. + +2008-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Require unreleased Autoconf for fixed AC_PROG_INSTALL. + * m4/init.m4 (AM_INIT_AUTOMAKE): Bump AC_PREREQ to 2.61-341, + regenerate files. + * configure.ac: Also require Autoconf 2.61-341, to catch + failure early and provide a sensible error message. + + Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT. + * tests/ansi4.test: Drop AC_OBJEXT and AC_EXEEXT. + * tests/ansi6.test: Likewise. + * tests/ansi7.test: Likewise. + * tests/condlib.test: Likewise. + * tests/cygwin32.test: Likewise. + * tests/exeext2.test: Likewise. + * tests/libobj11.test: Likewise. + * tests/library.test: Likewise. + * tests/txinfo5.test: Likewise. + +2008-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Skip instsh3.test if `touch -t' does not work. + * tests/instsh3.test: Test for `touch -t', fails with Solaris + /usr/ucb/touch. + * THANKS: Update. + Report by Younes Younes. + +2008-02-27 Reuben Thomas <rrt@sc3d.org> + + * doc/automake.texi (wildcards): Improve "Why doesn't Automake + support wildcards" node's English and sense. + +2008-02-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/am/check.am (check-TESTS): In the case patterns for + XFAILed tests, add literal bracket expression for matching + whitespace, as NetBSD 4.99.54 ksh does not understand a + bracket expression resulting from variable expansion. + * README: Explain how to run the Automake test suite, including + setting MAKE to test gmake. + Report by Patrick Welche. + +2008-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + PR automake/498 + * m4/options.m4 (_AM_SET_OPTIONS): Use m4_foreach_w instead of + obsolete AC_FOREACH. + Report by NightStrike and gurganbl@rose-hulman.edu. + +2008-02-17 Colin Watson <cjwatson@debian.org> (tiny change) + + * lib/am/tags.am (ID): Fix typo in workaround for old awk. + +2008-02-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/.gitignore: Ignore files generated by `make ps pdf html'. + +2008-02-05 Reuben Thomas <rrt@sc3d.org> + + * doc/automake.texi (CVS): configure.ac will appear newer, not + older, than configure. Use `lexical' instead of `alphabetical'. + +2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * tests/man3.test: Avoid `make VAR=value'. + + * tests/subst3.test: New test. + * tests/Makefile.am: Update. + + * tests/instsh2.test: Split off testing of `install-sh -C' ... + * tests/instsh3.test: ... to this new test, requiring non-root. + * tests/Makefile.am: Adjust. + * THANKS: Update. + Report by Theodoros V. Kalamatianos. + +2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * tests/nobase.test: Extend test to generated files. + + * tests/nobase-python.test: New test, nobase for python files. + * tests/Makefile.am: Update. + + * tests/nobase.test: Split off libtool part of nobase.test for + increased test exposure, to ... + * tests/nobase-libtool.test: ... this new test. + * tests/Makefile.am: Update. + +2008-01-23 Eric Blake <ebb9@byu.net> + + Fix color.test when using BSD grep. + * tests/color.test: Ensure that grep can handle non-printing + characters. + +2008-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * tests/lisp3.test: Fix typo. + +2008-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/am/mans.am (install-man%SECTION%): Prefer generated manpages + over distributed ones. + Report and patch by Peter Breitenlohner. + * tests/man3.test: New test. + * tests/Makefile.am: Update. + +2008-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * tests/tar.test: Skip if no appropriate tar was found. + +2008-01-19 NightStrike <nightstrike@gmail.com> + + * doc/automake.texi (Dependency Tracking): Fix typo. + +2008-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/config-ml.in, lib/config.guess, lib/config.sub, + lib/symlink-tree: Sync from upstream. + + * Makefile.am (WGET_SV_CVS): Renamed from WGETSGO. + (WGET_SV_GIT_AC, WGET_SV_GIT_GL, WGET_GCC): New. + (fetch): Update to match current upstream locations. + +2008-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi (DESTDIR, Built sources example): Fix wording. + * THANKS: Update. + Reports and suggestions by William Pursell and nightstrike@gmail.com. + +2008-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Do not fail if `autoupdate' is not present. + * tests/obsolete.test: Check for presence of autoupdate. Apparently, + FreeBSD may install the other Autoconf programs without a version + suffix but not autoupdate. + + Fix Heisenbug trying to unset a sometimes-not-set variable. + * tests/check5.test: Do not error out upon `unset TESTS' due to + `set -e', in case TESTS was not set. + * tests/color.test: Likewise. + + * doc/automake.texi (amhello Explained): Fix odd sentence. + Report by nightstrike@gmail.com. + +2008-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * m4/init.m4 (_AC_AM_CONFIG_HEADER_HOOK): Rewrite to be more + resistant to different quoting styles of $1. + + Clarify texinfo.tex and TEXINFO_TEX semantics. + * doc/automake.texi (Texinfo): Clarify that by default, + texinfo.tex is searched in the same directory as the Makefile.am + that needs it. Clarify that TEXINFO_TEX has precedence over + AC_CONFIG_AUX_DIR, and that it requires the user to install and + distribute it. + * tests/txinfo22.test: Ensure TEXINFO_TEX is not distributed. + * THANKS: Update. + Reports by Dilyan Palauzov and Roumen Petrov. + +2008-01-11 Bruno Haible <bruno@clisp.org> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * tests/output-order.test: New test, for the stable output fix. + * tests/Makefile.am: Update. + +2008-01-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * Makefile.am (dist-hook): New, ensure world-executable tests. + * THANKS: Update. + Report by Arto C. Nirkko. + + * tests/acloca20.test: Use `--force' with the second $AUTOCONF, + to force update on fast machines where both autoconf invocations + happen within the same second. + Report by Greg Schafer. + +2008-01-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * automake.in (scan_autoconf_files): Sort loop over + %required_aux_file, for stable verbose output. + Report by Bruno Haible. + + * lib/config.guess, lib/config.sub, lib/texinfo.tex: Sync from + upstream. + + * tests/ccnoco.test (Mycomp): Use a tighter match for -c -o, + to avoid matching for example `LDFLAGS=-Wl,--sort-common'. + * THANKS: Update. + Report and analysis by Carsten Lohrke and Mike Frysinger. + +2008-01-07 Stepan Kasal <skasal@redhat.com> + + * automake.in (handle_texinfo_helper, handle_lib_objects): Fix + typos in comments. + +2008-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Bump copyright years. + * aclocal.in (write_aclocal, version): Likewise. + * automake.in ($gen_copyright, version): Likewise. + * doc/automake.texi: Likewise. + +2007-12-18 Jim Meyering <meyering@redhat.com> + + * lib/gnupload (GPG): Don't use an absolute path. + This reverts part of the 2004-01-28 change. + +2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/Automake/FileUtils.pm (open_quote): New function. + (update_file, contents): Use it. + + Reword the copyright notices to match what's suggested in GPLv3. + +2007-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * tests/defs.in: Quote $srcdir, $PATH; skip libtool and gettext + tests if the absolute source or build tree name contain whitespace. + + Modify some tests for absolute trees containing whitespace. + * tests/missing.test: Use "./missing" instead of "`pwd`/missing". + * tests/missing2.test: Likewise. + * tests/mmodely.test: Add `pwd` to $PATH instead of absolute + references to myyacc.sh and mylex.sh. + * tests/multlib.test: Likewise for mycc. + * tests/txinfo26.test: Skip if `pwd` contains whitespace, as + an absolute --srcdir does not work there. + + * INSTALL, lib/INSTALL, lib/config-ml.in, lib/config.guess, + lib/config.sub, lib/texinfo.tex: Sync from upstream. + + Fix the distdir target to cope with spaces in absolute file names. + * lib/am/distdir.am: Quote all instances of $(distdir) and + $(top_distdir). They could contain white space, coming from + a toplevel package bootstrapped with an older Automake version. + (am__relativize): New macro, taken from gnulib code, written by + Bruno Haible. + (distdir): Use it to compute relative paths to distdir and + top_distdir for enclosed subpackages. + Also, quote $(distuninstallcheck_dir). + * lib/am/texinfos.am: Likewise, quote $(distdir). + +2007-11-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Quote file names in tests that can be absolute. + * tests/auxdir.test, tests/check3.test, tests/check4.test, + tests/compile.test, tests/cond33.test, tests/condhook.test, + tests/distdir.test, tests/dollar.test, tests/empty.test, + tests/gnits2.test, tests/gnits3.test, tests/include2.test, + tests/insthook.test, tests/java.test, tests/libtool7.test, + tests/lisp4.test, tests/lisp5.test, tests/lisp6.test, + tests/ltcond.test, tests/ltconv.test, tests/mkinst2.test, + tests/multlib.test, tests/nobase.test, tests/nodist2.test, + tests/obsolete.test, tests/pr287.test, tests/pr300-lib.test, + tests/pr300-ltlib.test, tests/pr300-prog.test, tests/python10.test, + tests/python3.test, tests/strip.test, tests/transform.test, + tests/txinfo13.test, tests/txinfo19.test, tests/txinfo22.test, + tests/txinfo23.test, tests/txinfo26.test, tests/txinfo27.test: + Likewise. + + Quote @abs_top_builddir@ and @abs_top_srcdir@. + * tests/aclocal.in: Likewise. + * tests/automake.in: Likewise. + + Fix TAGS and GTAGS rules to cope with whitespace in `pwd`. + * lib/am/tags.am (TAGS): Use positional parameters to avoid + the need to quote absolute file names. + (GTAGS): Quote absolute file name. + (CTAGS): Simplify, dropping unused variable `$tags'. + +2007-11-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Fix another instance + of am__strip_dir. Fixes nobase and pr300-ltlib test failures. + +2007-11-25 Akim Demaille <akim@lrde.epita.fr> + + Several *-local in a rule do not work. + * tests/all.test: Check this case. + Use set -e. + * tests/Makefile.am (XFAIL_TESTS): Add it. + +2007-11-25 Akim Demaille <akim@lrde.epita.fr> + + Fix uses of am__strip_dir. + * lib/am/libs.am, lib/am/ltlib.am: Catch up with the change of + definition of am__strip_dir. + +2007-11-25 Akim Demaille <akim@lrde.epita.fr> + + Define and use register_action. + * lib/Automake/Rule.pm: Fix a few typos in the doc. + (&rule): Use || to simplify the code. + (®ister_action): New. + Export it. + * automake.in (&handle_factored_dependencies, &file_contents_internal): + Use it. + +2007-11-25 Akim Demaille <akim@lrde.epita.fr> + + * bootstrap: Fix typos on redirections. + +2007-11-24 Akim Demaille <akim@lrde.epita.fr> + + Skip comments and empty lines in dirlist in the tests. + * defs.in (extra_includes): Skip comments and empty lines in dirlist. + +2007-11-24 Akim Demaille <akim@lrde.epita.fr> + + Ternary operator in lib/am files. + * automake.in (&transform_token): New. + (&transform): Use it. + Support %KEY?TRUE:FALSE%. + (&make_paragraphs): Adjust the regexp to call %transform. + * lib/am/data.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am, + * lib/am/progs.am, lib/am/python.am, lib/am/scripts.am: + Use %KEY?TRUE:FALSE%. + * lib/am/inst-vars.am (am__strip_dir): Assign the result to f + to be more alike am__vpath_adj. + Adjust dependencies. + +2007-11-24 Akim Demaille <demaille@gostai.com> + + * automake.in: Normalize white spaces. + +2007-11-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure.ac (ACLOCAL, AUTOMAKE): Fix quoting for rebuilding + rules, if the absolute build directory name contains white space. + +2007-11-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * aclocal.in (trace_used_macros): Quote input files. + + * lib/ylwrap: Cope with white space in `PROGRAM' and `pwd`. + + * lib/am/tags.am (ID, TAGS, CTAGS): Make awk scripts portable again. + (CTAGS): Drop unneeded variable `here'. + +2007-11-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * tests/output13.test: New test. + * tests/Makefile.am: Adjust. + Prompted by report from Bruno Haible in + <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00479.html>. + + Fix signal handling in aclocal. + * aclocal.in (unlink_tmp): If invoked by a signal, note so + in verbose mode. Reinstall default signal handler and reraise, + to transport the interrupt information. + +2007-11-13 Bob Proulx <bob@proulx.com> + + Fix color test failure on dumb (and other) terminals. + * tests/color.test: Set TERM to `ansi'. + +2007-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Avoid spurious test failure with `make check TESTS=check5.test'. + * tests/check5.test: unset TESTS. + + Fix maintainer-check failure. + * tests/color.test: unset TESTS, use `make -e' rather than + `make MACRO=val'. + +2007-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure.ac (AM_INIT_AUTOMAKE): Require version 1.10a. + + * automake.in (handle_tests): Remove debugging leftover. + + Run each test in a process-private subdirectory. + * tests/defs.in: Employ a trap to clean up at the end of the + test in case the test succeeded. This needs to be revisited + because we would like to keep the output of XPASSing tests. + Also, note when we were interrupted by a signal. Code taken + from Autoconf's _AC_INIT_PREPARE. + If $keep_testdirs is set, keep them even for successful tests. + * tests/Makefile.am (check-clean-local): New target. Remove all + tests subdirs, but also make them writable first. The latter + was already needed without per-test subdirs. + (distclean-local): Depend upon check-clean-local. + * tests/Makefile.in: Regenerate. + * tests/.cvsignore, tests/.gitignore: Adjust. + + Fix default includes ordering to be `-I. -I$(srcdir) ...' again. + * automake.in (handle_compile): Put -I$(srcdir) before include + paths for config headers, as was done before Automake 1.10, but + keep uniquified list without multiple adjacent spaces. + * doc/automake.texi (Program variables): List include paths + in order. + * NEWS: Mention 1.10 regression. + * tests/stdinc.test: New test. + * tests/Makefile.am: Adjust. + * THANKS: Update. + Report by Kent Boortz. + +2007-11-08 Akim Demaille <akim@lrde.epita.fr> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Bob Proulx <bob@proulx.com> + + Implement colorized test output. + * automake.in (handle_tests): Set COLOR depending on `color-tests'. + * configure.ac (AM_INIT_AUTOMAKE): Use `color-tests'. + * doc/automake.texi (Tests, Options): Document test results, + document new option, document AM_COLOR_TESTS. + * lib/Automake/Options.pm (_process_option_list): Handle it. + * lib/am/check.am (am__tty_colors): New variable. Enable colored + output if TERM is not dumb and depending on AM_COLOR_TESTS and + whether stdout is connected to a terminal. + (check-TESTS): Use am__tty_colors. + * NEWS: Mention color-tests. + * tests/color.test: New test. + * tests/Makefile.am: Adjust. + +2007-11-08 NightStrike <nightstrike@gmail.com> (tiny change) + + For PR automake/526: + * doc/automake.texi (Basic Installation): Fix typo. + +2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Accommodate for new macro AC_AUTOCONF_VERSION. + * aclocal.in (write_aclocal): Use AC_AUTOCONF_VERSION rather + than m4_PACKAGE_VERSION. Define the former if not defined. + * m4/amversion.in (AM_SET_CURRENT_AUTOMAKE_VERSION): Likewise. + * tests/missing4.test: Use AC_AUTOCONF_VERSION. + +2007-10-29 Bruno Haible <bruno@clisp.org> + + * doc/automake.texi (Program variables): Clarify that + Automake does not put DEFAULT_INCLUDES in AM_CPPFLAGS, but + passes it directly to compilation commands. + +2007-10-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Move to git as primary source repository. + * Makefile.am (git-dist, git-release): Renamed and adjusted from ... + (cvs-dist, cvs-release): ... these. + (git-diff): New target, taken and adjusted from cvs-diff. + * Makefile.in: Regenerate. + * bootstrap: Adjust. + * NEWS: Announce change. + * doc/automake.texi (General Operation): cvs-dist is git-dist now. + (Timeline): Mention change. + +2007-10-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * automake.in: Treat extension .sx also like preprocessed + assembler (.S), following GCC. + * NEWS: Update. + * doc/automake.texi (Assembly Support): Adjust. + * tests/asm3.test: New test. + * tests/Makefile.am: Update. + +2007-10-09 Jim Meyering <meyering@redhat.com> + + Add lzma compression support. + * NEWS: Mention it. + * automake.in (handle_dist): Recognize dist-lzma. + (make_paragraphs): Map LZMA to dist-lzma. + * doc/automake.texi (Dist): Add dist-lzma. + (Options): Likewise. + * lib/Automake/Options.pm (_process_option_list): + (dist dist-all): Add command to create an lzma-compressed tarball. + (distcheck): Handle lzma-compressed tarballs just like the others. + * tests/defs.in: Test for lzma, too. + * tests/lzma.test: New file, based on nogzip.test. + * tests/Makefile.am (TESTS): Add lzma.test. + Suggestion from Karl Berry. + +2007-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * automake.in (TARGET_PATTERN): Allow leading digit. + * tests/exeext3.test: Adjust to expose this. + Report by Claudio Fontana and Laurence Finston. + +2007-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * tests/defs.in (required): For gcj, check whether `gcj -v' + works, to avoid broken installations without libgcj.spec. + Export $GCJ. + * tests/gcj4.test: Setting GCJ not needed any more. + * THANKS: Update. + Report by Jesse Chisholm. + +2007-08-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/config-ml.in, lib/config.guess, lib/config.sub, + lib/symlink-tree, lib/texinfo.tex: New upstream versions. + +2007-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi (gettext): Fix link to gettext manual. + +2007-08-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + In ChangeLog files, use more-permissive notice rather than GPL, + as per usual GNU standards these days. + +2007-08-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * automake.in (handle_programs): Also clean .libs/_libs + directory for _PROGRAMS. + * tests/libtoo10.test: New test. + * tests/Makefile.am: Update. + * THANKS: Update. + Report by Guillermo Ontañón. + +2007-08-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * configure.ac: Actually require version 2.60 in the test for + Autoconf, and recommend it in the error messages. + * THANKS: Update. + Report by Robert Swafford. + +2007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi (VPATH Builds): Fix wording. + Report by Reuben Thomas. + +2007-07-22 Noah Misch <noah@cs.caltech.edu> + + * tests/subst.test: Move the AC_SUBST into a macro definition. + Avoids an error from CVS Autoconf. + * THANKS: Update. + Report by Benoit Sigoure. + +2007-07-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/configure.am (%?REGEN-ACLOCAL-M4%): New target + $(am__aclocal_m4_deps) without any dependencies, to avoid the + "deleted .m4 file" problem. + * tests/acloca22.test: New test. + * tests/Makefile.am: Update. + * NEWS: Update. + +2007-07-22 Francesco Salvestrini <salvestrini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/am/ltlib.am (install-%DIR%LTLIBRARIES) + (uninstall-%DIR%LTLIBRARIES): Use $(AM_LIBTOOLFLAGS) and + $(LIBTOOLFLAGS). + * lib/am/progs.am (install-%DIR%PROGRAMS) + (uninstall-%DIR%PROGRAMS): Likewise. + * tests/libtool7.test: Update test for `install' and + `uninstall' cases. + * NEWS, THANKS: Update. + +2007-07-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi: Remove Front-Cover and Back-Cover Texts, + this manual is not printed by the FSF. + +2007-07-16 Alexandre Duret-Lutz <adl@gnu.org> + + * NEWS: Clarify that COPYING files are not updated. + +2007-07-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi: New Back-Cover Text. + Report by Karl Berry. + +2007-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * aclocal.in (version): Fix output to match GCS requirements. + * automake.in (version): Likewise. + Report by Eric Blake. + + * COPYING, lib/COPYING: Update to GPLv3. All uses changed. + * NEWS: Update. + +2007-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/gnupload: Fix shell portability issues with for loops. + Report by Karl Berry. + +2007-06-23 Paul Eggert <eggert@cs.ucla.edu> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * aclocal.in (write_aclocal): Warn about autoconf + incompatibilities instead of making them fatal. + * tests/missing4.test: Adjust. + * NEWS: Update. + Problem reported by Bruno Haible in + <http://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>. + +2007-05-03 Stepan Kasal <kasal@ucw.cz> + + * doc/automake.texi, lib/Automake/Rule.pm: Fix typos. + * automake.in: Likewise. + (am_primary_prefixes): Keep the intentional typo there. + +2007-04-25 Eric Blake <ebb9@byu.net> + + * doc/stamp-vti: Remove generated file from revision control. + * doc/version.texi: Likewise. + +2007-04-23 Reuben Thomas <rrt@sc3d.org> (tiny change) + + * doc/automake.texi (Python): Fix typo. + +2007-03-30 Eric Blake <ebb9@byu.net> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/mdate-sh (ls_command): Use -n when available to avoid + problems with spaces in user/group names. + * tests/mdate5.test: New test. + * tests/Makefile.am: Adjust. + +2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * automake.in (handle_tests): Rewrite XFAIL_TESTS just like + TESTS, appending $(EXEEXT), so that matching continues to work + on w32. + * NEWS: Mention this. + * doc/automake.texi (EXEEXT, Extending): Update. + * tests/check7.test: New test. + * tests/Makefile.am: Adjust. + Bug report by Ed Hartnett. + +2007-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Again search + the whole file, but use sed to reduce the line length. + Fixes 1.10 regression. Report by David Byron. + * THANKS, NEWS: Update. + +2007-03-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/depcomp (aix): Rewrite depmode in the spirit of the tru64 + one. Fixes failure to catch dependencies with libtool and xlc + in case of enable_static=no (which is the default on AIX without + runtimelinking). + * tests/depcomp7.test: Run test once with --disable-shared and + once with --disable-static, to expose failure systematically. + * NEWS: Update. + +2007-03-29 Stepan Kasal <kasal@ucw.cz> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * automake.in (handle_LIBOBJS_or_ALLOCA): Fix the error message. + * tests/pr401.test: Update to expose the error. + * tests/pr401b.test: Likewise. + * tests/pr401c.test: Likewise. + +2007-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * automake.in (scan_autoconf_config_files): Warn about leading + `./' in config file names. + * tests/canon-name.test: New test. + * tests/Makefile.am: Update. + * THANKS: Update. + Suggestion by Claudio Fontana. + + * tests/yacc6.test: Add the generated headers to `BUILT_SOURCES' + as documented in the manual. Fixes parallel make failure. + Report by Dieter Jurzitza. + * THANKS: Update. + + * ChangeLog, TODO, tests/exdir3.test: Fix copyright notice. + + * TODO: Kill a couple of outdated items. + * tests/exdir3.test: New test. + * tests/Makefile.am: Update. + +2007-01-27 Bruno Haible <bruno@clisp.org> + + * doc/automake.texi (Multiple Outputs): Fix the multiple outputs + with locking example. + +2007-01-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi (Subpackages): Fix ambiguous wording. + Report and suggestions by Reuben Thomas. + * THANKS: Update. + +2007-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * tests/defs.in (is_newest): Cope with multiple newer files. + * NEWS: mention `install-sh -C'. + +2006-12-25 Paul Eggert <eggert@cs.ucla.edu> + + * lib/install-sh (initialize_posix_glob): New var. + Use it instead of setting posix_glob inline. + (posix_glob): Use '?'/''/: instead of ''/yes/no, for convenience. + (cmpprog, CMPPROG): New vars, since we use cmp rather than the diff + of Akim's patch. + Use LC_ALL before invoking 'ls' when we depend on its output format. + Don't use awk; just use the shell's builtin features. + Clean up $dsttmp if -C detects no installation is needed. + * tests/defs.in (is_newest): Renamed from is_younger; the new + name is more accurate. All uses changed. + (old_timestamp): New var. + * tests/instsh2.test: Rewrite to avoid the need for sleeping. + +2006-12-25 Akim Demaille <akim@epita.fr> + + * lib/install-sh: Implement install-sh -C. + (This patch is the remaining part of the patch proposed in + <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.) + (usage): Document it. + (copy_on_change): New var. + * tests/defs.in (is_younger): New function. + * tests/instsh2.test: Check install-sh -C. + +2006-12-24 Paul Eggert <eggert@cs.ucla.edu> + + * lib/install-sh: Fix typo in previous patch for handling --. + Use more-consistent style for ';;'. + Prefer || to if-then-else-:. + * tests/install2.test: Rework to avoid set -e problems. + +2006-12-24 Akim Demaille <akim@epita.fr> + + Simplify install-sh and its test. This shouldn't change any behavior. + (This patch is a subset of the patch proposed in + <http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00077.html>.) + * lib/install-sh (usage): Use usual GNU style. + (dstarg): Rename as... + (dst_arg): this for consistency. + Simplify quoting of assignments. + Sort them. + Don't use '\' to continue commands: && suffices. + Remove useless "continue" in the argument processing, + and factor the shifts. + * tests/defs.in: Some improvements to make it set -e clean. + Use the traditional ":" trick to protect loops from being empty. + Remove an empty straightforward piece of code prepared to define + additional variables. + Use test instead of [], for consistency. + * tests/install2.test: Use set -e, to simplify code. + +2006-12-20 Reuben Thomas <rrt@sc3d.org> (tiny change) + + * doc/automake.texi: Fix typo. + +2006-11-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/Makefile.am: Use $(MAKE) $(AM_MAKEFLAGS) for building + amhello, to prevent gmake from invoking make with MAKEFLAGS + it does not understand. + Report by Patrick Welche. + + * lib/gnupload: Revert last change. Add pointer to upload + instructions of the GNU Maintenance Instructions. + Suggestion by Karl Berry. + +2006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/gnupload: Add missing 'gnu' to example URL. + Report by Karl Berry. + +2006-10-28 Bobby Jack <bobbykjack@yahoo.co.uk> (tiny change) + + * doc/automake.texi (amhello Explained): autoconf creates + configure, not configure.ac. + * THANKS: Update. + +2006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi (Dist, Dependency Tracking Evolution): + Fix some typos. + * lib/Automake/Condition.pm: Likewise. + * lib/Automake/DisjConditions.pm: Likewise. + * lib/Automake/ItemDef.pm: Likewise. + * lib/Automake/Options.pm: Likewise. + * lib/Automake/Rule.pm: Likewise. + * lib/Automake/VarDef.pm: Likewise. + * lib/Automake/Variable.pm: Likewise. + * lib/Automake/Wrap.pm: Likewise. + * lib/Automake/XFile.pm: Likewise. + * m4/substnot.m4: Likewise. + +2006-10-16 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/gnupload: Update to version 1.1 of directive file. + +2006-10-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/am/depend2.am (%SOURCEFLAG%): New substitution, goes + right before the expanded source file name. + * automake.in (%sourceflags): New global: per-extension flag + to denote that the next compiler argument is the source file. + (scan_autoconf_traces): Trace AC_FC_SRCEXT; initialize + %sourceflags accordingly. + (handle_single_transform): Store source file extension in... + (%lang_specific_files): ...this and... + (handle_languages): ...adjust here. Pass flag in SOURCEFLAG. + * doc/automake.texi (Optional): Add AC_FC_SRCEXT. + (Fortran 9x Support): Update. + * tests/fort2.test: New test. + * tests/Makefile.am: Adjust. + * NEWS, THANKS: Update. + Suggested by Steven G. Johnson. + + For PR automake/480. + * automake.in (lang_f77_rewrite, lang_fc_rewrite) + (lang_ppfc_rewrite, lang_ppf77_rewrite, lang_ratfor_rewrite): + return `lang_sub_obj' to support subdir-object mode for the + Fortran dialects. + * tests/fort4.test, tests/fort5.test: New tests. + * tests/Makefile.am: Update. + * NEWS, THANKS: Update. + Report by Davyd Madeley and Shannon L. Brown. + + * lib/am/header-vars.am (pkglibexecdir): New variable. + * automake.in (%standard_prefix): Add it. + * doc/automake.texi (Uniform): Document it. + (Program Sources): Adjust. + * NEWS: Update. + * tests/libexec.test: New test. + * tests/Makefile.am: Update. + Suggested by Eric Blake. + +2006-10-15 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/gnupload: Update to version 1.1 of directive file. + + * configure.ac, NEWS: Bump version to 1.10a. + + * configure.ac, NEWS: Bump version to 1.10. + * doc/automake.texi (Releases): Update for 1.10. + + * lib/config.sub, lib/texinfo.tex: New upstream versions. + + * lib/am/depend2.am: Typo. + * lib/depcomp (scriptversion): Bump, to account for recent changes. + + * doc/automake.texi (Examples): Introduce the example, and point + to Hello World. + (Hello): Remove this obsolete node. + +2006-10-15 Hans Ulrich Niedermann <hun@n-dimensional.de> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + For PR automake/507: + * lib/am/distdir.am (distdir): filename-length-max check is not + done in sub-packages. + * doc/automake.texi (Options): Document this. + * tests/fn99subdir.test: New test. + * tests/Makefile.am: Update. + * THANKS: Update. + +2006-10-14 Alfred M. Szmidt <ams@gnu.org> (tiny change) + + * doc/automake.texi (Third-Party Makefiles): Fix typo. + * THANKS: Update. + +2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * aclocal.in (write_aclocal): Improve warning for mismatched + Autoconf version. + + * automake.in: For preprocessed assembler, add `$(DEFS) + $(DEFAULT_INCLUDES) $(INCLUDES)' to the compile rule. + * doc/automake.texi (Assembly Support): Update. + * NEWS: Update. + Suggested by Thomas Schwinge and Ralf Corsepius. + + For PR automake/492. + * automake.in (output_flag): Set to `-o' for Assembler and + preprocessed Assembler, assuming that all understand `-c -o'. + * THANKS, NEWS: Update. + * tests/subobj10.test: New test. + * tests/Makefile.am: Update. + Report by Thomas Schwinge. + + * automake.in (%_macro_for_cond): New variable. + (cond_stack_if): Use it for better error message about + missing dependency tracking conditionals. + * tests/asm2.test: New test, modelled after asm.test. + * tests/Makefile.am: Adjust. + Report by Ralf Corsepius. + + * doc/automake.texi (Options): `no-dependencies' is similar + to `--ignore-deps', not `--include-deps'. + * m4/as.m4 (AM_PROG_AS): If `no-dependencies', do not invoke + _AM_DEPENDENCIES. + * tests/nodep2.test: New test. + * tests/Makefile.am: Adjust. + + * automake.in (handle_LIBOBJS_or_ALLOCA): If we are in the + LIBOBJDIR, then we should not add a DEPDIR prefix. + * tests/pr401.test: Update test. + * tests/pr401b.test: Likewise. + * tests/pr401c.test: Likewise. + Report by Jim Meyering and Eric Blake. + + * lib/depcomp (gcc3): Put dependency extraction flags before the + `-c' flag, so they appear at the same position as in %FASTDEP% + mode in depend2.am. Fixes build failure for FreeBSD's c89, + which ignores unknown options only after the first non-option. + Bug report against M4 by Nelson H. F. Beebe. + +2006-10-14 Bruno Haible <bruno@clisp.org> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * automake.in ($seen_gettext_intl): New variable. + (handle_gettext): Consider it. + (scan_autoconf_traces): Add AM_GNU_GETTEXT_INTL_SUBDIR to the list. + Set $seen_gettext_intl when it is seen. + * doc/automake.texi (gettext, Optional): Update. + * tests/gettext3.test: New test. + * tests/Makefile.am: Update. + +2006-10-14 Paul Eggert <eggert@cs.ucla.edu> + + * lib/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m, + which incorrectly sets the mode of an existing destination + directory. In some cases the unpatched install-sh could do the + equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD + system. We hope this is rare in practice, but it's clearly worth + fixing. Problem reported by Alex Unleashed in + <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>. + Also, don't bother to check for -m bugs unless we're using -m; + suggested by Stepan Kasal. + +2006-10-14 Geoffrey Keating <geoffk@apple.com> (tiny change) + + * m4/multi.m4: Non-default multilibs may be cross compilation. + +2006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * automake.in: Fix some typos in comments. + * lib/Automake/Variable.pm: Likewise. + +2006-10-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * automake.in (handle_compile): Use subst, for maintainer-check. + +2006-10-09 Andreas Köhler <andi5.py@gmx.net> (tiny change) + + For PR automake/505: + * lib/am/configure.am (am__CONFIG_DISTCLEAN_FILES): + Fix typo: `config.status.lineno', not `configure.status.lineno'. + +2006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * NEWS: Mention that `install-sh' needs executable permissions. + * tests/nobase.test: Adjust. + Report by Patrick Welche. + +2006-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/am/check.am (check-TESTS): Fix matching of XFAIL_TESTS + against currently running test for the first and last element + of $(TESTS): add spacing so Solaris make does VPATH expansion + on these words, too. + * tests/check6.test: Update. + +2006-08-30 Paul Eggert <eggert@cs.ucla.edu> + + For PR automake/501: + * lib/am/depend2.am (?GENERIC?%EXT%.o, ?!GENERIC?%OBJ%): + Abbreviate output a bit by not bothering to quote the .Po file + name (the quoting doesn't suffice in general anyway), and by not + bothering to remove junk .Tpo files (as they'll be removed later). + This also lets 'make' run faster by avoiding a subshell. + +2006-08-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * automake.in: Fortran 77 and Fortran should require variables + F77 resp. FC to be defined, and suggest the respective Autoconf + macros otherwise. + * tests/fort1.test: New test. + * tests/Makefile.am: Update. + + * tests/ext.test: Add extensions f95, F90, F95. + +2006-08-30 Alexandre Duret-Lutz <adl@gnu.org> + + For PR automake/500: + * automake.in (handle_compile) <$default_includes>: Do not output + the same -I twice. Use @am__isrc@ instead of ` -I$(srcdir)'. + * m4/init.m4: Define am__isrc as ` -I$(srcdir)' only in + non-VPATH builds since we always have `-I.'. + * tests/subpkg.test: Make sure config headers are found in VPATH + and non-VPATH builds. + +2006-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi, lib/Automake/Rule.pm: Fix some typos. + * NEWS: Likewise. Clarify that only one LIBOBJDIR is supported. + +2006-08-23 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/ChannelDefs.pm (usage): Mention that -Wportability + is enabled by default with gnu and gnits strictness. + Report from Bruno Haible. + +2006-08-22 Paul Eggert <eggert@cs.ucla.edu> + + * NEWS: Mark de-ANSI-fication as being obsolete. + * doc/automake.texi: Likewise. + +2006-08-21 Stepan Kasal <kasal@ucw.cz> + + * Makefile.am, THANKS: Fix typos. + +2006-08-20 Alexandre Duret-Lutz <adl@gnu.org> + + * NEWS, configure.ac: Bump version to 1.9c. + + * NEWS, configure.ac: Bump version to 1.9b. + + * Makefile.am (maintainer-check): Check for mkdir_p in automake.in + too. + * automake.in (require_build_directory): Use MKDIR_P, not mkdir_p. + + * m4/mkdirp.m4: Typo in previous patch. + + * Makefile.am (maintainer-check): Fine-tune the "Unescaped @" + check so it doesn't complain about the '@ 's in node "Standard + Directory Variables". + + * INSTALL, lib/INSTALL, lib/texinfo.tex, lib/config.sub: New + upstream versions. + + * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Prefix mkdir_p with + $(top_builddir)/ if it is a relative directory. + +2006-08-19 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/lex.am, lib/am/yacc.am: Drop the inline rules, always use + ylwrap. Suggested by Akim Demaille long ago, to ease maintenance. + * automake.in (handle_languages): Do not define MORE-THAN-ONE. + (yacc_lex_finish_helper, lang_yacc_finish, lang_lex_finish): Always + require ylwrap. + * doc/automake.texi (Auxiliary Programs, Yacc and Lex): Update the + documentation of ylwrap. + * tests/lex.test, tests/lex4.test, tests/mmodely.test, + tests/yacc.test, tests/yacc2.test, tests/yacc3.test, + tests/yaccpp.test: Adjust. + + * doc/automake.texi (Releases): Update statistics until 1.9.6. + + * Makefile.am (maintainer-check): Check for mkdir_p. + * automake.texi (Obsolete macros): Document AM_PROG_MKDIR_P. + * lib/am/data.am, lib/am/distdir.am, lib/am/install.am, + lib/am/java.am, lib/am/libs.am, lib/am/lisp.am, lib/am/ltlib.am, + lib/am/mans.am, lib/am/progs.am, lib/am/python.am, + lib/am/scripts.am, lib/am/texinfos.am: Use MKDIR_P instead of mkdir_p. + * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Define mkdir_p using $MKDIR_P, not + as '$(MKDIR_P)', otherwise it will break `Makefile.in's that use + mkdir_p without defining MKDIR_P. + * tests/distdir.test, tests/instman.test, tests/txinfo21.test: + Adjust. + + * Makefile.am (SUBDIRS): Build lib first, for lib/Automake/Config.pm. + * configure.ac (ACLOCAL): Use --acdir=m4 in addition to + -I m4. Running aclocal during the rebuild rules will fail + if the default acdir does not exist. + + * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4: + Require Autoconf 2.60 instead of some intermediate development + version. + + * doc/automake.texi (Standard Directory Variables): Fix multitable + width. + (Autotools Introduction): Fix @uref usage. + +2006-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi: Fix some typos in the introduction, + adjust some spacing; spell `GNU Build System' consistently. + (menu): Unify node naming. + (Standard Directory Variables): Clarify that this list is not + exhaustive. + (DESTDIR): Fix example. + +2006-08-19 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Autotools Introduction) New chapter. + Thanks to Ben Pfaff and Ralf Wildenhues for comments. + (Auxiliary Programs, Install, Dist, Third-Party Makefiles) + (distcleancheck): More cross references. + * doc/amhello/configure.ac, doc/amhello/README, + doc/amhello/Makefile.am, doc/amhello/src/Makefile.am, + doc/amhello/src/main.c: New files. + * doc/Makefile.am (dist_noinst_DATA): Distribute them. + ($(srcdir)/amhello-1.0.tar.gz): New rule. + (dist_doc_DATA): Install amhello-1.0.tar.gz. + * Makefile.am (SUBDIRS): Update comment. + +2006-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi: Fix some typos. + +2006-08-14 Jonathan Higa <jthiga@gmail.com> + + * automake.in: Register "Unified Parallel C" as language. + (lang_upc_rewrite): New function. + (resolve_linker): Consider UPCLINK. + * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest + AM_PROG_UPC for UPC and UPCFLAGS. + * m4/upc.m4: New file. + * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case. + * m4/Makefile.am (dist_m4data_DATA): Add upc.m4. + * doc/automake.texi (Unified Parallel C Support): New node. + (Public macros): Mention AM_PROG_UPC. + (Program and Library Variables, Flag Variables Ordering): + Mention UPCFLAGS. + * tests/upc.test, tests/upc2.test, tests/upc3.test: New file. + * tests/Makefile.am (TESTS): Add them. + * tests/ext.test: Also test upc files. + +2006-08-04 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Scripts): Fix some errors in previous patch. + + * doc/automake.texi (Scripts): Revamp. Show an example of script + built from configure.ac. Discuss CLEANFILES and EXTRA_DIST for + other built scripts. + + * m4/init.m4: Suggest fixing the call to AC_INIT when + AC_PACKAGE_NAME or AC_PACKAGE_VERSION is undefined. This is for + newcomers who call AC_INIT and AM_INIT_AUTOMAKE without arguments. + * tests/init.test: New file. + * tests/Makefile.am (TESTS): Add it. + +2006-08-04 Stepan Kasal <kasal@ucw.cz> + + * automake.in (dist_dirs, fill_dist_dirs): Remove. + * lib/am/distdir.am (DISTDIRS): Remove. + * tests/distdir.test, tests/pr2.test: Do not grep, use + `make distdir' instead. + +2006-08-04 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Conditionals): Split in two sections, "Usage" + and "Portability", and add a third one, "Limits" to explain how + conditional definitions inside multi-lines definitions can be + handled. + * automake.in (handle_options): Do not assume that + AUTOMAKE_OPTIONS is defined in TRUE, but diagnose conditional + definitions of AUTOMAKE_OPTIONS. + Report from Bas Wijnen. + * tests/amopt.test: New test. + * tests/Makefile.am (TESTS): Add it. + + * aclocal.in (install_file): Cannot use /dev/null while diffing + new files, because Tru64's diff do not handle /dev/null. So + create an empty destination file before running diff on a new + file, and erase it afterward. Fall back to using /dev/null only + if we cannot create this file. + Report and initial patch from Ralf Wildenhues. + (unlink_tmp): New function. + * test/acloca18.test: Make sure the empty file has been erased. + +2006-08-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * automake.in (handle_LIBOBJS_or_ALLOCA): With subdir-objects, + do not prefix `$(top_builddir)/' aka `./' to nonempty LIBOBJDIR, + to help BSD Make find the files also in a VPATH build. + Also return the same path, possibly prefixed, for correct + depdir computation. + * tests/pr401.test: Update to expose wrong depdir computation. + Rewrite to not use the same file name for library object and + main program. + * tests/pr401b.test, tests/pr401c.test: Likewise. + +2006-07-09 Paul Eggert <eggert@cs.ucla.edu> + + * lib/install-sh: Don't incorrectly claim that this implementation + can install only one file at a time. + (doit_exec): New var, for using 'exec' if possible, to save a process. + (test_mode, intermediate_mode): Remove. + (mode): Check for IFS or globbing characters in mode, since they might + cause weird behavior with the other changes below. All later uses + of '"$mode"' changed to '$mode', since the ""s no longer matter. + Use octal modes if the invoker specifies an octal mode, and use + octal umask values if 'umask' outputs octal values; this is more + likely to work with older operating systems since Automake uses + octal modes, and also works around a bug with HP-UX 11.23 + 'mkdir -p -m u=rwx,g=rx,o=rx,u+wx' reported by Ralf Wildenhues in + <http://lists.gnu.org/archive/html/bug-automake/2006-06/msg00024.html>. + (cp_umask, mkdir_umask): New variables, to avoid + temporarily creating files or directories with too-permissive modes. + (mkdir_mode): Use the FreeBSD 'install' method for computing modes of + intermediate directories; this is safer. + (posix_mkdir): Also test mkdir -p -m ... by making a directory in + /tmp and checking the resulting mode with 'ls', to catch a bug in + HP-UX 11.23 and IRIX 6.5 mkdir reported by Ralf in the same message. + Use ':' for true, not 'true'; this is a bit faster on + traditional implementations. + +2006-07-09 Jim Meyering <jim@meyering.net> + + * lib/depcomp: "in in" -> "in" in comment. + +2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * tests/defs.in (AUTOMAKE_run): Redirect stdout before stderr, + for consistency with the recommendation prompted by this report: + <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>. + +2006-06-24 Stepan Kasal <kasal@ucw.cz> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Set `mkdir_p' to + `'$(MKDIR_P)'', so that it retains the per-directory value + computed by config.status. + * lib/am/distdir.am (distdir): do not use `$(mkdir_p)' from + a changed directory. Bugs reported by Ralf Menzel. + * THANKS: Update. + +2006-06-24 Eric Dorland <eric@debian.org> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * automake.in (scan_texinfo_file): Fix matching file extension. + * tests/txinfo31.test: New test. + * tests/Makefile.am: Update. + +2006-06-07 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (handle_LIBOBJS): Don't rely on the caller defining $1. + +2006-06-07 Stepan Kasal <kasal@ucw.cz> + + * m4/mkdirp.m4 (AM_PROG_MKDIR_P): Rewrite using AC_PROG_MKDIR_P. + +2006-06-06 Stepan Kasal <kasal@ucw.cz> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/am/distdir.am: Do not call $(mkdir_p) for each + distributed file, collect them and create them in one run, + and strip $(srcdir) and $(top_srcdir) all at once. + Fix some comment typos. + +2006-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler + 7.4.4m may omit the first included header dependency information + with `-MDupdate'. Refine test to catch this. + + * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap' + procedure. + + * tests/gettext.test: AM_PROG_GETTEXT of gettext >= 0.14.3 + requires `config.rpath' to be present, and automake now enforces + this. Test this, but only if the gettext installation works and + is recent enough to provide this diagnosis. + * tests/gettext.test: Provide a dummy `config.rpath' for all + subsequent checks. + * tests/gettext2.test, tests/subcond.test: Likewise. + + * tests/pr401.test: Replace "perl -i" with sed and mv, for + MinGW perl. + * tests/pr401b.test, tests/pr401c.test, tests/python11.test, + * tests/yacc6.test, tests/yacc8.test: Likewise. + + * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use + plain `grep' on the Makefile, as its line length may exceed that + for grep. Bug report against coreutils by Sam Sirlin. + * THANKS: Update. + +2006-05-26 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change) + + * doc/automake.texi (Options): Add anchor `tar-formats'. + +2006-05-25 Noah Misch <noah@cs.caltech.edu> + + * lib/Automake/XFile.pm (lock): Allow EOPNOTSUPP, besides + ENOLCK. Only mention `make -j' when applicable. Only raise + fatal errors when `make -j' is involved. Improve error message. + +2006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/Automake/Configure_ac.pm (find_configure_ac): Use + `$configure_in' instead of `configure.in', to preserve + directory component. + * lib/Automake/Configure_ac.pm: Add note that Automake owns + this file. + * lib/Automake/Channels.pm: Likewise. + * lib/Automake/FileUtils.pm: Likewise. + * lib/Automake/Struct.pm: Likewise. + +2006-05-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex: + New upstream versions. + +2006-05-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi (Auxiliary Programs): Fix URL to GCC + repository, they use SVN now. + +2006-05-13 Werner Lemberg <wl@gnu.org> + + * lib/gnupload: Add support for savannah.gnu.org and + savannah.nongnu.org. + +2006-05-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/Automake/Channels.pm, lib/Automake/Condition.pm, + lib/Automake/DisjConditions.pm, lib/Automake/Options.pm, + lib/Automake/VarDef.pm, lib/Automake/Wrap.pm: Fix some typos. + +2006-05-11 Paul Eggert <eggert@cs.ucla.edu> + + * lib/install-sh: Sync from Autoconf, as follows: + Don't use 'path' to talk about file names, + as per GNU coding standards. Close a race condition reported by Ralf + Wildenhues and Stepan Kasal. There is still a race condition + on hosts that predate Posix 1003.1-1992, but we can't help this. + Don't mishandle weird characters like space on pre-Posix hosts. + Invoke mkdir at most once per dir arg on pre-Posix hosts. + +2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * tests/missing.test, tests/missing2.test: Do not require + GNUmake. + * Makefile.am (maintainer-check): Make sure `required=' does not + follow `. ./defs' in the tests. + + * tests/ansi10.test: Use AC_PROG_CC_STDC. Fix test that + ac_cv_prog_cc_stdc isn't just used by Automake code in + `configure'. + * tests/ansi6.test, tests/ansi7.test: Likewise. + * tests/ansi9.test: Likewise. Do not override by setting + $U and $(ANSI2KNR) at `make' time; that will be fragile. + * tests/libobj8.test: Use AC_PROG_CC_STDC. + * tests/subobj3.test: Likewise. Use `set -e'. + + * lib/install-sh: Initialize IFS, so field splitting isn't + turned off later. + * lib/mkinstalldirs: Likewise. + + * lib/am/java.am (class%DIR%.stamp): Do not assume `$?' has + the path of the prerequisite added; IRIX 6.5 make does not add + it, Solaris 2.6 make is inconsistent about adding it. Fixes + java.test failure. + + * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for + files in the source tree. Fixes failures with HP-UX and Tru64 + make. + + * lib/am/ansi2knr.am (ansi2knr): Rename target as... + (./ansi2knr): ...this, for BSD make. + (%ANSI2KNR-DIR%/ansi2knr): Adjust. + +2006-05-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * tests/depcomp6.test, tests/depcomp7.test: Cater for OpenBSD + /bin/sh -e issue with failing commands in if clauses. + + * tests/defs.in (Be Bourne compatible): Update from current + Autoconf. + + * configure.ac: Recommend perl-5.8.2. + * tests/automake.test: Do not fail because of buggy Getopt::Long + in perl < 5.8.2. + + * tests/longlin2.test: Do not use `grep' on Makefile.am: + it has long lines and is thus not a text file; AIX 5.1 grep + fails to scan non-plain patterns from long lines. + + * tests/overrid.test: Change all regexes for warning messages to + match after a colon, so that the prepended file names do not + cause false matches. Tighten overrides regex. Fix typo + `cleam-am-local' -> `clean-am-local'. + + * tests/java.test: `configure' uses a trap, so use `(exit 77); + exit 77' to portably set the exit status similar to AS_EXIT. + * tests/fn99.test: propagate nonzero exit status from subshell. + + * tests/mkinst3.test: Fix `mkdir' wrapper to not be confused + if ``pwd`' contains the string `-p'. Create the wrapper in a + subdirectory so that `.' in $PATH does not lead to an endless + loop. + + * lib/depcomp (ia64hp): Rename dependency style to.. + (hp2): ..this, as it works with aCC on HPPA, too; adjust + comment. Report by Olivier Fourdan (PR automake/481). + * THANKS: Update. + + * tests/aclocal7.test: Add `$sleep's between file touching + and automake resp aclocal+automake invocations, to ensure + they complete with a time stamp strictly later than the touched + file. + + * lib/missing: Remove superfluous quotes. Replace all uses of + `[' by `test', for consistency, and for.. + * tests/missing5.test: ..this new test. + * tests/Makefile.am: Update. + + * lib/missing (sed_minuso, sed_output): New variables. + (autom4te, help2man, makeinfo): Use them. Unifies detection of + `-o FILE', `--output FILE', `--output=FILE', stricter regex. + Fixes `missing' to detect `--output' for help2man. Fixes + PR automake/483. Report by Dennis J. Linse. + (autom4te): Document in `missing --help'. + * THANKS: Update. + +2006-04-26 Thien-Thi Nguyen <ttn@gnu.org> (tiny change) + + * doc/automake.texi (Dependency Tracking Evolution): Fix typo. + +2006-04-25 Stepan Kasal <kasal@ucw.cz> + + * lib/install-sh: Simplify the expr implementation of dirname. + +2006-04-24 Paul Eggert <eggert@cs.ucla.edu> + + * lib/install-sh: Handle --, and diagnose unknown options. + * m4/mkdirp.m4 (AM_PROG_MKDIR_P): In the normal case, set + mkdir_p='mkdir -p', not to 'mkdir -p --', for consistency with + the other ways that mkdir_p might be set. + +2006-04-21 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/amversion.in (_AM_AUTOCONF_VERSION): New macro. + (AM_SET_CURRENT_AUTOMAKE_VERSION): Call it. + * aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION. + (write_aclocal): Output a check for Autoconf's version in aclocal.m4. + Doing so ensures that users cannot build configure and Makefiles + with two different autoconf versions. Report from Noah Misch. + * tests/missing4.test: New file. + * tests/Makefile.am (TESTS): Add it. + +2006-04-20 Paul Lunau <temp@lunau.me.uk> (tiny change) + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/am/dejagnu.am (check-DEJAGNU): Fail when at least one test + failed, instead of when the last one failed (PR automake/488). + Report from Paul Lunau. + * tests/dejagnu4.test: Update to expose this. + * THANKS: Update. + +2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/am/check.am (check-TESTS): Match XFAIL_TESTS delimited by + TABs as well as spaces. Fixes PR automake/490. + * tests/check6.test: New test. + * tests/Makefile.am, THANKS: Update. + Report from Diab Jerius <djerius@cfa.harvard.edu>. + +2006-04-17 Stepan Kasal <kasal@ucw.cz> + + * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the + description; eliminate the duplicate error message. + * doc/automake.texi (@direntry): `Invoking Automake' is the name + of the usage node for `automake' + * lib/Automake/Variable.pm (%_gen_varname): Fix typos in the + comment. + +2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c, + because it uses `datarootdir'. Bump copyright year and serial. + +2006-04-10 Stepan Kasal <kasal@ucw.cz> + + * NEWS: Fix typo. + +2006-04-09 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions. + (_gen_varname): Use _hash_values, and return a flag indicating whether + the variable name was generated or reused. + (transform_variable_recursively): Do not redefine variables that + are reused, and try to reuse the variable being transformed. + * tests/check2.test: Make sure TESTS hasn't been redefined. + * tests/check5.test, tests/exeext4.test: Make sure variables have + been reused. + * tests/subst2.test: Make sure bin_PROGRAMS gets rewritten. + + * automake.in (%ignored_configure_vars): New variable. + (scan_autoconf_traces): Trace for _AM_SUBST_NOTMAKE and fill + %ignored_configure_vars. + (define_configure_variable): Declare ignored configure variables + as VAR_SILENT. Do not special-case AMDEPBACKSLASH and ANSI2KNR + w.r.t. VAR_SILENT. + * m4/substign.m4: New file. + * m4/Makefile.am (dist_m4data_DATA): Add substign.m4. + * m4/cond.m4: _AM_SUBST_NOTMAKE $1_TRUE and $1_FALSE (PR automake/477). + * m4/depend.m4: _AM_SUBST_NOTMAKE AMDEPBACKSLASH. + * m4/protos.m4: _AM_SUBST_NOTMAKE ANSI2KNR. + * tests/cond.test: Make sure TEST_FALSE and TEST_TRUE are not defined. + * tests/amsubst.test: New file. + * tests/Makefile.am (TESTS): Add it. + +2006-04-09 Stepan Kasal <kasal@ucw.cz> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * automake.in (handle_single_transform): Preserve directories in + direct suffix rules. + * tests/suffix12.test: New test. + * tests/Makefile.am (TESTS): Add it. + Report from John Ratliff. + +2006-03-25 Mike Frysinger <vapier@gentoo.org> (tiny change) + Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in ($m4_include_rx): Do not recognize `include', and + adjust scan_configure_dep and scan_file accordingly. + (scan_configure_dep): Do not search white lines. + (scan_file): Strip comments from current line after checking + for serial, so that aclocal does not trip on `m4_include' macros + in comments. Report from Mike Frysinger. + * tests/acloca21.test: New file. + * tests/Makefile.am (TESTS): Add it. + +2006-03-24 Stepan Kasal <kasal@ucw.cz> + + * tests/mmodely.test: Fix the test on systems with no lex. + +2006-03-23 Stepan Kasal <kasal@ucw.cz> + + * automake.in (libtool_new_api): Fix a typo in the comment. + * lib/Automake/Makefile.am (Config.pm): Likewise. + * lib/am/depend2.am: Likewise. + * tests/xsource.test: With `set -e', `|| exit 1' is no longer + needed. + +2006-03-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * tests/depcomp6.test, tests/depcomp7.test: Change back to + using `$MAKE && exit 1', but make sure the last command in the + test is successful. + +2006-03-21 Clifford Wolf <clifford@clifford.at> (tiny change) + Stepan Kasal <kasal@ucw.cz> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * aclocal.in (parse_arguments): Added wildcard support to the + dirlist parser. + * doc/automake.texi (Macro search path): Document it. + * tests/dirlist2.test: New test. + * m4/dirlist, tests/Makefile.am: Adjust. + +2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)' + to `AC_PROG_OBJC' if provided, to fix Objective C depmode + handling. + * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for + OBJC and OBJCFLAGS. + * tests/ext.test: Adjust. + * tests/objc.test, tests/objc2.test: New tests. + * tests/Makefile.am: Adjust. + * doc/automake.texi (Objective C Support): New node. + (Support for Other Languages): Adjust. + +2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/Automake/RuleDef.pm (DESCRIPTION): Typo. + + * tests/depcomp6.test, tests/depcomp7.test: Fix failure logic + to work with `set -e'. + + * tests/depcomp6.test, tests/depcomp7.test: New tests, + for general `depcomp' functionality, with and without + `subdir-objects', with and without `libtool'. + * tests/Makefile.am: Adjust. + + * aclocal.in (write_aclocal): Unlink `aclocal.m4' before + writing into it, to break a symlinked file. + * tests/acloca20.test: New test. + * tests/Makefile.am: Updated. + +2006-03-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Allow package trees (packages with subpackages) to share + common distributed auxiliary files (and directories) that + reside within a subpackage. + + * lib/am/distdir.am (distdir %?TOPDIR_P%): Do not fail if + `$(distdir)' already exists. + (%?SUBDIRS%): Set `am__remove_distdir' to `:' to prevent + removal of subpackage trees for distribution. + * tests/subpkg3.test: New test. + * tests/Makefile.am: Update. + +2006-03-18 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/check5.test, tests/nobast.test: Fix $MAKE and rm + invocations to please maintainer-check. + +2006-03-10 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (lang_c_rewrite): Typo in previous change. + * tests/ccnoco2.test: New file. + * tests/Makefile.am (TESTS): Add ccnoco2.test. + + * automake.in (lang_c_rewrite): Make the AM_PROG_CC_C_O requirement + a 'portability' warning, so that people can ignore it. Suggested + by Ralf Wildenhues. + + * lib/Automake/ChannelDefs.pm: Make -Wportability the default in + gnu and gnits modes. + * doc/automake.texi (Invoking Automake): Adjust. + +2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * doc/automake.texi (Yacc and Lex): Document that `.ypp' and + `.lpp' file extensions are recognized. + +2006-02-21 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Complete, Extending aclocal, Public macros) + (Python, Conditionals, API versioning): Always quote macro arguments. + Report from Stepan Kasal. + +2006-02-16 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Python): More examples. + +2006-02-05 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (distcleancheck): Fix bad wording. Report + from Bob Rossi. + (Man pages): Show dist_man_MANS, not EXTRA_DIST = $(man_MANS). + +2006-01-29 Alexandre Duret-Lutz <adl@gnu.org> + + Append $(EXEEXT) to programs that may be listed in TESTS. + Report from Simon Josefsson. + + * automake.in (%known_programs): New global. + (initialize_per_input): Reset it. + (append_exeext): Take a predicate as first argument to select + the filename to rewrite. + (handle_programs): Fill %known_programs. + (handle_tests): Append $(EXEEXT) to all tests that are in + %known_programs. + (am_install_var): Update call to append_exeext. + * doc/automake.texi (EXEEXT): TESTS is also rewritten. + (Tests): More about the difference between check_PROGRAMS and TESTS. + Give an example of TEST_ENVIRONMENT. + * tests/cond32.test: Augment with a nested condition. + * tests/exeext4.test: Also check TESTS. + * tests/check5.test: New file. + * tests/Makefile.am (TESTS): Add check5.test. + +2006-01-12 Paul Eggert <eggert@cs.ucla.edu> + + * lib/install-sh (dstdir): Don't use semicolons inside { } in + sed scripts, as Posix says it's not portable. + * lib/missing (file): Likewise. + * lib/am/distdir.am (distcheck): Likewise. + * tests/comment7.test, tests/comment9.test, tests/confh.test: Likewise + * tests/distcom2.test, tests/distcom3.test: Likewise. + * tests/distcom4.test, tests/distcom5.test: Likewise. + * tests/distcom6.test, tests/include.test, tests/pluseq8.test: Likewise. + +2006-01-12 Alexandre Duret-Lutz <adl@gnu.org> + + * ChangeLog: Move 2004's entries to ... + * ChangeLog.04: ... this new file. + * Makefile.am (EXTRA_DIST): Add ChangeLog.04. + + * tests/txinfo13.test: Test fix below. + +2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/am/texinfos.am (dist-info): Tighten glob to avoid unwanted + extra files in distribution. Reported by Vincent Lefevre. + +2006-01-06 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Linking, Program and Library Variables): + Mention the file extensions that usually appear in _DEPENDENCIES, + and point to BUILT_SOURCES and example of _DEPENDENCIES uses. A + couple of people have been listing sources files in _DEPENDENCIES + lately. + + * doc/automake.texi: Bump copyright year. + * automake.in ($gen_copyright, version): Likewise. + * aclocal.in (write_aclocal, version): Likewise. + +2006-01-05 Stepan Kasal <kasal@ucw.cz> + Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (topsrcdir): New global. + (generate_makefile): Compute it. + (fill_dist_dirs): New function extracted from handle_dist. + (handle_dist, handle_configure): Use fill_dist_dirs. + * tests/distdir.test: Test for cases where $(top_srcdir) or + $(srcdir) appear in EXTRA_DIST. Report from Sander Niemeijer. + +2006-01-05 Zack Weinberg <zackw@panix.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/depcomp: Add 'ia64hp' dependency style. + Zack's original patch was contributed to GCC on 2005-06-13. + (tru64): Typo. + +2005-11-01 Stepan Kasal <kasal@ucw.cz> + + * lib/install-sh: Use "trap '' 0" instead of "trap - 0", so that + the code is portable to both POSIX and pre-POSIX shells. + +2005-10-17 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/nobase.test: Use `chmod a-x' instead of `chmod -x', + suggested by Eric Blake. + +2005-10-17 Stepan Kasal <kasal@ucw.cz> + + * doc/automake.texi (Program and Library Variables): Typo. + * lib/Automake/Variable.pm (transform_variable_recursively): Typo + in a comment. + +2005-10-03 Stepan Kasal <kasal@ucw.cz> + + * ChangeLog.03, automake.in, tests/overrid.test: Typos. + +2005-10-03 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/nobase.test: Exercise previous patch. + +2005-10-03 Peter O'Gorman <peter@pogma.com> (tiny change) + + * lib/am/distdir.am: Remove $(SHELL) when calling install_sh + * m4/strip.m4: Ditto. + * m4/install-sh.m4: Add $(SHELL) to the definition of install_sh + +2005-09-13 Paul Eggert <eggert@cs.ucla.edu> + + * doc/automake.texi (limitations on file names): New section. + * lib/install-sh: Rewrite to support '*' in file names. + Also, tune so that we don't invoke so many commands in the usual case. + This has the side effect of fixing `install-sh -d' to not fail if it + loses the race in creating the last path component against another + process. + * tests/instspc.test: The "*" test is now fixed. + +2005-09-13 Stepan Kasal <kasal@ucw.cz> + + * automake.in (Languages) <cppasm>: Fix typo in the comment. + +2005-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lib/am/ltlib.am (uninstall-%DIR%LTLIBRARIES): Do not put + shell in verbose mode. + +2005-08-07 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Variable.pm (variable_value): Do not read the TRUE + value of a conditionally defined variable. + Report from Juergen Leising. + + * automake.in (lang_yacc_target_hook): Use AM_MAKEFLAGS in recursive + $(MAKE) invocations. + * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%): + Likewise. + * lib/am/texi-vers.am (%STAMPVTI%): Likewise. + * lib/am/remake-hdr.am (%CONFIG_H%): Likewise. + * Makefile.am (maintainer-check): Check for this. + Report from Stepan Kasal. + + * m4/mkdirp.m4: Update misleading comment about `mkdir -p .'. + Prompted by Stepan Kasal. + +2005-08-07 Stepan Kasal <kasal@ucw.cz> + + * lib/am/texinfos.am (uninstall-info-am): Call install-info only if + the $(infodir) exists. + +2005-07-31 Stepan Kasal <kasal@ucw.cz> + + * tests/library3.test: Fix a typo which made the test fail. + +2005-07-27 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Linking, Program and Library Variables): + Suggest reserving -l for third-party libraries. + + * lib/Automake/Variable.pm (require_variables): Mention aclocal's + search path when suggesting to add a macro in configure.ac. + People are confused when Automake suggests adding a macro (such as + AC_PROG_LIBTOOL) that is already in configure.ac. + * automake.in (require_file_internal): Suggest `automake --add-missing' + for missing files that can be installed. + * tests/library3.test: Adjust. + +2005-07-27 Stepan Kasal <kasal@ucw.cz> + + * tests/defs.in: When required matches both `*libtool*' and + `*gettext*', check for both m4 files. + + * doc/automake.texi (Auxiliary Programs): Fix a typo. + * tests/suffix11.test: Fix a typo. + * tests/colon3.test: s/EGREP/FGREP/. + +2005-07-19 Paul Eggert <eggert@cs.ucla.edu> + + * tests/instspc.test: Major rewrite to test for many other + problematic file names, e.g., '$', '"', '('. Automake and + Autoconf can't handle many of them, so do not report a failure + if the usual candidates show up. + +2005-07-19 Stepan Kasal <kasal@ucw.cz> + + * Makefile.am (automake, aclocal): Merge the rules. + +2005-07-10 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream + versions. + +2005-07-09 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/install-sh: Use IFS=/ to split directories on /, don't translate + / into % as it prevents directory names using %... + +2005-07-09 Stepan Kasal <kasal@ucw.cz> + + * doc/automake.texi (Public macros): Typo. + * aclocal.in: Typo in comment. + +2005-07-09 Zack Weinberg <zack@codesourcery.com> (tiny change) + + * lib/depcomp: Handle "#line" markers as well as "# " markers in + "cpp" style, so it can work with newer HP compilers (for their + ia64 systems). + +2005-07-02 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Public macros) <AM_WITH_DMALLOC>: Reword to + fix an underful hbox. + * lib/INSTALL, lib/config.guess, lib/config.sub, lib/texinfo.tex: + New upstream versions. + +2005-07-01 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add python2.5. + +2005-06-30 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (make_paragraphs): Do not define %TOPDIR%, now that + lib/am/header-vars.am no longer uses it. + * lib/am/libtool.am (distclean-am, distclean-libtool): Define + if TOPDIR_P is true, not TOPDIR. + Suggested by Stepan Kasal. + + * automake.in (read_am_file): Correctly diagnose comments following + trailing backslash. + * tests/commen10.test: New file. + * tests/Makefile.am (TESTS): Add commen10.test. + Report from Harald Dunkel. + + * automake.in (scan_autoconf_traces): Scan AC_SUBST_TRACE instead + of AC_SUBST. + * lib/am/header-vars.am (srcdir, top_srcdir, top_builddir, INSTALL): + Do not define, they are AC_SUBST_TRACEd by Autoconf. + * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.59c. + * tests/include.test: Call AC_OUTPUT. + +2005-06-29 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/mkinstalldirs: Fix support for directory name with spaces if + `mkdir -p' does not work. + * tests/Makefile.am (TESTS): Add mkinst3.test. + * tests/mkinst3.test: New file. + Report from Noah Friedman. + + * doc/automake.texi (Include, Extending aclocal): Typos. + Report from Karl Berry. + +2005-06-28 Stepan Kasal <kasal@ucw.cz> + Alexandre Duret-Lutz <adl@gnu.org> + + * lib/mdate-sh: Avoid infinite loop with GNU ls when TIME_STYLE is set. + * tests/txinfo28.test: Set TIME_STYLE. + Report from Vincent Lefevre and James Youngman. + +2005-06-24 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/Automake/Variable.pm (define, _new): Remember the helper + variable created for the last conditional += on each variable, and + only append further += in the same condition to this last helper + variable, not to older helper variables. This way the order of + the items appended to the variable is preserved. + * tests/cond21.test: Adjust. + * tests/cond38.test: New file. + * tests/Makefile.am (TESTS): Add cond38.test. + Report from Ed Hartnett. + +2005-06-22 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/aclocal5.test: Adjust to recent CVS Autoconf changes. + + * automake.in (handle_footer): Do not output an unformatted + definition of SOURCES, it is already done correctly in + generate_makefile. This superfluous definition introduced long + lines in some Makefiles, hence breakages in tools with a limited + line length. Report from Mathias Froehlich. + +2005-06-11 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%): + Fix redirections in previous patch. + +2005-06-08 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/texibuild.am (?GENERIC_INFO?%SOURCE_SUFFIX%%DEST_SUFFIX%): + Do not backup any file if makeinfo is not installed. + * lib/missing (makeinfo): Do not touch a missing info file. + * tests/txinfo30.test: New file. + * tests/Makefile.am (TESTS): Add txinfo30.test. + Report from Bob Proulx. + + * doc/automake.texi (Extending aclocal): Typo. + +2005-05-24 Brian Gough <bjg@network-theory.co.uk> (tiny change) + + * lib/am/texinfos.am (.dvi.ps): Add $(am__TEXINFO_TEX_DIR) to TEXINPUTS. + +2005-05-15 Alexandre Duret-Lutz <adl@gnu.org> + + Fix PR automake/461: + * automake.in (require_build_directory): Canonicalize directories + with different names, such as `foo/bar' and `./foo//bar'. + * tests/subobj9.test: Augment to test that. + Report from Tom Tromey. + +2005-05-14 Alexandre Duret-Lutz <adl@gnu.org> + + * COPYING, ChangeLog, ChangeLog.00, ChangeLog.01, ChangeLog.02, + ChangeLog.03, ChangeLog.96, ChangeLog.98, HACKING, Makefile.am, + NEWS, README, TODO, aclocal.in, automake.in, bootstrap, configure, + configure.ac, doc/Makefile.am, doc/fdl.texi, lib/COPYING, + lib/Makefile.am, lib/acinstall, lib/compile, lib/config-ml.in, + lib/config.guess, lib/config.sub, lib/depcomp, lib/elisp-comp, + lib/gnupload, lib/mdate-sh, lib/missing, lib/py-compile, + lib/symlink-tree, lib/texinfo.tex, lib/ylwrap, + lib/Automake/ChannelDefs.pm, lib/Automake/Channels.pm, + lib/Automake/Condition.pm, lib/Automake/Config.in, + lib/Automake/Configure_ac.pm, lib/Automake/DisjConditions.pm, + lib/Automake/FileUtils.pm, lib/Automake/General.pm, + lib/Automake/Item.pm, lib/Automake/ItemDef.pm, + lib/Automake/Location.pm, lib/Automake/Makefile.am, + lib/Automake/Options.pm, lib/Automake/Rule.pm, + lib/Automake/RuleDef.pm, lib/Automake/Struct.pm, + lib/Automake/VarDef.pm, lib/Automake/Variable.pm, + lib/Automake/Version.pm, lib/Automake/Wrap.pm, + lib/Automake/XFile.pm, lib/Automake/tests/Condition.pl, + lib/Automake/tests/DisjConditions.pl, + lib/Automake/tests/Makefile.am, lib/Automake/tests/Version.pl, + lib/Automake/tests/Wrap.pl, lib/am/Makefile.am, + lib/am/ansi2knr.am, lib/am/check.am, lib/am/clean-hdr.am, + lib/am/clean.am, lib/am/compile.am, lib/am/configure.am, + lib/am/data.am, lib/am/dejagnu.am, lib/am/depend.am, + lib/am/depend2.am, lib/am/distdir.am, lib/am/footer.am, + lib/am/header-vars.am, lib/am/header.am, lib/am/inst-vars.am, + lib/am/install.am, lib/am/java.am, lib/am/lang-compile.am, + lib/am/lex.am, lib/am/library.am, lib/am/libs.am, + lib/am/libtool.am, lib/am/lisp.am, lib/am/ltlib.am, + lib/am/ltlibrary.am, lib/am/mans-vars.am, lib/am/mans.am, + lib/am/multilib.am, lib/am/program.am, lib/am/progs.am, + lib/am/python.am, lib/am/remake-hdr.am, lib/am/scripts.am, + lib/am/subdirs.am, lib/am/tags.am, lib/am/texi-vers.am, + lib/am/texibuild.am, lib/am/texinfos.am, lib/am/yacc.am, + m4/Makefile.am, tests/aclibobj.test, tests/acloca10.test, + tests/acloca11.test, tests/acloca12.test, tests/acloca13.test, + tests/acloca14.test, tests/acloca15.test, tests/acloca16.test, + tests/acloca17.test, tests/acloca18.test, tests/acloca19.test, + tests/aclocal.test, tests/aclocal3.test, tests/aclocal4.test, + tests/aclocal5.test, tests/aclocal6.test, tests/aclocal7.test, + tests/aclocal8.test, tests/aclocal9.test, tests/acoutbs.test, + tests/acoutbs2.test, tests/acoutnoq.test, tests/acoutpt.test, + tests/acoutpt2.test, tests/acoutqnl.test, tests/acsilent.test, + tests/acsubst.test, tests/acsubst2.test, tests/all.test, + tests/alloca.test, tests/alloca2.test, tests/alpha.test, + tests/alpha2.test, tests/amassign.test, tests/ammissing.test, + tests/ansi.test, tests/ansi10.test, tests/ansi2.test, + tests/ansi3.test, tests/ansi3b.test, tests/ansi4.test, + tests/ansi5.test, tests/ansi6.test, tests/ansi7.test, + tests/ansi8.test, tests/ansi9.test, tests/ar.test, tests/ar2.test, + tests/asm.test, tests/autohdr.test, tests/autohdr2.test, + tests/autohdr3.test, tests/autohdr4.test, tests/automake.test, + tests/auxdir.test, tests/auxdir2.test, tests/auxdir3.test, + tests/auxdir4.test, tests/backsl.test, tests/backsl2.test, + tests/backsl3.test, tests/backsl4.test, tests/badline.test, + tests/badopt.test, tests/badprog.test, tests/block.test, + tests/bsource.test, tests/canon.test, tests/canon2.test, + tests/canon3.test, tests/canon4.test, tests/canon5.test, + tests/ccnoco.test, tests/check.test, tests/check2.test, + tests/check3.test, tests/check4.test, tests/checkall.test, + tests/clean.test, tests/clean2.test, tests/colneq.test, + tests/colneq2.test, tests/colon.test, tests/colon2.test, + tests/colon3.test, tests/colon4.test, tests/colon5.test, + tests/colon6.test, tests/colon7.test, tests/comment.test, + tests/comment2.test, tests/comment3.test, tests/comment4.test, + tests/comment5.test, tests/comment6.test, tests/comment7.test, + tests/comment8.test, tests/comment9.test, tests/compile.test, + tests/compile_f90_c_cxx.test, tests/compile_f_c_cxx.test, + tests/cond.test, tests/cond10.test, tests/cond11.test, + tests/cond13.test, tests/cond14.test, tests/cond15.test, + tests/cond16.test, tests/cond17.test, tests/cond18.test, + tests/cond19.test, tests/cond2.test, tests/cond20.test, + tests/cond21.test, tests/cond22.test, tests/cond23.test, + tests/cond24.test, tests/cond25.test, tests/cond26.test, + tests/cond27.test, tests/cond28.test, tests/cond29.test, + tests/cond3.test, tests/cond30.test, tests/cond31.test, + tests/cond32.test, tests/cond33.test, tests/cond34.test, + tests/cond35.test, tests/cond36.test, tests/cond37.test, + tests/cond4.test, tests/cond5.test, tests/cond6.test, + tests/cond7.test, tests/cond8.test, tests/cond9.test, + tests/condd.test, tests/condhook.test, tests/condinc.test, + tests/condinc2.test, tests/condlib.test, tests/condman.test, + tests/condman2.test, tests/conf2.test, tests/confdeps.test, + tests/conff.test, tests/conff2.test, tests/confh.test, + tests/confh4.test, tests/confh5.test, tests/config.test, + tests/confincl.test, tests/conflnk.test, tests/conflnk2.test, + tests/conflnk3.test, tests/confsub.test, tests/confvar.test, + tests/confvar2.test, tests/copy.test, tests/ctarget1.test, + tests/cxx.test, tests/cxx2.test, tests/cxxansi.test, + tests/cxxcpp.test, tests/cxxlibobj.test, tests/cxxlink.test, + tests/cxxnoc.test, tests/cxxo.test, tests/cygwin32.test, + tests/dash.test, tests/defs.in, tests/defun.test, + tests/defun2.test, tests/dejagnu.test, tests/dejagnu2.test, + tests/dejagnu3.test, tests/dejagnu4.test, tests/dejagnu5.test, + tests/dejagnu6.test, tests/dejagnu7.test, tests/depacl2.test, + tests/depcomp.test, tests/depcomp2.test, tests/depcomp3.test, + tests/depcomp4.test, tests/depcomp5.test, tests/depdist.test, + tests/depend.test, tests/depend2.test, tests/depend3.test, + tests/depend4.test, tests/destdir.test, tests/dirforbid.test, + tests/dirlist.test, tests/discover.test, tests/distcom2.test, + tests/distcom3.test, tests/distcom4.test, tests/distcom5.test, + tests/distcom6.test, tests/distcom7.test, tests/distdir.test, + tests/distname.test, tests/dollar.test, tests/double.test, + tests/dup2.test, tests/else.test, tests/empty.test, + tests/empty2.test, tests/empty3.test, tests/empty4.test, + tests/exdir.test, tests/exdir2.test, tests/exeext.test, + tests/exeext2.test, tests/exeext3.test, tests/exeext4.test, + tests/exsource.test, tests/ext.test, tests/ext2.test, + tests/extra.test, tests/extra2.test, tests/extra3.test, + tests/extra4.test, tests/extra5.test, tests/extra6.test, + tests/extra7.test, tests/f90only.test, tests/flibs.test, + tests/fn99.test, tests/fnoc.test, tests/fo.test, tests/fonly.test, + tests/fortdep.test, tests/fpinst2.test, tests/fpinstall.test, + tests/gcj.test, tests/gcj2.test, tests/gcj3.test, tests/gcj4.test, + tests/gcj5.test, tests/getopt.test, tests/gettext.test, + tests/gettext2.test, tests/gnits.test, tests/gnits2.test, + tests/gnits3.test, tests/gnumake.test, tests/gnuwarn.test, + tests/gnuwarn2.test, tests/header.test, tests/help.test, + tests/hfs.test, tests/hosts.test, tests/implicit.test, + tests/include.test, tests/include2.test, tests/info.test, + tests/insh2.test, tests/install2.test, tests/installdir.test, + tests/instdat.test, tests/instdat2.test, tests/instexec.test, + tests/insthook.test, tests/instman.test, tests/instman2.test, + tests/instsh.test, tests/instsh2.test, tests/instspc.test, + tests/interp.test, tests/interp2.test, tests/java.test, + tests/java2.test, tests/java3.test, tests/javaprim.test, + tests/javasubst.test, tests/ldadd.test, tests/ldflags.test, + tests/lex.test, tests/lex2.test, tests/lex3.test, tests/lex4.test, + tests/lex5.test, tests/libobj10.test, tests/libobj11.test, + tests/libobj12.test, tests/libobj13.test, tests/libobj14.test, + tests/libobj2.test, tests/libobj3.test, tests/libobj4.test, + tests/libobj5.test, tests/libobj7.test, tests/libobj8.test, + tests/library.test, tests/library2.test, tests/library3.test, + tests/libtool.test, tests/libtool2.test, tests/libtool3.test, + tests/libtool4.test, tests/libtool5.test, tests/libtool6.test, + tests/libtool7.test, tests/libtool8.test, tests/libtool9.test, + tests/license.test, tests/link_c_cxx.test, tests/link_dist.test, + tests/link_f90_only.test, tests/link_f_only.test, + tests/link_fc.test, tests/link_fccxx.test, tests/link_fcxx.test, + tests/lisp2.test, tests/lisp3.test, tests/lisp4.test, + tests/lisp5.test, tests/lisp6.test, tests/lisp7.test, + tests/lisp8.test, tests/listval.test, tests/location.test, + tests/longlin2.test, tests/longline.test, tests/ltcond.test, + tests/ltcond2.test, tests/ltconv.test, tests/ltdeps.test, + tests/ltlibobjs.test, tests/ltlibsrc.test, tests/maintclean.test, + tests/make.test, tests/makej.test, tests/makevars.test, + tests/man.test, tests/man2.test, tests/mclean.test, + tests/mdate.test, tests/mdate2.test, tests/mdate3.test, + tests/mdate4.test, tests/missing.test, tests/missing2.test, + tests/missing3.test, tests/mkinst2.test, tests/mkinstall.test, + tests/mmodely.test, tests/multlib.test, tests/nobase.test, + tests/nodef.test, tests/nodef2.test, tests/nodep.test, + tests/nodepcomp.test, tests/nodist.test, tests/nodist2.test, + tests/nodist3.test, tests/nogzip.test, tests/nogzip2.test, + tests/noinst.test, tests/noinstdir.test, tests/nolink.test, + tests/nostdinc.test, tests/number.test, tests/obsolete.test, + tests/order.test, tests/outdir.test, tests/output.test, + tests/output10.test, tests/output11.test, tests/output12.test, + tests/output2.test, tests/output3.test, tests/output4.test, + tests/output5.test, tests/output6.test, tests/output7.test, + tests/output8.test, tests/output9.test, tests/overrid.test, + tests/parse.test, tests/percent.test, tests/percent2.test, + tests/phony.test, tests/pluseq.test, tests/pluseq10.test, + tests/pluseq2.test, tests/pluseq3.test, tests/pluseq4.test, + tests/pluseq5.test, tests/pluseq6.test, tests/pluseq7.test, + tests/pluseq8.test, tests/pluseq9.test, tests/postproc.test, + tests/ppf77.test, tests/pr2.test, tests/pr204.test, + tests/pr211.test, tests/pr220.test, tests/pr224.test, + tests/pr229.test, tests/pr243.test, tests/pr266.test, + tests/pr279-2.test, tests/pr279.test, tests/pr287.test, + tests/pr300-lib.test, tests/pr300-ltlib.test, + tests/pr300-prog.test, tests/pr307.test, tests/pr401.test, + tests/pr401b.test, tests/pr401c.test, tests/pr72.test, + tests/pr87.test, tests/pr9.test, tests/prefix.test, + tests/primary.test, tests/primary2.test, tests/primary3.test, + tests/proginst.test, tests/python.test, tests/python10.test, + tests/python11.test, tests/python12.test, tests/python2.test, + tests/python3.test, tests/python4.test, tests/python5.test, + tests/python6.test, tests/python7.test, tests/python8.test, + tests/python9.test, tests/recurs.test, tests/recurs2.test, + tests/regex.test, tests/remake.test, tests/remake2.test, + tests/remake3.test, tests/remake4.test, tests/remake5.test, + tests/req.test, tests/reqd.test, tests/reqd2.test, + tests/rulepat.test, tests/scripts.test, tests/seenc.test, + tests/sinclude.test, tests/space.test, tests/specflg.test, + tests/specflg2.test, tests/specflg3.test, tests/specflg6.test, + tests/specflg7.test, tests/specflg8.test, tests/specflg9.test, + tests/spell.test, tests/spell2.test, tests/spell3.test, + tests/spelling.test, tests/spy.test, tests/srcsub.test, + tests/srcsub2.test, tests/stamph2.test, tests/stdlib.test, + tests/stdlib2.test, tests/strip.test, tests/subcond.test, + tests/subcond2.test, tests/subcond3.test, tests/subdir.test, + tests/subdir2.test, tests/subdir3.test, tests/subdir4.test, + tests/subdir5.test, tests/subdir6.test, tests/subdir7.test, + tests/subdir8.test, tests/subdir9.test, + tests/subdirbuiltsources.test, tests/subobj.test, + tests/subobj2.test, tests/subobj3.test, tests/subobj4.test, + tests/subobj5.test, tests/subobj6.test, tests/subobj7.test, + tests/subobj8.test, tests/subobj9.test, tests/subobjname.test, + tests/subpkg.test, tests/subpkg2.test, tests/subst.test, + tests/subst2.test, tests/substre2.test, tests/substref.test, + tests/substtarg.test, tests/suffix.test, tests/suffix10.test, + tests/suffix11.test, tests/suffix2.test, tests/suffix3.test, + tests/suffix4.test, tests/suffix5.test, tests/suffix6.test, + tests/suffix7.test, tests/suffix8.test, tests/suffix9.test, + tests/symlink.test, tests/symlink2.test, tests/symlink3.test, + tests/syntax.test, tests/tags.test, tests/tagsub.test, + tests/tar.test, tests/tar2.test, tests/tar3.test, + tests/target-cflags.test, tests/targetclash.test, + tests/transform.test, tests/txinfo.test, tests/txinfo10.test, + tests/txinfo13.test, tests/txinfo16.test, tests/txinfo17.test, + tests/txinfo18.test, tests/txinfo19.test, tests/txinfo2.test, + tests/txinfo20.test, tests/txinfo21.test, tests/txinfo22.test, + tests/txinfo23.test, tests/txinfo24.test, tests/txinfo25.test, + tests/txinfo26.test, tests/txinfo27.test, tests/txinfo28.test, + tests/txinfo29.test, tests/txinfo3.test, tests/txinfo4.test, + tests/txinfo5.test, tests/txinfo6.test, tests/txinfo7.test, + tests/txinfo8.test, tests/txinfo9.test, tests/unused.test, + tests/vars.test, tests/vars3.test, tests/vartar.test, + tests/version.test, tests/version2.test, tests/version3.test, + tests/version4.test, tests/version6.test, tests/version7.test, + tests/version8.test, tests/vpath.test, tests/vtexi.test, + tests/vtexi2.test, tests/warnopts.test, tests/werror.test, + tests/werror2.test, tests/whoami.test, tests/xsource.test, + tests/yacc.test, tests/yacc2.test, tests/yacc3.test, + tests/yacc4.test, tests/yacc5.test, tests/yacc6.test, + tests/yacc7.test, tests/yacc8.test, tests/yaccpp.test, + tests/yaccvpath.test: Update FSF postal mail address. + + * tests/cxxnoc.test: Adjust grep pattern for CC, because CVS + Autoconf currently defines a CCC variable. + + * tests/output11.test, tests/output12.test: Use rm -f. + +2005-04-25 Gary V. Vaughan <gary@gnu.org> + Alexandre Duret-Lutz <adl@gnu.org> + + Support for remote LIBOBJS (and friends) with subdir-objects. + Fixes PR automake/401. + + * automake.in (config_libobj_dir): New variable. + (scan_autoconf_traces): Set config_libobj_dir from AC_CONFIG_LIBOBJ_DIR. + (handle_LIBOBJS_or_ALLOCA, require_libsource_with_macro): New functions. + (handle_LIBOBJS, handle_ALLOCA): Use them. Adjust location of + dependency files, possibly in a subdirectory. + * tests/pr401.test, tests/pr401b.test, tests/pr401c.test: New tests. + * tests/Makefile.am (TESTS): Add them. + * doc/automake.texi (Optional) <AC_CONFIG_LIBOBJ_DIR>: Document. + (LIBOBJS): Document changes in behaviour of + LIBOBJS, ALLOCA, LTLIBOBJS & LTALLOCA in the presence of + subdir-objects and an invocation of AC_CONFIG_LIBOBJ_DIR. + +2005-04-18 Jim Meyering <jim@meyering.net> + + * doc/automake.texi (Dist): Correct English. + +2005-03-31 Stepan Kasal <kasal@ucw.cz> + + * doc/automake.texi: When the phrase "for instance" introduces a + sentence, it should be delimited by a comma. + + * doc/automake.texi: Fix a few typos. + +2005-03-30 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Uniform): Use xmldir instead of htmldir as + example, since the GCS now define htmldir. + (Auxiliary Programs): Mention config-ml.in and symlink-tree. + Give a URL for texinfo.tex. + (Public macros): Sort alphabetically, and move obsolete macros... + (Obsolete macros): ... here. + Prompted by Karl Berry. + +2005-03-29 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Multiple Outputs): Fix mistakes reported by + Jim Meyering. + + * lib/am/lisp.am ($(am__ELCFILES)): Prevent races if the recover + rule is run with `make -j'. + * doc/automake.texi (Multiple Outputs): Adjust. + * tests/lisp6.test: Augment it. + * tests/lisp8.test: New file. + * tests/Makefile.am (TESTS): Add lisp8.test. + Suggested by Bruno Haible. + +2005-03-27 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi: Use @:, @., @!, and @tie{} where appropriate. + +2005-03-16 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/lisp.am ($(am__ELCFILES)): Do not attempt to recover + a missing *.elc file if it cannot be created because emacs does + not exist. + * tests/lisp7.test: New file. + * tests/Makefile.am (TESTS): Add lisp7.test. + Report from Greg Schafer. + +2005-03-05 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi: Replace wicked whiches by thats. + +2005-03-04 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in (scan_configure_dep, scan_file): Include file names + are relative to the directory of configure.ac, not to the + directory of the file doing the include. Remove code for this + latter case. + * tests/acloca13.test: Run distcheck and make sure all macros are + actually distributed. + +2005-03-03 Alexandre Duret-Lutz <adl@gnu.org> + + For PR automake/450: + * aclocal.in (scan_file, scan_configure_dep): Skip missing sincluded + files. + * automake.in (scan_autoconf_traces): Likewise. + * tests/sinclude.test: Augment. + Report from Peter Breitenlohner. + + For PR automake/450: + * aclocal.in (write_aclocal, trace_used_macros): Do not add/remove + acinclude.m4 and configure.ac to the include map in these two + places ... + (strip_redundant_includes): ... do it here. This completes the + previous change from 2005-03-01, that did not update + write_aclocal. + * tests/acloca19.test: Augment. + Report from Peter Breitenlohner. + +2005-03-02 Alexandre Duret-Lutz <adl@gnu.org> + + * tests/comment9.test: Typo. + +2005-03-01 Alexandre Duret-Lutz <adl@gnu.org> + + * automake.in (read_am_file): Preserve backslashes preceding ##-lines. + * tests/comment9.test: New file. + * tests/Makefile.am (TESTS): Add comment9.test. + Report from Julien Sopena. + + For PR automake/450: + * aclocal.in (trace_used_macros): Do not explicitly trace files + included by configure.ac. + * tests/acloca19.test: New file. + * tests/Makefile.am (TESTS): Add acloca19.test. + Report from Peter Breitenlohner. + +2005-02-27 Alexandre Duret-Lutz <adl@gnu.org> + + Fix for PR automake/448: + * automake.in (handle_factored_dependencies): Flag install-hook as + an error. + * tests/insthook.test: Exercise this. + + * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS. + * doc/automake.texi (Hard-Coded Install Paths): Adjust. + + * doc/automake.texi: Replace many uses of @samp by @code, and + vice versa. Use @command, @option, and @env where appropriate. + +2005-02-26 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi: "filename" -> "file name", for consistency + with GNU Coding Standards. See also Paul's change on 2004-08-20 + in Autoconf. + + * doc/automake.texi (A Library, Libtool Libraries): Show how to link + a program with a static or libtool library. + (Program and Library Variables): Make clearer that _LDADD and + _LIBADD may also list libraries. + Prompted by a mail from Bruce Korb. + + * doc/automake.texi (Alternative): Show how to rewrite nobase_ + variables using custom directory variables, and link to node + Uniform. Suggested by Leonardo Boiko. + + * doc/automake.texi (Flag Variables Ordering, User Variables): + Make clearer who the maintainer is, and that he can AC_SUBST AM_ + variables in configure.ac. Suggested by Norman Gray. + (Uniform, Public macros, Libtool Issues, Java Support, + Conditionals): Use `---' for em dash, and stick them to the + enclosing text. + + * doc/automake.texi: Reword a few sentences to fix all underflow + and overflow warnings during `make dvi'. + (Auxiliary Programs) <configure.guess, config.sub>: Update URL. + (Public macros) <AM_WITH_DMALLOC>: Likewise. + +2005-02-12 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/INSTALL, lib/config-ml.in, lib/config.guess, lib/config.sub, + lib/texinfo.tex: New upstream versions. + + * doc/automake.texi (Hard-Coded Install Paths): New node. + (Extending, Extending aclocal, Python): Link to it. + (Extending): Don't show how to install a file in /etc/ directly, + this is insane. + + * automake.in (read_am_file): Define variables containing long + lines as VAR_PRETTY to work around tools with limited input width. + * tests/longlin2.test: New file. + * tests/Makefile.am (TESTS): Add it. + Report from Albert Chin. + +2005-02-09 Alexandre Duret-Lutz <adl@gnu.org> + + Fix for PR automake/447: + * lib/depcomp (tru64) [libtool]: Also check for $dir.libs/$base.o.d. + Report from Mathias Doreille. Add some old comments from + Nicolas Joly for reference. + +2005-02-08 Stepan Kasal <kasal@ucw.cz> + + * lib/mdate-sh: Check the size of the word following the month to + catch Darwin. This way the filename can contain spaces. + + * doc/automake.texi (Requirements, Options): Typos. + +2005-02-08 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/missing (makeinfo): Compute the output file if neither -o + nor @setfilename is used. + Reported by Miroslaw Dobrzanski-Neumann and Bruno Haible. + +2005-02-07 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Requirements): Show one example of + AC_CONFIG_FILES with multiple outputs, and correct a few typos. + + * aclocal.in ($serial_line_rx): Expect at least one space between + `serial' and the following number. + Report from Jim Meyering. + + * lib/mdate-sh: Cope with Darwin's Day/Month/Year output. + Report from Peter O'Gorman. + +2005-02-06 Alexandre Duret-Lutz <adl@gnu.org> + + * aclocal.in (usage, parse_arguments): New --dry-run and --diff + options. + (install_file, write_aclocal): Honor --dry-run and --diff. + * doc/automake.texi (aclocal options): Document --dry-run and --diff. + (Serials): Mention --diff. + * lib/Automake/FileUtils.pm (handle_exec_errors): Accept an + $expected_exit_code argument. + (xsystem): Take a list of arguments, not a string. + * tests/acloca18.test: Use --dry-run and --diff. + Suggested by Paul Eggert. + + * doc/automake.texi (aclocal options, Macro search path, + Extending aclocal, Local Macros, Serials, Future of aclocal): Make + these subsection of ... + (Invoking aclocal): ... this. + + * aclocal.in ($serial_line_rx): Allow trailing garbage after the + serial number. + (scan_file): Explicitly mark the "ill-formed serial" message + as a warning. + * doc/automake.texi (aclocal options, Local Macros): Link to... + (Serials): ... this new section. + +2005-02-02 Paul Eggert <eggert@cs.ucla.edu> + + * lib/compile: Likewise. + +2005-02-02 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/elisp-comp: Use `(exit N); exit N', not `(exit N); exit'; + see 2004-12-17. + * lib/mdate-sh, lib/py-compile, lib/ylwrap: Exit with nonzero + status if a write failure occurs with --help or --version option, + as below. + +2005-02-02 Paul Eggert <eggert@cs.ucla.edu> + + * lib/depcomp: Exit with nonzero status if a write failure occurs + with --help or --version option. + * lib/elisp-comp: Likewise. + * lib/gnupload: Likewise. + * lib/install-sh: Likewise. + * lib/missing: Likewise. + * lib/mkinstalldirs: Likewise. + +2005-02-01 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (aclocal options): Typo. + + * aclocal.in (list_compare): New functions. + (scan_file): Honor #serial lines. + * tests/acloca18.test: New test. + * tests/Makefile.am (TESTS): Add it. + * doc/automake.texi (aclocal options, Local Macros): Document + #serial. + +2005-01-30 Alexandre Duret-Lutz <adl@gnu.org> + + Preliminary support for `aclocal --install'. + This still lacks #serial support. + * aclocal.in (reset_maps, install_file): New functions. + (write_aclocal): Copy files if --install. + (usage, parse_arguments): Recognize --install. + ("MAIN"): Start aclocal again if some file were installed. + * tests/acloca10.test: Augment to test --install. + * tests/aclocal.in, tests/defs.in: Add support for + ACLOCAL_TESTSUITE_FLAGS, used by acloca10.test. + * doc/automake.texi (aclocal options, Local Macros): Document + --install. + (Future of aclocal): Adjust. + + * doc/automake.texi (Macro search path): Using --acdir is not + obvious, it's erroneous. + + * doc/automake.texi (direntry): Let `info Automake' point to the + manual, and `info automake' to the `Invoking automake' node. Like + in Autoconf. + +2005-01-27 Akim Demaille <akim@epita.fr> + + * lib/Automake/Configure_ac.pm: s/filename/file_name/g. + From Paul Eggert. + +2005-01-24 Akim Demaille <akim@epita.fr> + + * lib/Automake/FileUtils.pm: Rename filename as file_name to be + consistent with the terminology of the GNU coding standards. + From Paul Eggert. + (update_file): Accept a $force argument, so that --force always + updates the time stamps. + +2005-01-23 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (How the Linker is Chosen): Explain how the + linker is chosen without diagram, and update to match the code. + Suggestion from Adrian Bunk. + +2005-01-16 Alexandre Duret-Lutz <adl@gnu.org> + + * lib/am/subdirs.am ($(RECURSIVE_TARGETS), $(RECURSIVE_CLEAN_TARGETS)): + Process all words of $MAKEFLAGS when checking for -k. + * tests/check4.test: New file. + * tests/Makefile.am (TESTS): Add check4.test. + Report from Eric Blake. + +2005-01-13 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/amversion.in (AM_AUTOMAKE_VERSION): Point users to + AM_INIT_AUTOMAKE if the version passed is incorrect. + * tests/version8.test: New file. + * tests/Makefile.am (TESTS): Add version8.test. + +2005-01-09 Alexandre Duret-Lutz <adl@gnu.org> + + * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4, + m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4, + m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4, + m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4, + m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4, + m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4, + m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4, + m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive + license that is used in aclocal.m4. Relicensing backed by RMS. + + * doc/automake.texi (A Library, LIBOBJS): Mention that empty + libraries are not portable. + +2005-01-05 Akim Demaille <akim@epita.fr> + + * aclocal.in ($ac_defun_rx): Match AU_ALIAS. + * tests/aclocal5.test (MORE_DEFS): Rename as... + (AM_TEST): this so that undefined macros are caught. + And make it an alias of AC_SUBST. + Test AU_ALIAS. + Reported by Martin Bravenboer. + +2005-01-03 Alexandre Duret-Lutz <adl@gnu.org> + + Fix handling of per-target flags in link rules. + * automake.in (define_per_target_linker_variable): New function. + (handle_programs, handle_ltlibraries): Use it. + (%link_languages): New map. + (register_language): Fill it. + * lib/am/ltlibrary.am (%LTLIBRARY%): Do not append + $(%XLTLIBRARY%_LDFLAGS) to the command, this is now done by + define_per_target_linker_variable if needed. + * lib/am/program.am (%PROGRAM%%EXEEXT%): Likewise with + $(%XPROGRAM%_LDFLAGS). + * doc/automake.texi (Program and Library Variables): Mention + AM_LDFLAGS and AM_LIBTOOLFLAGS in the definition of maude_LDFLAGS + and maude_LIBTOOLFLAGS. + * tests/libtool9.test: New file. + * tests/Makefile.am (TESTS): Add it. + * NEWS: Explain the backward incompatibility. + Report from Akim Demaille. + +2005-01-01 Alexandre Duret-Lutz <adl@gnu.org> + + * doc/automake.texi (Requirements) <AC_CONFIG_FILES>: Discuss + specifications with shell variables. + (Optional) <AC_CONFIG_HEADERS, AC_CONFIG_LINKS>: Point to + AC_CONFIG_FILES for this explanation. + * automake.in (substitute_ac_subst_variables_worker, + substitute_ac_subst_variables): Mew functions. + (rewrite_inputs_into_dependencies): Use substitute_ac_subst_variables + to ignore dependencies that contain unAC_SUBSTed shell variables. + (handle_configure): Likewise, do not output rules for + AC_CONFIG_HEADERS, AC_CONFIG_FILES, and AC_CONFIG_LINKS targets that + unAC_SUBSTed contain shell variables. + * tests/autohdr4.test: Use an AC_SUBST variable in a specification. + * tests/output11.test, tests/output12.test: New files. + * tests/Makefile.am (TESTS): Add output11.test and output12.test. + + * aclocal.in (parse_arguments, write_aclocal): Bump copyright year. + * automake.in ($gen_copyright, version): Likewise. + +----- + +Copyright (C) 2005-2012 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, are +permitted provided the copyright notice and this notice are preserved. + +;; Variables: +;; coding: utf-8 +;; End: diff --git a/old/ChangeLog.11 b/old/ChangeLog.11 new file mode 100644 index 000000000..ce9d2b8ad --- /dev/null +++ b/old/ChangeLog.11 @@ -0,0 +1,13107 @@ +2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: drop unnecessary requirement in 'subpkg.test' + * tests/subpkg.test ($required): Drop "bison", it is not required + anymore since commit `v1.11-502-g7e5ae80'. + +2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + gitlog-to-changelog: new auxiliary script, synced from gnulib + + We have plans to stop maintaining a version-controlled ChangeLog + file in the Automake repository, and instead begin to generate it + automatically from the git log messages. To do so, we will use + the `gitlog-to-changelog' script from gnulib. + + * lib/gitlog-to-changelog: New, synced from gnulib. + * Makefile.am (fetch): Fetch and sync it. + * lib/Makefile.am (EXTRA_DIST): Distribute it. + +2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + regex: remove obsolete macro AM_WITH_REGEX + Today, practically nobody uses the GNU rx library, which, according + to its own website <http://www.gnu.org/software/rx/rx.html>, has + been "decommissioned". Consequently, the automake-provided macro + AM_WITH_REGEX is not used nor required anymore. + * m4/regex.m4: Delete. + * m4/Makefile.am (dist_automake_ac_DATA): Do not list it anymore. + * doc/automake.texi (Obsolete Macros): Remove description, and in + fact any mention, of `AM_WITH_REGEX'. + * tests/regex.test: Delete. + * tests/help-regex.test: Likewise. + * tests/regex-obsolete.test: Likewise. + * tests/list-of-tests.mk: Do not list them anymore. + * NEWS: Update. + See also commits `v1.11-587-g5f335be' and `v1.11-433-g37b0aee', + where that macro had been deprecated. + +2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + cosmetics: be more consistent in copyright notices in tests + * tests/cond39.test: Update the heading copyright notice, to be + consistent with the formulation used in the other files. + * tests/cond40.test: Likewise. + * tests/cond41.test: Likewise. + * tests/cond42.test: Likewise. + * tests/cond43.test: Likewise. + * tests/conflnk4.test: Likewise. + * tests/extra8.test: Likewise. + * tests/extra9.test: Likewise. + * tests/suffix13.test: Likewise. + * tests/vala.test: Likewise. + * tests/vala1.test: Likewise. + * tests/vala2.test: Likewise. + * tests/vala3.test: Likewise. + * tests/vala4.test: Likewise. + * tests/vala5.test: Likewise. + * lib/Automake/tests/Condition.pl: Likewise. + * lib/Automake/tests/Condition-t.pl: Likewise. + * lib/Automake/tests/DisjConditions.pl: Likewise. + * lib/Automake/tests/DisjConditions-t.pl: Likewise. + * lib/Automake/tests/Version.pl: Likewise. + * lib/Automake/tests/Wrap.pl: Likewise. + * lib/Automake/tests/Cond2.pl: Add copyright notice. + * lib/Automake/tests/Cond3.pl: Likewise. + * lib/Automake/tests/DisjCon2.pl: Likewise. + * lib/Automake/tests/DisjCon3.pl: Likewise. + * lib/Automake/tests/Version2.pl: Likewise. + * lib/Automake/tests/Version3.pl: Likewise. + +2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/awk: "Bail out!" recognized also after leading whitespace + Newer versions of TAP::Harness (e.g., 3.23 on Perl 5.14.1) + recognize a "Bail out!" directive also when it is prepended by + leading whitespace; this was not the case for older TAP:Harness + versions, (e.g., for version 3.17 on Perl 5.12.4), and for our + TAP driver implemented in awk. + * lib/tap-driver.sh: Handle the "Bail out!" directive also when + it is preceded by leading whitespace. + * tests/tap-spurious.test: Remove the tests checking that a + "Bail out!" string coming right after leading whitespace does + not trigger a bailout action. + * tests/tap-bailout-leading-space.test: New test. + * tests/list-of-tests.mk: Add it. + Problem reported by Jim Meyering in automake bug#10374. + +2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure of cond29.test + * tests/cond29.test: Limit the amount of virtual memory available + to the automake process to ~ 150 MB, rather than only ~ 20 MB, to + account for higher (but still acceptable) memory usages on some + systems (in this case, a Fedora 16 distro on ppc64). To be + sure not to reduce coverage, increase the number of potential + combinations of automake conditionals from 2**22 = 4194304 to + 2**24 = 16777216. + We have actually verified that the new version of the test case + catches the Automake 1.7 it is intended to check against, using + the Automake 1.7.9 tarball downloaded from: + <http://ftp.gnu.org/gnu/automake/automake-1.7.9.tar.gz> + Reported by Jim Meyering in automake bug#10374. + +2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: "aclocal --install -I /abs/dir" actually copies files + + This change is for automake bug#8407. + + In the past, there had been some debate and confusion about + whether "aclocal --install" should copy third-party .m4 files + in the first directory passed to the `-I' option even when + such directory was given as an absolute path, or whether it + was better to do so only for directories specified with a + relative path. + + The rationale for this latter behaviour was that, before the + existence of the `ACLOCAL_PATH' variable, the only way (a poor + way, I might add) for a common user to extend the search path + of a system-wide installation of aclocal was to export something + like ACLOCAL="aclocal -I /my/extra/macros" in the environment. + Today, the correct way to proceed is undoubtedly through the + use of ACLOCAL_PATH, so we can settle the question once and for + all, and start verifying the correct behaviour of `-I' with a + new test. + + * tests/aclocal-install-absdir.test: New test. + * tests/Makefile.am (TESTS): Add it. + * doc/automake.texi (aclocal Options): Be more explicit about + this part of `--install' semantics. + +2011-12-26 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: fix node names for automake and aclocal invocations + + With the older node names, an "info automake" command issued + from the command line would have opened the node about the + invocation of the automake program, rather than the Top node + of the automake documentation. To invoke the Top node, one + had to issue the command "info Automake" instead (note the + different capitalization). This was suboptimal, and certainly + confusing. + + With this change, "info automake" will open the Top node of the + automake documentation; to access the nodes about the invocation + of the automake and aclocal program, one has now to issue "info + automake-invocation" and "info aclocal-invocation" respectively. + + This change fixes automake bug#8071. + + See also commits `v2.61a-22-ge9215d1' and `v2.61a-72-g8c07b48' in + the autoconf git repository, which tackled a similar issue. + + * doc/automake.texi (@direntry): Rename nodes `aclocal' and + `automake' to `aclocal-invocation' and `automake-invocation' + respectively. + * NEWS: Update. + +2011-12-26 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: tweak tests on silent-rules for makes without nested vars + * tests/silent-nested-vars.test: Define $MAKE to `./mymake' in + the environment, so that it will be automatically picked up by + configure. Related tweaks and simplifications. + Remove the checks verifying that silent rules are respected also + when the 'subdir-objects' option is set, the checks testing the + old syntax for user-defined silent rules, and the tests using + the default $MAKE programs: they are redundant w.r.t. other test + cases. Related simplifications. + Remove the temporary files used in a sanity check as soon as they + are not needed anymore. + Do not capture also the standard error of configure: we only want + to grep its standard output. + Consistently use `stdout' for the name of files where to save the + standard output captured from make and configure, for consistency + with other tests. + Make grepping of configure output and of the generated Makefile + stricter. + Improve and tweak the `mymake' script a little. + * tests/silent6.test: Make grepping of make stdout slightly + stricter. After having configured with silent rules disabled, + try to force the use silent rules with `make V=1'. + +2011-12-25 Paul Eggert <eggert@cs.ucla.edu> + + silent-rules: fallback for makes without nested vars + + This fixes two problems reported for Automake (Bug#9928, Bug#10237) + and is in response to a bug report for building coreutils on HP + NonStop OS (Bug#10234). The problem is that HP NonStop 'make' + treats a line like "AM_V_CC = $(am__v_CC_$(V))" as one that + expands a macro with the funny name am__v_CC_$(V instead of the + desired name am__v_CC_1 or am__v_CC_0, and since the funny macro + is not defined the line is equivalent to "AM_V_CC = )"; this + inserts a stray ")" when $(AM_V_CC) is used, which eventually + causes 'make' to fail. + + The basic idea is that instead of generating Makefile.in lines like + "AM_V_CC = $(am__v_CC_$(V))", we generate + "AM_V_CC = $(am__v_CC_@AM_V@)". We then AC_SUBST $(V) for @AM_V@ + in the usual case where `make' supports nested variables, + and substitute 1 (or 0) otherwise. Similarly for usages like + $(am__v_CC_$(AM_DEFAULT_VERBOSITY)). + + With this change, make implementations that doesn't grasp nested + variable expansions will still be able to run Makefiles generated + using the silent-rules option. They won't allow the user to + override the make verbosity at runtime through redefinition of + $(V) (as in "make V=0"); but this is still an improvement over not + being able to work at all. + + * NEWS: Document this. + * automake.in (define_verbose_var): When defining the variables, + use @AM_V@ rather than $(V), and use @AM_DEFAULT_V@ rather than + $(AM_DEFAULT_VERBOSITY). + * doc/automake.texi (Automake silent-rules Option): Explain new system. + * m4/silent.m4 (AM_SILENT_RULES): Check whether `make' supports + nested variables, and substitute AM_V and AM_DEFAULT_V accordingly. + * tests/silent-nested-vars.test: New test. + * tests/Makefile.am (TESTS): Add it. + +2011-12-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + gitignore: use only one .gitignore file, in the top-level directory + * doc/.gitignore, doc/amhello/.gitignore, lib/Automake/.gitignore, + lib/Automake/tests/.gitignore, tests/.gitignore: Deleted, their + contents merged into ... + * .gitignore: ... this top-level file. Since we are at it, improve + it by anchoring files where it makes sense. + +2011-12-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: one more fixlet for gettext macros requirement + * tests/gettext-macros.test (configure.in): Add calls to + AC_INIT and AC_PROG_CC, to avoid a spurious failure in the + later aclocal invocation. + Luckily, this wart wasn't causing any spurious SKIP or FAIL, + but only the redundant addition to the `-Wno-syntax' option + to some aclocal invocations in the gettext tests. + +2011-12-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix handling of gettext macros requirement + + The code introduced in the earlier change `v1.11-581-gb7d67d5' + and aimed at automatically fetching all the .m4 files provided by + gettext has proven inadequate, since it hasn't managed to truly + and always get *all* the required .m4 files. For example, it has + failed to fetch the file `intldir.m4' (present in gettext 0.18.1, + and where the macro `AM_GNU_GETTEXT_INTL_SUBDIR' is defined), + which in turn has caused spurious SKIPs of at least the test + `gettext3.test'. + + The reason for this debacle is that autopoint looks at the version + specified in AM_GNU_GETTEXT_VERSION to decide which version of the + gettext infrastructure to bring in; since we were unconditionally + specifying the older 0.10.35 version, the newer `.m4' files weren't + brought in. + + * tests/gettext-macros.test: In AM_GNU_GETTEXT_VERSION, instead + of unconditionally specifying the older 0.10.35 version, specify + the version of the available `gettextize' or `autopoint' program, + dynamically extracted with the help of ... + (extract_program_version):... this new function, and saved ... + ($autopoint_version): ... in this new variable. + +2011-12-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: automatically handle deps also for generated tests + * tests/gen-testsuite-part: The test scripts are now scanned for + automatic dependency generation *after* the auto-generated tests + have been created, so they too will be scanned. It is a little + tricky to ensure that the freshly-generated tests are correctly + scanned, and we do that with the help of ... + (@generated_tests): ... this new variable. + Other related minor changes and refactorings. + +2011-12-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: auto-generate deps for tests requiring libtool/gettext + * tests/gen-testsuite-part: Tests requiring libtool (or related + programs) will need libtool-provided m4 macros, so they should + be run after `libtool-macros.test'. Similarly for gettext tests. + So, generate proper declarations of such dependencies. + * tests/Makefile.am: Remove now-unneeded hand-written declaration + of those dependencies. + +2011-12-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove FIXME comments from tricks to pacify syntax checks + Originally, I myself had insisted on adding those "FIXME" comments + near every unusual construct or use of "creative quoting" whose + only purpose was to avoid false positive from out syntax checks. + I did that with the expectation that we could have easily and soon + added a whitelisting capability to our maintainer-specific syntax + checks. This hasn't been the case unfortunately, and now those + "FIXME" in the comments are just distracting noise, making it more + difficult to grep the test cases for stuff that could really use a + fix or an improvement. So just get rid of them. + * tests/instdir-ltlib.test: Remove that extra "FIXME". + * tests/instdir-prog.test: Likewise. + * tests/parallel-tests3.test: Likewise. + * tests/parallel-tests-dry-run.test: Likewise. + * tests/parallel-tests-console-output.test: Likewise. + * tests/parallel-tests-no-color-in-log.test: Likewise. + * tests/tap-realtime.test: Likewise. + * tests/test-trs-recover.test: Likewise. + * tests/tap-deps.test: Likewise. + +2011-12-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: few minor fixlets, improvements and tweakings + * tests/defs-static.in ($top_testbuilddir): New, for consistency + and completeness. + * tests/Makefile.am (do_subst): Substitute @abs_top_testbuilddir@ + as well. + * tests/java-compile-run-mested.test: Prefer AM_TESTS_ENVIRONMENT + over TESTS_ENVIRONMENT, now that the former has become available. + * tests/java-compile-run-flat.test: Correct a botched "FIXME" + comment. + * tests/tap-realtime.test: Remove extra whitespace in comments. + * tests/missing-tar.test: Use `get_shell_script' to bring in the + `missing' script, to increase coverage. Remove redundant call to + `set -e'. Fix a typo in comments. + * tests/get-sysconf.test: Remove redundant definitions of + `$top_testsrcdir', `testbuilddir' and `$top_testbuilddir'. + +2011-12-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove redundant uses of `set -e' + * tests/deleted-am.test: Do not set the `errexit' shell flag, as + it is already set by `tests/defs'. + * tests/deleted-m4.test: Likewise. + * tests/dist-missing-am.test: Likewise. + * tests/dist-missing-am.test: Likewise. + * tests/dist-missing-m4.test: Likewise. + * tests/dist-missing-included-m4.test: Likewise. + * tests/get-sysconf.test: Likewise. + * tests/makefile-deps.test: Likewise. + * tests/remake-m4-pr10111.test: Likewise. + * tests/remake-am-pr10111.test: Likewise. + * tests/remake-deleted-am.test: Likewise. + * tests/remake-deleted-am2.test: Likewise. + * tests/remake-deleted-am-subdir.test: Likewise. + * tests/remake-renamed-am.test: Likewise. + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix failure due to debugging code forgotten into a test + * tests/missing-tar.test: Don't ever call the `missing' script + with `sh -x'; this was used for debugging, but an instance of + it slipped into the committed test case. Bug revealed by a + failure on a Solaris 10 system with GNU tar installed as `gtar'. + +2011-12-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + Merge branch 'master' into testsuite-work + * tests/gettext-macros.test: In the generated `get.sh' file, + use `skip_all_', not `skip_'. + * tests/libtool-macros.test: Likewise. + * tests/list-of-tests.mk: Update. + +2011-12-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: avoid spurious failure of libtool and gettext tests + + On Solaris 10 (and presumably earlier), /bin/sh trips up on + here-documents that contains a command substitution *and* are + fed to a shell function: + + # All as expected. + $ cat <<END + `pwd` + END + /home/stefano + $ echo status = $? + status = 0 + + # An apparently innocuous function ... + $ kitty () { cat; } + # ... but hilarity ensues! + $ kitty <<END + `pwd` + END + /tmp/sh137723: cannot open + $ echo status = $? + status = 1 + + We need to work around this misbehaviour in a couple of our + tests (whose failures where causing cascading failures in a + lot of other tests). + + * tests/gettext-macros.test: Avoid the use of command substitution + in a here-document passed to the `indent' function, by using the + `echo' builtin instead. + * tests/libtool-macros.test: Likewise. + + See also: + <http://lists.gnu.org/archive/html/bug-autoconf/2011-12/msg00001.html> + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + Merge branch 'maint' into master. + * m4/regex.m4: Bump serial number by some notches, for good + measure. Prefer the deprecation message from maint over that + from master. + * m4/python.m4: Bump serial number. + * tests/Makefile.am (canon6.log): Depend on `libtool-macros.log'. + (canon7.log): Likewise. + (extradep2.log): Likewise. + (ar-lib4.log): Likewise. + (ar-lib6a.log): Likewise. + (ar-lib6b.log): Likewise. + (vartypo2): Likewise. + (posixsubst-ltlibraries.log): Likewise. + * tests/defs: Adjust the path of the included `get.sh' scripts + generated by `libtool-macros.test' and `gettext-macros.test'. + * aclocal.m4: Delete, it's auto-generated now. + * configure: Likewise. + * Makefile.in: Likewise. + * doc/Makefile.in: Likewise. + * m4/Makefile.in: Likewise. + * tests/Makefile.in: Likewise. + * lib/Makefile.in: Likewise. + * lib/am/Makefile.in: Likewise. + * lib/Automake/Makefile.in: Likewise. + * lib/Automake/tests/Makefile.in: Likewise. + * .gitignore: Correctly ignored the autogenerated files + that are not committed anymore. + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + hacking: distribute it, and mention it in the ChangeLog + Not distributing the HACKING file might make it more difficult, + for some random curious user, to get informed about or interested + in the Automake development process, or to send us patches. + * Makefile.am (EXTRA_DIST): Add HACKING. + * HACKING: It's OK to distribute this file, and to mention it in + the ChangeLog. + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + regex: deprecate the obsolete macro AM_WITH_REGEX + This is a backport of commit v1.11-433-g37b0aee. + Today, practically nobody uses the GNU rx library, which, according + to its own website <http://www.gnu.org/software/rx/rx.html>, has + been "decommissioned". Consequently, the automake-provided macro + AM_WITH_REGEX is not used nor required anymore. Deprecate it, so + that it will be possible to safely remove it in the next major + automake version. + * m4/regex.m4 (AM_WITH_REGEX): Give a warning of the class + `obsolete' when this macro is used. + * doc/automake.texi (Public Macros): Move description of + `AM_WITH_REGEX' from here ... + (Obsolete Macros): ... to here, and declare it as obsolete + and "to be removed in a future version". + * tests/regex-obsolete.test: New test. + * tests/Makefile.am (TESTS): Add it. + * NEWS: Update. + See also: + <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00131.html> + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + maint: distribute .xz tarballs, not .bz2 ones + Many GNU packages are moving towards xz-compressed tarballs, so + let's follow suit, by dropping the creation and distribution of + a bzip2-compressed tarball and switching to xz instead. + For compatibility and safeness, we will continue to create and + distribute a gzip-compressed tarball as well. + * configure.ac (AM_INIT_AUTOMAKE): Drop `dist-bzip2', add + `dist-xz'. + * NEWS: Update + Suggested by Jim Meyering. + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + include: avoid "deleted .am file" problem + * automake.in (handle_configure): When processing `configure.am', + also expand `HAVE-MAKEFILE-IN-DEPS' to a boolean telling whether + `MAKEFILE-IN-DEPS' is empty or not. + * lib/am/configure.am [?HAVE-MAKEFILE-IN-DEPS?] + (%MAKEFILE-IN-DEPS%): New target without dependencies, to + avoid the "deleted .am file" problem. Emit this only when + `?HAVE-MAKEFILE-IN-DEPS?' is true, to avoid generating an + "empty" dependency declaration. + * tests/deleted-am.test: Make grepping of error message stricter. + * tests/dist-missing-am.test: Likewise. + * tests/remake-deleted-am.test: New test. + * tests/remake-deleted-am-2.test: Likewise. + * tests/remake-deleted-am-subdir.test: Likewise. + * tests/remake-renamed-am.test: Likewise. + * tests/makefile-deps.test: Likewise. + * tests/Makefile.am (TESTS): Add the new tests. + * NEWS: Update. + Fixes automake bug#9768. + Report by Peter Johansson. + See also commit `Release-1-10-40-gd0ebf71', which fixed a similar + problem for .m4 files included by configure.ac. + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + maint: better use of autoconf 2.68 features + * configure.ac: Now that Automake requires autoconf 2.68 for its + own bootstrapping and build system, we can assume that PACKAGE_URL + gets automatically AC_SUBT'd. + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + cosmetics: use proper m4 quoting in configure.ac + * configure.ac (AC_CONFIG_SRCDIR): Use proper m4 quoting + for its arguments. + (AC_CONFIG_AUX_DIR): Likewise. + (AC_PROG_PATH): Likewise. + +2011-12-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: better handling of gettext and libtool requirements + + This change fixes automake bug#9807. + + Before this change, the automake testsuite only looked for the + `.m4' files containing libtool and gettext macros definitions in + the directory `${prefix}/share/aclocal' (and in the directories + specified by the `dirlist' file in there, if any), where ${prefix} + was the configure-time automake installation prefix (defaulting + to `/usr/local'). + + This approach had various shortcomings and disadvantages. Let's + briefly describe the three major ones. + + First, on most GNU/Linux systems, a libtool or gettext installed + from distro-provided packages (e.g., by dpkg on Debian/Ubuntu, or + by rmp on RedHat/Fedora) would have `/usr', not `/usr/local', as + its ${prefix}; so, trying to run the automake testsuite with a + simple "./configure && make && make check" would have failed to + execute the libtool and gettext tests on most GNU/Linux distros. + It's true that it was quite easy to work around this issue, by + creating a proper `/usr/local/share/aclocal/dirlist' file with + an entry pointing to `/usr/share/aclocal' (a workaround in fact + used by most automake developers); but the typical user wasn't + aware of the necessity of this trick, so the libtool and gettext + tests was usually skipped on testsuite runs "in the wild", thus + needlessly reducing coverage. + + Second, the older testsuite behaviour made more difficult for + the developers to run the testsuite with non-default libtool or + gettext. For example, assume the developer is working on a system + that has a default libtool version 1.5 installed in the /usr/local + hierarchy; to improve coverage, the developer installs also a more + modern libtool version, say 2.4, in its home directory, let's say + in ~/libtool-2.4; he then tries to run the automake testsuite with + this more modern libtool by doing an (apparently) simple: + $ PATH=$HOME/libtool-2.4:$PATH make check + But the automake testsuite would still look for libtool macros in + /usr/local/share/aclocal, not in ~/libtool-2.4/share/aclocal, so + the wrong version of the macros would be picked up, and the tests + would either fail spuriously or (which would be worse) pass without + truly covering the libtool version the developers was thinking to + be testing with. + Worse again, the automake testsuite would *unconditionally* look + for libtool macros in /usr/local/share/aclocal, so even something + like: + $ export ACLOCAL_PATH=$HOME/libtool-2.4/share/aclocal + $ PATH=$HOME/libtool-2.4:$PATH make check + wouldn't work. + + Third and last, during a "make distcheck", automake is configured + with a ${prefix} pointing to a proper subdirectory of the build + directory (usually `pwd`/_inst), which gets created on-the-fly; + in this case, with the old approach, the automake testsuite never + found the libtool and gettext macro files, ans so the libtool and + gettext tests was *always* skipped in a "make distcheck". + + * tests/libtool-macros.test: New helper test, looking (with the + help of the `libtoolize' script) for libtool macro files required + by most libtool tests, and making them easily accessible. + * tests/gettext-macros.test: New helper test, looking (with the + help of the `libtoolize' script) for libtool macro files required + by most libtool tests, and making them easily accessible. + * tests/defs.in: Update to make it rely on the results and setups + of `libtool-macros.test' and `gettext-macros.test'. + * tests/Makefile.am: Declare dependency of all the logs of libtool + tests from `libtool-macros.log', and all the logs of gettext tests + from `gettext-macros.log'. + (TESTS): Add the new tests. + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + fix: typos and grammaros in comments of the new test + * tests/get-sysconf.test: Fix few typos, grammaros and botched + wording. Reported by Eric Blake. + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: report useful system information in 'test-suite.log' + It has already happened various times that a user has run the + automake testsuite, experienced a failure, read the messages + telling him "See tests/test-suite.log" and "Please report to + bug-automake@gnu.org", and done exactly that -- sending us only + the contents of `tests/test-suite.log', which are usually not + enough to start debugging the reported failure. So we have to + ask him for more details, and usually also for the `config.log' + file generated by configure. It's time to fix this recurring + feedback inefficiency. We do so by creating a dummy test case + that takes care of copying the contents of `config.log', plus + other useful system information, in the final `test-suite.log'. + * tests/get-sysconf.test: New test, gathering system information + and then always terminating with a SKIP, so that its output gets + copied in `test-suite.log'. + * tests/Makefile.am (TESTS): Add it. + +2011-12-07 Reuben Thomas <rrt@sc3d.org> (tiny change) + + python: remove relics for Python 1.5 support + * m4/python.m4: The comments in here claim to support only + Python >= 2.0, yet this file still has specific support for + Python 1.5. Just remove it, python 1.5 is 12 years old now, + and practically defunct. + * NEWS: Update. + See also commit `Release-1-10-205-gd5bec12', "Support for + Python 3.0, drop support for pre-2.0." + +2011-12-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + configure: remove extraneous 'eval's from AM_RUN_LOG invocations + * configure.ac: Remove extra 'eval's from AM_RUN_LOG invocations; + for example, instead of "AM_RUN_LOG([eval $PERL --version])", + simply use "AM_RUN_LOG([$PERL --version])" + +2011-12-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + configure: report TeX version in config.log + * configure.ac: If possible, report the version of the selected + TeX program; this should render the logs more informative. + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + maint: snapshots from `maint' are still development snapshots + The maintenance-oriented development line in the `maint' branch, + while being usually pretty stable and 99% backward-compatible, + is not always right off production-quality; but until now, the + Automake package version declared in configure.ac hid this fact, + since it appeared to be the version of a stable release (e.g., + 11.1). Fix this. + * configure.ac (AC_INIT): Bump version to "1.11.0a". + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + configure: print proper message for test releases + * configure.ac: If the current release is detected to be a test + release or a development snapshot, print a proper warning for + the user. + * README-alpha: Delete, it's obsolete now (and in fact this file + hasn't been touched in eleven years, since release 1.4b or so). + * HACKING (Release procedure): Don't say to update README-alpha. + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + devel: help in comparing Makefile.in from different commits + Now that the generated Makefile.in, configure and aclocal.m4 files + are no longer committed in Automake's git repository, a simple + "git diff" or "git log" no longer shows if and how a change in + Automake results in changes to the Makefile.in files and/or + configure script of its own build system. Still, the ability to + peek so easily at such differences has proved itself quite useful + in the past, often revealing inconsistencies and blunders, and + sometimes even bugs; so it would be a pity to lose that altogether. + With this change, we add a new maintainer recipe that re-introduces + much of that capability, by generating and comparing on the fly the + Makefile.in, configure and aclocal.m4 derived from two arbitrary + commits of the Automake repository. + * Makefile.am (autodiffs, compare-autodiffs): New phony targets. + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + repo: don't commit generated files in the git repository anymore + It has been quite some time since autoconf and libtool have stopped + committing the generated autotools files in their git repositories, + with no significant ill effects we're aware of. It's true that the + autoconf bootstrap process has now the minor annoyance that a + pre-installed autoconf is required to complete it; but luckily + automake will not have a similar annoyance, since our bootstrap + script take care, through some hoops, to use the very automake and + aclocal versions from the current git checkout to generate the + required aclocal.m4 and Makefile.in files. In fact, this has been + a necessity also in the past, because automake has been known to + use in its own build system new development features that hadn't + been present in any previously released automake distribution. + * .gitignore: Ignore configure, aclocal.m4, and all the + Makefile.in files. + * configure.ac (AC_PREREQ): New macro call, to require the + latest autoconf (2.68 for the moment). + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + missing: don't try to re-run tar with a munged command line + * lib/missing: If the default `tar' program fails with the given + arguments, and GNU tar is not available, don't try to re-run the + default `tar' with a munged command line (e.g., ditching possibly + unportable options), as that could be subtly alter the intended + semantics (and maybe even create a somewhat corrupted tarball). + Also, it's worth noting that the main purpose of the `missing' + script is to allow a non-developer to build the package in the + face of slightly-skewed timestamps, not to provide wrappers for + all the maintainer tools -- so we don't have to try too hard + when `missing' is just called to wrap `tar'. + * tests/missing-tar.test: New test. + * tests/Makefile.am (TESTS): Add it. + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + missing: inform the user if GNU tar is called + * lib/missing: If the code trying to run GNU tar is reached, it + means that the previous attempt to run the default tar program + has failed, very likely producing some error message. At this + point, just running GNU tar without further comments might be + confusing. + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + missing: if GNU tar exists but fails when called, give up + * lib/missing: If the code trying to run GNU tar is reached, + don't continue if the invoked GNU tar program fails, as there + is little point in doing so (and can even be confusing and + counter-productive). + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + missing: miscellaneous fixlets + * lib/missing: Some shells, such as Solaris or FreeBSD /bin/sh, + warn about missing programs before performing redirections. + Therefore, where we have to silently check whether a program + exists, perform redirections on a subshell. + Remove redundant uses of double-quotes in variable definitions. + Delete an extra blank line. + +2011-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + maint: remove executable bit from automake.in + * automake.in: This file is not meant to be executed, only to + be preprocessed to create the `automake' script; so don't leave + it executable. + +2011-12-20 Peter Rosin <peda@lysator.liu.se> + + tests: fix spurious failure on systems lacking unistd.h + This is for automake bug#10324. + * tests/silent-lex-generic.test (foo.l): Add a dummy #define of + YY_NO_UNISTD_H, so that the generated foo.c file won't require + unistd.h to be present (it is not present when compiling with, + e.g., MSVC 9). + +2011-12-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure on MSYS/MinGW and Cygwin + * tests/primary-prefix-couples-force-valid.test (Makefile.am): + Correctly append $(EXEEXT) to the path of built binaries. + +2011-12-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: hack to support autoconf-wrapper programs + * tests/defs-static.in ($AUTOCONF): Add a dummy `-B' option to the + autoconf invocation, so that, when the Debian autoconf wrapper is + involved, it will correctly dispatch an autoconf >= 2.50 instead of + defaulting to autoconf 2.13. + ($AUTOHEADER, $AUTORECONF): Likewise, but for autoheader and + autoreconf respectively. + Reported by Bruno Haible: + <http://lists.gnu.org/archive/html/automake/2011-12/msg00039.html> + +2011-12-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix a minor spurious failure with FreeBSD make + * tests/remake-am-pr10111.test: Avoid using `#' comments in + makefile recipes, as these have been confusing FreeBSD make. + The failure was masked by the fact that this test is currently + expected to fail. + Suggested by a report from Bruno Haible. + +2011-12-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: make two test scripts executable + * tests/remake-am-pr10111.test: Make executable. + * tests/remake-m4-pr10111.test: Likewise. + +2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc/lex tests: remove an unneeded workaround for bug#8485 + + * tests/yacc-d-cxx.test: Remove the workaround previously required + to avoid spurious failures due to automake bug#8485: that bug has + been solved with commit `v1.11-512-g40c3432'. + +2011-12-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc/lex tests: avoid too much failures with FreeBSD make + + In various Yacc/Lex tests, we used to run "make distcheck" commands + whose value was mostly dubious, and, even when it was there, was + very, very little. The presence of these extra distchecks had two + disadvantages: it slowed down our already-too-slow testsuite even + more, and, much worse, caused a lot of extra failures with FreeBSD, + all due to automake bug#7884, which is already exposed by the test + case `yacc-dist-nobuild.test'. + + We can improve this situation by simply removing "make distcheck" + calls from a few testcases, or making them conditional to the use + of GNU make. + + * tests/lex-clean-cxx.test: Do not call "make distcheck". + * tests/lex-clean.test: Likewise. + * tests/yacc-clean-cxx.test: Likewise. + * tests/yacc-clean.test: Likewise. + * tests/yflags-force-override.test: Likewise. + * tests/yacc-nodist.test: Only run "make distcheck" if make + is GNU make. + +2011-12-15 Stefano Lattarini <stefano.lattarini@gmail.com> + + Merge branch 'maint' into 'yacc-work' + * tests/silent-lex.test: Provide a dummy `yywrap()' function, to + avoid link errors on systems that doesn't provide a "lex library". + See also commit `v1.11-546-gca0ba5d'. + +2011-12-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + readme: reference webpages for automake mailing lists + * README: Rationalize and reorganize the (brief) description of + the automake mailing lists. In particular, instead of suggesting + the reader to write to the `-request' addresses to subscribe to + mailing lists, point him to the relevant webpages, where he can + also subscribe via a web form. + +2011-12-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + readme: update advice about testsuite execution + * README: Now that the automake testsuite uses the parallel-tests + driver, there is no need for the user to capture the stdout of + "make check" to determine which tests have failed: a detailed log + is automatically saved into the `tests/test-suite.log' file. + Since we are at it, improve the wording by dropping an extra + "please". + +2011-12-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + readme: don't reference the old homepage at sources.redhat.com + * README: Don't reference the old homepage at sources.redhat.com, + which is no longer active; reference the homepage on www.gnu.org + instead. See also automake bug#10157 and bug#10248. + * tests/README: Likewise, and remove related extra-pedantic advice + about copyright papers for test cases (we'll ask for those papers + explicitly when we think they are warranted). + +2011-12-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + hacking: some more fixlets + * HACKING (Release Procedure): Place the list of pre-release + bootstrap-and-test commands on a line of its own, so it's easy to + select and then paste it into a terminal window. + Fix the explanation of "make git-release", as, since the previous + change, "make git-release" would simply run "make dist" rather + than "make distcheck". + Suggestion from Jim Meyering. + +2011-12-12 Peter Rosin <peda@lysator.liu.se> + + * NEWS: Fix typo in 'make dist-bzip2' description. + +2011-12-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + release: don't run "make distcheck" automatically + * Makefile.am (git-dist): The developers should test extensively + before finally creating the release tarball; so don't run "make + distcheck" on their behalf here; instead ... + * HACKING (Release procedure): ... state here that "make check" + and "make distcheck" should be run before calling "make git-dist". + +2011-12-15 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure in 'color2.test' + * tests/color2.test: (expect-make): Add an "expect eof" directive, + so that the collected output from the spawned make program will be + displayed on stdout, as desired. + Since we are at it, also correctly remove a temporary file which + we was trying to delete using a wrong filename. + Problem introduced in merge `v1.11-1579-g8d3466c', probably by a + botched edit or conflict resolution. + +2011-12-15 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure in 'lex3.test' + * tests/lex3.test (foo.l): Remove duplicated definition of + `yywrap'. Problem introduced in merge `v1.11-1579-g8d3466c'. + +2011-12-09 Jim Meyering <meyering@redhat.com> + Stefano Lattarini <stefano.lattarini@gmail.com> + + dist-xz, dist-bzip2: don't hard-code -9, honor envvar settings + Before the present change, automake-generated `dist-xz' rule used + a hard-coded `xz -9'. That was a problem because on this front, + xz differs from gzip and bzip2. While the latter two don't incur + any run-time decompression penalty for using a higher compression + level, specifying -9 with xz imposes a potentially fatal virtual + memory requirement on any client that wants to decompress your + tar.xz file. + People have complained that a tarball compressed with -9 cannot + be uncompressed in a low-memory environment (wrt-based embedded). + Hence, instead of defaulting to -9, which is useful only for very + large tarballs, it defaults to -e (equivalent to -6e). This + limits the default memory requirements imposed on decompressors, + yet still gives very good compression ratios. + * lib/am/distdir.am (dist-xz): Do not hard-code xz's -9: that made + it impossible to override. Actually don't default to -9, either, + since that induced inordinately large virtual memory usage when + merely decompressing. Instead, use its XZ_OPT envvar, defaulting + to -e if not defined. Suggested by Lasse Collin. + (dist-bzip2): Similarly, do not hard-code -9, but do continue to + use -9 by default. Honor the BZIP2 envvar. + * NEWS: Update. + * doc/automake.texi (The Types of Distributions): Describe the + newly enabled environment variables. + +2011-12-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + * NEWS: Fix typos, grammaros and suboptimal wording. + Reported by Jim Meyering. + +2011-12-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + maint: sync auxiliary files from upstream + * lib/texinfo.tex: Synced from upstream, by "make fetch". + * lib/config.guess: Likewise. + * lib/config.sub: Likewise. + +2011-12-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failures due to missing 'yywrap()' function + + The AC_PROG_LEX Autoconf macro does not diagnose a failure to find + the "lex library" expected to provide a `yywrap' function (function + which is required to link most lex-generated programs). On the + contrary, when all the link attempts (i.e., with `-ll' and `-lfl') + fail, configure declares that no lex library is needed, and simply + proceeds with the configuration process -- only for the build to + possibly fail later, at make time. + + This behaviour is intended; the Autoconf manual reads: + ``You are encouraged to use Flex in your sources, since it is + both more pleasant to use than plain Lex and the C source it + produces is portable. In order to ensure portability, however, + you must either provide a function `yywrap' or, if you don't use + it (e.g., your scanner has no `#include'-like feature), simply + include a `%noyywrap' statement in the scanner's source.'' + + This AC_PROG_LEX behaviour is causing some spurious failures of + the Automake testsuite in environments which lack a proper library + providing `yywrap' (this happens for example on Fedora-based + systems). The proper workaround is to simply provide a fall-back + implementation of `yywrap' in our lexers. + + See also partially-overlapping commit `v1.11-871-geb147a1' (from + the 'testsuite-work' branch), which was motivated by similar + spurious failures experienced when cross-compiling. + + From a report by Jim Meyering: + <http://lists.gnu.org/archive/html/automake-patches/2011-10/msg00092.html> + + * tests/cond35.test: Provide a dummy `yywrap' function. + * tests/lex3.test: Likewise. + * tests/silent-lex-generic.test: Likewise. + * tests/silent-lex-gcc.test: Likewise. + * tests/silent-many-generic.test: Likewise. + * tests/silent-many-gcc.test: Likewise. + +2011-12-04 Paul Eggert <eggert@cs.ucla.edu> + + depcomp: spelling fix + * lib/depcomp (-h): Fix misspelling in usage diagnostic. + +2011-11-28 Peter Rosin <peda@lysator.liu.se> + + tests: fix 'distcheck-override-infodir.test' on Cygwin + * tests/distcheck-override-infodir.test (Makefile.am): Do not add + any `/' between $(DESTDIR) and the following paths. Otherwise, + when $(DESTDIR) is empty, the recipes will try to access files + with a leading double slash, which have an implementation-defined + interpretation (e.g., for Cygwin, they mean UNC paths). + +2011-11-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + cosmetics: typofix in comments + * tests/remake-am-pr10111.test (Makefile.am): Fix typo in comments. + * THANKS: Update. + Reported by Krzysztof Żelechowski. + +2011-11-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: undistributed '.am' and '.m4' files are diagnosed + The stub rules emitted to work around the "deleted header problem" + for `.m4' files (included by autoconf in e.g., configure.ac) and + for `.am' files (included by automake in e.g., Makefile.am) should + not prevent "make" from correctly complaining when such a required + file is missing from a distribution tarball. + * tests/dist-missing-am.test: New test. + * tests/dist-missing-m4.test: Likewise. + * tests/dist-missing-included-m4.test: Likewise. + * tests/Makefile.am (TESTS): Add them. + Suggestion by Ralf Wildenhues. + +2011-11-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: required but missing '.am' and '.m4' files are diagnosed + The stub rules emitted to work around the "deleted header problem" + for `.m4' files (included by autoconf in e.g., configure.ac) and + for `.am' files (included by automake in e.g., Makefile.am) should + not prevent the remake rules from correctly erroring out when a + still-required file is missing. + * tests/deleted-am.test: New test. + * tests/deleted-m4.test: Likewise. + * tests/Makefile.am (TESTS): Add them. + +2011-11-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: expose automake bug#10111 in the testsuite + * tests/remake-am-pr10111.test: New test, xfailing. + * tests/remake-m4-pr10111.test: Likewise. + * tests/Makefile.am (TESTS, XFAIL_TESTS): Add them. + +2011-11-19 Stefano Lattarini <stefano.lattarini@gmail.com> + + texinfo: work around Solaris 10 xpg4 shell bug in install rules + * lib/am/texinfos.am (install-html-am): Use an extra variable + indirection to work around a bug in Solaris 10 /usr/xpg4/bin/sh. + Bug revealed by a failure of `txinfo21.test'. See also: + <http://lists.gnu.org/archive/html/bug-autoconf/2011-11/msg00005.html> + <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10026#23> + +2011-11-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + configure: report perl version in config.log + * configure.ac: Report the version of the selected perl interpreter + in config.log; this should render the logs more informative. + +2011-11-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure with older install-info + * tests/install-info-dir.test (foo.texi): Also add proper + `@settitle', `@dircategory' and `@direntry' directive, otherwise + older versions of `install-info' (e.g., 4.8) will fail to create + the `dir' index file in ${infodir}. + Problem revealed by a failure on NetBSD 5.1. + +2011-11-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: fix spurious failure in 'color2.test' + * tests/color2.test: Avoid creative quoting to avoid a spurious + failure of the `sc_tests_Exit_not_exit' maintainer check. + +2011-11-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious error in 'uninstall-fail.test' on Solaris + * tests/uninstall-fail.test: Solaris 10 /usr/xpg4/bin/sh can add + a line number before the `:' in the error messages issued by shell + builtins. Account for that in our grepping of make output. + +2011-11-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix typo in 'uninstall-fail.test' + * tests/uninstall-fail.test: Always use `$rm_f_is_silent_on_error' + instead of the bogus `$rm_f_is_silent_on_failure'. + +2011-11-19 Paul Eggert <eggert@cs.ucla.edu> + + * lib/install-sh: Spelling fix in comment. + +2011-11-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: avoid a spurious failure of 'ltinit.test' MinGW + * tests/ltinit.test: Be laxer in grepping configure output, to + avoid spurious failures on systems which lack POSIX dynamic + linking (e.g., MinGW), or when cross-compiling for such systems. + See also commit `v1.11-855-ge9e5d4a'. + Report and suggestion from Peter Rosin. + +2011-11-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: testsuite is now safe to run with dmake in parallel mode + * tests/defs.in: Unset variables DMAKE_CHILD, DMAKE_DEF_PRINTED + and DMAKE_MAX_JOBS, which are exported by Solaris dmake when run + in parallel mode, and which might confuse make processes spawned + by our testsuite. + +2011-11-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failures w.r.t. parallel make and colorization + * tests/color2.test: Skip the test if the $MAKE program fails to + consider the standard output as a tty when spawned by `expect'. + This is required for make implementations, like FreeBSD make and + Solaris dmake, that redirect the output of recipes to temporary + files or pipes when run in parallel mode. Since we are at it, + simplify the detection of a working `expect' program, and throw + in other minor simplifications. + +2011-11-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure in 'distcheck-override-infodir.test' + * tests/distcheck-override-infodir.test ($required): Add + 'install-info'. + +2011-11-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: avoid another failure of 'uninstall-fail.test' on Solaris + * tests/uninstall-fail.test: On Solaris 10, if `/bin/rm' is run + with the `-f' option, it doesn't print any error message when + failing to remove a file (due to e.g., "Permission denied"). + Yikes. Cater to this incompatibility, by relaxing the test when + a faulty `rm' is detected. + +2011-11-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: various minor tweakings, mostly related to AM_PROG_AR + * tests/alloca2.test: Ensure we don't experience a spurious failure + due to a missing `AM_PROG_AR' macro or a missing `ar-lib' auxiliary + script. + * tests/libtool4.test: Likewise. + * tests/ldadd.test: Likewise. Since we are at it, make grepping of + automake stderr stricter. + * tests/reqd2.test: Likewise. + * tests/pr211.test: Ensure automake fails also with `-Wnone', since + the error we are testing for is an hard error, not a mere warning. + * tests/syntax.test: Likewise, and ensure we don't fail to other + errors by removing use of `lib_LTLIBRARIES' in Makefile.am. Since + we are at it, make grepping of automake stderr stricter. + +2011-11-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + ar-lib: fix configure output for "unrecognized archiver interface" + * m4/ar-lib.m4: Ensure that, even when an error is hit while trying + to determine the archiver interface kind, the "checking archiver + interface" message from configure is properly terminated before + an error message is printed, to avoid slightly garbled output. + * tests/ar4.test: Enhance. + * tests/ar5.test: Likewise. + +2011-11-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + warnings: fix buglets for portability warnings + * lib/Automake/ChannelDefs.pm (switch_warning): Ensure the + correct implications and inter-dependencies between warnings + in the categories `portability', `extra-portability' and + `recursive-portability' are respected. Also add detailed + explicative comments, and references to the relevant tests. + * tests/dollarvar2.test: Update and extend. Also, remove + some unnecessary uses of `--force' option in automake calls. + * tests/extra-portability3.test: New test. + * tests/Makefile.am (TESTS): Add it. + +2011-11-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: extend tests on 'extra-portability' warning category + * tests/extra-portability.test: Redefine `$AUTOMAKE' to ensure we + have complete control over the automake options. Extend by using + also a setup where no `portability' warning is present (only an + `extra-portability' warning is). Other minor extensions. Remove + some redundant, verbose comments about the expected diagnostic. + +2011-11-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: various minor tweakings, mostly related to AM_PROG_AR + * tests/alloca.test: Adjust to new portability requirements due + to the new AM_PROG_AR macro. + * tests/discover.test: Likewise. + * tests/libobj3.test: Likewise. + * tests/pluseq7.test: Likewise. Also, make grepping of automake + expected error message stricter. + * tests/stdlib.test: Likewise, and extend the test a bit. + * tests/parse.test (configure.in): Remove redundant call to + AC_PROG_RANLIB. + * tests/library2.test: Adjust to new portability requirements + due to the new AM_PROG_AR macro. Also ... + (configure.in): ... add call to AC_PROG_CC, to ensure automake + really fails for the expected reason. + +2011-11-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + ar-lib: fix configure output for "unrecognized archiver interface" + * m4/ar-lib.m4: Ensure that, even when an error is hit while trying + to determine the archiver interface kind, the "checking archiver + interface" message from configure is properly terminated before + an error message is printed, to avoid slightly garbled output. + * tests/ar4.test: Enhance. + * tests/ar5.test: Likewise. + +2011-11-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: more faithful 'installcheck' support in few tests + * tests/ar-lib5a.test: Use the `$am_scriptdir' variable instead + of "$testsrcdir/../lib" or "$top_testsrcdir/lib", to test more + faithfully under "make installcheck". + * tests/ar-lib5a.test: Likewise. + * tests/libobj-basic.test: Likewise. + * tests/libobj19.test: Likewise. + * tests/suffix5.test: Likewise. + +2011-11-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove redundant settings of `errexit' shell flag + * tests/aclocal-path-install-serial.test: Do not set the + `errexit' shell flag, as it is already set by `tests/defs'. + * tests/ar-lib2.test: Likewise. + * tests/ar-lib3.test: Likewise. + * tests/ar-lib4.test: Likewise. + * tests/ar-lib5a.test: Likewise. + * tests/ar-lib5b.test: Likewise. + * tests/ar-lib6a.test: Likewise. + * tests/ar-lib6b.test: Likewise. + * tests/ar-lib7.test: Likewise. + * tests/ar3.test: Likewise. + * tests/ar4.test: Likewise. + * tests/ar5.test: Likewise. + * tests/extra-portability.test: Likewise. + * tests/extra-portability2.test: Likewise. + * tests/extra-portability3.test: Likewise. + * tests/install-info-dir.test: Likewise. + * tests/maintmode-configure-msg.test: Likewise. + +2011-11-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + generated tests: avoid extra "FIXME" comments + * tests/gen-testsuite-part: Avoid putting too much "FIXME" + comments in the generated test scripts, since they end up + being just counter-productive noise when one has to grep + the test scripts looking for real "FIXME" items. + +2011-09-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + cosmetics: fix typo in 'prove-runner' script + * tests/prove-runner: Remove erroneously-repeated word. + * THANKS: Update. + Reported by Dave Hart. + +2011-11-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + Merge branch 'master' into testsuite-work + * tests/extra-portability.test: Use `$am_original_AUTOMAKE' + instead of the obsolete `$original_AUTOMAKE'. + * tests/extra-portability3.test: Likewise. + * tests/list-of-tests.mk: Update. + +2011-11-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + Merge branch 'msvc' into master + * tests/extra-portability3.test: Use `$original_AUTOMAKE' instead + of hackishly extracting the first component of `$AUTOMAKE'. + * tests/extra-portability.test: Likewise. Also, since we are at + it, throw in a couple of small extensions and tweakings (suggested + by the minor merge conflicts). + +2011-11-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + warnings: fix buglets for portability warnings + * lib/Automake/ChannelDefs.pm (switch_warning): Ensure the + correct implications and inter-dependencies between warnings + in the categories `portability', `extra-portability' and + `recursive-portability' are respected. Also add detailed + explicative comments, and references to the relevant tests. + * tests/dollarvar2.test: Update and extend. Also, remove + some unnecessary uses of `--force' option in automake calls. + * tests/extra-portability3.test: New test. + * tests/Makefile.am (TESTS): Add it. + +2011-11-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: extend tests on 'extra-portability' warning category + * tests/extra-portability.test: Redefine `$AUTOMAKE' to ensure we + have complete control over the automake options. Extend by using + also a setup where no `portability' warning is present (only an + `extra-portability' warning is). Other minor extensions. Remove + some redundant, verbose comments about the expected diagnostic. + +2011-11-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: new functions to analyze configure help screen + * tests/defs (extract_configure_help, grep_configure_help): New + functions. + * tests/maintmode-configure-msg.test: Use them, reducing code + duplication and test brittleness. + * tests/help-depend.test: Likewise. + * tests/help-depend2.test: Likewise. + * tests/help-dmalloc.test: Likewise. + * tests/help-lispdir.test: Likewise. + * tests/help-multilib.test: Likewise. + * tests/help-python.test: Likewise. + * tests/help-regex.test: Likewise. + * tests/help-silent.test: Likewise. + * tests/help-upc.test: Likewise. + * tests/help-init.test: Make grepping of configure help screen + slightly stricter. + * tests/self-check-configure-help.test: New self test. + * tests/Makefile.am (TESTS): Add it. + From a report by Jim Meyering. + +2011-11-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + Merge branch 'master' into testsuite-work + + * tests/instspc.tap: Adjust to new portability requirements + due to the new AM_PROG_AR macro. + * tests/lex-lib.test: Likewise. + * tests/extra-portability2.test: Use `$am_original_AUTOMAKE' + instead of the obsolete `$original_AUTOMAKE'. + * tests/list-of-tests.mk: Update. + +2011-11-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: various minor tweakings, mostly related to AM_PROG_AR + * tests/alloca.test: Adjust to new portability requirements due + to the new AM_PROG_AR macro. + * tests/discover.test: Likewise. + * tests/libobj3.test: Likewise. + * tests/pluseq7.test: Likewise. Also, make grepping of automake + expected error message stricter. + * tests/stdlib.test: Likewise, and extend the test a bit. + * tests/parse.test (configure.in): Remove redundant call to + AC_PROG_RANLIB. + * tests/library2.test: Adjust to new portability requirements + due to the new AM_PROG_AR macro. Also ... + (configure.in): ... add call to AC_PROG_CC, to ensure automake + really fails for the expected reason. + +2011-11-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + Merge branch 'msvc' into master + + * tests/instspc-tests.sh: Adjust to new portability requirements + due to the new AM_PROG_AR macro. + * tests/libobj-basic.test: Likewise. + * tests/libobj2.test: Likewise. + * tests/libobj15a.test: Likewise. + * tests/libobj15b.test: Likewise. + * tests/libobj15c.test: Likewise. + * tests/libobj16a.test: Likewise. + * tests/libobj16b.test: Likewise. + * tests/libobj17.test: Likewise. + * tests/libobj18.test: Likewise. + * tests/libobj19.test: Likewise. + * tests/libobj20a.test: Likewise. + * tests/libobj20b.test: Likewise. + * tests/libobj20c.test: Likewise. + * tests/canon6.test: Likewise. + * tests/canon6.test: Likewise. + * tests/canon7.tests: Likewise. + * tests/extra9.test: Likewise. + * tests/extradep.test: Likewise. + * tests/extradep2.test: Likewise. + * tests/posixsubst-ldadd.test: Likewise. + * tests/posixsubst-libraries.test: Likewise. + * tests/posixsubst-ltlibraries.test: Likewise. + * tests/python-virtualenv.test: Likewise. + * tests/vartypos.test: Likewise. + * tests/vartypo2.test: Likewise. + * tests/suffix.test: Update to take into account previous + master-only changes. + * tests/suffix2.test: Likewise. + * tests/libobj7.test: Call automake with the `--add-missing' + option, instead of creating a dummy `ar-lib' file, since this + test now also runs "./configure" and "make". + * tests/suffix5.test: Copy the real `ar-lib' script file, + instead of creating a dummy one, since this test now also + runs "./configure" and "make". + * tests/extra-portability2.test: Fix this test not to rely + on the older, faulty semantics of "strictness specification + always reset warning level", which has been fixed in commit + v1.11-623-g1609491 (see also automake bug#7669 a.k.a. PR/547). + Since we are at it, throw inf few other minor unrelated + improvements. + * tests/extra-portability.test: Explicitly pass `-Wall' to + automake calls, for clarity. + +2011-10-21 Peter Rosin <peda@lysator.liu.se> + + warnings: new 'extra-portability' category, for AM_PROG_AR + * lib/Automake/ChannelDefs.pm: Register new extra-portability + warning channel. + (switch_warning): Turn off extra-portability if portability is + turned off, and turn on portability if extra-portability is + turned on. + (set_strictness): Silence extra-portability for --gnits, --gnu + and --foreign. + * tests/extra-portability2.test: New test, checking that the + extra-portability channel is silenced by --gnits, --gnu and + --foreign. + * doc/automake.texi (Invoking Automake): Document the new warning + category and its interaction with the portability category. + * tests/extra-portability.test: New test, checking the interaction + between the portability and extra-portability warning categories. + * automake.in (handle_libraries, handle_ltlibraries): Move the + AM_PROG_AR warnings to the new extra-portability channel. + * tests/ar2.test: Adjust to the new warning channel. + * tests/pr300-lib.test: Likewise. + * tests/pr300-ltlib.test: Likewise. + * tests/pr307.test: Likewise. + * tests/pr401.test: Likewise. + * tests/pr401b.test: Likewise. + * tests/pr401c.test: Likewise. + * tests/pr72.test: Likewise. + * NEWS: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-10-21 Peter Rosin <peda@lysator.liu.se> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Stefano Lattarini <stefano.lattarini@gmail.com> + + Add new 'AM_PROG_AR' macro, triggering the 'ar-lib' script. + * m4/ar-lib.m4: New macro AM_PROG_AR, which locates an + archiver and triggers the auxiliary 'ar-lib' script if needed. + * m4/Makefile.am (dist_m4data_DATA): Update. + * automake.in ($seen_ar): New variable. + (scan_autoconf_traces): Set it. + (handle_libraries, handle_ltlibraries): Require AM_PROG_AR for + portability. + * doc/automake.texi (Public Macros): Mention the new + 'AM_PROG_AR' macro. + (Subpackages): Add AM_PROG_AR to the example. + (A Library): Adjust recommendations for AR given the new + AM_PROG_AR macro. + * All relevant tests: Adjust to new portability requirements due + to the new AM_PROG_AR macro. + * tests/ar-lib2.test: New test, checking that AM_PROG_AR triggers + install of ar-lib. + * tests/ar-lib3.test: New test, checking that lib_LIBRARIES + requires AM_PROG_AR. + * tests/ar-lib4.test: New test, checking that lib_LTLIBRARIES + requires AM_PROG_AR. + * tests/ar-lib5a.test: New test, checking that AM_PROG_AR triggers + use of ar-lib when the archiver is Microsoft lib. + * tests/ar-lib5b.test: New test, checking that AM_PROG_AR triggers + use of ar-lib when the archiver is a faked lib. + * tests/ar-lib6a.test: New test, checking the ordering of + AM_PROG_AR and LT_INIT. + * tests/ar-lib6b.test: New test, checking the ordering of + AM_PROG_AR and AC_PROG_LIBTOOL. + * tests/ar-lib7.test: New test, checking that automake warns + if ar-lib is missing. + * tests/ar3.test: New test, checking that AR and ARFLAGS may + be overridden by the user even if AM_PROG_AR is used. + * tests/ar4.test: New test, checking that AM_PROG_AR bails out + if it cannot determine the archiver interface. + * tests/ar5.test: New test, checking that AM_PROG_AR runs its + optional argument if it cannot determine the archiver interface. + * tests/defs.in: New required entry 'lib'. + * tests/Makefile.am (TESTS): Update. + * NEWS: Update. + +2011-11-03 Zack Weinberg <zackw@panix.com> (tiny change) + Stefano Lattarini <stefano.lattarini@gmail.com> + + maint-mode: fix botched configure messages + This change fixes automake bug#9890. + * m4/maintainer.m4 (AM_MAINTAINER_MODE): Fix the "checking ..." + configure message related to the enabling/disabling of maintainer + mode. + * tests/help-maintainer.test: Renamed ... + * tests/maintmode-configure-msg.test: ... to this, and extended + to cover the fixed bug. Also, since we are at it, make grepping + of configure help screens stricter, and throw in some few other + changes to reduce code duplication and enhance readability. + * tests/Makefile.am (TESTS): Update. + * THANKS: Update with Zack's new e-mail address. + Report and initial patch by Zack Weinberg, test cases added by + Stefano Lattarini. + +2011-10-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + info: allow user to inhibit creation/update of '${infodir}/dir' + With this change, we allow the user to request the install-info + rules not to update the `${infodir}/dir' file, by setting the + environment variable `AM_UPDATE_INFO_DIR' to the value "no". + This is especially useful to distro packagers, and is a definite + improvement over our previous hack of looking whether the + `install-info' program was the Debian or GNU version -- hack + which had been silently broken with recent versions of debian + install-info BTW (probably since dpkg 1.15.4, 2009-09-06). + This change fixes automake bug#9773. See also Debian Bug#543992. + * lib/am/texinfos.am: Don't look anymore at the output of + `install-info --version' to decide whether to use it to update + the `${infodir}/dir' or not; instead, honour the environment + variable `AM_UPDATE_INFO_DIR'. + * tests/install-info-dir.test: New test. + * tests/Makefile.am (TESTS): Add it. + * tests/defs: Also unset `AM_UPDATE_INFO_DIR', to avoid unwanted + interferences from the environment. + * doc/automake.texi (Texinfo): Update. + * NEWS: Likewise. + * THANKS: Likewise. + Report by Jonathan Nieder. + +2011-10-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: new function 'am_keeping_testdirs', for better APIs + + This change is meant to make it easier for TAP-based test scripts + to remove files left over by completed (sub)tests, while still + honoring the user-provided `$keep_testdirs' setting. + + * tests/defs (am_keeping_testdirs): New function, telling whether + we should keep the test directories around, even in case of + success (by default, we don't). + (exit trap): Use it. + * tests/depmod.tap: Likewise. + * tests/instspc.tap: Likewise. Also, fix some pre-existing + "copy & paste" bugs, and a typo in comments. + +2011-10-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove redundant `set -e', and other minor improvements + * tests/dejagnu-absolute-builddir.test: Do not set the `errexit' + shell flag, as it is already set by `tests/defs'. + * tests/dejagnu-relative-srcdir.test: Likewise. + * tests/dejagnu-siteexp-append.test: Likewise. + * tests/dejagnu-siteexp-useredit.test: Likewise, and fix a typo + in comments. + * tests/dejagnu-siteexp-extend.test: Likewise, and prefer the + use of `$distdir' over hard-coded `$me-1.0'. Also ... + (write_check_for): ... use `unindent' when writing from an + here-doc, for better code indentation. + +2011-10-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + deps: partially revert commit `v1.11-512-geeee551' + This change partly reverts commit "Create subdirs for generated + sources even when not dep tracking", of 2011-04-02. + That commit had caused the bugs #8485 and #8526. Since we are + nearing the bug-fixing automake release 1.11.2, the safest policy + at the moment is to just revert the problematic hunks: an older, + known bug is better than a regression. + * automake.in (handle_single_transform): Don't add a dirstamp + dependency, even when $object is derived and lands in a subdir. + * tests/Makefile.am (XFAIL_TESTS): Add lex-subobj-nodep.test, + remove yacc-dist-nobuild-subdir.test. + +2011-10-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: few improvements to some `ar-lib' related tests + + * tests/ar-lib5a.test (Makefile.am): Also check that the target + library has truly been created. + (ar-lib): Use the real `ar-lib' script (mildly patched) rather + than a dummy one, to ensure better "real-life coverage". Fix + botched shebang line. + * tests/ar-lib5b.test: Extend the PATH variable to make the dummy + `lib' script accessible, instead of explicitly calling it by its + relative/absolute path. + (ar-lib): Fix botched shebang line. + (bin/lib): Likewise. Also, add explicative comments, and make + slightly stricter. + +2011-10-24 Peter Rosin <peda@lysator.liu.se> + + Merge branch 'maint' into msvc + + * tests/subpkg-yacc.test: Adjust to new portability requirements due + to the new AM_PROG_AR macro. + +2011-10-19 Stefano Lattarini <stefano.lattarini@gmail.com> + + dejagnu: allow the package developer to extend site.exp + Fixes automake bug#7873. + * lib/am/dejagnu.am (site.exp): Depend from the files listed in + $(EXTRA_DEJAGNU_SITE_CONFIG), if any. Append their contents to + the generated site.exp (still preserving user edits). + * doc/automake.texi (Dejagnu Tests): Update. + * tests/dejagnu-siteexp-append.test: New test. + * tests/dejagnu-siteexp-extend.test: Likewise. + * tests/dejagnu-siteexp-useredit.test: Likewise. + * tests/Makefile.am (TESTS): Update. + * NEWS: Update. + Suggestion by Rainer Orth. + +2011-10-19 Stefano Lattarini <stefano.lattarini@gmail.com> + + dejagnu: ensure 'srcdir' is defined as a relative directory + This change fixes automake bug#7833. + * lib/am/dejagnu.am (check-DEJAGNU): Prefer using plain $(srcdir) + over calculating and using the absolute path of $(srcdir). + * tests/dejagnu-relative-srcdir.test: New test. + * tests/dejagnu-absolute-builddir.test: Likewise. + * tests/Makefile.am (TESTS): Update. + Report by Ian Lance Taylor. Suggestions by Ralf Wildenhues. + +2010-12-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix testsuite failure of check12.test without DejaGNU. + * tests/check12.test: Require runtest. + +2010-12-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + Extend and improve tests on DejaGnu support. + * tests/dejagnu.test: Do not create useless dummy test script. + Add trailing `:' command. In heading comments, add reference + to ... + * tests/check12.test: ... this new "semantic" test, covering + concurrent use of dejagnu tests, simple tests and `check-local' + target. + * tests/dejagnu2.test: Make test more reliable, by avoid weak + grepping of make output. Prefer `cat' over `echo' to append + to configure.in. Quote literal dots in grep regexps. Prefer + `grep -c ...' over `grep ... | wc -l'. Make grepping of + automake stderr slightly stricter. Add trailing `:' command. + * tests/dejagnu3.test: Prefer `cat' over `echo' to append to + configure.in. Check stderr of expected-to-fail "make" call. + Remove extra blank lines from Makefile.am. + * tests/dejagnu4.test: Prefer `cat' over `echo' to append to + configure.in. Prefer `mv -f' over plain `mv' when the target + file already exists. Avoid extra mkdir calls by creating more + directories at once. Better use of blank lines. Check that + the `*.log' and `*.sum' files are created by runtest also when + "make check" fails. + * tests/dejagnu7.test: Prefer `cat' over `echo' to append to + configure.in. Better use of blank lines. Add a trailing `:' + command. + * tests/dejagnu6.test: Likewise, and give the dejagnu test a + more descriptive name. + * tests/dejagnu5.test: Likewise. Also, simply define package + name to `$me' rather than using a non-obvious sed script to + extract it from `AC_INIT', and write the Makefile.am with only + one command. + * tests/Makefile.am (TESTS): Updated. + +2011-10-21 Peter Rosin <peda@lysator.liu.se> + + * THANKS: Fix whitespace issue. + +2011-10-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failures due to missing 'yywrap()' function + + The AC_PROG_LEX Autoconf macro does not diagnose a failure to find + the "lex library" expected to provide a `yywrap' function (function + which is required to link most lex-generated programs). On the + contrary, when all the link attempts (i.e., with `-ll' and `-lfl') + fail, configure declares that no lex library is needed, and simply + proceeds with the configuration process -- only for the build to + possibly fail later, at make time. + + This behaviour is intended; the Autoconf manual reads: + ``You are encouraged to use Flex in your sources, since it is + both more pleasant to use than plain Lex and the C source it + produces is portable. In order to ensure portability, however, + you must either provide a function `yywrap' or, if you don't use + it (e.g., your scanner has no `#include'-like feature), simply + include a `%noyywrap' statement in the scanner's source.'' + + This AC_PROG_LEX behaviour is causing some spurious failures of + the Automake testsuite in environments which lack a proper library + providing `yywrap' (this happens for example on Fedora-based + systems). The proper workaround is to simply provide a fall-back + implementation of `yywrap' in our lexers. + + See also partially-overlapping commit `v1.11-871-geb147a1' (from + the 'testsuite-work' branch), which was motivated by similar + spurious failures experienced when cross-compiling. + + Reported by Jim Meyering: + <http://lists.gnu.org/archive/html/automake-patches/2011-10/msg00092.html> + + * tests/cond35.test: Provide a dummy `yywrap' function. + * tests/lex3.test: Likewise. + * tests/lexvpath.test: Likewise. + * tests/silent-lex-generic.test: Likewise. + * tests/silent-lex-gcc.test: Likewise. + +2011-10-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: more faithful 'installcheck' support in few tests + * tests/test-driver-acsubst.test: Use the `$am_scriptdir' + variable instead of `$testsrcdir/../lib', to test more + faithfully under "make installcheck". + * tests/test-driver-cond.test: Likewise. + * tests/dist-auxfile.test: Likewise, and add one more use + of `fatal_' to report hard errors. + * tests/tests/dist-auxdir-many-subdirs.test: Likewise. + +2011-10-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove redundant settings of `errexit' shell flag + * tests/aclocal-path-install-serial.test: Do not set the + `errexit' shell flag, as it is already set by `tests/defs'. + * tests/aclocal-path-install.test: Likewise. + * tests/aclocal-path-nonexistent.test: Likewise. + * tests/aclocal-path-precedence.test: Likewise. + * tests/aclocal-path.test: Likewise. + * tests/dist-auxfile-2.test: Likewise. + * tests/dist-auxfile.test: Likewise. + * tests/distcheck-pr9579.test: Likewise. + * tests/javadir-undefined.test: Likewise. + * tests/subpkg-yacc.test: Likewise. + * tests/test-extensions-cond.test: Likewise. + * tests/test-extensions.test: Likewise. + * tests/uninstall-fail.test: Likewise. + * tests/uninstall-pr9578.test: Likewise. + * tests/distcheck-override-infodir.test: Likewise. Also, + fix typo in heading comments since we are at it. + +2011-10-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + fixup: add forgotten test scripts to $(TESTS) + * tests/list-of-tests.mk: Add various test scripts that are in + the git repository but weren't correctly listed in $(TESTS). + The inconsistency had been caused by botched/incomplete merges, + and revealed by the "maintainer-check-list-of-tests" target. + +2011-10-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure with FreeBSD make and Yacc in VPATH + * tests/subpkg.test: Some cosmetic adjustments. Move the tests + checking that $(YLWRAP) is defined and installed properly when + ylwrap is in a default auxdir found in a parent package ... + * tests/subpkg-yacc.test: ... into this new test, which carefully + avoids to trigger the known bug#7884 (combo FreeBSD make plus Yacc + plus VPATH build). + * tests/Makefile.am (TESTS): Update. + +2011-10-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: avoid spurious failure in 'parallel-tests3.test' + This fixes automake bug#8788. + * tests/parallel-tests3.test: To ensure that the serial run of + the dummy testsuite is still ongoing when the parallel run has + terminated, use `kill -0', not a bare `kill'. This will prevent + a testsuite crash on NetBSD 5.1, and a testsuite hang on FreeBSD + 8.2. Also, since we are at it, try harder to avoid possible + hangs of the script in other unusual situations. + +2011-10-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failures with "chatty" make implementations + * tests/distcheck-missing-m4.test: On failure, some make + implementations (such as Solaris make) print the whole failed + recipe on standard output. This was causing a spurious failure + in the checks grepping the output from make. Work around this. + * tests/distcheck-outdated-m4.test: Likewise. + +2011-10-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure on fast machines + * tests/aclocal-path-precedence.test: Also remove the `configure' + script between different test runs, to ensure it is always remade + by autoconf. Add proper explicative comments. + +2011-10-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: avoid spurious failure of 'uninstall-fail.test' on Solaris + * tests/uninstall-fail.test: All the Solaris 10 shells (/bin/sh, + /bin/ksh, and /usr/xpg4/bin/sh), upon failing to chdir to a + directory with the `cd' builtin, print a message like: + "sh: /root: permission denied" + which doesn't report the `cd' builtin anywhere. Relax the grepping + of the error message accordingly. + +2011-10-20 Jim Meyering <meyering@redhat.com> + + tests: fix aclocal-print-acdir.test + * tests/aclocal-print-acdir.test: Adjust to pass. + +2011-10-19 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: avoid spurious failure of 'uninstall-fail.test' on Cygwin + * tests/uninstall-fail.test: Be sure to really skip this test + on systems that allows files to be removed from unwritable + directories. Motivated by a spurious failure on Cygwin 1.5. + +2011-10-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure with autoconf 2.62 + * tests/aclocal-path-precedence.test: Rewrite configure.in, + rather than appending to it, to avoid spurious failures (at + least with autoconf 2.62) due to repeated calls to AC_INIT. + Also, add package name and version arguments to AC_INIT, to + avoid spurious errors from automake. + +2011-10-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: avoid using colon character inside arguments of @pxref + Fixes automake bug#9753 + * doc/automake.texi (VPATH Builds): Avoid using colon character + `:' inside arguments of @pxref, as this can cause problems in + the generated `.info' files, and such an usage will be explicitly + forbidden by future texinfo documentation. + * THANKS: Update. + Reported by Дилян Палаузов. + +2011-10-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + refactor: improve signature of 'check_directory' sub in automake + * automake.in (check_directory): Take the relative directory + the directory to be checked is expected to be found into as + an optional parameter, rather than reading it from the global + variable `$relative_dir'. + (scan_autoconf_traces, check_directories_in_var): Adjust. + +2011-10-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + cosmetics: remove obsolete comment + * automake.in (push_required_file): Remove "FIXME" comment stating + that the special handling of `$config_aux_dir' breaks threaded + automake: this is not true anymore after the recent commits (see + in particular commit `v1.11-1225-gf672944'). + +2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure with Solaris /bin/sh + * tests/dist-auxfile.test: Don't use redirected `:' in a loop, + it hits a bug in Solaris 10 /bin/sh. + +2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + threaded-am: better serialization for required config files + With this change, we make serialization/de-serialization of + required config files installs more granular, and in the process + fix the bug introduced by commit `v1.11-1219-g326ecba'. + * automake.in ($required_conf_file_queue): Move its declaration + earlier. + (require_file_internal): Add a new argument telling whether the + function should act immediately or queue its action for the master + thread to handle. + (queue_required_conf_file): Renamed ... + (queue_required_file_check_or_copy): ... to this. + (require_queued_conf_file): Renamed ... + (require_queued_file_check_or_copy): ... to this, and make it call + `required_file_check_or_copy' instead of `require_file_internal'. + (require_conf_file, handle_makefiles_threaded): Adjust and simplify + accordingly. + * tests/Makefile.am (XFAIL_TESTS): Remove `parallel-am.test'. + +2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + automake: refactor, break up 'require_file_internal' + This refactoring is only required in view of future changes. + * automake.in (require_file_internal): Move the guts of this + function ... + (required_file_check_or_copy): ... into this new function. This + ensures that calls to `push_required_file' and code that copies + required files are placed in separate functions; this will be + very useful for reorganizing de-serialization of file installs + in future changes. + +2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + dist: separate auxiliary file instantiation from DIST_COMMON update + This change simplifies the automake internals dealing with the + checking, copying and distributing of required auxiliary files. + With this change, a required auxiliary file is *unconditionally* + added to the contents of the DIST_COMMON variable in the generated + Makefile.in, before checking whether it exists, or trying to copy + it (if `--add-missing' is in use). This shouldn't be a problem, + since if the checking or copying of the file fails, automake will + bail out, the Makefile.in won't be created, and thus its content + will not matter. OK, this is not completely true when threaded + automake is in use, but then, such a situation was also possible + before this patch, so no regression here, which is enough for us. + This change is the first of a series of steps aimed at fixing + the regression introduced in threaded automake usage by commit + `v1.11-1219-g326ecba'. + * automake.in (require_file_internal): Add the required file to + DIST_COMMON unconditionally. + * tests/missing-auxfile-stops-makefiles-creation.test: New test. + * tests/Makefile.am (TESTS): Add it. + +2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + refactor: rename a subroutine to a more proper name + * automake.in (maybe_push_require_file): Renamed ... + (push_required_file): ... to this. + All callers adjusted. + +2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + dist: truly always distribute files in AC_REQUIRE_AUX_FILE + This change fixes automake bug#9651. + * automake.in (handle_dist): Files whose distribution is required + by configure.ac are now correctly distributed even if the build-aux + directory coincides with the top-level directory. + * tests/Makefile.am (XFAIL_TESTS): Remove `dist-auxfile.test'. + * NEWS: Update. + +2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + dist: simplify automake code accordingly to the previous changes + After the previous change `v1.11-1219-g326ecba', every Makefile.am + requiring a file in the "config auxdir" will cause it to be listed + in the DIST_COMMON variable of the corresponding generated + Makefile.in, not only of the top-level Makefile.in. Thus we don't + need to worry anymore about trying to distribute files in the + config auxdir from the top-level Makefile or the Makefile in + config auxdir (if any). This allows us to carry out some useful + simplifications in the automake script. + This will however cause some changes in the generated Makefile; + for example, if the `PROGRAMS' primary is used only in a subdir + Makefile.am, the `depcomp' script will be distributed only by + `subdir/Makefile', not by the top-level Makefile. This change + can be seen as an internal detail though, and definitely warranted + by the nice simplifications the current commit provides. + * automake.in ($automake_will_process_aux_dir): Variable removed. + (scan_autoconf_files): Adjust and simplify. + (handle_makefiles_threaded): Likewise. + (get_number_of_threads): Likewise. + (require_file_internal): Likewise. + (maybe_push_required_file): Its return value is not used anymore, + so return nothing. Add special handling for distributed files from + `$config_libobj_dir'. Also, catch "this can't happen" situations, + and abort accordingly. Fix function description to better fit its + new role. + * tests/libobj19.test: Extend to also check situations where the + Makefile.am using $(LIBOBJS) is not the top-level one. + * tests/distcom6.test: Delete, merged into ... + * tests/distcom2.test: ... this test, which has been update to + account for the changed automake semantics. + * tests/Makefile.am (TESTS): Update. + * NEWS: Update. + +2011-10-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + dist: auxiliary files can be distributed from subdir Makefiles + With this change, we make it possible for a subdir Makefile.am + to distribute files in the config auxdir; while this means that + some files might be copied multiple times, it simplify some logic + in the automake script, and fix at least one important bug. In + fact, before this change, the auxiliary script `test-driver' was + not being distributed as expected when TESTS was defined only in + a subdir Makefile (which is a pretty common setup indeed). Now + this does not happen anymore: so the present change fixes automake + bug#9546. + Another welcome collateral effect is that `dist-auxfile-2.test' + now passes. + OTOH, the present changes *breaks threaded automake*. The reason + is that automake needs to serialize file installations spawned + by `--add-missing' (this isn't for cosmetic reasons, but is + really needed to avoid possible race conditions and botched output + files). Currently the code that installs required files is + intertwined with the code that declares the DIST_COMMON variables; + so, upon de-serialization, the definition of DIST_COMMON might get + emitted in the wrong Makefile.in. + Some follow-up refactoring in automake will soon take care of + remedying this situation. For the moment, we just declare some + "parallel-am" tests as xfailing. + * automake.in (maybe_push_required_file): Add ad-hoc handling for + the case where the directory part of the required file is different + from the subdir where the current Makefile.am resides, but is equal + to the "config-aux directory" ($config_auxdir). This is needed to + allow a construct in a non-top-level Makefile.am to require a file + in the config-aux directory. + * tests/test-driver-is-distributed.test: Extend and adjust. This + test now passes. + * tests/java-compile-run-nested.test: Call automake with the `-a' + option to ensure that the `test-driver' auxiliary script gets + correctly installed. This test now passes. + * tests/distcom-subdir.test: New test. + * tests/dist-readonly.test: Likewise. + * tests/dist-repeated.test: Likewise. + * tests/dist-auxdir-many-subdirs.test: Likewise. + * tests/distcom7.test: Removed, it's obsolete now. + * tests/Makefile.am (TESTS, XFAIL_TESTS): Update. + +2011-10-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: conditional contents in LOG_DRIVER variables + * tests/test-driver-cond.test: New test. + * tests/Makefile.am (TESTS): Add it. + +2011-10-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: LOG_DRIVER variables can be defined through AC_SUBST + * tests/test-driver-acsubst.test: New test. + * tests/Makefile.am (TESTS): Add it. + +2011-10-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + parallel-tests: warn on conditional TEST_EXTENSIONS definition + Before this change, automake would have still bailed out, but + with a confusing error message (about an invalid redefinition + of TEST_EXTENSIONS). + * automake.in (handle_tests): Warn explicitly if TEST_EXTENSIONS + has conditional contents. + * tests/test-extensions-con.test: New test. + * tests/Makefile.am (TESTS): Add it. + * NEWS: Update. + +2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + parallel-tests: don't allow @substitutions@ in TEST_EXTENSIONS + Even after the last commit `v1.11-476-g90bea64', the checks + performed by automake on entries in $(TEST_EXTENSIONS) tried to + allow for @substitited@ stuff. This however ends up allowing + quite brittle setups, which, most importantly, are of no real + practical usefulness anyway. So it's better to just disallow + @substitutions@ in TEST_EXTENSIONS altogether, offering a clear + error message, instead of risking weird bugs and unexpected + behaviors in the generated Makefile.in. + * automake.in ($TEST_EXTENSION_PATTERN): Turned from a regular + expression ... + (is_valid_test_extension): ... into this subroutine. Don't allow + generic @substitutions@ anymore (possibly making an exception for + `@EXEEXT@' under the proper circumstances). + * tests/test-extensions.test: Adjust and extend. This test does + not cause any internal error in automake anymore now. + +2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure in 'insthook.test' + * tests/insthook.test (Makefile.am): Add a proper `uninstall-hook' + target to remove the symlink created by the `install-exec-hook' + target; this prevents "make distcheck" from failing spuriously. + Since we are at it, delete an extra blank line, and add a trailing + `:' command. + +2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: fix spurious failure + * lib/am/distdir.am: Use `$(infodir)', not `${infodir}', to avoid + complaints from the `sc_no_brace_variable_expansions' maintainer + check. + +2011-10-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + * tests/yacc-dist-nobuild.test: Add reference to relevant bug#7884. + +2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious error in 'test-extensions.test' + * tests/test-extensions.test: Call automake with the option + `--add-missing', to ensure the required script `test-driver' + gets installed. Note that the test still fails due to an + internal error in automake, though. + +2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: avoid few useless uses of the `-e' make option + * tests/python12.test: Using `make -e' is not required to override + the DESTDIR variable, since this variable shouldn't be defined in + any automake-generated Makefile.in file. + * tests/man2.test: Likewise. + * tests/man5.test: Likewise. + +2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + fix: make a test script executable + * tests/nobase-nodist.test: Make executable. + +2011-10-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: expose automake bug#9651 + * tests/dist-auxfile.test: New test, xfailing. + * tests/dist-auxfile-2.test: Likewise. + * tests/Makefile.am (TESTS, XFAIL_TESTS): Add them. + +2011-10-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + parallel-tests: automake error our on invalid TEST_EXTENSIONS + This change fixes automake bug#9400. + * automake.in (handle_tests): Bail out if a suffix specified in + TEST_EXTENSIONS would produce an invalid `xxx_LOG_COMPILER' + variable or an invalid suffix rule. Before this change, automake + would have issued a confusing error messages (about invalid or + non-POSIX variables being defined), and in some situations would + have even produced a broken `Makefile.in' file. + ($TEST_EXTENSION_PATTERN): New helper variable. + * doc/automake.texi (Simple Tests using parallel-tests): Document + the limitations on TEST_EXTENSIONS explicitly. + * NEWS: Update. + * tests/test-extensions.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: don't suggest installing `.m4' files in hard-coded location + This change fixes automake bug#7988. + * doc/automake.texi (aclocal Options): State that the use of + the `--print-ac-dir' option to determine the directory where + third-party packages can install their `.m4' files is discouraged + now. + (Extending aclocal): Suggest telling the user about ACLOCAL_PATH. + * THANKS: Update. + Report by Peter Johansson. + +2011-09-26 Stefano Lattarini <stefano.lattarini@gmail.com> + + distuninstallcheck: fail also when only one file is left installed + This change fixes automake bug#9579. + * lib/am/distdir.am (distuninstallcheck): Be stricter in ignoring + a potential `dir' file created by install-info and left installed. + Also, be more careful about "this can't happen" kind of errors. + (am__distuninstallcheck_listfiles): New internal helper macro. + * tests/distcheck-pr9579.test: New test. + * tests/distcheck-override-infodir.test: Likewise. + * tests/Makefile.am (TESTS): Add them. + * NEWS, THANKS: Update. + Report by Nick Bowler. + +2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/awk: improve comments about Korn shell signal handling issues + * lib/tap-driver.sh: Link an Austin Group discussion about how + shells are allowed, and even encouraged, to set the special + variable `$?' to values greater than 256 to report termination + of a child by a signal. Improve and extend comments about our + workarounds for unusual korn shell signals' propagation. + Thanks to Eric Blake for the pointers. + +2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: fix usage of `cd' instead of `$(am__cd)' + * lib/am/inst-vars.am (am__uninstall_files_from_dir): Use + `$(am__cd)', not plain `cd'. + +2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/awk: account for unusual korn shell signal handling behaviour + This change has been motivated by a testsuite failure on Debian + with the AT&T Korn Shell version 93u-1. + * lib/tap-driver.sh: Temporarily ignore some common signals when + waiting for the test command to complete, to avoid premature exit + in Korn shells that propagate to themselves signals that have + killed a child process. + See also related commit `v1.11-1342-g6321ad3'. + +2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/awk: handle exit statuses > 256 (seen on few korn shells) + Some Korn shells, when a child process die due to signal number + n, can leave in $? an exit status of 256+n instead of the more + standard 128+n. Apparently, both behaviours are allowed by + POSIX, so be prepared to handle them both. + This change has been motivated by a testsuite failure on Debian + with the AT&T Korn Shell version 93u-1. + * lib/tap-driver.sh (get_test_exit_message): Handle the described + Korn Shell behaviour too. + ($scriptversion): Update. + +2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove redundant workaround for Solaris /bin/sh + After previous commit `v1.11-1424-g27a399a', some workarounds for + Solaris 10 /bin/sh are no more required, and in fact they have + started causing XPASS results on Solaris. + * tests/tap-signal.tap: Remove unneeded workarounds for Solaris 10 + /bin/sh. Some related minor code reorganizations. + +2011-09-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + uninstall: "make uninstall" before "make install" works + This change fixes automake bug#9578. + * lib/am/inst-vars.am (am__uninstall_files_from_dir): New internal + macro, that defines a shell code fragment to uninstall files from + a given directory. + * lib/am/data.am (uninstall-%DIR%%PRIMARY%): Use it, to reduce code + duplication and improve consistency and correctness. + * lib/am/libs.am (uninstall-%DIR%LIBRARIES): Likewise. + * lib/am/lisp.am (uninstall-%DIR%LISP): Likewise. + * lib/am/mans.am (uninstall-man%SECTION%): Likewise. + * lib/am/python.am (uninstall-%DIR%LIBRARIES): Likewise. + * lib/am/scripts.am (uninstall-%DIR%SCRIPTS): Likewise. + * tests/uninstall-pr9578.test: New test. + * tests/uninstall-fail.test: New test. + * tests/Makefile.am (TESTS): Add them. + * NEWS, THANKS: Update. + Report by Nick Bowler. + +2011-09-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix tests on aclocal search path precedences + * tests/aclocal-path-precedence.test: Call `$ACLOCAL' with the + proper overridden system acdir. + +2011-09-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failures in tests on TAP + signals + * tests/tap-signal.tap: Write the dummy test scripts as perl + scripts, not as shell scripts, to work around unportabilities + in the handling of signals. In fact, even with bash, the older + script were unable to properly deliver a SIGQUIT to themselves + consistently. + +2011-09-26 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure in test on ACLOCAL_PATH precedences + * tests/aclocal-path-precedence.test: Do not merely append to + `configure.in', it should be created from scratch. Pass package + name and version to AC_INIT as arguments, otherwise autoconf will + complain. + +2011-09-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: remove mention of deprecated option `--acdir' + * doc/automake.texi (aclocal Options): Remove mention of + deprecated `--acdir' option. + +2011-09-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + * NEWS: Cleanup after botched merges. + +2011-09-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + * NEWS: Fix typo. + +2011-09-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: document planned precedence changes in aclocal search path + * doc/automake.texi (Macro Search Path): Explicitly state that the + lookup order for extra directories of `.m4' files will be changed + in the next major release. + * NEWS: Likewise. + +2011-09-19 Paolo Bonzini <bonzini@gnu.org> + Stefano Lattarini <stefano.lattarini@gmail.com> + + aclocal: handle ACLOCAL_PATH environment variable + * aclocal.in (parse_ACLOCAL_PATH): New function, parse ACLOCAL_PATH + as a colon-separated list of directories to be included in the + search path. + * doc/automake.texi (Macro Search Path): Document new behavior and + the precedence rules for various elements of the search path. + * tests/aclocal-path.test: New test. + * tests/aclocal-path-install.test: Likewise. + * tests/aclocal-path-install-serial.test: Likewise. + * tests/aclocal-path-precedence.test: Likewise. + * tests/aclocal-path-nonexistent.test: Likewise. + * tests/Makefile.am (TESTS): Add them. + * NEWS: Update. + * tests/distcheck-missing-m4.test: Extend by also checking + interactions with ACLOCAL_PATH. + * tests/distcheck-outdated-m4.test: Likewise, and fix a couple + of botched comments since we are at it. + +2011-09-19 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure in 'primary-prefix-valid-couples.test' + * tests/primary-prefix-valid-couples.test: After commit + v1.11-464-gc9dfc36, `java_JAVA' is not a valid prefix/primary + combination by default anymore: one has to explicitly define + $(javadir) to make it so. So just drop `java_JAVA' from our + Makefile.am Also, since we are at it, ... + (configure.in): ... remove AM_PROG_GCJ from here, as it's not + really required. + +2011-09-19 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: deprecate JAVA primary + * doc/automake.texi (Java): Deprecate the JAVA primary, stating + that it will become obsolete in automake 1.12 and probably removed + altogether in automake 1.13. Reflect this in the section title, + by appending the string "(deprecated feature)". + (@menu, @detailmenu): Update. + (Java Support with gcj): The cross-referenced support for bytecode + compilation with the JAVA primary is rudimentary and deprecated. + State that explicitly. + +2011-09-19 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: clearer distinction between `.java' with javac and with gcj + * doc/automake.texi (Java support): Rename this node ... + (Java support with gcj): ... to this, and change its title from + "Compiling Java sources" to "Compiling Java sources using gcj". + (@detailmenu, @menu, @cindex): Update and make more precise. + (Java): Change the title of this node from simply "Java" to + "Java bytecode compilation". + (@detailmenu, @menu, @cindex): Update and make more precise. + +2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + java: complain if java_JAVA is used but $(javadir) is undefined + Fixes automake bug#8461. + * automake.in (handle_java): Remove inappropriate "java" argument + from the calls to `&am_install_var' and `&am_primary_prefixes'. + * tests/instdir-java.test (Makefile.am): Define `$(javadir)'. + * tests/javadir-undefined.test: New test. + * tests/Makefile.am (TESTS): Add it. + * NEWS: Update. + +2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + parallel-tests: expose automake bug#9546 + * tests/test-driver-is-distributed.test: New test. + * tests/Makefile.am (TESTS, XFAIL_TESTS): Add it. + +2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + py-compile tests: more faithful 'installcheck' support + * tests/py-compile-basedir.test: Use the `$am_scriptsdir' variable + instead of `$testsrcdir/../lib', to test more faithfully under + "make installcheck". More uses of the `fatal_' subroutine to + diagnose hard errors. + * tests/py-compile-basic.test: Likewise. + * tests/py-compile-basic2.test: Likewise. + * tests/py-compile-destdir.test: Likewise. + * tests/py-compile-env.test: Likewise. + * tests/py-compile-option-terminate.test: Likewise. + * tests/py-compile-usage.test: Likewise. + +2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove redundant settings of `errexit' shell flag + * tests/aclocal-acdir.test: Do not set the `errexit' shell + flag, as it is already set by `tests/defs'. + * tests/aclocal-print-acdir.test: Likewise. + * tests/distcheck-missing-m4.test: Likewise. + * tests/distcheck-outdated-m4.test: Likewise. + * tests/java-clean.test: Likewise. + * tests/java-compile-install.test: Likewise. + * tests/java-compile-run-flat.test: Likewise. + * tests/java-compile-run-nested.test: Likewise. + * tests/java-mix.test: Likewise. + * tests/java-no-duplicate.test: Likewise. + * tests/java-nobase.test: Likewise. + * tests/java-rebuild.test: Likewise. + * tests/java-sources.test: Likewise. + * tests/java-uninstall.test: Likewise. + * tests/javaflags.test: Likewise. + * tests/nobase-nodist.test: Likewise. + * tests/py-compile-basedir.test: Likewise. + * tests/py-compile-basic.test: Likewise. + * tests/py-compile-basic2.test: Likewise. + * tests/py-compile-destdir.test: Likewise. + * tests/py-compile-env.test: Likewise. + * tests/py-compile-option-terminate.test: Likewise. + * tests/py-compile-usage.test: Likewise. Since we are at it, + add an extra blank line, for clarity. + +2011-09-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + automake: remove special handling of `ANSI2KNR' make variable + * automake.in (define_configure_variable): Remove special-cased + handling of `ANSI2KNR' variable. Related minor simplifications. + +2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: test interactions of `nobase_' and `nodist_' + * tests/nobase-nodist.test: New test. + * tests/Makefile.am (TESTS): Add it. + +2011-09-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + java: fix various blunders in test 'java-mix.test' + * tests/java-mix.test: Add missing call to `set -e'. Fix inverted + semantics (`.java' files are expected *not* to be distributed by + default, not the other way round). Fix various typos in the name + of the `.java' files. Correct other minor blunders. Improve some + comments. + +2011-09-15 Stefano Lattarini <stefano.lattarini@gmail.com> + + automake: remove code duplication in 'handle_tests' + * automake.in (handle_tests): Factor out some code dealing with + test extensions and rules for generation of `.log' files into ... + (handle_per_suffix_test): ... this new subroutine. + * tests/parallel-tests-exeext.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-09-13 Peter Rosin <peda@lysator.liu.se> + + * tests/defs [$sh_errexit_works = yes]: Output 'SIGINT' for signal 2. + +2011-09-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + self tests: work around 'unset' spurious non-zero return value + * tests/self-check-exit.tap ($init): Unset the possibly already + unset variable `am_explicit_skips' when the `errexit' shell flag + is not yet active, for the benefit of shell that return a non-zero + status when unsetting an already-unset variable. + +2011-09-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: an explicative comment on signal-related woes + * tests/self-check-exit.tap: Add pointer to a bug-autoconf + discussion explaining why this test needs to temporarily block + SIGINT. + +2011-09-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: also trap SIGQUIT; other fixes + Some shells seems to just ignore SIGQUIT under some circumstances, + even when it is not blocked; however, if the signal it trapped, + the trap gets correctly executed. + * tests/defs [$sh_errexit_works = yes]: Also trap SIGQUIT. Add + extensive explanation of why we do so. + * tests/self-check-cleanup.tap: Improve and fix to ensure that an + earlier failure does not prevent the rest of the test to execute. + Problem revealed by a failure in `self-check-cleanup.tap'. + +2011-09-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: work around weird ksh behaviour w.r.t. signal handling + * tests/defs (is_blocked_signal): Use perl to determine whether a + signal is trapped, since trying to do it portably within the shell + means opening a nasty can of worms. + For more information and background, see: + <http://lists.gnu.org/archive/html/bug-autoconf/2011-09/msg00004.html> + <http://mail.opensolaris.org/pipermail/ksh93-integration-discuss/2009-February/004121.html> + <http://www.cons.org/cracauer/sigint.html> + +2011-09-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + cosmetics: fix various typos and grammaros + * NEWS: Fix typos. + * tests/py-compile-basic.test: Likewise. + * tests/py-compile-basedir.test: Fix botched wording in comments. + * tests/py-compile-option-terminate.test: Fix typo and incomplete + comment. + Suggestions by Peter Rosin. + +2011-09-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove redundant line from a test script + * tests/test-log.test (fail.test): Remove extra `echo' command, + probably due to a past copy&paste blunder. + +2011-09-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: convert another test to TAP + * tests/primary-prefix-invalid-couples.test: Renamed ... + * tests/primary-prefix-invalid-couples.tap: ... to this, and + converted to the use of the TAP protocols (this requires only + very minimal changes this time). + * tests/list-of-tests.mk: Update. + +2011-09-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure on fast machines + * tests/aclocal-acdir.test: Avoid spurious failures due to caching + issues, by cleaning the autom4te cache between all the aclocal + invocations, and by always calling autoconf with the `--force' + flag. + +2011-09-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: minor optimizations/simplifications in some aclocal tests + * acloca11.test: Instead of running ./configure and then grepping + the file it has produced, directly grep configure. Add trailing + `:' command. + * acloca12.test: Likewise. + * acloca10.test: Likewise. Also, remove the autom4te caches + by hand, instead of sleeping to ensure they get outdated and + ignored. + * aclocal9.test: Likewise. + * acloca18.test: Likewise. Also, do not remove file `foo', + which is not being created anymore. + * acloca20.test: The test makes sense only if the system support + real symlinks, so skip it if this is not the case. This allows + for various simplifications. + +2011-09-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + prove: avoid weird signal-related bug + * tests/defs (trap): In the trap code dealing with SIGPIPE + signal, ignore further signals of the same kind. + See also Test::Harness issue [rt.cpan.org #70855], archived at + <https://rt.cpan.org/Ticket/Display.html?id=70855> + +2011-09-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: allow use of `prove' to run automake testsuite + * tests/prove-runner: New helper script; mostly it wraps + our `*.test' test scripts to make them runnable by the + `prove' utility. + * tests/Makefile.am (EXTRA_DIST): Distribute it. + (PROVE, AM_PROVEFLAGS, AM_PROVECMD): New variables. + (prove, installprove): New targets, used run the automake + testsuite through the `prove' utility. + * tests/gen-testsuite-part: For any considered dependency, + generate a variables that groups all the tests depending on + it. This is especially useful for use in the new `prove' + and `installprove' targets, which cannot rely on make for + inter-test dependencies, and have to handle them "by hand". + +2011-09-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests defs: more namespace-safeness + ($using_tap): Renamed ... + ($am_using_tap): ... to this. + ($parallel_tests): Renamed ... + ($am_parallel_tests): ... to this. + ($test_prefer_config_shell): Renamed ... + ($am_test_prefer_config_shell): ... to this. + ($original_AUTOMAKE): Renamed ... + ($am_original_AUTOMAKE): ... to this. + ($original_ACLOCAL): Renamed ... + ($am_original_ACLOCAL): ... to this. + * tests/defs, tests/defs-static.in, tests/gen-testsuite-part, + tests/README, and all callers: Adjusted. + * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Adjust, and rewrite + to make future adjustments easier. + * tests/defs (funcs_file_): Renamed ... + (am_funcs_file): ... to this. + * Makefile.am (sc_tests_obsolete_variables): New maintainer + check. + (syntax_check_rules): Add it. + +2011-09-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + aclocal: better URL reference in error message + * aclocal.in (scan_file): In the error message about underquoted + definitions, reference the automake page at `www.gnu.org', not + at `sources.redhat.com'. + +2011-09-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: avoid creating useless files in some test directories + * tests/aclocal.test: Define `$am_create_testdir' to "empty" + before sourcing ./defs, to avoid bringing in unused auxiliary + files. Related adjustments. + * tests/aclocal3.test: Likewise. + * tests/aclocal8.test: Likewise. + * tests/aclocal9.test: Likewise. + * tests/acloca10.test: Likewise. + * tests/acloca11.test: Likewise. + * tests/acloca12.test: Likewise. + * tests/acloca15.test: Likewise. + * tests/acloca16.test: Likewise. + * tests/acloca17.test: Likewise. + * tests/acloca18.test: Likewise. + * tests/acloca20.test: Likewise. + * tests/acloca21.test: Likewise. + * tests/acloca23.test: Likewise. + * tests/aclocal-print-acdir.test: Likewise. + * tests/ar-lib.test: Likewise. + * tests/compile.test: Likewise. + * tests/compile2.test: Likewise. + * tests/compile3.test: Likewise. + * tests/compile6.test: Likewise. + * tests/instsh2.test: Likewise. + * tests/instsh3.test: Likewise. + * tests/mdate5.test: Likewise. + * tests/mdate6.test: Likewise. + * tests/missing3.test: Likewise. + * tests/missing5.test: Likewise. + * tests/mkinst3.test: Likewise. + * tests/self-check-explicit-skips.test: Likewise. + * tests/self-check-report.test: Likewise. + * tests/self-check-sanity.test: Likewise. + * tests/tap-driver-stderr.test: Likewise. + +2011-09-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: more environment cleanup + * tests/defs: Also unset the XFAIL_TESTS, and various + LOG_DRIVER, LOG_COMPILER variables (and corresponding + flags variable). + +2011-09-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: allow depmod.tap to only run a subset of its tests + * tests/depmod.tap: If command-line arguments are passed to the + tests, they are now taken as the list of test names for which the + checks are to be run. + +2011-09-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: allow instspc.tap to only run a subset of its tests + * tests/instspc.tap: If command-line arguments are passed to the + tests, they are now taken as the list of test names for which the + checks are to be run. + +2011-09-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: distcheck-hook to catch missing/outdated *.m4 files + Related to automake bug#9037. + * tests/distcheck-missing-m4.test: New test. + * tests/distcheck-outdated-m4.test: Likewise. + * tests/distcheck-hook-m4.am: New data file, used by the new + tests. + * tests/Makefile.am (distcheck-m4-missing.log, + distcheck-m4-outdated.log): Depend on it. + (EXTRA_DIST): Distribute it. + (TESTS): Add the new tests. + +2011-09-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: more granularity in variables for tools overriding + Among the other things, this change makes it possible to use, at + the same time, an autoconf version in the automake testsuite and + another one in the automake build system; even more importantly, it + makes it possible to use, say, a non-GNU make implementation in the + test scripts, while at the same time using GNU make to drive the + execution of the automake's test suite. + * tests/defs-static.in (TEX, EGREP, FGREP, SHELL, PERL, MAKE, + AUTOCONF, AUTOM4TE, AUTORECONF, AUTOHEADER, AUTOUPDATE, + original_AUTOMAKE, original_ACLOCAL): Allow and prefer overriding + through corresponding `AM_TESTSUITE_..' variables; for example, + $GREP can now be overridden by an exported `$AM_TESTSUITE_GREP' + +2011-09-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: fix `skip_row_' subroutine in tap-functions.sh + * tests/tap-functions.sh (skip_row_): Use `seq_', not `seq', to + be portable to non-GNU systems. + Bug revealed by a testsuite error on Solaris. + +2011-09-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + installcheck: support it in our own testsuite + * NEWS: Update. + * tests/defs-static.in ($am_running_installcheck): New variable. + Initialize it to a default of "no", and sanity-check its value. + ($am_datadir, $am_docdir, $am_automake_acdir, $am_system_acdir, + $am_bindir, $am_scriptdir, $am_pkgvdir): New variables, + initialized from AC_SUBST'ed values which are adaptively chosen + depending on whether the testsuite is running in "simple" mode + or in "installcheck" mode. + ($MISSING): Remove, it's not really required by the testsuite. + ($PATH): Update using `$am_bindir', not `$testbuilddir'. + * Makefile.am (installcheck-local): New target. + * lib/Automake/tests/Makefile.am (installcheck-local): New target. + (AM_TESTS_ENVIRONMENT, AM_PL_LOG_FLAGS): Adaptively choose the + `-I' flags for perl based on whether the tests are being run by + "make check" or "make installcheck". + * tests/Makefile.am (installcheck-local): New target. + (defs-static): Generate it at make time, not at configure time, + in order to correctly resolve all the indirections in the + AC_SUBST'd variables; done with the help of ... + (do_subst): ... this new macro. + (EXTRA_DIST): Explicitly distribute `defs-static.in'. + (CLEANFILES): Remove `defs-static'. + * configure.ac (AC_CONFIG_FILES): Remove `tests/defs-static'. + (AC_SUBST): Substitute also `automake_acdir', `system_acdir', + `scriptdir' and `amdir' to proper values. + * lib/Makefile.am (scriptdir): Don't explicitly define anymore. + * lib/am/Makefile.am (amdir): Likewise. + * m4/acdir/dirlist: Remove, it's not needed anymore. Instead + use ... + * m4/acdir/.placeholder: ... this file. + * m4/Makefile.am (EXTRA_DIST): Update. + (automake_acdir, system_acdir): Don't explicitly define anymore. + * tests/aclocal-print-acdir.test: Use new `$am_...dir' variables, + instead of hard-coding values with $testsrcdir and $testbuilddir, + to test more faithfully under "make installcheck". + * tests/amhello-binpkg.test: Likewise. + * tests/amhello-cflags.test: Likewise. + * tests/amhello-cross-compile.test: Likewise. + * tests/ansi2knr-no-more.test: Likewise. + * tests/autodist-stamp-vti.test: Likewise. + * tests/auxdir.test: Likewise. + * tests/check2.test: Likewise. + * tests/copy.test: Likewise. + * tests/multlib.test: Likewise. + * tests/obsolete.test: Likewise. + * tests/parallel-tests-interrupt.test: Likewise. + * tests/repeated-options.test: Likewise. + * tests/suffix5.test: Likewise. + * tests/tap-doc2.test: Likewise. + * tests/txinfo22.test: Likewise. + * tests/vtexi3.test: Likewise. + * tests/defs: Likewise. Also, print the values of `$using_tap' + and `$am_running_installcheck', to simplify debugging, and do + some related code movings and tweakings. + * tests/aclocal3.test: Update to avoid possible spurious failures + when running under "make installcheck". + * tests/warnings-unknown.test: Likewise. + * tests/location.test: Likewise, and improve debugging input since + we are at it. + * tests/acloca10.test: Adapt and tweak to work also during a + "make installcheck", and not to require a pre-populated `dirlist' + file. + * tests/acloca18.test: Likewise. + * tests/dirlist2.test: Likewise. + * tests/dirlist.test: Likewise, and remove an obsolete comment. + * tests/README: Update. + * tests/dirlist-abspath.test: New test. + * tests/list-of-tests.mk: Update. + +2011-09-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: fix spurious failures + * tests/gen-testsuite-part (write_wrapper_script): More uses of + creative quoting in the generated tests, to avoid triggering + failures in the `sc_tests_Exit_not_exit' maintcheck. + * Makefile.am (sc_tests_tap_plan): It's OK for auto-generated + TAP tests that sources an hand-written one not to declare a TAP + plan: the sourced test will do so. + * tests/Makefile.am (checked_test_extensions): Don't define + anymore, the default value `$(TEST_EXTENSIONS)' is correct now. + (expected_list_of_tests): Don't define anymore, the default + value `$(TESTS)' is correct now. + +2011-09-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + aclocal: more granularity in acdir overriding + Before this change, using the `--acdir' option caused aclocal to + redefine both the directory of automake-provided m4 macros and the + directory of third-party system-wide m4 macros. With this change, + we deprecate the `--acdir' aclocal option, and introduce two new + options `--automake-acdir' and `--system-acdir', to allow for more + granularity. + * aclocal.in (@automake_includes, @system_includes, + @user_includes): Fix and extend comments. + (usage): Update. + (handle_acdir_option): New function. + (parse_arguments): Recognize new options `--system-acdir' and + `automake-acdir', and handle `--acdir' using the new function + above. Simplify logic by assuming that the directory of + third-party system-wide m4 files always exists. + * tests/aclocal.in: Update to use the new options, instead of + the deprecated. `--acdir'. + * m4/dirlist: Move ... + * m4/acdir/dirlist: ... here. + * m4/Makefile.am (EXTRA_DIST): Update. + (m4datadir): Rename ... + (automake_acdir): ... to this. Accordingly, ... + (dist_m4data_DATA): ... rename this ... + (dist_automake_ac_DATA): ... to this. + (system_acdir): New, directory. + (dist_system_ac_DATA): New, defined to an empty value; this will + ensure that the $(system_acdir) directory will be created by + "make install". + * tests/aclocal.test: Remove check about the `--print-ac-dir' + option of aclocal, it has been moved into ... + * tests/aclocal-print-acdir.test: ... this new test, and quite + extended. + * tests/aclocal-acdir.test: New test. + * tests/Makefile.am (TESTS): Add the new tests. + * NEWS, bootstrap: Update. + * doc/automake.texi (aclocal Options, Macro Search Path): Update. + +2011-09-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + cosmetic: rename gen-tests-deps -> gen-testsuite-part + * tests/gen-tests-deps: Renamed ... + * tests/gen-testsuite-part: ... to this. + * bootstrap: Update. + * tests/Makefile.am ($(srcdir)/tests-deps.am): Don't generate + nor include this ... + ($(srcdir)/testsuite-part.am): ... do with this instead. + * tests/.gitignore (tests-deps.am): Don't ignore this ... + (testsuite-part.am): ... ignore this instead. + +2011-09-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: revamp generation of autogenerated tests + With this change, we make generated tests be real scripts again + -- albeit only thin layers around the tests they wrap. It turned + out that the apparently clever tricks we played by having lots + of custom (and auto-generated) `..._LOG_COMPILER' variables and + by having the tests in $(wrap_TESTS) not being real on-file-system + scripts caused more pain and confusion than expected, for only + marginal gains. Also, that previous setup didn't interact very + well with "make check RECHECK_LOGS=", since the log files for + the "wrappee" tests were always considered out-of-date (which in + hindsight is natural, since these log files depended on wrappee + tests that didn't exist -- and weren't created). And finally, it + wasn't possible to easily and naturally run the wrappee tests + from the command line -- definitely harmful for debugging and + sanity checking. + * tests/gen-wrap-tests: Deleted, its role subsumed into ... + * tests/gen-tests-deps: ... this script, with the help of + (unindent, atomic_write, build_matcher, write_wrapper_script, + %test_generators): ... these new functions and variables. + Other few minor fixlets and improvements. + * tests/wrap-tests.sh: Delete, not needed anymore. + * tests/Makefile.am ($(srcdir)/wrap-tests.am): Don't generate + nor include anymore. + (EXTRA_DIST): Update. + (wrap_TESTS): Renamed to ... + (generated_TESTS): ... this. + ($(generated_TESTS)): Must have the same dependencies of + `$(srcdir)/tests-deps.am'. + Other minor related reordering and adjustments. + * bootstrap: Do not generate `wrap-tests.am' anymore. + * tests/.gitignore (wrap-tests.am): Don't ignore anymore. + (*-w.test, *-w.tap): Ignore. + * tests/README: Update paragraph on automatically-generated + tests. + +2011-09-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: automatize generation of dependencies for tests + * tests/gen-test-deps: New script, automatically generates + dependencies for the tests. + * tests/Makefile.am (EXTRA_DIST): Distribute it. + ($(srcdir)/tests-deps.am): New rule. + (include $(srcdir)/tests-deps.am): New inclusion. + Remove hand-written dependencies for tests. Other related + updates. + * tests/list-of-tests (tap_with_common_setup_TESTS, + tap_other_TESTS): Delete, their content merged back into ... + (handwritten_TESTS): ... this. + * tests/.gitignore (tests-deps.am): New ignored file. + * bootstrap: Generate `tests/tests-deps.am'. + +2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: avoid spurious failure due to bug in older TAP::Parser + Older TAP::Parser versions (e.g., 3.10) erroneously convert a test + number `0' into `1'; do not let this bug cause a spurious failure + in our testsuite. + * tests/tap-test-number-0.test: Skip if the aforementioned + TAP::Parser bug is detected. + +2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/perl: be more portable to older perl versions + * lib/tap-driver.pl (trap_perl_warnings_and_errors): Do not use + the three-args version of the `open' builtin, it is not well + supported by older perl versions (at least perl 5.6.2). + (start): Add a no-op statement to pacify a "possible typo ... used + only once" perl warning. + +2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/perl: be more portable to older TAP::Parser versions + * lib/tap-driver.pl (start): Do not call the `ignore_exit' method + on our TAP parser: it is not supported in older TAP::Parser + versions (e.g., 3.10), and is not really required by our usage of + the parser object. + +2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious Cygwin failure of a test on TAP support + * tests/tap-bad-prog.tap (noexec.test): Add forgotten `echo'. + When trying to run it, redirect its output to /dev/null, to + avoid confusing automake's testsuite own TAP driver. + +2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: fix glitch in TAP version of `warn_' function + * tests/tap-functions.sh (warn_): Do not display the warning + message two times. + +2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix another spurious failure due to ignored signals + * tests/tap-signal.test: Renamed ... + * tests/tap-signal.tap: ... to this, converted to the use of the + TAP protocol, and improved not to try to use/trap signals that + are ignored by the parent shell (they will be forcibly ignored + by all the child processes too). Extend the test a bit since we + are at it. + * tests/list-of-tests.mk: Update. + +2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix a spurious failure due to lacking Fortran compilers + * tests/silent-many-generic.test (configure.in): Cause the test + to be skipped if `configure' fails to find working C++, Fortran + and Fortran 77 compilers. + +2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + self tests: more use of TAP + * tests/self-check-reexec.test: Renamed ... + * tests/self-check-reexec.tap: ... to this, converted to the + use of TAP protocol, and extended a bit. + * tests/self-check-seq.test: Renamed ... + * tests/self-check-seq.tap: ... to this, and converted to the + use of TAP protocol. + * tests/list-of-tests.mk: Update. + +2011-09-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + self tests: fix spurious failures when /bin/ksh do not exists + * tests/self-check-reexec.test: Ensure that the non-bash shells + we look do really exists. Since we are at it, also try the name + `ash', non `dash', for the Almquist Shell, for Cygwin 1.5. + +2011-09-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: more use of TAP in our own testsuite + * tests/parallel-tests-interrupt.test: Renamed ... + * tests/parallel-tests-interrupt.tap: ... to this, and converted + to the use of TAP protocol. + * tests/self-check-cleanup.test: Renamed ... + * tests/self-check-cleanup.tap: ... to this, and converted to the + use of TAP protocol. + * tests/self-check-dir.test: Renamed ... + * tests/self-check-dir.tap: ... to this, and converted to the use + of TAP protocol. + * tests/self-check-is_newest.test: Renamed ... + * tests/self-check-is_newest.tap: ... to this, and converted to + the use of TAP protocol. + * tests/self-check-unindent.test: Renamed ... + * tests/self-check-unindent.tap: ... to this, and converted to + the use of TAP protocol. + * tests/list-of-tests.mk: Update. + +2011-09-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + self tests: sanity check on 'is_blocked_signal' function + * tests/self-check-is-blocked-signal.tap: New test. + * tests/list-of-tests.mk: Update. + +2011-09-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failures due to ignored signals + * tests/defs (is_blocked_signal): New function. + * tests/parallel-tests-interrupt.test: Do not try to use/trap + signals that are ignored by the parent shell: they will be + ignored by all the child processes too. + * tests/self-check-exit.test: Likewise. + * tests/self-check-cleanup.test: Likewise, and do few minor + improvements and extensions since we are at it. + +2011-09-05 Peter Rosin <peda@lysator.liu.se> + + * tests/amhello-binpkg.test: Add missing $EXEEXT usage. + +2011-09-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + fix: list test 'vala-vpath.test' in XFAIL_TESTS + * tests/Makefile.am (XFAIL_TESTS): Update. + +2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: simplify wrapper for aclocal + * tests/aclocal.in: Remove use of $ACLOCAL_TESTSUITE_FLAGS and + extra `-I' flags; they are not really required, since the file + `m4/amversion.m4' is generated in the srcdir anyway. + * tests/acloca10.test: Remove use of $ACLOCAL_TESTSUITE_FLAGS. + * tests/acloca18.test: Likewise. + * tests/defs.in: Don't nullify $ACLOCAL_TESTSUITE_FLAGS, and do + not export it. + +2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove redundant settings of `errexit' shell flag + * doc-parsing-buglets-colneq-subst.test: Do not set the + `errexit' shell flag, as it is already set by `tests/defs'. + * doc-parsing-buglets-tabs.test: Likewise. + * java-empty-classpath.test: Likewise. + * vala-vpath.test: Likewise. + +2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: more uses of `$top_testsrcdir', in the `amhello' tests + * tests/amhello-binpkg.test: Use `$top_testsrcdir' instead + of `$testsrcdir/..'. + * tests/amhello-cflags.test: Likewise. + * tests/amhello-cross-compile.test: Likewise. + +2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: avoid creating useless files in the `amhello' tests + * tests/amhello-binpkg.test: Define `$am_create_testdir' to + "empty" before sourcing ./defs, to avoid bringing in unused + auxiliary files. + * tests/amhello-cflags.test: Likewise. + * tests/amhello-cross-compile.test: Likewise. + +2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: vala support failing for VPATH from-scratch builds + * tests/vala-vpath.test: New test, xfailing. + * tests/Makefile.am (TESTS): Update. + * THANKS: Update. + From a report by Zbigniew Jędrzejewski-Szmek. + Related to automake bug#8753. + +2011-09-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: report few more automake parsing limitations + Partly motivated by automake bug#8360. + * doc/automake.texi (General Operation): Report few more automake + limitations w.r.t. parsing of unusual makefile constructs. Related + minor reorderings. + * tests/doc-parsing-buglets-colneq-subst.test: New test. + * tests/doc-parsing-buglets-tabs.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-09-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + automake: fix regression due to de-ansification support removal + The last change `v1.11-947-g136b489' removed code that automake + was using to decide whether binary objects were built by the + generated Makefile.in, so that it could avoid to emit unneeded + code when this was not the case. Re-introduce such code in a + less-obfuscated form, and add a test to ensure we don't regress + again. + * automake.in ($must_handle_compiled_objects): New global + variable, telling whether the generated Makefile has to build + compiled objects. + (initialize_per_input): Reset it. + (handle_programs, handle_libraries, handle_ltlibraries): Set + it to a true value when required. + (handle_compile): Don't generate any code if the variable + `$must_handle_compiled_objects' is not set to a true value. + * tests/no-extra-makefile-code.test: New test. + * tests/Makefile.am (TESTS): Add it. + +2011-08-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + automake: cleanups after de-ansification support removal (2) + * automake.in ($get_object_extension_was_run): Remove, it's not + really needed anymore. + (&get_object_extension): Remove, it's a no-op now. + All callers adjusted. + +2011-08-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + automake: cleanups after de-ansification support removal (1) + * automake.in (lang_c_rewrite, handle_single_transform): Rename + variable `$nonansi_obj' to `$obj'. + +2011-08-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + ansi: remove obsolete code/files for de-ANSI-fication support + * lib/ansi2knr.1, lib/ansi2knr.c: Deleted. + * lib/Makefile.am (dist_pkgvdata_DATA): Do not list them anymore. + * lib/am/ansi2knr.am: Delete. + * lib/am/Makefile.am (dist_am_DATA): Do not list it anymore. + * lib/Automake/Variable.pm (%_am_macro_for_var): Remove entries for + `ANSI2KNR' and `U'. + * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Don't care anymore + about possible definition of the `$U' variable. + * automake.in (@common_files): Drop `ansi2knr.1' and `ansi2knr.c'. + (struct): Remove scalar field `ansi'. + All callers adjusted. + (&lang_c_finish, %de_ansi_files): Remove, they're not required + anymore. + All callers adjusted. + ($get_object_extension_was_run): Fix typo in comment. + (&get_object_extension): Drop code dealing with de-ansification; + this function basically a no-op now, but is required to properly + initialize `$get_object_extension_was_run' variable. + (&handle_languages, &handle_compile, &lang_c_rewrite): Drop code + dealing with de-ansification. + +2011-08-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + ansi: reject attempts to use automatic de-ANSI-fication support + * tests/protos.m4 (AM_C_PROTOTYPES): Error out whenever called. + * lib/Automake/Options.pm (_process_option_list ): Error out + with a proper error message when the `ansi2knr' option is used. + Related updates to comments. + * tests/depacl2.test: Update. + * tests/ansi2knr-no-more.test: New test. + * tests/Makefile.am (TESTS): Add it. + * NEWS: Update. + +2011-08-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove tests about obsolete de-ANSI-fication support + * tests/ansi.test: Delete. + * tests/ansi10.test: Likewise. + * tests/ansi2.test: Likewise. + * tests/ansi2knr-deprecation.test: Likewise. + * tests/ansi3.test: Likewise. + * tests/ansi3b.test: Likewise. + * tests/ansi4.test: Likewise. + * tests/ansi5.test: Likewise. + * tests/ansi6.test: Likewise. + * tests/ansi7.test: Likewise. + * tests/ansi8.test: Likewise. + * tests/ansi9.test: Likewise. + * tests/cxxansi.test: Likewise. + * tests/libobj8.test: Likewise. + * tests/subobj3.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-08-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: remove description of de-ANSI-fication support from manual + * doc/automake.texi (Auxiliary Programs): Remove mention of + `ansi2knr.c' and `ansi2knr.1'. + (Obsolete Macros): Remove mention of `AM_C_PROTOTYPES'. Do not + index it nor variables `ANSI2KNR' and `U' anymore. + (List of Automake options): Remove mention of `ansi2knr' option, + and obsolete entries for concept and option indexes. + (Optional): Remove entry about `AM_C_PROTOTYPES'. + (@c LocalWords): Remove `ansi' and `knr'. + (@menu, @detailmenu): Remove entries about de-ANSI-fication + support. + +2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: better respect of TAP usage in wrapped tests + * tests/gen-wrap-tests: Partial rewrite to take into account the + possibility that the wrapped test uses the TAP protocol. This + complicates the code quite a bit, but is essential to ensure real + correctness in all the wrapped scripts. + * tests/wrap-tests.sh: Update, and add few more sanity checks. + +2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: use both perl and awk implementations for tests on TAP + * tests/gen-wrap-tests (get_list_for_pltap): New function, gets + the list of tests that check the Automake TAP support. + ($defines_for_pltap): New variable. + ($wrapper_type_list): Add "pltap". + * tests/defs-static.in: Check that `$am_tap_implementation' is + not exported in the environment. + * tests/self-check-env-sanitize.tap: Update. + +2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: two single auxiliary scripts to run/generate wrapped tests + * tests/config-shell-tests.sh, tests/parallel-tests.sh, + tests/gen-config-shell-tests, tests/gen-parallel-tests: Deleted, + their roles taken over by ... + * tests/wrap-tests.sh, tests/gen-wrap-tests: ... these new more + general scripts. + * tests/Makefile.am (EXTRA_DIST): Distribute the new scripts, and + do not distribute the obsolete ones anymore. + ($(srcdir)/parallel-tests.am, $(srcdir)/config-shell-tests.am): Do + not include nor generate anymore, they have been superseded by ... + ($(srcdir)/wrap-tests.am): ... this new fragment, automatically + generated by `gen-wrap-tests'. + (PTEST_LOG_COMPILER, SHTST_LOG_COMPILER): Delete, they are now + defined in the new `wrap-tests.am' makefile fragment. + (TEST_EXTENSIONS): Do not append to it anymore, that is now done + by the new `wrap-tests.am' makefile fragment above. + ($(parallel_tests:.ptest=.log), $(config_shell_tests:.shtst=.log), + $(parallel_tests), $(config_shell_tests): Remove this dependencies, + superseded by ... + ($(wrap_TESTS), $(wrap_LOGS)): ... these ones. + (MAINTAINERCLEANFILES): Delete, it's not used anymore. + (TESTS): Do not contain anymore `$(config_shell_tests)' nor + `$(parallel_tests)', contain `$(wrap_TESTS)' instead, as defined + by `$(srcdir)/wrap-tests.am'. + Other related minor edits and reorderings. + * bootstrap, tests/.gitignore, tests/README: Update. + +2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: list of tests placed in a separate Makefile fragment + This change allows us to easily use make instead of by-hand (and + more fragile) grepping to extract the list of hand-written tests + from our Makefiles. + * bootstrap (BOOTSTRAP_MAKE): New variable. + Use it to run make in order to extract the list of hand-written + tests from ... + * tests/list-of-tests.mk: ... this new file, where they are + listed in ... + (handwritten_TESTS, tap_with_common_setup_TESTS, tap_other_TESTS): + ... these variables, extracted respectively from ... + * tests/Makefile.am (handwritten_tests, tap_other_tests, + tap_with_common_setup_tests): ... these older variables, now + removed. + (EXTRA_DIST, expected_list_of_tests): Update w.r.t. the variable + names' changes. + (include $(srcdir)/list-of-tests.mk): New inclusion. + Remove an overkill indirection, and with it ... + (tap_with_common_setup_logs): ... this variable. + ($(srcdir)/parallel-tests.am, $(srcdir)/config-shell-tests.am): + Update to match the new interface of ... + (gen-parallel-tests, gen-config-shell-tests): ... these scripts, + that now read the list of tests from the standard input. + +2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: prefer AM_... variables to user-reserved ones in Makefile + * tests/Makefile.am (TAP_LOG_DRIVER_FLAGS): Renamed ... + (AM_TAP_LOG_DRIVER_FLAGS): ... to this. + +2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: some minor fixlets w.r.t. TAP-based tests + The variable that is used by our test scripts to decide whether + they are "plain" or TAP-based is `using_tap'; however, some + peripheral sanity checks and sanitization code in our testsuite + were erroneously using the `use_tap' variable instead. Fix that. + * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Nullify `using_tap', + not `use_tap'. + * tests/defs-static.in: Check that `using_tap', not `use_tap', + is not exported. + * tests/self-check-env-sanitize.test: Update. + +2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: avoid re-running a test with the 'parallel-tests' option + * tests/backcompat5.test (parallel_tests): Define to "no", to + prevent the generation of a sibling test script that uses the + 'parallel-tests' driver. That would be useless anyway, since + we manually override the contents of configure.in, thus clobbering + the `parallel-tests' option in AM_INIT_AUTOMAKE. + Fix a typo in comments since we are at it. + +2011-08-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: defaults to awk+shell driver in tests on TAP support + * tests/defs ($am_tap_implementation): Default to "shell", not + to "perl". + +2011-08-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: list "forgotten" test script in TESTS + * tests/Makefile.am (TESTS): Also list ... + * tests/java-empty-classpath.test: ... this test. Since we are + at it, remove trailing whitespace from a couple of lines. + +2011-08-25 Eric Blake <eblake@redhat.com> + + ylwrap: fix unusual indentation whitespace + * lib/ylwrap: Convert tabs to spaces. + Reported by Karl Berry. + +2011-08-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: different test scripts cannot share the same basename + If two test scripts have the same basename, they will end up + sharing the same log file, leading to all sort of undefined and + undesired behaviours. Add a Makefile check verifying that this + is not the case. + * tests/test-logs-repeated.test: New test, verifying previously + unspecified semantics (in the definition of $(TEST_LOGS) from + $(TESTS)) that we use in our new check. + * tests/Makefile.am (TESTS): Update. + (check-no-repeated-test-name): New .PHONY check. + (check-local): Depend on it. + +2011-08-26 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure for awk implementation of TAP driver + * tests/tap-realtime.test: The awk+shell implementation of the TAP + driver must "read ahead" of one line in order to catch the exit + status of the test script it runs. So, in the TAP-producer script + here, be sure to echo one "dummy" line after each TAP result line + in order not to cause false positives. + +2011-08-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/awk: allow escaping of TAP directives + * lib/tap-driver.sh (setup_result_obj): Handle escaping of TAP + directives in a way tat is (mostly) compatible by what is done + by the TAP::Parser module. + With this change, the tests `tap-escape-directive.test' and + `tap-escape-directive-2.test' now also pass with the shell/awk + implementation of the TAP driver. + +2011-08-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: more about escaping of TAP directives + * tests/tap-escape-directive.test: Make grepping of testsuite + progress output slightly stricter. + * tests/tap-escape-directive-2.test: New test (failing with the + awk implementation of the TAP driver). + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: improve syncing between awk+shell and perl implementations + * lib/tap-driver.pl (stringify_test_result): Renamed ... + (stringify_result_obj): ... to this. Break up a clause in the + long "if/elsif/.../else" construct to avoid unaesthetic line + breaks and to be more synced with the sibling function in + `tap-driver.sh'. Rename the `$result', `$PASS' and `$FAIL' + variables to respectively `$result_obj', `$COOKED_PASS' and + `$COOKED_FAIL', for clarity and better syncing. + (handle_tap_test): Renamed ... + (handle_tap_result): ... to this, and change the name of the + `$test' local variable to `$result_obj'. + (extract_comment): Reimplement using the simpler `index' and + `substr' builtins, rather than with more advanced uses of + regular expressions. + (%test_results, @test_results): Renamed respectively ... + (%test_results_seen, @test_results_list): ... to these, and + related adjustments throughout the `TEST_RESULTS' block. + (main, get_global_test_result): Refactor and do some cosmetic + changes to make these functions clearer and better synced with + sibling code in `tap-driver.sh'. + Other minor cosmetic and typo fixes. + * lib/tap-driver.sh (extract_tap_comment): Remove outdated + "FIXME" comments. + (get_global_test_result): Small reordering to make it better + synced with its sibling function in `tap-driver.pl'. + (stringify_result_obj): Consistently use `result_obj' as the + parameter name. + Other minor cosmetic and typo fixes. + +2011-08-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/perl: don't redirect perl warnings/errors to log files + With this change, the test `tap-driver-stderr.test' also passes + with the perl implementation of the TAP driver. + * lib/tap-driver.pl (start): Save the original stderr into the + `OLDERR' file handle, and call ... + (trap_perl_warnings_and_errors): ... this new function, trapping + the `__WARN__' and `__DIE__' "pseudo-signals" to ensure that the + warning and error messages goes to that original stderr stream. + Since we are at it, be sure to prepend all possible "die" message + with the name of the script as given by the `$ME' variable. + +2011-08-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/perl: add copyright notice, version string, and emacs stuff + * lib/tap-driver.pl: Add proper copyright notice and bug reporting + address. Remove obsolete heading comments. Add trailing comments + for emacs w.r.t. code-formatting rules and automatic updating of + the date-based script version saved into the `$VERSION' variable. + ($VERSION): Define to the current UTC date. + +2011-08-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/awk: don't redirect awk stderr to log files + * lib/tap-driver.sh: Handle the file descriptors redirections + more smartly, to avoid sending error messages from awk (about + e.g. syntax or I/O errors) to the log files instead that to the + console. + * tests/tap-driver-stderr.test: New test, verifying the improved + driver behaviour. Notice that this test still fails when using + the perl implementation of the TAP driver. + * tests/Makefile.am (tap_other_tests): Update. + +2011-08-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/awk: remove obsolete "FIXME" comment + * lib/tap-driver.sh: Remove obsolete "FIXME" comment about our + driver losing the exit status of the tested program; this issue + has been solved in precedent commit `v1.11-1052-gd630a0d'. Fix + an unrelated typo in comments since we are at it. + +2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: avoid spurious failure on Solaris + * tests/tap-signal.test (signal_caught): Fix a regression from + commit `v1.11-1052-gd630a0d' that was causing this test to fail + spuriously on Solaris (due to an already worked-around Solaris + /bin/sh bug, see commit `v1.11-981-g0ef3ef5'). + +2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: use the new awk+shell TAP driver in our own testsuite + * tests/Makefile.am (TAP_LOG_DRIVER): Redefine to use the new + awk+shell tap driver, which should be complete enough for use in + a "controlled" production environment. + +2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/awk: handle non-zero exit status from the test command + * lib/tap-driver.sh (get_test_exit_message): New function in the + awk script, used to extract the exit status of the test program, + or at least a good guess of it. + (write_test_results): Use it, reporting an ERROR result if it + detects that the test program exited with a non-zero status. + * tests/tap-signal.test: Account for the differences in the + error messages generated by the awk and perl TAP drivers. Fix + an unrelated typo in comments since we are at it. + +2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/awk: prepare to fetch the exit status of the test command + * lib/tap-driver.sh: Rewrite some logic in the main parsing loop, + to make it possible to read the exit status of the test command + from the last line of the input stream. + +2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/awk: refactor for future changes + * lib/tap-driver.sh: Rewrite the awk script so that the parsing + of the input stream is implemented as a hand-rolled loop in the + BEGIN block, using the `getline' builtin. + +2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: avoid spurious failure if rst2html program is missing + * tests/tap-html.test ($required): Require `rst2html'. + +2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/awk: support Solaris /usr/xpg4/bin/awk + * lib/tap-driver.sh: Use `\t', not `\\t', to represent tabulation + character in regexps, even when inside double-quoted strings; that + seems to be more portable to Solaris 10 XPG4 awk. + +2011-08-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/awk: support Solaris /usr/bin/nawk + * lib/tap-driver.sh (close_or_die): Remove, the use of the `close' + builtin in there was confusing /usr/bin/nawk from Solaris 10 into + a syntax error. + (write_test_results): Simply use `close' on the `*.trs' file, that + should be enough. + +2011-08-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/awk: correctly extract message from SKIP plans + * lib/tap-driver.sh (/^1\.\.0+[ \t]*#/): Add a forgotten `?' to + the regex used to extract the skip message from a "1..0" TAP plan. + * tests/planskip.test: Check for the just-fixed bug. + * tests/tap-planskip-unplanned-corner.test: Don't be too strict + w.r.t. the formatting of the "skip whole test" message, to avoid + failing due to bugs irrelevant for this test (like the one just + fixed). + +2011-08-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap/awk: support colorized output + * lib/tap-driver.sh: Pass definition of colors to the BEGIN block + of the awk script, using ... + ($init_colors): ... this new variable, which supersedes ... + ($red, $grn, $lgn, $blu, $mgn, $std): ... these variables, which + have been consequently removed. + ($color_tests): We don't have to pass this anymore to the awk + script, so do not convert it to a numeric boolean. + (decorate_result): Implement for real. + With this change, the test 'tap-color.test' now passes. + +2011-08-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: real (but still incomplete) awk implementation of TAP driver + * lib/tap-driver.sh: Add an incomplete, but mostly working, + implementation of a TAP parser and driver in awk. It doesn't yet + support colorized output, fetching of exit status from test + programs, nor a way to escape TAP directives in TAP result lines, + but passes all the tests of TAP support in the automake testsuite, + apart from the following ones: + - tap-color.test + - tap-escape-directive.test + - tap-exit.test + - tap-missing-plan-and-bad-exit.test + - tap-passthrough-exit.test + - tap-planskip-badexit.test + - tap-planskip-unplanned-corner.test + - tap-signal.test + Tested on Debian GNU/Linux with GNU awk 3.1.7 and 3.0.2, "original + awk" 2010-05-23-1, and mawk 1.3.3-15 (with which also the test + `tap-realtime.test' fails, in addition to those listed above). + +2011-08-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: fix spurious failure due to Solaris 'wc' incompatibility + * tests/tap-number-wordboundary.test ($planned): Strip any extra + whitespace from the output of `wc', to cater to Solaris 10. + +2011-08-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: keyword "SKIP" in TAP plan is case-insensitive + * tests/tap-planskip-case-insensitive.test: New test. + * tests/tap-planskip.test: Remove now-duplicated checks. + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: ambiguous use of TAP "TODO"/"SKIP" directives + * tests/tap-ambiguous-directive.test: New test. + * tests/tap-todo-skip-together.test: Reference it in heading + comments. + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: non-directive comments in TAP results are preserved + * tests/tap-result-comment.test: New test. + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: TAP result number followed by non-whitespace word boundary + * tests/tap-number-wordboundary.test: New test. + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: a TAP result numbered "0" is always out-of-order + * tests/tap-test-number-0.test: New, checks that a test result + numbered as 0 is to be considered out-of-order; this is + consistent with the behaviour of the `prove' utility. + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + cosmetics: fix botched indentation in perl TAP driver + * lib/tap-driver.pl (main, Getopt::Long::GetOptions): Fix + improper or botched indentation. + +2011-08-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: some more tests on corner cases of TAP support + * tests/tap-no-spurious.test: Extend checks verifying that a line + matching, say, the regex "^ok[a-zA-Z0-9_]" is *not* considered a + TAP result. + * tests/tap-no-spurious-numbers.test: New test, checking that our + TAP driver doesn't spuriously recognize as TAP result numbers what + is not (even if it seems pretty close). + * tests/tap-negative-numbers.test: New test, checking that our + TAP driver doesn't spuriously recognize negative TAP result + numbers, but correctly interprets them as test descriptions + instead. + * tests/tap-plan-leading-zero.test, tap-numbers-leading-zero.test: + New tests, checking how our driver fares in recognizing numbers + with leading zeroes in TAP results or TAP plans. + * tests/tap-planskip-malformed.test: New test, checking that a + malformed TAP plan is not recognized as a valid plan. + * tests/tap-plan-whitespace.test: New test, checking that a TAP + plan line with trailing whitespace is recognized and handled + correctly. + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-19 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: various fixlets and tweakings + * tests/seenc.test: Make grepping of automake stderr stricter. + Add a trailing `:' command. + * tests/symlink.test: Likewise. Also, define `$am_create_testdir' + to "empty" to avoid bringing in unused auxiliary files (only to + have to remove them right away), and use proper m4 quoting in + `configure.in'. + * tests/vpath.test: Make grepping of generated `Makefile.in' + slightly stricter. Prefer trailing `:' over trailing `Exit 0'. + * tests/suffix6c.test: Unset OBJEXT to avoid interferences from + the environment. + * tests/suffix12.test: Do not whitespace-indent `##' comments + when they are embedded in a makefile rule: having them indented + is not part of the Automake API, and might cause failures with + e.g., Tru64 make. + * tests/syntax.test: Simplify the `Makefile.am' to ensure that + automake doesn't fail for the wrong reasons. Make grepping of + automake stderr slightly stricter. + * tests/test-harness-vpath-rewrite.test: Remove useless variable + definition from `Makefile.am'. + * tests/test-driver-custom-multitest.test: Fix typo in comments. + * tests/self-check-me.tap: Fix minor typo in test description. + * tests/vars3.test: Make grepping of automake stderr stricter + and safer. + * tests/version6.test: Add sanity check, verifying that the + version number extracted from `automake --version' output seems + legit. + * tests/auxdir2.test: Renamed ... + * tests/auxdir-compauted.tap: ... to this, and converted to the + use of TAP. + * tests/auxdir4.test: Renamed ... + * tests/auxdir-unportable.tap: ... to this, and converted to the + use of TAP. + * tests/auxdir3.test: Renamed ... + * tests/auxdir-misplaced.test: ... to this. + * tests/auxdir5.test: Renamed ... + * tests/auxdir-nonexistent.test: ... to this. + * tests/auxdir9.test: Renamed ... + * tests/auxdir-autodetect.test: ... to this. + * tests/Makefile.am (TESTS): Update. + (XFAIL_TESTS): Remove `auxdir2.test'. + +2011-08-19 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: fix some redundant autotools calls in tests on TAP + * tests/tap-deps.test: Do not call autotools and configure; there + is no need to, since this script sources `tap-setup.sh'. + * tests/tap-empty-diagnostic.test: Likewise. + * tests/tap-escape-directive.test: Likewise. + * tests/tap-fancy2.test: Likewise. + * tests/tap-no-spurious.test: Likewise. + * tests/tap-out-of-order.test: Likewise. + +2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + * THANKS (Daniel Richard G.): Update e-mail address. + +2011-08-16 Daniel Richard G. <skunk@iskunk.org> (tiny change) + Stefano Lattarini <stefano.lattarini@gmail.com> + + java: avoid compilation errors when CLASSPATH is empty + * lib/am/java.am (CLASSPATH_ENV): When redefining `$CLASSPATH', + do not append an empty component in case the previous value of + CLASSPATH is empty or unset. + * tests/java-empty-classpath.test: New test. + * tests/Makefile.am (TESTS): Update. + Fixes automake bug#9306. + +2011-08-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + parallel-tests: no more spurious successes for FreeBSD make + Work around a bug of FreeBSD make bug that was causing the + automake-generated "check" target to complete with success + even if some tests failed; this happened only when FreeBSD + make was run in concurrent mode (as in, e.g., "make -j2 + check"). The bug is not present in NetBSD make. + This change fixes automake bug#9245: + <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9245> + See also FreeBSD PR bin/159730: + <http://www.freebsd.org/cgi/query-pr.cgi?pr=159730> + * lib/am/check.am [%?PARALLEL_TESTS%] $(TEST_SUITE_LOG): Use a + more "safe" (and apparently redundant) idiom to exit with error, + so that the non-zero exit status is picked up also by FreeBSD + make when it's running in concurrent mode. + * NEWS: Update. + * tests/check-concurrency-bug9245.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-08-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + hacking: we now require autoconf 2.68 + * HACKING ("Working in git"): Use autoconf and autom4te 2.68, + not 2.67, in the examples. + +2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: improve granularity for tests on problematic TAP messages + * tests/tap-message-0.test: Break up into ... + * tests/tap-msg0-result.test, tests/tap-msg0-directive.test, + tests/tap-msg0-planskip.test, tests/tap-msg0-misc.test, + tests/tap-msg0-bailout.test: ... these new tests, and extend + a little. + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: correctly handle string "0" in TAP messages + * lib/tap-driver.pl (is_null_string): New function, can be used + to determine whether a given string variable is empty or undefined. + Useful to avoid pitfalls like: + if ($message) { print "$message\n"; } + which wouldn't print anything if $message is the literal "0". + (handle_tap_test, handle_tap_plan, handle_tap_bailout): Use it, + to avoid missing messages composed only by a literal "0" in TAP + result descriptions and in skip, todo and bailout explanations. + * tests/tap-message-0.test: Enhance. + * tests/Makefile.am (XFAIL_TESTS): Remove it, it passes now. + +2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: a minor simplification in the perl TAP driver + * lib/tap-driver.pl: The `--disable-hard-errors' option is a + no-op, so just ignore it and its argument. + +2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + parallel-tests: fix help screen for test driver scripts + * lib/tap-driver.pl ($USAGE): The `--trs-file' option is mandatory + too. + * lib/tap-driver.sh (print_usage): Likewise. + * lib/test-driver (print_usage): Likewise. + ($scriptversion): Update. + +2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: add a dummy TAP driver script implemented in shell + awk + The user can also now decide which implementation of the TAP driver + to use in the testsuite by defining the `$am_tap_implementation' + variable to either "perl" or "shell". Future enhancements will + allow the testsuite to automatically run the test scripts on TAP + support with both the TAP driver implementations, to improve + coverage. + * tests/defs (fetch_tap_driver): Honor the `$am_tap_implementation' + variable to decide which implementation of the TAP driver to fetch. + ($am_tap_implementation): Default to "perl". + * tests/tap-common-setup.test: Do not fetch the TAP driver, the + code in tap-setup.sh does that already (and respecting runtime + overriding of `$am_tap_implementation'). + * lib/tap-driver: Renamed ... + * lib/tap-driver.pl: ... to this, and ... + ($ME): ... adjusted this. + * doc/automake.texi: Adjust to the renaming. + * tests/Makefile.am (TAP_LOG_DRIVER): Likewise. + * tests/tap-doc2.test: Likewise. + * lib/tap-driver.sh: New script, still mostly dummy. + * lib/Makefile.am (dist_script_DATA): Update, and since we are at + it, rewrite it to make it easier to add new entries in the future. + +2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: refactor tests on TAP support in view of future changes + * tests/defs (fetch_tap_driver): New subroutine; it fetches the + automake-provided TAP driver from the `lib/' directory into the + current directory, and edits its shebang line so that it will be + run with the perl interpreter determined at configure time. + * tests/tap-setup.sh: Use it. + * tests/tap-common-setup.test: There's no need to AC_SUBST `PERL' + anymore, nor to use it in the Makefile to run the TAP driver. + Also, use the `fetch_tap_driver' function instead of copying the + `tap-driver' auxiliary script directly. + * tests/tap-bad-prog.tap: Likewise. + * tests/tap-diagnostic-custom.test: Likewise. + * tests/tap-doc.test: Likewise. + * tests/tap-merge-stdout-stderr.test: Likewise. + * tests/tap-more.test: Likewise. + * tests/tap-more2.test: Likewise. + * tests/tap-recheck.test: Likewise. + * tests/tap-summary-aux.sh: Likewise. + * tests/tap-basic.test: Likewise, and fix a grammaro in comments + since we are at it. + +2011-08-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: fix typo in comments + * tests/defs (get_shell_script): Fix typo in the function + description. + +2011-08-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: missing tap plan and non-zero exit status + * tests/tap-missing-plan-and-bad-exit.test: New test. + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: fix an unportable use of sed + * tests/tap-todo-skip-whitespace.test: Alternation with "\|" in + sed regular expressions is not portable to (at least) FreeBSD + sed; do not use it. + +2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: avoid spurious failure if rst2html program is missing + * tests/test-driver-custom-no-html.test: Account for the + possibility of a lacking `rst2html' program in our final + grepping of make output. + +2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: improve diagnosing and reporting of plan mismatches + Problem exposed by a failure in the test 'tap-plan-errors.test'. + * lib/tap-driver (NO_PLAN, EARLY_PLAN, LATE_PLAN): New constants. + (Throughout the file): Use more complex semantics for `$plan_seen', + which now also remember whether the plan that has been seen is an + "early" or "late" plan; in turn, this makes ... + ($tap_stopped): ... this variable redundant; remove it. + (handle_tap_plan): Adjust to avoid producing spurious or confusing + error messages about extra or mismatched "late" TAP plans. + * tests/tap-plan-corned.test: Adjust and extend. + * tests/tap-color.test: Likewise. + +2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: log all TAP stream, even after a "Bail out!" + * lib/tap-driver ($bailed_out): New global boolean variable, + telling whether a "Bail out!" directive has been seen or not. + (handle_tap_bailout): This function does not anymore stop the + reading from TAP stream; instead, it sets `$bailed_out' to a + true value, so that only the subsequent parsing of the input + TAP stream is stopped. + (finish): Remove, no more needed, its contents inlined into ... + (main): ... this function, with related adjustments in the code + flow. + (get_test_exit_message): Do not "flush" the input TAP stream + to fetch the exit status of test script, it is not anymore + required. Add a sanity check. + * tests/tap-bailout-and-logging.test: New test. + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: TAP diagnostics after "Bail out!" aren't reported + This is compatible with the behaviour of the `prove' utility. + * tests/tap-bailout-suppress-later-diagnostic.test: New test. + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: TAP errors after a "Bail out!" directive aren't reported + This is compatible with the behaviour of the `prove' utility. + * tests/tap-bailout-suppress-later-errors.test: New test. + * tests/tap-bailout-badexit.test: Renamed ... + * tests/tap-bailout-suppress-badexit.test: ... to this, for + consistency. + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: reorganize tests on TAP plans + * tests/tap-skip-whole.test: Rename ... + * tests/tap-planskip.test: ... to this + * tests/tap-skip-whole-badexit.test: Rename ... + * tests/tap-planskip-badexit.test: ... to this. + * tests/tap-skip-whole-bailout.test: Rename ... + * tests/tap-planskip-bailout.test: ... to this. + * tests/tap-skip-whole-bailout.test: Rename ... + * tests/tap-planskip-later-errors.test: ... to this. + * tests/tap-skip-whole-unplanned.test: Rename ... + * tests/tap-planskip-unplanned.test: ... to this. + * tests/tap-skip-whole-whitespace.test: Rename ... + * tests/tap-planskip-whitespace.test: ... to this. + * tests/tap-skip-whole-continue.test: Rename ... + * tests/tap-planskip-and-logging.test: ... to this, extend to try + more cases, and fix heading comments. + * tests/tap-skip-whole-lastline.test: Rename ... + * tests/tap-planskip-late.test: ... to this, fix heading comments, + and remove some checks that are just a duplication of those already + performed in the previous script. + * tests/tap-results-with-planskip.test: Rename to ... + * tests/tap-planskip-unplanned-corner.test: ... this, and improve + hading comments. + * tests/tap-planskip-later-errors.test: New test. + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: more TAP driver consistency w.r.t. 'prove' + * tests/skip-results-with-planskip.test: New test, verifies that + test results seen in a TAP stream that has a "plan with SKIP" are + flagged as errors. + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: improve some comments in the TAP driver + * lib/tap-driver (handle_tap_plan): Improve comments describing + possible errors in a "plan with SKIP" directive. + +2011-08-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: non-zero exit status after "Bail out!" should not be reported + This new behaviour is more consistent with that of the `prove' + utility. Also, experience with the use of TAP in the Automake's + own test suite has shown that reporting non-zero exit status from + a script after it has issued a "Bail out!" directive is mostly + redundant, more introducing noise rather than conveying useful + information. + * lib/tap-driver (finish): Inline the part of it that was getting + the script exit status ... + (main): ... in here. + * tests/tap-bailout-badexit.test: New test. + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: a "plan with SKIP" after test results is an error + This new behaviour is both more natural and more consistent with + that of the `prove' utility. + * lib/tap-driver (handle_tap_plan): Do not stop TAP parsing when + a "plan with SKIP" line (e.g., "1..0 # SKIP") is encountered, and + do not print a "SKIP" line if some TAP result has already been + seen. + * tests/tap-skip-whole.test: Adapt. + * tests/tap-skip-whole-lastline.test: Likewise. + * tests/tap-global-result.test: Adapt and extend. + * tests/tap-skip-plan-errors.test: Likewise, and fix an obsolete + small part of a comment. + * tests/tap-skip-whole-bailout.test: New test. + * tests/tap-skip-whole-unplanned.test: Likewise. + * tests/tap-skip-whole-continue.test: Likewise. + * tests/Makefile.am (tap_with_common_setup_tests): Update. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + test harness: avoid possible fork bomb + This fixes a regression w.r.t. the master branch, exposed by + test 'parallel-tests-fork-bomb.test'. + * lib/am/check.am (am--redo-logs): Detect possible infinite + recursion due to a test log in $(TEST_LOGS) being the same + as $(TEST_SUITE_LOG). + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: enhance test against infinite recursion in test harness + * tests/parallel-tests-fork-bomb.test: Enhance and extend a + little now, for soon-to-be-implemented more explicit and safer + semantics. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: possible infinite recursion in the test harness + Motivated by a regression in the 'test-protocols' branch. + * tests/parallel-tests-fork-bomb.test: New test, checking that + if $(TEST_SUITE_LOG) is in $(TEST_LOGS), we obtain a diagnosed + error rather than a make hang or a fork bomb. + * tests/Makefile.am (TESTS): Update. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: yet more environment cleanup + * tests/defs: Also unset the TEST_SUITE_LOG variable. + +2011-08-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + self tests: some minor refactoring + * tests/self-check-exit.tap: Disable the `errexit' shell flag; + this allow to remove some boilerplate idioms and to make some + code slightly less cumbersome. + * tests/self-check-me.tap: Likewise. + +2011-08-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: look for TAP-based tests without TAP plan + * Makefile.am (sc_tests_tap_plan): New maintainer check. + (syntax_check_rules): Add it. + * tests/suffix10.tap: Declare a TAP plan. + * tests/add-missing.tap: Likewise. + +2011-08-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: avoid confusing SKIP messages for errored tests + * tests/defs [$use_tap] (exit trap): Don't print the test plan + in case the client script exited with a non-zero status. This + avoids the display of redundant "SKIP" messages for tests with + lazy plans that error out before any test is run. + +2011-08-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: keep more debugging info around in 'add-missing.tap' + * tests/add-missing.tap: Use a different directory for each test, + so that in case of failure more information is kept around. + Since we are at it, remove redundant TAP diagnostic, and define + `$am_create_testdir' to "empty" to avoid bringing in unused + auxiliary files. + +2011-08-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: more granular count of test results in our TAP library + * tests/tap-functions.sh ($tap_bad_count_): Removed, superseded + by ... + ($tap_fail_count_, $tap_xpass_count_): ... these new variables, + which keep more granular counts. + ($tap_pass_count_: New variable. + * tests/defs (exit trap): Adjust and simplify accordingly. + +2011-08-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: fixlets and improvements in two long TAP-based tests + * tests/depmod.tap: Clean up the subdirectories used by tests that + passed, to avoid ending up with a too big test directory. This is + especially important since, on each and every system, at least some + tests in this script are expected to be skipped (which ones exactly + depends on the system), thus causing the test directory not to be + removed when the script terminates. + * tests/instspc.tap: Likewise (with the difference that tests here + are not expected to be skipped, but to xfail). Give more explicit + error message in case of setup failure. Skip the proper number of + tests when required, to avoid spurious errors due to mismatched + plan. Also, really avoid to run the unsupported test cases when + the need to skip them is detected. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + test harness: recursive make invocations must use $(AM_MAKEFLAGS) + * lib/am/check.am ($(TEST_SUITE_LOG)): Pass $(AM_MAKEFLAGS) + to $(MAKE) when issuing a recursive make call. + Problem detected by the `sc_tests_make_without_am_makeflags' + maintainer check. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure in 'suffix-chain.tap' + * tests/suffix-chain.test: Use more uncommon suffixes that + don't trigger built-in recipes with FreeBSD make. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: improvements to our shell TAP library and APIs + These improvements impact only the Automake's own testsuite. + * tests/tap-functions.sh (plan_): Allow new special arguments + "unknown" a.k.a. "later" and "lazy" a.k.a. "now". Perform + sanity check the given arguments. Adjust incorrect comments. + (lazy_plan_): Removed, superseded by the new version of `plan_'. + (not): New function, run a command and inverts its exit status. + (ok_, not_ok_, skip_): These are just shorthands for common + `result_' usages. + (xfail_, xpass_, reset_test_count_): Removed, they are not used, + nor does a legitimate use for them seem in sight. + (not): New function, to run a command inverting its exit status. + (command_not_ok_): Removed, superseded by `command_ok_' + `not'. + (command_ok_): Extended to accept TAP directives. + * tests/defs (trap): Don't use `late_plan_' anymore, use + `plan_ "now"' instead. + * tests/ac-output-old.tap: Update to take advantage of the new + APIs. + * tests/self-check-env-sanitize.tap: Likewise. + * tests/suffix-chain.tap: Likewise. + * tests/suffix10.tap: Likewise. + * tests/suffix11.tap: Likewise. + * tests/suffix3.tap: Likewise. + * tests/suffix8.tap: Likewise. + * tests/tap-bad-prog.tap: Likewise. + * tests/self-check-exit.tap: Likewise, plus a small improvement + in the name of a variable. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: convert some `suffix*' tests to TAP + This will allow us to explicitly declare some expected failures + involving Solaris make as such, instead of partly papering over + them with skips and partly letting them fail too loudly. + * tests/suffix-chain.test: Rename ... + * tests/suffix-chain.tap: ... to this, and convert to the use of + TAP. Also, fix some bugs since we are at it, and ... + ($required): ... require `cc'. + * tests/suffix3.test: Rename ... + * tests/suffix3.tap: ... to this, and convert to the use of TAP. + Also, since we are at it, throw in some formatting fixes. + * tests/suffix8.test: Rename ... + * tests/suffix8.tap: ... to this, and convert to the use of TAP. + Also, since we are at it, throw in some formatting fixes. + * tests/suffix10.test: Rename ... + * tests/suffix10.tap: ... to this, and convert to the use of TAP. + * tests/suffix11.test: Rename ... + * tests/suffix11.tap: ... to this, and convert to the use of TAP. + * tests/Makefile.am (TESTS): Update. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: don't let a known Solaris make bug poison too many tests + See automake bug#7670 and bug#7824. + * tests/defs (make_can_chain_suffix_rules): New function, tell + whether the make implementation in use can chain suffix rules + automatically or not. + * tests/suffix3.test: Use it to avoid issuing calls to make that + are unportable to make implementations that are not smart enough + to chain suffix rules automatically. + * tests/suffix8.test: Use it to avoid issuing calls to make that + * tests/suffix10.test: Use it to avoid issuing calls to make that + * tests/suffix11.test: Use it to avoid issuing calls to make that + * tests/suffix-chain.test: New test, exposes the limitation that + we have papered over in the tests above. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + gitignore: more use of anchors + * .gitignore: Anchor files that are intended to be ignored only + if found in the same directory of the `.gitignore' file, not also + in its subdirectories. + * doc/.gitignore, doc/amhello/.gitignore, lib/Automake/.gitignore, + lib/Automake/tests/.gitignore, tests/.gitignore: Likewise. Also, + where needed, add new entries that were once implied by the + non-anchored entries in the upper-level `.gitignore' files. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + self tests: avoid spurious output on console, and related fixlets + * tests/self-check-cleanup.test: Set `$stderr_fileno_' to `2' + in the self tests, to avoid spurious diagnostic on console. + * tests/self-check-exit.tap: Only unset `am_explicit_skips' and + `$stderr_fileno_' in the self tests, not at the global level, it + is more correct. + ($init): New variable, to reduce code duplication. + Some refactoring and adjustments to the name of the tests. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: few more sanity checks + * tests/defs: Catch some more (very unlikely) set-up or internal + errors, and diagnose them explicitly. This is intended mostly + to be a theoretic-only improvement. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: really make them "set -e" clean + Motivated by a spurious failure of test `instsh3-w.shtst' on + Solaris 10. + * tests/defs: Make really "set -e" clean, to avoid spurious + failures in case this file is sourced by a test script that has + already set the `errexit' flag. To be sure we don't regress, + move the `set -e' call much earlier, and make the comment telling + about the expected "set -e" cleanliness more loud and outstanding. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + self tests: register an expected failures with Solaris /bin/sh + Solaris 10 /bin/sh erroneously exit with success right away when + the following three conditions are met at the same time: + 1. the `errexit' flag is active, + 2. an exit trap is installed, and + 3. a non-existing command is issued. + * tests/self-exit.tap: When that bug is detected, issue an XFAIL + rather than a FAIL. Since we are at it, improve by avoiding + creation of stray temporary files when testing for non-executable + commands. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + gitignore: update and improve for the testsuite files + * tests/.gitignore: Don't ignore temporary partial log files, + autogenerated tests and makefile fragments that are not used + anymore. Anchor all the remaining patterns. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + self tests: some new uses of TAP, few extensions + * tests/self-check-me.test: Renamed ... + * tests/self-check-me.tap: .. to this, and converted to use TAP. + * tests/self-check-exit.test: Renamed ... + * tests/self-check-exit.tap: .. to this, and converted to use TAP. + Set `$stderr_fileno_' to `2', to avoid spurious messages on the + console. Add a new test, and relax another one. + * tests/self-check-env-sanitize.test: Renamed ... + * tests/self-check-env-sanitize.tap: .. to this, and converted to + the use TAP. + * tests/Makefile.am (TESTS): Update. + +2011-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: test directory creation more configurable + After this change, the individual tests will be able to tell + `./defs' whether or not to create a temporary test directory + for them, and if yes, whether or not to pre-populate it. + * tests/defs: Only create the temporary test directory if the + variable `$am_create_testdir' is not set to "no". In this + case, only pre-populate it if that variable is not set to + `$empty'. + * tests/defs-static.in: Check that `$am_create_testdir' is not + exported in the environment. + * tests/self-check-env-sanitize.test: Update. + * tests/self-check-dir.test: Extend, and make deeper and more + robust. + * tests/README (Section "Writing test cases" subsection "Do"): + Update. + * tests/autodist.test: Set `$am_create_testdir' instead of + removing by hand files created by ./defs. + * tests/tap-doc2.test: Likewise. + +2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: more uses of the `seq_' function + * tests/parallel-tests-exit-statuses.test: Use the `seq_' function + from `tests/defs', instead of duplicating its semantics. + * tests/testsuite-summary-count.test: Likewise. + +2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: drop redundant environment sanitization + * tests/Makefile.am (TESTS_ENVIRONMENT): Don't remove `planned' + from the environment. + * tests/defs-static.in: Don't complain if `planned' is set in + the environment. + * tests/self-check-env-sanitize.test: Update. + +2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: fix bug in plain version of `skip_all_' + * tests/plain-functions.sh (skip_all_): Call `skip_', not `skip'. + +2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: small cleanups and tweakings + * tests/defs: Where possible, prefer `framework_failure_' or + `fatal_' to `Exit 99'. Try to catch more possible hard errors + and setup failures. Do not hide expected error messages. Avoid + a couple of forks when copying files from `$(top_srcdir)/lib'. + ($signal): Remove, no more needed. + +2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: improve interface for giving early TAP plan + Since commit `v1.11-976-g4740f56', an early TAP plan can also be + specified after input lines have already been seen, as long as + no one of them is a TAP result line. We can now take advantage + of this in our own testsuite, allowing the TAP-based scripts to + specify their earlier plan after having included `./defs'. In + particular, this offers the benefit of allowing those scripts to + issue a "skip all" plan (e.g., "1..0 # SKIP reason ...") after + the inclusion of `./defs', which wasn't possible with the older + interface (introduced in commit `v1.11-1114-g0286308'). + * tests/defs: Don't try to call `plan_' if `$planned' is defined, + the calling scripts can do that directly now. + * tests/ac-output-old.tap: Use `plan_' directly instead of + setting `$planned' before including `./defs'. + * tests/automake-cmdline.tap: Likewise. + * tests/depmod.tap: Likewise. + * tests/instspc.tap: Likewise. + * tests/tap-bad-prog.tap: Likewise. + * tests/add-missing.tap: Don't set `$planned'. + +2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: fix bug in TAP version of `skip_all_' + * tests/tap-functions (skip_all_): Set `$have_tap_plan_' to "yes" + when called, so that the exit trap won't write another TAP plan. + +2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: fix skip directives to work also with TAP-based tests + * test/defs: Use `skip_all_', not `skip_', to issue a skip of the + whole calling test script. + +2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: more environment cleanup + * tests/defs: Also unset variables AM_COLOR_TESTS and + AM_TESTS_ENVIRONMENT. + +2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + test harness: more minor VPATH-rewrite issues + * tests/am/check.am (am__set_TESTS_bases, $(TEST_SUITE_LOGS), + am--redo-logs, recheck, recheck-html): Cosmetic fixlets to + minimize the risk of unwanted VPATH rewrites. + (check-TESTS): Likewise, and normalize trailing whitespace + since we are at it. + Bugs exposed by test cases `check6-p.test' and `check7-p.test'. + +2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + test harness: "make -n check" works correctly with Solaris make + To avoid some recipes being executed with "make -n", we used the + trick of issuing recursive make calls not directly with $(MAKE), + but with a simple indirection instead: + ... + am__stealth_MAKE = $(MAKE) + ... + target: + ... $(am__stealth_MAKE) ... + ... + This hack worked with GNU make, but, unfortunately, not with + Solaris make. The present change removes the hack, and uses more + proper idioms to avoid unwanted recipe executions with "make -n". + Bug exposed by test case `parallel-tests-dry-run.test'. + * lib/am/check.am (am__stealth_MAKE): Remove, no more used. + (.log.trs): Break recipe in multiple shell invocations. + ($(TEST_SUITE_LOG)): Likewise, and move some corner-case parts of + the recipe to ... + (am--redo-logs): ... this new internal helper .PHONY target. + +2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure with Solaris make + * tests/distcheck-configure-flags-am.test: Avoid using `+=' too + liberally with AM_DISTCHECK_CONFIGURE_FLAGS, since the line breaks + so introduced, in conjunction with single quotes, might confuse + Solaris make. + +2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + test harness: fixlet in workaround for VPATH rewrite issue + Fixes a minor in previous commit `v1.11-983-gfda3de5'. + * lib/am/check.am (am__set_TESTS_bases): Add forgotten end-of-line + anchor to sed expression. In comments, add reference to ... + * tests/test-trs-basic.test: ... this test, which has been adapted + and tightened (and tweaked). + +2011-08-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + test harness: work around a VPATH rewrite issue + * lib/am/check.am (am__TEST_BASES): Removed, it's role taken + over by ... + (am__set_TESTS_bases): ... these new variable. + ($(TEST_SUITE_LOG): Use it, to avoid VPATH rewrite issues. + * automake.in (handle_tests): Update the code for the cleanup + of the `.trs' file to use `$(TEST_LOGS)' instead of + `$(am__TEST_BASES)'. + * tests/test-harness-vpath-rewrite.test: New test, better + exposing the problem fixed by this change + * tests/Makefile.am (TESTS): Add it. + * tests/test-trs-basic.test: Update and extend. + +2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + parallel-tests: work around Solaris XPG4 make segfault + Issue exposed by test `posixsubst-tests-p.test', and similar to + the problem solved by commit `v1.11-159-ge7aa360'. + * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Trim trailing + whitespace from $list, to avoid triggering a nasty bug (potential + segfault) on Solaris XPG4 make and Heirloom make. + +2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: fix weird spurious failure with Solaris /bin/sh + Solaris /bin/sh, when killed with a SIGTERM or SIGINT signal, can + apparently end up exiting with exit status 208, instead of leaving + the correct wide exit status to the parent. See: + <http://dbaspot.com/shell/396118-bourne-shell-exit-code-term.html> + Work around this incompatibility. + * tap-signal.test: Look for the above Solaris bug. + (signal_caught): Adapt to handle it. + +2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: fix another spurious failure on Solaris make + * tests/parallel-tests-log-override-recheck.test: Filter make + output before grepping it, for make implementations that, like + Solaris' one, print the whole of the failed recipe on failure. + +2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: fix two spurious failures on Solaris make + * tests/tests-environment-and-log-compiler.test: Do not fail if + "make -n check" fails, as that is issued only for debugging, its + semantics being tested in other test scripts. + * tests/test-driver-strip-vpath.test: Likewise. + +2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap driver: refactor and remove dead code + * lib/tap-driver (get_tap_line): Removed, ... + (all callers): ... updated to use $parser->next directly instead. + (peek_tap_line, unget_tap_line, @tap_lines): Remove, they're not + used anymore. + (TAP_PEEKING): Block deleted, all its subroutines and variables + having been removed. + +2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: fix spurious failure in a test on TAP support + * tests/tap-passthrough-exit.test: When the `--ignore-exit' flag + of the TAP driver is used, don't look for a message reporting the + non-zero exit statuses of tests in the log files; such message is + not expected to be there anymore. Related simplifications. + +2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: plan location is more liberal w.r.t. non-TAP lines + With this change, only lines that are TAP results will matter + w.r.t. the position of the TAP plan in the input; for example, + this input: + this is a non-TAP line + # and this a TAP diagnostic line + 1..1 + ok 1 + was considered to be an error, diagnosed with a message "test + plan in middle of output"; as effect of the current change, such + input is now valid. This is more consistent with the behaviour + of the `prove' utility. + * lib/tap-driver ($lineno): Removed, no more needed. + ($tap_stopped): New global variable. + (stringify_test_result): Return "ERROR" if a TAP result is found + when `$tap_stopped' is set to true. + (handle_tap_test): Diagnose TAP results that comes after a late + plan. Add a couple of blank lines, for clarity. + (handle_tap_plan): Set `$tap_stopped' to true after a late plan + is encountered. Do not complain anymore for extra non-TAP lines + preceding or following the plan. Adjust comments. + (main): Don't increment $lineno anymore. + * tests/tap-plan.test: Extend a bit, and remove stale comment. + * tests/tap-color.test: Adjust. + * tests/tap-passthrough.test: Likewise. + * tests/tap-plan-corner.test: Adjust and extend. + * tests/tap-plan-errors.test: Likewise. + * tests/tap-plan-middle.test: New test. + * tests/tap-plan-corner2.test: Delete, it's obsolete now. + * tests/Makefile.am (XFAIL_TESTS): Remove it. + (tap_with_common_setup_tests): Likewise, and add + `tap-plan-corner.test'. + +2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: remove now-passing test from XFAIL_TESTS + * tests/Makefile.am (XFAIL_TESTS): Remove `tap-signal.test', + which is passing since previous commit `v1.11-974-gc7fa872'. + +2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: get name of TAP-using tests correctly + This change fixes the names of the temporary directories used + by the TAP-based tests (e.g., test `foo.tap' now uses `foo.dir' + rather than `foo.tap.dir'); more importantly, this make the + variable `$destdir' defined in `tests/defs' usable also in the + TAP tests. + ($me): Also strip the any `.tap' suffix from the name of the + test. + +2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: TAP tests properly decide when to remove tempdirs + Before this change, the TAP tests in the Automake testsuite were + removing the temporary test directory even when they failed or + were skipped, thus making debugging more difficult. + * tests/tap-functions.sh (incr_tap_count): Removed, superseded + by ... + (incr_): ... this function, which can increment the value of any + variable passed to it. + (result_): Updated to use `incr_' instead of the now-removed + `incr_tap_count_'. Keep count of failures, xfailures, xpasses, + and skips, using ... + ($tap_skip_count_, $tap_bad_count, _$tap_xfail_count_): ... + these new variables. + * tests/defs (trap): Try to use their values to decide whether + the temporary directory being used by the test script should be + removed or not. Other code reorganizations. And move the code + for the removal of the temporary directory out to ... + (rm_rf_): ... this new subroutine. + (Main code): Use that instead of duplicating the code. + +2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: improve and refactor our custom TAP shell library + This change is mostly done in preparation for the next one. + * tests/tap-functions.sh (result_with_directive_): Merge into ... + (result_): ... this function, which has been greatly extended and + improved in various ways. + (ok_, not_ok_, skip_, xfail_, xpass_): Adjust. + Adjust comments. Remove an extra empty line. + * tests/instspc.tap: Use the new improved interface of `result_'. + * tests/tap-bad-prog.tap: Likewise. + +2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: update "user interface" description in tests/README + * tests/README (Subsection "Interpretation"): Mention the "ERROR" + outcome. + (Subsection "Getting details from failures"): Don't tell that the + test scripts can be run directly, this is not 100% true; anymore; + instead ... + (Subsection "About the tests"): ... use this new subsection to + explain how to run the tests (either simple or TAP-based) by hand. + (Subsection "Supported shells"): Extend to refer to TAP tests too. + +2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: TAP tests can have early plan now + * tests/defs: When using TAP, allow the user to specify the number + of tests through the `$planned' variable. + (trap): Do not print the auto-generated plan if an explicit one + has already been printed. + * tests/defs-static.in: Complain and bail out if the `$planned' + variable is exported in the environment. Reformat the code to + facilitate future additions. + * tests/Makefile.am (TESTS_ENVIRONMENT): Neutralize `$planned'. + * tests/self-check-env-sanitize.test: Update. + * tests/ac-output-old.tap: Give an explicit TAP plan, by defining + `$planned' just before including `./defs'. + * tests/depmode.tap: Likewise. + * tests/automake-cmdline.tap: Likewise. + * tests/tap-bad-prog.tap: Likewise. + * tests/instspc.tap: Likewise, and related adjustments. + * tests/add-missing.tap: Make it explicit that we have no a-priori + plan, and tell why. + +2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: run autogenerated tests with $(LOG_COMPILER) too + This change enhances consistency in the testsuite. + * tests/Makefile.am: Some cosmetic reordering, to keep the + definition of FOO_LOG_COMPILER near to the place where `.foo' + is added to $(TEST_EXTENSIONS). + (PTEST_LOG_COMPILER): Run `$(srcdir)/parallel-tests.sh' with + `$(LOG_COMPILER)', not with `$(SHELL)'. + (SHTST_LOG_COMPILER): Likewise. + +2011-08-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: run TAP and "plain" tests with the same $(LOG_COMPILER) + With this change, it will be easier to override, at make time, the + shell used to run the tests. + * tests/Makefile.am (LOG_COMPILER): Define to `$(SHELL)'. + (TEST_LOG_COMPILER): Re-define to `$(LOG_COMPILER)'. + (TAP_LOG_COMPILER): Likewise. + +2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: run TAP-based tests explicitly with $(SHELL) + * tests/Makefile.am (TAP_LOG_COMPILER): Define to `$(SHELL)'. + +2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap driver: handle signals received by the tests being run + * lib/tap-driver (get_test_exit_message): Also deal with signals, + by using the `wait' method of the TAP::Parser object instead of + the `exit' method. This required the use of the standard perl + module `POSIX'. + * doc/automake.texi (Use TAP with the Automake test harness): + Document that `--ignore-exit' has effect also on terminating + signals. Add a "synchronizing" comment that references the tests + 'tap-exit.test' and 'tap-signal.test'. + * tests/tap-signal.test: Extend and adjust. + +2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + test driver: a preparatory refactoring (2) + * lib/tap-driver (finish): Move code to fetch the message about + the exit status of the test being run to ... + (get_test_exit_message): ... this new subroutine. + +2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap driver: a preparatory refactoring (1) + * lib/tap-driver (finish): Do not flush the TAP stream nor + fetch the exit status of the TAP producer if running with + the `--ignore-exit' option. Obviously, don't try to write + such exit status in the test log anymore. + +2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + cosmetics: typofix in the name of a function in the TAP driver + * lib/tap-driver (testuite_error): Renamed ... + (testsuite_error): ... to this, and minor related reformatting. + +2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: scripts with a SKIP plan but with exit status != 0 must error + This change has been motivated by Automake's own testsuite. Some + TAP tests there were erroring out (due to unexpected, unhandled + failures) before having encountered TAP result, so that the + simple-minded shell library implementing TAP generation ended up + printing a "1..0" trailing test plan; this caused the script to be + reported as a SKIP rather than an ERROR -- a nasty false negative. + * lib/tap-driver: Add prototypes for each subroutine, to free up + the order in which they can be defined and called. + (main): Move the code checking for a bad exit status of the TAP + producer ... + (finish): ... here, and flush the TAP stream to ensure that the + parser always obtains the producer's exit status. + * tests/tap-skip-whole-badexit.test: New test. + * tests/Makefile.am (tap_with_common_setup_tests): Add it. + +2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: fix whitespace munging of diagnostic messages + * lib/tap-driver (extract_tap_comment): Pass the `g' flag to the + substitution operator, to strip also trailing whitespaces. Fixes + a failure in test `tap-whitespace-normalization.test'. + +2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: refactor and cleanup 'instspc.tap' + * tests/instspc.tap (is_in_list): New helper subroutine. + (expected_to_fail): Re-implement using it. + (define_problematic_string): Likewise. Also, rename the special + arguments `build-fail' and 'install-fail' to respectively + `builddir-fail' and `destdir-fail', and other related changes. + (Test data definition): Adapt. + ($instspc_xfail_builds_list): Renamed ... + ($builddir_xfails): ... to this. + ($instspc_xfail_installs_list): Renamed ... + ($destdir_xfails): ... to this. + ($instspc_names_list): Renamed ... + ($test_names_list): ... to this. + ($instspc_test_string): Renamed ... + ($test_string): ... to this. + Add some explicative and "FIXME" comments. + +2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: use TAP for `depmod*' tests, related simplifications + * tests/depmod-tests.sh: Delete this complex and multifarious + script, moving all it checks it used to perform into ... + * tests/depmod.tap: ... this TAP-based test script. And extend + it quite a bit, since the new form of the test was papering over + some pre-existing failures (this was due to the fact that the + values used for the VPATH were shorter in the new test script). + * tests/depmod-data.test: Deleted. + * tests/Makefile.am ($(srcdir)/depmod-tests.am): Don't include + nor generate it anymore. + (EXTRA_DIST): Don't distribute depmod-tests.sh anymore. + (TEST_EXTENSIONS): Remove '.depmod'. + (DEPMOD_LOG_COMPILER): Deleted. + (depmod-data.log, $(depmod_tests:.depmod=.log)): Delete + dependencies for these files, which are not used anymore. + ($(depmod_tests)): Delete this dummy dependency declaration. + (TESTS): Remove $(depmod_tests). + (handwritten_tests): Remove depmod-data.test, add depmod.tap. + * bootstrap: Don't generate tests/depmod-tests.am anymore. + +2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: use TAP for `instspc*' tests, related simplifications + * tests/instspc-tests.sh: Delete this complex and multifarious + script, moving all it checks it used to perform into ... + * tests/instspc.tap: ... this TAP-based test script. + * tests/instspc-data.test: Deleted. + * tests/Makefile.am ($(srcdir)/instspc-tests.am): Don't include + nor generate it anymore. + (EXTRA_DIST): Don't distribute instspc-tests.sh anymore. + (TEST_EXTENSIONS): Remove '.instspc'. + (INSTSPC_LOG_COMPILER): Deleted. + (XFAIL_TESTS): Remove $(instspc_xfail_tests). + (instspc-data.log, $(instspc_tests:.instspc=.log)): Delete + dependencies for these files, which are not used anymore. + ($(instspc_tests)): Delete this dummy dependency declaration. + (TESTS): Remove $(instspc_tests). + (handwritten_tests): Remove instspc-data.test, add instspc.tap. + * bootstrap: Don't generate tests/instspc-tests.am anymore. + +2011-08-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: do fd redirections with $(AM_TESTS_FD_REDIRECT) + * tests/Makefile.am: The redirections of file descriptors needed + by our test scripts is now done using the $(AM_TESTS_FD_REDIRECT) + variable (the new blessed way since commit `v1.11-906-gb9e9d54'), + not using an hack involving $(AM_TESTS_ENVIRONMENT). This has + the further benefit of allowing the use of $(TESTS_ENVIRONMENT) + again on part of the users. + * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Remove redirection of + file descriptors. + (AM_TESTS_FD_REDIRECT): Redirect file descriptor 9 to original + stderr. + Comments adjusted. + * tests/plain-functions.sh ($stderr_fileno_): Update comment. + +2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: use custom TAP diagnostic in our own tests + This change allow us to easily and transparently avoid spurious + TAP diagnostic in our own testsuite, with the help of the new + `--diagnostic-string' option of our TAP test driver. + * tests/Makefile.am (TAP_LOG_DRIVER_FLAGS): Also pass option + `--diagnostic-string' with value `#%#' (necessarily obtained + through some shell indirections). + * tests/tap-functions.sh (diag_): Assume that the string denoting + TAP diagnostic is stored in the `$diag_string_' variable. Update + comments. + ($diag_string_): Initialize to "#". + * tests/defs ($diag_string_): Re-define to "#%#". + (show_): Remove, it's obsolete now. + * add-missing.tap: Don't use `show_' anymore to avoid spurious + TAP diagnostic; `cat' should suffice now. + +2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: fix typo in TAP driver version message + * lib/tap-driver (anonymous subroutine printing the script version + message): Add missing trailing newline to the version message. + +2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap docs: we don't support pragma or version directives (yet) + * doc/automake.texi (Incompatibilities with other TAP parsers + and drivers): Document that limitation. Normalize an unrelated + "TODO" item. + +2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: new option to change the string designating TAP diagnostic + Here we introduce a new option `--diagnostic-string' in our TAP + test driver, that allows the user to specify which string should + denote the beginning of a TAP diagnostic line. This change is + not gratuitous, nor result if over-engineering: it is motivated + by real issues that have emerged during the use of TAP in the + Automake's own testsuite (see the commit `v1.11-1082-g9b967c2' + "testsuite: yet more use of TAP, and related extensions"). + * doc/automake.texi (Use TAP with Automake test harness): Document + the new option. + (Incompatibilities with other TAP parsers and drivers): Report it + as a potential source of incompatibility. + * lib/tap-driver ($diag_string): New global variable, defaulting + to "#", and whose value can be changed ... + (Getopt::Long::GetOptions): ... by the newly recognized option + `--diagnostic-string'. + (handle_tap_comment): Subroutine removed, some of its simple logic + inlined ... + (main): ... in here, where now ... + (extract_tap_comment): ... this new subroutine is used. + ($USAGE): Adjust. + * tests/tap-diagnostic.test: Make one check slightly stricter. + * tests/tap-diag-custom.test: New test. + * tests/Makefile.am (tap_other_tests): Add it. + +2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + check: add small "synchronization" comment to `test-driver' + * lib/test-driver: Add comment to the code initializing ANSI color + escapes, telling to keep it in sync with the similar initialization + in `lib/am/check.am'. + +2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: fix spurious failure w.r.t. use of bare "exit" + * tests/check12.test: Cosmetic changes to avoid triggering a + spurious failure of the `sc_tests_Exit_not_exit' maintainer + check. + +2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + check: update comments to reflect recent heavy changes + * lib/am/check.am [%?PARALLEL_TESTS%]: Update the comments to + reflect the recent changes. Remove quite many comments that + were merely duplicating excerpts from the Automake manual. + +2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + check: small cleanups and refactorings in test harness and drivers + * lib/tap-driver (yn): New subroutine, converts a boolean value to + a "yes" or "no" string. + (write_test_results): Use it, and related reformatting. + * lib/test-driver (trap): Also remove the `.trs' file on signals, + for extra safety. + (fatal): Remove this function, it's never used. + ($logfile, $trsfile): Renamed ... + ($log_file, $trs_file): ... to these, for clarity, and in order to + be more consistent with the `tap-driver' script. + Improve a couple of comments. + * automake.in (handle_tests): Don't define anymore the now-obsolete + make macro `$(TEST_LOGS_TMP)', nor add it to the list of files to + be removed upon "make mostlyclean". + * lib/am/check.am ($(TEST_SUITE_LOG)): New shell function `f_ok', + tells whether a path refers to an existing, regular, readable file. + Use it throughout. + (recheck): Be safer w.r.t. make implementation that run recipes + with `errexit' shell flag active. + +2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: use AM_TESTS_FD_REDIRECT where appropriate + * parallel-tests-interrupt.test: Use AM_TESTS_FD_REDIRECT, not + AM_TESTS_ENVIRONMENT, to define file descriptors' redirection + for "make check". Fix botched comment. + +2011-08-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: some fixlets in documentation on testsuites support + * doc/automake.texi (Script-based Testsuites): Rename node ... + (Scripts-based Testsuites): ... to this. Break overly long lines + in an example (were causing problems with PDF output). + (Parallel Test Harness): Don't intend paragraphs that come after + examples or bulleted list. + (Overview of Custom Test Drivers Support): Fix typo s/the the/the/. + (Declaring Custom Test Drivers): When giving an aside, prefer comma + to parentheses, as it disrupts the reading flow less. + (API for Custom Test Drivers): Remove a sentence that was basically + duplicated from the previous subsection. + (Command-line arguments for test drivers): Don't intend paragraph + coming after an itemized list. Clarify wording and fix grammaros. + Add a couple of cross-references to earlier explanations of `.log' + and `.trs' files. + (Links and external resources): Node renamed ... + (Links and external resources on TAP): ... to this, for clarity. + Slightly extend and clarify introductory sentence. + +2011-08-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + test harness: be aware of more metadata, simplify test drivers + * lib/am/check.am ($(TEST_SUITE_LOG)): When producing the + global test log, take into account the new metadata field + `:global-test-result:, to write nicely formatted RST section + titles, instead of leaving this chore to the individual test + drivers. + (am_rst_section): Re-introduce this variable, as removed in + commit `v1.11-870-ga27c9c4'. + * lib/test-driver, lib/tap-driver: Write the global test result + as metadata in the `.trs' file, not as (part of) a formatted RST + subsection title in the `.log' file. Related simplifications; + in particular, get rid of temporary files usage. + * doc/automake.texi (Log files generation and test results + recording): Document the new metadata. + * tests/check12.test: Update. + * tests/parallel-tests-harderror.test: Likewise. + * tests/parallel-tests-interrupt.test: Likewise. + * tests/parallel-tests-log-override-2.test: Likewise. + * tests/parallel-tests-log-override-recheck.test: Likewise. + * tests/parallel-tests-unreadable.test: Likewise. + * tests/tap-global-result.test: Likewise. + * tests/test-metadata-results.test: Likewise. + * tests/test-log.test: Likewise, and another minor unrelated fix. + * tests/test-metadata-global-result.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: check that also a trailing TAP plan can hold a skip directive + * tests/tap-skip-whole-lastline.test: New test. + * tests/Makefile.am (tap_with_common_setup_tests): Add it. + +2011-08-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: more correct names for a couple of tests + * tests/parallel-tests-ext-driver.test: Rename ... + * tests/parallel-tests-log-compiler-1.test: ... to this, and + adjust heading comments. + * tests/parallel-tests-ext-driver-prog.test: Rename ... + * tests/parallel-tests-log-compiler-2.test: ... to this, and + adjust heading comments. + * tests/Makefile.am (TESTS): Update. + +2011-08-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: fix another spurious failure + * tests/parallel-tests-ext-driver.test: Name out custom/dummy + log compilers as `foo-compiler' rather `foo-driver'; not only + this is less confusing, it also avoids errors due to the dummy + log compiler `test-driver' overriding the `test-driver' helper + script installed by Automake. + * tests/parallel-tests-ext-driver-prog.test: Adjust heading + comments. + +2011-08-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: fix a spurious failure + * tests/parallel-tests-ext-driver.test: Exporting of environment + variables directly from $(LOG_COMPILER) variables is not allowed + anymore. Adjust to this. + +2011-08-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: yet more use of TAP, and related extensions + * tests/defs (show_): New function, display the contents of one or + more files on stdout, with bells & whistles (both for cosmetic and + practical reasons, the latter aimed at avoiding spurious TAP + diagnostic). + (AUTOMAKE_run): Extend and adapt to make it compatible with TAP + based tests. Since we are at it, make its implementation more + namespace-safe, and improve its command-line interface. + (AUTOMAKE_fails): Adapt to the new command-line interface of + `AUTOMAKE_run'. + * tests/add-missing.test: Renamed ... + * tests/add-missing.tap: ... to this, and converted to the use + of the TAP protocol, and of the new `show_' function. + * tests/automake.test: Renamed ... + * tests/automake-cmdline.tap: ... to this, and converted to the + use of the TAP protocol. + * tests/getopt.test: Adapt to the new command-line interface + of `AUTOMAKE_run'. + * tests/cond44.test: Likewise. + * tests/cond45.test: Likewise. + * tests/configure.test: Likewise. + * tests/license2.test: Likewise. + * tests/parallel-am.test: Likewise. + * tests/parallel-am3.test: Likewise. + * tests/tags2.test: Likewise. + * tests/werror3.test: Likewise. + * tests/werror4.test: Likewise. + * tests/amopts-variable-expansion.test: Likewise. + * tests/warnings-win-over-strictness.test: Likewise. + * tests/Makefile.am (TESTS): Update. + (TAP_LOG_DRIVER_FLAGS): Add `--merge', so that TAP diagnostic is + reported in the testsuite progress output. + +2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: fix more maintainer-check failures + * tests/test-driver-custom-no-html.test (no-rst): Use `EOF', + not `EoL', as the here-document delimiter. + * tests/test-trs-basic.test: Use `cat + here-doc' rather + than `echo' when creating the dummy test scripts, to please + maintainer-check. + * tests/test-trs-recover.test: Use creative quoting where + needed, to please maintainer-check. + * tests/parallel-tests-no-color-in-log.test: Likewise. + * tests/parallel-tests-dry-run.test: Likewise. + +2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: fix maintainer-check failures, both real and spurious + * tests/amhello-binpkg.test: Use "$MAKE", not bare "make". + * Makefile.am (sc_perl_local): Also allow perl special variable + `$~' to be localized. And be slightly laxer in the regexp, to + allow for usages like "local $_ = $foo;". + (sc_tests_overriding_macros_on_cmdline): Also allow for command + line overriding of the `DISABLE_HARD_ERRORS' make variable. Try + to avoid false positives for usages like "$MAKE || st=$?". + +2011-08-03 Bruno Haible <bruno@clisp.org> + + docs: how to use '-I' option in AM_CPPFLAGS for best VPATH support + * doc/automake.texi (Program Variables): Recommend -I options to + both the build directory and the source directory when needed. + +2011-07-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: relax a test on amhello examples to cater to Solaris tar + * tests/amhello-binpkg.test: When the tar implementation in use + is not GNU tar, relax the tests on tar output, to avoid spurious + failures. For example, "tar cvf ..." with GNU tar can output + lines like "./usr/bin/hello" on the standard output, while with + Solaris tar it can output lines like "a ./usr/bin/hello 8K" on + standard output, and with Heirloom tar it can output lines like + "a ./usr/bin/hello 15 tape blocks" on standard error. + +2011-07-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: function 'is_newest' now works also with directories + * tests/defs (is_newest): Call `find' with the `-prune' option, + so that it won't descend in the directories (which could cause + spurious results). + * tests/self-check-is_newest: Extend accordingly. + From a report by Jim Meyering, see automake bug#9147. + +2011-07-15 Benoit Sigoure <tsunanet@gmail.com> + + docs: add references between the 2 sections on java support + * doc/automake.texi (Java Support, Java): Add cross-references. + +2011-07-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Sync auxiliary files from upstream. + * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub, + lib/texinfo.tex: Sync from upstream. + +2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix weakness in 'tests-environment-backcompat.test' + * tests/tests-environment-backcompat.test: Do not override the + content of xfailing test `baz.test' with a "weaker" version that + fails unconditionally: the test must fail only when the 'strict' + pragma is in use, in order not to reduce coverage. + +2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs, tests: synchronize examples on silent-rules from config.site + * doc/automake.texi (Automake silent-rules Option): Reference test + 'silent-configsite.test' in comments. + +2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: portability fixes in tests on amhello examples + * tests/amhello-binpkg.test: Don't use "tar xzf too.tag.gz" to + extract a gzip-compressed tarball, that's unportable to some + tar implementations; use the "gzip -dc fo.tar.gz | tar xf -" + idiom instead. + * tests/amhello-cflags.test: Likewise. + * tests/amhello-cross-compile.test: Likewise. + Suggestion from Ralf Wildenhues. + +2011-07-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + remake: add test ensuring that slower remakes don't hang + * tests/remake-subdir-long-time.test: New test. + * tests/Makefile.am (TESTS): Update. + Suggestion by Ralf Wildenhues. + +2011-07-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + remake: fix outdated comment in configure.am + * lib/am/configure.am: Fix comment falsified by changes in + commit `v1.11-366-gbee9871'. + Suggestion by Ralf Wildenhues. + +2011-07-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs, tests: synchronize examples from docs to tests + * tests/README (Writing test cases): Give suggestions on how to + keep test cases and examples in the documentation synchronized. + * doc/automake.texi: Improve or fix existing testcase-referencing + comments, and add many new ones. + * HACKING (Administrivia): Suggest to test complex examples and + idioms from the manual. + * tests/specflg8.test: Improve synchronization with the example + in the manual. + * tests/output11.test:Likewise. + * tests/txinfo21.test:Likewise. + * tests/interp.test: Likewise. + * tests/amhello-cflags.test: New test. + * tests/amhello-cross-compile.test: Likewise. + * tests/amhello-binpkg.test: Likewise. + * tests/tests-environment-backcompat.test: Likewise. + * tests/parallel-tests-log-compiler-example.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-06-30 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: new test on parallel-tests TESTS runtime overriding + * tests/parallel-tests-cmdline-override.test: New test, check that + we can use indirections when overriding TESTS and TEST_LOGS from + the command line. + * tests/Makefile.am (TESTS): Update. + +2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + gitignore: ignore `*.trs' files in lib/Automake/tests + * lib/Automake/tests/.gitignore: Add `*.trs' pattern. + +2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: list another "forgotten" test script in Makefile.am + * tests/Makefile.am (TESTS): Also list test script + `test-driver-trs-suffix-registered.test'; it had been introduced + in commit `v1.11-910-g0c81b43', but by mistake it wasn't added + to the list of tests in the Makefile back then. + +2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: list "forgotten" test script in Makefile.am + * tests/Makefile.am (TESTS): Also list the test script + `parallel-tests-no-color-in-log.test'; it had been introduced in + commit `v1.11-899-geaac33f', but by mistake it wasn't added to + the list of tests in the Makefile back then. + +2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: remove duplicated mention of a test in Makefile.am + * tests/Makefile.am (tap_other_tests): Remove `tap-empty.test', + it is already listed in `$(tap_with_common_setup_tests)'. + +2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: one more use of TAP in our own tests + * tests/tap-bad-prog.test, tests/tap-bad-prog2.test: Merged + into ... + * tests/tap-bad-prog.tap: ... this TAP-generating test. + * tests/Makefile.am (tap_other_tests): Remove plan-bad-prog.test + and plan-bad-prog2.test. + (XFAIL_TESTS): Remove plan-bad-prog2.test. + (plan-bad-prog2.log): Remove. + +2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: scaffolding to allow use of TAP in our own tests + Now that Automake has initial support for the TAP test protocol, + we can start "eating our own dog food" and rewrite some tests to + use TAP; this should allow for better granularity, especially in + the control of skips and expected failures. With this change, we + set up the initial scaffolding required by the planned TAP tests, + and convert few older tests to use TAP, mostly in order to verify + that there are no obvious errors. The tests in our testsuite that + use the TAP protocol will be marked by the new `.tap' extension. + * tests/plain-functions.sh: New file containing definition of + helper shell functions used by the "protocol-less" tests of the + Automake testsuite. + * tests/tap-functions.sh: New file containing definition of + helper shell functions used by the TAP-producing tests of the + Automake testsuite. + * tests/defs: Remove definitions of some functions that are + now defined in `plain-functions.sh'. Instead, source one of + `plain-functions.sh' or `tap-functions.sh', depending on whether + `$use_tap' is set to "no" or "yes". + (exit trap): Call `late_plan_' if `$use_tap' is true. Also, + unset shell traces before issuing the latest commands, to avoid + confusing the tap driver with spurious output. + * tests/defs-static.in ($use_tap): New variable, by default set + to "yes" if the calling test script has a `.tap' suffix, and to + "no" otherwise. The individual scripts can override it though. + In code sanity-checking the environment, verify that `$use_tap' + is not exported. + * tests/self-check-env-sanitize.test: Update, and small related + reformatting. + * tests/self-check-tap.test: New very minimal self test. + * tests/acoutbs.test, tests/acoutbs2.test, tests/acoutnoq.test, + tests/acoutpt.test, tests/acoutpt2.test, tests/acoutqnl.test: + Removed, merged into ... + * tests/ac-output-old.tap: ... this new test, that uses TAP. + * tests/Makefile.am (TAP_LOG_DRIVER): Define to invoke our own + `tap-driver' script. + (TAP_LOG_DRIVER_FLAGS): Define to `--merge', so that the stdout + and stderr of the test scripts remains synced. + (TEST_EXTENSIONS): Define, to add the `.tap' suffix; also list + the `.test' suffix explicitly. + (EXTRA_DIST): Distribute the new files `plain-functions.sh' and + `tap-functions.sh'. + ($(TEST_LOGS)): Depends on them. + (AM_TESTS_ENVIRONMENT): Ensure that `use_tap' is not exported in + the environment of the tests. + (TESTS): Update. + +2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + * NEWS: Fix typo, and related reformatting. + +2011-08-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + * NEWS: add mention of new experimental TAP support + +2011-08-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: rename some test scripts + * tests/parallel-tests-am_tests_environment.test: Renamed ... + * tests/am-tests-environment.test: ... to this. + * tests/check-tests_environment.test: Renamed ... + * tests/tests-environment.test: ... to this. + * tests/parallel-test-driver-install.test: Renamed ... + * tests/parallel-tests-driver-install.test: ... to this. + * tests/parallel-tests-make-n.test: Renamed ... + * tests/parallel-tests-dry-run.test: ... to this. + * tests/Makefile.am (TESTS): Updated. + +2011-08-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: parallel-tests and lazy dependencies on EXTRA_PROGRAMS + * tests/parallel-tests-extra-programs.test: New test. + * tests/Makefile.am (TESTS): Update. + * doc/automake.texi (Parallel Test Harness): Add a comment + pointing to the new test. + +2011-08-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: improve, extend and fix documentation on TAP support + * doc/automake.texi ("Using the TAP test protocol"): Divide this + section into ... + ("Introduction to TAP", "Use TAP with the Automake test harness", + "Incompatibilities with other TAP parsers and drivers", "Links + and external resources"): ... these subsections, extend them by + adding more information and examples, and improve them by removing + incomplete and/or temporary wordings and TODO items. + ("Script-based Testsuites", "Parallel Test Harness"): Add a couple + of anchors to improve the granularity of cross-references. + * tests/tap-doc2.test: New test, verifying the correctness of the + new examples given in the manual. + * tests/Makefile.am (tap_other_tests): Add the new test. + +2011-08-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: separate the only failing check of an xfailing test + * tests/plan-bad-prog.test: Move the only failing check of this + test (i.e., the one about the total number of "ERROR" outcomes) + into ... + * tests/plan-bad-prog2.test: ... this new test. + * tests/Makefile.am (XFAIL_TESTS): Remove `plan-bad-prog.test', + add `plan-bad-prog2.test'. + (tap_other_tests): Add `plan-bad-prog2.test'. + (plan-bad-prog2.log): Depend on `plan-bad-prog.test'. + +2011-08-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: fix spurious errors in an xfailing test on TAP support + * tests/plan-bad-prog.test: Fix typo in the name of the test + being made unreadable. Correct the wording of the potential + skip message, and simplify the condition under which the test + is to be skipped. Escape literal dots in grep regexps. + +2011-08-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: better granularity in a couple of tests on TAP support + * tests/tap-summary-aux.sh: New auxiliary script, filled with code + moved out from ... + * tests/tap-summary.test: ... this test, from which the checks on + colored testsuite have further been moved into ... + * tests/tap-summary-color.test: ... this new test, which in turn + * tests/Makefile.am (tap_other_tests): Add `tap-summary-color.test'. + (EXTRA_DIST): Distribute `tap-summary-aux.sh' + (tap-summary.log): Depend on `tap-summary-aux.sh'. + (tap-summary-color.log): Likewise. + +2011-08-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: optimize tests on TAP for speed and against duplication + The creation and configuration of common files and data used by + many tests on TAP is, with this change, factored out into a new + dedicated auxiliary test, from which those tests will depend upon. + This reduces code duplication in tests and, more importantly, + offers a noticeable speedup in the involved tests (30-40%). + * tests/tap-common-setup.test: New test, setting up the common + files and data used by various tests on TAP support. + * tests/tap-setup.sh: New file, to be sourced by tests wanting to + bring in data generated by `tap-common-setup.test'. + * tests/tap-autonumber.test: Update to use the pre-computed data + files. + * tests/tap-bailout.test: Likewise. + * tests/tap-color.test: Likewise. + * tests/tap-deps.test: Likewise. + * tests/tap-diagnostic.test: Likewise. + * tests/tap-empty-diagnostic.test: Likewise. + * tests/tap-empty.test: Likewise. + * tests/tap-escape-directive.test: Likewise. + * tests/tap-exit.test: Likewise. + * tests/tap-signal.test: Likewise. + * tests/tap-fancy.test: Likewise. + * tests/tap-fancy2.test: Likewise. + * tests/tap-global-log.test: Likewise. + * tests/tap-global-result.test: Likewise. + * tests/tap-html.test: Likewise. + * tests/tap-log.test: Likewise. + * tests/tap-merge-stdout-stderr.test: Likewise. + * tests/tap-no-merge-stdout-stderr.test: Likewise. + * tests/tap-message-0.test: Likewise. + * tests/tap-no-disable-hard-error.test: Likewise. + * tests/tap-no-spurious-summary.test: Likewise. + * tests/tap-no-spurious.test: Likewise. + * tests/tap-not-ok-skip.test: Likewise. + * tests/tap-numeric-description.test: Likewise. + * tests/tap-out-of-order.test: Likewise. + * tests/tap-passthrough.test: Likewise. + * tests/tap-passthrough-exit.test: Likewise. + * tests/tap-plan.test: Likewise. + * tests/tap-plan-corner.test: Likewise. + * tests/tap-plan-corner2.test: Likewise. + * tests/tap-plan-errors.test: Likewise. + * tests/tap-realtime.test: Likewise. + * tests/tap-recheck-logs.test: Likewise. + * tests/tap-skip-whole.test: Likewise. + * tests/tap-todo-skip-together.test: Likewise. + * tests/tap-todo-skip-whitespace.test: Likewise. + * tests/tap-todo-skip.test: Likewise. + * tests/tap-unplanned.test: Likewise. + * tests/tap-with-and-without-number.test: Likewise. + * tests/tap-xfail-tests.test: Likewise. + * tests/tap-skip-whole-whitespace.test: Likewise, and remove + redundant definitions of `$sp' and `$tab' (they are already + defined in `tests/defs'). + * tests/tap-whitespace-normalization.test: Likewise. + * tests/Makefile.am (TESTS): Update. + (EXTRA_DIST): Distribute `tap-setup.sh'. + (tap_with_common_setup_tests, tap_with_common_setup_logs)): New + variables, holding respectively the list of tests using the files + pre-computed by `tap-common-setup.test', and the list of their + corresponding log files. + (tap_other_tests): New variable, holding the list of other tests + on TAP support. + ($(tap_with_common_setup_logs)): Depend on `tap-common-setup.log' + and `tap-setup.sh'. + +2011-08-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + test harness: use new `.trs' files to hold test metadata + With this change, the test harness will keep test metadata in + dedicated `.trs' files, instead of having them embedded into the + `.log' files. This allows for easier forward-compatibility and + extension of test metadata, and for more flexibility in the + format of the `.log' files. Note that this change makes the + `:end-metadata:' field obsolete. + * doc/automake.texi (Parallel Test Harness, Log files generation + and test results recording): Document the new APIs and behaviour; + some related minor rewordings and fixlets. + * NEWS: Update. + * automake.in (handle_tests): When bringing in the content of + `check2.am', substitute %BASE% with the basename of the `.log' + file being created by a rule. Add the generated `.trs' files + to the list of files to be cleaned by "make mostlyclean". + * lib/am/check.am (am__test_driver_flags): Rename ... + (am__common_driver_flags): ... to this, and remove the flags + `--test-name' and `--log-file' from it: they are now define in + the proper rules in `check2.am'. + (am__TEST_BASES): New internal variable, holding the names of + the tests, with any registered extension removed. + (am__stealth_MAKE): New internal variable, can be used instead of + $(MAKE) in recipes requiring a recursive call to make, but which + are not intended to be executed by "make -n". + (.log.trs): New suffix rule, to recover from deletion of `.trs' + files. + ($(TEST_SUITE_LOG)): Almost completely rewritten to follow the + new API of "test logs in `.log' files, test metadata in `.trs' + files". It goes to some length to work correctly in face of + unreadable or missing `.log' and `.trs' files, and to error out + with proper error messages when this is not possible. + [%?PARALLEL_TESTS%] (check-TESTS): Also remove relevant "stale" + `.trs' files (in addition to `.log files) before remaking the + $(TEST_SUITE_LOG). + (recheck, recheck-html): Look for the `:recheck:' field in the + `.trs' files, not in the `.log' files. + * lib/am/check2.am (?GENERIC?%EXT%.log, ?!GENERIC?%OBJ%): Adjust + the call to the test driver, in particularly passing the new + option `--trs-file'. + [%am__EXEEXT%] (?GENERIC?%EXT%$(EXEEXT).log): Likewise. + * lib/tap-driver ($USAGE): Adjust the help screen. + (Getopt::Long::GetOptions): Handle the `--trs-file' option, + through the use of ... + ($trs_file): ... this new global variable. + (finish): Write metadata for the test run to `$trs_file' rather + then to `$log_file', through the use of ... + (write_test_results): ... this new function. + * lib/test-driver (print_usage): Update the help screen. + (Option parsing): Handle the `--trs-file' option, through the + use of ... + ($resfile): ... this new global variable. + (Main code): Write metadata for the test run to `$trsfile' rather + than to `$logfile'. + Minor related adjustments to comments. + * tests/.gitignore: Ignore `*.trs' files. + * tests/parallel-tests-unreadable-log.test: Moved ... + * tests/parallel-tests-unreadable.test: ... to this, and extended + to also check the semantics for unreadable `.trs' files. + * tests/test-driver-end-metadata.test: Deleted as obsolete. + * tests/test-driver-metadata-no-leading-space.test: Likewise. + * tests/test-driver-global-log.test: Renamed ... + * tests/test-metadata-global-log.test: ... to this, and modified + as to verify the new APIs and semantics. + * tests/test-driver-recheck: Renamed ... + * tests/test-metadata-recheck.test: ... to this, and modified + likewise. + * tests/parallel-tests-once.test: New test. + * tests/parallel-tests-make-n.test: Likewise. + * test-metadata-results.test: Likewise. + * test-missing.test: Likewise. + * test-missing2.test: Likewise. + * test-trs-basic.test: Likewise. + * test-trs-recover.test: Likewise. + * test-trs-recover2.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-07-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + test harness: allow more metadata in log files + This change reworks and improves the parallel test harness to use + more specialized reStructuredText fields in the log files (instead + of relying on specially-placed of "magic lines" and more indirect + semantical formatting); the new fields are the following: + - ":recheck:": tell whether the associated test will have to be + re-run by "make recheck"; + - ":copy-in-global-log:": tell whether the content of the log + file should be copied in the "global log" `test-suite.log'; + - ":end-metadata:", which inhibits the scanning of the rest of + the log file (for what concerns test metadata). + Also, the special `:test-result:' value "END" has been removed, + superseded by the new `:end-metadata:' field. + * doc/automake.texi (Log files generation and test results + recording): Document the new API and semantics. Remove or fix + some obsolete comments. + * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html): + Adjust comments and code. + * lib/tap-driver (finish): Adjust, with the help of ... + (must_recheck, copy_in_global_log): ... these new functions. + * lib/test-driver (Main code): Adjust, with the help of ... + ($recheck, $gcopy): ... these new variables. + * tests/trivial-test-driver: Update to obey the new APIs. + * tests/test-driver-recheck.test: Likewise. + * tests/test-driver-global-log.test: Likewise. + * tests/tap-passthrough.test: Relax the test, avoiding to check + what is written in `test-suite.log'; such check has been moved ... + * tests/tap-global-log.test: ... in this new test, and extended. + * tests/test-driver-metadata-no-leading-space.test: New test. + * tests/test-driver-end-test-results.test: Removed, it checked + the old APIs; superseded by ... + * tests/test-driver-end-metadata.test: ... this new test. + * tests/tap-log.test: Improve syncing with ... + * tests/test-log.test: ... this new test. + * tests/parallel-tests.test: Remove some duplication w.r.t. this + last new test. Updated heading comments. + * tests/Makefile.am (TESTS): Update. + +2011-07-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: fix a spurious failure with non-bash shells + * tests/tap-fancy2.test: Remove an unportable use of backslashes + with the `echo' builtin, which was causing some shells (among them + bash and Debian /bin/ksh) to print a `\\' string, while other + shells (among them zsh, dash, and Solaris /bin/sh and /bin/ksh) + were unexpectedly printing a single `\' character. Since we are + at it, add a sanity check to ensure that this issue does not + resurface. + +2011-07-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: fix spurious failures with Solaris /bin/sh + * tests/tap-more.test: Use `echo > file', not `: > file', to + create empty files in the "for" loops; this is required since, + as documented in the autoconf manual, Solaris 10 /bin/sh + "optimizes" away the `:' command after the first iteration, + even if it is redirected. + * tests/test-driver-custom-multitest-recheck2.test: Likewise. + * tests/tap-numeric-description.test: Partial rewrite to avoid + using positional parameters from the 10th onward, which are + unportable to Solaris /bin/sh (using `${10}' causes the shell + to die with "bad substitution"). + +2011-07-31 Stefano Lattarini <stefano.lattarini@gmail.com> + + simple tests: support developer-defined fd redirections + Motivated by coreutils bug#8846, and related discussions: + <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8846> + <http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00002.html> + In those threads it has been shown how problematic it can be to do + portable file descriptor redirections in the testsuite when using + the Automake testsuite harness. This change should remedy to that + situation. + * lib/am/check2.am (?GENERIC?%EXT%$(EXEEXT).log, + ?GENERIC?%EXT%.log, ?!GENERIC?%OBJ%): Append redirection defined + in $(AM_TESTS_FD_REDIRECT) to the command-line invocations of the + test scripts. + * lib/am/check.am [!%?PARALLEL_TESTS%] $(check-TESTS): Likewise. + * NEWS: Update. + * doc/automake.texi (Script-based Testsuites): Document the new + feature. + * tests/check-fd-redirect.test: New test. + * tests/parallel-tests-fd-redirect.test: Likewise. + * tests/parallel-tests-am_tests_environment.test: Remove checks + about the use of redirections in AM_TESTS_ENVIRONMENT: they would + check deprecated (if not undefined) behaviour now. Strengthen a + couple of still valid checks, to keep the test more in sync with + the documentation. Improve debugging information. + * tests/Makefile.am (TESTS): Update. + +2011-07-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: rework and extend documentation on testsuites support + * doc/automake.texi (Generalities about Testing): New section. + (Simple Tests using parallel-tests): Section removed, merged + into ... + (Simple Tests): ... this one, which on the other hand has been + subdivided into ... + (Script-based Testsuites, Serial Test Harness, Parallel Test + Harness): ... these new subsection. + (DejaGnu Tests): Minor adjustments. + Other related typofixes and rewordings throughout the manual; + in particular, avoid to use the term "test driver" for three + different concepts (and use instead "test harness" and "test + runner" where appropriate). + * tests/tap-doc.test: New test. + * tests/tap-no-disable-hard-error.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-07-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: support colorization of testsuite progress output + * lib/tap-driver (%COLORS): New variable (definition extracted + from `lib/am/check.am:$(am__tty_colors)', with some obvious + adjustments. + (report): Adjust to colorize console output when required, + using ... + (decorate_result): ... this new function. + (colored): New function, used by the one above. + * tests/tap-summary.test: Also run the checks when `color-tests' + is in use. + * tests/Makefile.am (XFAIL_TESTS): Remove `tap-color.test'. + +2011-07-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: some preparatory refactoring (2) + This is a follow-up simplification. + * lib/tap-driver (console_output): Renamed ... + (report): ... to this, and extended to appropriately register + the test results when needed. + (testsuite_error, handle_tap_comment, handle_tap_test, + handle_tap_plan): Adjusted accordingly. + +2011-07-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: some preparatory refactoring (1) + This refactoring is aimed at simplifying the introduction of + colored console output for the TAP driver. + * lib/tap-driver (console_output): Now accept two arguments, the + first one indicating which kind of thing is to be displayed (for + now only a test result or a diagnostic comment), and the second + one (if present) the message associated to it. + (handle_tap_test, handle_tap_comment, handle_tap_plan, + testsuite_error): Adapt to the new `console_output' interface. + +2011-07-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + tap: add experimental TAP-aware driver + * doc/automake.texi (Using the TAP test protocol): New section. + (Overview of Custom Test Drivers Support): Minor updates. + * lib/tap-driver: New script, TAP-aware test driver for Automake; + implemented in perl and based on TAP::Parser. + * lib/Makefile.am (dist_script_DATA): Add it. + * tests/tap-autonumber.test: New test. + * tests/tap-bailout.test: Likewise. + * tests/tap-basic.test: Likewise. + * tests/tap-deps.test: Likewise. + * tests/tap-diagnostic.test: Likewise. + * tests/tap-empty.test: Likewise. + * tests/tap-empty-diagnostic.test: Likewise. + * tests/tap-escape-directive.test: Likewise. + * tests/tap-exit.test: Likewise. + * tests/tap-fancy.test: Likewise. + * tests/tap-fancy2.test: Likewise. + * tests/tap-global-result.test: Likewise. + * tests/tap-html.test: Likewise. + * tests/tap-log.test: Likewise. + * tests/tap-merge-stdout-stderr.test: Likewise. + * tests/tap-more.test: Likewise. + * tests/tap-more2.test: Likewise. + * tests/tap-no-merge-stdout-stderr.test: Likewise. + * tests/tap-no-spurious-summary.test: Likewise. + * tests/tap-no-spurious.test: Likewise. + * tests/tap-not-ok-skip.test: Likewise. + * tests/tap-numeric-description.test: Likewise. + * tests/tap-out-of-order.test: Likewise. + * tests/tap-passthrough.test: Likewise. + * tests/tap-plan.test: Likewise. + * tests/tap-plan-errors.test: Likewise. + * tests/tap-plan-corner.test: Likewise. + * tests/tap-realtime.test: Likewise. + * tests/tap-recheck-logs.test: Likewise. + * tests/tap-recheck.test: Likewise. + * tests/tap-skip-whole.test: Likewise. + * tests/tap-summary.test: Likewise. + * tests/tap-todo-skip.test: Likewise. + * tests/tap-todo-skip-together.test: Likewise. + * tests/tap-todo-skip-whitespace.test: Likewise. + * tests/tap-skipall-whitespace.test: Likewise. + * tests/tap-unplanned.test: Likewise. + * tests/tap-whitespace-normalization.test: Likewise. + * tests/tap-with-and-without-number.test: Likewise. + * tests/tap-xfail-tests.test: Likewise. + * tests/tap-bad-prog.test: New xfailing test. + * tests/tap-color.test: Likewise. + * tests/tap-plan-corner2.test: Likewise. + * tests/tap-message-0.test: Likewise. + * tests/tap-signal.test: Likewise. + * tests/Makefile.am (TESTS, XFAIL_TESTS): Update. + +2011-07-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: new auxiliary function 'count_test_results' + * tests/defs (count_test_results): New function. + * tests/check11.test: Use it. + * tests/test-driver-custom-multitest.test: Likewise. + * tests/test-driver-custom-multitest-recheck.test: Likewise. + * tests/test-driver-custom-multitest-recheck2.test: Likewise. + * tests/parallel-tests-log-override-recheck.test: Likewise. + * tests/parallel-tests-log-override-recheck.test: Likewise. + * tests/parallel-tests-no-spurious-summary.test: Likewise, and + slightly improve debugging output. + * tests/parallel-tests.test: Make use of `count_test_results'. + Also, make grepping of "make check" output slightly stricter + * tests/parallel-tests9.test: Likewise. + * tests/parallel-tests-log-override-2.test: Likewise, and throw + in a small optimization. + +2011-07-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + parallel-tests: simplify testsuite summary + Prefer a more deterministic, "tabular" format for the testsuite + summary, always listing the numbers of passed, failed, xfailed, + xpassed, skipped and errored tests, even when these numbers are + zero. This simplify the logic of testsuite summary creation, + makes it more easily machine-parseable, and will probably allow + for easier addition of new kinds of test results in the future. + * lib/am/check.am (am__tty_colors_dummy): New make variable, to + reduce code duplication. Extracted from previous versions of + $(am__tty_colors), and extended by defining two new variables + `$mgn' and `$brg'. + [%?COLOR%, %!?COLOR%] (am__tty_colors): Use that new variable. + (am__text_box): Delete, is not needed anymore. + ($(TEST_SUITE_LOG)): Rewrite associated rules to implement the + new testsuite summary format. + * NEWS: Update. + * tests/check10.test: Don't run with the parallel-tests harness + too, that makes no sense anymore. + * tests/color.test: Update and adjust. + * tests/color2.test: Likewise. + * tests/parallel-tests.test: Likewise. + * tests/parallel-tests3.test: Likewise. + * tests/parallel-tests6.test: Likewise. + * tests/parallel-tests9.test: Likewise. + * tests/parallel-tests-unreadable-log.test: Likewise. + * tests/parallel-tests-empty-testlogs.test: Likewise. + * tests/parallel-tests-log-override-recheck.test: Likewise. + * tests/parallel-tests-no-spurious-summary.test: Likewise. + * tests/test-driver-custom-multitest.test: Likewise. + * tests/test-driver-end-test-results.test: Likewise. + * tests/parallel-tests-no-color-in-log.test: New test. + * tests/testsuite-summary-color.test: Likewise. + * tests/testsuite-summary-count.test: Likewise. + * tests/testsuite-summary-count-many.test: Likewise. + * tests/testsuite-summary-reference-log.test: Likewise. + * tests/testsuite-summary-checks.sh: New auxiliary script, used + by the new tests above. + * tests/extract-testsuite-summary: Likewise. + * tests/trivial-test-driver: Optimize for speed when there are + lots of of tests. + * tests/Makefile.am (EXTRA_DIST): Distribute them. + (testsuite-summary-color.log, testsuite-summary-count.log): Depend + on them. + (testsuite-summary-count-many.log): Depend on the auxiliary scripts + 'trivial-test-driver' and 'extract-testsuite-summary'. + (TESTS): Update. + +2011-07-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + parallel-tests: new recognized test result 'ERROR' + * lib/am/check.am ($(TEST_SUITE_LOG)): Recognize a new test result + `ERROR'. Use it when encountering unreadable test logs (previously + a simple `FAIL' was used in this situations). + * lib/test-driver: Set the global test result to `ERROR' when the + test exit status is 99. When doing colorized output, color `ERROR' + results in magenta. + * doc/automake.texi (Log files generation and test results + recording): Update by listing `ERROR' too among the list of valid + `:test-results:' arguments. + * NEWS: Update. + * tests/trivial-test-driver: Update. + * tests/parallel-tests.test: Likewise. + * tests/parallel-tests-harderror.test: Likewise. + * tests/parallel-tests-no-spurious-summary.test: Likewise. + * tests/test-driver-global-log.test: Likewise. + * tests/test-driver-recheck.test: Likewise. + * tests/test-driver-custom-multitest-recheck.test: Likewise. + * tests/test-driver-custom-multitest-recheck2.test: Likewise. + * tests/test-driver-custom-multitest.test: Likewise. + * tests/test-driver-custom-no-html.test: Likewise. + * tests/test-driver-end-test-results.test: Likewise. + * tests/color.test: Likewise. Also, make stricter, and also test + from VPATH. + * tests/color2.test: Likewise, and improve syncing with color.test. + * tests/parallel-tests-exit-statuses.test: New test. + * tests/parallel-tests-console-output.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-07-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + parallel-tests: make parsing of test results safer + The new code for parsing the testsuite-generated `.log' files, + as introduced in commit `v1.11-872-gc96b881', considers each + `:test-result:' field anywhere in a `.log' file as a declaration + of a test result, and accounts for it as such in the testsuite + summary. Unfortunately this could easily cause spurious test + failures being reported in the testsuite summary. This happened + in practice with the Automake's own testsuite; for example: + $ make check TESTS='check12-p.test'; echo exit: $? + ... + PASS: check12-p.test + ===================================== + 4 of 5 tests failed + See tests/test-suite.log + Please report to bug-automake@gnu.org + ===================================== + make[2]: *** [test-suite.log] Error 1 + make: *** [check-am] Error 2 + exit: 2 + This change introduces a new special `:test-result:' "END", that, + when seen, prevents the rest of the log file from being parsed. + For more information, refer to the thread: + <http://lists.gnu.org/archive/html/automake-patches/2011-06/msg00199.html> + * lib/am/check.am ($(TEST_SUITE_LOG)): Stop the parsing of a log + file as soon as the special ":test-result:END" directive is seen. + Related changes and enhancements. + * lib/test-driver: Protect the rest of the log after the result + lined with a ":test-result:END" directive. + * doc/automake.texi (Log files generation and test results + recording): Update, and related improvements. + * tests/parallel-tests-no-spurious-summary.test: New test. + * tests/test-driver-end-test-results.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-06-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: document custom test drivers and protocols + * doc/automake.texi (Simple Tests): Note that the TESTS_ENVIRONMENT + use suggested here is not portable to 'parallel-tests'. + (Simple Tests using parallel-tests): Document new restrictions on + the uses of TESTS_ENVIRONMENT and AM_TESTS_ENVIRONMENT. + (Custom Test Drivers): New section and node. + (Overview of Custom Test Drivers Support): New subsection. + (Declaring Custom Test Drivers in @file{Makefile.am}): Likewise. + (APIs for Custom Test Drivers): Likewise. + (Options): Update description of color-tests. + * lib/am/check ($(TEST_SUITE_LOG)): Remove comments that have been + moved into the manual. + (recheck, recheck-html): Minor adjustments to better conform to the + documentation (this should cause no semantic changes w.r.t. the + former behaviour); minor improvements and extensions to existing + comments. + * tests/test-driver-create-log-dir.test: New test. + * tests/test-driver-strip-vpath.test: Likewise. + * tests/test-driver-global-log.test: Likewise. + * tests/test-driver-recheck.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-07-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: small enhancement to 'primary3.test' + * tests/primary3.test: Also test that the program named `foo.la' + has been effectively created. + +2011-07-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: a small simplification in 'pr8365-remake-timing.test' + * tests/pr8365-remake-timing.test: Avoid redundant definition + and use of `$save_AUTOCONF' variable. + +2011-07-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove an extra leading blank line + * tests/override-conditional-1.test: Remove extra blank line + placed before the shebang line. + +2011-07-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix typos, grammaros and other blunders in comments + All affected files changed. + +2011-07-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: new subroutine 'seq_', simulating GNU seq(1) + * tests/defs (seq_): New subroutine. + * tests/instmany.test: Use it. + * tests/instmany-mans.test: Likewise. + * tests/instmany-python.test: Likewise. + * tests/self-check-seq.test: New self test. + * tests/Makefile.am (TESTS): Update. + +2011-07-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove duplication about testing of config.* aux files + * tests/add-missing.test: Also check that the `AC_CANONICAL_SYSTEM' + autoconf macro causes the `config.sub' and `config.guess' scripts + to be installed by `automake --add-missing'. Since we are at it, + fix minor buglets and cosmetic issues in the `check_' function. + * tests/hosts.test: Removed, completely subsumed by the previous + test now. + * tests/Makefile.am (TESTS): Update. + +2011-07-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: more uses of the 'unindent' subroutine + * tests/backcompat.test: Prefer `unindent' over plain `cat' for + here documents created from within a loop of if/else body. + * tests/backcompat2.test: Likewise. + * tests/backcompat4.test: Likewise. + * tests/init.test: Likewise. + * tests/instmany.test: Likewise. + * tests/instmany-mans.test: Likewise. + * tests/instmany-python.test: Likewise. + * tests/missing5.test: Likewise. + * tests/parallel-am2.test : Likewise. + * tests/parallel-am3.test : Likewise. + * tests/pr307.test: Likewise. + * tests/depend4.test: Likewise. Since we are at it, normalize + other code formatting. + * tests/instfail-java.test: Prefer `echo' over `cat' + here-doc + inside a for loop. + +2011-07-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: avoid '##'-style comments inside recipe commands + * tests/autodist.test: Do not whitespace-indent `##' comments when + they are embedded in a makefile rule: having them indented is not + part of the Automake API, and might cause failures with e.g., Tru64 + make. + * tests/autodist-subdir.test: Likewise. + * tests/backcompat.test: Likewise. + * tests/backcompat6.test: Likewise. + * tests/colon7.test: Likewise. + * tests/posixsubst-scripts.test: Likewise. + * tests/posixsubst-sources.test: Likewise. + +2011-07-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: tweak, improve and extend tests on lisp support + * tests/lisp2.test: Prettify, and improve debugging output. Make + grepping of automake stderr stricter. + * tests/lisp7.test: Ensure verbose printing of captured make + output. Add trailing `:' command. + * tests/lisp8.test: Likewise. + * tests/lisp3.test: Likewise. Also, check that `.el' files and + compiled `.elc' files get installed by "make install", and + uninstalled by "make uninstall". + * tests/lisp4.test: Ensure installed `.el' files gets removed by + "make uninstall". Related changes. Add trailing `:' command. + * tests/lisp5.test: Likewise. + * tests/lisp6.test: Use proper m4 quoting in configure.in. Fix + use of blank lines, to improve clarity and symmetry. Fix typo in + comment. Add trailing `:' command. + +2011-07-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: drop useless requirement in 'license.test' + * tests/license.test: Drop useless requirement "makeinfo". Add + an extra blank line, for clarity. + +2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests defs: more uses of $top_testsrcdir + * tests/autodist-stamp-vti.test: Use `$top_testsrcdir' instead + of `$testsrcdir/..'. + * tests/repeated-options.test: Likewise. + * tests/suffix5.test: Likewise. + * tests/vtexi3.test: Likewise. + +2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + self tests: fix typo in comment + * tests/self-check-exit.test: Fix typo in heading comments. + +2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove redundant settings of `errexit' shell flag + * tests/amhello-binpkg.test: Do not set the `errexit' shell + flag, as it is already set by `tests/defs'. + * tests/amhello-cflags.test: Likewise. + * tests/amhello-cross-compile.test: Likewise. + * tests/ansi2knr-deprecation.test: Likewise. + * tests/autodist-no-duplicate.test: Likewise. + * tests/distcheck-configure-flags-am.test: Likewise. + * tests/distcheck-configure-flags-subpkg.test: Likewise. + * tests/distcheck-configure-flags.test: Likewise. + * tests/distcheck-hook.test: Likewise. + * tests/distcheck-hook2.test: Likewise. + * tests/parallel-tests-am_tests_environment.test: Likewise. + * tests/parallel-tests-harderror.test: Likewise. + * tests/parallel-tests-log-compiler-example.test: Likewise. + * tests/parallel-tests-log-override-1.test: Likewise. + * tests/parallel-tests-log-override-2.test: Likewise. + * tests/parallel-tests-log-override-recheck.test: Likewise. + * tests/primary-prefix-couples-documented-valid.test: Likewise. + * tests/primary-prefix-couples-force-valid.test: Likewise. + * tests/primary-prefix-invalid-couples.test: Likewise. + * tests/primary-prefix-valid-couples.test: Likewise. + * tests/remake-subdir-from-subdir.test: Likewise. + * tests/remake-subdir-gnu.test: Likewise. + * tests/remake-subdir-long-time.test: Likewise. + * tests/remake-subdir.test: Likewise. + * tests/remake-subdir2.test: Likewise. + * tests/silent-configsite.test: Likewise. + * tests/tests-environment-backcompat.test: Likewise. + +2011-06-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: explain why AM_TESTS_ENVIRONMENT must be semicolon-terminated + * doc/automake.texi (Simple Tests using parallel-tests): Ditto, and + related adjustments. + Suggestion by Ralf Wildenhues. + +2011-06-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: fix unportable example of AM_TESTS_ENVIRONMENT usage + * doc/automake.texi (Simple Tests using parallel-tests): The + old example on AM_TESTS_ENVIRONMENT relied on unportable shell + features, and in particular didn't work with various Korn + Shells (see also commit `v1.11-925-g29ca903'). Give another + example, simpler this time, but still inspired to real-world + usage (the GNU coreutils testsuite). + +2011-06-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc tests: fix bug in 'yacc-cxx.test' + * tests/yacc-cxx.test: Enable `errexit' shell flag (the lack of + which was masking the bug). + (bar.cxx): Rename to ... + (bar2.cxx): ... this, otherwise automake will (correctly) complain + that object `bar.o' is created by both `bar.cxx' and `bar.c++'. + (Makefile.am): Adjust. + +2011-06-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + lex tests: fix spurious link errors on Solaris + On Solaris 10, linking of lex-generated programs was failing in a + couple of lex tests with errors like this: + g++ -g -O2 -o joe joe.o -ll + Undefined symbol first referenced in file + yywrap() joe.o + ld: fatal: Symbol referencing errors. No output written to joe + collect2: ld returned 1 exit status + This change fixes it, also fixing at once potential problems for + systems that don't have a "lex library" (this happens for example + when cross-compiling from GNU/Linux to MinGW). + * tests/lex-depend-cxx.test (joe.ll, moe.l++): Define a dummy + `yywrap()' function. + * tests/lex-clean-cxx.test (mainfoo.cc, mainbar.cpp, mainbaz.c++, + mainqux.cxx): Likewise. + +2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: avoid a footnote, some related rewordings and improvements + * doc/automake.texi (Dist): Reword the part about automatically + distributed files to avoid a footnote. Since we are at it, extend + a bit, and add an example and a reference to a relevant test case. + +2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: minor cosmetic fixes + * doc/automake.texi: Break few overly long lines, throughout the + file. + ("Simple Tests"): Move @vindex for XFAIL_TESTS to the correct + position, i.e., before and not after the paragraph where it is + introduced. + ("Options" @item ansi2knr): Use @pxref instead of @xref. This + fixes a texinfo warning. + ("Other things Automake recognizes" @item AM_C_PROTOTYPES): Use + @pxref instead of @ref. + +2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + help: improve text about automatically-distributed files + This change fixes automake bug#7819. + * automake.in (usage): Distinguish between files that are always + automatically distributed when found, and those which are only + "under certain conditions". + * doc/automake.texi (Basics of Distribution): Update accordingly. + * tests/autodist-subdir.test: Update. + * tests/autodist-no-duplicate.test: Likewise. + * tests/autodist.test: Likewise. + (configure.in): Remove useless call to AM_MAINTAINER_MODE. + +2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + refactor: split 'usage' subroutine in automake + This change is related to automake bug#7819. + * automake.in (print_autodist_files): New subroutine, + extracted from ... + (usage): ... this, which now uses it. + * tests/autodist-no-duplicate.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-06-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix bug in 'autodist.test' + * tests/autodist.test: Avoid spurious failure due to no + `defs-static' file being found in the parent directory. + +2011-06-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + parallel-tests: allow each test to have multiple results + With this change, we improve the code creating the `test-suite.log' + global log and the console testsuite summary to make it able to + grasp multiple results per test script. This is required in order + to introduce the planned support for test protocols, like TAP and + SubUnit, which can indeed run multiple tests per test script, each + with its individual result. + The implementation makes use of a custom reStructuredText field + `:test-result:'. + Note that no new documentation is added by this change; that is + be left for follow-up changes. + * lib/check.am ($(TEST_SUITE_LOG)): When processing .log files, + recognize a report of a test's result only if it is declared with + the custom `:test-result:' reStructuredText field placed at the + beginning of a line. Extend and add explanatory comments. + (recheck, recheck-html): Add explanatory comments. + * lib/test-driver: Write an appropriate reStructuredText field + `:test-result:' in the generated log file. Use a reStructuredText + transition to better separate the test outcome report from the + test script's registered output. Improve comments. + * tests/test-driver-custom-xfail-tests.test: Adjust. + * tests/parallel-tests7.test: Adjust. + * tests/parallel-tests-empty-testlogs.test: New test. + * tests/parallel-tests-recheck-override.test: Likewise. + * tests/parallel-tests2.test: Extend and keep more in-sync with ... + * tests/test-driver-custom-html.test: ... this new related test. + * tests/test-driver-custom-no-html.test: New test. + * tests/test-driver-custom-multitest.test: Likewise. + * tests/test-driver-custom-multitest-recheck.test: Likewise. + * tests/test-driver-custom-multitest-recheck2.test: Likewise. + * tests/trivial-test-driver: New file, used by the last four tests + above. + * tests/Makefile.am (TESTS): Update. + (EXTRA_DIST): Distribute `trivial-test-driver'. + (test-driver-custom-multitest.log): Depend on `trivial-test-driver'. + (test-driver-custom-multitest-recheck.log): Likewise. + (test-driver-custom-multitest-recheck2.log): Likewise. + (test-driver-custom-html.log): Likewise. + +2011-06-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + parallel-tests: allow custom driver scripts + Allow suffix-based definition of custom "driver script" for the + test scripts. These driver scripts will be responsible of + launching the tests (or their corresponding $(LOG_COMPILER), if + they have an associated one), interpreting and displaying the + test results, and writing the `.log' files. + This new API should allow easy and flexible use of different + test protocols in the future; in particular, we plan to use it + to implement TAP and SubUnit harnesses. + Note that no new documentation is added by this change; that is + be left for follow-up changes. + * automake.in (handle_tests): Define default for $(LOG_DRIVER), + and, for any registered test extension `<ext>', define defaults + for $(<ext>_LOG_DRIVER). Substitute %DRIVER% using these new + variables, instead of the old internal $(am__test_driver). When + processing check2.am, also substitute %DRIVER_FLAGS%. + Require auxiliary script `test-driver' only if no driver has been + explicitly defined for the test script kinds. + * am/check2.am (?GENERIC?%EXT%$(EXEEXT).log, ?GENERIC?%EXT%.log, + ?!GENERIC?%OBJ%): Pass the %DRIVER_FLAGS% to the %DRIVER% call. + * tests/parallel-tests-no-extra-driver.test: New test. + * tests/test-driver-custom.test: Likewise. + * tests/test-driver-custom-xfail-tests.test: Likewise. + * tests/test-driver-fail.test: Likewise. + * tests/Makefile.am: Update. + * NEWS: Update. + +2011-06-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + parallel-tests: add auxiliary script 'test-driver', refactor + This refactoring should cause no API of functionality change, + and is meant only to simplify the future implementation of TAP + and SubUnit testsuite drivers. More precisely, our roadmap is + to move most of the "testsuite driving" features out of the + Automake-generated Makefiles, and into external scripts with + well-defined interfaces. This will allow the user to define + its own personalized testsuite drivers, and will also offer us + a framework upon which to implement our new TAP and SubUnit + drivers, all in a very unobtrusive way and retaining an high + degree of code reuse and backward-compatibility. + * lib/test-driver: New auxiliary script. + * lib/Makefile.am (dist_SCRIPT_DATA): Add it. + * automake.in (handle_tests): Require the new auxiliary script + `test-driver', and define a new internal makefile variable + `$(am__test_driver)', used to call it. Perform new substitution + on `DRIVER' when processing the `check2.am' file. + * lib/check.am (am__tty_colors): Define new shell variable + `$am__color_tests'. + (am__rst_section): Removed, its role taken over by the new + `test-driver' script. + (am__test_driver_flags): New variable, contains the command + line options passed to `test-driver'. + (am__check_pre): Do not deal with temporary files and exit + traps anymore, as the `test-driver' script takes care of that + now. Define shell variable `$am__enable_hard_errors', used by + `$(am__test_driver_flags)'. Reorder so that we don't need to + save and restore the value of the `TERM' environment variable + anymore. + Other related adjustments. + (am__check_post): Remove, as its role has been completely taken + over by the `test-driver' script. + * am/check2.am (?GENERIC?%EXT%$(EXEEXT).log, ?GENERIC?%EXT%.log, + ?!GENERIC?%OBJ%): Call the test script through the Automake + substituted `%DRIVER%', and honor the command-line options + in `$(am__test_driver_flags)'. Do not call the obsoleted + `$(am__check_post)' anymore. + * doc/automake.texi (Auxiliary Programs): Mention the new + `test-driver' script. + (Optional): Mention `test-driver' in AC_CONFIG_AUX_DIR. + Since we are at it, break the list of auxiliary scripts by + placing one per line, to simplify potential future additions + of new scripts. + * tests/check.test: Adjust. + * tests/check2.test : Likewise. + * tests/check3.test : Likewise. + * tests/check4.test : Likewise. + * tests/check10.test: Likewise. + * tests/color.test: Likewise. + * tests/color2.test: Likewise. + * tests/comment9.test: Likewise. + * tests/dejagnu.test: Likewise. + * tests/exeext4.test: Likewise. + * tests/maken3.test: Likewise. + * tests/maken4.test: Likewise. + * tests/parallel-tests-interrupt.test: Likewise. + * tests/posixsubst-tests.test: Likewise. + * tests/repeated-options.test: Likewise. + * tests/check-no-test-driver.test: New test. + * tests/parallel-test-driver-install.test: Likewise. + * tests/Makefile.am (TESTS): Update. + * NEWS: Update. + +2011-06-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: extend 'sc_tests_plain_*' checks + * Makefile.am (sc_tests_plain_autom4te): New check. + (sc_tests_plain_autoreconf): Likewise. + (sc_tests_plain_autoheader): Likewise. + (syntax_check_rules): Update. + +2011-06-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: interactions between TESTS_ENVIRONMENT and LOG_COMPILER + * tests/tests-environment-and-log-compiler.test: New test, + checking that we can use variables and functions set by + TESTS_ENVIRONMENT and AM_TESTS_ENVIRONMENT in LOG_COMPILER + and LOG_FLAGS (for tests both with and without registered + extensions). + * tests/Makefile.am (TESTS): Update. + +2011-06-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: make 'subst-no-trailing-empty-line.test' more robust + * tests/subst-no-trailing-empty-line.test: Strengthen existing + checks, to try more scenarios and be slightly stricter in some + grepping checks. + +2011-06-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix an incomplete comment + * tests/subst-no-trailing-empty-line.test: Fix an incomplete + comment, and move it to a more proper place. Minor cosmetic + fixes to other comments. + +2011-06-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: avoid few more spurious failures + * tests/depmod-data.test: Use creative quoting to avoid + spuriously triggering the `sc_tests_Exit_not_exit' maintainer + check. Commit `v1.11-900-g3453b8e' attempted to fix it, but + succeeded only partially. + * tests/cond33.test: Fix header comments, not to reference + obsolescent make variable `$(mkdir_p)'. + * tests/cond4.test: Rewrite "$MAKE exp=..." as "exp=.. $MAKE -e", + to please `sc_tests_overriding_macros_on_cmdline' + * tests/cond19.test: Likewise. + * tests/cond32.test: Likewise. + * tests/add-missing.test: Use "AUTOMAKE_fails" instead of + "$AUTOMAKE ... && Exit 1", to please `sc_tests_automake_fails'. + +2011-06-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: avoid few spurious failures + * Makefile.am (sc_tests_plain_aclocal, sc_tests_plain_perl, + sc_tests_plain_autoconf, sc_tests_plain_automake, + sc_tests_plain_autoupate): Be stricter in matching an erroneous + literal command, i.e., `aclocal', `automake', `perl', etc. + +2011-06-20 Bert Wesarg <bert.wesarg@googlemail.com> (tiny change) + + check: don't use multi-line coloring for the report + "less -R" can't handle multi-line coloring as it is done for the + check reports of the serial and parallel testsuite, because of + performance reasons. Thus, color each line of the check report + by its own. + * lib/am/check.am (am__text_box): Accept colors for lines, and + color each line by its own. + [%?PARALLEL_TESTS%] $(TEST_SUITE_LOG): Let am__text_box handle + the line coloring. + [!%?PARALLEL_TESTS%] $(check-TESTS): Color each report line by + its own. + * THANKS: Update. + +2011-06-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: AM_DISTCHECK_CONFIGURE_FLAGS is for corner cases + * doc/automake.texi (Checking the Distribution): Explain that the + developers should take care of making their code buildable without + requiring any special configure options, so that in general + AM_DISTCHECK_CONFIGURE_FLAGS shouldn't be used. Give an example + of where its use is legitimate. + Suggestions from Ralf Wildenhues and Eric Blake. + +2011-06-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + ansi2knr: deprecate, it will go away in the next major release + * doc/automake.texi: Loudly and repeatedly state that the old + de-ANSI-fication features are now deprecated and will be removed + in the next major Automake release. Other related adjustments. + * lib/Automake/Options.pm (_process_option_list ): Give a warning + in the `obsolete' category when the `ansi2knr' option is used. + * m4/protos.m4 (AM_C_PROTOTYPES): Deprecate this macro: a warning + in the `obsolete' category will be emitted it if is used. + * tests/ansi2knr-deprecation.test: New test. + * tests/Makefile.am (TESTS): Update. + * tests/ansi.test: Adjust, by calling autoconf and/or automake + with the `-Wno-obsolete' flag. + * tests/ansi10.test: Likewise. + * tests/ansi2.test: Likewise. + * tests/ansi3.test: Likewise. + * tests/ansi3b.test: Likewise. + * tests/ansi4.test: Likewise. + * tests/ansi5.test: Likewise. + * tests/ansi6.test: Likewise. + * tests/ansi7.test: Likewise. + * tests/ansi8.test: Likewise. + * tests/ansi9.test: Likewise. + * tests/cxxansi.test: Likewise. + * tests/libobj8.test: Likewise. + * NEWS: Update about the future planned backward-incompatibility + due to the removal of de-ANSI-fication feature. + +2011-06-19 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: primary/prefix combination "pkglib_PROGRAMS" is now invalid + * doc/automake.texi (Program Sources): pkglib_PROGRAMS is not a + valid combination anymore, so don't document it. Inconsistency + introduced in commit `v1.11-373-g9ca6326'. + +2011-06-19 Jim Meyering <meyering@redhat.com> + + docs: replace obsolete @vindex entry with a useful one + * doc/automake.texi (Program Sources): Do not index obsolete + pkglib_PROGRAMS here. Do index pkglibexec_PROGRAMS. + +2011-06-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: more checks on portable fd redirection in TESTS_ENVIRONMENT + * tests/tests-environment-fd-redirect.test: Extend by also using + a perl script among the tests. Run the test shell script with + the `errexit' flag active. Export `VERBOSE' to yes when running + "make check", to give more debugging information in case of + failures. Look for a Korn Shell also in `/usr/bin', not on only + in `/bin'. + +2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: optimize tests on primary/prefix mismatch for speed + * tests/primary-prefix-invalid-couples.test: Partial rewrite, in + order to use just a single automake invocation rather than one + invocation for each invalid primary/prefix couple. This improves + the test script execution time by an order of magnitude. + Since we are at it, throw in some other improvements to avoid + unrelated automake warnings and failures that could potentially + cause false positives w.r.t. the automake exit status. + +2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + news: update w.r.t. introduction of AM_DISTCHECK_CONFIGURE_FLAGS + * NEWS (Miscellaneous changes): Update. + +2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: DISTCHECK_CONFIGURE_FLAGS can be defined on make cmdline + * Makefile.am (sc_tests_overriding_macros_on_cmdline): It's now + acceptable that the test scripts override DISTCHECK_CONFIGURE_FLAGS + on the make command line. Update comments accordingly. Since we + are at it, make the relevant grepping rules slightly tighter. + +2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + distcheck: add support for AM_DISTCHECK_CONFIGURE_FLAGS + * doc/automake.texi (Checking the Distribution): Suggest to use + AM_DISTCHECK_CONFIGURE_FLAGS, not DISTCHECK_CONFIGURE_FLAGS, to + define (in the top-level Makefile.am) extra flags to be passed + to configure at "make distcheck" time; DISTCHECK_CONFIGURE_FLAGS + should be reserved for the user. Add proper `@vindex' directive. + Document that AM_DISTCHECK_CONFIGURE_FLAGS is not honoured in a + subpackage Makefile.am, but the flags in it are passed down to + the configure script of the subpackage. + * lib/am/distdir.am (distcheck): Also pass the flags in + $(AM_DISTCHECK_CONFIGURE_FLAGS) to the configure invocation. + Update comments. + * tests/defs.in.test (AM_DISTCHECK_CONFIGURE_FLAGS, + DISTCHECK_CONFIGURE_FLAGS): Unset in case they are exported in + the environment, they might improperly influence our testsuite. + * tests/distcheck-configure-flags.test: New test. + * tests/distcheck-configure-flags-am.test: Likewise. + * tests/distcheck-configure-flags-subpkg.test: Likewise. + * distcheck-hook.test: Likewise. + * distcheck-hook2.test: Likewise. + * tests/Makefile.am (TESTS): Update. + Closes automake bug#8784. + +2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: better documentation for silent make rules + * doc/automake.texi (Options): Detailed description of the + automake option `silent-rules' moved from here ... + (Silent Make): ... into this new chapter, expanded, improved, + and subdivided into ... + (Make verbosity, Tricks For Silencing Make, + Automake silent-rules Option): ... these new sections. + (@menu, @detailmenu): Update. + * tests/silent-configsite.test: New test, checking that the + user can control default mode of silent-rules from config.site, + as is documented in the manual. + * tests/Makefile.am (TESTS): Updated. + +2011-06-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + Warnings about primary/prefix mismatch fixed and extended. + * automake.in (%standard_prefix): Add `doc' and `locale'. + Rename `pkgdatadir' to `pkgdata'. Similarly for`pkglibdir', + `pkgincludedir' and `pkglibexecdir'. + (handle_programs): List `pkglibexec', not `pkglib', among the + prefixes valid for the `PROGRAMS' primary. + (handle_data): List also `doc' among the prefixes valid for + the `DATA' primary. This is required by automake's own build + system. + * tests/dirforbid.test: Test removed, superseded by ... + * tests/primary-prefix-invalid-couples.test: ... this new test. + * tests/primary-prefix-valid-couples.test: New test. + * tests/primary-prefix-couples-documented-valid.test: Likewise. + * tests/primary-prefix-couples-force-valid.test: Likewise. + * tests/java3.test: Adjusted, and extended a bit. + * tests/Makefile.am (TESTS): Updated. + * NEWS: Updated. + From a report by Eric Blake. + +2011-06-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: check portable fd redirection in TESTS_ENVIRONMENT + * tests/tests-environment-fd-redirect.test: New test. + * tests/Makefile.am (TESTS): Update. + Motivated by coreutils bug#8846: + <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8846> + See also following CC:ed thread on bug-autoconf list: + <http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00002.html> + +2011-06-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: make test 'self-check-reexec.test' more portable + * tests/self-check-reexec.test: Rewrite not to require a Korn + Shell able to grok variable expansions such as `${.sh.version}'; + Solaris 10 /bin/ksh fails on this for example. Instead, just + require bash and a shell that is not bash. + +2011-06-14 Stefano Lattarini <stefano.lattarini@gmail.com> + Jim Meyering <meyering@redhat.com> + + test defs: fix ksh-related portability bug in warning messages + Running "make check" normally prints a diagnostic to the outermost + stderr (usually a tty) to explain why a test is skipped, thus + giving better and faster feedback to the user. It used to do + so by redirecting file descriptor 9 to stderr (via "exec 9>&2") + before invoking the test scripts, which then would write any skip + explanation to file descriptor 9 via the `skip_' function defined + in `tests/defs'. + However, various Korn Shells (at least Solaris 10's /bin/ksh and + Debian GNU/Linux's /bin/ksh) and the HP-UX's /bin/sh close open + file descriptors > 2 upon an `exec' system call; thus the effects + of "exec 9>&2" are cancelled upon fork-and-exec, so we would get + a "Bad file number" diagnostic and no skip explanation with those + shells. + The present change remedies this situation. + * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Redirect more portably, + via a trailing "9>&2", rather than the prior "exec 9>&2; ...". Add + explanatory comments. + * tests/defs (stderr_fileno_): Update the advice in comments. + Based on commit v8.12-82-g6b68745 "tests: accommodate HP-UX and + ksh-derived shells" in GNU coreutils. + Further references, with lots of discussion: + <http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00002.html> + <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/22488> + <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8846> + +2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove 'test_prefer_config_shell' from the environment + Since commit `v1.11-910-g7df1a9b', the once user-overridable + variable `$test_prefer_config_shell' has become an internal + detail, and the test scripts now complain and bail out if it is + set in the environment. + * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Unset the variable + `test_prefer_config_shell' if it is set in the environment. + +2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: autogenerate list of wrapped tests for `lib/' shell scripts + * tests/gen-config-shell-tests: New script, generates distributed + makefile snippet `tests/config-shell-tests.am' to list all tests + that use the `get_shell_script' function, with names mangled to + use suffix `-w.shtst', in ... + * tests/Makefile.am (config_shell_tests): ... this macro, whose + definition has been consequently removed from Makefile.am. + (EXTRA_DIST): Distribute the new script. + ($(srcdir)/config-shell-tests.am): Generate using the new script. + (include): Include the `config-shell-tests.am' fragment. + * bootstrap: Invoke `tests/gen-config-shell-tests' to generate + `tests/config-shell-tests.am'. + * tests/.gitignore: Ignore `config-shell-tests.am'. + * tests/gen-parallel-tests: Fixlet in heading comments. + +2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: test mdate-sh with /bin/sh too + * tests/mdate5.test: Fetch the `mdate-sh' script using the + `get_shell_script' function, and run it directly instead of + using `$SHELL'. + * tests/mdate6.test: Likewise. Since we are at it, make checks + on the `mdate-sh' output stricter, remove now unneeded calls to + aclocal and automake and creation/extension of `configure.in', + `Makefile.am' and `textutils.tex' files, and add a trailing `:' + command. + * tests/Makefile.am (config_shell_tests): Add `mdate5-w.shtst' + and `mdate6-w.shtst'. + +2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: extend tests on `--add-missing' and `--copy' a bit + * tests/add-missing.test: Fix typo in heading comments. Try with + another testcase that install many (but not all) the auxiliary + scripts at once, and uses non-standard (but valid and documented) + setups (e.g., defining YACC in Makefile.am instead of calling + AC_PROG_YACC from configure.in). + * tests/copy.test: Reference `add-missing.test' in heading + comments. Try few more test scenarios. + +2011-06-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: few fixlets and improvements + * tests/cond31.test ($required): Remove `cc', it's not really + needed. + * tests/confh.test: Call autoheader too. The lack of this call + wasn't causing spurious failures because the automatic remake + rules were somehow invoking it on our behalf (at make time). + * tests/fn99subdir.test: Use $subdirname throughout, instead of + ${subdirname}, for consistency with the rest of the testsuite. + Avoid an unnecessary subshell, which could also cause spurious + passes, being guarded by a trailing `|| Exit 1', which neutralize + the `errexit' flag. Remove an unnecessary `|| Exit 1' guard. + * tests/insh2.test: Rewrite to avoid hackish Makefile.in munging, + and to also run configure and make. + +2011-06-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: don't hard-code test name in txinfo21.test + * tests/txinfo21.test: Use `$me' instead of hard-coding the + current testcase name "txinfo21". Add a trailing `:' command + since we are at it. + +2011-06-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: new test dedicated to `--add-missing' and `--copy' + * tests/add-missing.test: New test. + * tests/Makefile.am (TESTS): Update. + Suggested by Peter Rosin. + +2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: use 'fatal_' and 'framework_failure_' for hard errors + * tests/defs (require_xsi): Use `fatal_', not `framework_failure', + to report an invalid usage. + * tests/remake-gnulib-remove-header.test: Prefer using `fatal_' + with a proper error message over a direct call to `Exit 99'. + * tests/pr8365-remake-timing.test: Likewise. + * tests/cygnus-imply-foreign.test: Likewise. + * tests/missing6.test: Likewise. + * tests/cond8.test: Likewise. + * tests/cond33.test: Likewise. + * tests/python-virtualenv.test: Prefer using `framework_failure_' + with a proper error message over a direct call to `Exit 99'. + * tests/instspc-tests.sh: Prefer using `framework_failure_' and + `fatal_' over direct calls to `Exit 99'. + (fatal_): Define this (which is a simplified version of the one + in `tests/defs') for early uses (i.e., before `tests/defs' + gets sourced). + * tests/depmode-tests.sh: Likewise. Also, simplify the + 'get_depmodes' function and calls to it accordingly. + +2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + self tests: check new 'fatal_' function + * tests/self-check-exit.test: Also check the new 'fatal_' + function. + +2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: new function 'fatal_', for hard errors + Before this patch, the only way offered by tests/defs to + properly signal a hard error was the `framework_failure_' + function. But the error message issued by that function, + as its name would suggest, refers to a set-up failure in the + testsuite, while hard errors can obviously also be due to + other reasons. The best way to fix this inconsistency is to + introduce a new function with a more general error message. + Inspired by a recent similar change to Gnulib's tests/init.sh. + * tests/defs (fatal_): New function. + * tests/README (Section "Writing test cases" subsection "Do"): + Suggest the use of `fatal_', not of `framework_failure_', for + generic hard errors. The latter should be reserved for "real" + set-up failures. + +2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + py-compile: '--' and non-option arguments terminate the option list + * lib/py-compile: Any non-option argument, or the special `--' + argument, now explicitly terminates the list of options. + * tests/py-compile-option-terminate.test: New test. + * tests/Makefile.am (TESTS): Update. + * NEWS: Update. + +2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + py-compile: complain on unrecognized options + * lib/py-compile: Complain on unrecognized options. Don't be too + lax in matching `--help' and `--version' options. + * tests/py-compile-usage.test: Extend accordingly. + * NEWS: Update. + +2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + py-compile: normalize error and help messages + * lib/py-compile: Now error messages do not begin with a capital + letter, nor end with a period, as per GNU standards. Prepend the + error messages with the name of the script, not with its path. + When an invalid usage is recognized, always display the customary + message "Try `py-compile --help' ..." on a line of its own. + ($me): New variable, containing the name of the + program, i.e., `py-compile'. Use it throughout. + (usage_error): New function, used to display error messages about + invalid usage. + * tests/py-compile-usage.test: Extend and tighten accordingly. + +2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + python tests: add "unit tests" on py-compile + * tests/py-compile-basic.test: New test. + * tests/py-compile-basic2.test: New test. + * tests/py-compile-basedir.test: Likewise. + * tests/py-compile-destdir.test: Likewise. + * tests/py-compile-env.test: Likewise. + * tests/py-compile-usage.test: Likewise. + * tests/Makefile.am (TESTS): Update. + Tested with python 2.0.1, 2.4.6, 2.6.6, 2.7.1, and 3.1.3. + +2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + py-compile: the '--destdir' option now accepts a blank argument + * lib/py-compile (Option parsing): Do not count an empty argument + to `--destdir' or `--basedir' as a missing argument. + * lib/python.am: Simplify accordingly, passing the `--destdir' + option to py-compile unconditionally, even if `$(DESTDIR)' is + empty. + * NEWS: Update. + +2011-06-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + python: run the 'py-compile' script with $(SHELL) + * lib/python.am (install-%DIR%PYTHON): Run each instance of + py-compile using $(SHELL). Since we are at it, break overly + long lines. + (am__py_compile): New variable, to reduce code duplication. + + +2011-06-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: `lib/' shell scripts transparently tested also with $SHELL + With the previous commit, the user could prefer the use of $SHELL + over /bin/sh in some tests checking the Automake-provided shell + scripts by manually exporting `test_prefer_config_shell' to "yes" + in the environment. With this commit, we ensure that such tests + *always* and *transparently* run using both $SHELL and /bin/sh + to execute the checked scripts. The `test_prefer_config_shell' + variable becomes an internal detail, and is no more meant to be + manually defined or overridden. + * tests/defs-static.in: Check that `test_prefer_config_shell' is + not exported in the environment. Error out if this is the case. + * tests/config-shell-tests.sh: New file, driver script to run + checks on the shell scripts in `lib/' using the $SHELL determined + at configure time instead of the default system shell /bin/sh. + * Makefile.am (TESTS_EXTENSIONS): Add `.shtst'. + (SHTST_LOG_COMPILER): Define, it calls `config-shell-tests.sh'. + (config_shell_tests): Define to a list of tests that wraps other + `*.test' tests using `config-shell-tests.sh'. + ($(config_shell_tests)): Dummy dependency declaration required + in order to have make actually produce expected log files from + the `.shtst.log' suffix rule. + (EXTRA_DIST): Distribute `config-shell-tests.sh'. + (TESTS): Add `$(config_shell_tests)'. + * tests/self-check-env-sanitize.test: Update, by checking that + `test_prefer_config_shell' isn't exported in the environment. + +2011-06-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: can use also $SHELL to check shell scripts from `lib/' + * tests/ar-lib.test: If the variable `$test_prefer_config_shell' + is set to "yes", run the script under test with configure-time + determined $SHELL, rather than with /bin/sh. + The `$test_prefer_config_shell' variable defaults to empty, but + can be overridden at runtime by the user, thus allowing more + coverage. + * tests/compile.test: Likewise. + * tests/compile2.test: Likewise. + * tests/compile3.test: Likewise. + * tests/compile4.test: Likewise. + * tests/compile5.test: Likewise. + * tests/compile6.test: Likewise. + * tests/instsh2.test: Likewise. + * tests/instsh3.test: Likewise. + * tests/mkinst3.test: Likewise. + * tests/missing.test: Likewise. + * tests/missing2.test: Likewise. + * tests/missing3.test: Likewise. + * tests/missing5.test: Likewise. + * tests/defs (get_shell_script): New subroutine, factoring out + code common to the tests above. + (xsi-lib-shell): If `$test_prefer_config_shell' is set to "yes", + check that $SHELL, not /bin/sh, supports XSI constructs, as we + expect the test will use $SHELL and not /bin/sh to run the + script being tested. + +2011-06-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests defs: better requirements for XSI shells + This change avoids potential spurious failures with tests using + the requirement 'xsi-shell' to mean that they want */bin/sh* (not + $SHELL) to be XSI-conforming. This idiom used to work before + commit `v1.11-874-g1321be7' (as back then the test scripts were + unconditionally run with /bin/sh), but has become inconsistent + now that the test scripts re-execute themselves with configure + determined $SHELL. + The described spurious failures have already occurred in practice, + for examples on Solaris systems which also had GNU Bash installed. + From a suggestion by Peter Rosin. See discussion at: + <http://lists.gnu.org/archive/html/automake-patches/2011-06/msg00016.html> + * tests/defs (xsi-shell): Now check that $SHELL, rather than the + shell currently running the test script, is an XSI shell. + (xsi-bin-sh): New requirement, checking that /bin/sh (which can + differ from $SHELL) is an XSI shell. + (xsi-lib-shell): New requirement, checking that the shell that + should be used to test the Automake-provided scripts from `lib/' + is an XSI shell. For the moment, this is just an alias for + `xsi-bin-sh'. + (require_xsi): New subroutine, used to factor out code common to + the requirements above. + ($xsi_shell_code): New variable, contains shell code supposed to + work only with XSI shells. Used by the new subroutine above. + * tests/ar-lib.test ($required): Require 'xsi-lib-shell' instead + of 'xsi-shell', since the script we test here is run with /bin/sh, + not with $SHELL. + * tests/compile3.test: Likewise. + * tests/compile6.test: Likewise. + +2011-06-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix typo-related error in auxdir2.test + * tests/auxdir2.test (configure.in): Close m4 quoting in the + argument to AC_CONFIG_AUX_DIR. Without this, aclocal fails with + "ERROR: end of file in string". This problem hasn't been exposed + by the testsuite before because this test is in XFAIL_TESTS, so + its failure went unnoticed, even if it was due to a wrong cause. + Bug introduced in commit v1.11-249-g49ac3de. + +2011-06-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + self tests: check that `$me' can be overridden + * tests/self-check-me.test: Check that `$me' can be overridden + before sourcing ./defs, with or without sourcing ./defs-static + beforehand, and that this override is honored. Update heading + comments. + +2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + self tests: fix another spurious failure + Our ad-hoc usage of `tests/defs' in the testsuite's self tests + stopped working properly when we made the test scripts re-execute + themselves with the configure-time $SHELL. Fix this. + Fixes a regression introduced by commit 'v1.11-874-g1321be7'. + * tests/self-check-exit.test: Export `AM_TESTS_REEXEC' to "no" + before running the self tests. This fixes a spurious failure + present only when the test was run by hand. + +2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + silent-rules tests: fix spurious failures with Sun Studio C++ + * tests/silentcxx.test: The C++ compiler from Sun Studio is named + `CC'. Account for this in our grepping checks on the make output. + Since we are at it, throw in a couple of improvements to comments + and formatting. + * tests/silent-many-generic.test: The C++ compiler from Sun Studio + is named `CC', and this can cause spurious failures in our grepping + of the make output. Work around this by using a wrapper script + around the C++ compiler (generated on the fly), since filtering the + make output proved to be too fragile. + +2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure in backcompat2.test on NetBSD + * tests/backcompat2.test: Add trailing `:' in the body of a `for' + loop, in case the last command there might have an exit status + different 0. This work around `set -e' issues in some BSD shells, + e.g., NetBSD /bin/ksh. + +2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure in autohdr3.test + * tests/autohder3.test (Makefile.am): Let `test' depend on `all', + so that config.h header is truly remade. + Remove now useless call to `$MAKE' when non-GNU make is in use. + Failure introduced by commit `v1.11-895-g5e62b96'. + +2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure of cond29.test on NetBSD + * tests/cond29.test: Skip if we cannot safely limit the maximal + size of used virtual memory to 20K. This fixes a spurious failure + on NetBSD. + Bug introduced in commit `v1.11-885-g908d335'. + +2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: fix again few more failures + * tests/cond29.test: To please the `sc_tests_Exit_not_exit' + maintainer check, avoid using `sh -c "exit 0"' where a simple + `sh -c :' will do. + * tests/depmod-data.test: Use creative quoting to avoid + spuriously triggering the `sc_tests_Exit_not_exit' maintainer + check. + +2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: fix some more failures + * tests/instdir-ltlib.test: Use creative quoting to avoid + spuriously triggering the `sc_rm_minus_f' maintainer check. + * tests/instdir-prog.test: Likewise. + * tests/instspc-data.test: Use creative quoting to avoid + spuriously triggering the `sc_tests_Exit_not_exit' maintainer + check. + +2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: fix some failures, extend some checks + * Makefile.am (sc_diff_automake_in_automake): Update, as we + now expect 9 lines, not 8, to be changed from `automake.in' + to `automake'. + (sc_diff_aclocal_in_aclocal): New maintainer check, similar to + the above, and checking that only 10 lines are changed from + `aclocal.in' to `aclocal'. + (syntax_check_rules): Update. + (sc_tests_Exit_not_exit): Exempt self tests `self-check-*.test' + from this check, as they can legitimately use the bare `exit' + builtin in various places. + * doc/automake.texi (Python): Remove stray `@' from the end of + a line. Typo introduced in commit `v1.11-312-g5bf7af6'. + * tests/depcomp8a.test: Pass DISTCHECK_CONFIGURE_FLAGS to make + from the environment rather than from the command line, to + pacify the `sc_tests_overriding_macros_on_cmdline' maintainer + check. + * tests/depcomp8b.test: Likewise. + +2011-06-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: don't require GNU make where it's not strictly needed + * tests/autohdr3.test: Rewrite to be stricter when make is GNU + make. Drop the requirement of GNU make. + * tests/aclocal5.test: Drop GNU make requirement, it's not truly + needed. Add reference to similar tests `remake-subdir*.test'. + * remake-subdir-gnu.test, remake-subdir-from-subdir.test, + remake-subdir.test, remake-subdir2.test: Add reference to + each other, and to related test `aclocal5.test'. + * tests/aclocal6.test: Drop GNU make requirement, it's not + truly needed. + * tests/confh6.test: Likewise. + * tests/lex3.test: Likewise. + * tests/remake11.test: Likewise. + * tests/subdir5.test: Likewise. + * tests/subdir8.test: Likewise. + * tests/werror2.test: Likewise. + * tests/conff.test: Likewise, and ensure verbose printing of + captured make output. + * tests/lex5.test: Tweak so that GNU make is no more required. + * tests/version7.test: Likewise. + * tests/maken2.test: Add explicative comment for why this test + requires GNU make. + * tests/maken4.test: Let it run also with BSD makes supporting + the `.MAKE' special target. + * tests/output6.test: Use proper m4 quoting in configure.in. + Expand make macros with one-character name using `$(x)', not + `$x', for portability. Move checks in the makefiles, rather + than relying on grepping the output from make. Drop the now + unneeded GNU make requirement. + +2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + remake: behave better with non-GNU make in subdirectories + Currently, with every decent make program, it is possible to + rebuild out-of-date autotools-generated files with a simple + "make Makefile" -- but for this to work reliably with non-GNU + make implementations, the command must be issued from the + top-level directory. This patch removes such limitation. + * lib/am/configure.am (am--refresh): Depend on `%MAKEFILE%'. + * tests/remake-subdir.test: New test. + * tests/remake-subdir2.test: Likewise. + * tests/remake-subdir-gnu.test: Likewise. + * tests/remake-subdir-from-subdir.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-06-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + lex tests: fix spurious failures with Solaris lex + * tests/lex-lib.test (foo.l): Avoid empty "rules section", which + can confuse Solaris lex. + * tests/lex-libobj.test (foo.l): Likewise. + +2011-06-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + lex tests: do not force the use of flex unconditionally + * tests/defs (lex): Act more similarly to what the `yacc' + requirement does, i.e., only force the use of flex if the + $LEX variable is left unset by the user. + (flex): Use `skip_' to skip the test if flex is not found. + +2011-06-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + lex tests: avoid possible hang; fix and extend + * tests/lex3.test (foo.l:yywrap): Return 1, not 0, to avoid hangs. + Bug introduced in commit 'v1.11-871-geb147a1'. + (Makefile.am): Do not add `@LEXLIB@' to `$(LDADD)', as we define + our own `yywrap' function. + * tests/lex.test (tscan.l): In `yywrap', return 1, not 0, for + consistency with the default flex implementation. + * tests/lex-libobj.test (yywrap.c): Likewise. + * tests/lex-subobj-nodep.test (s1.l): Likewise. + * tests/lexvpath.test (foo.c): Likewise. + * tests/silent-lex-gcc (foo.l): Likewise. + * tests/silent-lex-generic (foo.l): Likewise. + * tests/silent-many-gcc (foo5.l): Likewise. + * tests/silent-many-generic (foo5.l): Likewise. + * tests/lex-lib.test (mu.c): Likewise. + Update heading comments, to refer to ... + * tests/lex-lib-external.test: ... this new test, which checks + that we can get use the `yywrap' function from a system-wide + library, if that's available. + +2011-06-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: prefer `skip_' over `echo ...; Exit 77' + * tests/self-check-cleanup.test: When the test must be skipped, + use `skip_ REASON' instead of `echo REASON; Exit 77'. Also, + make the skip message shorter and clearer. + +2011-06-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failures in self tests + Our ad-hoc usage of `tests/defs' in the testsuite's self tests + stopped working properly when we made the test scripts re-execute + themselves with the configure-time $SHELL. Fix this. + Fixes a bug introduced by commit 'v1.11-874-g1321be7'. + * tests/defs: Only check that we can find the client test script + when we must re-execute it. + * tests/self-check-cleanup.test: Export `AM_TESTS_REEXEC' to "no" + before running the self tests. + * tests/self-check-dir.test: Likewise. + * tests/self-check-explicit-skips.test: Likewise. + * tests/self-check-me.test: Likewise. + * tests/self-check-sanity.test: Likewise. + * tests/self-check-reexec.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-06-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: prefer ulimit over timeout in test on a memory-hogging bug + * tests/cond29.test: Use 'ulimit' instead of 'timeout' to ensure + that automake does not uses up too much resources. This is really + and improvement because the bug tested by this script wasn't just + a "it hangs" or "it runs too slow" bug, but rather a memory-hogging + bug (due to combinatorial explosion when many Automake conditionals + had to be handled) which could easily crash the whole system, which + is unacceptable. The requirement of a proper and working 'ulimit' + builtin might cause the test to be skipped on more systems, but + that shouldn't be a problem since the bug isn't about a portability + issue, but is rather an automake internal implementation problem. + I've verified that the test as updated by this patch still passes + with automake 1.8.5, automake 1.10.2, and obviously the development + version of automake, and that it fails with automake 1.7.9. + +2011-06-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: avoid generating `*-p.test' tests, use a wrapper script + The generated `*-p.test' tests had already become just thin layers + around the corresponding test scripts. This change makes the final + step, converting to the use of a generic wrapper script and thus + avoiding the extra test generation (similarly to what is done for + the `*.instspc' and `*.depmod' tests). + * tests/parallel-tests.sh: New file, driver script to run checks + the on the `parallel-tests' semantics by wrapping tests that use + the generic "Simple Tests" driver. + * tests/gen-parallel-tests: Update, mostly to reflect the new + `.ptest' extensions used for tests in $(parallel_tests). + * Makefile.am (TESTS_EXTENSIONS): Add `.ptest'. + (PTEST_LOG_COMPILER): Define, it calls `parallel-tests.sh'. + ($(parallel_tests)): Do not really generate `*-p.test' tests + anymore; this is now just a dummy dependency declaration required + in order to have make actually produce expected log files from + the `.ptest.log' suffix rule. + (EXTRA_DIST): Distribute `parallel-tests.sh'. + (MAINTAINERCLEANFILES): Don't remove the `$(parallel_tests)', it + is not necessary anymore. + (generated_tests): Variable definition removed. + (TESTS): Update, by listing `$(parallel_tests)' directly instead + of `$(generated_tests)' + (expected_list_of_tests): Remove `$(generated_tests)'. + (maintainer-check-list-of-tests): No need to explicitly depend on + `$(expected_list_of_tests)' anymore. + +2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + automake, aclocal: honour configure-time AUTOCONF and AUTOM4TE + Currently, the Automake's own configure script allow definition + of AUTOCONF and AUTOM4TE, expected to point respectively to an + autoconf and autom4te programs. But while these definitions are + honoured in the Automake's build systems and test suite, they + were *not* honoured in the generated `automake' and `aclocal' + scripts. This behaviour, apart from being wrong in that it does + not allow the user enough freedom in choosing his tools, also + caused inconsistencies in the test suite, brining to spurious + failures. + Problem reported by Graham Reitz on the automake list; see thread: + <http://lists.gnu.org/archive/html/automake/2011-05/msg00022.html> + * automake.in ($traces): Use `@am_AUTOCONF', not simply `autoconf'. + * aclocal.in ($traces): Use `@am_AUTOM4TE', not simply `autom4te'. + * Makefile.am (do_subst): Substitute also `@am_AUTOCONF' and + `@am_AUTOM4TE'. + * NEWS: Update. + * THANKS: Update. + +2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + build: the user can override AUTOM4TE, AUTORECONF and AUTOUPDATE too + Our build system allows the user to override AUTOCONF and AUTOHEADER + at configure time, and honours these overrides in our testsuite. + But it didn't do the same with AUTOM4TE, AUTORECONF and AUTOUPDATE. + This change fixes that inconsistency. + * configure.ac (am_AUTOM4TE, am_AUTOUPDATE, am_AUTORECONF): New + AC_SUBSTitutions. Update comments. + * tests/defs.in ($AUTOUPDATE): Default to `@am_AUTOUPDATE@' now. + ($AUTOM4TE): New variable, defaulting to `@am_AUTOM4TE@'. + ($AUTORECONF): New variable, defaulting to `@am_AUTORECONF@'. + * doc/Makefile.am ($(srcdir)/amhello-1.0.tar.gz): Update. + +2011-05-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + parallel-tests: stricter checks on DISABLE_HARD_ERRORS support + * tests/parallel-tests-harderror.test: New test, doing more + in-depth checks on DISABLE_HARD_ERRORS. + * tests/parallel-tests.test: Remove tests on DISABLE_HARD_ERRORS, + now redundant. + * tests/Makefile.am (TESTS): Update. + +2011-05-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Stefano Lattarini <stefano.lattarini@gmail.com> + + tests/README: fix example about `make -e' usage + * tests/README (Section "Writing test cases" subsection "Do"): When + some variable is never initialized in the Makefile, `-e' is not + necessary in order to override it. DESTDIR is such a variable: we + ensure that we do not ever initialize it. And as such, it is quite + portable to use: + $ make DESTDIR=/foo/bar install + and in fact, quite widely used. + So our example about when `make -e' is required, which references + the `DESTDIR' variable, is poorly chosen, if not downright wrong. + Rewrite it to use `prefix' as the overridden variable instead. + +2011-05-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: don't require gfortran if any fortran compiler is enough + * tests/silentf90.test ($required): Require `fortran', not + `gfortran'. + * tests/silentf77.test ($required): Require `fortran77', not + `gfortran'. + * tests/silent-many-generic.test ($required): Require `fortran' + and `fortran77' rather than `gfortran'. + +2011-05-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: improve `ccnoco*.test', better cross-compiling support + * tests/ccnoco3.test (Mycomp): Use the `$CC' chosen by `tests/defs' + instead of forcing `gcc' unconditionally. This ensures better + coverage in case of cross-compiling, when GCC can be named e.g., + `i586-mingw32msvc-gcc', instead of simply `gcc'. + * tests/ccnoco.test: Likewise. Remove redundant checks. Modernize + the created `configure.in'. Run tests both in-tree and in VPATH. + Export `CC' to the overridden value only once. + * tests/ccnoco2.test: Slightly stricter grepping of automake + stderr. Add trailing `:' command. + +2011-05-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: each test case depends on `defs-static' + * tests/Makefile.am ($(TEST_LOGS)): Depends on `defs-static' too. + Simplify comments. + +2011-05-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: use $SHELL to run tests which are shell scripts + * tests/Makefile.am (TEST_LOG_COMPILER): Define so that the + configure-time $SHELL is used to run the tests. + * tests/defs: Add code to re-execute by default the running + test script with configure-time $SHELL. Updated comments. + * configure.ac: Check that `set -e' is working for $SHELL, + not for /bin/sh. + * tests/defs-static.in: Update comments. + * tests/README (Supported shells): Updated. + (Getting details from failures): Don't tell that tests are + run by /bin/sh by default. + +2011-05-26 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: split 'subst2.test' to improve modularity and coverage + * tests/subst2.test: Test removed, split into ... + * tests/programs-primary-rewritten.test: ... this test ... + * tests/subst-no-trailing-empty-line.test: ... and this one ... + * tests/extra-programs-empty.test: ... and this one. + * tests/Makefile.am (TESTS): Update. + +2011-05-26 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: tweak and improve tests on Automake conditionals + The "avoid the requirement of a working compiler" we refer about + below is obtained by disabling automatic dependency tracking and + defining `CC' (and `EXEEXT', `OBJEXT', `CXX', etc., if needed) to + dummy values, either directly in the `Makefile.am', or by AC_SUBST + in `configure.in'. + The "cosmetic changes" we refer about below consists in, e.g., + adding a trailing `:' command to a script, using proper m4 quoting + in `configure.in' files, adding commands that offer more debugging + output, explicitly declaring phony targets as such in Makefiles, + making use of idioms more consistent with those employed in other + tests, following the GNU formatting standards more closely, etc. + * tests/cond.test: Cosmetic changes. + * tests/cond3.test: Likewise. + * tests/cond10.test: Likewise. + * tests/cond14.test: Likewise. + * tests/cond15.test: Likewise. + * tests/cond17.test: Likewise. + * tests/cond40.test: Likewise. + * tests/cond13.test: Likewise, and make grepping of the generated + `Makefile.in' slightly stricter. + * tests/cond6.test: Extend by also running ./configure, make and + "make install". Few cosmetic changes. + * tests/cond8.test: Likewise. + * tests/cond2.test: Do few cosmetic changes. Make grepping of + automake stderr stricter. + * tests/cond20.test: Likewise. + * tests/cond23.test: Likewise. + * tests/cond24.test: Likewise. + * tests/cond42.test: Likewise. + * tests/cond46.test: Likewise. + * tests/cond9.test: Move more checks in the `Makefile.am' instead + of grepping make's output. + * tests/cond38.test: Likewise. + * tests/cond11.test: Likewise. Avoid the requirement of a working + C compiler. + * tests/cond16.test: Likewise. + * tests/cond22.test: Likewise. + * tests/cond30.test: Likewise. + * tests/cond31.test: Likewise. + * tests/cond4.test: Likewise, and drop the now-useless GNU make + requirement as well. + * tests/cond18.test: Likewise. + * tests/cond19.test: Likewise. + * tests/cond22.test: Likewise. + * tests/cond25.test: Add trailing `:' command. + * tests/cond26.test: Likewise. + * tests/cond27.test: Likewise. + * tests/cond28.test: Likewise. + * tests/cond29.test: Use `unindent' function for better formatting. + Other minor cosmetic changes. Use a `timeout' program (if it's + available) to determine whether the script takes too long, instead + of just hoping that the user will notice an abnormally long test + execution time. + * tests/cond33.test: Extend a bit. Fix heading comments. Few more + cosmetic changes. + * tests/cond37.test: Ensure verbose printing of captured make + output. Minor cosmetic changes. + * tests/cond34.test: Likewise. Avoid the requirement of a working + C compiler. Make grepping of make output slightly stricter. + * tests/cond35.test: Quote literal dots in grep regexp. Add extra + debugging output. Minor cosmetic changes. + * tests/cond36.test: Likewise. + * tests/cond41.test: Do not simply check that aclocal fails, but + also grep its stderr for the expected error message. + * tests/cond43.test: Likewise (but the program being automake). + Few cosmetic changes. + * tests/condd.test: Avoid the requirement of a working C compiler. + * tests/condman3.test: Extend by using more man pages and more + manpage sections. + * tests/condman.test: Removed, it's completely superseded by + `condman3.test'. + * tests/Makefile.am (TESTS): Update. + +2011-05-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + lex tests: avoid spurious failures when LEXLIB isn't found + The AC_PROG_LEX Autoconf macro does not diagnose a failure to find + the "lex library" expected to provide a `yywrap' function (function + which is required to link most lex-generated programs). On the + contrary, when all the link attempts (i.e., with `-ll' and `-lfl') + fail, configure declares that no lex library is needed, and simply + proceeds with the configuration process -- only for the build to + possibly fail later, at make time. + This behaviour might be (partly) intended; the Autoconf manual + reads: + ``You are encouraged to use Flex in your sources, since it is + both more pleasant to use than plain Lex and the C source + it produces is portable. In order to ensure portability, + however, you must either provide a function `yywrap' or, if + you don't use it (e.g., your scanner has no `#include'-like + feature), simply include a `%noyywrap' statement in the + scanner's source.'' + This AC_PROG_LEX behaviour is causing some spurious failures of the + Automake testsuite in environments which lack a proper library + providing `yywrap' (this happens for example in Linux->MinGW cross + compilations). But at this point is clear that a proper workaround + is to simply provide a fall-back implementation of `yywrap' in our + lexers. + * tests/cond35.test: Provide a dummy `yywrap' function. + * tests/lex3.test: Likewise. + * tests/lexvpath.test: Likewise. + * tests/silent-many-gcc.test: Likewise. + * tests/silent-many-generic.test: Likewise. + * tests/silent-lex-gcc.test: Likewise, and a dummy `main' too. + * tests/silent-lex-generic.test: Likewise. + * tests/lex-lib.test: New test. + * tests/lex-libobj.test: New test. + * tests/lex-nowrap.test: New test. + * tests/Makefile.am (TESTS): Update. + * THANKS: Update. + Thanks to Russ Allbery for the suggestion. + +2011-05-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: require C++ compiler explicitly in tests needing it + The list of the test scripts which needed a C++ compiler but + failed to require it explicitly has been found by running: + $ tests=`grep -lE 'CXX|\.c(c|\+\+|xx|pp)' *.test | tr '\n' ' '` + $ am_explicit_skips=yes CXX=false make check TESTS="$tests" + and looking for tests that reported FAIL instead of SKIP. + After the present change, all those previously failing tests + either pass or get correctly skipped. + * tests/subobj9.test: Require `c++', instead of explicitly + skipping on configure failure. Add excerpts and/or details from + the original bug report that prompted this tests to be written. + * tests/silentcxx-gcc.test: Require g++. + * tests/silentcxx.test: Require c++. + * tests/suffix3.test: Likewise. + +2011-05-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: don't require g++ where any C++ compiler is enough + * tests/specflg10.test ($required): Use `c++', not g++. + * tests/silent-many-generic.test: Likewise. + +2011-05-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: require C compiler explicitly in tests needing it + The list of the test scripts which needed a C compiler but + failed to require it explicitly has been found by running: + $ am_explicit_skips=yes CC=false make check + and looking for tests that reported FAIL instead of SKIP. + After the present change, all those previously failing tests + either pass or get correctly skipped. + * tests/aclocal4.test ($required): Add `cc'. + * tests/ansi.test: Likewise. + * tests/ansi10.test: Likewise. + * tests/ansi3.test: Likewise. + * tests/ansi3b.test: Likewise. + * tests/ansi5.test: Likewise. + * tests/ansi6.test: Likewise. + * tests/ansi7.test: Likewise. + * tests/ansi9.test: Likewise. + * tests/backcompat6.test: Likewise. + * tests/canon7.test: Likewise. + * tests/check5.test: Likewise. + * tests/check7.test: Likewise. + * tests/check8.test: Likewise. + * tests/cond4.test: Likewise. + * tests/cond11.test: Likewise. + * tests/cond16.test: Likewise. + * tests/cond18.test: Likewise. + * tests/cond19.test: Likewise. + * tests/cond22.test: Likewise. + * tests/cond30.test: Likewise. + * tests/cond31.test: Likewise. + * tests/cond32.test: Likewise. + * tests/cond34.test: Likewise. + * tests/cond35.test: Likewise. + * tests/cond39.test: Likewise. + * tests/condd.test: Likewise. + * tests/cygnus-dependency-tracking.test: Likewise. + * tests/depcomp2.test: Likewise. + * tests/depcomp6.test: Likewise. + * tests/depcomp7.test: Likewise. + * tests/depcomp8a.test: Likewise. + * tests/depcomp8b.test: Likewise. + * tests/depdist.test: Likewise. + * tests/depend2.test: Likewise. + * tests/depend5.test: Likewise. + * tests/distcleancheck.test: Likewise. + * tests/distname.test: Likewise. + * tests/exeext.test: Likewise. + * tests/exeext4.test: Likewise. + * tests/extradep.test: Likewise. + * tests/extradep2.test: Likewise. + * tests/gnits2.test: Likewise. + * tests/gnits3.test: Likewise. + * tests/instdir-ltlib.test: Likewise. + * tests/instdir-prog.test: Likewise. + * tests/instfail.test: Likewise. + * tests/instfail-libtool.test: Likewise. + * tests/lex3.test: Likewise. + * tests/lex5.test: Likewise. + * tests/lexvpath.test: Likewise. + * tests/lex-subobj-nodep.test: Likewise. + * tests/lflags.test: Likewise. + * tests/libobj-basic.test: Likewise. + * tests/libobj2.test: Likewise. + * tests/libobj7.test: Likewise. + * tests/libobj10.test: Likewise. + * tests/libobj16a.test: Likewise. + * tests/libobj16b.test: Likewise. + * tests/libobj17.test: Likewise. + * tests/libobj19.test: Likewise. + * tests/libtool2.test: Likewise. + * tests/libtool3.test: Likewise. + * tests/libtool7.test: Likewise. + * tests/libtool9.test: Likewise. + * tests/libtoo10.test: Likewise. + * tests/libtoo11.test: Likewise. + * tests/ltcond.test: Likewise. + * tests/ltcond2.test: Likewise. + * tests/ltconv.test: Likewise. + * tests/ltinit.test: Likewise. + * tests/ltlibsrc.test: Likewise. + * tests/ltorder.test: Likewise. + * tests/nobase.test: Likewise. + * tests/nobase-libtool.test: Likewise. + * tests/mmodely.test: Likewise. + * tests/parallel-tests5.test: Likewise. + * tests/parallel-tests-suffix-prog.test: Likewise. + * tests/parallel-tests-ext-driver-prog.test: Likewise. + * tests/posixsubst-ldadd.test: Likewise. + * tests/posixsubst-libraries.test: Likewise. + * tests/posixsubst-ltlibraries.test: Likewise. + * tests/posixsubst-programs.test: Likewise. + * tests/posixsubst-sources.test: Likewise. + * tests/pr87.test: Likewise. + * tests/pr204.test: Likewise. + * tests/pr224.test: Likewise. + * tests/pr300-lib.test: Likewise. + * tests/pr300-ltlib.test: Likewise. + * tests/pr300-prog.test: Likewise. + * tests/pr401.test: Likewise. + * tests/pr401b.test: Likewise. + * tests/pr401c.test: Likewise. + * tests/remake-gnulib-add-acsubst.test: Likewise. + * tests/remake-gnulib-add-header.test: Likewise. + * tests/regex.test: Likewise. + * tests/repeated-options.test: Likewise. + * tests/silent.test: Likewise. + * tests/silent3.test: Likewise. + * tests/silent9.test: Likewise. + * tests/silent-lex-generic.test: Likewise. + * tests/silent-many-generic.test: Likewise. + * tests/silent-yacc-generic.test: Likewise. + * tests/specflg7.test: Likewise. + * tests/specflg9.test: Likewise. + * tests/specflg10.test: Likewise. + * tests/stdinc.test: Likewise. + * tests/strip.test: Likewise. + * tests/strip2.test: Likewise. + * tests/strip3.test: Likewise. + * tests/subdirbuiltsources.test: Likewise. + * tests/subobj3.test: Likewise. + * tests/subobj6.test: Likewise. + * tests/subobj11a.test: Likewise. + * tests/subpkg.test: Likewise. + * tests/subst2.test: Likewise. + * tests/subst3.test: Likewise. + * tests/substref.test: Likewise. + * tests/substre2.test: Likewise. + * tests/suffix5.test: Likewise. + * tests/suffix8.test: Likewise. + * tests/suffix10.test: Likewise. + * tests/suffix11.test: Likewise. + * tests/suffix12.test: Likewise. + * tests/suffix13.test: Likewise. + * tests/target-cflags.test: Likewise. + * tests/transform.test: Likewise. + * tests/transform2.test: Likewise. + * tests/yacc-basic.test: Likewise. + * tests/yacc-d-basic.test: Likewise. + * tests/yacc-clean.test: Likewise. + * tests/yacc-dist-nobuild.test: Likewise. + * tests/yacc-nodist.test: Likewise. + * tests/yaccvpath.test: Likewise. + * tests/yacc-d-vpath.test: Likewise. + * tests/yacc4.test: Likewise. + * tests/yacc7.test: Likewise. + * tests/yacc8.test: Likewise. + * tests/yaccdry.test: Likewise. + * tests/yflags-cmdline-override.test: Likewise. + * tests/yflags-force-override.test: Likewise. + * tests/python-virtualenv.test: Likewise. Also, improve skip + messages. + * tests/subobj5.test ($required): Add `cc'. + (Makefile.am): Set `AUTOMAKE_OPTIONS' to `subdir-objects', and + add new checking rules `test-build' and `test-distdir'. + Extend the test by building and examining the distdir, the + program, and the object files. + * tests/postproc.test ($required): Add `cc'. + Avoid the explicit `|| Exit $?' after call to configure, which + is now either redundant (e.g., when `am_explicit_skips' is + unset), or counter-productive (e.g., when `am_explicit_skips' + is set to "yes"). + * tests/pr243.test: Likewise. + * tests/pr266.test: Likewise. + * tests/pr220.test: Simplify so that it doesn't require a + C compiler anymore. + * tests/subdir5.test: Likewise. + * tests/subdir8.test: Likewise. + * tests/lflags.test: Likewise. + * tests/yflags.test: Likewise. + * tests/yflags-force-conditional.test: Likewise. + * tests/lflags2.test: Simplify so that it doesn't require a + C++ compiler anymore. + * tests/yflags2.test: Likewise. + * tests/autohdrdry.test (configure.in): Remove unneeded call + to `AC_PROG_CC'. + * tests/pr287.test: Likewise. + * tests/check6.test: Likewise. + * tests/cond21.test: Likewise, plus some cosmetic adjustments. + * tests/upc.test: Skip if configure fails with status `77'. + * tests/upc3.test: Likewise. + * tests/vala4.test: Likewise. + * tests/nostdinc.test: Likewise. Also, make grepping checks + on `Makefile.in'. Update heading comments. + * tests/compile5.test: When we must skip, skip explicitly, + and with a meaningful message. + * tests/instspc-tests.sh: When running in "test-build" or + "test-install" mode (as determined by the value of variable + `$instspc_action'), require `cc'. Adjust comments. + * tests/depmod-tests.sh: Likewise. + +2011-05-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: allow user to ask for stricter skip semantics + Given how the Automake testsuite is currently structured, if a + command in a test script fails with status `77', the global test + outcome is considered a SKIP, because the value of `77' for `$?' + is passed to the exit trap. Indeed, this happens in practice, as + an autoconf-generated configure script can exit with status `77' + if it fails to find, e.g., a required compiler. + While this behaviour is quite useful for avoiding spurious test + failures in the wild, it can also sometimes prevent the Automake + developers to easily see and declare the requirements of their + tests. + This change introduces a new variable `am_explicit_skips', meant to + be user-overridable, and which, when set to a "true" value (i.e., + `yes' or `1'), require a direct call to `Exit 77' in order to make + the test outcome be considered a SKIP. + * tests/defs.in ($am__test_skipped): New variable, initialized + to `no'. + (Exit): Set `$am__test_skipped' to `yes' if passed an exit status + of 77. + (trap '...' 0): When `$am_explicit_skips' is set to a "true" value, + reset an exit status of `77' to `78' if $am__test_skipped is not + set to `yes'. + * tests/self-check-exit.test: Adjust: unset `am_explicit_skips'. + * tests/self-check-explicit-skips.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-05-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: user can force skipping of compiler-requiring tests + * tests/defs (cc, c++, fortran, fortran77): Skip the test if + the relevant compiler is disabled by having the corresponding + variable (CC, CXX, FC and F77, respectively) set to "false". + (yacc): For consistency, skip the test when the YACC variable + is set to "false", not when it's set to "no". Since we are at + it, fix the skip message to be shorter and more consistent. + +2011-05-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: tweak and improve tests on "Simple Tests" driver + * tests/check.test: Make grepping of generated Makefile.in + slightly stricter. Add trailing `:' command. + * tests/check2.test: Ensure verbose printing of captured make + output. Make grepping of generated Makefile.in and of make + output stricter. Add trailing `:' command. + * tests/check3.test: Likewise. Also, fix minor error in a + comment. + * tests/check4.test: Stricter grepping of make output. Use + `using_gmake' subroutine instead of copy&paste from defs.in + to determine whether $MAKE is GNU make. Add a trailing `:' + command. + * tests/check6.test: Add trailing `:' command. + * tests/check10.test: Prefer redirection `>' over `>>' when + creating new files. Ensure verbose printing of captured make + output. + * tests/check11.test: Likewise. + * tests/check7.test: Likewise. Make grepping of make output + stricter. Prefer "make distcheck" over a simple "make check" + in a VPATH build. Add trailing `:' command. + (a.c): Format following GNU coding standards. + (Makefile.am): Explicitly declare target `print-xfail-tests' + as PHONY. Distribute $(check_SCRIPTS), for distcheck. + * tests/parallel-tests.test: Prefer redirection `>' over `>>' + when creating new files. + * tests/parallel-tests2.test: Likewise. + * tests/parallel-tests9.test: Likewise. + * tests/parallel-tests8.test: Likewise. Make grepping of + automake stderr stricter. + * tests/check8.test: Likewise. Make formatting of created + *.c files more consistent with GNU Coding Standards. + * tests/check-subst-prog.test (configure.in): Break overly + long lines. + (pass-prog.c, xfail-prog.c): Format them more consistently + with GNU Coding Standards. + * tests/parallel-tests3.test: Use a shorter and clearer skip + message. Use the `unindent' subroutine to improve readability + of indented loop bodies. Simplify the hack used to please + maintainer-check. + * tests/parallel-tests5.test: Make formatting of created *.c + files more consistent with GNU Coding Standards. Use the + `unindent' subroutine to improve readability of indented loop + bodies. + * tests/parallel-tests10.test: Add blank line, for clarity. + Prefer trailing `:' over trailing `Exit 0', for consistency + with other tests. + +2011-05-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests/README: small consistency improvement + * tests/README (Section "User interface" subsection "Running the + tests"): In examples, be more consistent w.r.t. the differences + between GNU and non-GNU make. + +2011-05-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests/README: suggest how to run tests in cross-compile mode + * tests/README (Section "User interface" subsection "Running the + tests"): Briefly explain how to override 'host_alias' at runtime + to force the use of cross-compilers by the testsuite. Give an + example. + +2011-05-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: better detection of cross-compile mode + * configure.ac (AC_CANONICAL_HOST): New, probably not strictly + necessary, but useful to complements AC_CANONICAL_BUILD. + * tests/defs-static.in ($host_alias, $build_alias): New variables, + exported, user-overridable, defaults AC_SUBST'd by configure. + * tests/defs (cross_compiling): Consider cross-compilation mode + active only if `$host_alias' is not empty *and* it differs from + `$build_alias'. This is more faithful to the way configure + determines whether it is cross-compiling, but still allows the + user to easily force cross-compilation by overriding `host_alias' + and `build_alias' at runtime. + From a report by Ralf Wildenhues. + +2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: avoid re-running few tests with 'parallel-tests' option + Some tests in our testsuite use the 'simple-tests' driver only + marginally, or simply as a mean to conveniently check unrelated + invariants. It makes little sense to force these tests to also + run with the 'parallel-tests' Automake option active, as doing so + offers no real gain in coverage, while often causing a measurable + overhead in execution time (for an already too-slow testsuite). + * tests/pr401.test (parallel_tests): Define to "no", to prevent + the generation of a sibling test script using the 'parallel-tests' + driver. + * tests/pr401b.test: Likewise. + * tests/pr401c.test: Likewise. + * tests/java-flat.test: Likewise, and properly update heading + comments. + * tests/java-nested.test: Likewise, but defining `parallel_tests' + to "yes" instead, for improved coverage in conjunction with the + sister test `java-flat.test'. + +2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: allow tests to avoid the use of 'parallel-tests' option + * tests/gen-parallel-tests: Do not generate "siblings" for tests + that explicitly define the `parallel_tests', whether to "yes" or + to any other value. Extend heading comments to give a rationale + for this behaviour. + * tests/README: Update. + +2011-05-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests/README: update obsoleted advice + * tests/README (Section "Writing test cases" subsection "Do"): + Do not suggest to use the `*-p.test' pattern for the names of + hand-written tests which use the `parallel-tests' Automake option. + Not only is this not respected by the existing tests, but it is + more likely to cause conflicts with auto-generated tests. + So, suggest to *avoid* using the `*-p.test' pattern in names + of hand-written tests instead. + (Section "Writing test cases" subsection "Do not"): When + suggesting not to override Makefile variables using command + line arguments, do not use the badly outdated variables `U' + and 'ANSI2KNR' in the example; instead, use the more common + and typical `DESTDIR'. + +2011-05-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: avoid spurious failures in cross-compile mode + * tests/depcomp2.test: Ensure verbose printing of captured stderr + from configure. + * tests/ansi3.test ($required): Add 'native', as the ansi2knr + functionality is not meant to work with a cross-compiler. + * tests/ansi3b.test: Likewise. + * tests/ansi5.test: Likewise. + * tests/ansi6.test: Likewise. + * tests/ansi7.test: Likewise. + * tests/ansi8.test: Likewise. + * tests/ansi10.test: Likewise. + * tests/subobj3.test: Likewise. + * tests/check8.test ($required): Add 'native', as this test is + not meant to work with a cross-compiler. + * tests/gnits2.test: Likewise. + * tests/ltconv.test: Likewise. + * tests/ltcond2.test: Likewise. + * tests/parallel-tests5.test: Likewise. + * tests/specflg7.test: Likewise. + * tests/specflg8.test: Likewise. + * tests/check5.test: Likewise. Also, ensure verbose printing of + captured make output, and thrown in few cosmetic and consistency + improvements. + * tests/ltinit.test: Be laxer in grepping configure output, to + avoid spurious failures on systems which lack POSIX dynamic + linking (e.g., MinGW), or when cross-compiling for such systems. + * tests/ansi9.test: Skip parts of the test that would require a + native compiler. + * tests/backcompat6.test: Likewise. + * tests/depcomp8a.test: Likewise. + * tests/pr401.test: Likewise. + * tests/pr401b.test: Likewise. + * tests/pr401c.test: Likewise. + * tests/target-cflags.test: Likewise. + * tests/lex3.test: Likewise. + * tests/yacc-basic.test: Likewise. + * tests/autohdr4.test: Likewise. Also, extend the test to ensure + more coverage in cross-compile mode. + * tests/canon7.test: Likewise. + * tests/check9.test: Removed, split into two new tests ... + * tests/check-subst-prog.test: ... this one, which requires a + native C compiler ... + * tests/check-subst.test: ... and this one, which doesn't require + any compiler. + * tests/parallel-tests4.test: Removed, split into two new tests ... + * tests/parallel-tests-suffix-prog.test: ... this one, which + requires a native C compiler ... + * tests/parallel-tests-suffix.test: ... and this one, which + doesn't require any compiler. + * tests/parallel-tests7.test: Removed, split into two new tests ... + * tests/parallel-tests-ext-driver-prog.test: ... this one, which + requires a native C compiler ... + * tests/parallel-tests-ext-driver.test: ... and this one, which + doesn't require any compiler. + * tests/Makefile.am (TESTS): Update. + +2011-05-19 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: rename requirement 'non-cross' -> 'native' + * tests/defs.in (non-cross): Rename requirement ... + (native): ... to this, which is clearer and fits the + existing lingo better. + Suggestion by Ralf Wildenhues. + +2011-05-15 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: be more cross-compile friendly + * tests/defs.in (cross_compiling): New subroutine. + (am__tool_prefix): New internal variable. + (gcc, g++, gcj): Force the use of the correct "tool prefix" + when cross compiling. + (gfortran, g77, non-cross): New requirements. + +2011-05-15 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix portability issues in 'repeated-options.test' + * tests/repeated-options.test: Do not assume that object files + have `.o' suffix and executables have no default suffix; instead, + use `$(OBJEXT)' and `$(EXEEXT)'. + +2011-05-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + check: document and test $(TEST_SUITE_LOG) overriding + * doc/automake.texi (Simple Tests using parallel-tests): Explain + how and why TEST_SUITE_LOG can be overridden at runtime. + * tests/parallel-tests-log-override-1.test: New test, check that + the newly documented idiom and similar usages are truly supported. + * tests/parallel-tests-log-override-2.test: Likewise. + * tests/parallel-tests-log-override-recheck.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure of extradep.test on FreeBSD + * tests/extradep.test: When using `ls -t' to determine whether a + file has been updated, make sure to use as reference a file whose + timestamp is expected to be *strictly* older that that of the file + being checked. This is required because at least FreeBSD `ls' do + not sort files with the same timestamp in alphabetical order when + using the `-t' option. + * tests/extradep2.test: Likewise. + +2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure of txinfo21.test on FreeBSD + * tests/txinfo21.test: Use the `is_newest' subroutine instead of + the `ls -t' hack to to determine whether a file has been updated. + This is required because at least FreeBSD `ls' do not sort files + with the same timestamp in alphabetical order when using the `-t' + option. + +2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix syntax error in 'silentcxx-gcc.test' + * tests/silentcxx-gcc.test (for config_args in ...): Remove extra + trailing backslash from the list of looped-on items. + +2011-05-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + depmod tests: fix bug in depmodes list extraction + * tests/depmod-tests.sh (get_depmodes): Use `echo $all_depmodes' + instead of `... | tr "$nl" "$sp"' to strip extra whitespaces and + newlines from `$all_depmodes'. The latter idiom with `tr' is + wrong since it gets run before `./defs' is sourced, and thus `$nl' + and `$sp' are undefined. + Bug revealad by FreeBSD tr(1) implementation, which doesn't accept + empty strings as arguments. + +2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests defs: use `skip_' for skipping java-related tests + * tests/defs.in (java, javac): Use `skip_' to signal test + skipping. + +2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: add excerpts from few original bug reports, for clarity. + * tests/comment6.test: Add excerpts and/or details from the + original bug report that prompted this tests to be added and/or + extended. + * tests/dejagnu4.test: Likewise. + * tests/installdir.test: Likewise. + +2011-05-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + lex: "make clean" removes .c files from non-distributed .l + Previously, while automake did *not* distribute C source and header + files derived from non-distributed Lex sources, it still caused + them to be removed only by "make maintainer-clean" only, and not by + simply "make clean" or "make distclean". + This caused "make distcheck" to fail, unless the developer put + those generated .c files in CLEANFILES or in DISTCLEANFILES by + hand. + This change fixes this issue, by making non-distributed `.c' files + generated by non-distributed Lex sources cleaned by "make clean". + A similar problem for Yacc support had been fixed with the commit + v1.11-263-ged2c8bc. + * tests/automake.in (lang_lex_target_hook): Make C source files + derived from non-distributed Lex files cleaned by "make clean", + not only by "make maintainer-clean". + * tests/lex-clean.test: New test. + * tests/lex-clean-cxx.test: Likewise. + * tests/lex-nodist.test: Likewise. + * tests/lex-pr204.test: Likewise. + * tests/pr204.test: For consistency, renamed ... + * tests/yacc-pr204.test: ... to this, and updated to keep it + more in sync with 'lex-pr204.test'. + * tests/yacc-nodist.test: Updated to keep it more in sync with + 'lex-nodist.test'. + * tests/Makefile.am (TESTS): Update. + * NEWS: Update. + +2011-05-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + lex tests: make test on Lex dependency tracking more "semantic" + * tests/lex4.test: Renamed ... + * tests/lex-depend-grep.test: ... to this, and extended. + * tests/lex-depend.test, tests/lex-depend-cxx.test: ... these + new tests. + * tests/Makefile.am (TESTS): Update. + +2011-05-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + lex tests: remove erroneous check about ylwrap distribution + * tests/lex5.test: Do not check that the ylwrap script is *not* + distributed when there is only one lexer, as ylwrap is in fact + expected to distributed unconditionally (at least starting from + commit `Release-1-9-323-gc5881cc' of 19-08-2006). Note that this + bogus check wasn't triggering any failure because it was done at + the wrong time (i.e. from the VPATH build directory), so that it + could never fail anyway. + Instead, check that ylwrap is distributed even when there is only + one lexer. + Since we are at it, add a couple of `ls -l' calls, to get better + debugging info. + +2011-05-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc tests: "make clean" removes C++ files from non-distributed .y + * tests/yacc-clean-cxx.test: New test, sister of `yacc-clean.test'. + * tests/yacc-clean.test: Update heading comment to reference the + new sister test. + * tests/Makefile.am (TESTS): Update. + +2011-05-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: add a workaround for automake bug#8485 + * tests/yacc-d-cxx.test (Makefile.am): Add temporary workaround + for automake bug#8485. The bug is still exposed by the testcase + 'yacc-dist-nobuild-subdir.test'. + +2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: add a couple of inter-tests reference + * tests/yacc-nodist.test, tests/pr204.test: These tests are + related, so add references to each other in heading comments. + +2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + lex tests: require just `lex' instead of `flex' + * tests/lex-subobj-nodep.test ($required): Require `lex', + not `flex', as this test is expected to work with any lex + implementation. + * tests/silent-lex.test: Likewise. + +2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests defs: use `skip_' for skipping yacc/lex related tests + * tests/defs.in (lex, bison): Use `skip_' to signal test skipping. + +2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests defs: merge cleanup + * tests/defs.in (flex, bison): Requirements removed, we have real + `lex' and `yacc' requirements now. + +2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests defs: allow requirements for compilers (mostly dummy) + Most of the new requirements that are now accepted in `$required' + as consequence of this patch are still dummy. They are planned + to be implemented only in master (or in some derived branch), but + having them here (even just as no-op) will allow for an easier + integration/backporting of potential new testcases. + * tests/defs.in (cc, c++, fortran, fortran77): New requirements, + still dummy. + (flex): New requirement, picking LEX for configure. + (lex): New requirement, alias for `flex'. A more appropriate + implementation, looking for a generic `lex' program, will follow + in the future. + +2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: 'silent-many-gcc.test' improved and made more robust + * tests/silent-many-gcc.test: Also force "fast" gcc depmode + for C++ compilations. Add sanity checks verifying that the + cache variables we force are really used by configure. Fix + typo in comments. + +2011-05-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: drop useless requirements of 'g++' + * tests/lflags2.test ($required): Remove 'g++', as any working + C++ compiler should be enough, and ./configure will cause the + test to skip if no working C++ compiler is found. + * tests/yflags2.test: Likewise. + * tests/subobj9.test: Likewise. + * tests/silentcxx.test: Likewise. Also, do not force depmodes + that could cause non-GNU C++ compilers to fail. + * tests/silentcxx-gcc.test: New test, like `silentcxx.test', + but forcing "fast" gcc depmode (and thus requiring the GNU C++ + compiler). + * tests/specflg10.test: Add proper "fixme" comment telling that + we should make this test work with a generic C++ compiler. + * tests/Makefile.am (TESTS): Update. + +2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests defs: one more environment sanitization (corner case) + * tests/defs (am__using_gmake): Initialize. The `using_gmake' + subroutine was using this variable for caching, but wasn't + initializing it, which could cause problems in the (admittedly + very unlikely) case in which it was pre-existent in the + environment. + +2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: add forgotten test scripts to $(TESTS) + * tests/Makefile.am (TESTS): Added test scripts man[678].test, + which have been present on the filesystem and in the repository, + but which had erroneously been left out from $(TESTS). + +2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: ensure verbose printing of captured make output + * tests/libtool7.test: Ensure verbose printing of captured + make output. + * tests/libtool9.test: Likewise. + +2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintcheck: consistency of list of test scripts + * CheckListOfTests.am: New file. + (maintainer-check-list-of-tests): New target, + check for consistency between list of tests defined in the + including Makefile and list of tests on the filesystem. + (clean-maintcheck-testslist-tmp): New rule, to clean up the + temporary files that might be left around by the rules associated + with the previous target. + (clean-local): Depend on it. + * lib/Automake/tests/Makefile.am: Include `CheckListOfTests.am'. + (maintainer-check): Added dependency from the new target + `maintainer-check-list-of-tests'. + * tests/Makefile.am: Likewise. Also ... + (checked_test_extensions): Define to `.test'. + (expected_test_list): Define properly. + * Makefile.am (maintainer-check-list-of-test): New target, + calling recursively into `tests/' and `lib/Automake/tests/', + using ... + (TEST_SUBDIRS): ... this new variable. + +2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: drop useless requirements of gcc (plus testsuite tweakings) + * tests/libobj14.test ($required): Remove 'gcc', as we never run + the C compiler. + * tests/targetclash.test: Likewise. + * tests/ansi6.test ($required): Remove 'gcc', as any working + C compiler should be enough. + * tests/ansi7.test: Likewise. + * tests/ansi9.test: Likewise. + * tests/ansi10.test: Likewise. + * tests/lex5.test: Likewise. + * tests/lexvpath.test: Likewise. + * tests/mmodely.test: Likewise. + * tests/pr204.test: Likewise. + * tests/pr300-lib.test: Likewise. + * tests/pr300-prog.test: Likewise. + * tests/primary3.test: Likewise. + * tests/specflg7.test: Likewise. + * tests/specflg8.test: Likewise. + * tests/subdir5.test: Likewise. + * tests/subdir8.test: Likewise. + * tests/subobj6.test: Likewise. + * tests/subst3.test: Likewise. + * tests/substre2.test: Likewise. + * tests/yacc6.test: Likewise. + * tests/yacc8.test: Likewise. + * tests/depcomp2.test: Likewise. Also, avoid clobbering user-set + CFLAGS. + * tests/lex3.test: Likewise. + * tests/ansi3.test: Likewise. Also, avoid 'CC=gcc' in configure. + * tests/ansi3b.test: Likewise. + * tests/ansi5.test: Likewise. + * tests/autohdr4.test ($required): Remove 'gcc', as any working + C compiler should be enough. + Also, do not reject slow dependency extractors (which we might + be forced to use now that $CC is not necessarily gcc anymore). + * tests/cond16.test ($required): Remove 'gcc', as any working + C compiler should be enough. + Since we are at it, throw in few minor tweakings (mostly cosmetic, + stylistic, or consistency-related). + * tests/cond18.test: Likewise. + * tests/cond35.test: Likewise. + * tests/gnits2.test: Likewise. + * tests/libtool3.test: Likewise. + * tests/libtool7.test: Likewise. + * tests/libtool9.test: Likewise. + * tests/ltcond.test: Likewise. + * tests/ltcond2.test: Likewise. + * tests/ltconv.test: Likewise. + * tests/ltlibsrc.test: Likewise. + * tests/nobase.test: Likewise. + * tests/nobase-libtool.test: Likewise. + * tests/pr220.test: Likewise. + * tests/pr224.test: Likewise. + * tests/pr300-ltlib.test: Likewise. + * tests/pr401.test: Likewise. + * tests/pr401b.test: Likewise. + * tests/pr401c.test: Likewise. + * tests/subpkg.test: Likewise. + * tests/target-cflags.test: Likewise. + * tests/transform.test: Likewise. + * tests/yacc4.test: Likewise. + * tests/cond19.test: Likewise. Also, avoid clobbering user-set + CFLAGS. + * tests/cond4.test: Likewise. + * tests/depend2.test: Likewise. + * tests/pr87.test: Likewise. + * tests/subobj3.test: Likewise. + * tests/substref.test: Likewise. + +2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: increase coverage w.r.t. GNU make + * tests/defs (GNUmake): Instead of just skipping the tests + requiring GNU make if $MAKE is not GNU make, try to look for + it and, if found, redefine $MAKE accordingly. This will help + to transparently increase coverage on non-GNU systems which + have GNU make available in PATH. + +2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: improve few inter-tests references + * tests/acloca22.test: Improve and extend the heading comments. + Add reference to related tests 'remake-deleted-m4-file.test' and + 'remake-renamed-m4-macro-and-file.test'. Since we are at it, + add trailing `:' command, and few blank lines for readability. + * tests/remake-renamed-m4-macro-and-file.test: In the heading + comments, add reference to the related test 'acloca22.test'. + +2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure in 'color2.test' + * tests/color2.test: If $MAKE contains command-line arguments (as + in e.g., "make -j2"), expect's directive "spawn $env(MAKE)" fails + spuriously, because it tries to run "$MAKE" as a single command. + Fix this with proper uses of the TCL `eval' builtin. + +2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: few more checks on automatic remake support + * tests/remake-all-1.test: New test, check that the "all" target + triggers rebuilt of outdated Makefiles. + * tests/remake-all-2.test: Likewise, but for when the makefiles + are not named `Makefile'. + * tests/Makefile.am (TESTS): Update. + +2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: check some remake features with non-GNU make too + * tests/acloca14.test ($required): Drop "GNUmake". This test + works as-is with non-GNU make implementations. + * tests/remake1a.test: Likewise. + * tests/aclocal4.test ($required): Drop "GNUmake". + Modify the test to have it work also with non-GNU make. + * tests/remake5.test: Likewise. + * tests/remake8a.test: Likewise. + * tests/remake8b.test: Likewise. + * tests/remake9a.test: Likewise. + * tests/remake9b.test: Likewise. + * tests/remake9c.test: Likewise. + * tests/remake9d.test: Likewise. + * tests/remake10a.test: Likewise. + * tests/remake10b.test: Likewise. + * tests/remake10c.test: Likewise. + * tests/remake12.test: ($required): Drop "GNUmake". + Adapt the test to make it work also with non-GNU make (if + it supports an "include" directive). + +2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: extend tests on dependency tracking with VPATH + * tests/depmod-tests.sh: New script, fulfilling a threefold role: + 1. it is called to generate a Makefile.am snippet, containing the + definition of proper lists of tests; + 2. it is called to set up a directory containing some common data + files and autotools-generated files used by the aforementioned + tests (this is done for speed reasons only); and + 3. it is called to properly run those tests, one at a time. + * tests/depcomp9.test: Delete, it's obsolete now. + * tests/depcomp10.test: Likewise. + * tests/Makefile.am ($(srcdir)/depmod-tests.am): Include this + snippet, which defines ... + (depmode_tests): ... this new macro, containing the list of the + newly generated `*.depmod' tests. + (TESTS_EXTENSIONS): Add `.depmod'. + (DEPMOD_LOG_COMPILER): Define. It calls `depmod-tests.sh', so that + the "depmode tests" will be executed by passing that driver script + a proper parameter. + ($(depmod_tests)): New dependency declaration (dummy, but required + in order to have make actually produce expected log files from the + `.depmod.log' suffix rule). + (TESTS): Add $(depmod_tests). + (EXTRA_DIST): Distribute depmod-tests.sh. + Other minor cosmetic changes and reorderings. + * bootstrap: Generate depmod-tests.am. + * tests/.gitignore: Updated. + +2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: avoid extra test generation (for `instspc' tests) + We don't really need to generate tons and tons of wrapper test + scripts (presently, ~ 90) just to run what is basically a single + test (specifically, `instspc-tests.sh') with different parameters. + In fact, the possibility of running a single driver script with + multiple files/configurations/parameters is one of the major + selling points of the 'parallel-tests' testsuite driver of + automake. So why not use ourselves more extensively the best + features we provide? + * tests/instspc-tests.sh: Update heading comments. Expect + to be executed, not sourced. Update handling of command-line + arguments. Adjust to reflect the renaming of "instspc tests" + from `instspc-*.test' to `*.instspc'. + * tests/instspc-data.test: Update heading comments. Execute + driver script `instspc-tests.sh', instead of sourcing it. + Give more informative messages in case of internal errors. + * tests/Makefile.am (TESTS_EXTENSIONS): Define explicitly (to + `.test' and `.instspc'). + (TESTS): Add `$(instspc_tests)'. + (generated_tests): Remove `$(instspc_tests)'. + (INSTSPC_LOG_COMPILER): Define. Calls `instspc-tests.sh', so + that the "instspc tests" will be now executed by passing that + driver script a proper parameter. + ($(instspc_tests)): Remove, we don't need anymore to generate + this tests. + ($(instspc_tests:.test=.log)): Remove, substituted by ... + ($(instspc_tests:.instspc=.log)): ... this. + ($(instspc_tests)): New dependency declaration (dummy, but + required in order to have make actually produce expected log + files from the `.instspc.log' suffix rule). + (MAINTAINERCLEANFILES, generated_tests): Don't extend with + $(instspc_tests) anymore. + Update comments. + +2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + build: improve the definition of the list of testcases + * tests/Makefile.am (handwritten_tests): New variable. + (generated_tests): Likewise. + (TESTS): Redefine as the union of the above. + (EXTRA_DIST): Extend using $(handwritten_tests) and + $(generated_tests) rather than $(TESTS). + * tests/gen-parallel-tests: Update accordingly, and + make more robust. + +2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests skips: shorter and clearer messages + * tests/defs: Use shorter messages when giving reasons for test + skipping; it turns out these shorter messages are also clearer. + If more info might be useful, send them to the log file only. + +2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix self check spurious failure with older bash versions + * tests/self-check-cleanup.test: Add trailing `:' to the test code + passed to $SHELL, otherwise older versions of bash (at least 2.05 + and 3.2.39) fail to correctly remove the temporary directory in + the exit trap. + +2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: add sanity check to 'self-check-cleanup.test' + * tests/self-check-cleanup.test: Check that the "hacked" file + `defs-static' used by the test differs from the "vanilla" one + in builddir. This also offers a little more debugging output. + +2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: display reasons for skips to the console + * tests/Makefile.am (AM_TESTS_ENVIRONMENT): Open file descriptor + `9' to the original stderr; define `stderr_fileno_' to `9', and + export it. + * tests/self-check-report.test: Prevent new spurious failures by + removing from the environment any definition of `stderr_fileno_'. + +2011-05-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: use `skip_' for skipping of tests + * tests/defs: Use the `skip_' subroutine for test skipping. Also + give sometimes more detailed messages about the reasons for the + skipping. + * tests/canon7.test: Likewise. + * tests/color.test: Likewise. + * tests/color2.test: Likewise. + * tests/compile2.test: Likewise. + * tests/dejagnu7.test: Likewise. + * tests/depcomp6.test: Likewise. + * tests/depcomp9.test: Likewise. + * tests/depcomp10.test: Likewise. + * tests/distlinks.test: Likewise. + * tests/distlinksbrk.test: Likewise. + * tests/fn99.test: Likewise. + * tests/fn99subdir.test: Likewise. + * tests/forcemiss2.test: Likewise. + * tests/fort5.test: Likewise. + * tests/gettext3.test: Likewise. + * tests/install2.test: Likewise. + * tests/instfail-info.test: Likewise. + * tests/instfail-java.test: Likewise. + * tests/instfail-libtool.test: Likewise. + * tests/instfail.test: Likewise. + * tests/instmany-mans.test: Likewise. + * tests/instmany-python.test: Likewise. + * tests/instmany.test: Likewise. + * tests/instsh3.test: Likewise. + * tests/ltinit.test: Likewise. + * tests/makej2.test: Likewise. + * tests/mdate6.test: Likewise. + * tests/mkinst3.test: Likewise. + * tests/parallel-tests3.test: Likewise. + * tests/parallel-tests-reset-term.test: Likewise. + * tests/parallel-tests-unreadable-log.test: Likewise, + * tests/python-virtualenv.test: Likewise. + * tests/remake-gnulib-remove-header.test: Likewise. + * tests/subobj9.test: Likewise. + * tests/symlink2.test: Likewise. + * tests/tar.test: Likewise. + * tests/tar2.test: Likewise. + * tests/txinfo26.test: Likewise. + * tests/vala2.test: Likewise. + * tests/vala3.test: Likewise. + * tests/vala5.test: Likewise. + * tests/vtexi4.test: Likewise. + * tests/instdir-texi.test: Likewise. + * tests/txinfo21.test: Likewise. + +2011-04-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: more environment sanitization + * tests/defs: Move the checks verifying that the variables `me', + `parallel_tests' and `required' aren't set in the environment ... + * tests/defs-static.in: ... in here, with some optimizations to + avoid useless forks. Also, do the same checks for the variables + `original_AUTOMAKE' and `original_ACLOCAL' too. + * tests/self-check-env-sanitize.test: Update. + * tests/Makefile.am (TESTS_ENVIRONMENT): Unset also variables + `original_AUTOMAKE' and `original_ACLOCAL'. + +2011-04-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure (non-renamed AM_TESTS_SETUP usage) + * tests/parallel-tests-reset-term.test: Use AM_TESTS_ENVIRONMENT + instead of AM_TESTS_SETUP (which has been removed in commit + v1.11-349-g12f48fa). + Fix spurious failure introduced by merge `v1.11-781-gfeed175'. + +2011-04-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure in a test on TESTS (VPATH-related) + * tests/check-tests-in-builddir.test: When not using the + parallel-tests option, do not check that VPATH components are + not present in the displayed test name, since the simple-tests + driver do not try to strip them. + +2011-04-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure in self-check-env-sanitize.test + * tests/self-check-env-sanitize.test: Open file descriptor `5' + to stdout. + Fix spurious failure introduced by merge `v1.11-788-g3b0c8d5'. + +2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + test: self check subroutines for skipping/failing of tests + * tests/self-check-report.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-04-23 Jim Meyering <meyering@redhat.com> + Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: new subroutines for test skipping/failing + * tests/defs.in (Exit): Move definition of this function earlier. + (warn_, skip_, fail_, framework_failure_): New functions, inspired + to the homonyms in gnulib's tests/init.sh. + ($stderr_fileno_): New global variable, used by the new functions + above. + * tests/README: Updated. + From a suggestion by Ralf Wildenhues. + +2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix typo (copy & paste blunder) in heading comment + * tests/maintclean-vpath.test: Correctly refer to the sister test + as `maintclean.test', not as `maintclean-vpath.test'. + +2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove redundant test `mclean.test' + * tests/mclean.test: Remove, it's a weak grepping test completely + superseded by the much more complete `maintclean.test'. + * tests/Makefile.am (TESTS): Update. + +2011-05-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + java tests: use $PATH_SEPARATOR where appropriate + * tests/java-compile-run-nested.test: Use `$PATH_SEPARATOR', not + `:', to separate entries of extended PATH and CLASSPATH variables. + * tests/java-compile-run-flat.test: Likewise. + +2011-04-26 Stefano Lattarini <stefano.lattarini@gmail.com> + + java coverage: test JAVACFLAGS and AM_JAVACFLAGS + * tests/javaflags.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-04-26 Stefano Lattarini <stefano.lattarini@gmail.com> + + java coverage: test rebuild rules for java + * tests/java-rebuild.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-04-26 Stefano Lattarini <stefano.lattarini@gmail.com> + + java coverage: try to build and run a java program + * tests/java-compile-run-flat.test: New test, try to build and run + a "UNIX-style" java program (complete with wrapper shell script + and the like) with a "flat" source-tree setup (i.e., everything in + the top-level directory). + * tests/java-compile-nested.test: Likewise, but using a more + typical "nested" source-tree setup. + * tests/Makefile.am (TESTS): Update. + +2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: new requirement for the default java interpreter + * tests/defs.in (for tool in $required): New requirement 'java'. + +2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + java tests: tweak and make stricter a couple of tests + * tests/javasubst.test: Use proper m4 quoting. Add trailing `:' + command. Enable `errexit' shell flag, and related changes. + Prefer cat + here-doc over echo to append to configure.in. + Make grepping of Makefile.in stricter. Add debugging output. + Improve heading comments. + * tests/javaprim.test: Likewise. + +2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + java coverage: add test on uninstall with JAVA primary + * tests/java-uninstall.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + java tests: require java compiler more properly + * tests/java-extra.test: Use "required=javac" instead of ad-hoc + configure check. + * tests/java-noinst.test: Likewise. + +2011-04-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + java: allow both JAVA and nobase_JAVA in the same Makefile.am + * automake.in (handle_java): Also strip `nobase_' from the given + prefix, when needed. + * tests/java-clean.test: Update and extend. + * tests/java-compile-install.test: Likewise. + * tests/java-no-duplicate.test: Likewise. + * tests/java-sources.test: Likewise. + * tests/java-noinst.test: Likewise. + * tests/java-mix-dist-nodist.test: Renamed to ... + * tests/java-mix.test: ... this, and extended. + * tests/java-nobase.test: New test, still xfailing due to + unrelated issues. + * tests/Makefile.am (TESTS, XFAIL_TESTS): Update. + +2011-04-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + testsuite: more environment sanitization + * tests/defs.in: Sanity check: abort if any of `parallel_tests' + or `required' is in the environment. + ($sed_unindent_prog): Initialize to empty, to avoid interferences + from the environment. + * tests/self-check-me-in-env.test: Renamed to ... + * tests/self-check-env-sanitize.test: ... this, and extended. + * tests/Makefile.am (TESTS): Update. + (TESTS_ENVIRONMENT): Unset variables `parallel_tests' and + `required'. Adjust comments. + +2011-04-19 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: in self-checks, use $SHELL, not /bin/sh + * tests/self-check-me-in-env.test: Include `./defs-static' to get + the definition of `$SHELL'. Use `$SHELL' instead of `/bin/sh' to + execute the tests. + +2011-04-19 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: prefer AM_TESTS_ENVIRONMENT to TESTS_ENVIRONMENT + * tests/Makefile.am (TESTS_ENVIRONMENT): Renamed to ... + (AM_TESTS_ENVIRONMENT): ... this. + +2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: don't allow `$me' to be overridden from the environment + * tests/defs.in: Sanity check: abort if $me is in the environment. + * tests/self-check-me-in-env.test: New test. + * tests/Makefile.am (TESTS_ENVIRONMENT): Unset variable `me'. + (TESTS): Update. + Suggestion by Ralf Wildenhues. + +2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + check: rename AM_TESTS_SETUP -> AM_TESTS_ENVIRONMENT + The AM_TESTS_SETUP naming was not a good one after all. It may + be technically more correct than AM_TESTS_ENVIRONMENT, but the + latter is a better one simply because it is easier to remember, + and even if you've never heard of it and only know the semantics + of TESTS_ENVIRONMENT, you can have a straightforward way to + figure out how AM_TESTS_ENVIRONMENT would work. + * tests/check.am (am__check_pre): Update. + * doc/automake.in (Simple Tests using parallel-tests): Update. + * tests/parallel-tests-am_tests_setup.test: Renamed ... + * tests/parallel-tests-am_tests_environment.test: ... to this, + and updated. + * tests/Makefile.am (TESTS): Update. + Suggestion and motivation by Ralf Wildenhues. + +2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: allow overriding of `$me' + * tests/defs.in ($me): Allow overriding by the including test + script. Add some explicative comments. + +2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: more tests on the parallel-tests driver + * tests/parallel-tests-interrupt.test: New test. + * tests/parallel-tests-reset-term.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + check: new developer-reserved AM_TESTS_SETUP variable + For reference, see the discussion at: + <http://lists.gnu.org/archive/html/automake-patches/2011-01/msg00213.html> + * lib/am/check.am [%?PARALLEL_TESTS%] (am__check_pre): Pass also + $(AM_TESTS_SETUP). Comments updated, and some typos fixed. + * doc/automake.texi (Simple Tests using parallel-tests): Document + AM_TESTS_SETUP. Reorder some of the existing documentation a bit. + * tests/parallel-tests-am_tests_setup.test: New test. + From a suggestion by Ralf Wildenhues. + +2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + depcomp tests: don't reject slower dependency extractors + * tests/depcomp8b.test: Add the `--enable-dependency-tracking' + option to `configure' invocations, so that slower dependency + extractors are not rejected. + * tests/depcomp8a.test: Likewise. Also ... + (foo.c): ... since we are at it, fix spacing to be consistent + with GNU coding standards. + +2011-04-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + m4: add missing serial numbers to a few files + Fixes automake bug#8483. + * m4/amversion.in: Add serial number. + * m4/auxdir.m4: Likewise. + * m4/gcj.m4: Likewise. + * m4/install-sh.m4: Likewise. + * m4/mkdirp.m4: Likewise. + * m4/python.m4: Likewise. + * m4/runlog.m4: Likewise. + * m4/strip.m4: Likewise. + * m4/upc.m4: Likewise. + +2011-04-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix few bugs in self checks + Related to automake bug#8508. + * tests/self-check-cleanup.test: Be laxer when grepping output + from `ls -l', to account for ACLs and SELinux-only files. + * tests/self-check-dir.test: Source `defs-static' to read in the + correct definition for $SHELL. + * tests/self-check-me.test: Likewise, and extend a bit. + Report from Jim Meyering. + +2011-04-16 Jim Meyering <meyering@redhat.com> + + depcomp: correct invalid sed invocation + * lib/depcomp: Insert missing -e before '/:$/d'. + Otherwise, that use of sed would treat '/:$/d' as a file name. + +2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + maintainer check: quote literal `$' in Makefile rule + * Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$' + character in double-quoted string. Fix a bug in which the rule + emitted an erroneously empty substring in its error message. + +2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix typo in python5b.test + * tests/python5b.test: Remove extra `:' from $PATH redefinition. + +2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + lex/yacc tests: remove redundant $distdir definition + * tests/lex3.test ($distdir): Remove definition, that's already + done in `tests/defs'. + * tests/lexvpath.test: Likewise. + * tests/yacc-basic.test: Likewise. + * tests/yacc-cxx.test: Likewise. + * tests/yacc-d-basic.test: Likewise. + * tests/yacc-d-cxx.test: Likewise. + * tests/yacc-d-vpath.test: Likewise. + * tests/yacc-dist-nobuild-subdir.test: Likewise. + * tests/yacc-dist-nobuild.test: Likewise. + * tests/yacc-mix-c-cxx.test: Likewise. + * tests/yaccvpath.test: Likewise. + +2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove redundant settings of `errexit' shell flag + * tests/autodist-acconfig.test: Do not set the `errexit' + shell flag, as it is already set by `tests/defs'. + * tests/autodist-acconfig-no-subdir.test: Likewise. + * tests/autodist-aclocal-m4.test: Likewise. + * tests/autodist-config-headers.test: Likewise. + * tests/autodist-configure-no-subdir.test: Likewise. + * tests/autodist-stamp-vti.test: Likewise. + * tests/autodist-subdir.test: Likewise. + * tests/autodist.test: Likewise. + * tests/check-exported-srcdir.test: Likewise. + * tests/check-tests-in-builddir.test: Likewise. + * tests/check-tests_environment.test: Likewise. + * tests/help-python.test: Likewise. + * tests/java-check.test: Likewise. + * tests/java-extra.test: Likewise. + * tests/java-noinst.test: Likewise. + * tests/lex-subobj-nodep.test: Likewise. + * tests/ltinit.test: Likewise. + * tests/m4-inclusion.test: Likewise. + * tests/maintclean-vpath.test: Likewise. + * tests/parallel-tests-subdir.test: Likewise. + * tests/pr8365-remake-timing.test: Likewise. + * tests/python-dist.test: Likewise. + * tests/python-vars.test: Likewise. + * tests/python-virtualenv.test: Likewise. + * tests/python5b.test: Likewise. + * tests/specflg-dummy.test: Likewise. + * tests/yacc-dist-nobuild-subdir.test: Likewise. + +2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: define default $distdir (help reducing duplication) + * tests/defs ($distdir): New variable, might be used in + testcases checking distribution-related features. + * tests/pr9.test: Use it. + * tests/subdir9.test: Likewise. + * tests/lex3.test: Likewise. + * tests/lexvpath.test: Likewise. + * tests/remake-moved-m4-file.test: Likewise. + * tests/remake-renamed-m4-file.test: Likewise. + * tests/remake-renamed-m4-macro-and-file.test: Likewise. + * tests/yacc-basic.test: Likewise. + * tests/yacc-d-basic.test: Likewise. + * tests/yacc-d-vpath.test: Likewise. + * tests/yacc-dist-nobuild.test: Likewise. + * tests/vtexi3.test: Add comment explaining why we redefine + $distdir in this test. + +2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: test lex-generated "#line" directives postprocessing + * tests/yacc-line.test: In heading comments, add reference to new + sister test `lex-line.test'. + * tests/lex-line.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-04-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: minor improvements to a couple of yacc tests + * tests/yacc-auxdir.test: Avoid running autoconf, it's not + needed. + * tests/yacc-line.test: Also check that the yacc-generated C + and header files do not contain "#line" directives referencing + `y.tab.c' or `y.tab.h'. Add a couple of explicative comments. + +2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: split yacc6.test, for better separation and coverage + * tests/yacc6.test: Test removed, its content extended and split + into ... + * tests/yacc-auxdir.test, tests/yacc-depend.test, + tests/yacc-line.test: ... these new tests. + * tests/yacc-depend2.test: New test, exposes the failure that + FreeBSD used to encounter in yacc6.test. + * tests/Makefile.am (TESTS): Update. + +2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: do not uselessly require GNU make or gcc in a few tests + * tests/lex3.test: Remove gcc from requirements, as any working C + compiler should be ok. Consequently, do not clobber user CFLAGS. + Also, remove GNUmake from requirements; it was added (see commit + `Release-1-8-103-g0d2f592') because this test fails with FreeBSD + make due to VPATH issues -- but so do many other yacc-related and + lex-related tests currently, and requiring GNU make in all of + them would unacceptably reduce coverage. + * tests/lexvpath.test: Remove gcc from requirements, as any + working C compiler should be ok. + * tests/yacc4.test: Likewise. + * tests/yacc8.test: Likewise. + * tests/lex5.test: Likewise. Also, do not require anymore GNU + make; to compensate, explicitly call "$MAKE Makefile" to update + the out-of-date Makefile if $MAKE is not GNU make. + +2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure in test 'yacc-d-cxx.test' + * tests/yacc-d-cxx.test: Create ylwrap script before calling + automake for the first time, so that the script gets correctly + distributed. Add checks verifying it indeed is. + +2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests cosmetics: remove redundant definitions of variable $tab + * tests/yacc-d-basic.test ($tab): Remove definition: it's already + defined in `tests/defs'. + * tests/yacc-d-cxx.test: Likewise. + +2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc: add some tests on bison support (still xfailing) + Related to automake bug#7648 and PR automake/491. + * tests/bison-skeleton-cxx.test: New test. + * tests/bison-skeleton.test: New test. + * tests/Makefile.am (TESTS, XFAIL_TESTS): Updated. + +2011-04-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: test for automake bug#8485 (known regression) + * tests/yacc-dist-nobuild-subdir.test: New test. + * tests/Makefile.am (TESTS, XFAIL_TESTS): Update. + +2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: test mixed C/C++ yacc-generated parsers in the same dir + * tests/yacc-mix-c-cxx.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + cosmetics: fix typos and wording in some yacc tests + * tests/yacc-cxx.test (foo.cc): Clarify comment about the content + of this file being valid C++ but invalid C. + (parse1.yy): Likewise. Also, remove redundant parentheses in a + `return' statement. + * tests/yacc-d-cxx.test (write_parse): Clarify comment about the + content of the generated files being valid C++ but invalid C. + (write_main): Likewise. + * tests/yacc-basic.test: Remove redundant parentheses in a + `return' statement. + * tests/yacc-d-vpath.test: Adjust spacing around curly brackets. + * tests/yaccvpath.test: Likewise. + * tests/yaccdry.test: Likewise. + * tests/yacc8.test: Likewise. + * tests/yacc4.test: Likewise. + Suggested by Ralf Wildenhues. + +2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc: update NEWS and docs about yacc-generated headers extensions + * doc/automake.texi (Yacc and Lex): Document explicitly that + extensions of yacc-generated headers are modelled after the + extension of the corresponding sources. + * NEWS: Update. + +2011-01-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc: extension of headers modelled after extension of sources + With this change, if '-d' is in *YFLAGS, a yacc input file named + foo.y++ will cause a foo.h++ header to be generated, instead of a + foo.h header. Similarly for foo.ypp, foo.yxx and foo.yy. + This way, the name of the files generated by an automake-created + `ylwrap' invocation should be consistent with those generated by + a `bison -o' call. + Related to automake bug#7648 and PR automake/491. + * lib/am/yacc.am (am__yacc_c2h): New internal variable. + (?GENERIC?%EXT%%DERIVED-EXT%, ?!GENERIC?%OBJ%): Get the name of + the header dynamically at make runtime, so that its extension is + modelled after the extension of the source. + * automake.in (lang_yacc_target_hook): Adjust the calculation of + `$header' accordingly. + * tests/yacc-cxx.test: New test. + * tests/yacc-d-cxx.test: Likewise. + * tests/yacc-weirdnames.test: Likewise. + * tests/yacc-basic.test: Update comments. + * tests/yacc-d-basic.test: Likewise. + * tests/yaccpp.test: Updated and extended. + * tests/Makefile.am (TESTS): Update. + +2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: don't define YACC and LEX in the Makefiles + We don't want YACC and LEX defined as make variables, otherwise + the values determined at configure time will override those from + the environment, even in the make-spawned testcases. For example, + before this change, with the following usage: + $ ./configure YACC=yacc + $ export YACC='bison -y' + $ make check + the testsuite would have ended up, very counterintuitively, with + YACC defined to 'yacc' in the testcases' environment. + * configure.ac: Call `AM_SUBST_NOTMAKE' on YACC and LEX. + +2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failures in lflags*.test + * tests/lflags.test: Remove 'LEX' from the environment, so + that it won't be erroneously picked up by `make -e'. + * tests/lflags2.test: Likewise. + +2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: more on 'yacc -d' and recovery from deleted headers + * tests/yacc-deleted-headers.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove redundancy from silent lex/yacc tests + * tests/silent-yacc-gcc.test, tests/silent-yacc-generic.test: Merge + these two testcases into ... + * tests/silent-yacc.test: ... this new one, which doesn't fiddle + which dependency tracking, as that shouldn't impact on generation + of yacc-derived C source and header files (and, for what concerns + compilation of C files, is already tested in other testcases). + * tests/silent-lex-gcc.test, tests/silent-lex-generic.test: Merge + these two testcases into ... + * tests/silent-lex.test: ... this new test, for similar reasons. + * tests/Makefile.am (TESTS): Update. + +2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + tests init: better messages for 'yacc' and 'lex' requirements + * tests/defs.in: Give better diagnostic messages when a test must + be skipped to the unavailability of yacc or lex program. Also, + improve syncing between code for requiring yacc and lex. + +2011-01-28 Stefano Lattarini <stefano.lattarini@gmail.com> + + configure: look for a lex program to be used by the testsuite + This will allow the testcases requiring a 'lex' program to run also + with vendor/legacy lex implementations, not only with 'flex'. + * configure.ac: Look for a lex program, using AC_CHECK_PROGS. + * tests/defs.in: New required entry 'lex'. + ($LEX): Let the user override the lex program to be used by the + testsuite. + * tests/cond35.test ($required): Require 'lex', not 'flex'. + * tests/cond36.test: Likewise. + * tests/lexv3.test: Likewise. + * tests/lexv3.test: Likewise. + * tests/silent-lex-gcc.test: Likewise. + * tests/silent-lex-generic.test: Likewise. + * tests/silent-many-gcc.test: Likewise. + * tests/silent-many-generic.test:likewise. + * tests/lexvpath.test: Likewise, and fix typo in comments. + +2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + configure: look for a yacc program to be used by the testsuite + Instead of forcing the user to manually export 'YACC' in the + testsuite to use a non-bison yacc, we now look for a yacc program + at configure time, and use that as the default in the testsuite. + * configure.ac: Look for a yacc program, using AC_CHECK_PROGS. + * tests/defs.in: Updated to use the value of $YACC precomputed by + configure, unless the user overrides that in the environment. + +2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: more coverage on yacc/lex silent-rules, plus minor cleanups + * tests/silent-yacc-gcc.test: Add sanity checks verifying that the + generated Makefile.in files really contains the non-generic rules + we expect. Do not redundantly manually remove files we know to be + already removed "make maintainer-clean". + (Makefile.am): Ensure we cover also non-generic yacc rules, by + setting target-specific YFLAGS. + (sub/Makefile.am): Likewise. + * tests/silent-yacc-generic.test: Likewise. + * tests/silent-lex-gcc.test: Likewise, but with LFLAGS instead of + YFLAGS. + * tests/silent-lex-generic.test: Likewise. + * tests/silent-many-gcc.test: Likewise, but with both LFLAGS and + YFLAGS. Also ... + (do_and_check_verbose_build): Remove redundant blank line. + * tests/silent-many-generic.test: Likewise. + * tests/silent-yacc-headers.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failures in yflags*.test + * tests/yflags.test: Remove 'YACC' from the environment, so + that it won't be erroneously picked up by `make -e'. + * tests/yflags2.test: Likewise. + +2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: cover yacc target-specific flags, and `-v' flag handling + * tests/yacc-basic.test: Also try to build a parser having `-v' + as target-specific flags. Add a couple of `ls -l' commands, for + debugging. Update and extend comments. Escape literal dots in + grep regular expressions. + +2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: clustered '-d' not recognized in YFLAGS + This change fixes automake bug#7828. + * doc/automake.texi (Yacc and Lex): Document that automake + recognizes '-d' in AM_YFLAGS only if it's not clustered with + other options. + From a report by Юрий Пухальский. + +2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: do not force yacc-requiring tests to use bison + * tests/defs.in: New required entry 'yacc'. Remove old + required entry 'bison'. + * tests/cond35.test ($required): Require yacc, not bison. + * tests/cond36.test: Likewise. + * tests/pr204.test: Likewise. + * tests/silent-many-gcc.test: Likewise. + * tests/silent-many-generic.test: Likewise. + * tests/silent-yacc-gcc.test: Likewise. + * tests/silent-yacc-generic.test: Likewise. + * tests/subpkg.test: Likewise. + * tests/suffix10.test: Likewise. + * tests/yacc-basic.test: Likewise. + * tests/yacc-clean.test: Likewise. + * tests/yacc-d-basic.test: Likewise. + * tests/yacc-d-vpath.test: Likewise. + * tests/yacc-dist-nobuild.test: Likewise. + * tests/yacc-nodist.test: Likewise. + * tests/yacc4.test: Likewise. + * tests/yacc6.test: Likewise. + * tests/yacc7.test: Likewise. + * tests/yacc8.test: Likewise. + * tests/yaccdry.test: Likewise. + * tests/yaccvpath.test: Likewise. + +2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc: warn about conditional content in *YFLAGS variables + This change fixes automake bug#7804. + * automake.in (lang_yacc_target_hook): Warn if any of the relevant + *YFLAGS variables has conditional contents (not only a conditional + definition). Related refactoring. + * NEWS: Updated. + * tests/yflags-conditional.test: Updated and extended. + * tests/yflags-conditional-force.test: New test. + * tests/Makefile.am (TESTS): Updated. + +2011-01-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc: support variable expansions in *YFLAGS definition. + This change fixes automake bug#7800. + * automake.in (lang_yacc_target_hook): Use 'value_as_list_recursive' + instead of 'variable_value' to get the value of *YFLAGS variables. + Related changes. + ($DASH_D_PATTERN): Removed. + * tests/Makefile.am (XFAIL_TESTS): Remove yflags-var-expand.test. + * tests/yacc-clean.test: Remove workaround for now-fixed bug. + * NEWS: Update. + +2011-01-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc: more tests on *YFLAGS support + * tests/yflags-var-expand.test: New test, still xfailing. It + exposes automake bug#7800 -- "automake fails to honor `-d' in + AM_YFLAGS when variable expansions are involved". + * tests/yflags-d-false-positive.test: New test, checking that + automake do not spuriously see `-d' in *YFLAGS when that isn't + really there. + * tests/yflags-force-override.test: New test, checking that + automake can cope with definition of the YFLAGS variable in + Makefile.am (even if that is an extremely bad practice, as that + variable is user-reserved). + * tests/yflags-cmdline-override.test: New test, checking that + automake can cope with user-redefinition of YFLAGS at configure + time and/or at make time. + * tests/yflags-conditional.test: New test, checks that automake + warns on conditionally-defined *YFLAGS variables. + * tests/Makefile.am (TESTS, XFAIL_TESTS): Update. + +2011-01-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc: extend and improve tests + * tests/yacc-basic.test: Also check that the intermediate C file + is mentioned in the generated Makefile.in, and that it is created + by the first make invocation. + * tests/yacc3.test: Test removed, superseded by ... + * tests/yacc-d-basic.test: ... this new test. + * tests/yacc2.test: Add reference to that new test in the heading + comments. + * tests/yacc-d-vpath.test: New test. + * tests/yaccvpath.test: Updated heading comments. Do not require + gcc anymore, as any working C compiler should be enough. Remove + redundant comments. + * tests/yacc-nodist.test: New test. + * tests/yacc-dist-nobuild.test: New test. + * tests/Makefile.am (TESTS): Update. + +2010-12-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + Extend, fix and improve tests on Lex and Yacc support. + * tests/lexcpp.test: New test script, on support for Lex + C++. + * tests/lexvpath.test: New test script, test build and rebuild + rules for lexers in VPATH setup. + * tests/yacc-basic.test: New test script, run simple "semantic" + checks on basic Yacc support (similarly to what lex3.test does + for Lex support). + * tests/lex.test: Don't create useless dummy source file joe.l. + Remove extra blank lines. + * tests/lex4.test: Add trailing `:' command. Do not create dummy + useless lex source file. + * tests/lex2.test: Likewise. Call automake with the `-a' option, + so that it doesn't fail for the absence of `ylwrap' script. Make + grepping of automake stderr stricter. + * tests/yacc7.test: Add trailing `:' command. Enable `errexit' + shell flag earlier (just after having sourced ./defs). + * tests/yacc4.test: Likewise. Also ... + (configure.in): Use pre-populated skeleton set up by ./defs, + instead of writing one from scratch. + Other minor cosmetic changes. + * tests/yacc5.test: Likewise. + * tests/yaccvpath.test: Likewise. Also ... + ($distdir): New variable. + Use it throughout. + * tests/lex5.test: Likewise. + * tests/lex3.test: Likewise. Check the distdir, rather than + grepping the distribution tarball. Extend the test on the + created binary, and be sure to avoid hangs. Add some comments. + * tests/yacc.test: Use stricter grepping. Add trailing `:'. + * tests/yacc6.test: Likewise. + * tests/yacc3.test: Likewise. Do not create the unused file + `Makefile.sed'. Remove useless rules from Makefile.am. Other + minor cosmetic changes. + * tests/yacc2.test: Make grepping of generated `Makefile.in' and + of automake error messages stricter. Do not redirect output of + grep to /dev/null. Move call to aclocal earlier. Reduce the + number of empty blank lines. Fix a typo in comments. + * tests/yacc8.test: Fixed bugs that reduced the completeness of + the tests. Added trailing `:' command. + (configure.in): Use pre-populated skeleton set up by ./defs, + instead of writing one from scratch. + * tests/yaccpp.test: Test also extensions `.y++', `.ypp', and + `.yxx', rather than only `.yy'. + * tests/Makefile.am (TESTS): Update. + +2011-01-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc: "make clean" removes .c and .h files from non-distributed .y + Previously, while automake did *not* distribute C source and header + files derived from non-distributed Yacc sources, it still caused + them to be removed only by "make maintainer-clean" only, and not by + simply "make clean" or "make distclean". + This caused "make distcheck" to fail, unless the developer put + those generated .c and .h files in CLEANFILES or in DISTCLEANFILES + by hand. + This change fixes this issue, by making non-distributed `.c' and + `.h' files generated by non-distributed Yacc sources cleaned by + "make clean". + * tests/automake.in (lang_yacc_target_hook): Make C source and + header files derived from non-distributed Yacc files cleaned by + "make clean", not only by "make maintainer-clean". + * tests/yacc-clean.test: New test. + * tests/Makefile.am (TESTS): Update. + * NEWS: Update. + +2011-04-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + depcomp: fix bugs in tests and in the depcomp script + * lib/depcomp (gcc): Remove duplicated `-e' from sed invocation. + * tests/depcomp10.test: Make it executable. Fix a blunder that + has left part of an intended comment not prefixed by `#', thus + causing shell syntax errors. In this same comment, break a + too-long reported error message on multiple lines, for clarity. + Add reference to the relevant bug report. Add a comment which + explains why the test result 'skipped' if the first "make" call + fails. Add other useful comments. + * tests/depcomp9.test: Slightly improve comments. + +2011-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix hp depmode for VPATH builds with GNU make. + * lib/depcomp: Be sure to remove VPATH-prefixed object from + dependency output when creating stub rule. + * tests/depcomp10.test: New test. + * tests/Makefile.am (TESTS): Update. + * NEWS: Update. + Report by Bruno Haible. + +2011-04-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + java: allow both dist_JAVA and nodist_JAVA in the same Makefile.am + Fixes automake bug#8434. + * automake.in (handle_java): Strip `dist_' and `nodist_' from + the given prefix. Define a new internal Makefile variable + `am__java_sources'. Related adjustments. + * lib/am/java.am (JAVAC, JAVAROOT, CLASSPATH_ENV): Define only the + first time this am file is processed. + (class%DIR%.stamp): Stamp file renamed ... + (class%NDIR%.stamp): ... to this, so that the `dist_' and `nodist_' + prefixes are stripped from the name of the stampfile. Adjust + declaration of dependencies by using the new automake-generated + internal variable `$(am__java_sources)'. In the rule, use `$@' + as the name of the target, rather than hard-coding it. + * tests/java.test: Update and extend. + * tests/java-no-duplicate.test: New test. + * tests/java-mix-dist-nodist.test: Likewise. + * tests/java-compile-and-install.test: Likewise. + * tests/java-clean.test: Likewise. + * tests/java-sources.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-04-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: more on java support EXTRA_ and noinst_ prefixes + * tests/java-extra.test: New test, checking support for the + prefix `EXTRA_' with the JAVA primary. + * tests/java-noinst.test: New test, checking support for the + prefix `noinst_' with the JAVA primary. + * tests/Makefile.am (TESTS): Update. + +2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: fix 'javac' requirement for older JDK versions + The Java compiler from JDK 1.5 (and presumably earlier versions) + cannot handle the `-version' option by itself; and while it does + print the version number, it then errors out with an usage error: + $ javac -version + javac 1.5.0_22 + javac: no source files + Usage: javac <options> <source files> + ... + Luckily, adding the `-help' option to the `javac' invocation + seems to fix this problem. + * tests/defs.in (javac): Pass also the `-help' option to the + `javac' program. Add a comment explaining why it is needed. + Report from Ralf Wildenhues. + +2011-04-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + test defs: new requirement for the default java compiler + * tests/defs.in (for tool in $required): New requirement 'javac'. + * tests/java.test: Use it instead of ad-hoc configure check. + * tests/java-check.test: Likewise. + * tests/java-extra.test: Likewise. + * tests/java-noinst.test: Likewise. + * tests/instfail-java.test: Likewise. + * tests/instdir-java.test: Likewise. + +2011-04-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + java: check_JAVA does not cause compilation by "make all" anymore + Fixes automake bug#8234. + * automake.in (handle_java): Make stamp of class files built from + java sources in $(check_JAVA) a dependency of `check' target, not + `all' target. + * tests/java-check.test: New test. + * tests/Makefile.am (TESTS): Update. + * NEWS: Update. + * THANKS: Update. + Report from Petteri Räty. + +2011-04-09 Stefano Lattarini <stefano.lattarini@gmail.com> + Bruno Haible <bruno@clisp.org> + + coverage: add tests on remake rules in more complex situations + * tests/defs (using_gmake): New function. + (for tool in $required): Use it when $tool is 'GNUmake'. + * tests/remake-moved-m4-file.test: New test. + * tests/remake-deleted-m4-file.test: Likewise. + * tests/remake-renamed-m4-file.test: Likewise. + * tests/remake-renamed-m4-macro-and-file.test: Likewise. + * tests/remake-renamed-m4-macro.test: Likewise. + * tests/remake-add-acsubst-gnulib.test: Likewise. + * tests/remake-add-header-gnulib.test: Likewise. + * tests/remake-remove-header-gnulib.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-04-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + typofix in 'tests/defs' + * tests/defs: Fix typo (`itslef' instead of `itself') in + comments. + +2011-04-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Clarify regex code in depcomp. + * lib/depcomp: Add comment why we don't need regex-escaping here. + Suggested by Stefano Lattarini. + +2011-04-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix makedepend depmode for VPATH builds. + * lib/depcomp [makedepend]: Remove any VPATH prefix from the + object file name, so a rebuild doesn't attempt to update the + .Po files in the source tree. + * tests/depcomp9.test: New test. + * tests/Makefile.am (TESTS): Update. + * NEWS: Update. + +2011-04-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix timestamp-related failures + Fixes automake bug#8365. + * tests/aclocal6.test: Sleep before modifying m4 files that should + trigger remake rules. Remove incorrect/obsoleted comments. + * tests/subdir5.test: Likewise, and extend a bit. + * tests/subdir8.test: Likewise. + * tests/pr8365-remake-timing.test: New xfailing test. + * tests/Makefile.am (TESTS): Update. + Report from Sam Steingold. + +2011-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Create subdirs for generated sources even when not dep tracking. + * automake.in (handle_single_transform): If $object is derived + and lands in subdir, be sure to output a dirstamp dependency. + * tests/yacc5.test: Avoid falsely matching the dirstamp + dependency when grepping for a rule. + * tests/lex-subobj-nodep.test: New test. + * tests/Makefile.am (TESTS): Update. + * THANKS: Update. + Report by Ignacy Gawedzki. + + Fix locale issue in check-exported-srcdir.test. + * tests/check-exported-srcdir.test: Reformulate glob to not fail + in a locale that ignores or interleaves character case. + +2011-04-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: better visibility for aclocal in the index + * doc/automake.texi (@menu): Rename title for entry 'configure' + from "Scanning configure.ac or configure.in" to the more precise + "Scanning configure.ac, using aclocal". + (@detailmenu): Adjust. + (@node configure): Adjust, and extend @cindex calls accordingly. + * THANKS: Update. + From a report by Maynard Johnson. + +2011-03-30 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: improve tests on "maintainer-clean" target + * tests/aclocal6.test: Move checks related to "maintainer-clean" + functionalities into ... + * tests/maintclean-vpath.test: ... this new test. + * tests/maintclean.test: Update heading comments. Extend to also + test subdirs. Remove useless disabling of YACC. Fix m4 quoting + in configure.in. Add a trailing `:' command. Remove extra blank + lines. + * tests/Makefile.am (TESTS): Update. + +2011-03-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + tests: fix unindent to use printf not echo for script. + * tests/defs.in: Use printf rather than echo, as the latter may + interpret the backslashes in the sed script. Fixes test + failures with dash as /bin/sh. + +2011-03-17 Stefano Lattarini <stefano.lattarini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + maintcheck: look for problematic names of testcases + The configure.in stub created by default by `tests/defs' obtains + the first argument of AC_INIT from the test name, and this can + cause some supported autoconf versions to fail with a spurious + error if that test name contains the name of an m4 or m4sugar + builtin or macro (e.g., `defn' or `m4_undefine'). + See for example the bug fixed by commit v1.11-287-g1325a8a. + This change add a maintainer check that warns about test names + which are possibly problematic in this regard. + * Makefile.am (sc_test_names): New maintainer-check target. + (syntax_check_rules): Add it. + (m4_builtins): New helper variable. + (TESTS): Updated according to the following renamings. + * tests/include.test: Renamed ... + * tests/hdr-vars-defined-once.test: ... to this. + * tests/sinclude.test: Renamed ... + * tests/m4-inclusion.test: ... to this, and simplified + accordingly. + * tests/include2.test: Renamed ... + * tests/dist-included-parent-dir.test: ... to this, for + consistency. + +2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix bug in alloca*.test + * tests/alloca.test: Make grepping of automake stderr stricter, + add a trailing `:' command; also, add AC_PROG_CC to configure.in, + and create a dummy alloca.c file, to ensure that we fail for the + proper reason. + * tests/alloca2.test: Likewise. Also, look for LT_INIT, not + AC_PROG_LIBTOOL, in the error message (bug introduced with commit + v1.11-315-gd51e7b7 "libtool: suggest LT_INIT if LTLIBRARIES + primary is used"). + From a report by Patrick Welche. + +2011-03-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + cosmetics: better use of m4 quoting and m4sugar macros + * m4/dmalloc.m4: Better use of m4 quoting. Bump serial number. + * m4/gcj.m4: Likewise. + * m4/init.m4: Likewise. + * m4/install-sh.m4: Likewise. + * m4/lex.m4: Likewise. + * m4/multi.m4: Likewise. + * m4/option.m4: Likewise. + * m4/python.m4: Likewise. + * m4/sanity.m4: Likewise. + * m4/cond.m4: Likewise. Also, prefer the m4sugar macro 'm4_if' + over the plain m4 macro 'ifelse'. + * m4/depend.m4: Likewise. + +2011-03-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: add test about deprecated use of AC_INIT + * tests/deprecated-acinit.test: New test, check that automake + and autoconf complain about an old-style AC_INIT call used with + a new-style AM_AUTOMAKE_INIT call. + * tests/Makefile.am (TESTS): Update. + +2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix bug (comments-in-var-defn.test + autoconf 2.62) + * tests/comments-in-var-defn.test: The configure.in stub created + by default, which has the AC_INIT first argument obtained by the + test name, causes autoconf 2.62 to fail with a spurious error + message like: "configure.in:1: error: defn: undefined macro:". + Thus, to prevent this, the test is renamed to ... + * tests/comments-in-var-def.test: ... this. + * tests/Makefile.am (TESTS): Updated. + +2011-03-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + cosmetics: convert encoding from ISO-8859 to UTF-8 + * ChangeLog.03: Convert encoding to UTF-8. + * ChangeLog.96: Likewise. + * ChangeLog.98: Likewise. + * NEWS: Likewise. + * TODO: Likewise. + +2011-03-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: extend checks on the 'unindent' shell function + * tests/self-check-unindent.test: Also check that multiple + instances of 'unindent' can run in parallel (this was not + the case when that function used temporary files). + +2011-03-01 Peter Rosin <peda@lysator.liu.se> + + test defs: unindent without temporary file + * tests/defs.in (commented_sed_unindent_prog): Commented Sed program + that strips the "proper" amount of leading whitespace. + (unindent): Lazily strip comments from the above program and use it + to unindent without using a temporary file. + +2011-02-26 Stefano Lattarini <stefano.lattarini@gmail.com> + + libtool: suggest LT_INIT if LTLIBRARIES primary is used + When the LTLIBRARIES primary was used, but $(LIBTOOL) wasn't + defined, automake suggested to add a call to AC_PROG_LIBTOOL + in configure.ac. But that macro is deprecated since Libtool + version 1.9b (2004-08-29), in favor of the newer LT_INIT. So + suggest the use of this latter macro instead. + * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL' + with 'LT_INIT', not with 'AC_PROG_LIBTOOL'. + * tests/libtool4.test: Adjust and extend. Also, add a call to + macro AC_PROG_CC in configure.in, to help ensuring that automake + does not fail for the wrong reasons. + * tests/ltinit.test: New test, ensure that automake's libtool + support works with LT_INIT-based interface. + Thanks to Jack Kelly for the suggestion. + +2011-02-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: add testcases sanity-checking the testsuite + Helper subroutines, variables and other pieces of code defined + in the `tests/defs' and used by many testcases are non-obvious, + and tricky to get to work portably; but until now, they weren't + tested at all in a clear and self-contained way. + This change should remedy to the situation. + * tests/self-check-cleanup.test: New test, check removal of + temporary test working directory by `./defs'. + * tests/self-check-dir.test: New test, check that tests using + `./defs' create a proper temporary directory, and run in it. + * tests/self-check-exit.test: New test, check that, in case of + failing commands, the correct exit status is passed to the exit + trap installed by the `./defs' script. + * tests/self-check-is_newest.test: New test, checking the + `is_newest' subroutine. + * tests/self-check-me.test: New test, checking that $me gets + defined automatically by `tests/defs' if not set, and that it + can be overridden from either the shell or the environment. + * tests/self-check-sanity.test: New test, check that the sanity + checks performed by the `tests/defs' script works correctly. + * tests/self-check-unindent.test: New test, checking the + `unindent' subroutine. + * tests/Makefile.am (TESTS): Update. + +2011-02-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: tempdirs with restrictive permissions are cleaned correctly + Before this change, the removal of a temporary test directory + containing subdirectories with restrictive permissions (such as + 'r--r--r--') could fail. + * tests/defs: Ensure that all the subdirectories of a temporary + test directory have the 'read', 'write' and 'execute' bits set, + before trying to remove it with `rm -rf'. + * tests/Makefile.am (clean-local-check): Likewise. + +2011-02-16 Stefano Lattarini <stefano.lattarini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + test defs: add subroutine for input unindenting + * tests/defs.in (unindent): New subroutine. + * tests/instspc-tests.sh: Use it. + +2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com> + + python: report the 'PYTHON' influential environment variable + * m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON. + * doc/automake.texi (Python): Update and extend. + * tests/help-python.test: New test. + * tests/Makefile.am (TESTS): Update. + * THANKS (Jack Kelly): Update e-mail address. + Suggestion by Jack Kelly. + +2011-02-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests defs: clear TESTS_ENVIRONMENT variable + * tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values + from environment won't interfere with the testcases. + Suggestion by Ralf Wildenhues. + +2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: `instspc-*.test': do not create useless source file + * tests/instspc-tests.sh (create_input_data): Do not create + unused source file `source2.c'. + +2011-02-15 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: optimize `instspc-*.test' for speed + After the split of `instspc.test' into various generated tests, + the running time of the testsuite has noticeably increased, since + all these new generated tests must run aclocal, autoconf and + automake, whereas previously they were run only once (at the + beginning of `instspc.test'). But luckily, since the new tests + share the same input files for the autotools, this situation can + be easily worked around (at the expenses of a slight increase of + complexity for the testsuite scaffolding). + * tests/instspc-data.test: New helper test, properly calling + the `instspc-tests.sh' script to generate input data for the + others `instspc-*.test' tests. + * tests/Makefile.am (TESTS): Add `instspc-data.test'. + ($(instspc_tests:.test=.log)): Depend on its log file. + (instspc-data.log): Depend on `instspc-tests.sh'. + * tests/instspc-tests.sh: Recognize new action `generate-data', + and use it to create hand-written and autotools-generated static + files shared by all the `instspc-*.test' tests. + When sourced by the `instspc-*.test' tests, use those previously + created files instead of recreating them from scratch. + (unindent, create_input_data): New subroutines. + Some other related changes and refactorings. + From a suggestion by Ralf Wildenhues. + +2011-02-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + python: fix spurious failure in tests + * tests/python-vars.test: Ignore cached values from config.site + by exporting CONFIG_SITE=/dev/null. Be laxer in matching the + expected values of output variables `pythondir' and `pyexecdir', + since they can change quite unpredictably among different python + installations. Also, avoid "hyping" debugging output, thus + offering smaller trace output and more informative diff. + Report and suggestions by Ralf Wildenhues. + * tests/python-virtualenv.test: Require python, since we call it + even after the virtualenv has been deactivated. Ignore cached + values from config.site by exporting CONFIG_SITE=/dev/null. + +2011-02-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: tweak few tests on simple and parallel test drivers + * tests/check-exported-srcdir.test: Improve heading comments. + * tests/check-tests-in-builddir.test: Likewise. Also, unset the + `FOO_EXIT_STATUS' variable, so that any pre-existing value in the + environment won't risk to interfere with the test. + Suggestions by Ralf Wildenhues. + +2011-02-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + python: extend and improve tests, fix minor glitches + * m4/python.m4 (AM_PATH_PYTHON): Ensure the "checking ..." messages + from configure are always complete, even in case of failure. Tiny + cosmetic improvement in info/error messages. + * tests/python.test: Also check that automake complains if the + PYTHON primary is used but the `py-compile' script is not present. + Make grepping of generated Makefile.in laxer w.r.t. whitespace. + Add trailing `:' command. + * tests/python2.test: Remove repeated calls aclocal: they are + useless because configure.in is never modified. Make grepping + of automake stderr more comprehensive. Remove the pre-existing + `py-compile' file before trying to install it with `--add-missing'. + Add trailing `:' command. + * tests/python3.test: Add trailing `:' command. + * tests/python11.test: Likewise. + * tests/python4.test: Likewise. Also, try to pass PYTHON config + variable to configure from the environment, rather than only from + the command line. + * tests/python5.test: Ensure that the "checking ..." messages from + configure are always complete. Use proper m4 quoting. Add a + trailing `:' command. + * tests/python6.test: Simplify test logic, by checking for files + created by configure rather then grepping its output. + * tests/python7.test: Likewise. + * tests/python8.test: Also check that `$PYTHON' is meaningfully + set in the ACTION-IF-TRUE argument of AM_PATH_PYTHON. + * tests/python9.test: Likewise. + * tests/python10.test: Add trailing `:' command. + (Makefile.am): Declare `disttest' target as `.PHONY', and add + an `ls -l' to its recipe, for debugging. + * tests/nobase-python.test: In testing "make uninstall" and + "make install" results, prefer idioms that make verbose logs + more helpful. Remove a couple of lines of dead code. Add a + trailing `:' command. + * tests/python5b.test: New test, checking that configure performs + the check on the python version even when the choice of the python + interpreter is forced by the user. + * tests/python-dist.test: New test, checking the distribution of + *_PYTHON files. + * tests/python-vars.test: New test, checking that AM_PATH_PYTHON + correctly set all the output variables advertised in the manual. + * tests/python-virtualenv.test: New test, checking that python + support offered by automake works well with "virtual python + environments" created by the `virtualenv' program. + * tests/instdir-prog.test: Also check `$(pyexecdir)'. Existing + checks made slightly stricter. + * tests/instdir-prog.test: Also check `$(pyexecdir)'. Existing + * tests/instdir-ltlib.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-02-01 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: more tests on simple and parallel test drivers + * tests/parallel-tests-subdir.test: New test. + * tests/check-exported-srcdir.test: Likewise. + * tests/check-tests-in-builddir.test: Likewise. + * tests/check-tests_environment.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failures in lflags*.test + * tests/lflags.test: Remove 'LEX' from the environment, so + that it won't be erroneously picked up by `make -e'. + * tests/lflags2.test: Likewise. + +2011-01-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: color-tests issues with parallel make + * doc/automake.texi (Simple Tests): Document that automatic + recognition of a capable terminal attached to stdout can fail + with some make implementation when running in parallel mode, + thus causing colored test output not to be automatically + activated when it should. + +2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + coverage: test semantics of "dummy" per-target flags + * tests/specflg-dummy.test: New test, ensuring that even "dummy" + per-target flags triggers the use of renamed objects. + * tests/Makefile.am (TESTS): Update. + Suggestion by Ralf Wildenhues. + +2011-01-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests defs: sanitize IFS + * tests/defs ($IFS): Define to <space>, <tab>, <newline>. + ($sp): New variable, holding a single whitespace character. + ($tab): New variable, holding a tabulation character. + ($nl): New variable, holding a newline character. + +2011-01-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + tests: avoid instspc* failures due to make's whitespace trimming + * tests/instspc-tests.sh: Prepend './' when passing the test + characters, to avoid leading whitespace characters to be trimmed + from macros set from environment variables. Fixes testsuite + failures with HP-UX and Tru64/OSF make. + +2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + tests: fix VPATH auto-expansion workarounds. + * tests/suffix10.test, tests/suffix11.test, tests/suffix12.test, + tests/suffix3.test, tests/suffix5.test, tests/suffix8.test: + Ensure $< is not surrounded by white space, to prevent Solaris + make from applying automatic VPATH text expansion. + + tests: fix VPATH auto-expansion workarounds. + * tests/parallel-tests8.test, tests/suffix13.test: + Ensure $< is not surrounded by white space, to prevent Solaris + make from applying automatic VPATH text expansion. + +2011-01-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failures in yflags*.test + * tests/yflags.test: Remove 'YACC' from the environment, so + that it won't be erroneously picked up by `make -e'. + * tests/yflags2.test: Likewise. + +2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R. + * tests/fn99.test, tests/fn99subdir.test: Skip if an initial + `cp -R' of the subdir tree already fails; AIX 5.3 cp messes + up its internal memory when copying this tree. + +2011-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Stefano Lattarini <stefano.lattarini@gmail.com> + + Add comment to check-TESTS rule working around make 3.80 bug. + * lib/am/check.am (check-TESTS): Update comment. + +2011-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + tests: less strict double-colon spy.test again. + * tests/spy.test: We know BSD make doesn't invoke more than one + double-colon rule, so no need to expose that failure. + +2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + install-sh: avoid Tru64 sh `test' operator precedence issues. + * lib/install-sh: Protect file names and directory components + that consist of `=', `(', `)', or `!'. Move protection as early + as possible, to avoid errors such as with Tru64 sh `test -z ='. + * tests/instsh2.test: Extend test to cover more possibilities. + Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1. + +2011-01-19 Stefano Lattarini <stefano.lattarini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + docs: automake testsuite doesn't use TESTS_ENVIRONMENT anymore + * doc/automake.texi (Simple Tests): Do not claim Automake uses + TESTS_ENVIRONMENT for the perl driver. Instead, point to the + parallel-tests driver. + +2011-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + tests: check for presence of cscope with redirected input. + * tests/defs: Add required test for cscope. + Fixes cscope3.test hang with Sun C 5.9 cscope. + + tests: avoid false failure in cygnus-dependency-tracking.test. + * tests/cygnus-dependency-tracking.test: Be less restrictive + when grepping the compiler error message, GCC 3.4.6 on FreeBSD + does not mention an undefined symbol. + +2011-01-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + tests: revert not turning off errexit in instspc-test.sh + * tests/instspc-tests.sh: Turn off errexit while sourcing defs, + the scripts might still not be clean. + +2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + tests: work around Tru64 sh -e issues for instspc*.test. + Apparently, Tru64 sh does not like turning off errexit mode, + and gets confused. + * tests/defs: Document 'errexit' cleanliness requirement. + * tests/defs-static.in: Likewise. Avoid error from command + substitution to abort instspc*.test with Tru64/OSF 5.1 sh. + * tests/instspc-tests.sh: Drop now-unneeded temporary errexit + dropping. Add strategic '|| Exit' to let tests work on Tru64. + +2011-01-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Allow _AM_DEPENDENCIES to be used later in configure. + * m4/depend.m4 (_AM_DEPENDENCIES): Remove a previously existing + conftest.dir before recreating it. + Fixes bug#7864. + Report by Eric Blake, from report by Scott McCreary against M4. + +2011-01-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + tests: avoid failure on w32 file systems. + * tests/parallel-tests-unreadable-log.test: SKIP if file cannot + be turned unreadable. + +2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + tests: allow double-colon spy.test to work with HP-UX make. + * tests/spy.test: Fix comment typos. Ensure prerequisites we + do not want to depend on are strictly older than the target. + Also test with a target out of date wrt. more than one rule. + +2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Avoid local $_ perl variable, for Perl before 5.9.1. + * lib/Automake/Options.pm (_process_option_list): Do not + lexically localize $_. Fixes bootstrap on AIX 5.1. + Bug introduced in commit `v1.11-622-gf90a06c'. + +2011-01-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: remove useless requirements from cond36.test + * tests/cond36.test ($required): Remove. + Since we are at it, add a trailing `:' command. + +2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + tests: avoid failing command substitution in errexit mode. + * tests/vartypo2.test, tests/vartypos.test: Rewrite to not use + a command substitution with a nonzero exit status, that causes + IRIX and Tru64/OSF sh to fail the whole test. + +2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Stefano Lattarini <stefano.lattarini@gmail.com> + + parallel-tests: work around Tru64/OSF 5.1 sh read bugs. + * lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html): + Test file readability before redirecting input from it, to avoid + exiting Tru64/OSF 5.1 sh which treats read as special builtin. + * tests/parallel-tests-unreadable-log.test: New test. + * tests/Makefile.am (TESTS): Update. + * NEWS: Update. + +2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * NEWS, README: Update copyright years. + +2011-01-15 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: hard error in case of internal failures or signal caught + * tests/defs: Exit with status 99 (hard error) rather than + 1 (failure) on unexpected/internal errors, or when a signal + is caught by the client script. + + Tests defs: don't let useless variables leak in test scripts. + * tests/defs ($priv_check_temp, $overwrite_status, $ro_dir_temp, + $create_status, $r2h, $libtool_found, $gettext_found, $aclocaldir, + $extra_includes): Unset once they've served their purpose. + +2011-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix parallel-tests.test failure with HP-UX make. + * tests/parallel-tests.test: Sleep inside inner tests, so logs + are newer than logs of tests they depend on, for HP-UX make. + +2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + docs: ensure example are separated with empty lines in the input + * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding) + (API Versioning, Renamed Objects, Multiple Outputs): Add empty + lines before `@example' and after `@end example' lines, so info + output is rendered correctly, and a following @noindent honored. + Report by Stefano Lattarini. + +2011-01-15 Jim Meyering <meyering@redhat.com> + + tests: fix comment typo + * tests/substref.test: Fix grammar in a comment. + +2011-01-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failures in two texinfo tests + * tests/txinfo.test ($required): Add 'makeinfo'. + * tests/txinfo8.test: Create a dummy 'textutils.info' file, so + that make won't try to run makeinfo (which could be unavailable) + to build it. + Found by NixOS Hydra, reported by Ralf Wildenhues. + +2011-01-15 Stefano Lattarini <stefano.lattarini@gmail.com> + + Update docs w.r.t. warning and strictness options. + * doc/automake.texi (Strictness): Document that some warnings are + turned off by default in `foreign' strictness. + (Options): Divide into new sections "Options generalities" and + "List of Automake options". Fix typo (colon instead of full + stop). Document option precedence (AUTOMAKE_OPTIONS wins over + AM_INIT_AUTOMAKE which wins over command line). Also document + interactions between options specifying strictness and those + specifying warnings. + + More tests on warnings/strictness precedence. + * tests/warning-groups-win-over-strictness.test: New test, similar + to `warnings-win-over-strictness.test', but checking the explicit + catch-all warning flags (like `-Wall' and `-Wnone'). + * tests/Makefile.am (TESTS): Update. + + Update NEWS about the warnings-over-strictness precedence. + * NEWS: Automake explicit warning levels always take precedence + over the implicit warning levels implied by Automake strictness. + + For PR automake/547: + Warnings win over strictness in AUTOMAKE_OPTIONS. + Ensure that, for what concerns the options specified in + AUTOMAKE_OPTIONS, explicitly-defined warnings always take + precedence over implicit strictness-implied warnings. + This finally fixes Automake bug#7669 a.k.a. PR/547. + * automake.in (handle_options): Call 'process_option_list' + only once per set of options. + * lib/Automake/Options.pm (process_global_option_list, + process_option_list): Add sanity checks. + ($_options_processed, $_global_options_processed): New + internal variables, used by the sanity checks above. + * tests/warnings-win-over-strictness.test: Extend. + + For PR automake/547: + Change signature of 'Automake::Options::_process_option_list()'. + This only modifies internal details in the automake implementation, + bearing no externally visible effect, but preparing the way for the + final fix of Automake bug#7669 a.k.a. PR/547. + * lib/Automake/Options.pm (_process_option_list): Accept as + arguments a list of hash references with keys 'option' and 'where', + where 'option' is an option as might occur in AUTOMAKE_OPTIONS or + AM_INIT_AUTOMAKE, and 'where' is the location where it occurred. + (process_option_list, process_global_option_list): Updated. + * automake.in (handle_options, scan_autoconf_traces): Update. + + Add more tests about AUTOMAKE_OPTIONS. + In view of soon-to-follow refactorings (still in the pursuit of a + fix for Automake bug#7669 a.k.a. PR/547), add some more tests on + AUTOMAKE_OPTIONS support, to prevent obvious regressions. + * tests/amopts-variable-expansion.test: New test. + * tests/amopts-location.test: Likewise. + * tests/Makefile.am (TESTS): Update. + + For PR automake/547: + Warnings win over strictness in AM_INIT_AUTOMAKE. + This change ensures that, for what concerns the options specified + in AM_INIT_AUTOMAKE, explicitly-defined warnings always take + precedence over implicit strictness-implied warnings. Related to + Automake bug#7669 a.k.a. PR/547. + * lib/Automake/Options.pm (_process_option_list): Parse explicit + warnings only after the strictness level has been set. Fix POD + documentation. + * tests/warnings-win-over-strictness.test: Extend. + + For PR automake/547: + Warnings win over strictness on command line. + Ensure that, on the command line at least, explicitly defined + warnings always take precedence over implicit strictness-implied + warnings. Related to Automake bug#7669 a.k.a. PR/547. + * automake.in (parse_arguments): Parse warnings only after the + strictness level has been processed. + * tests/gnuwarn.test: Update, plus miscellaneous improvements. + * tests/warnings-win-over-strictness.test: New test. + * tests/Makefile.am (TESTS): Update. + + More tests on warnings and strictness. + * tests/warnings-strictness-interactions.test: New test. + * tests/warnings-unknown.test: Likewise. + * tests/Makefile.am (TESTS): Update. + + New test on silent-rules mode and portability warnings. + * tests/silent-nowarn.test: New test. + * tests/Makefile.am (TESTS): Update. + + Add new tests on strictness and warnings precedence and overriding. + * tests/strictness-override.test: New test. + * tests/strictness-precedence.test: New test. + * tests/warnings-override.test: New test. + * tests/warnings-precedence.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix remake rule-induced test failures with HP-UX make. + * tests/remake1a.test: Require GNU make. + +2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix remake rule-induced test failures with HP-UX make. + * tests/colon6.test: Update timestamp of subdir Makefile, so we + do not spuriously invoke the nonexistent toplevel am--refresh + rule. + + tests: fix typos in colon6.test + * tests/colon6.test: Fix typos. + +2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: explain MSYS setup failure issue, improve test. + * tests/defs: Add comment and failure message, improve fail + logic. + +2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix libobj2.test failure with non-GNU make: define $(AR). + * tests/libobj2.test: Ensure $(AR) is suitably defined. + +2011-01-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + tests: avoid spurious failures due to fork failure in test setup + * tests/defs: Ensure $me is always nonempty, to avoid spurious + failures on MinGW/MSYS in case the preceding sed command could + not be spawned. + + Avoid configure warnings from wait about reused PIDs. + * m4/sanity.m4 (AM_SANITY_CHECK): Hide wait stderr output. + Fixes spurious failure of depcomp2.test. + +2011-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Avoid testsuite failures due to Autoconf Fortran change. + Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to + require computing the canonical host name. Ensure config.guess + and config.sub files are present for respective checks. + * tests/compile_f_c_cxx.test: Add stub files. + * tests/flibs.test: Likewise. + * tests/fort4.test: Use $AUTOMAKE -a for installing files. + +2011-01-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: clustered '-d' not recognized in YFLAGS + This change fixes automake bug#7828. + * doc/automake.texi (Yacc and Lex): Document that automake + recognizes '-d' in AM_YFLAGS only if it's not clustered with + other options. + From a report by Юрий Пухальский. + +2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: add checks on automatically-distributed files + Related to automake bug#7819. + * tests/autodist.test: New test. + * tests/autodist-subdir.test: Likewise. + * tests/autodist-acconfig.test: Likewise. + * tests/autodist-acconfig-no-subdir.test: Likewise. + * tests/autodist-aclocal-m4.test: Likewise. + * tests/autodist-config-headers.test: Likewise. + * tests/autodist-configure-no-subdir.test: Likewise. + * tests/autodist-stamp-vti.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: do not force yacc-requiring tests to use bison + * tests/defs.in: New required entry 'yacc'. Remove old + required entry 'bison'. + * tests/cond35.test ($required): Require yacc, not bison. + * tests/cond36.test: Likewise. + * tests/pr204.test: Likewise. + * tests/silent-many-gcc.test: Likewise. + * tests/silent-many-generic.test: Likewise. + * tests/silent-yacc-gcc.test: Likewise. + * tests/silent-yacc-generic.test: Likewise. + * tests/subpkg.test: Likewise. + * tests/suffix10.test: Likewise. + * tests/yacc-basic.test: Likewise. + * tests/yacc-clean.test: Likewise. + * tests/yacc-d-basic.test: Likewise. + * tests/yacc-d-vpath.test: Likewise. + * tests/yacc-dist-nobuild.test: Likewise. + * tests/yacc-nodist.test: Likewise. + * tests/yacc4.test: Likewise. + * tests/yacc6.test: Likewise. + * tests/yacc7.test: Likewise. + * tests/yacc8.test: Likewise. + * tests/yaccdry.test: Likewise. + * tests/yaccvpath.test: Likewise. + +2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: more consistent checks about invalid options + * tests/aclocal.test: Grepping of automake stderr for messages + reporting invalid options made stricter. + * tests/no-outdir-option.test: Likewise. Also, create a dummy + `Makefile.am', to ensure that the automake failures are really + caused only by unrecognized options. + * tests/automake.test: Added trailing `:' command. Removed + redundant checks on `--help' and `--version' option (already + performed in the test `help*.test'). + +2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: enable 'errexit' shell flag by default. + * tests/defs: Enable `errexit' shell flag (near the end). + Removed redundant comment about the enabling of shell traces. + * tests/README (Writing test cases): Update, and use nicer + formatting in a couple of places. + * All tests: Adjusted by removing now-redundant calls to + 'set -e'. + +2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: work around a texi+cygnus bug causing a spurious XFAIL + * tests/txinfo5b.test: New test, like txinfo5.test but calling + automake with the `-Wno-override' option to work around a bug + in the texinfo + cygnus interaction. + * tests/txinfo5.test: Update heading comments. + * tests/Makefile.am (TEST): Updated. + +2011-01-09 Dave Hart <davehart@gmail.com> (tiny change) + + Fix another typo in Rule.pm comment. + * lib/Automake/Rule.pm: Fix typo. + +2011-01-09 Peter Rosin <peda@lysator.liu.se> + + Fix another typo in Rule.pm comment. + * lib/Automake/Rule.pm: Fix typo. + +2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: texinfo unrecognized extensions + * tests/txinfo-unrecognized-extension.test: New test. + * tests/Makefile.am (TESTS): Update. + + Improve, extend and tweak tests on Texinfo support. + * tests/instdir-texi.test: Add a call to `ls -l' after that to + `make', for debugging. When looking for required tools, do not + redirect the output of "$tool --help" to /dev/null, and do not + uselessly run it in a subshell. + * tests/txinfo.test: Rewritten to run autoconf, ./configure and + make. All checks moved into Makefile.am. + * tests/txinfo8.test: Likewise, and modernize the generated + configure.in. + * tests/txinfo2.test: Moved checks into Makefile.am, and other + minor improvements. + * tests/txinfo5.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. + * tests/txinfo6.test: Likewise, and make grepping of generated + Makefile.in stricter. + * tests/txinfo7.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. Do not add unnecessary stuff + to Makefile.am. + * tests/txinfo9.test: Verify that more targets which are expected + to be generated only once really are. Make grepping less strict, + to avoid exposing too much internal details. More minor changes. + * tests/txinfo16.test: Add trailing `:'. Prefer cat over echo + for appending to configure.in. Updated/fixed heading comments. + * tests/txinfo23.test: Likewise, and extended a little by making + it check that no info file is created in the $(srcdir). + * tests/txinfo24.test: Likewise. + * tests/txinfo25.test: Likewise. + * tests/txinfo18.test: Add trailing `:'. Prefer cat over echo + for appending to configure.in. Also, check that index files are + cleaned also by "make clean", not only by "make distclean". + * tests/txinfo22.test: Prefer `$me' over hard-coded test name, + and added trailing `:' command. This testcase also used to check + that automake ignores in-line comments when using variables, but + preserves them in the output; these checks (added in commit + "Release-1-7f-4-g9177ef8") do not really pertain to this test, + so they have been moved ... + * tests/comments-in-var-defn.test: ... into this new test. + * tests/txinfo4.test: Escape literal dots in grep regexps. Add + trailing `:' command. + * tests/txinfo29.test: Likewise. Relax grepping of generated + Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to + append to configure.in. + * tests/txinfo3.test: Likewise. + * tests/vtexi.test: Improve grepping of Makefile.in (sometimes + make it stricter, sometimes laxer). Move `set -e' setting just + after the inclusion of ./defs. De-uglify a sed command. Other + minor cosmetic improvements. + * tests/vtexi2.test: Make grepping of Makefile.in stricter. Add + trailing `:' command. + * tests/vtexi3.test: New test on version.texi support. + * tests/vtexi4.test: Likewise. + * tests/Makefile.am (TESTS): Updated. + +2011-01-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + tests: fix spurious failure in 'tests/yflags-conditional.test' + * tests/yflags-conditional.test: Filter out message "warnings are + treated as errors" from automake stderr, to avoid a false positive + when grepping for extraneous warning messages. + +2011-01-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc: warn about conditional content in *YFLAGS variables + This change fixes automake bug#7804. + * automake.in (lang_yacc_target_hook): Warn if any of the relevant + *YFLAGS variables has conditional contents (not only a conditional + definition). Related refactoring. + * NEWS: Updated. + * tests/yflags-conditional.test: Updated and extended. + * tests/yflags-conditional-force.test: New test. + * tests/Makefile.am (TESTS): Updated. + +2011-01-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc: support variable expansions in *YFLAGS definition. + This change fixes automake bug#7800. + * automake.in (lang_yacc_target_hook): Use 'value_as_list_recursive' + instead of 'variable_value' to get the value of *YFLAGS variables. + Related changes. + ($DASH_D_PATTERN): Removed. + * tests/Makefile.am (XFAIL_TESTS): Remove yflags-var-expand.test. + * tests/yacc-clean.test: Remove workaround for now-fixed bug. + * NEWS: Update. + +2011-01-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc: more tests on *YFLAGS support + * tests/yflags-var-expand.test: New test, still xfailing. It + exposes automake bug#7800 -- "automake fails to honor `-d' in + AM_YFLAGS when variable expansions are involved". + * tests/yflags-d-false-positive.test: New test, checking that + automake do not spuriously see `-d' in *YFLAGS when that isn't + really there. + * tests/yflags-force-override.test: New test, checking that + automake can cope with definition of the YFLAGS variable in + Makefile.am (even if that is an extremely bad practice, as that + variable is user-reserved). + * tests/yflags-cmdline-override.test: New test, checking that + automake can cope with user-redefinition of YFLAGS at configure + time and/or at make time. + * tests/yflags-conditional.test: New test, checks that automake + warns on conditionally-defined *YFLAGS variables. + * tests/Makefile.am (TESTS, XFAIL_TESTS): Update. + +2011-01-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc: extend and improve tests + * tests/yacc-basic.test: Also check that the intermediate C file + is mentioned in the generated Makefile.in, and that it is created + by the first make invocation. + * tests/yacc3.test: Test removed, superseded by ... + * tests/yacc-d-basic.test: ... this new test. + * tests/yacc2.test: Add reference to that new test in the heading + comments. + * tests/yacc-d-vpath.test: New test. + * tests/yaccvpath.test: Updated heading comments. Do not require + gcc anymore, as any working C compiler should be enough. Remove + redundant comments. + * tests/yacc-nodist.test: New test. + * tests/yacc-dist-nobuild.test: New test. + * tests/Makefile.am (TESTS): Update. + +2010-12-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + Extend, fix and improve tests on Lex and Yacc support. + * tests/lexcpp.test: New test script, on support for Lex + C++. + * tests/lexvpath.test: New test script, test build and rebuild + rules for lexers in VPATH setup. + * tests/yacc-basic.test: New test script, run simple "semantic" + checks on basic Yacc support (similarly to what lex3.test does + for Lex support). + * tests/lex.test: Don't create useless dummy source file joe.l. + Remove extra blank lines. + * tests/lex4.test: Add trailing `:' command. Do not create dummy + useless lex source file. + * tests/lex2.test: Likewise. Call automake with the `-a' option, + so that it doesn't fail for the absence of `ylwrap' script. Make + grepping of automake stderr stricter. + * tests/yacc7.test: Add trailing `:' command. Enable `errexit' + shell flag earlier (just after having sourced ./defs). + * tests/yacc4.test: Likewise. Also ... + (configure.in): Use pre-populated skeleton set up by ./defs, + instead of writing one from scratch. + Other minor cosmetic changes. + * tests/yacc5.test: Likewise. + * tests/yaccvpath.test: Likewise. Also ... + ($distdir): New variable. + Use it throughout. + * tests/lex5.test: Likewise. + * tests/lex3.test: Likewise. Check the distdir, rather than + grepping the distribution tarball. Extend the test on the + created binary, and be sure to avoid hangs. Add some comments. + * tests/yacc.test: Use stricter grepping. Add trailing `:'. + * tests/yacc6.test: Likewise. + * tests/yacc3.test: Likewise. Do not create the unused file + `Makefile.sed'. Remove useless rules from Makefile.am. Other + minor cosmetic changes. + * tests/yacc2.test: Make grepping of generated `Makefile.in' and + of automake error messages stricter. Do not redirect output of + grep to /dev/null. Move call to aclocal earlier. Reduce the + number of empty blank lines. Fix a typo in comments. + * tests/yacc8.test: Fixed bugs that reduced the completeness of + the tests. Added trailing `:' command. + (configure.in): Use pre-populated skeleton set up by ./defs, + instead of writing one from scratch. + * tests/yaccpp.test: Test also extensions `.y++', `.ypp', and + `.yxx', rather than only `.yy'. + * tests/Makefile.am (TESTS): Update. + +2011-01-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + cosmetics: remove trailing whitespaces + * doc/automake.texi: Remove trailing whitespaces. + * tests/cond13.test: Likewise. + * tests/cond14.test: Likewise. + * tests/fort4.test: Likewise. + * tests/fort5.test: Likewise. + * tests/libobj17.test: Likewise. + * tests/suffix7.test: Likewise. + * tests/vtexi2.test: Likewise. + + automake: minor fixes in comments + * automake.in: Some minor fixes and enhancements in comments. + +2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Add test coverage for deleted header files. + * tests/depcomp6.test, tests/depcomp7.test: Update tests to + also check for the deleted header bug. If no dependency + tracking mechanism could be found, SKIP rather than exit + successfully. Use GNU style spacing and ANSI C prototypes. + + Fix typos in Rule.pm comments. + * lib/Automake/Rule.pm: Fix typos in comments. + + docs: split 'amhello Explained' node. + * doc/automake.texi (amhello Explained): Split node ... + (amhello's configure.ac Setup Explained) + (amhello's Makefile.am Setup Explained) : ... into these two. + (Top, Hello World): Adjust, and add @anchor for stable URL links. + Suggestion by Karl Berry in automake bug#7766. + +2011-01-08 Karl Berry <karl@freefriends.org> + Eric Blake <eblake@redhat.com> + + docs: reference defining directories in amhello node. + * doc/automake.texi (amhello Explained): Point to Autoconf + manual for how to convert directory values into macros. + (Optional): Fix grammar nit. + +2011-01-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + yacc: "make clean" removes .c and .h files from non-distributed .y + Previously, while automake did *not* distribute C source and header + files derived from non-distributed Yacc sources, it still caused + them to be removed only by "make maintainer-clean" only, and not by + simply "make clean" or "make distclean". + This caused "make distcheck" to fail, unless the developer put + those generated .c and .h files in CLEANFILES or in DISTCLEANFILES + by hand. + This change fixes this issue, by making non-distributed `.c' and + `.h' files generated by non-distributed Yacc sources cleaned by + "make clean". + * tests/automake.in (lang_yacc_target_hook): Make C source and + header files derived from non-distributed Yacc files cleaned by + "make clean", not only by "make maintainer-clean". + * tests/yacc-clean.test: New test. + * tests/Makefile.am (TESTS): Update. + * NEWS: Update. + +2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + * NEWS: Fix typo (forgotten word). + +2011-01-02 Stefano Lattarini <stefano.lattarini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + docs: how to work around checks on invalid primary/directory couples + * doc/automake.texi (Uniform): Document the blessed idiom which can + be used to work around automake checks on invalid primary/directory + couples (such as `lib_PROGRAMS' or `doc_LIBRARIES'). + +2010-01-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + Tests: normalize use of the 'errexit' shell flag. + * tests/maken3.test (check_targets): Remove redundant call to + 'set -e'. + * tests/maken4.test: Likewise. + * tests/ansi5.test: Call 'set -e' just after './defs' has been + sourced. + * tests/ansi6.test: Likewise. + * tests/ansi7.test: Likewise. + * tests/cond16.test: Likewise. + * tests/cond17.test: Likewise. + * tests/cond18.test: Likewise. + * tests/cond19.test: Likewise. + * tests/cond20.test: Likewise. + * tests/cond21.test: Likewise. + * tests/instdat2.test: Likewise. + * tests/instdir-texi.test: Likewise. + * tests/parallel-tests3.test: Likewise. + * tests/remake1a.test: Likewise. + * tests/ccnoco.test: Likewise, and add trailing `:' command. + * tests/comment4.test: Likewise. + * tests/gcj4.test: Likewise. + * tests/nodist2.test: Likewise. + * tests/nodist3.test: Enable 'errexit' shell flag (this should + have been done in commit v1.11-248-g317e17b, but the relevant + hunk has been forgotten somehow). + * tests/output.test: Likewise. + * tests/gnits2.test: Likewise, and display captured stderr to + script's stderr, not to script's stdout. + * tests/gnits3.test: Likewise. Also, prefer 'cat' over 'echo' + to append to Makefile.am, and really check that the exit status + of "make installcheck" indicates failure. + +2011-01-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Sync auxiliary files from upstream. + * lib/config.guess, lib/config.sub, lib/texinfo.tex: + Sync from upstream. + + Avoid caching bug in cygnus mode test. + * tests/cygnus-requires-maintainer-mode.test: Remove + autom4te.cache directory before rerunning aclocal, to + remove trace caches. + + Fix maintainer-check regression. + * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the + environment. + + Bump copyright years. + * aclocal.in (write_aclocal, version): Bump copyright years. + * automake.in (gen_copyright, version): Likewise. + * doc/automake.texi: Likewise. + +2010-12-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + * NEWS: Add missing blank line between two entries. + +2010-12-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + Improve and extend tests `suffix*.test'. + * tests/suffix.test: Check that suffix rules for C compilation are + only included once. Try also with a static library. + * tests/suffix2.test: Add a new grep to help potential debugging. + Do not run automake with the `--add-missing' options, since we + already create all the needed auxiliary files. Try also *without* + the `no-dependencies' automake option. + * tests/suffix4.test: Make grepping of Makefile.in stricter. + * tests/suffix3.test: Rewritten to run also autoconf, ./configure + and make. + * tests/suffix5.test: Likewise. + * tests/suffix6.test: Fix botched recipe indentation (eight spaces + were used instead of a tabulation character). Extend to check + that `.obj' is handled like `.$(OBJEXT)' (as is done for `.o'). + Improved parsing & grepping of generated Makefile.in. Other minor + fixes and improvements. + * tests/suffix10.test: Move some checks in Makefile.am. Also run + "make all". + * tests/suffix12.test: Likewise, and account for VPATH issues in + weaker make implementations. + * tests/suffix11.test: Likewise. Also, run "make distcheck", for + completeness, and related changes. + * tests/suffix8.test: Likewise. Also, do not put `gcc' anymore + in $required. + * tests/suffix13.test: Do not use the `--force-missing' automake + option unnecessarily. + * tests/suffix6b.test: New test, semantic sister of `suffix6.test'. + * tests/suffix6c.test: Likewise. + * tests/Makefile.am (TESTS): Updated. + +2010-12-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Stefano Lattarini <stefano.lattarini@gmail.com> + + Work around a bug in file-inclusion mechanism of Solaris make. + * automake.in (handle_single_transform): In the name of the + dependency file: collapse multiple slash characters into a single + one. + * tests/subobj11a.test: New test. + * tests/subobj11b.test: Likewise. + * tests/subobj11c.test: Likewise. + * tests/depcomp8a.test: Likewise. + * tests/depcomp8b.test: Likewise. + * tests/Makefile.am (TESTS): Updated. + * NEWS: Updated. + Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final + patch and tests by Stefano Lattarini. + +2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix two spurious testsuite failures on IRIX 6.5. + * tests/suffix13.test (Makefile.am): Account for VPATH issues on + weaker make implementations (e.g. IRIX 6.5). + * tests/parallel-tests8.test: Likewise, plus a required related + change. + Reported by Ralf Wildenhues. The bugs have been there from the + first versions of the affected test scripts. + +2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: cygnus mode doesn't require AM_CYGWIN32 macro. + * doc/automake.texi (Cygnus): Mode 'cygnus' does not require + the AM_CYGWIN32 macro (and indeed hasn't required it since at + least commit Release-1-2-31-g3038064 "merged changes from + Cygnus" of 1997-08-25). + +2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + Add some tests on 'cygnus' mode. + * tests/clean2.test: Extend. + * tests/cygnus-check-without-all.test: New test. + * tests/cygnus-dependency-tracking.test: Likewise. + * tests/cygnus-distclean.test: Likewise. + * tests/cygnus-imply-foreign.test: Likewise. + * tests/cygnus-no-dist.test: Likewise. + * tests/cygnus-no-installinfo.test: Likewise. + * tests/cygnus-requires-maintainer-mode.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix parallel testsuite run with Zsh. + This change deals with a Zsh incompatibility in the handling + of the special shell variable `$0' in sourced files; this + incompatibility used to cause utter breakage when the + Automake testsuite was run in parallel mode with Zsh as + the $(TEST_LOG_COMPILER). + For more information, please refer to the thread "Fix parallel + testsuite run with zsh" on automake-patches, dated 2010-12-22: + <http://lists.gnu.org/archive/html/automake-patches/2010-12/msg00135.html> + This change works around the problems described above for Zsh 4.3 + or later, and offers better error messages (instead of random + failures) for earlier Zsh version. + * tests/README (Supported shells): When describing the manual + workaround about the Zsh incompatibility in the handling of `$0', + tell that it is now needed only with Zsh versions preceding 4.3. + Done also some minor rewordings. + * tests/defs-static.in ($argv0): New variable, offers a workaround + for the Zsh incompatibility in the handling of `$0'. + Abort if that variable cannot be correctly set (can happen only + in older Zsh version). + * tests/defs ($me): Define using `$argv0', not `$0'. + +2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + Tests defs: keep track of original $AUTOMAKE and $ACLOCAL values. + This is especially useful for tests which might want to run + automake and aclocal without additional flags and warnings. + * tests/defs-static.in ($original_ACLOCAL): New variable. + ($original_AUTOMAKE): Likewise. + * tests/help.test: Use them. + * tests/help2.test: Likewise. + * tests/help3.test: Likewise. + * tests/help4.test: Likewise. + From a suggestion by Ralf Wildenhues. + +2010-12-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + distlinksbrk.test: Work around botched "make -k". + * tests/distlinksbrk.test: Run "make" multiple times and grep + its output each time for a single error message, rather than + running "make -k" one single time and grepping its output for + all the expected error messages. This should work around make + implementations with limited (broken?) `-k' support; for more + information, see these subthreads on the automake-patches list: + - 2010-11-15, "Testsuite failures on HP-UX 11.23", + <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html> + - 2010-11-15, "Testsuite failures on IRIX 6.5", + <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html> + +2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + Minor improvements to test 'amopts.test'. + * tests/amopts.test: Remove botched comment. Make grepping of + automake stderr slighty stricter. Add trailing `:' command. + +2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + backcompat6.test: avoid comments inside recipe commands. + * tests/backcompat6.test: Remove shell comments from makefile rule + commands, as they are not portable to (at least) Tru64 make. + +2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + man8.test: avoid comments inside recipe commands. + * tests/man8.test: Remove shell comments from makefile rule + commands, as they are not portable to (at least) Tru64 make. + +2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix sed-related buglet in test "subdir5.test" + * tests/subdir5.test: Always terminate text passed to the + `i' sed command with a newline, to work around limitations + in e.g. older OpenBSD sed. + +2010-12-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix spurious failures in tests on AC_CONFIG_AUX_DIR. + * tests/auxdir7.test: Do not try to needlessly overwrite the files + `install-sh' and `missing'. This avoid spurious failures in "make + distcheck", when those files might be copied as read-only from the + `lib' directory. + * tests/auxdir8.test: Likewise. + +2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + Make test 'posixsubst-script' portable to MinGW/MSYS. + * tests/posixsubst-script.test: Ensure that the generated dummy + scripts really start with a shebang line, to work around a + limitation of 'test -x' on MinGW/MSYS. + Reported by Ralf Wildenhues. + + Improve comments in tests `posixsubst*.test'. + * tests/posixsubst-data.test: Improve comment explaining why we + try also empty match suffix. + * tests/posixsubst-extradist.test: Likewise. + * tests/posixsubst-ldadd.test: Likewise. + * tests/posixsubst-libraries.test: Likewise. + * tests/posixsubst-ltlibraries.test: Likewise. + * tests/posixsubst-programs.test: Likewise. + * tests/posixsubst-scripts.test: Likewise. + * tests/posixsubst-sources.test: Likewise. + * tests/posixsubst-tests.test: Likewise. + Suggested by Ralf Wildenhues. + +2010-12-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: fix blunder in example about python extension modules + * doc/automake.texi (Python): Use `quaternion_la_SOURCES', + not `quaternion_SOURCES', to declare the sources of python + extension module `quaternion.la'. + +2010-12-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + docs: list LTLIBRARIES among Automake primaries + * doc/automake.texi (Uniform): List `LTLIBRARIES' among + the Automake primaries. + +2010-12-13 Stefano Lattarini <stefano.lattarini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Tests defs: requirement 'xsi-shell' must be synced with libtool. + * tests/defs (xsi-shell): Add comment telling to keep the + XSI-conformance checks in sync with libtool. + +2010-12-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + Minor cleanups in canon7.test. + * tests/canon7.test (_foo_bar_SOURCES): Remove libs.c. + (configure.in): Remove AC_PROG_CXX. + +2010-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Avoid false positive in sc_tests_plain_make maintainer-check. + * Makefile.am (sc_tests_plain_make): Ensure to only match full + `make' words. Avoid false positive with remake11.test. + +2010-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix canon7.test failure. + * tests/canon7.test (_foo_bar_SOURCES): Add foobar.c. + (lib.h, libd.c, libs.c): Use const for constant strings. + +2010-12-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix typos in test comments. + * tests/posixsubst-data.test, tests/posixsubst-extradist.test, + tests/posixsubst-ldadd.test, tests/posixsubst-libraries.test, + tests/posixsubst-ltlibraries.test, tests/posixsubst-programs.test, + tests/posixsubst-scripts.test, tests/posixsubst-sources.test, + tests/posixsubst-tests.test: Fix typos. + +2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + More uses of AS_HELP_STRING in automake macros. + * m4/depend.m4 (AM_DEP_TRACK): Use `AS_HELP_STRING' to format + the help message added to the generated configure. + * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise. + * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise. + * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise. + * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise. + Also, bumped all serial numbers of the modified m4 files. + +2010-12-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + Improve tests on generated portions of configure help screen. + * tests/help-depend.test: Grepping of configure help screen + relaxed to cater for possible line wrapping, and tightened in + other respects. + * tests/help-depend2.test: Likewise. + * tests/help-dmalloc.test: Likewise. + * tests/help-lispdir.test: Likewise. + * tests/help-maintainer.test: Likewise. + * tests/help-multilib.test: Likewise. + * tests/help-silent.test: Likewise. + * tests/help-upc.test: Likewise. + * tests/help-init.test: Grepping of configure help screen + tightened. + +2010-12-15 Stefano Lattarini <stefano.lattarini@gmail.com> + + Extended tests on AC_CONFIG_AUX_DIR. + * tests/auxdir.test: Enable `errexit' shell flag. Prefer `$me' + over hard-coded test name. Use proper m4 quoting. Add trailing + `:' command. + * tests/auxdir2.test: Likewise. Try to call automake also with + the `-a' option, so that it will not fail for spurious reasons. + * tests/auxdir3.test: Add an explanatory comment and a trailing + `:' command. + * tests/auxdir4.test: Prefer `$me' over hard-coded test name. + Make grepping of automake stderr slightly stricter. Also, now + this test just checks about Automake's reaction to unportable + auxiliary directory names (and it has been extended in this + respect). Moved the checks about non-existent auxiliary + directories to ... + * tests/auxdir5.test: ... this new test. + * tests/auxdir6.test: New test. + * tests/auxdir7.test: Likewise. + * tests/auxdir8.test: Likewise. + * tests/auxdir9.test: Likewise. + * tests/Makefile.am (TESTS): Updated. + +2010-12-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + Tests: extend checks on remake rules. + This adds proper semantical tests (i.e. run make to check the + rebuild rules are correctly triggered) in addition to tentative + grepping of the generated Makefile.in(s). + * tests/remake.test: Enable `errexit' shell flag, and related + changes. Modernize `configure.in'. Add trailing `:' command. + Improve heading comments, and add a reference to new sister test + remake1a.test. + * tests/remake3.test: Likewise (but with sister test being + remake3a.test). + * tests/remake2.test: Improve heading comments. Enable `errexit' + shell flag, and related changes. Modernize `configure.in'. Make + grepping of `Makefile.in' slightly stricter. Add trailing `:' + command. + * tests/remake5.test: Also run the `distcheck' target. Add + trailing `:' command. Use proper m4 quoting in configure.in. + * tests/remake4.test: Prefer `$me' over hard-coded test name. + * tests/remake7.test: Use the `configure.in' stub created by + ./defs, rather than writing it from scratch. + * tests/remake6.test: Likewise. Also, add trailing `:' command, + and ensure verbose printing of captured make output. + * tests/remake1a.test: New test, sister of remake.test. + * tests/remake3a.test: New test, sister of remake3.test. + * tests/remake8a.test: New test. + * tests/remake8b.test: Likewise. + * tests/remake9a.test: Likewise. + * tests/remake9b.test: Likewise. + * tests/remake9c.test: Likewise. + * tests/remake9d.test: Likewise. + * tests/remake10a.test: Likewise. + * tests/remake10b.test: Likewise. + * tests/remake10c.test: Likewise. + * tests/remake11.test: Likewise. + * tests/remake12.test: Likewise. + * tests/Makefile.am (TESTS): Updated. + +2010-12-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + Improve and extend tests on canonicalization. + * tests/canon-name.test: Add trailing `:' command. When writing + configure.in, prefer to use $me instead of hard-coding the test + name. + * tests/canon3.test: Prefer trailing `:' over trailing `Exit 0'. + * tests/canon4.test: Likewise. Make grepping of Makefile.in + stricter. Improve heading comment, and add reference to ... + * tests/canon6.test: ... this new test (sister test of the + previous one). + * tests/canon.test: Prefer cat + here-doc over echo to append + text to configure.in. Extend grepping of Automake stderr. Add + trailing `:' command. + * tests/canon5.test: Likewise. + * tests/canon7.test: New file, stress test on canonicalization. + * tests/canon8.test: New test, for better coverage (check that + the `@' character is not transliterated in canonicalizations). + * tests/Makefile.am: Updated. + +2010-12-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + Libobj tests: refer to automake bug tracker for limitations. + * tests/libobj15b.test (configure.in): In the comment explaining + why an apparently redundant AC_OUTPUT is indeed needed, refer + to the relevant entry in the Automake bug tracker rather than + describing the bug in detail with a FIXME-style comment. + * tests/libobj15c.test: Likewise. + * tests/libobj20b.test: Likewise. + + Libobj tests: do not use `##' automake comments in-line. + * tests/libobj19.test (Makefile.am): Do not use inline `##' + comments in the definition of AUTOMAKE_OPTIONS. + * tests/libobj20c.test: Likewise. + Report by Ralf Wildenhues. + +2010-12-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + Tests defs: more uses of $top_testsrcdir. + * tests/compile6.test: Use `$top_testsrcdir' instead of + `$testsrcdir/..'. + +2010-11-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + Tests required tools: also try `-v' option for GNU compilers. + * tests/defs.in: In the loop on "$required" tools, for gcc + and g++, also run "gcc -v" (resp. "g++ -v"), to get more + information, and for consistency with gcj. + +2010-11-12 Stefano Lattarini <stefano.lattarini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Tests defs: avoid some useless subshells. + * tests/defs: In the loop on "$required" tools: avoid subshells + where not needed. + +2010-12-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + Extend tests on AC_LIBOBJ and friends. + * tests/aclibobj.test: Removed, superseded by ... + * tests/libobj-basic.test: ... this new test, which runs autoconf, + ./configure and make, to ensure everything really works. + * tests/libobj3.test: Add trailing `:' command. Escape literal + dot in grep regexp. + * tests/libobj4.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. Use proper m4 quoting. + * tests/ltlibobjs.test: Likewise. + * tests/libobj5.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. Make more robust by using + longer filenames to be grepped. + * tests/libobj8.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. Use the configure.in + stub provided by ./defs, rather than writing it from scratch. + * tests/libobj2.test: Likewise. Also, add calls to autoconf, + ./configure and make, to ensure everything really works. + * tests/libobj7.test: Likewise, and ensure that at least one + function listed in AC_REPLACE_FUNCTIONS is truly replaced. + * tests/libobj13.test: Make grepping of Automake stderr slightly + stricter. Add trailing `:' command. + * tests/libobj12.test: Likewise. Also, prefer "cat + here-doc" + over "echo" to append to Makefile.am, and some cosmetic changes + in spacing. + * tests/libobj14.test: Call `Exit 1' if sourcing of ./defs fails. + Slighty improve m4 quoting. Add trailing `:' command. + * tests/libobj10.test: Add calls to autoconf, ./configure and + make, to ensure everything really works. Also, remove tests that + nonexistent source for AC_LIBOBJ cause an Automake failure: this + is already checked by ... + * tests/libobj15a.test: ... this new test. + * tests/libobj15b.test: New test, sister test of libobj15a.test, + checks AC_LIBSOURCE instead of AC_LIBOBJ. + * tests/libobj15c.test: New test, sister test of libobj15a.test, + checks AC_LIBSOURCES instead of AC_LIBOBJ. + * tests/libobj11.test: Removed, superseded by ... + * tests/libobj16a.test: ... this new test. + * tests/libobj16b.test: New test, sister test of libobj16a.test, + but using oldish/deprecated idioms. + * tests/libobj17.test: New test. + * tests/libobj18.test: Likewise. + * tests/libobj19.test: Likewise. + * tests/libobj20a.test: Likewise. + * tests/libobj20b.test: Likewise. + * tests/libobj20c.test: Likewise. + * tests/Makefile.am (TESTS): Updated. + +2010-12-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + Test `$(var:suf=rpl)' expansion in special automake variables. + * tests/posixsubst-data.test: New test. + * tests/posixsubst-extradist.test: Likewise. + * tests/posixsubst-ldadd.test: Likewise. + * tests/posixsubst-libraries.test: Likewise. + * tests/posixsubst-ltlibraries.test: Likewise. + * tests/posixsubst-programs.test: Likewise. + * tests/posixsubst-scripts.test: Likewise. + * tests/posixsubst-sources.test: Likewise. + * tests/posixsubst-tests.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2010-12-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + Make tests `colon*.test' more "semantic". + Prefer running configure and make over grepping the generated + files; this is both more correct and less fragile. + * tests/colon.test: Made more "semantic", as described above. + * tests/colon5.test: Likewise. + * tests/colon6.test: Likewise. + * tests/colon7.test: Likewise. + * tests/colon2.test: Likewise, and improve syncing with sister + test `colon3.test'. + * tests/colon3.test: Likewise (but with the sister test being + `colon2.test' here). + +2010-12-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Avoid running installed automake from 'libtool --help'. + * tests/subobj9.test: Export AUTOCONF and AUTOMAKE. + Together with fixed Libtool, this fixes check-coverage to not + invoke installed automake. + +2010-12-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + Separate checks on target overriding into multiple test scripts. + * tests/overrid.test: Deleted, its contents separated into ... + * tests/override-suggest-local.test: ... this new test ... + * tests/override-html.test: ... and this new test ... + * tests/override-conditional-1.test: ... and this new test ... + * tests/override-conditional-2.test: ... and this new test (still + xfailing). + * tests/Makefile.am (TESTS, XFAIL_TESTS): Updated. + + Enable `set -e' in more tests (plus some tweakings). + * tests/implicit.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. + * tests/insh2.test: Likewise. + * tests/instman2.test: Likewise. + * tests/interp.test: Likewise. + * tests/interp2.test: Likewise. + * tests/library.test: Likewise. + * tests/mclean.test: Likewise. + * tests/info.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. Remove useless chaff from + generated Makefile.am. Add a "FIXME" comment. + * tests/include.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. Prefer cat + here-doc over + echo to append to configure.in. Make tests more robust by using + longer and less common names to grep. Remove an useless call to + echo. Remove an useless subshell. + * tests/header.test: Enable `errexit' shell flag, and related + changes. Use proper m4 quoting. Add excerpts from the original + report of the bug tested for by this script. + * tests/gcj.test: Enable `errexit' shell flag, and related + changes. Use proper m4 quoting. Add trailing `:' command. + * tests/gcj3.test: Likewise. + * tests/ldflags.test: Likewise. + * tests/libtool.test: Likewise. + * tests/listval.test: Likewise. + * tests/javaprim.test: Likewise, and prefer cat + here-doc over + echo to append to configure.in. + * tests/javasubst.test: Likewise. + * tests/discorver.test: Enable `errexit' shell flag. Prefer + trailing `:' over trailing `Exit 0'. + * tests/instdat.test: Enable `errexit' shell flag, and related + changes. Use proper m4 quoting. Avoid useless subshell. Prefer + cat + here-doc over echo to append to configure.in. + * tests/libtool2.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. Use the configure.in + stub provided by ./defs, rather than writing it from scratch. + + Modernize, improve and/or tweak some test scripts. + * tests/maintclean.test: Use proper m4 quoting. Add trailing `:' + command. + * tests/sinclude.test: Likewise, and add a couple of blank lines, + for clarity. + * tests/make.test: Move setting of `errexit' shell flag earlier in + the script (just after inclusion of ./defs). Use the configure.in + stub created by ./defs, rather than writing it from scratch. Some + cosmetic changes in spacing. Ensure we wait enough time before + touching configure.in to trigger the rebuild rules. + * tests/makej.test: Use `$me' instead of hard-coding the test + name. Add trailing `:' command. + * tests/version7.test: Likewise. + * tests/space.test: Enable `errexit' shell flag, and related + changes. + * tests/makevars.test: Likewise. Also, prefer trailing `:' over + trailing `Exit 0', and be more tolerant of white spaces when + grepping Makefile.in. + +2010-12-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + * tests/silent8.test: Use "|| Exit 1" after ". ./defs". + + Enable `set -e' in more tests (plus some tweakings). + * tests/mkinstall.test: Enable `errexit' shell flag, and related + changes. Add a trailing `:' command, if needed. + * tests/mdate2.test: Likewise. + * tests/objc.test: Likewise. + * tests/noinst.test: Likewise. + * tests/outdir.test: Likewise. + * tests/number.test: Likewise. + * tests/pluseq.test: Likewise. + * tests/req.test: Likewise. + * tests/rulepat.test: Likewise. + * tests/specflg6.test: Likewise. + * tests/spell3.test: Likewise. + * tests/parse.test: Likewise, and ... + (configure.in): Use the stub created by ./defs, rather than + writing it from scratch. Remove useless calls to AC_PROG_RANLIB + and AC_OUTPUT. + * tests/mdate4.test: Likewise. + * tests/mkinstall.test: Likewise, and ... + (configure.in): ... drop useless call to `AC_OUTPUT'. + * tests/output.test: Enable `errexit' shell flag, and related + changes. Add a trailing `:' command. + (configure.in): Modernize. + * tests/output2.test: Likewise. + * tests/output3.test: Likewise. + * tests/output4.test: Likewise. + * tests/mdate3.test: Enable `errexit' shell flag, and related + changes. Prefer `$me' over hard-coded test name. Do not move + non-existent or useless files in the build auxiliary directory. + * tests/nodistdir.test: Enable `errexit' shell flag, and related + changes. Prefer trailing `:' over trailing `Exit 0'. + * tests/nodist.test: Likewise. Also, prefer cat + here-doc over + echo to create input test files, and do not create useless dummy + C source files. + * tests/nodist2.test: Likewise. + * tests/ppf77.test: Enable `errexit' shell flag, with related + changes. Add a trailing `:' command. Do not create useless + dummy source files. + * tests/spelling.test: Enable `errexit' shell flag, with related + changes. Add a trailing `:' command. Also, grep Automake error + message. + * tests/specflg3.test: Enable `errexit' shell flag, with related + changes. Avoid unportable use of `-e' option of fgrep. Prefer + trailing `:' over trailing `Exit 0'. Remove extra empty lines, + and cosmetic changes to whitespaces. + * tests/obsolete.test: Enable `errexit' shell flag, with related + changes. Improve verbosity. Other miscellaneous changes. + +2010-11-30 Stefano Lattarini <stefano.lattarini@gmail.com> + + Improve and extend tests on `:=' variable assignments. + * tests/colneq.test: Avoid redundant use of variable assignments + in Makefile.am. Use command-line automake options instead of + editing AUTOMAKE_OPTIONS in Makefile.am. Make grepping of the + generated Makefile.in slightly stricter. Add a trailing `:' + command. + * tests/colneq2.test: Do not create unneeded dummy files. Run + also autoconf, ./configure and make. Add trailing `:' command. + * tests/colneq3.test: New test, similar to colneq.test, but + running also autoconf, ./configure and make. + * tests/Makefile.am (TESTS): Update. + +2010-11-26 Stefano Lattarini <stefano.lattarini@gmail.com> + + Remove long-deprecated options --Werror and --Wno-error. + These options has been deprecated at least since commit + "Release-1-6-1b-35-gc037f20", dated 2002-07-06. + * automake.in (parse_arguments): Do not recognize anymore options + `--Werror' and `--Wno-error' as synonyms of respectively `-Werror' + and `-Wno-error'. + * tests/werror.test: Update: use `-Werror' instead of `--Werror'. + * NEWS: Update. + +2010-11-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix spurious failures in `silent*.test' for $CC != gcc + In some tests on automake-produced silent rules, we forced the + use of gcc depmode to improve testsuite coverage; but this has + unsurprisingly led to spurious failures when some non-GNU C + compilers were used. So we are now careful to require GCC in + tests that force gcc depmode. + From reports by Ralf Wildenhues. + * tests/silent5.test: Test removed, its content split into ... + * tests/silent-many-generic.test, tests/silent-many-gcc.test: ... + these new sister tests, the latter of which forces gcc depmode + and lists "gcc" in $required. + * tests/silentlex.test: Test removed, its content split into ... + * tests/silent-lex-generic.test, tests/silent-lex-gcc.test: ... + these new sister tests, the latter of which forces gcc depmode + and lists "gcc" in $required. + * tests/silentyacc.test: Test removed, its content split into ... + * tests/silent-yacc-generic.test, tests/silent-yacc-gcc.test: ... + these new sister tests, the latter of which forces gcc depmode and + lists "gcc" in $required. + * tests/Makefile.am (TESTS): Updated. + +2010-11-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + Tests: consistently use "|| Exit 1" after ". ./defs". + * tests/autohdr.test: Use `. ./defs || Exit 1', not bare + `. ./defs', for consistency with other tests. + * tests/autohdr2.test: Likewise. + * tests/autohdr3.test: Likewise. + * tests/autohdr4.test: Likewise. + * tests/cond23.test: Likewise. + * tests/cond24.test: Likewise. + * tests/cond25.test: Likewise. + * tests/cond26.test: Likewise. + * tests/cond27.test: Likewise. + * tests/cond28.test: Likewise. + * tests/cond29.test: Likewise. + * tests/cond30.test: Likewise. + * tests/cond31.test: Likewise. + * tests/cond32.test: Likewise. + * tests/cond33.test: Likewise. + * tests/cond34.test: Likewise. + * tests/cond35.test: Likewise. + * tests/cond36.test: Likewise. + * tests/cond37.test: Likewise. + * tests/cond38.test: Likewise. + * tests/cond39.test: Likewise. + * tests/cond40.test: Likewise. + * tests/cond41.test: Likewise. + * tests/cond42.test: Likewise. + * tests/cond43.test: Likewise. + * tests/cond44.test: Likewise. + * tests/cond45.test: Likewise. + * tests/dollarvar.test: Likewise. + * tests/dollarvar2.test: Likewise. + * tests/hfs.test: Likewise. + * tests/libobj14.test: Likewise. + * tests/percent.test: Likewise. + * tests/percent2.test: Likewise. + * tests/phony.test: Likewise. + * tests/silent.test: Likewise. + * tests/silent2.test: Likewise. + * tests/silent3.test: Likewise. + * tests/silent4.test: Likewise. + * tests/silent5.test: Likewise. + * tests/silent6.test: Likewise. + * tests/silent7.test: Likewise. + * tests/silent9.test: Likewise. + * tests/silentcxx.test: Likewise. + * tests/silentf77.test: Likewise. + * tests/silentf90.test: Likewise. + * tests/silentlex.test: Likewise. + * tests/silentyacc.test: Likewise. + + Avoid useless cleaning in some `silent*.test' tests. + * tests/silentf77.test: Removed useless calls to "make clean" + and "make maintainer-clean". + * tests/silentf90.test: Likewise. + * tests/silent3.test: Removed useless call to "make distclean". + * tests/silent4.test: Likewise. + * tests/silent9.test: Likewise. + +2010-11-19 Ian Lance Taylor <iant@google.com> + + Sync config-ml.in from GCC. + * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other + compiler/flag environment variables. + +2010-11-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + release-stats: account for more generated tests. + * Makefile.am (release-stats): Be sure to take into account all + the generated tests, by grepping the test scripts to decide which + ones of them are automatically generated. + +2010-11-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + Code cleanup after removal of option `--output-directory'. + * automake.in ($output_directory): Remove, it's unconditionally + defined to `.' and used only ... + (generate_makefile): ... in this subroutine, which now has been + edited and simplified accordingly. + + Remove obsolete automake option `--output-directory'. + This option has been deprecated since version 1.7 (2002/2003). + * automake.in ($output_directory): Define to `.' unconditionally. + (parse_arguments): Remove handling of equivalent options `-o' and + `--output-directory'. + * tests/outdir.test: Removed. + * tests/no-outdir-option.test: New test. + * tests/Makefile.am (TESTS): Updated. + * NEWS: Updated. + +2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com> + + Automake::Config: remove extra trailing semicolon. + * lib/Automake/Config.in: Remove extra trailing semicolon. + + help4.test: fix botched heading comment. + * tests/help4.test: Fixed the heading comment, since it + didn't correctly describe what checks the testcase was + supposed to perform. + + help2.test: add checks on aclocal too. + * tests/help2.test: Check that also `aclocal --version' and + `aclocal --help' work with configure.in and acinclude.m4 both + broken. + +2010-11-19 Stefano Lattarini <stefano.lattarini@gmail.com> + + New test on repeated automake options. + * tests/repeated-options.test: New test, check that automake + does not complain on repeated options, nor generate broken or + incorrect makefiles. + * tests/Makefile.am (TESTS): Updated. + +2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix spurious failures of silent-rules tests with Sun Fortran. + * tests/silentf77.test: Strip from the make output some verbose + messages possibly printed by the SunStudio fortran compilers, to + avoid spurious failures. Add a trailing `:' command. + * tests/silentf90.test: Likewise. + +2010-11-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix spurious failures of silent5.test with Sun Fortran. + * tests/silent5.test: Strip from the make output some verbose + messages possibly printed by the SunStudio fortran compilers, + to avoid spurious failures. This bug has been there from the + very first version of this test script. + +2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix regression in colon{5,6}.test (failures on AIX 5.3). + * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when + post-processing the generated Makefile.in, to work around a bug + of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro + on the commend line. Calls to `$MAKE' adjusted accordingly. + * tests/colon6.test: Likewise. + Regression introduced in commit v1.11-175-gf9fe878 "Modernize, + improve and/or extend tests `colon*.test", and reported by Ralf + Wildenhues. + +2010-11-16 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix regression in ansi.test (failure on AIX 5.3). + * tests/ansi.test: Remove redundant hackish check done using a + hand-postprocessed Makefile.in. This check worked by setting + the `$(SHELL)' macro on the command line of make, but this is + not supported by the AIX 5.3 make implementation. + This bug has been lurking for a long time, and was activated by + commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various + tests". Report by Ralf Wildenhues. + +2010-11-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + backcompat5.test: avoid '##'-style comments inside recipe commands. + * tests/backcompat5.test: Remove double-hash comments + from makefile rule commands, they are not part of the + Automake API. Fixes testsuite failure with Tru64 make. + + tests: avoid '##'-style comments inside recipe commands. + * tests/confh.test, tests/confh8.test: Remove + double-hash comments from makefile rule commands, they + are not part of the Automake API. + +2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + tests: work around dash quoting issue in case statements. + * tests/color.test, tests/color2.test: Quote variable in case + pattern, to avoid skipping tests with dash 0.5.5.1. + +2010-11-16 Peter Rosin <peda@lysator.liu.se> + + Skip MSVC oriented tests if the shell is not capable. + * tests/defs: New required entry 'xsi-shell'. + * tests/ar-lib.test, tests/compile3.test, tests/compile6.test: + Require a XSI capable shell. + Reported by Ralf Wildenhues. + +2010-11-15 Peter Rosin <peda@lysator.liu.se> + + compile: clear the `eat' variable earlier. + * lib/compile: Clear the `eat' variable earlier. + ($scriptversion): Update. + * tests/compile3.test: Prevent regressions. + +2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + More stable configure output from sanity check. + * m4/sanity.m4 (AM_SANITY_CHECK): Always print check line + about ensuring newer files, even if we don't actually need + to wait any more. + +2010-11-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Rebuild menus in the manual. + * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs). + Thanks to Ian Lance Taylor for the suggestion. + + Fix install-strip when $(STRIP) contains several words. + * lib/am/install.am (install-strip): Update comment. Use + separate sub-make invocations for empty and nonempty $(STRIP), + to fix quoting issues. + * tests/strip2.test, tests/strip3.test: New tests. + * tests/Makefile.am (TESTS): Adjust. + +2010-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix yaccdry.test failure: require bison. + * tests/yaccdry.test: Require bison. + Found by NixOS Hydra. + +2010-11-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix bug in test `backcompat6.test' (MSYS portability). + * tests/backcompat6.test (Makefile.am): Grep the output from the + test program, rather than diffing it, to avoid spurious failures + on MinGW/MSYS due to LF vs. CRLF line endings. + Reported by Ralf Wildenhues. + +2010-11-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + Deprecate obsolete macro AM_WITH_REGEX. + * m4/regex.m4: Document the `AM_WITH_REGEX' macro as obsolete, + and state that it should be removed two years from now. + (AM_WITH_REGEX): Raise an m4-time warning of the "obsolete" + category when this macro is used. + * doc/automake.texi (Public Macros): Move description of + `AM_WITH_REGEX' from here ... + (Obsolete Macros): ... to here, and declare it as obsolete + and "to be removed in a future version". + * tests/regex-obsolete.test: New test. + * tests/Makefile.am (TESTS): Update. + +2010-11-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + Improve and extend tests on man pages support. + * tests/man.test: Enable `errexit' shell flag, and related changes. + Make grepping of generated Makefile.in slightly stricter. + * tests/man3.test: Add trailing `:' command. + * tests/man5.test: Prefer cat + here-doc over echo to append to + configure.in. + * tests/man2.test: Likewise, and add trailing `:' command. + * tests/man4.test: More thorough and consistent checking of make + error messages. Place fake `help2man' program in a new `bin' + directory rather than in `.'. Move the checks using the real + `help2man' program to ... + * tests/man6.test: ... this new test, and extend them. This test + passes with GNU make and Solaris make, still fails with BSD make. + * tests/man7.test: New test, extracted from old man4.test, which + checks for a bug in maintainer-clean w.r.t. generated manpages. + * tests/man8.test: New test, extracted from old man4.test, which + checks for a bug in distcheck w.r.t. generated manpages. Passes + with GNU make and Solaris make, still fails with BSD make. + +2010-11-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + Minor improvements and extensions to various tests. + * tests/defun.test: Also run autoconf and grep the generated + configure to make sure that aclocal truly picks up all the + required macros. + * tests/compile_f_c_cxx.test: Prefer trailing `:' over trailing + `Exit 0'. Do not create useless dummy source files. Do not set + useless `$(foo_LDADD)' variable in `Makefile.am'. Do not call + useless macro `AC_F77_LIBRARY_LDFLAGS' in `configure.in'. + * tests/compile_f90_c_cxx.test: Likewise. + * tests/suffix10.test: Slightly stricter grepping of make output. + * tests/compile.test: Add trailing `:' command. + * tests/defun2.test: Likewise. + * tests/vars3.test: Likewise. + * tests/vartar.test: Likewise. + * tests/vars.test: Likewise. Also, extend test by checking + that the definition of `MY_FLAGS*' variables is preserved in + the generated `Makefile.in'. + * tests/stamph2.test: Prefer trailing `:' over trailing `Exit 0'. + Use proper m4 quoting in `configure.in'. + +2010-11-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + Tests defs: improve messages for skipped tests. + * tests/defs: Give meaningful messages about the reasons of a + test skip; this is especially useful as this file is run without + verbose xtraces on. Related reorderings in the code and new + comments. + +2010-11-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + Tests defs: move static definitions in a new file `defs-static'. + The new file is meant to be idempotent w.r.t. multiple inclusions. + * tests/defs.in: Removed, its contents split among ... + * tests/defs-static.in: ... this new file ... + * tests/defs: ... and this new file, including the former. + * configure.ac (AC_CONFIG_FILES): Remove `tests/defs', add + `tests/defs-static'. + (AC_CONFIG_LINKS): Add `tests/defs'. + * tests/Makefile.am ($(parallel_tests)): Update. + ($(instspc_tests)): Likewise. + * tests/.gitignore: Update. + + Tests defs: $testsbuilddir is now AC_SUBST'ed. + * tests/defs.in ($testsbuilddir): Substitute from @abs_builddir@. + Add sanity check on $testsbuilddir, similar to those on + $testsrcdir and $top_testsrcdir. + + Tests defs: do not print message "Running test $0" anymore. + * tests/defs.in: Printing the message "=== Running test $0" at + the beginning of each tests made sense when Automake used the old + test-driver, which sent all the output directly to stdout/stderr. + Now that the parallel test-driver is used, which saves output of + each test in its corresponding log file, that old message is just + useless noise. + + Tests defs: rename $curdir -> $testbuilddir + * tests/defs.in: Rename $curdir to $testbuildir, for clarity and + consistency with $testsrcdir and $top_testsrcdir. + + Tests defs: prefer "$curdir" over "`pwd`". + * tests/defs.in: We already save the value of `pwd` in $curdir + early in the file, so there no need to recalculate it later, when + the current working directory is not changed. + + Tests defs: use `$me' in more error messages. + * tests/defs.in: Also use `$me' in error messages referring to + missing `defs' or `defs.in', since that variable is now defined + before those checks. + + Tests defs: do not use `Exit' where plain `exit' suffices. + * tests/defs.in: Use "exit 77" rather than "Exit 77" to skip the + test when required libtool/gettext macros are not found, since + such skips would take place before the exit trap is installed. + + Tests defs: improve and extends comments. + * tests/defs.in: Improve and extends some comments, especially in + relation with the changes introduced by the previous reordering. + + Tests defs: various reorderings. + * tests/defs.in: Reordered various snippets of code in a + clearer way. + +2010-11-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix bug in test `backcompat4.test' (stale autom4te cache). + * tests/backcompat4.test: Remove stale autom4te cache directory + before re-running aclocal and automake. Also, since we are at + it, be more verbose in displaying contents of generated files, + to ease debuggability. + Reported by Ralf Wildenhues. + +2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix a bug in variable concatenation with `+='. + * lib/Automake/VarDef.pm (append): Since the content of the + "appended-to" variable is going to be unconditionally normalized + later, simply separate the appended value with a single whitespace + character, instead of trying to be uselessly smarter by using + escaped newlines. This fixes a bug in which extra backslashes + where erroneously inserted in the variable's final value. + * tests/pluseq11.test: New test, exposing the bug. + * tests/Makefile.am (TESTS): Update. + Reported by Andy Wingo. + +2010-11-07 Stefano Lattarini <stefano.lattarini@gmail.com> + + Modernize, improve and/or tweak various test scripts. + * tests/stamph2.test: Improve m4 quoting in `configure.in', and + prefer trailing `:' over trailing `Exit 0'. + * tests/syntax.test: Escape literal dots in grep regexps. + * tests/copy.test: Enable `errexit' shell flag. Extend test by + checking with `test' utility that the script `install-sh' is + copied, but not symlinked. + * tests/depdist.test: Move setting of `errexit' shell flag earlier + in the script (just after inclusion of ./defs). Avoid obsoleted + constructs in generated `configure.in'. Prefer to do our checks + by running configure and make over grepping Makefile.in. + * tests/target-cflags: Move setting of `errexit' shell flag + earlier in the script (just after inclusion of ./defs). Use the + `configure.in' stub created by `./defs', rather than writing it + from scratch. + * tests/target-clash: Do not uselessly run autoconf. + * tests/ctarget1.test: Renamed ... + * tests/cond-basic.test: ... to this. Use the `configure.in' stub + created by `./defs', rather than writing it from scratch. + Move setting of `errexit' shell flag earlier in the script (just + after inclusion of ./defs). Other minor cosmetic changes. + * tests/Makefile.am (TESTS): Updated. + +2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + New tests on obsoleted usages of automake/autoconf macros (such + as AC_INIT, AM_INIT_AUTOMAKE and AC_OUTPUT). + * tests/backcompat.test: New test script. + * tests/backcompat2.test: Likewise. + * tests/backcompat3.test: Likewise. + * tests/backcompat4.test: Likewise. + * tests/backcompat5.test: Likewise. + * tests/backcompat6.test: Likewise. + * tests/init.test: Extended and improved, esp. by trying more + combinations of calls to AC_INIT and AM_INIT_AUTOMAKE with few + arguments. + * tests/Makefile.am (TESTS): Updated. + +2010-11-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix bug in rules for creating vala vapi/header files. + * automake.in (lang_vala_finish_target): Add forgotten "fi" in an + if control structure in a generated make rules. Bug introduced + by previous commit `v1.11-221-gd7c1679', and revealed by failure + of test `vala2.test'. + +2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix and document rules to not touch the tree with `make -n'. + * doc/automake.texi (Multiple Outputs): Document the problem of + modifications during dry-run execution, propose solution. + * NEWS: Update. + * automake.in (lang_vala_finish_target): Split recipe so the + stamp file is not removed with GNU `make -n'. + (lang_yacc_target_hook): Separate removal of parser output file + and header remaking. + * lib/am/lisp.am ($(am__ELCFILES)): Determine whether -n was + passed to make, take care not to remove any files in that case. + * lib/am/remake-hdr.am (%CONFIG_H%): Separate removal of + %STAMP% file from induced remaking of config header. + * tests/autohdrdry.test, tests/lispdry.test, tests/yaccdry.test: + New tests. + * tests/Makefile.am (TESTS): Update. + +2010-11-05 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix potential bug in generated tests `instpc-*.test'. + This bug is due to the changes introduced by the recently-merged + "tests-init" branch. In that branch, `tests/defs' didn't define + anymore `$srcdir', instead defining directly `$testsrcdir'; but + the generated tests were using `$srcdir', hence the bug. + Luckily, since the Automake parallel test driver automatically + exports `srcdir' to a proper value, that prevented the bug from + manifesting itself. + * tests/Makefile.am ($(instspc_tests)): In the generated test + scripts, use `$testsrcdir', not `$srcdir'. + +2010-11-03 Stefano Lattarini <stefano.lattarini@gmail.com> + + Overhauled and modularized tests in `instspc.test'. + The test `instspc.test' was way too big and fragile. Its running + time was very long. It also produced a log that was nearly + unreadable due to its length, making it very difficult to find + out the reason for failures. + Also, it was too much monolithic, with a single (maybe spurious) + failure in a corner case causing the whole test to fail (even if + everything worked as expected in the other 99% of cases). + The present change should solve these problems, by separating + `instspc.test' into many smaller, self-contained, auto-generated + tests. + * tests/instspc.test: Removed. + * tests/instspc-tests.sh: New script, fulfilling a double role: + 1. it generates a Makefile.am snippet `tests/instspc-tests.am', + containing the definition of a list of new tests which will take + over the older `instspc.test', and + 2. it is sourced by said generated tests with proper parameters + pre-set, to run the "meat" of the checks. + This apparent abuse is indeed required because the test generation + code and test execution code are inevitably intertwined. + * tests/Makefile.am ($(srcdir)/instspc-tests.am): Include this + snippet, which (among the other things) defines ... + (instspc_tests): ... this new macro, containing the list of the + newly generated `instspc*.test' tests, and ... + (instspc_xfail_tests): ... this new macro, containing the list + of the `instspc*.test' tests expected to fail. + ($(instspc_tests)): New rule, generates the `instspc*.test' tests. + ($(instspc_tests:.test=.log)): New rule, registers the dependency + of all `instspc*.test' tests on the `instspc-tests.sh' script. + (TESTS): Add `$(instspc_tests)', remove `instspc.test'. + (XFAIL_TESTS): Add `$(xfail_instspc_tests)'. + (EXTRA_DIST): Distribute instspc-tests.sh. + (MAINTAINERCLEANFILES): Added $(instspc_tests). + Other minor cosmetic changes. + * bootstrap: Generate instspc-tests.am. + * tests/.gitignore: Updated. + +2010-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Add FAQ entry for bug reporting instructions. + * doc/automake.texi (Reporting Bugs): New section. + (Introduction): Refer to it. + +2010-10-07 Peter Rosin <peda@lysator.liu.se> + + depcomp: add new one-pass depmode for MSVC 7 and later. + * lib/depcomp: Add new depmodes 'msvc7' and 'msvc7msys' which + make use of the -showIncludes option added in MSVC 7. + * m4/depend.m4 (_AM_DEPENDENCIES): Handle the new depmodes + similarly to 'msvisualcpp' and 'msvcmsys' as MSVC does not + support the -o option. + +2010-10-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + Add support for newer python versions. + * m4/python.m4 (AM_PATH_PYTHON): Add python2.7 and python3.2 to + _AM_PYTHON_INTERPRETER_LIST. Since we are at it, break a long + line and fix indentation. + * THANKS: Updated. + From a report by Thomas Klausner. + + Add test for `AM_WITH_DMALLOC' macro. + * tests/dmalloc.test: New test. + * tests/Makefile.am (TESTS): Update. + + Fix nits and bugs in tests `help*.test'. + * tests/help4.test: Fix broken sed commands used to strip `-W...' + flags away from "$AUTOMAKE" and "$ACLOCAL". + * tests/help3.test: Likewise, and fix a botched comment. + * tests/help.test: Likewise. Also, use "AUTOMAKE_fails ..." + instead of "$AUTOMAKE ... && Exit 1", for consistency and to + please maintainer-check. + * tests/help2.test: Likewise. + +2010-10-03 Stefano Lattarini <stefano.lattarini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Improve tests `help*.test' (also fixes maintcheck failures). + * tests/help.test: To run automake, use `$AUTOMAKE' with all `-W' + flags stripped away rather than hard-coded `automake-$APIVERSION', + to better honour user-overrides. Similarly for aclocal. + * tests/help2.test: Likewise. + * tests/help3.test: Likewise. + * tests/help4.test: Likewise. + +2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + tests: fix ar-lib.test for echo that interprets backslashes. + * tests/ar-lib.test: Use printf instead of echo. Avoid test -a. + More robust quoting. + +2010-10-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + maintainer-check coverage for variables before rules. + * Makefile.am (sc_ensure_testsuite_has_run): Suggest keeping + around the test directories. + (sc_tests_makefile_variable_order): New rule with a heuristic to + catch ordering violations. + + Document and fix expansion of variables before rules. + * doc/automake.texi (General Operation): Document that variables + are expanded before rules. + * lib/am/check.am (am__check_post): Reword a bit so it does not + get matched as a rule. + Suggestion by Ben Pfaff. + +2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Coverage and minor fixes for variable typo detection. + * automake.in (check_typos): Remove `EXTRA_' prefix when + computing canonical name. + * tests/vartypo2.test, tests/vartypos.test: New tests. + * tests/Makefile.am (TESTS): Update. + + Implement EXTRA_maude_DEPENDENCIES for programs and libraries. + * automake.in (handle_programs, handle_libraries) + (handle_ltlibraries): Mark EXTRA_*_DEPENDENCIES as recognized. + * doc/automake.texi (Linking, Program and Library Variables) + (LIBOBJS): Document EXTRA_*_DEPENDENCIES. + * lib/am/library.am (%LIBRARY%): Also depend on + $(EXTRA_%XLIBRARY%_DEPENDENCIES). + * lib/am/ltlibrary.am (%LTLIBRARY%): Also depend on + (%XLTLIBRARY%_DEPENDENCIES). + * lib/am/program.am (%PROGRAM%%EXEEXT%): Also depend on + $(EXTRA_%XPROGRAM%_DEPENDENCIES). + * tests/extradep.test, tests/extradep2.test: New tests. + * tests/Makefile.am (TESTS): Update. + * NEWS: Update. + Suggested by Eric Blake. + + tests: avoid running into timing issues due to sanity change. + * tests/acloca10.test, tests/acloca18.test, tests/aclocal9.test: + Insert strategic sleep before aclocal reruns, to ensure files + are newer. + * tests/python11.test: Use --force for repeated autotools runs. + Reports from the NixOS Hydra build daemon via Ludovic Courtès. + + Fix timestamp issues by ensuring configure takes at least a second. + * m4/sanity.m4 (AM_SANITY_CHECK): If we didn't sleep here, + start a sleep in the background and wait for it to finish + before creating config.status, hopefully fixing all spurious + testsuite failures involving botched time stamps. + * NEWS: Update. + Reports by Ludovic Courtès, Peter Breitenlohner, and others. + +2010-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Revert "parallel-tests: avoid command-line length limit issue." + This reverts commit 24e3b4ee2f8cb9f72dd94a05a893f3d4e88b7835, + because it re-opened the bug fixed by v1.11-10-g218e678. + + 2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + parallel-tests: avoid command-line length limit issue. + * automake.in (handle_tests): New argument $makefile, new + substitution %MAKEFILE%. + (generate_makefile): Adjust. + * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass + sanitized TEST_LOGS value as makefile snippet on standard + input to $(MAKE), to avoid exceeding the command line limit on + w32 (MSYS). + * NEWS: Update. + Report by Bob Friesenhahn. + +2010-09-26 Stefano Lattarini <stefano.lattarini@gmail.com> + + Extend tests on `--help' and `--version' options. + * tests/help.test: Create a new empty directory and chdir into + it, rather than removing already present files. Run the aclocal + and automake wrapper scripts directly, instead of relying on + $AUTOMAKE and $ACLOCAL. Be sure to correctly match literal dots + in aclocal's and automake's stderr. Add a trailing `:' command. + * tests/help2.test: New test, checking that options `--help' and + `--version' works in directories with broken `configure.in'. + * tests/help3.test: New test, checking that options `--help' and + `--version' take precedence on the other options. + * tests/help4.test: New test, checking that the first among the + `--help' and `--version' options to be specified on the command + line wins. + * tests/Makefile.am (TESTS): Updated. + +2010-09-25 Stefano Lattarini <stefano.lattarini@gmail.com> + + Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH. + * tests/compile2.test: Do no uselessly (implicitly) repeat the + computation of PATH_SEPARATOR again. + * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when + extending/redefining PATH. + * tests/instmany-python.test: Likewise. + * tests/instmany.test: Likewise. + * tests/man4.test: Likewise. + * tests/mkinst3.test: Likewise. + * tests/mmodely.test: Likewise. + * tests/multlib.test: Likewise. + * tests/txinfo30.test: Likewise. + * tests/README (Section "Writing test cases" subsection "Do"): + Updated. + * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check. + (syntax_check_rules): Updated. + + Testsuite: new variables `$PATH_SEPARATOR' and `$APIVERSION'. + * tests/defs.in ($APIVERSION): New AC_SUBST'd variable. + ($ACLOCAL, $AUTOMAKE): Use it. + ($PATH_SEPARATOR): New AC_SUBST'd variables. + ($PATH): Use it. + +2010-09-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + Manual: be more agnostic w.r.t. version control system used. + * doc/automake.texi (Basics of Distribution): Also refer to `.svn' + directories as a type of probably-unwanted files that are copied + regardless when adding directories to EXTRA_DIST. + (The dist Hook): Show a dist-hook example which removes Subversion + `.svn' private directories from distdir, rather than CVS private + directories. + (missing and AM_MAINTAINER_MODE): Try to be more agnostic w.r.t. + the version control system used. + + Manual: index refer to target "git-dist", not "cvs-dist". + * doc/automake.texi (General Operation): Index the non-standard + example about "git-dist" under the "git-dist" label, not under + the "cvs-dist" one. + + Perl modules: remove references to "Automake CVS repository". + * lib/Automake/Channels.pm: Update comments to refer to "Automke's + git repository" rather than to "Automake's CVS repository". + * lib/Automake/Configure_ac.pm: Likewise. + * lib/Automake/FileUtils.pm: Likewise. + * lib/Automake/Struct.pm: Likewise. + * lib/Automake/XFile.pm: Likewise. + * lib/Automake/Version.pm (=head1 DESCRIPTION): Refer to "git + branches" rather than "CVS branches". + + Remove obsolete .cvsignore files. + * .cvsignore, doc/.cvsignore, lib/.cvsignore, lib/am/.cvsignore, + lib/Automake/.cvsignore, lib/Automake/tests/.cvsignore, + m4/.cvsignore, tests/.cvsignore: Files deleted. Even when using + savannah's CVS readonly mirror there's no way to commit back to + the real repository, so this files are not worth maintaining or + keeping around. + +2010-09-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + * m4/dmalloc.m4: Bump serial number and copyright years. + +2010-09-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix broken link in `AM_WITH_DMALLOC' help screen. + * m4/dmalloc.m4 (AM_WITH_DMALLOC): Refer only to the dmalloc site + `http://www.dmalloc.com', not to the dmalloc tarball there (which + seems to have been removed, substituted by multiple release + tarballs now). + +2010-09-21 Peter Rosin <peda@lysator.liu.se> + + compile: implement library search to support MSVC static linking + * lib/compile (func_cl_wrapper): Implement library search and + -static option so that the user can select whether to prefer + dll import libraries or static libraries. This enables MSVC to + link against dlls generated by libtool without requiring libtool + or workarounds such as -lfoo.dll etc. Makes the tests/static.at + test case in libtool pass. + * tests/compile3.test: Don't trip up if there happens to exist + a "foo" library in the library search path. + * tests/compile6.test: New test, verifying the library search. + * tests/Makefile.am (TESTS): Update. + +2010-09-17 Eric Blake <eblake@redhat.com> + + Avoid triple-space after period. + * automake.in (handle_single_transform): Avoid 3 spaces at + sentence end. + * ChangeLog.03: Likewise. + * lib/Automake/ChannelDefs.pm: Likewise. + * lib/Automake/Channels.pm (_print_message): Likewise. + * lib/Automake/Rule.pm (rule): Likewise. + * lib/Automake/Variable.pm (var): Likewise. + * lib/am/distdir.am: Likewise. + * tests/insthook.test: Likewise. + +2010-09-15 Stefano Lattarini <stefano.lattarini@gmail.com> + + Test automake-generated portions of configure help screen. + * tests/help-depend.test: New test. + * tests/help-depend2.test: Likewise. + * tests/help-dmalloc.test: Likewise. + * tests/help-init.test: Likewise. + * tests/help-lispdir.test: Likewise. + * tests/help-maintainer.test: Likewise. + * tests/help-multilib.test: Likewise. + * tests/help-regex.test: Likewise. + * tests/help-silent.test: Likewise. + * tests/help-upc.test: Likewise. + * tests/mmode.test: Remove tests on `configure --help' output, + they are superseded by tests in `help-maintainer.test'. + * tests/Makefile.am (TESTS): Update. + +2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + * tests/README: Don't put GCS mandated tools in $required. + +2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * HACKING: Hint at old commits with `git describe' output. + +2010-09-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + Prefer `$(am__cd)' to plain `cd' in our Makefiles. + * Makefile.am (recheck, dist-hook, git-dist, path-check, fetch) + (release-stats): Use `$(am__cd)' rather than plain `cd'. + * tests/Makefile.am ($(srcdir)/parallel-tests.am): Likewise. + +2010-09-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix regression in test `colon4.test'. + * tests/colon4.test: Fix botched editing to `configure.in' + that made the test useless. Since we are at it, improve + comments and make grepping of generated Makefile.in slightly + stricter. + Regression introduced by change "Modernize, improve and/or + extend tests `colon*.test" (Stefano Lattarini, 2010-08-08). + +2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + Do not require "gzip" explicitly in tests. + The gzip utility is simply expected to be present on any decent + target system for Automake. So it's pointless to put it in + $required. + * tests/install2.test ($required): Do not require "gzip". + * tests/lex3.test: Likewise. + * tests/pr9.test: Likewise. + From a suggestion by Ralf Wildenhues. + +2010-09-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + Use AS_HELP_STRING in AM_SILENT_RULES. + * m4/silent.m4 (AM_SILENT_RULES): Use `AS_HELP_STRING' to format + help message regarding configure options `--enable-silent-rules' + and `--disable-silent-rules'. Also throw in a couple of cosmetic + changes in the related `case' statement (indentation, balancing + of parentheses). + * THANKS: Update. + From a report by Jeff A. Daily. + +2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + Make some `confh*.test' tests more "semantic" (plus tweakings). + * tests/confh.test: Run "autoconf", "configure" and "make check", + instead of munging/grepping the generated `Makefile.in'. + * tests/confh4.test: Relax the grepping of Makefile.in w.r.t. + white spaces. Do not create useless dummy source file `foo.c' + and useless dummy header file `acconfig.h'. + (configure.in): Remove superfluous call to `AC_OUTPUT'. + * tests/confh6.test: Add trailing `:' command. + * tests/confh7.test: In comments, add reference to ... + * tests/confh8.test: ... this new test, "semantic" sister + of `confh7.test'. + * tests/Makefile.am (TESTS): Updated. + Prompted by a report from Ralf Wildenhues. + +2010-09-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + Remove useless whitespace padding in XFAIL_TESTS definition. + * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding. + +2010-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + parallel-tests: avoid command-line length limit issue. + * automake.in (handle_tests): New argument $makefile, new + substitution %MAKEFILE%. + (generate_makefile): Adjust. + * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass + sanitized TEST_LOGS value as makefile snippet on standard + input to $(MAKE), to avoid exceeding the command line limit on + w32 (MSYS). + * NEWS: Update. + Report by Bob Friesenhahn. + + Posix 2008 requires make to set errexit. + * lib/am/check.am: Update comment. + +2010-09-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + Tests defs: remove variable $testaclocaldir. + * tests/defs.in ($testaclocaldir): Removed. + * tests/aclocal.test: Use `$top_testsrcdir/m4' directly, not + `$testaclocaldir'. + + Tests defs: $srcdir and $top_srcdir renaming. + * tests/defs.in ($srcdir): Remove, define $testsrcdir directly. + * tests/Makefile.am ($(parallel_tests)): Generation of derived + tests updated. + + Tests defs: new variable $top_testsrcdir. + * tests/defs.in ($top_testsrcdir): Define unconditionally + to @abs_top_srcdir@. Use it throughout. + * tests/ar-lib.test: Use `$top_testsrcdir' instead of + `$testsrcdir/..'. + * tests/auxdir.test: Likewise. + * tests/compile.test: Likewise. + * tests/compile2.test: Likewise. + * tests/compile3.test: Likewise. + * tests/compile5.test: Likewise. + * tests/mdate6.test: Likewise. + * tests/mkinst3.test: Likewise. + * tests/multlib.test: Likewise. + * tests/txinfo22.test: Likewise. + + Tests defs: $srcdir is unconditionally substituted. + * tests/defs.in ($srcdir): Define unconditionally to @abs_srcdir@. + Remove code for $srcdir normalization, which is now useless. + +2010-09-02 Stefano Lattarini <stefano.lattarini@gmail.com> + + Tests defs: make spacing more consistent. + * tests/defs.in: Make spacing more consistent in indentation. + Especially, indent using only spaces, not tabs. Also, move + a comment to a better position. + + Improve code for requiring libtool and gettext in tests. + * tests/defs.in: Stricter (and more correct) detection of wheter + libtool, libtoolize and/or gettext are in $required. + + +2010-08-27 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix bug in test missing6.test. + * tests/missing6.test: Fix the hack used to edit `configure.in', + to avoid producing a configure script that breaks with shells + that do not support $LINENO. Also throw in a couple of cosmetic + changes. + +2010-09-02 Peter Rosin <peda@lysator.liu.se> + + Make ar-lib support backslashed files in archives. + * lib/ar-lib: If an archive member contains a backslash, make sure + it is escaped when the archive member is extracted. + * tests/ar-lib.test: Test the above. + +2010-08-31 Peter Rosin <peda@lysator.liu.se> + + Do file name conversion for object files in the compile wrapper. + * lib/compile (func_cl_wrapper): Do file name conversion for object + files (i.e. extensions .obj, .OBJ, .o and .O) if needed. + * tests/compile4.test: Test the above. + +2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Speed up removal of auxiliary linker output files for ltlibraries. + * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Rewrite using just + one `rm' invocation. + Report by Bob Friesenhahn. + + Improve robustness of mdate-sh script. + * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure + $ls_command is word-split properly upon invocation. + (error): New function. + (main): Use it. Improve error checking to avoid endless loop + in case $ls_command gave bogus output. Fix eval quotation. + * tests/mdate6.test: New test, to expose eval quotation error. + * tests/Makefile.am: Update. + +2010-08-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix potential regressions in depcomp{3,5}.test. + * tests/depcomp3.test: Do not uselessly escape the character `$' + in makefile rules, when it's used to expand a make macro. + * tests/depcomp5.test: Likewise. + +2010-08-17 Stefano Lattarini <stefano.lattarini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Docs: clarify how to avoid automatic dependencies tracking. + * doc/automake.texi (Automatic dependency tracking): Mention that + automatic dependencies tracking is enabled by default, but that + the package developer can disable it altogether. Add a reference + to the proper section for a more in-depth explanation. + + Fix typo in manual (`Makefile.in' instead of `Makefile.am'). + * doc/automake.texi (Automatic dependency tracking): Fix typo. + +2010-08-16 Bruno Haible <bruno@clisp.org> + + Don't hide the table of contents. + * doc/automake.texi: Move the table of contents to the beginning. + +2010-08-16 Peter Rosin <peda@lysator.liu.se> + + Optimize compile script on MSYS. + * lib/compile (func_file_conv): Add new argument 'lazy' which + takes an optional list of conversion types where the requested + conversion isn't needed. + (func_cl_wrapper): Take advantage of the above for cases where + MSYS is doing the conversion for us. + Suggested by Ralf Wildenhues. + +2010-08-16 Peter Rosin <peda@lysator.liu.se> + + Support more C++ file extensions for MSVC in the compile script. + * lib/compile (func_cl_wrapper): MSVC only recognizes the .cpp + file extension as C++, unless it's given a hint. So hint about + .cc, .CC, .cxx, .CXX, c++ and C++. Also do path conversion on + .c, .cpp, .CPP, .lib, .LIB and .Lib files. + * tests/compile3.test: Test the C++ hinting. + +2010-08-12 Peter Rosin <peda@lysator.liu.se> + + Enable the use of "link -lib" as the wrapped archiver. + * lib/ar-lib: Enable the use of "link -lib" as the wrapped + archiver, as well as allowing some other options to be passed + through to the wrapped archiver. + * tests/ar-lib.test: Test the above. + +2010-08-10 Stefano Lattarini <stefano.lattarini@gmail.com> + + Tweak and/or extend some `acloca*.test' tests. + * tests/aclocal8.test: Ensure verbose printing of captured + output. + * tests/aclocal.test: Likewise. Also, add trailing `:' + command. + * tests/acloca19.test: Likewise. + * tests/aclocal5.test: Add trailing `:' command, and prefer + `$me' over hard-coded test name. + * tests/aclocal6.test: Likewise. + * tests/aclocal18.test: Add trailing `:' command, and make + some grepping slightly stricter. + * tests/acloca14.test: Likewise. Also, prefer `diff' over + `cmp', and add some "cosmetic" blank lines. + +2010-08-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + Tweak and extend tests `pr[!0-9]*.test'. + * tests/primary3.test: Add trailing `:' command. + * tests/primary.test: Make grepping of Automake's stderr stricter. + Also, add trailing `:' command, and cosmetic changes in spacing. + * tests/primary2.test: Likewise. + * tests/prefix.test: Enable `errexit' shell flags, and related + changes. Add a trailing `:' command. + * tests/proginst.test: Likewise. + + Modernize, improve and extend tests for PR (`pr[0-9]*.test'). + * tests/pr2.test: Add trailing `:' command. + * tests/pr229.test: Likewise. + * tests/pr401.test: Likewise. + * tests/pr401b.test: Likewise. + * tests/pr401c.test: Likewise. + * tests/pr300-prog.test: Likewise, plus cosmetic changes in + spacing. + * tests/pr300-lib.test: Likewise. + * tests/pr300-ltlib.test: Likewise, and ensure verbose printing + of captured make stdout. + * tests/pr211.test: Add trailing `:' command. Also, use the + `configure.in' stub created by ./defs, rather than writing it + from scratch. + * tests/pr204.test: Likewise, plus cosmetic spacing changes. + * tests/pr287.test: Likewise, and move setting of `errexit' shell + flag earlier in the script (just after inclusion of ./defs). + * tests/pr220.test: Make grepping of Automake's stderr stricter. + Also, add trailing `:' command, and cosmetic changes in spacing. + * tests/pr224.test: Move setting of `errexit' shell flag earlier + in the script (just after inclusion of ./defs). Do not export + `CC=gcc' to configure explicitly (it's already exported globally + in ./defs, since we have "gcc" in $required). Use the stub for + `configure.in' created by ./defs, rather than writing it from + scratch. Do not create dummy files required by "gnu" mode (e.g. + README, NEWS), since we run automake in foreign mode anyway. + * tests/pr72.test: Enable `errexit' shell flags, and related + changes. Extend existing checks a bit. + * tests/pr9.test: Likewise. Also, avoid obsolescent constructs in + the generated `configure.in', and extend existing checks over the + generated tarball a bit. + * tests/pr87.test: Enable `errexit' shell flags, and related + changes. Add a trailing `:' command. Also, do not create dummy + files required by "gnu" mode (e.g. README, NEWS), since we run + automake in foreign mode anyway. + * tests/pr243.test: Avoid obsolescent constructs in the generated + `configure.in'. Enable the `errexit' shell flag, and related + changes. Cosmetic changes to spacing, add trailing `:' command, + and add a "FIXME" comment. + * tests/pr266.test: Likewise, and add explicit command line switch + `--enable-dependency-tracking' to the ./configure call. + * tests/pr279.test: Avoid obsolescent constructs in the generated + `configure.in'; also, use the `configure.in' stub created by + ./defs, rather than writing it from scratch. Enable `errexit' + shell flag, and related changes. Add trailing `:' command. + * tests/pr279-2.test: Likewise, and make grepping of Makefile.in + stricter. + * tests/pr307.test: Move setting of `errexit' shell flag earlier + in the script (just after inclusion of ./defs). Escape literal + dots in grep regular expressions. Also, add a trailing `:' + command, and cosmetic changes to spacing. + + Tests for PR: add excerpts from original bug report, for clarity. + * tests/pr2.test: Ditto. + * tests/pr9.test: Likewise. + * tests/pr72.test: Likewise. + * tests/pr87.test: Likewise. + * tests/pr211.test: Likewise. + * tests/pr220.test: Likewise. + * tests/pr224.test: Likewise. + * tests/pr229.test: Likewise. + * tests/pr243.test: Likewise. + * tests/pr266.test: Likewise. + * tests/pr279.test: Likewise, and tell to keep it in sync + with its sister test. + * tests/pr279-2.test: Likewise. + +2010-08-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + Tweak, extend and improve tests `cond[a-z]*.test'. + * tests/condd.test: Add trailing `:' command. Typofix in + comment. + * tests/condhook.test: Make sure target `install-data-hook' is + not called by `make install', but that data files are installed. + Use proper m4 quoting in configure.in. Add trailing `:' command. + * tests/condhook2.test: New test, sister test of condhook, with + inverted semantic. + * tests/condinc2.test: Use proper m4 quoting in configure.in. + Prefer trailing `:' command over trailing `Exit 0'. + * tests/condman2.test: Enable errexit shell flag, and related + changes. Add trailing `:' command. + * tests/condman.test: Likewise. Also, do not create useless + dummy manpages, and use proper m4 quoting in configure.in. + * tests/condman3.test: New test, similar to condman.test, but + it also runs ./configure and "make install", and check the + installed files. + * tests/Makefile.am (TESTS): Updated. + + Modernize, improve and/or extend tests `colon*.test. + * tests/colon.test: Rely on the `configure.in' stub created by + `./defs', rather than writing one from scratch. Do not create + a useless dummy file. Add trailing `:' command. + * tests/colon4.test: Enable the `errexit' shell flag, and + related changes. Rely on the `configure.in' stub created by + `./defs', rather than writing one from scratch. + * tests/colon7.test: Enable `errexit' shell flag, and related + changes. Improve the generated `configure.in' file. Add + trailing `:' command. + * tests/colon2.test: Likewise. Also, add some new checks. + * tests/colon5.test: Improve the generated `configure.in' file. + Add new, much deeper checks. Add trailing `:' command. + * tests/colon6.test: Likewise. + * tests/colon3.test: Add trailing `:' command. Remove useless + comments and echos. Improve the generated `configure.in' file. + make some grepping tests stricter. Add a "FIXME" comments about + planned improvements. + + Improve and extend tests `asm*.test'. + * tests/asm.test: Use configure.in stub generated by ./defs, + and avoid obsoleted autoconf constructs. Make grepping of + Automake stderr stricter. Do not create useless source file. + Improve verbose messages. Minor cosmetic changes. Tell to + keep it in sync with other sister tests asm*.test. + * tests/asm2.test: Likewise. + * tests/asm3.test: Likewise. + + Modernize, improve and/or extend test scripts `conf*.test'. + * tests/confh5.test: Cosmetic changes. + * tests/conff.test: Likewise. + * tests/confdeps.test: Likewise. + * tests/conflnk.test: Likewise. + * tests/conflnk2.test: Likewise. + * tests/confsub.test: Likewise. + * tests/confvar.test: Likewise, and make grepping of Makefile.in + stricter. + * tests/confvar2.test: Likewise. + * tests/conflnk3.test: Cosmetic changes. Re-enable a temporarily + disabled test (which didn't work with autoconf <= 2.59, but now we + are requiring autoconf 2.62, so...) + * tests/conflnk4.test: Cosmetic changes, and extend existing tests + accordingly to "TODO" comments. + * tests/conff2.test: Make grepping of Automake's stderr stricter. + Add some comments explaining why we don't use the `configure.in' + stub preset be ./defs. + * tests/confh.test: Use the `configure.in' stub created by ./defs, + rather than writing one from scratch, and do not call AC_OUTPUT. + Enable `errexit' shell flag, and related changes. Prefer diff over + cmp to compare text files. Prefer perl over sed to fetch the value + of $(DIST_COMMON) from Makefile.in. Make grepping of the contents + of $(DIST_COMMON) stricter. + * tests/confh4.test: Use the `configure.in' stub created by ./defs, + rather than writing one from scratch. Make grepping of Makefile.in + stricter. + * tests/confh5.test: Make grepping of `config.h' stricter. Add a + comment. + * tests/configure.test: Avoid obsolescent constructs in generated + `configure.ac'. Do not write `configure.in' two times. Escape + literal dots in grep regular expressions. + * tests/confincl.test: Enable `errexit' shell flag, and related + changes. Prefer fgrep over grep. Other cosmetic changes. + * tests/config.test: Renamed to ... + * tests/confh6.test: ... this. Fix m4 quoting in `configure.in', + and make grepping of `config.h' and `config.h.in' stricter. + * tests/conf2.test: Renamed ... + * tests/confh7.test: ... to this. Use the `configure.in' stub + created by ./defs, rather than writing one from scratch. Try to + run the checks both with and without AC_PROG_CC and AC_OUTPUT in + `configure.in'. + * tests/Makefile.am (TESTS): Updated. + + Minor improvements and fixes in tests `depcomp*.test'. + * tests/depcomp.test: Do not create useless dummy source files. + Add a trailing `:' command. + * tests/depcomp2.test: Use `unset' on the CFLAGS variable to ensure + it's not in in the environment, rather than exporting it with an + empty value. Do not pass CC=gcc to configure, as that's already + done in ./defs since we have gcc in $required. Ensure verbose + printing of captured stderr, and normalize its checking. Add a + trailing `:' command. + * tests/depcomp3.test: Quote literal dots and dollar characters in + grep regexps. Always use `: >' rather than `touch' to create empty + files. Explicitly declare phony targets as such in the created + Makefile.am. Add a trailing `:' command. + * tests/depcomp4.test: Quote literal dots and dollar characters in + grep regexp. Explicitly declare phony targets as such in the + created Makefile.am. Ensure verbose printing of captured makes' + stoud/stderr. Add a trailing `:' command. + * tests/depcomp5.test: Move setting of `errexit' shell flag earlier + in the script (just after inclusion of ./defs). Quote literal dots + and dollar characters in grep regexps. Explicitly declare phony + targets as such in the created Makefile.am. Add a trailing `:' + command. + * tests/depcomp6.test: Consistently use m4 quoting in the generated + configure.in. Cosmetic fixes to spacing. Make the "dummy" `if' + statement required by OpenBSD's sh `set -e' more robust, and add + explanatory comments to it. + * tests/depcomp7.test: Likewise, and add a trailing `:' command. + + Separate failing part of test `all.test'. + * tests/all.test: Keep only (x)failing part of the test. Working + checks moved out to ... + * tests/all2.test: ... this new test. + * tests/Makefile.am (TESTS): Updated. + + Modernize, improve and extend tests `subobj*.test'. + * tests/subobjname.test: Add trailing `:' command. + * tests/subobj.test: Make grepping of `Makefile.in' stricter. + Escape literal dots in grep regexps. + * tests/subobj2.test: Add trailing `:' command. Do not use the + unportable fgrep option `-e'. + * tests/subobj3.test: Add trailing `:' command. + (configure.in): Use proper m4 quoting, and avoid obsolescent + constructs. + * tests/subobj8.test: Likewise. Also, enable `errexit' shell + flag, with related changes + * tests/subobj4.test: Likewise. Also, make grepping of + `Makefile.in' stricter. + * tests/subobj5.test: Add trailing `:' command. Move setting of + `errexit' shell flag earlier in the script (just after inclusion + of ./defs). + (configure.in): Use the stub created by `./defs', rather than + writing it from scratch, and avoid obsolescent constructs. + * tests/subobj6.test: Add trailing `:' command. Move setting of + `errexit' shell flag earlier in the script (just after inclusion + of ./defs). Do not create useless dummy ac-init file `f'. + * tests/subobj7.test: Do not create useless dummy ac-init file + `f'. + (configure.in): Use the stub created by `./defs', rather than + writing it from scratch, and avoid obsolescent constructs. + * tests/subobj9.test: Move setting of `errexit' shell flag earlier + in the script (just after inclusion of ./defs). Fail the test if + `make distcheck' fails. Ensure verbose printing of captured make + stdout. Avoid useless fork by doing simple grep instead of using + test -n "`COMMAND | grep ...`". + (configure.in): Normalize the call to AC_INIT w.r.t. other tests. + (Makefile.am): Explicitly mark target "print" as phony. + * tests/subobj10.test: Removed duplicated call to `set -e'. Add + trailing `:' command. + (configure.in): Normalize the call to AC_INIT w.r.t. other tests. + + Remove a couple of obsoleted tests. + * tests/fpinstall.test: Removed. + * tests/fpinst2.test: Likewise. + * tests/Makefile.am (TESTS): Updated. + + Bootstrap: updated HACKING entry. + * HACKING ("Working with git"): Explain how to override the + autoconf and autom4te programs used by the bootstrap process. + + Bootstrap: fixlet. + * bootstrap: Do not remove `lib/Automake/Config.pm' anymore, + since we don't generate it. Correctly quote arguments of + `eval' builtin. Fixed a botched error message. Removed an + extra blank line. + + Bootstrap: don't search perl in $PATH. + * bootstrap: Do not explicitly search perl in $PATH anymore. + ($PATH_SEPARATOR): Removed, it's no more needed. + + Bootstrap: let the user choose which autoconf to use. + * bootstrap ($AUTOCONF): New variable, from the environment. + ($AUTOM4TE): Likewise, for clarity. + Use "$AUTOCONF" instead of calling "autoconf" directly. + + Minor improvements to tests ar*.test. + * tests/ar.test: Add trailing `:' command. + * tests/ar2.test: Likewise, and make grepping of generated + Makefile.in stricter. + +2010-08-06 Peter Rosin <peda@lysator.liu.se> + + Add new auxiliary 'ar-lib' script, wrapping Microsoft lib. + * lib/ar-lib: New auxiliary script. + * lib/Makefile.am: Add above. + * tests/ar-lib.test: New test. + * tests/Makefile.am: Add above. + * automake.in (@common_files): Distribute the 'ar-lib' script. + * doc/automake.texi (Auxiliary Programs): Mention the new + 'ar-lib' script. + (Optional): Mention 'ar-lib' in AC_CONFIG_AUX_DIR. + * NEWS: Update. + +2010-08-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix shell pattern negation in compile script. + * lib/compile (func_file_conv): Use `!' not `^' for pattern + negation. + +2010-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix maintainer-check failure. + * tests/cond5.test: Quote sleep argument, this isn't about + time stamp differences. + + Sync auxiliary files from upstream. + * lib/config.guess, lib/config.sub, lib/texinfo.tex: + Sync from upstream. + +2010-08-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + Work around a nasty bug (segfault) of Solaris make. + * lib/am/check.am (recheck, recheck-html): Trim trailing spaces + from $list, to avoid triggering a nasty bug (potential segfault) + on Solaris make. + +2010-08-06 Peter Rosin <peda@lysator.liu.se> + + Make cond5.test more robust on MSYS. + * tests/cond5.test: Add delay before the first kill attempt to + cater for problems with MSYS bash. + +2010-08-01 Peter Rosin <peda@lysator.liu.se> + + Wrap some MSVC options in the compile script. + * lib/compile: MSVC supports naming the output file, the option + is just not called -o, so transform -o into the appropriate form + for MSVC. Also wrap some other options while at it (-L, -l, -Wl, + -Xlinker and -I) and convert file names to windows form where + needed for those options to make MSVC more usable in an + autotooled environment. + * doc/automake.texi (Auxiliary Programs): Document the above + extension of the compile script. + * NEWS: Updated. + * tests/defs.in: New required entry 'cl'. + * tests/compile3.test: New test. + * tests/compile4.test: New test. + * tests/compile5.test: New test. + * tests/Makefile.am: Update. + +2010-07-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Add example git work flow; discuss merge --log in HACKING. + * HACKING: Update. + Suggestion by Stefano Lattarini. + + Add more hints for debugging make rules. + * doc/automake.texi (Debugging Make Rules): Show command to find + out expanded values of variables; point to makefile debugger. + * THANKS: Update. + Prompted by suggestion from Ludovic Courtès and Andy Wingo. + +2010-07-27 Patrick Welche <prlw1@cam.ac.uk> (tiny change) + + Fix typo in the manual. + * doc/automake.texi (Scripts): Fix typo. + +2010-07-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Document current policy for development with git. + * HACKING (Working with git): Overhaul. + Prompted by suggestion from Stefano Lattarini. + + Fix AM_COND_IF for gone-invalid condition shell expression. + * m4/cond-if.m4 (AM_COND_IF): test contents of $COND_TRUE + variable, rather than re-evaluating the shell expression for + the condition. + * tests/cond40.test: Extend test. + * NEWS: Update. + + Avoid syntax error if IF-TRUE part of AM_COND_IF expands empty. + * m4/cond-if.m4 (AM_COND_IF): Ensure IF-TRUE part is never empty + to avoid shell syntax error if the m4 expansion is empty. + * tests/cond40.test: Enhance test. + + Coverage: bogus option to AM_INIT_AUTOMAKE. + * tests/init2.test: New test. + * tests/Makefile.am: Update. + +2010-07-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + Modernize and improve test scripts `subdir*.test'. + * tests/subdir.test: Enable `errexit' shell flag, and related + changes. Use the `configure.in' stub created by `./defs', + rather than writing one from scratch. + * tests/subdir2.test: Likewise. + * tests/subdir4.test: Likewise. + * tests/subdir3.test: Enable `errexit' shell flag, and related + changes. Do not create useless dummy source files. + * tests/subdir5.test: Make grepping of Makefile.in (in topdir + and in subdirs) stricter. Some minor changes to keep it more + in sync with the related test `subdir8.test'. + * tests/subdir8.test: Likewise (but with the related test being + `subdir5.test' here). + * tests/subdir6.test: Cosmetic change in spacing. + * tests/subdir9.test: Define and use new variable `$distdir'. Add + trailing `:' command. + * tests/subdir10.test: Cosmetic consistency-related change. + * tests/subdirbuiltsources.test: Cosmetic changes in spacings. + (configure.in): Use stub created by `./defs', rather than writing + it from scratch. Do not use obsoleted and/or deprecated forms of + autoconf/automake macros. + + Modernize and improve test scripts `dist*.test'. + * tests/distcleancheck.test: Do not add useless `-e' option to + a $MAKE call. Extend test by grepping stderr of make. + * tests/distcom2.test: Do not run the same test script on the + Makefile.in twice, but save its output in an intermediate file + instead. Make grepping of DIST_COMMON definition stricter. + Display the content of more files, to ease debugging. Add a + trailing `:' command. Improved heading comments w.r.t. sister + test(s). + * tests/distcom6.test: Likewise, and avoid to uselessly run + autoconf. + * tests/distcom3.test: Ensure verbose printing of captured stdout + and stderr. Make grepping of captured stderr stricter. Also, + add trailing `:' command. + * tests/distcom4.test: Declare the target `test' in the generated + Makefile.am as `.PHONY'. Display content of more files, to ease + debugging. Add trailing `:' command. + * tests/distcom5.test: Likewise. Also, factor out common sed + script in subroutine `extract_distcommon'. + * tests/distcom7.test: Prefer cat + here-doc over echo to write + test Makefile.am files. Add a trailing `:' command. + * tests/distname.test: Prefer `gzip -d' over `gunzip'. Move the + call to `set -e' earlier. Be stricter and more verbose in the + checking of the generated tarball. + (configure.in): Use the stub provided by ./defs, instead of + writing it from scratch. Avoid obsoleted constructs. Remove + useless call to `AM_PROG_CC_C_O'. + * tests/distdir.test: Various minor improvements/normalizations. + * tests/distlinks.test: Likewise. + +2010-07-18 Stefano Lattarini <stefano.lattarini@gmail.com> + + Improve and extend test cond5.test. + * tests/cond5.test: Do not blindly sleep 60 seconds before polling + the background automake process, but poll it every 10 seconds for + at most 30 times (this makes the test both faster on good machines, + and more resilient to spurious timeout-due failures when in low + priority or on heavily-loaded systems). + Check also that automake writes the expected error messages on the + standard error. + Enable `errexit' flag, and related changes. + Rely on the `configure.in' stub created by `./defs', rather than + writing one from scratch. + +2010-06-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Update program --help output to match current GCS. + * configure.ac: Set and substitute PACKAGE_URL if AC_PACKAGE_URL + is not defined, for compatibility to Autoconf < 2.64. + * Makefile.am (do_subst): Substitute PACKAGE_BUGREPORT and + PACKAGE_URL. + (sc_diff_automake_in_automake): Update number of diff lines for + additional substitutions. + * aclocal.in (usage): Use PACKAGE_BUGREPORT. Point to Automake + home page and GNU general help page. + * automake.in (usage): Likewise. + * doc/automake.texi: New flag PACKAGE_BUGREPORT, to factor email + address. + (Introduction, Creating amhello, amhello Explained, Options): + Use it throughout. + * lib/Automake/Makefile.am (do_subst): Substitute + PACKAGE_BUGREPORT. + * lib/Automake/Config.in ($PACKAGE_BUGREPORT): New global. + * lib/Automake/ChannelDefs.pm: Use it for footer of fatal + messages. + + Clean up @var handling in the manual. + * doc/automake.texi: Throughout the manual, lower-case @var + names, replace a few one-character names. + +2010-06-26 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix typo-related bug in test script silent5.test. + * tests/silent5.test: Use $EGREP, not $GREP (which is not even + defined). + + Tests: remove useless repetitions of `foreign' automake option. + * tests/multlib.test (configure.in): Remove useless use of + `foreign' option in AM_INIT_AUTOMAKE (the `--foreign' option is + already in $AUTOMAKE by default, so no point in repeating it). + * tests/subobj10.test: Likewise. + * tests/subobj9.test: Likewise. + * tests/lex3.test (Makefile.am): Similarly, remove useless use + of `foreign' option in AUTOMAKE_OPTIONS. + * tests/lex5.test: Likewise. + * tests/pr279.test: Likewise. + * tests/pr279-2.test: Likewise. + * tests/specflg3.test: Likewise. + * tests/target-cflags.test: Likewise. + + Drop useless requirement "gzip" in lex5.test. + * tests/lex5.test ($required): Do not list "gzip", as it's + never used. + +2010-06-24 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix bugs in test script silent5.test. + * tests/silent5.test: Fixed a nasty bug (due to the use of grep + instead of egrep) that could have led to false negatives. + +2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + Add a test checking that distributed broken symlinks cause + `make dist' to fail. + * tests/distlinksbrk.test: New test. + * tests/Makefile.am (TESTS): Updated. + +2010-06-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix minor testsuite issues, update docs, for Yacc/Lex changes. + * doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS + and AM_LFLAGS, LFLAGS in the order in which they now appear in + the rules. + * NEWS: Update. + * tests/lflags.test, tests/lflags2.test, tests/yflags.test, + tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to + please maintainer-check. Ensure generated C files contain a + declaration, to please compilers. + +2010-06-21 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix bugs in Automake Yacc/Lex support w.r.t. $(AM_FLAGS) and + $(FLAGS) precedence. + * automake.in: Fix registration of languages "Lex", "Lex (C++)", + "Yacc" and "Yacc (C++)", so that $(LFLAGS) has precedence over + $(AM_LFLAGS) and $(YFLAGS) has precedence over $(AM_YFLAGS). + * tests/Makefile.am (XFAIL_TESTS): Updated accordingly. + * NEWS: Updated. + + New tests, exposing bugs in Automake Yacc/Lex support w.r.t. + $(AM_FLAGS) and $(FLAGS) precedence. + * tests/lflags.test: New test, check that user $(LFLAGS) takes + precedence over automake (AM_LFLAGS) and (foo_LFLAGS). Still + xfailing. + * tests/lflags2.test: Likewise. + * tests/yflags.test: New test, check that user $(YFLAGS) takes + precedence over automake (AM_YFLAGS) and (foo_YFLAGS). Still + xfailing. + * tests/yflags2.test: Likewise. + * tests/Makefile.am (TESTS, XFAIL_TESTS): Extended accordingly. + +2010-06-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + Modernize, improve and extend tests `suffix*.test'. + * tests/suffix3.test: Enable `errexit' shell flag, and related + changes. + * tests/suffix4.test: Likewise. + * tests/suffix6.test: Likewise, and do not create a useless dummy + source file. + * tests/suffix7.test: Likewise. + * tests/suffix5.test: Enable `errexit' shell flag, and related + changes. Make grepping of Makefile.in slightly stricter. + * tests/suffix.test: Enable `errexit' shell flag, and related + changes. Also, do not redirect grep output to /dev/null, as this + might unmotivatedly hide useful information. + * tests/suffix2.test: Move setting of `errexit' shell flag earlier + in the script (just after inclusion of ./defs). Use a more + idiomatic way to count text occurrences in Makefile.in with + grep. Do not create useless dummy source files. + * tests/suffix10.test: Ensure verbose printing of captured make + stdout. Minor cosmetic changes. + * tests/suffix8.test: Likewise. Also, drop useless call to the + env(1) utility, and make grepping of make output stricter by using + $FGREP rather than plain grep. + * tests/suffix11.test: Likewise. + * tests/suffix12.test: Likewise. + * tests/suffix9.test: Prefer cat + here-doc over echo to append to + the `configure.in' stub. Cosmetic changes. + * tests/suffix13.test: Cosmetic spacing change. + +2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + Add useful comment in test script ext.test. + * tests/ext.test: Add a comment explaining why an apparently + useless `if' statement is indeed required. + +2010-06-13 Stefano Lattarini <stefano.lattarini@gmail.com> + + Add useful comment in test script obsolete.test. + * tests/obsolete.test: Add a comment explaining why we need + an indirection in adding $AUTOUPDATE to $required. + + Normalize whitespaces in 'tests/Makefile.am'. + * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the + definition of this variable. + + Parallel tests generation: improve comments (tiny change). + * tests/Makefile.am ($(parallel_tests)): Added useful comment to + generated tests. + + Tests defs: truly get rid of `$am_defs_included' (unused variable) + * tests/defs.in ($am_defs_included): Remove, its now unused. It + should have been removed in a previous changeset, but the removal + was done only partially (oversight). + +2010-06-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Remove a couple of unneeded conditionals from tests. + * tests/pr243.test, tests/pr266.test, tests/strip.test: No need + for the FOOTEST conditional. + +2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + Modernize, improve and/or fix various test scripts. + * tests/symlink3.test: Deleted, separated into two new, more + complete tests ... + * tests/forcemiss.test: ... this one ... + * tests/forcemiss2.test: ... and this one. + * tests/symlink2.test: Enable `errexit' shell flag, make test + stricter, and skip it if symlink creation is not supported. + * tests/postproc.test: Enable `errexit' shell flag, related + changes, and a couple of unrelated cosmetic changes. + * tests/recurs.test: Use the `configure.in' stub created by + `./defs', rather than writing one from scratch. Make grepping + of Automake stderr slightly stricter. + * tests/substtarg.test: Likewise. + * tests/strip.test: Likewise, and move the call to `set -e' + earlier (just after the inclusion of `./defs'). Also, make sure + that the script installed by `make install-script' is equal to + the original one. + * tests/substref.test: Use the `configure.in' stub created by + `./defs', rather than writing one from scratch. Move the call + to `set -e' earlier (just after the inclusion of `./defs'). + Avoid to explicitly export CC for configure (that's already done + in ./defs). Avoid potential problems with unpredictable make + output. Finally, make grepping of Makefile.in stricter. + * tests/substre2.test: Ensure verbose printing of the captured + make's output, and make its grepping slightly stricter. + * tests/cygwin32.test: Enable `errexit' shell flag, and related + changes. Also, do not create useless dummy source/data files. + * tests/scripts.test: Likewise. + * tests/recurs2.test: Likewise. Also, use the `configure.in' + stub created by `./defs'. + * tests/Makefile.am (TESTS): Updated. + + Modernize, improve and/or fix tests `pluseq*.test. + * tests/pluseq5.test: Append to configure.in using cat with an + here-doc, not using echo. + * tests/pluseq10.test: Make sure that the captured output of + `make' command is always displayed. Where possible, use $FGREP + instead of grep (this change makes some checks slightly stricter). + * tests/pluseq8.test: Enable `errexit' shell flag, with related + changes. + * tests/pluseq.test: Likewise. Also, do not create useless dummy + data files, and use better m4 quoting in generated configure.in. + * tests/pluseq2.test: Likewise. Also, append to configure.in + using cat with an here-doc, not using echo. + * tests/pluseq3.test: Likewise. + * tests/pluseq4.test: Likewise. + * tests/pluseq6.test: Likewise. + * tests/pluseq7.test: Do not create useless dummy source file. + * tests/pluseq9.test: Slightly extended w.r.t. the grepping of + Automake stderr. Some unrelated cosmetic changes. + +2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + cscope.test: ensure verbose printing of captured stderr. + * tests/cscope.test: Print captured stderr before failing. + +2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + Testsuite: ensure verbose printing of captured stderr. + * tests/acloca18.test: Print captured stderr before either failing + or grepping it. Be sure to send captured stderr to stderr, not to + stdout. + * tests/ansi3b.test: Likewise. + * tests/cond39.test: Likewise. + * tests/configure.test: Likewise. + * tests/missing3.test: Likewise. + * tests/missing6.test: Likewise. + * tests/output-order.test: Likewise. + * tests/pr300-ltlib.test: Likewise. + * tests/python6.test: Likewise. + * tests/python7.test: Likewise. + * tests/python8.test: Likewise. + * tests/python9.test: Likewise. + * tests/subobj.test: Likewise. + * tests/vars3.test: Likewise. + * tests/missing4.test: Likewise, and fix a call to grep not to use + the `-c' flag. + * tests/ansi3.test: Likewise, and rely on the `configure.in' stub + created by `./defs', rather than writing one from scratch. + + Enable `errexit' shell flag in various tests. + * tests/backsl.test: Enable the `errexit' shell flag, and + related changes. + * tests/backsl2.test: Likewise. + * tests/block.test: Likewise. + * tests/canon2.test: Likewise. + * tests/canon4.test: Likewise. + * tests/comment2.test: Likewise. + * tests/condlib.test: Likewise. + * tests/cond15.test: Likewise, and prefer $FGREP over grep. + * tests/canon3.test: Likewise. Also, avoid to create an useless + dummy source file. + * tests/acoutpt2.test: Enable the `errexit' shell flag, and some + related changes. Do some cosmetic improvements in the generated + `configure.in' file. + * tests/cond4.test: Likewise. + * tests/cond14.test: Likewise. + * tests/condinc.test: Likewise. + * tests/cond7.test: Likewise. Also, remove useless setting of + AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am. + * tests/ansi.test: Enable the `errexit' shell flag, and related + changes. Extended, esp. by running autoconf, ./configure and + make, and by looking into the distdir. + +2010-06-12 Stefano Lattarini <stefano.lattarini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Extend tests/README w.r.t. trailing `:' in test scripts. + * tests/README (section "Writing test cases" subsection "Do"): + Explain why apparently redundant trailing `:' and `Exit 0' in + test scripts can indeed be useful. + +2010-06-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + Improve determination of PATH separator in bootstrap script. + * bootstrap: Determine what the PATH separator is the same way + autoconf does. + + Minor improvements in bootstrap script. + * bootstrap: Consistently use two-spaces indentation. Cosmetic + improvement to comments. + ($me): New variable, containing program basename. + Prepend it to all error messages. + + Testsuite now works with BSD make in parallel mode. + * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO, + which are exported by BSD make when run in parallel mode, and + which can confuse make processes spawned by our testsuite. + This change fixes a lot of spurious failure when the testsuite + is run with BSD make in parallel mode. + +2010-06-09 Stefano Lattarini <stefano.lattarini@gmail.com> + + Modernize, improve and/or fix various test scripts. + * tests/sanity.test: Rely on the `configure.in' stub created by + `./defs', rather than writing one from scratch. + * tests/depend2.test: Likewise. Also, call `set -e' just after + the inclusion of `./defs', instead that later in the script. + * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to + $AUTOMAKE, and improve the positioning of an $ACLOCAL call. + * tests/exeext4.test: Use $FGREP instead of grep, where possible. + Make auxiliary rules in the generated Makefile more silent. + These changes make some checks slightly stricter. + * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails. + * tests/gettext2.test: Place final `:' at the end of the script, + rather than in the middle. + * tests/exeext.test: Call `set -e' just after the inclusion of + `./defs', instead that later in the script. + * tests/extra5.test: Likewise. + * tests/confdeps.test: Likewise. Also, prefer `mv -f' over + plain `mv', just to be sure. + * tests/depcomp.test: Enable `errexit' shell flag, with related + changes. Also, modernize the generated configure.in. + * tests/cond9.test: Likewise. Also, rely on the `configure.in' + stub created by `./defs', rather than writing one from scratch. + * tests/cond10.test: Likewise. + * tests/depcomp2.test: Likewise. + * tests/depend3.test: Likewise. + * tests/distcom7.test: Likewise. + * tests/fortdep.test: Likewise. Also, remove definition of + AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am, + since that flag is already provided by $AUTOMAKE. + * tests/mdate.test: Made stricter, by checking that Automake + actually failed, and by making a stricter grep on the error + message. Also, set shell `errexit flag'. + * tests/python2.test: Improved verbose messages. + + Make test `ammissing.test' stricter. + * tests/ammissing.test: Fail if $ACLOCAL succeeds unexpectedly. + Enable `errexit' shell flag. + +2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix error in generation of parallel tests. + * tests/defs.in ($am_skip_defs): New variable, to be used when + ./defs must be sourced multiple times. If set, unset it and + only define $srcdir; otherwise, also go through the rest of + the script. + ($am_defs_included): Remove, no more needed. + * tests/Makefile.am ($(parallel_tests)): Update accordingly, + using only $srcdir from defs. + Fixes potential test failures of tests that use $required. + +2010-06-08 Stefano Lattarini <stefano.lattarini@gmail.com> + + Enable `errexit' shell flag in some test scripts. + * tests/subcond.test: Enabled `errexit' shell flag, and related + minor changes. + * tests/subst.test: Likewise. + * tests/vars.test: Likewise. + * tests/version4.test: Likewise. + * tests/vpath.test: Likewise. + * tests/vtexi2.test: Likewise. + * tests/werror.test: Likewise. + * tests/whoami.test: Likewise. + * tests/tags.test: Likewise, and avoid to crate an useless dummy + header file. + * tests/acsilent.test: Likewise, and don't use an easily-avoided + command substitution. + * tests/unused.test: Likewise, and don't use an easily-avoided + command substitution. + * tests/version.test: Likewise, and avoid deprecated constructs + in the generated `configure.in'. + * tests/version2.test: Likewise, and avoid deprecated constructs + in the generated `configure.in'. + +2010-06-07 Stefano Lattarini <stefano.lattarini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Improve declaration of dependencies in the testsuite. + * tests/Makefile.am (check_SCRIPTS): Remove. Instead, let ... + ($(TEST_LOGS)): ... all test logs depend on the scripts. + * test/gen-parallel-tests: For each parallel test foo-p.test, + let `foo-p.log' also depend on `foo.test', since it is sourced. + +2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Coverage for TAGS_DEPENDENCIES warning. + * tests/tags2.test: New test. + * tests/Makefile.am: Update. + + Coverage for use of anachronistic variables. + * tests/oldvars.test: New test. + * tests/Makefile.am: Update. + + Testsuite coverage for bogus macro file serial numbers. + * tests/acloca18.test: Also test ill-formed serial numbers + and serial numbers after macro definitions. + + Coverage for aclocal diagnosing underquoted macros. + * tests/acloca23.test: New test. + * tests/Makefile.am: Update. + +2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests. + * tests/ldadd.test: Enable errexit. Use AUTOMAKE_fails so + the verbose log contains all output. + * tests/mdate.test: Likewise. + Prompted by Stefano Lattarini's change to discover.test. + +2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + More minor message fixes. + * aclocal.in (scan_file): Fix recommended info command line. + * automake.in (handle_lib_objects): No need to prepend function + name to prog_error message. + (handle_tags): Add missing word and missing space in error + message. + (handle_dist): Add missing closing single quote in message. + Line-wrap one long message for readability. + +2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix distcheck failure with distributed generated parallel tests. + * tests/Makefile.am ($(parallel_tests)): Cope with $(srcdir) + being different from the value at developer `make dist' time. + * tests/defs.in: Protect against multiple inclusion, by using ... + ($am_defs_included): ... this new variable. + ($srcdir): Do not compute, but simply define to `@abs_srcdir@' + as substituted by configure. + Report, suggestions and first fix by Ralf Wildenhues, final + patch by Stefano Lattarini. + +2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + Improve tests link*.test (enable `errexit' shell flag). + * tests/link_c_cxx.test: Enable `errexit shell flag, and related + changes. Also, do not create useless source files. + * tests/link_dist.test: Likewise. + * tests/link_f90_only.test: Likewise. + * tests/link_f_only.test: Likewise. + * tests/link_fc.test: Likewise. + * tests/link_fccxx.test: Likewise. + * tests/link_fcxx.test: Likewise. + +2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Improve ext.test semantics, avoid OpenBSD sh errexit issue. + * tests/ext.test: Inside shell compound command, use + `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to + fix failure with OpenBSD sh introduced with last patch. + Actually ensure that a rule for .EXT.o is created for each + known extension EXT. + +2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + Enable `errexit' shell flag in some test scripts. + * tests/dash.test: Enable `errexit' shell flag, and related + changes. + * tests/defun.test: Likewise. + * tests/defun2.test: Likewise. + * tests/dejagnu.test: Likewise. + * tests/double.test: Likewise. + * tests/distcom2.test: Likewise. + * tests/empty2.test: Likewise. + * tests/empty3.test: Likewise. + * tests/empty4.test: Likewise. + * tests/exdir.test: Likewise. + * tests/ext.test: Likewise. + * tests/extra.test: Likewise. + * tests/extra2.test: Likewise. + * tests/extra3.test: Likewise. + * tests/extra4.test: Likewise. + * tests/flibs.test: Likewise. + * tests/fnoc.test: Likewise. + * tests/fo.test: Likewise. + * tests/instexec.test: Likewise. + * tests/ltdeps.test: Likewise. + * tests/nodep.test: Likewise. + * tests/nodepcomp.test: Likewise. + * tests/f90only.test: Likewise, and remove botched/obsoleted + comments and unnecessary commands. + * tests/fonly.test: Likewise, and remove botched/obsoleted + comments and unnecessary commands. + * tests/discover.test: Likewise, and made stricter. + + Enable `errexit' shell flag in all tests cxx*.test. + * tests/cxx.test: Enabled `errexit' shell flag, and related + minor changes. + * tests/cxxansi.test: Likewise. + * tests/cxxcpp.test: Likewise. + * tests/cxxlibobj.test: Likewise. + * tests/cxxlink.test: Likewise. + * tests/cxxo.test: Likewise. + + Enable `errexit' shell flag in various tests. + * tests/acoutnoq.test: Enabled `errexit' shell flag, and related + minor changes. + * tests/acoutpt.test: Likewise. + * tests/acoutqnl.test: Likewise. + * tests/amassign.test: Likewise. + * tests/ansi2.test: Likewise. + * tests/ansi4.test: Likewise. + * tests/badprog.test: Likewise. + * tests/checkall.test: Likewise. + * tests/clean.test: Likewise. + * tests/colneq2.test: Likewise. + * tests/colon.test: Likewise. + * tests/colon5.test: Likewise. + * tests/colon6.test: Likewise. + * tests/comment.test: Likewise. + * tests/compile_f90_c_cxx.test: Likewise. + * tests/compile_f_c_cxx.test: Likewise. + * tests/cond3.test: Likewise. + * tests/cond6.test: Likewise. + * tests/cond13.test: Likewise. + * tests/conf2.test: Likewise. + * tests/confvar.test: Likewise. + * tests/confvar2.test: Likewise. + * tests/cond8.test: Likewise, plus a cosmetic change. + * tests/confh4.test: Likewise. Also, add in the heading comments + an excerpt from the original bug report which motivated the + creation of this test, to make its purpose clearer. + +2010-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Rewrite manual to be gender-neutral. + * doc/automake.texi (GNU Build System) + (Standard Directory Variables, General Operation, CVS) + (Hard-Coded Install Paths, Dependencies As Side Effects): + Rewrite text to not contain gender-specific pronouns when + speaking about developers or users, either by avoiding pronouns + or by addressing them as `you' instead. + * THANKS: Update. + Report by Christina Gratorp. + + * AUTHORS: Update. + +2010-06-06 Stefano Lattarini <stefano.lattarini@gmail.com> + + Tiny fix in silent8.test (display output of `make' command). + * tests/silent8.test: Make sure that the captured output of `make' + command is always displayed. + + Make tests on user extensibility of silent-rules mode stricter. + * tests/silent6.test: Made stricter w.r.t. the grepping of the + output produced by `make'. + * tests/silent7.test: Likewise. + + Tests on silent-mode for C/Libtool made stricter. + * tests/silent.test: Made stricter w.r.t. the grepping of the + output produced by `make'. + * tests/silent2.test: Likewise. + * tests/silent4.test: Likewise. + * tests/silent9.test: Likewise. + * tests/silent3.test: Likewise, and add a final `make distclean' + command to keep it better in sync with tests/silent{4,9}.test. + + Improved test silent5.test. + * tests/silent5.test: Remove by hand all generated C files after + non-verbose builds, to ensure the following builds are clean. + Try to clean and rebuild with the same verbosity and without + removing generated sources in between, to check that this does + not trigger a different set of rules. Make grepping of make's + output stricter. Improved/added some comments. + + New tests for Automake silent-mode with Fortran. + * tests/silentf77.test: New test. + * tests/silentf90.test: Likewise. + * tests/Makefile.am (TESTS): Updated accordingly. + + New test `silentcxx.test' (Automake silent-mode with C++). + * tests/silentcxx.test: New test. + * tests/Makefile.am (TESTS): Updated accordingly. + + New test `silentyacc.test' (Automake silent-mode with Yacc). + * tests/silentyacc.test: New test. + * tests/Makefile.am (TESTS): Updated accordingly. + + New test `silentlex.test' (Automake silent-mode with Lex). + * tests/silentlex.test: New test. + * tests/Makefile.am (TESTS): Updated accordingly. + + Relax tests on silent-rules to cater to overly verbose makes. + * tests/silent.test: When testing silent builds, don't fail if + make's output simply contains the `mv' substring, but only if + it contains the `mv ' substring (note the trailing space). + * tests/silent2.test: Likewise. + * tests/silent3.test: Likewise. + * tests/silent4.test: Likewise. + * tests/silent5.test: Likewise. + * tests/silent9.test: Likewise. + +2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + Extend test on `nostdinc' automake option. + * tests/nostdinc.test: Enable `errexit' shell flag. Related and + unrelated minor changes. Make the grepping of the generated + Makefile.in slightly stricter. Generate and run configure, so that + the generated Makefile can be grepped too. + +2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Make gnupload portable to EBCDIC hosts. + * lib/gnupload: Use literal newline as argument for 'tr' rather + than \015, for EBCDIC hosts. Also, avoid unportable nested + double-quotes and backquotes. + * THANKS: Update. + Report from Eric Blake and Steve Goetze via gnulib. + +2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix Autoconf version required by Automake's configure. + Automake configure script used to tell that automake required + autoconf 2.60 or later, but then it checked for autoconf >= 2.62, + and if that was not found, it gave an error saying that Automake + required configure 2.61a-341 or later. This change should + eliminate such inconsistencies. + * configure.ac ($required_autoconf_version): New variable. + Use it throughout. + +2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix truncated comment in Makefile.am. + * Makefile.am (sc_tests_logs_duplicate_prefixes): Fix unfinished + sentence in comment. + Report by Stefano Lattarini. + + Relax silent8.test for NetBSD make. + * tests/silent8.test: Accept ./foo.info in output as well. + + Fix unportable sed script in maintainer-check test. + * Makefile.am (sc_tests_Exit_not_exit): Rewrite sed script to + not contain semicolon after 'b' or brace commands, for NetBSD. + + Wildcards are not portable to NetBSD make. + * doc/automake.texi (Wildcards): Document portability issue. + * tests/extra10.test, tests/extra11.test, tests/extra12.test: + Require GNU make. + +2010-05-23 Stefano Lattarini <stefano.lattarini@gmail.com> + + Make test for configure.in vs. configure.ac stricter. + * tests/configure.test: Use a configure.in file that provokes + an automake error, to ensure configure.ac is preferred. + + Avoid possible false negatives in dejagnu7.test. + * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid + unportable use of fgrep option `-e'. + + Fix conflnk3.test to work with Solaris/Heirloom Sh. + * tests/conflnk3.test: Use `test -r FILE' and `test ! -r FILE' + instead of respectively `test -e FILE' and `test ! -e FILE', + since Solaris Sh doesn't grok the latter. Do not SKIP the test + if the shell doesn't support `test -e'. + +2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Warning and error message formatting cleanups. + * aclocal.in (parse_arguments, main): Remove trailing period or + newline in error or warning messages, avoid capitalization of + the first word of a message. + * automake.in (check_user_variables, handle_languages) + (handle_ltlibraries, scan_aclocal_m4, scan_autoconf_config_files) + (scan_autoconf_files, cond_stack_if, require_file_internal) + (usage, generate_makefile, parse_arguments): Likewise. + * lib/Automake/ChannelDefs.pm (set_strictness): Likewise. + * lib/Automake/Configure_ac.pm (find_configure_ac): Likewise. + * lib/Automake/Options.pm (set_strictness): Likewise. + * lib/Automake/Rule.pm (define): Likewise. + * lib/Automake/Variable.pm (define, variables_dump): Likewise. + * tests/ltinstloc.test, tests/suffix11.test: Adjust expected + error message. + * lib/Automake/Channels.pm (setup_channel): Reword error message + to be the same as in msg. + + Fix placing of ellipses in English text and synopses. + * Makefile.am: Be sure to add a space before `...' in natural + language text. + * automake.in (scan_autoconf_traces): Likewise. + * lib/Automake/Rule.pm (define): Likewise. + * lib/Automake/Variable.pm (define): Likewise. + * lib/am/dejagnu.am: Likewise. + * lib/am/progs.am: Likewise. + * lib/gnupload (dprint, upload): Likewise. + * tests/confdeps.test: Likewise. + * tests/location.test: Adjust expected output. + * automake.in (usage): In synopsis, use singular for OPTION, + * remove space before ellipsis. + * aclocal.in (usage): Likewise. Also, fix indentation. + + Fix more duplicate message prefixes. + * lib/Automake/XFile.pm (seek): Do not prepend $me. + ($me): Remove now-unused package-global. + * aclocal.in (check_acinclude): Remove duplicate 'warning: ' + prefix. + + Fix typo in manual. + * doc/automake.texi (Simple Tests using parallel-tests): Add + missing closing parenthesis. + + Fix leftover call to removed function macros_dump. + * automake.in (read_main_am_file): Call variables_dump, not + macros_dump. Print actual error before list of variables. + +2010-04-22 Stefano Lattarini <stefano.lattarini@gmail.com> + + Minor improvements in comments of test `silent3.test'. + * tests/silent3.test: Tell to keep it in sync with `silent9.test' + too. + +2010-04-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + testsuite: ensure verbose printing of captured output. + * tests/acloca14.test, tests/acloca18.test, tests/aclocal.test, + tests/fort2.test, tests/help.test, tests/missing3.test, + tests/missing6.test: Print captured stdout or stderr before + grepping it. + +2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + Make test badopt.test stricter (by enabling `set -e'). + * tests/badopt.test: Add call to `set -e'. Due to this change, + an unexpected failure in the call to `$ACLOCAL' (whose outcome + was previously unchecked) would cause the whole test to fail. + Also, bumped the copyright years. + + Make test for configure.in vs. configure.ac stricter. + * tests/configure.test: Use a configure.in file that provokes + an automake error, to ensure configure.ac is preferred. + + Use `set -e' in confsub.test (avoids possible false negatives). + * tests/confsub.test: Enable shell `errexit' flag, and related + changes (this helps avoiding some possible minor false negatives). + Also, bumped copyright years. + +2010-04-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix -Werror handling for presence of configure.in and configure.ac. + * lib/Automake/Variable.pm (Automake::Variable): Do not initialize + $configure_ac at the global level, before command-line arguments + have been parsed. + (require_variables): Initialize it here. + * tests/configure.test: New test. + * tests/Makefile.am: Update. + Report by Stefano Lattarini. + +2010-04-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + Avoid possible false negatives in confh5.test. + * tests/confh5.test: Enable shell `errexit' flag, and bumped + copyright years. Due to this change, any unexpected failure + in calls to $ACLOCAL, $AUTOMAKE, $AUTOCONF or $AUTOHEADER, or + a failure in grepping expected text in output files should now + cause the whole test to fail. + +2010-04-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fixed typo in POD documentation of Automake::Channels. + * lib/Automake/Channels.pm: Fixed typo in POD documentation: + @<...> was used instead of C<...>. + +2010-04-14 Stefano Lattarini <stefano.lattarini@gmail.com> + + Refactor tests on Automake TESTS color output. + * tests/color.test: Tests using the expect program moved out to... + * tests/color2.test: ... this new file. + * tests/Makefile.am (TESTS): Extended accordingly. + +2010-04-12 Stefano Lattarini <stefano.lattarini@gmail.com> + + Fix typos in comments in test confh5.test + * tests/confh5.test: Fix a couple of typos in comments. + + Avoid possible false negatives in canon-name.test. + * tests/canon-name.test: Enable shell `errexit' flag. Improve + test description. + +2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Print 'warnings are treated as errors' note if needed. + * lib/Automake/Channels.pm: Fix typo in comment. + (_print_message): If -Werror is enabled, print a 'warnings are + treated as errors' note before the first such warning. + * tests/warnopts.test: Adjust comment to mention expected warning. + Adjust code to ignore 'warnings are treated as errors' note. + * tests/location.test: Adjust expected output with -Werror. + * tests/werror4.test: New test. + * tests/Makefile.am: Update. + * NEWS: Update. + + Ensure we don't print 'warning:' or 'error:' twice. + * Makefile.am (sc_ensure_testsuite_has_run): New helper rule. + (sc_tests_logs_duplicate_prefixes): New rule, to check for + wrong-looking warning and error messages in the test suite logs. + * aclocal.in (scan_configure_dep, scan_file): Remove duplicate + `warning: ' prefix. + * tests/vars3.test: Rename variable to avoid false positive. + + Prepend type to warning, error, and fatal messages. + For the first part of messages of types `error' or `fatal', + prepend `error: ' to the message. Prepend `warning: ' to + warning messages, whatever the setting of -Werror. + * lib/Automake/Channels.pm (partial): Move up definition. + (_format_message): Emit `header' and `footer' strings only with + the first resp. last part of a set of partial messages. + * lib/Automake/ChannelDefs.pm: Add missing '1;' statement at the + end of the module. + (Automake::ChannelDefs): Setup warning channels with header + `warning: ', error and fatal messages with header `error: '. + * tests/condinc2.test, tests/ltinstloc.test: Adjust expected + error messages. + * tests/comment5.test: Likewise. Also, include stack notes + should not start with `error:'. + * tests/location.test: Likewise. Also, try both -Werror and + -Wno-error. + * NEWS: Update. + Report by Bruno Haible. + + Fix capitalization of error messages, reword one message. + * lib/Automake/Variable.pm (define): Do not capitalize the first + word in the error message. + * automake.in (require_file_internal): Likewise. Also, reword + and line-wrap for better readability. + * tests/distcom7.test, tests/pluseq5.test, tests/pluseq9.test: + Adjust tests. + + Fix connected warnings about obsolete exeext override. + * lib/Automake/Rule.pm (define): Merge two warnings that belong + together, by setting the 'partial' flag for the first one. + + Fix per-Makefile.am setting of -Werror. + Before this patch, 'AUTOMAKE_OPTIONS = -Werror' in one + Makefile.am would carry over to other Makefile.am files + treated afterwards by the same thread, causing inconsistent + and unstable exit status values. + * lib/Automake/Channels.pm (dup_channel_setup) + (drop_channel_setup): Save and restore the setting of + $warnings_are_errors. + * tests/werror3.test: New test. + * tests/Makefile.am: Adjust. + * NEWS: Update. + +2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + Bugfix in confh5.test w.r.t. Solaris/Heirloom Sh. + * tests/confh5.test: In the generated Makefile.am: do not use + `test ! -e FILE' to check for the non-existence of a file, since + that is not supported by Solaris/Heirloom Sh. + + Make test `aclocal3.test' stricter. + * tests/aclocal3.test: Add call to `set -e'. Fail if $ACLOCAL + succeeds unexpectedly. + + Add tests checking that symlinks are resolved by `make dist'. + * tests/distlinks.test: New test. + * tests/Makefile.am (TESTS): Updated accordingly. + Suggested by observations from Ralf Wildenhues. + +2010-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Use -9 for maximum xz compression with dist-xz. + * lib/am/distdir.am (dist-xz, dist, dist-all): Pass -9 to xz. + * NEWS, THANKS: Update. + Report by Pavel Sanda. + +2010-04-11 Stefano Lattarini <stefano.lattarini@gmail.com> + + Avoid possible false negatives in cond46.test. + * tests/cond46.test: Enable shell `errexit' flag (and bumped + copyright years). Due to this change, the testcase should now + fail on unexpected failures in calls to $ACLOCAL/$AUTOMAKE (whose + outcomes were previously unchecked), and on failures in grepping + the expected diagnostic in Automake stderr. + +2010-04-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + Generated tests are now just a thin layer around other tests. + * tests/Makefile.am: Rewrite the rule to generate the `*-p.test' + test scripts so that any of them simply includes the corresponding + `*.test' script (after setting `$parallel_tests' to `yes'). + * tests/.gitignore: Add wildcard for temporary files used in the + generation of `*-p.test' tests. + +2010-03-30 Stefano Lattarini <stefano.lattarini@gmail.com> + + Avoid an unportable use of `$status' shell variable. + * Makefile.am (path-check): Don't use the `$status' shell variable + in the target's rules, as it's special in Zsh (equivalent to `$?', + and readonly). + + Avoid another use of `chmod -R'. + * Makefile.am (path-check): To be safe, do not use `chmod -R' on + $(distdir) before removing it (as Solaris `chmod -R' touches + symlink targets). Instead, use the cleanup strategy used in + distdir.am. + +2010-03-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Remove uses of @acronym and @sc. + * doc/automake.texi (Public Macros, Limitations on File Names): + Remove all usage of @acronym and @sc in the manual. + Suggested by Karl Berry. + +2010-03-13 Karl Berry <karl@freefriends.org> + + GNU hello uses fdl.texi, not gpl.texi. + * doc/automake.texi (Texinfo): Adjust example to upstream + change. + +2010-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Formatting cleanups in macro comments. + * automake.in, lib/Automake/Channels.pm, + lib/Automake/FileUtils.pm, lib/Automake/Options.pm, + lib/Automake/Variable.pm, lib/Automake/XFile.pm, + m4/options.m4, m4/substnot.m4: Fix macro comment format. + +2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com> + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Avoid generation of `tests/defs-p' file. + * tests/defs.in: In the generated `configure.in' snippet: call + `AM_INIT_AUTOMAKE' with the `parallel-tests' option if the shell + variable `parallel_tests' is set to `yes'. + * tests/Makefile.am (defs-p): Target removed. + (check_SCRIPTS): Removed `defs-p'. + (clean-local-check): Do not unlink `defs-p' anymore. + ($(parallel_tests)): Transformation rules for the test scripts + adjusted. + * tests/gen-parallel-tests: Selection rules for the test + scripts adjusted. + * tests/parallel-tests.test: Set `$parallel_tests' to `yes' + then include `./defs' (rather than simply including `./defs-p'). + * tests/parallel-tests2.test: Likewise. + * tests/parallel-tests3.test: Likewise. + * tests/parallel-tests4.test: Likewise. + * tests/parallel-tests5.test: Likewise. + * tests/parallel-tests6.test: Likewise. + * tests/parallel-tests7.test: Likewise. + * tests/parallel-tests8.test: Likewise. + * tests/parallel-tests9.test: Likewise. + * tests/parallel-tests10.test: Likewise. + * tests/README (Section "Writing Test Cases" subsection "Do"): + Adjusted the parts referring to tests checking `parallel-tests' + behaviour. Some other minor related improvements. + * tests/.gitignore (defs-p): Removed. + +2010-03-04 Stefano Lattarini <stefano.lattarini@gmail.com> + + Remove redundant unset of variable TESTS from some test scripts. + * tests/color.test: Do not unset the `TESTS' variable, as it's + already unset in the `defs' file. + * tests/check5.test: Likewise. + * tests/check8.test: Likewise. + * tests/check9.test: Likewise. + * tests/check10.test: Likewise. + * tests/check11.test: Likewise. + * tests/parallel-tests.test: Likewise. + * tests/parallel-tests3.test: Likewise. + * tests/parallel-tests4.test: Likewise. + * tests/parallel-tests5.test: Likewise. + * tests/parallel-tests6.test: Likewise. + * tests/parallel-tests7.test: Likewise. + +2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix cscope test on systems without working Fortran compiler. + * tests/cscope.test: Skip remainder of test if `$MAKE all' fails. + * THANKS: Update. + Report by Peter Johansson. + +2010-02-24 Antonio Diaz Diaz <ant_diaz@teleline.es> (tiny change) + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Add lzip compression support. + * automake.in (handle_dist): Recognize dist-lzip. + (make_paragraphs): Map LZIP to dist-lzip. + * doc/automake.texi (Dist): Add dist-lzip. + (Options): Likewise. + * lib/Automake/Options.pm (_process_option_list): Add dist-lzip. + * lib/am/distdir.am + (dist dist-all): Add command to create an lzip-compressed tarball. + (distcheck): Handle lzip-compressed tarballs just like the others. + * tests/defs.in: Test for lzip, too. + * tests/lzip.test: New file, based on nogzip.test. + * tests/Makefile.am (TESTS): Add lzip.test. + * NEWS: Update. + +2010-02-22 Karl Berry <karl@gnu.org> + + Improve help message of mdate-sh. + * mdate-sh: mention actual output format in help message. + +2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Deprecate dist-lzma in favor of dist-xz. + * doc/automake.texi (The Types of Distributions, Options): + Adjust text to reflect renaming of lzma to xz. + * NEWS: Update. + Missing deprecation noted by Antonio Diaz Diaz. + +2010-02-20 Stefano Lattarini <stefano.lattarini@gmail.com> + + Add tests about support of wildcards in EXTRA_DIST. + * tests/extra10.test: New test, check basic support of wildcards + in EXTRA_DIST. + * tests/extra11.test: New test, check more complex usage of + wildcards in EXTRA_DIST. + * tests/extra12.test: New test, check usage of wildcards in + EXTRA_DIST when $builddir != $srcdir. + * tests/Makefile.am (TESTS): Updated accordingly. + Necessity of these new tests suggested by Braden McDaniel + and Ralf Wildenhues. + +2010-02-08 Simon Josefsson <simon@josefsson.org> + + Fix copyright statement in gnupload script. + * lib/gnupload: Fix copyright statement. + +2010-02-06 Dmitry V. Levin <ldv@altlinux.org> (tiny change) + Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix exit status of signal handlers in shell scripts. + The value of `$?' on entrance to signal handlers in shell scripts + cannot be relied upon, so set the exit code explicitly to + 128 + SIG<SIGNAL>. + * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler. + * lib/elisp-comp: Likewise. + * lib/install-sh: Likewise. + * lib/ylwrap: Likewise. Also, fix script to trap signal 13, not 3. + * NEWS, THANKS: Update. + Bug report, analysis, and initial patch by Dmitry V. Levin. + +2010-02-06 Karl Berry <karl@gnu.org> + + Improve gnupload usage text. + * gnupload (usage): Shorten to make more likely to fit on a tty + line. Mention CMD in the synopsis. With ..., plural is implied. + +2010-01-28 Christos Kontas <xakon@yahoo.com> (tiny change) + + Fix some typos in the manual + * doc/automake.texi (Nested Packages, Rebuilding): Fix typos. + +2010-01-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Fix silent-rules output for disabled dependency tracking. + * lib/am/depend2.am [!%FASTDEP%]: Rework silent-rules variable + expansion code to also work in the case where %AMDEP% expands + to FALSE at config.status time, using new substitution string + %VERBOSE-NODEP%. + * automake.in (verbose_nodep_flag): New function, appending + `@am__nodep@' to the verbose-variable name. + (handle_languages): If dependencies are not disabled, use it to + set %VERBOSE-NODEP%. + * m4/depend.m4: Substitute am__nodep as '_no', so the second + verbose-variable will always expand to an empty string, if + dependencies are enabled. + * tests/silent5.test: Also test --disable-dependency-tracking; + also test per-target flags for non-C language files. + * tests/silent9.test: New test, like silent4.test but disable + dependency tracking. + * tests/Makefile.am: Adjust. + * NEWS, THANKS: Update. + Report by Dmitry V. Levin <ldv@altlinux.org>. + +2010-01-17 Stefano Lattarini <stefano.lattarini@gmail.com> + + Slighty improve tests acoutbs.test and acoutbs2.test. + * tests/acoutbs2.test: Enable `errexit' shell flag. Check that + autoconf and configure work, that the file `zot' is created by + configure, and that no file containing a backslash in its name is + created. + * tests/acoutbs.test: Likewise, plus updated copyright years. + + Fix test acoutbs2.test. + * tests/acoutbs2: In the generated configure.in: add proper calls + to AC_INIT and AM_INIT_AUTOMAKE, and remove explicit definition of + PACKAGE and VERSION. Add a call to aclocal before calling automake. + Updated copyright years. + * tests/Makefile.am (XFAIL_TESTS): Removed acoutbs2.test. + + Add forgotten test scripts to $(TESTS). + * tests/Makefile.am (TESTS): Added test scripts present on the + filesystem, which were erroneously left out from $(TESTS): + acoutbs2.test, badopt.test, extra2.test. + (XFAIL_TESTS): Added acoutbs2.test. + +2010-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + Sync auxiliary files from upstream. + * INSTALL, lib/INSTALL, lib/config.guess, lib/config.sub: + Sync from upstream. + + Bump copyright years. + * aclocal.in (write_aclocal, version): Bump copyright years. + * automake.in (gen_copyright, version): Likewise. + * doc/automake.texi: Likewise. + + Rotate ChangeLog. + * ChangeLog.09: New file, rotated from ... + * ChangeLog: ... here. + * Makefile.am (EXTRA_DIST): Distribute ChangeLog.09. + +----- + +Copyright (C) 2010-2012 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, are +permitted provided the copyright notice and this notice are preserved. + +;; Variables: +;; coding: utf-8 +;; End: diff --git a/old/ChangeLog.96 b/old/ChangeLog.96 new file mode 100644 index 000000000..d89c2e35d --- /dev/null +++ b/old/ChangeLog.96 @@ -0,0 +1,3685 @@ +Wed Dec 18 15:27:09 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (read_am_file): Sort configure_vars before adding to + output_vars. + (handle_yacc_lex_cxx): Sort de_ansi_objects. + (handle_man_pages): Sort %section keys. + +Tue Dec 10 00:41:17 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (AC_SUBST_PATTERN): Check for alphanumeric variable + names only. Test subst.test. + (scan_one_configure_file): Skip AC_DEFUN lines. Test + defun2.test. + +Mon Dec 9 08:18:42 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (file_contents_with_transform): Use ne, not !=, to + compare strings. Compare against correct string. From Jim + Meyering. + (handle_texinfo): Use rm -f to remove info files. From Gord + Matzigkeit. + + * Released 1.1l. + + * automake.in (handle_texinfo): Put .ps on @suffixes. + +Sun Dec 8 12:29:52 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (am_install_var): Directory with 'exec' in its name + is installed by install-exec. + + * subdirs.am (maintainer-clean-recursive): Make commands quiet. + * texinfos.am: Make commands quiet. + * scripts.am: Make commands quiet. + * progs.am: Make commands quiet. + * ltlibs.am: Make comamnds quiet. + * lisp.am: Make commands quiet. + * libs.am: Make commands quiet. + * header.am: Make commands quiet. + * data.am: Make commands quiet. + + * automake.in (variable_value_as_list): Handle := substitution + references. + (am_conf_line_error): Take file argument. Changed all callers. + (scan_one_configure_file): Skip config header of [$1]. + (scan_dependency_file): Don't add top_builddir to regex if it is + ".". Don't include top_builddir in output if it is ".". + (scan_one_configure_file): Skip version of [$2]. + +Sat Dec 7 11:34:39 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (scan_one_configure_file): New sub. + (scan_configure): Scan aclocal.m4 as well as configure.in. + (handle_configure): Makefile.in now depends on $(ACLOCAL), because + automake scans it. + + * automake.in (handle_configure): Put full path to file onto + @rewritten_inputs. Test output4.test. + + * automake.in (handle_configure): Put proper name onto @inputs. + Test output3.test. + + * automake.in (handle_configure): Pass correct args to automake + invocations. Test remake2.test. + + * automake.in (handle_configure): Check dirname of $file, not of + $local. Test output2.test. + + * automake.in (handle_dependencies): Added some missing ";"s in + transforms. + (get_object_extension): Ditto. + (handle_tags): Ditto. + (handle_tests): Ditto. + (read_am_file): Ditto. + (am_install_var): Ditto. + (file_contents_with_transform): Die if transform missing trailing + ";". + + * automake.in (am_install_var): Quote $ in regexp substitution. + From Ulrich Drepper. + +Fri Dec 6 18:54:10 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_configure): Require actual input files, not + rewritten input files. From Ulrich Drepper. + +Thu Dec 5 02:52:20 1996 Tom Tromey <tromey@cygnus.com> + + Suggestion from Mark Galassi: + * texinfos.am (DVIPS): New macro. + (.dvi.ps): New rule. + + * automake.in (handle_dependencies): Check to make sure + --build-directory specified before searching for .P files. + (handle_configure): Correctly handle ":" syntax when running + config.status. + + * remake.am: Removed rules to regenerate Makefile and Makefile.in; + now handled by handle_configure. + + * remake-subd.am: Removed. + + * automake.in (scan_configure): Handle multiple ":"s in AC_OUTPUT + arg. + (parse_arguments): Ditto. + (handle_configure): Ditto. + (%other_output_files): Removed. + (rewrite_inputs_into_dependencies): New sub. + (handle_configure): Use it. + (handle_configure): Ditto. + + From Gord Matzigkeit: + * automake.in (generate_makefile): Handle ":" in AC_OUTPUT arg. + (handle_configure): Ditto. + + * automake.in (handle_single_transform_list): .S is assembly + source. From Anthony Green. + + * automake.in (handle_single_transform_list): Correctly rewrite + C++ and Fortran source to objects ending in ".o". Test + cxxo.test. + + * automake.in: Better error message if file missing. + + * aclocal.in (@obsolete_macros): ud_GNU_GETTEXT is obsolete. + * automake.in (handle_gettext): Use AM_GNU_GETTEXT, not + ud_GNU_GETTEXT. + (scan_configure): Ditto. ud_GNU_GETTEXT is now obsolete. + +Wed Dec 4 00:41:23 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (scan_configure): Skip empty elements when adding to + libsources. Perl 4 bug reported by Greg A Woods. + + * Makefile.am (perl4-check): New target. + (cvs-dist): Run perl4-check. + + Perl 4 fixes. Reported by Greg A. Woods: + * automake.in (file_contents_with_transform): If transform caused + all chars to go away, then skip rest of loop. + (handle_texinfo): Don't use "next" in arg to + file_contents_with_transform. + (handle_dependencies): Ditto. + (handle_tests): Ditto. + + * m4/regex.m4 (AM_WITH_REGEX): Check for GNU regex in libc. From + Andreas Schwab. + + * automake.in (parse_arguments): Removed --strictness. + (handle_dist_worker): Don't use --strictness. + (handle_configure): Ditto. + (initialize_global_constants): Don't mention --strictness. + + * automake.in (handle_merge_targets): Use all-recursive-am instead + of all-recursive-hack. The latter is ugly, according to Joel + Weber. + + * automake.in (handle_emacs_lisp): Push $(ELCFILES) onto @all. + + * automake.in (do_one_clean_target): Allow -local version of clean + targets. + +Tue Dec 3 18:58:40 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dependencies): Skip C-only lines in + depend2.am when appropriate. + * depend2.am (.deps/%.P): Omit modification of $o if language is + not C. + +Tue Dec 3 11:29:01 1996 Gordon Matzigkeit <gord@gnu.ai.mit.edu> + + * compile-kr.am: Quote arguments to echo. + + * progs.am: Fix up problems when LIBTOOL is not defined (by + setting shell variable instprog to the installation program). + + * aclocal.in (scan_file): Allow the acinclude.m4 file to override + any other macro files (but still prevent multiple definitions + within acinclude.m4). + +Tue Dec 3 10:40:48 1996 Tom Tromey <tromey@cygnus.com> + + From Ulrich Drepper: + * automake.in (handle_emacs_lisp): Typo fix. + (scan_configure): Only recognize VERSION after whitespace. + + * texinfos.am: install-info requires path to info file. + + * progs.am: Use @LIBTOOL@, not $(LIBTOOL). + + * automake.in (am_install_var): If -ltlibs passed, substitute + @LIBTOOL@. + +Mon Dec 2 13:51:11 1996 Gordon Matzigkeit <gord@gnu.ai.mit.edu> + + * automake.in (get_object_extension): Unshift ansi2knr onto the + all target, so that it builds before any other targets. + [de_ansi_objects]: Delete, since unshifting ansi2knr is an easier + solution. + +Mon Dec 2 12:13:27 1996 Tom Tromey <tromey@cygnus.com> + + * Released 1.1i. + + From Janos Farkas: + * automake.in (handle_texinfo): Must quote $ for make. + +Sun Dec 1 15:08:09 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_configure): Correctly handle common case of + multiple non-Makefiles in AC_OUTPUT. Require all input files when + using ":" syntax. + +Sun Nov 24 00:33:50 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_source_transform): Don't define + EXTRA_prog_SOURCES unnecessarily. Test extra2.test. + + * automake.in (initialize_per_input): New variables + included_generic_compile, included_knr_compile, + included_libtool_compile. + (get_object_extension): Use them. + + * automake.in (handle_single_transform_list): Removed + Objective-C/C++ support (didn't really work anyway). + (handle_single_transform_list): Handle assembly specially. + + * automake.in (handle_yacc_lex_cxx): Set --mode=compile or + --mode=link when running libtool. + + * ltlibs.am: Set --mode=install when running libtool. + (uninstall-@DIR@PROGRAMS): Set --mode=uninstall when running + libtool. + * libtool.am (.c.lo): Set --mode=compile when running libtool. + * progs.am: Set --mode=install when running libtool. + + Fix for bug reported by François Pinard: + * automake.in (do_check_merge_target): New sub. + (do_one_merge_target): No longer handle `check'. + (handle_merge_targets): Use do_check_merge_target. + (initialize_per_input): Set @check_tests. + (handle_tests): Push onto @check_tests, not @check. + + * automake.in (am_install_var): Typo fix. + (handle_configure): Require $inputs[0]. + +Fri Nov 22 00:01:45 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_lib_objects): Fixed error message + processing. + +Thu Nov 21 22:29:30 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (scan_configure): AC_FUNC_FNMATCH doesn't add to + LIBOBJS. + (handle_configure): Support multi-":" mode for AC_OUTPUT. + + * m4/header.m4: New file. + + * automake.in (scan_configure): Recognize AM_CONFIG_HEADER. + +Wed Nov 20 00:23:42 1996 Tom Tromey <tromey@cygnus.com> + + * acinstall: Allow commentary at end of "serial" line. From Gord + Matzigkeit. + + * automake.in (handle_yacc_lex_cxx): Only replace output header if + it has changed. + +Tue Nov 19 19:03:30 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (am_primary_prefixes): Allow configure variables to + be named after primary. + (am_install_var): Ditto. + + * automake.in (initialize_per_input): Initialize output_header. + (generate_makefile): Set up output_header; print it before + output_rules. + (handle_footer): Put .SUFFIXES into output_header, for AIX. + +Mon Nov 18 19:11:53 1996 Gordon Matzigkeit <gord@gnu.ai.mit.edu> + + * automake.in: Added a lot of libtool support. New variable + prog_LDFLAGS to pass linker flags. Use libtoolize to install + libtool support files. + +Mon Nov 18 13:29:55 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_lib_objects): Push @LIBOBJS@ and @ALLOCA@ + onto dependency list. + + * aclocal.in (obsolete_macros): Include AM_SANITY_CHECK_CC; now + part of autoconf proper. + * m4/ccsanity.m4: Removed. + +Sun Nov 17 12:25:17 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (check_typos): Check to make sure EXTRA_ variables + don't contain configure subs. + (handle_dist_worker): Removed EXTRA_DIST_DIRS; not needed. + +Fri Nov 15 18:58:04 1996 Tom Tromey <tromey@cygnus.com> + + * tags-subd.am: Removed. + + * tags.am (tags-recursive): Removed. + (TAGS): Depend on @DIRS@, @CONFIG@. Use @CONFIG@ in rule. + (ID): From tags-subd.am. + + * aclocal.in (obsolete_macros): Include AM_FUNC_FNMATCH. + * automake.in (scan_configure): Recognize AC_FUNC_FNMATCH. + * m4/fnmatch.m4: Removed (now in autoconf). + + * automake.in (initialize_per_input): Init de_ansi_objects. + (handle_single_transform_list): Error if extension unrecognized. + Set elements of de_ansi_objects. + (get_object_extension): Don't push ANSI2KNR onto @all. + (handle_yacc_lex_cxx): Put ANSI2KNR into dependency of all ._o + files. + (pretty_print_internal): Initialize $bol depending on the column. + +Fri Nov 15 16:22:15 1996 Gordon Matzigkeit <gord@gnu.ai.mit.edu> + + * library.am: Fixed references to LIBRARY according to new scheme. + + * libs.am, libs-clean.am: Removed references to LIBFILES. + + * automake.texi (A Library): doc fix + + * automake.in (handle_libraries): Deleted references to *LIBFILES, + since we now have the full library name in the *LIBRARIES + variable. + (am_install_var): Removed `-no-all' option, which was only required + for the LIBFILES hack. + +Fri Nov 15 16:39:29 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in: Applied libtool-related patches from Gord. + (scan_configure): Set CC configure var if AM_PROG_LIBTOOL seen. + Also indicate that AC_CANONICAL_HOST was run. + + * Makefile.am (pkgdata_DATA): Removed aclocal.m4. + +Thu Nov 14 23:11:09 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_yacc_lex_cxx): Don't auto-define YACC, LEX, + CXX, CC. + + * dejagnu.am: Print warning if runtest missing. + + From Joerg-Martin Schwarz: + * automake.in (handle_aclocal_m4): Find aclocal.m4 in srcdir. + (require_file_internal): Unlink file before creating it. + + * depend2.am (.deps/%.P): Don't print commands when running. + +Mon Nov 11 10:35:08 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_single_transform_list): Simplified C++ + matching expression. + +Fri Nov 8 09:49:09 1996 Tom Tromey <tromey@cygnus.com> + + * Released 1.1g. + + * compile-kr.am ($(OBJECTS)): Removed. + + * automake.in (get_object_extension): Define ANSI2KNR. Push onto + @all if ansi2knr is in this directory. + + * configure.in: Don't run AC_ARG_PROGRAM, AC_PROG_MAKE_SET. + + * m4/init.m4: Run AM_SANITY_CHECK. + + * m4/sanity.m4: New file. + + * automake.in (handle_dist_worker): In Cygnus mode, possibly find + files to dist in build dir, not srcdir. + (%omit_dependencies): New global. + (scan_dependency_file): Handle OMIT_DEPENDENCIES. + (scan_configure): Put rx.h, regex.h on %omit_dependencies. Ditto + libintl.h. + (handle_tests): Remove CYGNUS strings in Cygnus mode. + (handle_texinfo): Ditto. + + * texinfos.am (dist-info): New target. + + * automake.in (handle_dist_worker): Use DISTFILES, not + DEP_DISTFILES. + (initialize_per_input): Initialize dist_targets. + (handle_texinfo): Don't compute @infos_list; don't define or use + INFOS. Put dist-info onto @dist_targets. + (handle_dist_worker): Handle @dist_targets. Don't use the "echo + trick" for expanding DISTFILES any more. + + * dist-vars.am (DEP_DISTFILES): Removed. + (DISTFILES): Don't include INFOS. + + * automake.in (handle_texinfo): Handle Cygnus mode. + * texinfos.am (.texi.info, .texinfo.info): Handle Cygnus mode. + + * automake.in (handle_single_transform_list): New sub. + (handle_source_transform): Use it. + (handle_built_sources): New sub. + +Thu Nov 7 14:49:16 1996 Tom Tromey <tromey@cygnus.com> + + * remake.am ($(srcdir)/Makefile.in): Pass @ARGS@ to automake. + * remake-subd.am ($(srcdir)/Makefile.in): Pass @ARGS@ to + automake. + * automake.in (handle_configure): Pass --cygnus when running + automake again. + + * remake-hdr.am ($(srcdir)/stamp-h.in): Depend on @FILES@, not + ACCONFIG, CONFIG_TOP, CONFIG_BOT. + * automake.in (handle_aclocal_m4): Always find aclocal.m4 in + top_srcdir. + (handle_configure): Don't define ACCONFIG, CONFIG_TOP, CONFIG_BOT; + instead substitute files directly. + +Wed Nov 6 10:22:26 1996 Tom Tromey <tromey@cygnus.com> + + * remake-hdr.am (stamp-h): Look in top_builddir for + config.status. + ($(srcdir)/stamp-h.in): Look in top_srcdir for configure.in. + +Thu Oct 31 10:55:59 1996 Tom Tromey <tromey@cygnus.com> + + * texinfos.am (.texi.dvi): Set MAKEINFO when running texi2dvi. + From Jim Meyering. + + * automake.in (handle_texinfo): Push install-info-am, not + install-info. + (handle_merge_targets): Handle no-installinfo option. + + * texinfos.am (install-info-am): Renamed from install-info. + + * automake.in (handle_subdirs): Include install-info-recursive if + no-installinfo given. + + * subdirs.am: Include INSTALLINFO token. + + * automake.in (handle_texinfo): Explicitly define MAKEINFO, + TEXI2DVI. + (cygnus_mode): New global. + (handle_dist_worker): Pass --cygnus to automake. + (initialize_global_constants): Document --cygnus. + (check_cygnus): New sub. + (handle_texinfo): Don't require texinfo.tex in Cygnus mode. + + * texi-vars.am: Removed. + + * dejagnu.am (check-DEJAGNU): Don't define rootme. + + * automake.in (handle_tests): Define EXPECT, RUNTEST. + + * dejagnu.am (EXPECT): Removed. + (RUNTEST): Removed. + + * automake.in (define_program_variable): New sub. + +Mon Oct 28 10:43:48 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dependencies): Use -M, not -MM, for C++ + dependencies. + +Thu Oct 24 20:21:50 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (check_libobjs_sources): New sub. Test + libobj4.test. + (handle_source_transform): Don't check for auto-discovered source + files here. + (handle_programs): Run check_libobjs_sources here. + (handle_libraries): Ditto. + + * automake.in (define_configure_variable): New function. + (get_object_extension): Use define_configure_variable. + (handle_yacc_lex_cxx): Ditto. + (handle_emacs_lisp): Ditto. + (configure_vars): New global. + (AC_CHECK_PATTERN): New global. + (seen_ranlib, seen_prog_cc, seen_prog_cxx, seen_prog_lex): + Removed. + (handle_yacc_lex_cxx): Use configure_vars, not seen_prog_*. + (AC_SUBST_PATTERN): New global. + (scan_configure): Use AC_SUBST_PATTERN; don't set seen_prog_*. + (handle_libraries): Don't use seen_ranlib. + (read_am_file): Run define_configure_variable on each discovered + variable. + +Mon Oct 21 23:06:49 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (scan_configure): Handle AM_INIT_GUILE_MODULE. + (handle_libraries): Pass configure substitutions directly on to + LIBFILES. + + * automake.in (AM_PACKAGE_VERSION_PATTERN): New global. + (scan_configure): Use it. Test version.test. + +Sun Oct 20 12:08:46 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dist_worker): Explicitly pass distdir to + dist-hook make. From Tatu Ylonen. + + * m4/strtod.m4: Use correct cache variable. + +Thu Oct 17 13:45:20 1996 Tom Tromey <tromey@cygnus.com> + + Lisp fixes from Erick Branderhorst: + * m4/lispdir.m4: Define lispdir, not LISPDIR. + * lisp.am: Added missing \. + +Fri Oct 11 00:44:49 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_source_transform): Only rewrite c, yacc, lex + to use de-ansi-fication. + (scan_configure): Handle multi-line AC_REPLACE_FUNCS. Test + libobj5.test. + + * automake.in (handle_lib_objects): Added $lex_seen argument. + Error if lex file used but LEXLIB not seen. + (handle_programs): Ditto. + (handle_yacc_lex_cxx): Define LEXLIB variable. + (handle_lib_objects): Don't allow LEXLIB to end up on dependency + list. + +Thu Oct 10 16:12:38 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_gettext): Moved check for SUBDIRS and + ABOUT-NLS here. + + * automake.in (handle_configure): Run mkinstalldirs under + $(SHELL). + (handle_yacc_lex_cxx): Run interlock under $(SHELL). + + * remake-subd.am (Makefile): Run config.status under $(SHELL). + * remake-hdr.am (stamp-h): Run config.status under $(SHELL). + * remake.am (Makefile): Run config.status under $(SHELL). + (config.status): Ditto. + + * automake.in (read_am_file): Removed UNMAINT code. + (file_contents_with_transform): Ditto. + * m4/maintainer.m4: Removed bogus UNMAINT code. + + * automake.in (handle_emacs_lisp): Define EMACS variable. + (handle_emacs_lisp): Make sure EMACS is in environment when + elisp-comp is run. + + * elisp-comp: Exit with status 1 if usage bad. + Use "emacs -q". Use EMACS environment variable if set (unless set + to t). + + * m4/lispdir.m4: Unset EMACS if it is set to `t'. + + * automake.in (handle_dist_worker): Allow EXTRA_DIST items to be + in subdirs. + (do_one_merge_target): Use all-am, not all, in subdirs case. + (handle_merge_targets): Always generate all-am in subdirs case. + + * remake.am (Makefile): Depend on BUILT_SOURCES. + * remake-subd.am (Makefile): Depend on BUILT_SOURCES. + * depend.am (.deps/.P): Don't depend on BUILT_SOURCES. + + * automake.in (handle_yacc_lex_cxx): Handle y.tab.h in non-ylwrap + case. + + * ylwrap: Bug fix. From Jim Meyering. + +Wed Oct 9 22:51:16 1996 Tom Tromey <tromey@cygnus.com> + + * m4/mktime.m4: Don't define AC_HEADER_SYS_TIME_H; instead just + check directly for header. + +Mon Oct 7 13:08:15 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (scan_configure): fp_WITH_DMALLOC and fp_WITH_REGEX + are obsolete. + +Sun Oct 6 00:43:01 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (AC_CONFIG_AUX_DIR_PATTERN): New global. + (AM_INIT_AUTOMAKE_PATTERN): New global. + (scan_configure): Use them. + + * aclocal.in (add_file): Search contents of included files. Test + req.test. + (scan_m4_files): Don't skip acinclude.m4 when constructing + search. Test acsilent.test. + (scan_m4_files): Scan acinclude.m4. + + * aclocal.in (add_file): Removed debugging print. + (scan_configure): Set $file_contents when scanning acinclude.m4. + Test acinclude.test. + + * configure.in: Upped to 1.1g. + + * Released 1.1f. + + * texinfos.am: Run : after install-info. + + * aclocal.in (parse_arguments): Better error message. + * automake.in (parse_arguments): Better error message. + + * remake.am (Makefile): Depend on $(srcdir)/Makefile.in, to work + around broken makes. From David A. Swierczek. + * remake-subd.am (Makefile): Ditto. + +Sat Oct 5 11:29:48 1996 Tom Tromey <tromey@cygnus.com> + + * automake.in (generate_makefile): Put BUILT_SOURCES onto @all if + appropriate. + (handle_source_transform): Error if discovered source file is + mentioned. + (do_one_merge_target): Move all-vs-check test here. + + * m4/obstack.m4: New file. + * m4/error.m4: New file. + + * automake.in (scan_configure): Support AM_FUNC_MKTIME, + AM_FUNC_ERROR_AT_LINE, AM_FUNC_OBSTACK. + + * texinfo.tex: New version from texinfo 3.9. + + * automake.in (handle_yacc_lex_cxx): Updated for new ylwrap. + Also, handle y.tab.h file when "yacc -d" is used. + (do_one_merge_target): Use pretty_print_rule. + + * ylwrap: Changed usage. + + * m4/mktime.m4: New file. + + * m4: Renamed all .m4 files to fit into 14-char limits. + + * m4/Makefile.am (EXTRA_DIST): New macro. + + * aclocal.in ($ac_defun_rx, %map, %file_contents): New globals. + (scan_m4_files): Use $ac_defun_rx. + (add_file): Ditto. + Run scan_m4_files. + (scan_configure): Scan acinclude.m4 before anything else. + (scan_file): New sub. + (check_acinclude): New sub. + (add_file): Rewrote. + + * progs-clean.am, progs.am: Renamed from programs-clean.am, + programs.am. + * libs-clean.am, libs.am: Renamed from libraries-clean.am, + libraries.am. + * texi-vars: Renamed from texinfos-vars.am. + * comp-vars.am: Renamed from compile-vars.am. + * texi-vers.am: Renamed from texi-version.am. + + * automake.in (require_file_internal): Give error if symlink can't + be made. + (require_config_file): Error message references configure.in. + (handle_yacc_lex_cxx): Fix order of arguments to ylwrap; from + Joerg-Martin Schwarz. + (handle_texinfo): Use texi-vers, not texi-version. + (get_object_extension): Use comp-vars, not compile-vars. + (handle_texinfo): Use texi-vars, not texinfos-vars. + (handle_libraries): Use `libs' prefix, not `libraries'. + (handle_programs): Use `progs' prefix, not `programs'. + +Fri Oct 4 01:14:08 1996 Tom Tromey <tromey@cygnus.com> + + * aclocal.in (scan_m4_files): New sub. + + * m4/AM_FUNC_STRTOD.m4 (am_cv_func_strtod_needs_libm): Set + am_cv_func_strtod_needs_libm, so we can avoid linking with -lm + everywhere. + +Thu Oct 3 20:11:16 1996 Tom Tromey <tromey@cygnus.com> + + * texinfos.am (uninstall-info): Run install-info --remove. + + * automake.in (read_am_file): Define all variables after reading + .am file. Test vpath.test. Reported by Anthony Green. + +Mon Sep 30 08:31:51 1996 Tom Tromey <tromey@cygnus.com> + + * texinfos.am: Run install-info. + + * automake.in (variable_value_as_list): Just return if comment + seen. Report from Mark Galassi. + (handle_options): Don't bother with explicit comment checking. + +Tue Sep 24 09:15:46 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (read_am_file): Cleaned up dejagnu variables. + +Mon Sep 23 00:04:48 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (parse_arguments): New usage to conform to GNU + standards. + + * aclocal.in (parse_arguments): New usage to conform to GNU + standards. + + * automake.in (handle_scripts): Push new target onto @check. + * scripts.am (check-@DIR@SCRIPTS): New target. + + * automake.in (initialize_global_constants): Define %dist, + dist_header, dist_trailer. + (handle_dist): Make dist-all target. + (generate_makefile): Run check_typos later. + (examine_variable): New sub. + (handle_tags): Examine TAGS_DEPENDENCIES. Test spell3.test. + Error if TAGS_DEPENDENCIES but no sources used. + (handle_configure): Examine CONFIGURE_DEPENDENCIES. + +Sat Sep 21 13:59:15 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (am_install_var): More error checking. + +Fri Sep 20 09:06:37 1996 Tom Tromey <tromey@creche.cygnus.com> + + * tags.am (TAGS): Minor cleanup. + + * clean.am (distclean-generic): Don't remove CONFIG_HEADER. + + * remake-hdr.am (mostlyclean-hdr, clean-hdr, distclean-hdr, + maintainer-clean-hdr): New targets. + + * automake.in (handle_configure): Define CONFIG_HEADER correctly + when it is in current directory. + (handle_configure): Push "hdr" on @clean. + + * remake-hdr.am (stamp-h): Run config.status in top_builddir. + ($(srcdir)/stamp-h.in): Run autoheader in top_srcdir. + + * automake.in (scan_configure): Check for install.sh here. + (basename): New sub. + (handle_configure): Handle case where config.h is in subdir. + (handle_configure): Make stamp-in.h for user if it doesn't already + exist. + (touch): New sub. + +Tue Sep 17 23:35:14 1996 Tom Tromey <tromey@creche.cygnus.com> + + * Makefile.am (EXTRA_DIST): Include pkgdata_DATA. + + * dist-vars.am (DISTFILES): Don't distribute BUILT_SOURCES or + DATA. + (DEP_DISTFILES): Ditto. + +Mon Sep 16 22:28:56 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (check_typos): Renamed. + (check_typos): Check for _LDADD, _LIBADD, and _DEPENDENCIES. + (variable_defined): Note variable as being "seen". + (handle_lib_objects): Don't push configure substitutions onto + _DEPENDENCIES. + +Sun Sep 15 22:45:43 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (initialize_per_input): Init content_seen. + (variable_value_as_list): Set content_seen entry. + (define_variable): Ditto. + (define_pretty_variable): Ditto. + (check_source_typos): New sub. + (generate_makefile): Call it. + +Thu Sep 12 15:03:19 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_source_transform): Removed extraneous + space. Test implicit.test. + (read_am_file): Make sure "canonical" variables are mentioned in + %contents. + (scan_configure): AC_CHECK_TOOL sets $seen_canonical to + $AC_CANONICAL_HOST conditionally. + (handle_footer): Don't use define_pretty_variable in all cases. + +Wed Sep 11 11:54:44 1996 Tom Tromey <tromey@creche.cygnus.com> + + * clean.am (distclean-generic): Remove CONFIG_CLEAN_FILES here, + per GNU/Gnits standards. + + * libraries.am (install-@DIR@LIBRARIES): Use two loops, so new + NORMAL_INSTALL and POST_INSTALL variables can work when empty. + + * automake.in (handle_options): Rewrote version handling. Now + returns error indicator. + (MACRO_PATTERN, BOGUS_MACRO_PATTERN): Handle `:=' definitions. + (RULE_PATTERN): Exclude `:=' from being a rule. + + * m4/AM_PROG_CC_STDC.m4 (ac_save_CC): Bug fix from Jim Meyering. + + * automake.in (variable_value_as_list): Always use am_line_error. + (define_variable): New sub. + (get_object_extension): Use define_variable. + (handle_yacc_lex_cxx): Ditto. + (handle_source_transform): Ditto. + (handle_programs): Ditto. + (handle_libraries): Ditto. + (handle_texinfo): Ditto. + (handle_man_pages): Ditto. + (handle_dependencies): Ditto. + (handle_aclocal_m4): Ditto. + (define_pretty_variable): New sub. + (handle_source_transform): Use define_pretty_variable. + (handle_lib_objects): Ditto. + (handle_libraries): Ditto. + (handle_dist): Ditto. + (handle_dependencies): Ditto. + (handle_configure): Ditto. + (handle_footer): Ditto. + (handle_emacs_lisp): Ditto. + (am_install_var): Ditto. + + * Released version 1.1e. + + * automake.in ($GNITS_VERSION_PATTERN): Handle non-alpha + releases. + + * configure.in: Version 1.1e. + + * automake.in (handle_texinfo): Distribute .info file. + +Sun Sep 8 09:00:37 1996 Tom Tromey <tromey@creche.cygnus.com> + + * Makefile.am (EXTRA_DIST): New macro. + (maintainer-clean): Don't run "make check". + (pathchk): New target. + + * automake.in (check_gnits_standards): Only check version number + syntax at top level. + ($package_version_line): New variable. + (scan_configure): Set it. + (check_gnits_standards): Use am_conf_line_error. + (scan_configure): Remove extraneous whitespace from version + number. + (handle_dist): Handle distcheck-hook. + + * m4/AM_PROG_CC_STDC.m4: Applied patch from Jim Meyering. + + * automake.in (scan_configure): Handle AM_WITH_REGEX. + (handle_lib_objects): Require .h files in %libsources but don't + generate dependencies for them. + (scan_configure): Also require rx.h and regex.h. + + * m4/Makefile.am (m4data_DATA): Don't include AM_PROG_LIBTOOL, + AM_FEATURE_CTYPE, AM_FEATURE_ERRNO, AM_FEATURE_EXIT, + AM_SYSTEM_HEADER. + + * texi-version.am: Use "cp; rm" and not "mv", to work around + broken mvs. + + * automake.in ($package_version): New global. + (scan_configure): Set it. + (check_gnits_standards): Verify version string; require + README-alpha if alpha version. + (scan_configure): Recognize AM_FUNC_FNMATCH, + AM_REPLACE_GNU_GETOPT. + + * Makefile.am (installcheck-local): Check all scripts. + +Sat Sep 7 19:22:32 1996 Tom Tromey <tromey@creche.cygnus.com> + + * tags-clean.am: Do deletions here again. + +Thu Sep 5 09:06:23 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (usage): Include bug-reporting information. + (handle_lib_objects): Error if LIBOBJS seen but never set. + + * aclocal.in ($acdir): Use @datadir@/aclocal. + (usage): Include bug-reporting information. + +Wed Sep 4 11:36:06 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_source_transform): .deps no longer in + srcdir. + (handle_lib_objects): Ditto. + (handle_dist_worker): Pass --build-dir to automake. + ($build_directory): New global. + (parse_arguments): Handle --build-dir. + (initialize_global_constants): Include --build-dir in help. + (scan_dependency_file): New sub. + (handle_dependencies): Use it. Also, use $build_directory. + (initialize_global_constants): Added --srcdir-name. + (parse_arguments): Ditto. + (handle_dist_worker): Ditto. + ($srcdir_name): New global. + ($srcdir_rx): New global. + (parse_arguments): Set it. + + * depend2.am: Removed all mention of $(srcdir). + + * depend.am (MKDEP): Use gcc -M, not gcc -MM. + Removed all mention of $(srcdir); dependencies now put into build + dir. + + * depend2.am ($(srcdir)/.deps/%.P): Fixed computation of `top'. + Don't do work silently. + + * automake.in (handle_merge_targets): Error if invalid uninstall + targets are given. + (read_am_file): Fix for test block.test. + +Tue Sep 3 18:50:32 1996 Tom Tromey <tromey@creche.cygnus.com> + + * texinfos.am (install-info): Added NORMAL_INSTALL. + * scripts.am (install-@DIR@SCRIPTS): Added NORMAL_INSTALL. + * programs.am (install-@DIR@PROGRAMS): Added NORMAL_INSTALL. + * lisp.am (install-@DIR@LISP): Added NORMAL_INSTALL. + * libraries.am (install-@DIR@LIBRARIES): Added NORMAL_INSTALL. + Also, use POST_INSTALL when running ranlib. + * header.am (install-@DIR@HEADERS): Added NORMAL_INSTALL. + * data.am (install-@DIR@DATA): Added NORMAL_INSTALL. + + * automake.in (handle_man_pages): Added NORMAL_INSTALL invocation. + (handle_merge_targets): Ditto. + (handle_merge_targets): Error if PRE_INSTALL, POST_INSTALL, or + NORMAL_INSTALL defined. + + * m4/AM_PROG_INSTALL.m4: INSTALL_SCRIPT defaults to + ${INSTALL_PROGRAM}. From François Pinard. + +Tue Aug 27 08:25:05 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (file_contents_with_transform): Correctly remove + @(UN)?MAINT@ from input when maintainer mode not active. + (handle_aclocal_m4): Handle no-maintainer-mode case. + + * remake-hdr.am ($(CONFIG_HEADER)): Removed @MAINT@. + + * m4/AM_SANITY_CHECK_CC.m4: New file (from Jim Meyering). + +Mon Aug 26 21:37:32 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_lib_objects): Bug fix from Steve M Robbins. + (handle_libraries): Don't include libraries from EXTRA_LIBRARIES + in LIBFILES definition. Reported by Steve M Robbins. Test + alllib.test. + + * automake.in (variable_value_as_list): New sub. + (handle_source_transform): Use it. + (handle_lib_objects): Ditto. + (handle_libraries): Ditto. + (handle_texinfo): Ditto. + (handle_man_pages): Ditto. + (am_install_var): Ditto. + (handle_options): Ditto. + +Sat Aug 24 09:30:46 1996 Tom Tromey <tromey@creche.cygnus.com> + + Reported by Jim Meyering: + * automake.in (get_object_extension): Look in "./" for ansi2knr if + no path found. + (handle_aclocal_m4): Protect aclocal.m4 rule with @MAINT@. + + * remake.am (.PHONY): New target. + + * m4/AM_MAINTAINER_MODE.m4: Also define UNMAINT. + + * automake.in (check_gnu_standards): Disallow no-installman, + no-installinfo. + (read_am_file): Sed out UNMAINT too. + (file_contents_with_transform): Ditto. + + * acinstall: New file. + + * m4/AM_INIT_AUTOMAKE.m4: Define PACKAGE and VERSION. + + * m4/AM_WITH_REGEX.m4: New version from François Pinard. + + * m4/AM_TYPE_PTRDIFF_T.m4: Use am_cv, not ac_cv. + * m4/AM_C_PROTOTYPES.m4: Ditto. + * m4/AM_FUNC_STRTOD.m4: Ditto. + * m4/AM_PROG_CC_STDC.m4: Ditto. + * m4/AM_PROG_LIBTOOL.m4: Ditto. + +Fri Aug 23 22:23:50 1996 Tom Tromey <tromey@creche.cygnus.com> + + * m4/Makefile.am (m4datadir): New macro + (m4data_DATA): Renamed. + + * Makefile.am (cvs-dist): Depend on distcheck target. + +Mon Aug 19 15:37:32 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (initialize_global_constants): [common_files] + Include acinclude.m4. + + * m4/AM_PROG_CC_STDC.m4: Patch from Jim Meyering/Kaveh Ghazi. + +Sat Aug 17 11:27:14 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_dependencies): Push `depend'-clean targets + on @clean. + * depend.am (mostlyclean-depend, clean-depend, distclean-depend, + maintainer-clean-depend): New targets. + +Tue Aug 13 17:53:58 1996 Tom Tromey <tromey@creche.cygnus.com> + + * texinfos.am (.texinfo.info): New target. + (.texinfo.dvi): New target. + + From Jim Meyering: + * automake.in (handle_texinfo): Use `.info[-0-9]*' as pattern to + match info files. + (handle_texinfo): Handle `.texinfo' files. + +Mon Aug 12 10:28:46 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (require_file_internal): Special-case `.' when + finding files to distribute. Test libobj2.test. + + * aclocal.in (add_file): Fixed regexp for matching AC_DEFUN. Test + order.test. + + * m4/AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL.m4: New file. + * m4/AM_SYS_POSIX_TERMIOS.m4: New file. + + * compile-kr.am: Removed duplicate ansi2knr rules. + +Sun Aug 11 00:20:16 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_yacc_lex_cxx): Bug fix from Josh MacDonald. + (handle_yacc_lex_cxx): Put C++ extensions on suffix list. + (mkdir): Removed. + + * automake.in (initialize_global_constants): [common_files] + Include interlock and ylwrap. + + * Released version 1.1c. + + * aclocal.in (obsolete_macros): md_TYPE_PTRDIFF_T and + ud_PATH_LISPDIR are obsolete names. + + * m4/AM_LC_MESSAGES.m4, m4/AM_WITH_NLS.m4, m4/AM_GNU_GETTEXT.m4: + Removed. + + * automake.in (handle_lib_objects): Changed interface. Now + generates _DEPENDENCIES variable if appropriate. + (handle_emacs_lisp): Use AM_PATH_LISPDIR. + (scan_configure): Ditto. + + * Makefile.am (CLEANFILES): Removed. + + * automake.in (handle_configure): Define CONFIG_CLEAN_FILES. + + * clean.am (clean-generic): Remove $(CONFIG_CLEAN_FILES). + + * compile-vars.am (CC, CFLAGS, COMPILE, LINK): Removed. + + * automake.in (handle_yacc_lex_cxx): Require ylwrap in + multi-lex/yacc case. + (handle_source_transform): Changed return result. + (handle_programs): Use linker returned by + handle_source_transform. + (seen_prog_cc, seen_prog_cxx): New globals. + (scan_configure): Recognize AC_PROG_CC and AC_PROG_CXX. + (handle_yacc_lex_cxx): Error message if AC_PROG_CXX or + AC_PROG_YACC missing. + (seen_decl_yytext, seen_prog_lex): New globals. + (scan_configure): Set them. + (handle_yacc_lex_cxx): Warn about missing AC_PROG_LEX or + AC_DECL_YYTEXT. + (handle_yacc_lex_cxx): Use $(LEX_OUTPUT_ROOT). + (initialize_per_input): Initialize seen_c_source. + (handle_yacc_lex_cxx): Define CC, CFLAGS, COMPILE, LINK only when + C source seen. + (handle_source_transform): Set seen_c_source. + + * interlock: Changed usage. + + * ylwrap: New file. + + * automake.in (handle_yacc_lex_cxx): Renamed. + + * automake.in (handle_dependencies): Handle %cxx_extensions. + Include depend2.am when appropriate. + + * depend2.am: New file; contents from depend.am but templatized. + + * automake.in (initialize_per_input): Initialize + %cxx_extensions. + (handle_source_transform): Set %cxx_extensions. + +Sat Aug 10 10:29:30 1996 Tom Tromey <tromey@creche.cygnus.com> + + * interlock: New file. + + * automake.in (handle_yacc_lex): New sub. + (handle_source_transform): Removed most yacc/lex handling. + (initialize_per_input): Init yacc_sources, lex_sources. + (generate_makefile): Run handle_yacc_lex. + (handle_merge_targets): Use `scalar' and not $# to find length of + array. + + * m4/AM_FEATURE_EXIT.m4: Wrote. + * m4/AM_FEATURE_CTYPE.m4: Wrote. + * m4/AM_FEATURE_ERRNO.m4: Wrote. + + * aclocal.in (macro_seen): New global. + (add_file): Set macro_seen entry. Only push required macro on + @rlist if not already seen. Test defun.test. + + * automake.in (get_object_extension): Handle directory prefix on + `ansi2knr' option. + + * kr-extra.am: New file. + + * kr-vars.am: Removed. + + * automake.in (handle_options): Handle directory prefix on + `ansi2knr' option. + + * automake.in (scan_configure): Recognize AM_FUNC_STRTOD. + + * aclocal.in (add_file): Error if macro is duplicated. Test + dup.test. + +Fri Aug 9 09:18:46 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_programs): Substitute @XLINK@. Make sure + linker variable is transformed name. + * program.am (@PROGRAM@): Use @XLINK@ to link. + + * automake.in (handle_scripts): Fixed call to + am_primary_prefixes. + (handle_libraries): Better error message when AC_PROG_RANLIB + required. + + * automake.in (handle_libraries): Canonicalize library name. Test + canon4.test. + * library.am (lib@LIBRARY@.a): Use @XLIBRARY@ where appropriate. + (lib@LIBRARY@.a): Look at _DEPENDENCIES variable. + +Thu Aug 8 10:57:21 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_scripts): Correctly compute + $scripts_installed. Test scripts.test. + +Wed Aug 7 12:13:15 1996 Tom Tromey <tromey@creche.cygnus.com> + + * ansi2knr.c: New version. + +Tue Aug 6 10:58:37 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_source_transform): Handle more C++ file + extensions. "Handle" Objective C. Handle more FORTRAN + extensions. + + * compile-vars.am (LEX): Removed. + (YACC): Removed. + + * automake.in (handle_source_transform): Correctly handle lex + source. Test lex.test. + (handle_source_transform): Skip more C++ headers. Generate macro + definitions for YACC and LEX on first use. + + * aclocal.in (parse_arguments): Mention GNU. + * automake.in (parse_arguments): Mention GNU. + +Mon Aug 5 00:12:45 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_programs): Define program_LINK. + * program.am (@PROGRAM@): Use program_LINK to link. + + * Released version 1.1b + + * automake.in (scan_configure): AM_INIT_AUTOMAKE sets + seen_prog_install to `2'. + + * configure.in: Don't run AM_PROG_INSTALL. + + * automake.in (parse_arguments): Use $PACKAGE. + ($PACKAGE): New global. + ($am_c_prototypes): Renamed. + (get_object_extension): Use am_c_prototypes. + (scan_configure): Ditto. + (scan_configure): Use AM_MAINTAINER_MODE. + (scan_configure): Warn about obsolete macros. + + * aclocal.in (parse_arguments): Use $PACKAGE. + ($PACKAGE): New global. + + * Makefile.am (CLEANFILES): Added aclocal. + (ETAGS_ARGS): Added aclocal.in. + (TAGS_DEPENDENCIES): Ditto. + (maintainer-check): Depend on aclocal. + (maintainer-check): Check aclocal. + (bin_SCRIPTS): Include aclocal. + + * automake.in (scan_configure): Handle AM_INIT_AUTOMAKE. + (scan_configure): Use AM_PROG_INSTALL. + + * configure.in: Use AM_INIT_AUTOMAKE. + + * automake.in (keyed_aclocal_warning): Warning tells about + aclocal. + (handle_aclocal_m4): New sub. + (handle_configure): Use it. + + * aclocal.in (output_file): New global. + (usage): Handle --output. + (parse_arguments): Handle --output. + + * m4/AM_INIT_AUTOMAKE.m4: New file. + + * m4/AM_PROG_CC_STDC.m4: Require AC_PROG_CC. + Don't touch CFLAGS. + + * automake.in (handle_dist_worker): Reverted erroneous "-chmod". + (handle_texinfo): Don't generate `.info-[0-9]' as a filename. + + * texinfos.am (.texi.info): Force .info file to be built in + srcdir. From Franc,ois Pinard. + + From Jim Meyering: + * m4/AM_PROG_CC_STDC.m4: (fp_PROG_CC_STDC): Include sys/stat.h in + test program so that DYNIX/ptx V4.1.3 doesn't use `-Xc + -D__EXTENSIONS__' -- with those options on that system, sys/stat.h + gets compile errors. With help from Marcus Daniels. + + * automake.in (initialize_global_constants): Put elisp-comp into + @common_files. Bug from Glenn Amerine. + +Sun Aug 4 12:52:43 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_dist_worker): Use fgrep, not grep. + + * m4/AM_C_PROTOTYPES.m4: Changes from François Pinard. + + * automake.in (handle_emacs_lisp): Include lisp-clean.am in + output. + (initialize_global_constants): [install_man_format] Don't hide + "ugliness" at install time. + + * lisp-clean.am: New file. + + * tags-clean.am (maintainer-clean-tags): Remove TAGS and ID here. + + * automake.in (handle_man_pages): Patch from Janos Farkas to fix + bug when installing man pages. Test man.test. + (initialize_global_constants): [install_man_format] Make sure man + page can actually be found in either source or build dirs. + (handle_dist_worker): Use "755" permissions on distdir. + + * automake.in (handle_dist): Allow chmod's to fail. + (am_primary_prefixes): New function. + (am_install_var): Use it. + (handle_libraries): Use it. Test libfiles.test. + (handle_dist): For dist-tarZ, assume traditional "tar" and + "compress". + + * m4/AM_FUNC_STRTOD.m4: New file. + + * automake.in (handle_dist): Only generate `distdir' variable if + it doesn't already exist. + + Fix for bug reported by Harlan Stenn. Test tags.test. + * automake.in (initialize_per_input): Define dir_holds_sources. + (handle_tags): Check dir_holds_headers. + (handle_headers): Set dir_holds_headers. + + * automake.in (handle_texinfo): Generate "version.texi" dependency + for .dvi file. Bug reported by Glenn Amerine. Test vtexi2.test. + + * automake.in (handle_configure): Require file $input, not + "$local.in". From Nyul Laszlo. Test colon.test. + +Sun Jul 28 11:14:52 1996 Tom Tromey <tromey@creche.cygnus.com> + + * aclocal.in: New file. + * configure.in: Generate m4/Makefile, aclocal. + * Makefile.am (SUBDIRS): Include m4. + * m4/Makefile.am: New file. + +Fri Jul 19 10:12:27 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (initialize_global_constants): Put ansi2knr.c and + ansi2knr.1 into common_files. Bug report from François Pinard. + +Mon Jul 15 10:28:29 1996 Tom Tromey <tromey@creche.cygnus.com> + + * install-sh: Updated copyright notice. + +Fri Jul 5 08:23:00 1996 Tom Tromey <tromey@creche.cygnus.com> + + * subdirs.am (maintainer-clean-recursive): Don't be so noisy. + Report from Josh MacDonald. + + Bugs from Gord Matzigkeit: + * automake.in (handle_footer): Push contents of $(SUFFIXES), not + `$(SUFFIXES)'. + (handle_dist): Ignore chmod return results. + + * programs-clean.am (clean-@DIR@PROGRAMS): Work around failing + Solaris "rm -f". Bug from Kaveh R. Ghazi. + * libraries-clean.am (clean-@DIR@LIBRARIES): Likewise. + +Fri Jun 21 10:42:06 1996 Tom Tromey <tromey@creche.cygnus.com> + + * texinfos.am (install-info): Use "if", not "&&", to avoid + install problem when glob doesn't match. + + * automake.in (initialize_global_constants): [USAGE] Added + --no-force. + (force_generation): New global. + (parse_arguments): Handle --no-force. + (generate_makefile): Handle --no-force. + + * Makefile.am (maintainer-check): Ensure all invocations of + mkinstalldirs are correct. + +Tue Jun 18 10:53:54 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_tests): Don't directly generate site.exp. + +Sun Jun 16 22:21:16 1996 Harlan Stenn <harlan@brown.pfcs.com> + + * automake.in: Treat an initial `#' on a word in AUTOMAKE_OPTIONS + as a comment start. Add support for a dist-tarZ target. + +Tue Jun 11 22:14:21 1996 Marcus Daniels <marcus@sayre.sysc.pdx.edu> + + * depend.am ($(srcdir)/.deps/%.P): Convert absolute $(top_srcdir) + paths into relative paths. + +Mon Jun 10 21:11:20 1996 Tom Tromey <tromey@creche.cygnus.com> + + * texinfo.tex: New version. + + * automake.in: Look for AM_PROG_LIBTOOL. From Gord Matzigkeit. + (initialize_global_constants): Added libtool to + @common_sometimes. + (handle_source_transform): Pass YFLAGS to yacc and LFLAGS to lex. + +Sun Jun 9 17:45:48 1996 Tom Tromey <tromey@creche.cygnus.com> + + * texinfos.am (install-info): Don't install ~ files. Bug report + from Greg McGary. + * automake.in (handle_texinfo): Don't push '.info*' onto + @infos_list. + + * automake.in (handle_gettext): Ensure po and intl in SUBDIRS when + using gettext. + (handle_dist): Pass --with-included-gettext to configure if using + gettext. + + * compile-kr.am (._c._o): Pass -c to $(COMPILE). + (.c._o): Ditto. + * compile.am (.c.o): Pass -c to $(COMPILE). + * compile-vars.am (COMPILE): Don't include -c. + + * remake.am ($(srcdir)/Makefile.in): Pass --strictness to + automake. + * automake.in (handle_configure): Supply --strictness arg to + automake. + +Fri Jun 7 12:31:31 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_tests): Fix quoting on `pwd`. + (handle_options): Recognize no-installinfo option. + (handle_man_pages): Don't put man directory on @installdirs if + no-installman is specified. + (handle_texinfo): Handle no-installinfo option. + (handle_options): Compare version against $num_version, not + $VERSION. + (handle_source_transform): Generate rules for output of lex, + yacc. Bug report from Thomas Morgan. Test yacc.test. + (handle_dist): "distcheck" now runs "make dvi". + (handle_tests): Support $(TESTS_ENVIRONMENT). Idea from Ulrich + Drepper. + + * dejagnu.am (check-DEJAGNU): Depend on site.exp. + +Sun Jun 2 10:33:10 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_emacs_lisp): New function. + (initialize_global_constants): Added elisp-comp to + @common_sometimes. + (seen_lispdir): New global. + (scan_configure): Handle ud_PATH_LISPDIR. + + * elisp-comp: New file. + + * lisp.am: New file. + + * automake.in (generate_makefile): Run handle_emacs_lisp. + + * aclocal.m4 (ud_PATH_LISPDIR): New macro, from Ulrich Drepper. + + * automake.in (initialize_global_constants): Removed version.texi + from common_sometimes. + (initialize_global_constants): Added texinfo.tex to common_files. + Test texinfo.test. + (handle_tests): Allow dejagnu- and automake-style test suites to + coexist. Test dejagnu.test. + (initialize_global_constants): New constants AC_CANONICAL_HOST, + AC_CANONICAL_SYSTEM. + (scan_configure): Use new constants. + (handle_tests): Put target specific information into site.exp if + AC_CANONICAL_* used. + (read_am_file): Generate some extra variables when AC_CANONICAL_* + used. + (handle_options): Allow version number to have letters appended. + (handle_tests): Error if RUNTEST, RUNTESTFLAGS defined but dejagnu + option not specd. + (initialize_global_constants): install_man_format changed to + handle built man pages. + +Wed May 29 10:35:01 1996 Tom Tromey <tromey@creche.cygnus.com> + + * config.guess, config.sub: New versions. + +Tue May 28 19:27:11 1996 Tom Tromey <tromey@creche.cygnus.com> + + * configure.in (VERSION): Upped to 1.0. + +Sat May 25 10:19:53 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_tests): Handle dejagnu. + (handle_options): Recognize dejagnu option. + + * dejagnu.am: New file. + +Thu May 23 10:01:13 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_dist): Run installcheck target from + distcheck. + + * configure.in (VERSION): Upped to 0.34. + + * automake.in (scan_configure): Always allow upgrading to + fp_PROG_INSTALL. Test fpinstall.test. + +Wed May 22 14:45:28 1996 Joshua Cowan <jcowan@hermit.reslife.okstate.edu> + + (handle_dist): Make `distcheck' check `install' target, too. + +Wed May 22 09:49:27 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (initialize_per_input): Don't initialize + $output_directory here; initialize it globally. From Joshua + Cowan. Test outdir.test. + +Sat May 18 10:57:40 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_tests): Don't push TESTS onto dist_common. + (initialize_global_constants): Put install-sh and mkinstalldirs + into @common_files. Test insh2.test. + +Fri May 17 09:02:02 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_source_transform): Don't generate _OBJECTS + when no source files specified. Test number.test. + + From Joerg-Martin Schwarz: + * automake.in (seen_package, seen_version): New globals. + (scan_configure): Look for PACKAGE= and VERSION=. + + * automake.in (handle_options): Recognize dist-zip. + (handle_dist): Handle dist-zip. + (handle_options): Use ' ', not \s+, with split. Test + backsl.test. + (handle_source_transform): Likewise. + (handle_lib_objects): Likewise. + (handle_libraries): Likewise. + (handle_texinfo): Likewise. + (handle_man_pages): Likewise. + (handle_subdirs): Likewise. + (handle_gettext): Likewise. + (handle_footer): Likewise. + (handle_tests): Likewise. + (scan_configure): Likewise. + (am_install_var): Likewise. + + * Makefile.am (TAGS_DEPENDENCIES): New macro. + + * tags.am (tags-recursive): New target. + (TAGS): Depend on it. + + * automake.in (handle_tags): Put tags-recursive on @phony. + + * tags-subd.am (TAGS): Depend on HEADERS, SOURCES, + TAGS_DEPENDENCIES. + * tags.am (TAGS): Depend on HEADERS, SOURCES, TAGS_DEPENDENCIES. + +Thu May 16 09:21:48 1996 Tom Tromey <tromey@creche.cygnus.com> + + * remake.am (configure): Depend on $(CONFIGURE_DEPENDENCIES). + + * automake.in (scan_configure): Look for install-sh and + mkinstalldirs here. + (initialize_global_constants): Moved mdate-sh from + common_sometimes to common_files. Test mdate2.test. + +Tue May 14 21:52:01 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (seen_maint_mode): New global. + (scan_configure): Handle jm_MAINTAINER_MODE. + (read_am_file): Handle seen_maint_mode. + (file_contents_with_transform): Handle seen_maint_mode. + (handle_source_transform): Changed interface, all callers. + + From Jim Meyering: + * remake-hdr.am, remake-subd.am, remake.am, texi-version.am: + Handle @MAINT@. + * aclocal.m4 (jm_MAINTAINER_MODE): New macro. + + * automake.in (handle_configure): Check $config_aux_dir against + empty string. From Markku Rossi. Test mkinstall.test. + +Fri May 10 14:38:47 1996 Gord Matzigkeit <gord@gnu.ai.mit.edu> + + * automake.in (distcheck): Added new rule to top level + Makefile.in. + +Wed May 8 21:57:21 1996 Gord Matzigkeit <gord@gnu.ai.mit.edu> + + * automake.in (scan_configure): Make sure that gm_PROG_LIBTOOL + sets seen_ranlib. + (generate_makefile): libtool, config.sub, and config.guess should + only ever appear in the top directory of a package. + +Tue May 14 10:24:30 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (initialize_global_constants): Added libversion.in + to @common_files. + + * configure.in (VERSION): Upped to 0.33. + + * automake.in (am_install_var): Fixed problem in EXTRA_ handling. + Test extra.test. + +Mon May 13 10:41:41 1996 Tom Tromey <tromey@creche.cygnus.com> + + * install-sh (transformbasename): Correct misspelling of + transformbasename. From Ian Lance Taylor. + +Sat Apr 27 11:39:10 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_configure): Set mkinstalldirs variable + here. + (handle_dist_worker): Explicitly set distdir in subdir makes. + (handle_dist): Handle separate distdir target. + (handle_dist_worker): Only generate distdir target. + + * texinfos.am (install-info): Use $(mkinstalldirs). + * scripts.am (install-@DIR@SCRIPTS): Use $(mkinstalldirs). + * programs.am (install-@DIR@PROGRAMS): Use $(mkinstalldirs). + * libraries.am (install-@DIR@LIBRARIES): Use $(mkinstalldirs). + * header.am (install-@DIR@HEADERS): Use $(mkinstalldirs). + * data.am (install-@DIR@DATA): Use $(mkinstalldirs). + + * automake.in (read_am_file): Set mkinstalldirs variable. + (handle_man_pages): Use it. + (handle_installdirs): Ditto. + +Fri Apr 26 15:10:48 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_man_pages): Fix mkinstalldirs invocation. + +Thu Apr 25 18:40:06 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_dist_worker): Use $(TAR), not tar. + (handle_merge_targets): Make sure config header is built before + recursing into subdirs. + (handle_libraries): Generate LIBFILES for check_LIBRARIES. + (handle_merge_targets): Handle case where nothing is installed but + something must be built -- "make install" must still work. + + * dist-vars.am (TAR): New macro. + + * automake.in (scan_configure): Support AC_REPLACE_GNU_GETOPT. + (handle_configure): Require stamp-h.in when config header used. + +Tue Apr 23 17:57:13 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * doc/mdate-sh: Extract the last field from the date output, not + the sixth, which will fail when the timezone name has more than + one word or is missing. + +Wed Apr 24 20:29:26 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (am_install_var): Use delete, not undef, to remove + EXTRA entry. From Gord Matzigkeit. + +Mon Apr 22 17:48:50 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (read_am_file): Handle case where last line doesn't + end in newline. + +Tue Apr 9 22:53:16 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (variable_defined): New function. + (read_am_file): Ensure a blank line comes before starting comments + from Makefile.am. + (initialize_per_input): Initialize %targets. + (read_am_file): Set appropriate entry in %targets. + Many changes to use variable_defined. + (check_gnu_standards): Only require ChangeLog at top level. From + Gord Matzigkeit. + (handle_tests): check-TESTS depends on $(TESTS). From Gord + Matzigkeit. + +Mon Apr 8 22:51:41 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (parse_arguments): Added short options. + (initialize_global_constants): Ditto. + +Fri Apr 5 00:22:14 1996 Tom Tromey <tromey@creche.cygnus.com> + + * mkinstalldirs (errstatus): Don't necessarily die if mkdir + fails. + + * automake.in (handle_source_transform): Typo fix. + +Thu Apr 4 15:10:50 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_dist_worker): Renamed dist-local to + dist-hook. + (handle_merge_targets): Added install-data-hook and + install-exec-hook. + (handle_source_transform): Handle EXTRA_prog_SOURCES form. + + * automake.in (handle_scripts): Never allow scripts_installed to + become 0. + + * scripts.am (install-@DIR@SCRIPTS): Scripts can be found in + srcdir. + + * automake.in (generate_makefile): Derived file names from given + input; don't assume Makefile.in and Makefile.am. + (am_file_name, in_file_name): New globals. + (read_am_file): Use them. + + * program.am (@PROGRAM@): Use transformed program name. + + * remake-hdr.am (stamp-h): Actually touch stamp-h. + +Wed Apr 3 15:16:06 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (require_file_internal): Use correct file for error + messages. Test insh.test. + +Mon Apr 1 09:47:44 1996 Tom Tromey <tromey@creche.cygnus.com> + + * texinfos.am (.texi.info): Build output file in srcdir. + + * automake.in (require_file_internal): If $dir is ".",then look in + relative directory. + (handle_texinfo): Canonicalize name of texi file before looking + for dependency variable. + +Thu Mar 28 08:33:21 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (require_conf_file_with_conf_line): Yet another + function of this form. + (libtool_line): New variable. + (handle_libraries): Handle libtool. + + * libraries-vars.am: Removed. + + * automake.in (seen_libtool): New variable. + (scan_configure): Look for gm_PROG_LIBTOOL or AC_PROG_LIBTOOL. + + * automake.in (handle_dist_worker): Handle dist-local. + + * Makefile.am (maintainer-check): Do "make check" after all syntax + checks. + + * texi-version.am (stamp-@VTI@): Look for mdate-sh in appropriate + directory. + + * automake.in ($seen_arg_prog): New global. + (handle_programs): Error if AC_ARG_PROGRAM not seen. + (handle_scripts): Ditto. + (handle_configure): mkinstalldirs now a config file. + (handle_installdirs): Find mkinstalldirs in config_aux_dir. + (handle_dist_worker): Removed DIST_SUBDIRS. + (require_file_path): New variable. + (require_file_with_conf_line): Set it. + (require_file_with_line): Ditto. + (require_file): Ditto. + (require_file_internal): Incorporated code from + require_config_file. + (require_config_file): Rewrote. + (require_conf_file_with_line): New function. + (handle_texinfo): Use it for mdate-sh. + (handle_texinfo): Look for mdate-sh in appropriate directory. + +Tue Mar 26 13:47:54 1996 Tom Tromey <tromey@creche.cygnus.com> + + * Makefile.am (cvs-dist): Find NEWS in srcdir. + * automake.in (handle_dist_worker): Find NEWS in srcdir. + ($RULE_PATTERN): Include chars "$(){}/" in allowable patterns in a + rule. + (require_config_file): Set config_aux_path when file found. + ($config_aux_dir): New variable. + (require_config_file): Set it. + (handle_man_pages): Find mkinstalldirs in config_aux_dir. + +Mon Mar 25 15:32:57 1996 Tom Tromey <tromey@creche.cygnus.com> + + * data.am (install-@DIR@DATA): Also allow data to be in build + directory. + +Sun Mar 24 19:56:28 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (am_install_var): Don't look in EXTRA_primary + variable any more; it is handled in the main loop. + +Wed Mar 20 16:22:35 1996 Tom Tromey <tromey@creche.cygnus.com> + + * data.am (install-@DIR@DATA): Find data in srcdir. + +Fri Mar 15 18:30:31 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (require_config_file): Use correct filename when + looking for errors. Also, install file in `.' if not found. Bug + reported by Gord Matzigkeit. Test installsh.test. + +Thu Mar 14 09:28:21 1996 Tom Tromey <tromey@creche.cygnus.com> + + * Makefile.am (cvs-diff): New target. + + Fix for bug when install var substitutes empty. Test empty.test. + * header.am (install-@DIR@HEADERS): Allow empty list of headers. + (uninstall-@DIR@HEADERS): Ditto. + * scripts.am (install-@DIR@SCRIPTS): Allow empty list of scripts. + (uninstall-@DIR@SCRIPTS): Ditto. + * libraries.am (install-@DIR@LIBRARIES): Allow empty list of + libraries. + (uninstall-@DIR@LIBRARIES): Ditto. + * data.am (install-@DIR@DATA): Allow empty list of data. + (uninstall-@DIR@DATA): Ditto. + * programs.am (install-@DIR@PROGRAMS): Added missing semicolon. + From François Pinard. + (install-@DIR@PROGRAMS): Fixed bug when list of programs empty. + (uninstall-@DIR@PROGRAMS): Ditto. + +Wed Mar 13 19:50:23 1996 Tom Tromey <tromey@creche.cygnus.com> + + * tags-subd.am (ID): Name of ID file must be flush against -f. + + * configure.in (VERSION): Version 0.32. + +Mon Mar 11 17:50:58 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (seen_linguas, all_linguas_line): New variables. + (handle_gettext): New function. + (generate_makefile): Run it. + (scan_configure): Recognize ALL_LINGUAS. + +Mon Mar 11 14:34:36 1996 Gord Matzigkeit <gord@enci.ucalgary.ca> + + * automake.texi: doc fix. + + * automake.in (am_install_var): Added support for check and + installcheck special prefixes. + +Sun Mar 10 10:44:42 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_subdirs): Don't do SUBDIRS check for + gettext. + +Tue Mar 5 18:12:04 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (OBJECT_PATTERN): Removed. + (am_install_var): No error if name is invalid. + (handle_programs): Canonicalize program names. + (BOGUS_MACRO_PATTERN): New variable. + (read_am_file): Error if bad macro name given. + (require_file_internal): Use am_line_error, not am_conf_error. + + * program.am (@PROGRAM@): Recognize @PROGRAM@_DEPENDENCIES. + +Mon Mar 4 19:30:24 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_lib_objects): New function. + (handle_libraries): Use it. + (handle_programs): Ditto. + (handle_dist_worker): Deprecate DIST_SUBDIRS. + (am_install_var): Allow extended directory mechanism to work. + Test exdir.test. + + * dist-vars.am (DISTFILES): Use EXTRA_DIST. + (DEP_DISTFILES): Ditto. + + * automake.in (OBJECT_PATTERN): New variable. + (am_install_var): Use it. + (handle_dist): DIST_OTHER is an anachronism. + +Sat Mar 2 17:04:38 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_dist_worker): Only cause Automake to be + re-run if not making a distribution. Fixes bug reported by + Joerg-Martin Schwarz. + (require_file_with_line): New function. + (require_file): Use it. + (am_line_error): Don't print line number if $symbol is empty. + (get_object_extension): Use require_file_with_line. + (handle_libraries): Use require_file_with_line. + (handle_texinfo): Use require_file_with_line. + (handle_configure): Use am_conf_line_error and + require_file_with_conf_line. + (handle_subdirs): Use require_file_with_conf_line. + (handle_configure): Use require_file_with_conf_line. + (handle_tests): Push check-TESTS on @phony. + (am_conf_line_error): New function. + (require_file_with_conf_line): New function. + (require_file_internal): New function. + (require_file_with_line): Use it. + (require_file): Ditto. + (am_conf_line_error): Handle empty line number. + (ac_gettext_line, ac_output_line): New variables. + (scan_configure): Set them. + +Fri Mar 1 00:13:04 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (parse_arguments): Default strictness is gnu. + Changed `normal' to `foreign' everywhere. + (parse_arguments): Handle --foreign. + (initialize_global_constants): Document --foreign. + (handle_dependencies): Better error message. + (handle_texinfo): Don't push $vtexi on @texis. + (handle_texinfo): Only push $vtexi on @texi_deps if not null. + (handle_configure): install-sh is a config file; require it as + such. + (parse_arguments): Renamed --install-missing to --add-missing. + (add_missing): Renamed from install_missing. + (am_install_var): Check to make sure contents of install variable + are correct if primary requires it. Test badprog.test. + (initialize_global_constants): Initialize + %primary_uses_subobjects. + (handle_source_transform): Skip configure substitutions. Test + depend.test. Also, skip empty elements. + +Thu Feb 29 22:00:30 1996 Tom Tromey <tromey@creche.cygnus.com> + + * texinfo.tex: New version. + + * automake.in (am_install_var): Allow extended range of + installation directories. + + * automake.in (get_object_extension): Don't allow + @CONFIG_INCLUDE_SPEC@ in the Makefile.in when config.h not used. + From Gord Matzigkeit. Test confincl.test. + + * texinfos.am (install-info): Changed usage of install-info (in + comment). Per Feb 25 GNU Standards document. + +Wed Feb 28 07:40:55 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_tests): New function. + (generate_makefile): Call it. + (handle_subdirs): Skip directories whose names look like configure + substitutions. + (handle_subdirs): Require intl and po, not @INTLSUB@ and @POSUB@, + when using gettext. + (scan_configure): Clear in_ac_output if "]" found. Test + acoutqnl.test. + (require_config_file): New function. + (generate_makefile): Use require_config_file. + (config_aux_path): New variable. + (scan_configure): Check for AC_CONFIG_AUX_DIR. + (handle_merge_targets): Add install-strip rule. + +Tue Feb 27 20:00:36 1996 Tom Tromey <tromey@creche.cygnus.com> + + * mdate-sh: New version from Ulrich Drepper. + + * automake.in (handle_source_transform): Changed fill back to + empty string. + (handle_libraries): Ditto. + (handle_dist): Ditto. + (handle_dependencies): Ditto. + (handle_footer): Ditto. + (handle_phony): Ditto. + + * Makefile.am (DIST_SUBDIRS): Removed. + (installcheck-local): Use Perl, not test -x. + (PERL): New macro. + (maintainer-check): Use $(PERL), not @PERL@. + + * configure.in (VERSION): Upped to 0.31. + +Sat Feb 24 18:02:19 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (scan_configure): AC_CHECK_TOOL requires config.sub + and config.guess. + + * automake.in: Use keyed_aclocal_warning when warning about + fp_PROG_INSTALL. + (get_object_extension): Use keyed_aclocal_warning when warning + about fp_C_PROTOTYPES. + (keyed_aclocal_warning): New function. + + * Makefile.am (pkgdata_DATA): Install aclocal.m4. + * aclocal.m4: Include fp_C_PROTOTYPES, fp_PROG_CC_STDC. + + * automake.in (get_object_extension): Only give error about + fp_C_PROTOTYPES once. + + * automake.in (seen_ranlib): New variable. + (scan_configure): Recognized AC_PROG_RANLIB. + (handle_libraries): Error if ranlib not checked for. + + * automake.in (default_strictness): Default to GNU. + (default_strictness_name): Ditto. + +Wed Feb 21 18:15:02 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (read_am_file): Removed @kr@ support. + (get_object_extension): Ditto. + + * Makefile.am (pkgdata_DATA): Include ansi2knr.c and ansi2knr.1. + +Tue Feb 20 17:25:18 1996 Tom Tromey <tromey@creche.cygnus.com> + + * depend.am ($(srcdir)/.deps/%.P): Regexp fix. + +Mon Feb 19 19:53:09 1996 Tom Tromey <tromey@creche.cygnus.com> + + * remake.am ($(srcdir)/Makefile.in): Depend on configure.in. + * remake-subd.am ($(srcdir)/Makefile.in): Depend on configure.in. + + * automake.in (handle_scripts): Ensure $scripts_installed set to + boolean value. Test proginst.test. + + * Makefile.am (installcheck-local): New target. + + * automake.in (require_file): No error if missing file is + installed. + +Sun Feb 18 17:10:00 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_scripts): SCRIPTS no longer automatically + cleaned. Now possible to install scripts in pkgdatadir. + ($seen_canonical): New variable. + (generate_makefile): Check for config.guess and config.sub here; + fixes bug reported by Gord Matzigkeit. + + * Makefile.am (pkgdata_SCRIPTS): New variable. + (CLEANFILES): New macro. + + * scripts-clean.am: Removed. + +Sat Feb 17 00:15:20 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (am_install_var): Error if primary variable actually + defined. + (am_install_var): Skip elements that look like configure + substitutions. + (am_install_var): "EXTRA" is a valid prefix. + (am_install_var): Push contents EXTRA_PRIMARY onto @result. + (handle_merge_targets): Treat "all" target like "install". + (handle_subdirs): Don't push all-recursive. + + * header.am (install-@DIR@HEADERS): Don't depend on all. + * data.am (install-@DIR@DATA): Don't depend on all. + * libraries.am (install-@DIR@LIBRARIES): Don't depend on all. + * programs.am (install-@DIR@PROGRAMS): Don't depend on all. + * scripts.am (install-@DIR@SCRIPTS): Don't depend on all. + + * automake.in (am_install_var): Push generated install targets + onto @phony. + + * subdirs.am: No longer depend on Makefile and $(CONFIG_HEADER). + * automake.in (handle_merge_targets): Correctly handle recursive + calls of uninstall, install-exec, and install-data. + (handle_merge_targets): Put Makefile, and possibly $config_name, + onto @all. + (handle_merge_targets): Push 'all' onto @install as appropriate. + +Fri Feb 16 18:27:04 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_configure): config.status is in + $(top_builddir), not $(top_srcdir). Reported by Anthony Green. + + * automake.in (scan_configure): Recognize (AC|fp)_FUNC_FNMATCH. + +Thu Feb 15 19:12:45 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in: (seen_prog_yacc): New variable. + (scan_configure): Look for yacc. + (handle_source_transform): Skipp C++ header files. + (handle_source_transform): .cxx is a C++ source file. + +Wed Feb 14 08:36:02 1996 Tom Tromey <tromey@creche.cygnus.com> + + * depend.am ($(srcdir)/.deps/.P): Use "echo", not ":". + + Implemented --verbose feature; idea from Greg Woods: + * automake.in (verbose): New global. + (generate_makefile): Print creating message if verbose. + (grep_for_vers_texi): Print message if verbose. + (handle_dependencies): Ditto. + (scan_configure): Ditto. + (read_am_file): Ditto. + (parse_arguments): Added --verbose. + (initialize_global_constants): Ditto. + + * automake.in (get_object_extension): Use am_line_error. + (handle_source_transform): Ditto. + (handle_libraries): Ditto. + (handle_texinfo): Ditto. + (handle_man_pages): Ditto. + (handle_dist): Ditto. + (handle_dist): Ditto. + (handle_subdirs): Ditto. + (handle_configure): Ditto. + (handle_merge_targets): Ditto. + (am_install_var): Ditto. + (am_line_error): Allow actual line number as argument. + (handle_configure): Use am_line_error. + (scan_configure): Set config_header_line. + (config_header_line): New global. + Use @PERL@ to find perl during exec. From Greg Woods. + +Tue Feb 13 22:06:51 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (initialize_per_input): Init %content_lines. + (read_am_file): Set appropriate content_lines elements while + reading. + (am_line_error): New function. + (read_am_file): Use it. + (handle_options): Ditto. + + * automake.in (scan_configure): Handle case where more than one .o + is put into LIBOBJS at once. Test libobj.test. + +Mon Feb 12 20:39:28 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (scan_configure): Ignore "\" in AC_OUTPUT line. + Test acouttbs.test. + (handle_subdirs): Restored intl, po warnings. + + * automake.in (scan_configure): Delete everything after "," or + ")". Test acoutnoq.test. + (handle_dist): Use $relative_dir, not nonexistent $subdir. + (handle_subdirs): 'po' and 'intl' are sometimes substituted into + SUBDIRS; don't warn about their absence. + +Sun Feb 11 16:55:15 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_texinfo): Removed bogus error message. + + * automake.in (handle_texinfo): Push $(INFO_DEPS), not 'info', + onto @all. + (handle_options): Handle version number. + + * automake.in ($maint_charset, $dist_charset): New variables. + (initialize_per_input): Init $local_maint_charset. + (handle_dist): Handle DIST_CHARSET and MAINT_CHARSET. + (generate_makefile): Don't print "creating...". + +Sat Feb 10 16:45:07 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (get_object_extension): Substitute + @CONFIG_INCLUDE_SPEC@ if CONFIG_HEADER defined. + (handle_source_transform): Use $1, not \1. + (pretty_print_internal): Handle Tabs in fill when computing indent + on new line. + (handle_merge_targets): Always generate install-exec and + install-data targets. Test instexec.test. + Fixed error message if fp_PROG_INSTALL missing. + + * compile-vars.am (DEFS): Include -I., -I$(srcdir), and + @CONFIG_INCLUDE_SPEC@. + + * automake.in (scan_configure): Delete everything after "]". Test + acoutput.test. + + * configure.in (AC_OUTPUT): Create tests/Makefile. + * Makefile.am (SUBDIRS): New macro. + + * automake.in (handle_texinfo): Put $vtexi on texi_deps. From Jim + Meyering. + + * configure.in (AC_OUTPUT): Ensure automake is executable. + +Thu Feb 8 17:30:29 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_subdirs): Error if directory in SUBDIRS does + not exist. + + * automake.in (handle_configure): Handle AC_OUTPUT ":" syntax. + + From Jim Meyering: + * libraries.am (install-@DIR@LIBRARIES): Depend on all, not + (@DIR@_LIBFILES). + * header.am (install-@DIR@HEADERS): Depend on all, not + $(@DIR@_HEADERS). + * data.am (install-@DIR@DATA): Depend on all, not $(@DIR@_DATA). + * scripts.am (install-@DIR@SCRIPTS): Depend on all, not + $(@DIR@_SCRIPTS). + * programs.am (install-@DIR@PROGRAMS): Depend on all, not + $(@DIR@_PROGRAMS). + + * automake.in (initialize_per_input): Initialize + $use_dependencies. + ($seen_path_xtra): New variable. + (scan_configure): Look for AC_PATH_XTRA. + (get_object_extension): Add variables to output if X seen. + +Thu Feb 8 10:02:45 1996 Greg A. Woods <woods@most.weird.com> + + * automake.in (handle_programs): add pkglib to list of + directories for C + (various): include a tab as fill for continuation lines + printed with pretty_print*, esp. for macro variable assignments. + [ changed to 4 spaced by me ] + +Wed Feb 7 18:00:29 1996 Tom Tromey <tromey@creche.cygnus.com> + + * configure.in (VERSION): Upped to 0.30. + + * Makefile.am (automake): Removed. + (DIST_OTHER): Removed. + + * automake.in (handle_source_transform): All dep_files are + relative to $(srcdir). + (handle_libraries): Ditto. + (scan_configure): Test for AC_PROG_INSTALL as well as + fp_PROG_INSTALL. Don't error here. + (seen_prog_install): Now global. + (scripts_installed): New global. + (handle_scripts): Set it. + Give error if appropriate install macro not seen. + (handle_subdirs): Ensure $seen_gettext before requiring + gettext-specific files. + (handle_configure): Automatically rebuild + + From Jim Meyering: + * automake.in (handle_source_transform): Use \W when quoting + regexp. When blah_SOURCES not explicitly defined, still create + entry in %deps. + * depend.am ($(srcdir)/.deps/%.P): Don't use \< in regexp. + * subdirs.am (maintainer-clean-recursive): Now depends on + $(CONFIG_HEADER) and Makefile. + + * automake.in (handle_source_transform): Skip macro references. + +Mon Feb 5 14:58:58 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_texinfo): Include "rm" when deleting files. + + * Makefile.am (maintainer-check): Expect only one ${...}. + * texinfos.am (install-info): Remove unneeded ${...}. From Jim + Meyering. + + * automake.in (handle_configure): Only define CONFIG_HEADER if + $config_name. + ($seen_gettext): New variable. + (handle_subdirs): Do all gettext-related checking here. + (scan_configure): Just set $seen_gettext. + (handle_man_pages): Properly quote $(MANS). + +Wed Jan 31 09:51:30 1996 Tom Tromey (tromey@gerbil.cygnus.com) + + * depend.am: Don't use srcdir anywhere. + * automake.in (handle_libraries): Don't make .deps relative to + srcdir. + (handle_options): Recognize no-dependencies. + + * depend.am (MKDEP): From Jim Meyering: Do nothing if srcdir is + ".". Properly quote regexp. + +Tue Jan 30 12:19:09 1996 Tom Tromey (tromey@gerbil.cygnus.com) + + * automake.in (handle_configure): Only defined CONFIG_HEADER if + $config_name. + (read_am_file): Quote regexp when substituting top_builddir. + (handle_source_transform, handle_libraries): Look in + $(srcdir)/.deps for .P files. + +Fri Jan 26 00:15:25 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (am_conf_error): New function. + (scan_configure): Use it. + (scan_configure): A comma also ends AC_OUTPUT macro. + + * automake.in (read_am_file): Compute top_builddir when including + header-vars.am. + (handle_configure): Use $top_builddir, not $top_reldir. + (other_input_files): New variable. + (dirname): Fixed bug where dirname of 'a/b/c' was 'a', not 'a/b'. + + Changes from Gord Matzigkeit to enabled hierarchies deeper than 2: + * automake.in (input_files, seen_make_set): Declare globally. + (parse_arguments): Use input_files, not make_list. + Only scan configure.in once. + (handle_dist): Use SUBDIRS to determine when to make + subdirectories and recurisvely dist. Use $(topdir), not "..", to + find top of dist tree. + (handle_configure): Check for AC_PROG_MAKE_SET here. Don't require + configure.in (done elsewhere). + (scan_configure): seen_make_set is global. Allow arbitrary space + in LIBOBJS assignment. + (top_builddir): New variable. + * header-vars.am (top_builddir): New variable. + * remake-subd.am (Makefile): Look in top_builddir, not .., when + remaking. + * automake.in (handle_merge_targets): Run 'all' before + check-recursive. + + * automake.in (file_contents_with_transform): Changed error + message. + (handle_configure): Define $contents{'CONFIG_HEADER'}. + + * texi-version.am: Many changes to support multiple .texi files. + Replaced "version.texi" with "@VTEXI@". Replaced "vti" with + "@VTI@". + * automake.in (handle_configure): install.sh is an anachronism. + (handle_texinfo): Generalized for multiple .texi files. Handle + 'clean-info' internally. + * texi-clean.am: Removed. + * Makefile.am: Updated for removal. + +Wed Jan 24 22:55:32 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (grep_for_vers_texi): New function. + (handle_texinfo): Use grep_for_vers_texi, not system("grep"). + (handle_texinfo): Changes to generalize to multiple .texi files. + +Tue Jan 23 14:22:16 1996 Tom Tromey <tromey@creche.cygnus.com> + + Fixes from Gord Matzigkeit: + * libraries.am (install-@DIR@LIBRARIES): Use top_srcdir, not + topsrcdir. + * header.am: New file. + * Makefile.am (pkgdata_DATA): Install header.am. + * automake.in (handle_headers): Use header.am, not data.am. + (am_install_var): Allow pattern to be compiled multiple times. + + * config.guess, config.sub: New files. + * Makefile.am (pkgdata_DATA): Install config.guess and + config.sub. + * automake.in (scan_configure): Recognize AC_CANONICAL_HOST and + AC_CANONICAL_SYSTEM. + +Sun Jan 21 15:51:48 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_texinfo): Use info_TEXINFOS, not TEXINFOS. + (handle_man_pages): Use man_MANS, not MANS. + + * Makefile.am (info_TEXINFOS): Renamed. + + * automake.in (scan_configure): Remove comments from input line. + (am_variable): Removed. + + * remake-hdr.am (stamp-h): Use new macro CONFIG_HEADER_IN. + + * automake.in (config_name, config_header): New globals. + (scan_configure): Look for AC_CONFIG_HEADER. + (handle_configure): Handle more uses of AC_CONFIG_HEADER. + +Sat Jan 20 15:54:24 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_dist_worker): Bug fix. + +Fri Jan 19 00:50:29 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (require_file): Install missing files only according + to desired strictness. + (initialize_per_input): Don't init libsources. + (scan_configure): Reinit libsources. + (handle_libraries): Search _LIBADD for @LIBOBJS@ and @ALLOCA@. + (fp_c_prototypes): New global. + (scan_configure): Set it. + (get_object_extension): Error if fp_C_PROTOTYPES not in + configure.in when using ansi2knr. + (handle_source_transform): Skip header files. + + * automake.in (handle_dist_worker): Explicitly make 'dist' in + subdirs. + +Thu Jan 18 00:25:56 1996 Tom Tromey <tromey@creche.cygnus.com> + + From François Pinard: + * automake.in (handle_source_transform): Transform $o file into .P + file. + (handle_dist_worker): Handle case where DISTFILES includes + wildcard. Bug fix in subdir case. + + * automake.in (parse_arguments): Initialize strictness to + 'normal'. + +Sun Jan 14 13:54:16 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (scan_configure): Look for NLS support. + + Changes from François Pinard: + * texinfos.am (install-info): Correctly install when build dir is + not srcdir. + * tags-subd.am (ID): Indentation change. + * kr-vars.am (o): Use ".@U@o", not "@U@o". + * depend.am ($(srcdir)/.deps/%.P): Remove temporary file. + * automake.in (handle_dist_worker): Fixlets. + (handle_dist): Sort keys going into dist_common. + +Sat Jan 13 00:18:06 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (handle_dist_worker): If Gnits, don't allow release + until NEWS is updated. + + * configure.in (VERSION): Version 0.29. + + * Makefile.am (maintainer-check): Look for perl4.036 in path. + + * dist-vars.am (DISTFILES): Include BUILT_SOURCES. + (DEP_DISTFILES): Ditto. + + * automake.in (handle_dist_worker): Depend on DEP_DISTFILES. + * dist-vars.am (DEP_DISTFILES): New variable. + + * automake.in (handle_options): Support dist-shar option. + (handle_dist_worker): New function. + (handle_dist): Use it. + + * texi-version.am (mostlyclean-vti): Remove version.tmp, not + *.tmp. + + * automake.in (handle_dist): Chmod distdir 777. From François + Pinard. + + * automake.in (scan_configure): New function. + (initialize_per_input): Init libsources. + (generate_makefile): Run handle_configure first. + (handle_configure): Run scan_configure. + (handle_configure): Don't look for AC_PROG_MAKE_SET here. + +Thu Jan 11 23:14:18 1996 Tom Tromey <tromey@creche.cygnus.com> + + * Makefile.am (AUTOMAKE_OPTIONS): New variable. + + * automake.in (strictness, strictness_name): Renamed. + (initialize_per_input): Set strictness, strictness_name. + Initialize %options. + (generate_makefile): Run handle_options. + (handle_options): New function. + (handle_man_pages): Make install-man depend on $(MANS). Turn off + man page install if no-installman option given. + (read_am_file): Deprecate @kr@. + (get_object_extension): Look at ansi2knr option. + (parse_arguments): Take global strictness from command-line + options. + +Tue Jan 9 11:24:14 1996 Tom Tromey <tromey@creche.cygnus.com> + + Fixes from François Pinard: + * depend.am ($(srcdir)/.deps/%.P): Handle deansification. + * automake.in (get_object_extension): Use $o, not $(kr)o. + (handle_source_transform): Don't look for $(kr)c files. + * kr-vars.am (o): New macro. + (kr): Removed. + + * depend.am (DEP_FILES): Removed. + * automake.in (handle_source_transform): Push .P file onto + dep_files. + (initialize_per_input): New variable %dep_files. + (handle_dependencies): Generate DEP_FILES here. + +Mon Jan 8 22:27:33 1996 Tom Tromey <tromey@creche.cygnus.com> + + * automake.in (do_one_clean_target): Only remove config.status in + top-level directory. + (handle_tags): Removed 'id' from .PHONY list. From Jim Meyering. + + * clean.am (maintainer-clean-generic): Remove BUILT_SOURCES. + + * automake.in (handle_dist): Make "ln" quiet. + + * tags-subd.am (ID): Depend on HEADERS and SOURCES. + +Sat Jan 6 10:58:23 1996 Tom Tromey <tromey@cambric.colorado.edu> + + * automake.in (handle_merge_targets): 'check' shouldn't depend on + 'all' at top level. + (file_contents_with_transform): New function. + (am_install_var): Use file_contents_with_transform. + (handle_programs): Ditto. + (handle_libraries): Ditto. + (handle_texinfo): Ditto. + (handle_merge_targets): Let 'install' depend on 'all' if no other + dependencies exist. From Jim Meyering. + (check_gnu_standards): GNU requires AUTHORS file. (See + maintain.text). + (require_file): Put body in loop. + (get_object_extension): Only call require_file once. + (handle_configure): Ditto. + + From Jim Meyering: + * depend.am ($(srcdir)/.deps/.P): Depend on $(BUILT_SOURCES). + * tags-subd.am (id): Removed. + +Fri Jan 5 10:31:19 1996 Tom Tromey <tromey@cambric.colorado.edu> + + * Added copyright notice to each .am file. + + * automake.in: Cleanups from François Pinard to avoid $#. + (require_argument): Fixed sense of test. + (set_strictness): Bug fix. + +Thu Jan 4 21:21:29 1996 Tom Tromey <tromey@cambric.colorado.edu> + + * Makefile.am (pkgdata_DATA): Removed old dist files. + + * dist-subd-top.am, dist-subd.am, dist.am: Removed. + + * automake.in (set_strictness): Set $strictness_name. + (strictness_name): New variable. + (handle_dist): Substantially rewrote. + + * configure.in: Point AC_INIT at automake.in. + + * automake.in (generate_makefile): Report errors against + Makefile.in, not Makefile.am. + +Wed Jan 3 00:05:40 1996 Tom Tromey <tromey@cambric.colorado.edu> + + * mdate-sh: Bug fix from Jim Meyering. + + * dist.am (dist): Changed in parallel with dist-subd-top.am. + + * mkinstalldirs: Reverted. + + * automake.in (initialize_global_constants): Allow COPYING.LIB + again. + (check_gnits_standards): Disallow COPYING.LIB. + + * texinfos.am (install-info): Only look in $(srcdir) for info + files. + + * automake.in (initialize_global_constants): New variable + gen_copyright. + (read_am_file): Put a copyright in each Makefile.in. + + * dist-vars.am (DISTFILES): Put DIST_COMMON first. + + * automake.in (am_install_var): Put space before "=". + (handle_dist): Put README first in DIST_COMMON. + + * Makefile.am (pkgdata_DATA): Include COPYING. + + * COPYING: New file. + + * automake.in (parse_arguments): Added --gnu and --gnits as + synonyms. + (initialize_global_constants): Ditto. + (initialize_global_constants): Don't auto-distribute COPYING.LIB. + (initialize_global_constants): Look for README first. + (initialize_global_constants): Auto-distribute AUTHORS, BACKLOG, + ABOUT-GNU. + (check_gnu_standards): Require file COPYING. + + From François Pinard: + * automake.in (file_contents): Comment out "warn"s. + (usage): Use 4 columns. + (USAGE_FORMAT): Ditto. + + * texinfos.am (install-info): Look for info file relative to $$d. + + * Makefile.am (cvs-dist): Suppress output of "grep". + + * configure.in (VERSION): Version 0.28. + + * automake.in (pretty_print_internal): Fix for Perl 4 + compatibility. + + * configure.in (VERSION): Version 0.27. + + * depend.am ($(srcdir)/.deps/%.P): Must regexp-quote srcdir in sed + invocation. + + * automake.in (initialize_global_constants): Don't quote "@" in + $install_man_format. + (handle_merge_targets): use "@:" as empty command, not ":". + +Tue Jan 2 23:33:24 1996 Tom Tromey <tromey@cambric.colorado.edu> + + * texinfos.am (install-info): Look in $d for info files. From + François Pinard. + + * depend.am ($(srcdir)/.deps/%.P): Fixed regexp. + + * automake.in (read_am_file): Correctly deal with continued + variable definitions. + +Mon Jan 1 15:43:25 1996 Tom Tromey <tromey@cambric.colorado.edu> + + * automake.in (handle_merge_targets): 'check' target depends on + 'all'. + (file_contents): Don't be so verbose. + (read_am_file): Ditto. + (read_am_file): Must use substr to check for trailing \. + (am_install_var): Use push_phony_cleaners. + (file_contents): Set $was_rule when assuming a rule is seen. + (read_am_file): Ditto. + (do_one_clean_target): Removed spurious newline. + + Some changes from François Pinard: + * Removed trailing whitespace from all '.am' files. + * tags-subd.am (ID): Use &&, not ;. + (TAGS): Ditto. + * automake.in (parse_arguments): Removed useless message. + (parse_arguments): Don't explicitly referenced STDERR. + (require_argument): Ditto. + (am_error): Ditto. + (set_strictness): Ditto. + (file_contents): Ditto. + (read_am_file): Ditto. + (generate_makefile): Style tweaks. + (handle_programs): Ditto. + (handle_libraries): Ditto. + (handle_texinfo): Ditto. + (handle_man_pages): Ditto. + (handle_tags): Ditto. + (handle_dist): Ditto. + (handle_subdirs): Ditto. + (handle_configure): Ditto. + (handle_footer): Don't put newline before footer.am contents. + (handle_merge_targets): Style tweaks. + (do_one_clean_target): Ditto. + (dirname): Ditto. + (am_variable): Ditto. + Defined some new constants. + (generate_makefile): Don't call generate_header. + (generate_header): Removed. + (file_contents): Rewrote. + (read_am_file): Rewrote. + + * automake.in (generate_makefile): Handle phony target. + (do_one_clean_target): Pretty-print dependencies. + (handle_installdirs): Pretty-print rule. + + * Makefile.am (maintainer-check): Made some commands silent. + + * automake.in (initialize_global_constants): Don't install or + uninstall cat'd man pages. + (initialize_per_input): Added phony target. + (push_phony_cleaners): New function. + (get_object_extension): Handle phony targets. + (handle_texinfo): Ditto. + (handle_man_pages): Ditto. + (handle_tags): Ditto. + (handle_dist): Ditto. + (handle_subdirs): Ditto. + (handle_installdirs): Ditto. + (handle_merge_targets): Ditto. + (handle_clean): Ditto. + (do_one_merge_target): Ditto. + (am_install_var): Ditto. + (handle_phony): New function. + (generate_makefile): Call it. + (pretty_print_internal): New function. + (pretty_print_rule): Ditto. + +Sun Dec 31 13:04:59 1995 Tom Tromey <tromey@cambric.colorado.edu> + + * automake.in (initialize_global_constants): Don't print body of + loop at make time. + + Changes from François Pinard: + * depend.am (MKDEP): Include DEFS, INCLUDES, CPPFLAGS, CFLAGS. + (DEP_FILES): Put dependency files in $(srcdir). + Look in $(srcdir) when including dependency files. + ($(srcdir)/.deps/.P): .deps/.P is in $(srcdir). + (.deps/%.P): MKDEP includes all macro expansions. + * dist-subd-top.am (dist): Get absolute path for distdir. Don't + be so verbose. + * dist-subd.am (dist): Don't be so verbose. + * dist.am (dist): Don't be so verbose. + + * automake.in (do_one_clean_target): Remove config.status in + maintainer-clean. From Jim Meyering. + + * programs-clean.am (clean-@DIR@PROGRAMS): Bug fix. From Jim + Meyering. + + * automake.in (handle_merge_targets): Add dummy command for empty + install target. From Jim Meyering. + +Tue Dec 12 10:06:28 1995 Tom Tromey <tromey@cambric.colorado.edu> + + * texinfos.am (uninstall-info): Bug fix. + + * Makefile.am (maintainer-check): Error if ${...} used. + * depend.am (DEP_FILES): Prefer $(...). + + * scripts.am (install-@DIR@SCRIPTS): Only install script if it + exists. + * libraries.am (install-@DIR@LIBRARIES): Only install library if + it exists. + * programs.am (install-@DIR@PROGRAMS): Only install program if it + exists. + + * texinfos-vars.am (TEXFILES): Removed. + + * Makefile.am (pkgdata_DATA): Removed libprograms.am. + + * automake.in (do_one_merge_target): Never generate trailing + whitespace. + (pretty_print): New function. + (handle_footer): Prettyprint definitions. + (am_install_var): Ditto. + (handle_source_transform): Ditto. + (handle_dist): Ditto. + (handle_libraries): Ditto. + (read_am_file): Put comments nearer appropriate code. + + * texi-clean.am (mostlyclean-info): Use continued lines, not + multiple rm's. From Jim Meyering. + +Sun Dec 10 11:59:33 1995 Tom Tromey <tromey@cambric.colorado.edu> + + * Makefile.am (pkgdata_DATA): Cause INSTALL, install-sh, mdate-sh, + mkinstalldirs, texinfo.tex to be installed. + * automake.in (symlink_exists): New global. + (install_missing): Ditto. + (require_file): Install missing files if possible. + (parse_arguments): Handle --install-missing option. + (initialize_global_constants): Document --install-missing. + + * Makefile.am (cvs-dist): Don't release unless NEWS updated. + Ensure 'checks' pass before release. + (maintainer-check): Renamed. Look in $(srcdir) for sources. From + Franc,ois Pinard. + (cvs-dist): Depend on maintainer-check instead of explicitly + running check. + + * configure.in (VERSION): Version 0.26. + + * Makefile.am (check-local): Only look at [a-z]*.am. Fixed sense + of 'if' test. + + * depend.am (DEP_FILES): Bug fix. + + * automake.in (do_one_clean_target): Typo. + + * Makefile.am (check-local): Run syntax check under Perl 4. + + * automake.in: Fixes for Perl 4, from Gord Matzigkeit. + (handle_source_transform): Loop variable is now $_. From Gor + + * Makefile.am (check-local): Check for 'true' in source. + * texinfos.am (install-info): Can't use "true" in any rule. + +Sat Dec 9 10:16:48 1995 Tom Tromey <tromey@cambric.colorado.edu> + + * Makefile.am (cvs-dist): New target. + + * tags.am (TAGS): Use "test -z ... ||" to avoid spurious + failures. + + * texinfos.am (install-info): Don't do install-info for now. + + * clean.am (distclean-generic): Don't remove config.status here. + * automake.in (do_one_clean_target): Remove config.status later, + for 'make -j2'. From Jim Meyering. + +Fri Dec 8 16:30:48 1995 Tom Tromey <tromey@cambric.colorado.edu> + + * configure.in (VERSION): Version 0.25. + + * automake.in (handle_texinfo): Use "$? >> 8", not "$?". + (handle_configure): Check for AC_PROG_MAKE_SET. + + * depend.am (DEP_FILES): Handle deANSIfication case. From Jim + Meyering. + + * automake.in (am_install_var): Changed how 'clean' handled for + uniform name targets. + * Makefile.am (pkgdata_DATA): Added new files. + * data-clean.am: New file. + * scripts-clean.am: New file. + * libraries-clean.am: New file. + * programs-clean.am: New file. + +Wed Dec 6 00:06:11 1995 Tom Tromey <tromey@cambric.colorado.edu> + + * automake.in (am_install_var): Error if variable name + "misspelled". + (handle_source_transform): Automatically include .c file + corresponding to .y or .l. + +Tue Dec 5 00:46:14 1995 Tom Tromey <tromey@cambric.colorado.edu> + + * programs.am: Changed for uniform naming scheme. + + * automake.in (read_am_file): Allow '-' and '.' in target names. + (generate_makefile): Don't pass arguments to handle_libraries. + (initialize_per_input): Define @sources, @objects. + (generate_makefile): Init @sources, @objects if needed. + (handle_source_transform): Push onto @sources, @objects here. + (am_install_var): Push primary onto @all, for configure-time + customization. + (handle_programs): Use new uniform naming scheme. + + * Makefile.am (check-local): New target. + + * automake.in (handle_libraries): Use uniform naming scheme. + + * libraries.am: Rewrote for uniform naming scheme. + + * scripts.am: Updated names of all clean targets. + + * automake.in (handle_programs): Split on all whitespace. + (handle_libraries): Ditto. + (handle_texinfo): Ditto. + (handle_man_pages): Ditto. + (am_install_var): Changed return result. + (am_install_var): Changed interface. + (am_install_var): Push onto @clean@ if requested. + (handle_scripts): Pass -clean to am_install_var. + +Mon Dec 4 11:55:36 1995 Tom Tromey <tromey@cambric.colorado.edu> + + * automake.in (am_install_var): Push target onto @all. + (get_object_extension): Use $(...). + (handle_source_transform): Ditto. + (handle_programs): Ditto. + + * automake.in (require_argument): New function. + (parse_arguments): Use it. + (push_dist_common): New function. + (generate_makefile): Use it. + (handle_texinfo): Ditto. + (handle_dist): Ditto. + (handle_configure): Ditto. + (require_file): Ditto. + (generate_makefile): Don't pass arguments to handle_scripts. + (handle_configure): Require configure.in. + (check_gnu_standards): New function. + (check_gnits_standards): Ditto. + (generate_makefile): Check standards. + + * Makefile.am (bin_SCRIPTS): Changed name from SCRIPTS. + + * automake.in (LENIENT, GNU, GNITS): New constants. + (initialize_per_input): New function. + (generate_makefile): Use it. + (initialize_global_constants): Renamed from init_globals. + (require_file): Added strictness argument. + (parse_arguments): Added --strict option. + (set_strictness): New function. + (parse_arguments): use it. + (initialize_global_constants): Document --strictness. + + * automake.in: Use ${1+"$@"} to preserve quoting when running + under sh. + + * texinfos.am (install-info): Don't use "true". + * tags.am (TAGS): Don't use "true". + + * dist.am, dist-subd-top.am, remake-hdr.am, remake-subd.am, + remake.am, subdirs.am, texinfos.am: Use "&&" after cd. + + * program.am (@PROGRAM@): Use LINK macro. + * compile.am (.c.o): Use COMPILE macro. + + * clean.am, remake-hdr.am, remake.am, texinfos.am: Use $(...), not + ${...}. + + * subdirs.am (RECURSIVE): Removed macro. + + * clean.am: Changed to not be so verbose. + + * Makefile.am (pkgdata_DATA): Include texi-clean.am. + * automake.in (handle_texinfo): Transform texi-clean and put into + output rules. + * texinfos-vars.am (TEXFILES): Removed. + * texinfos.am: Removed 'clean' targets. + * texi-clean.am: New file. + + * Makefile.am (ETAGS_ARGS): Just use 'automake.in'. + + * texinfos-vars.am (TEXFILES): Added *.op. + + * dist-vars.am (DISTFILES): Renamed from DIST_FILES, per GNU + standards. + * dist.am (dist): Use DISTFILES. + * dist-subd.am (dist): Use DISTFILES. + * dist-subd-top.am (dist): Use DISTFILES. + +Sun Dec 3 00:24:08 1995 Tom Tromey <tromey@cambric.colorado.edu> + + * Makefile.am (ETAGS_ARGS): Define. + + * depend.am (.deps/.P): Use ":", not "echo timestamp". From Jim + Meyering. + + * dist-vars.am (DIST_FILES): Removed PACKAGEDATA. + + * automake.in (handle_scripts): Use am_install_var. + + * scripts.am: Rewrote for new uniform naming scheme. + + * Makefile.am (pkgdata_DATA): Removed libscripts.am. + + * libscripts.am: Removed. + + * packagedata.am: Removed. + + * Makefile.am (PACKAGEDATA): Removed packagedata.am. + (pkgdata_DATA): Renamed from PACKAGEDATA. + + * automake.in (handle_data): Use am_install_var. + (init_globals): Init %exec_dir_p. + + * data.am: Rewrote for new uniform naming scheme. + + * automake.in (get_object_extension): New function. + (handle_programs): Use it. + (dir_holds_sources): Changed interpretation. + (handle_headers): New function. + (am_install_var): New function. + (generate_makefile): Call handle_headers. + + * header-vars.am (pkgdatadir): New macro. + (pkglibdir): Ditto. + (pkgincludedir): Ditto. + + * automake.in (handle_source_transform): New function. + (am_error): New function. + (generate_makefile): Use it. + (handle_source_transform): Ditto. + (handle_texinfo): Ditto. + (handle_dependencies): Ditto. + (handle_merge_targets): Ditto. + (require_file): Ditto. + +Sat Dec 2 21:39:56 1995 Tom Tromey <tromey@cambric.colorado.edu> + + * automake.in: Updated FSF address. From Jim Meyering. + * header-vars.am: Updated FSF address. + + * distname.am: Removed. + + * automake.in (file_contents): Strip "##" comments. + * Various files: Added "##" comments for strange things. + + * automake.in (handle_tags): Generate TAGS rule for every + directory. + + * subdirs.am (RECURSIVE): Include installcheck-recursive. + * automake.in (installcheck): New variable. + (generate_makefile): Initialize it. + (handle_subdirs): Push 'installcheck-recursive'. + (handle_merge_targets): Handle installcheck target. + +Thu Nov 30 20:13:16 1995 Tom Tromey <tromey@cambric> + + * automake.in ($PACKAGE): Removed. + + * header-vars.am (ALL): Removed. + + * automake.in: Reworked 'all' target handling. + + * automake.in (generate_makefile): + Don't use AM_ forms in call to am_variable. + + * automake.in: Changes for Perl 5, from Gord Matzigkeit + + * clean.am (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables. + + * automake.in (handle_footer): Allow SUFFIXES variable. + + * automake.in (am_variable): New function. + (handle_texinfo): Use it. + (generate_makefile): Use it. + + * configure.in: Version 0.24. + +Wed Nov 29 23:50:14 1995 Tom Tromey <tromey@cambric> + + * automake.in (handle_libraries): + Generate blah_LIBADD defines if required. + + * library.am (lib@LIBRARY@.a): Look at $(@LIBRARY@_LIBADD) + + * libraries-vars.am (LIBOBJS, ALLOCA): Removed. + + * compile-kr.am: ($(OBJECTS)): Depend on $(ANSI2KNR), not ansi2knr. + + * configure.in: Version 0.23 + + * dist-subd-top.am (dist): Don't die if a subdirectory already exists. + + * dist-subd-top.am, dist.am (dist): Give automake --output-dir option. + + * automake.in: New option --output-dir + + * automake.in (handle_configure): Fixed typo. + + * automake.in (handle_installdirs): Always make installdirs target. + + * subdirs.am (RECURSIVE): Removed uninstall-data-recursive and + uninstall-exec-recursive. Added installdirs-recursive. + + * automake.in (handle_installdirs): Handle installdirs-recursive. + (handle_man_pages): 'all' depends on $(MANS) + + * Makefile.am: Removed mans.am. + + * automake.in: More man-related fixes + + * automake.in: Bug fixes + + * automake.in: Rewrote man page handling. + + * texi-version.am, remake-hdr.am, depend.am: Don't use touch. + + * automake.in (handle_installdirs): New function. + (@installdirs): New global. + Many changes to deal with installdirs. + + * clean.am (clean-generic): Always supply 'else' clause to 'if' + + * automake.in (generate_header): Don't use header.am. + (handle_dist): Don't use dist-subd-vars.am. + + * Makefile.am (PACKAGEDATA): Removed dist-subd-vars.am, header.am. + + * Makefile.am (DISTCLEANFILES): Removed. + + * clean.am (clean-generic): Bug fix. + + * clean.am (clean-generic): Only remove CLEANFILES if nonempty + + * texi-version.am (clean-vti): No such macro as VTI + +Tue Nov 28 19:56:07 1995 Tom Tromey <tromey@cambric> + + * automake.in: Bug fix for maintainer-clean + + * automake.in (do_one_clean_target): + Print special text in maintainer-clean. + (handle_clean): Always include clean.am + + * clean.am: Use -generic clean targets. + + * compile.am: Added clean targets. + + * configure.in: Version 0.22. + + * automake.in (handle_dependencies): + Put trailing newline after all deps. + + * automake.in (handle_dependencies): Another dependency bug fix. + + * automake.in (handle_dependencies): + Bug fix when including dependencies. + + * automake.in (handle_configure): + Verify existence of install-sh, mkinstalldirs + + * automake.in (handle_texinfo): Include stamp-vti in distribution + + * dist-subd-vars.am, dist-vars.am (DIST_FILES): + Include DATA, PACKAGEDATA. + + * Makefile.am: Nothing + + * Makefile.am (DIST_OTHER): Don't distribute gettext-sh + + * automake.in (handle_texinfo): Typo + + * automake.in: If script ends up in shell, feed to perl + + * automake.in: Rewrote 'clean' rules. + Documentation made and installed first. + 'all' depends on 'info' + +Mon Nov 27 23:57:29 1995 Tom Tromey <tromey@cambric> + + * configure.in, Makefile.am: Turned off internationalization. + + * clean-kr.am: Rewrote for new clean scheme. + + * tags-clean.am: Remove TAGS in distclean, not maintainer-clean + + * Makefile.am (PACKAGEDATA): Include tags-clean.am + + * subdirs.am: Removed bogus local clean targets + + * tags-clean.am: Initial revision + + * texi-version.am: Added clean targets + + * texinfos.am: Fixes to clean targets. + + * texinfos.am, libscripts.am, scripts.am, libraries.am, libprograms.am, programs.am: + Added clean targets + + * compile-kr.am (ansi2knr.o): Depend on CONFIG_HEADER + + * automake.in: Completely revamped automatic de-ANSI-fication + + * compile-kr.am: (ansi2knr, $(OBJECTS)): New targets + + * compile-vars.am (LINK): New macro + + * kr-vars.am: Trailing blank line + + * compile-kr.am: Rewrote + + * compile-vars.am (COMPILE): New macro + + * compile-vars.am (ANSI2KNR): Removed + + * Makefile.am (PACKAGEDATA): Removed all sed scripts. Added kr-vars.am + + * kr-vars.am: Initial revision + + * automake.in (require_file): New function. + (handle_texinfo): Require 'mdate-sh' + (common_sometimes): New variable + (usage): Use it. + + * texi-version.am (stamp-vti): Use Ulrich's mdate-sh script + + * mdate-sh: Initial revision + + * automake.in (handle_footer): Don't define SOURCES or OBJECTS if empty + + * automake.in (generate_makefile): + Put Makefile.in, Makefile.am in @dist_common + (handle_configure): Use @dist_common as appropriate + + * dist-subd-vars.am, dist-vars.am (DIST_CONF): Removed + + * configure.in: Abort if perl not found + + * configure.in: Look for perl + + * automake.in: Reimplemented in Perl + + * automake.in: Fixlet + +Sun Nov 26 08:09:30 1995 Tom Tromey <tromey@cambric> + + * automake.in: Always print ".SUFFIXES:" rule. + + * automake.in: Distribution config.h.in if required + + * automake.in: Bug fix when including texi-version.am + + * automake.in: Bug fix when looking for .texi file in $am_reldir + + * depend.am: Comment fix + + * automake.in: Look for .texi file in $am_reldir + + * automake.in: Fixlet + + * automake.in: Blank line after targets from user's Makefile.am + + * automake.in: Move footer items to actual footer + + * automake.in: Include stamp-h.in in DIST_COMMON if necessary + + * automake.in (common): + Don't include acconfig.h, config.h.top, config.h.bot + + * Makefile.am (CONFIG_HEADER): Renamed from CONFIG_H + + * Makefile.am (CONFIG_H): Define + + * acconfig.h: Initial revision + + * configure.in: Use AC_CONFIG_HEADER. + + * automake.in: Put blah_TEXINFOS into DIST_COMMON + + * automake.in: .info file explicitly depends on primary .texi file + + * texinfos.am (install-info): Always supply 'else' clause to 'if' + + * tags.am (TAGS): Always supply 'else' clause to 'if' + + * subdirs.am (.NOEXPORT): Removed (now in footer.am) + + * automake.in: Always include footer.am in output + + * mans.am (install-man): Always supply 'else' clause to 'if' + + * automake.in: More version.texi fixes + + * automake.in: Only do version.texi processing if requested. + + * automake.in: Minor internationalization fixes. + Subshell can now exit with nonzero status. + Fixed up .texi handling; now uses texi-version.am + Make sure '.c' and '.o' are in .SUFFIXES if required. + + * Makefile.am (PACKAGEDATA): Include texi-version.am + (stamp-vti, version.texi): Removed + (TEXINFOS): Don't reference version.texi + + * texi-version.am: Initial revision + + * dist.am, dist-subd-top.am (dist): + [DIST_SUBDIRS] Follow symlinks when copying. + + * dist-subd-top.am (dist): Removed unneeded subdir= option to make + +Sat Nov 25 23:23:39 1995 Tom Tromey <tromey@cambric> + + * automake.in: Added --amdir option + + * Makefile.am, configure.in: Turned on internationalization + + * Makefile.am: Set EDITION + + * configure.in: Version 0.21 + + * tags.am, tags-subd.am: Don't use double-colon rules + + * automake.in: Redid install-data, install-exec, uninstall handling + + * configure.in: Turn off i18n + +Fri Nov 24 23:51:37 1995 Tom Tromey <tromey@cambric> + + * automake.in (common): Remove NLS + + * automake.in (common): Include ABOUT-NLS. + + * automake.in: Test for install-sh and mkinstalldirs + + * automake.in: Blank line after OBJECTS= line + + * automake.in: Start subshell in loop after check for Makefile.am + + * automake.in: --use-deps now the default + + * automake.in (am_dir): Don't apply transform to install directory name + + * packagedata.am: Don't apply transform to install directory name + + * Makefile.am (SUBDIRS): Hold off on internationalization + +Thu Nov 23 18:02:38 1995 Tom Tromey <tromey@cambric> + + * automake.in: + Write 'SOURCES =' line after copying Makefile.am variables + + * automake.in: Fixed bug in "--" option processing + + * subdirs.am: ($(RECURSIVE)): Removed trailing \ from last line + + * Makefile.am (DIST_OTHER): Include gettext-sh + + * Makefile.am (SUBDIRS): Define + + * configure.in: Include internationalization bits + + * automake.in: Many changes to avoid double-colon rules. + + * subdirs.am: ($(RECURSIVE)): Print name of target actually used + + * subdirs.am: Removed "::" rules + + * header.am: Removed install, uninstall + + * header.am: Added install, uninstall targets + + * hack-make.sed: Rewrite targets like "all-local" to "all_local" + + * header.am, libraries.am, mans.am, texinfos.am, footer.am: + Removed "::" rules + + * Makefile.am (PACKAGEDATA): Include libscripts.am + + * libprograms.am: Don't install libscripts here + + * libscripts.am: Initial revision + + * scripts.am, programs.am, libprograms.am: Removed "::" rules + + * automake.in (am_dir): Run package name through name transform. + + * automake.in: Don't use packagedata.sed or data.sed + + * Makefile.am (PACKAGEDATA): Removed data.sed, packagedata.sed. Added + packagedata.am + + * data.am: No longer run through sed + + * packagedata.am: Initial revision + +Wed Nov 22 22:31:02 1995 Tom Tromey <tromey@cambric> + + * automake.in: No blank line after Usage + + * automake.in: Removed "NLS nuisances" section. + Now uniformly uses $echo for user-visible messages (in advance of + internationalization) + + * subdirs.am (maintainer-clean): Don't use realclean-local + + * Makefile.am: Use PACKAGEDATA, not custom code + + * data.am: Use @LONG@, not $(@LONG@) + + * automake.in: Handle DATA and PACKAGEDATA + + * packagedata.sed: Initial revision + + * data.am: Use @DIR@, not $(@DIR@) + + * data.sed: Use $(datadir), not datadir + + * data.sed: Initial revision + + * data.am: Wrote uninstall targets + + * data.am: Initial revision + + * dist-subd.am (dist): Don't link a file that has already been linked + + * dist-subd-top.am, dist.am (dist): + Run `automake --include-deps' before making distribution + + * automake.in: More dependency-tracking bug fixes + + * dist-vars.am (DIST_FILES): Rearranged to be like dist-vars-subd.am + + * dist-subd-vars.am (DIST_FILES): Include DIST_COMMON + + * tags-subd.am, tags.am: Added trailing blank line + + * depend.am: Use ".P", not "empty.P", as placeholder. + + * automake.in: Only include depend.am if SOURCES not empty + + * automake.in: Added --use-deps and --include-deps options. + Handle auto-generating dependencies. + + * Makefile.am (am_DATA): Include depend.am + + * depend.am: Initial revision + + * automake.in: Look for acconfig.h, config.h.top, and config.h.bot + + * automake.in: Put blank line after .SUFFIXES + + * scripts.am: Added blank line at end + + * scripts.am: Removed unnecessary comment + + * scripts.am: Removed unnecessary workarounds + + * automake.in: Don't include programs.am if PROGRAMS empty + + * header-vars.am (INSTALL_SCRIPT): Typo + + * texinfos.am, compile-kr.am: Don't include .SUFFIXES + + * automake.in: Handle .SUFFIXES here. + + * configure.in: Use fp_PROG_INSTALL + + * header-vars.am: Changes for autoconf 2.5. + Now includes INSTALL_SCRIPTS. + + * texinfos.am (install-info): Bug fix + + * automake.in: + Include scripts.am or libscripts.am in output if appropriate + + * programs.am (install-programs, uninstall-programs): + Don't install SCRIPTS + + * Makefile.am (am_DATA): Include scripts.am + + * scripts.am: Initial revision + +Tue Nov 21 09:11:38 1995 Tom Tromey <tromey@cambric> + + * automake.in: + Cleaned up how "prog_SOURCES" variable is found in input. + Ditto prog_OBJECTS. + Put static sed scripts into separate, installed files. + + * Makefile.am (am_DATA): Include hack-make.sed and nl-remove.sed + + * hack-make.sed, nl-remove.sed: Initial revision + + * texinfos.am (install-info): Rewrote + + * subdirs.am (all-recursive): Put with other -recursive rules + + * configure.in: Version 0.20 + + * automake.in: Another bug fix + + * automake.in: Bug fix when looking for texinfo.tex + + * texinfo.tex: Initial revision + + * automake.in: + If TEXINFOS defined but texinfo.tex does not exist, give warning. + + * subdirs.am (all): Renamed from _all. Now uses all-recursive + (all-recursive): Don't fail immediately if -k specified. + +Mon Nov 20 22:48:03 1995 Tom Tromey <tromey@cambric> + + * subdirs.am (_all): + New target. Now use Jim Meyering's formulation of AIX + workaround. + (install-exec, install-data): New targets + +Sat Nov 18 19:07:30 1995 Tom Tromey <tromey@cambric> + + * remake.am (Makefile.in): automake "Makefile", not "Makefile.am" + + * automake.in: Use @datadir@ + + * automake.in: Added @configure_input@ line + +Fri Nov 17 23:32:43 1995 Tom Tromey <tromey@cambric> + + * automake.in: "--help" option now prints auto-recognized file names. + Allow AM_ overriding of more variables. + + * texinfos.am (install-info): + Don't cd to srcdir to avoid breaking install-sh + Other bug fixes + + * Makefile.am: Handle automake.texi + +Thu Nov 16 18:43:43 1995 Tom Tromey <tromey@cambric> + + * subdirs.am (all): Separated out due to AIX 3.2.5 bug. + + * tags.am (TAGS): bug fix + + * automake.in: Use am_dir, not AM_DIR. + Use version, not VERSION. + Bug fix in TAGS code. + + * Makefile.am (am_DATA): Include tags.am and tags-subd.am + + * subdirs.am: TAGS target now in tags.am + + * footer.am: TAGS and ID targets now in tags-subd.am + + * tags-subd.am, tags.am: Initial revision + + * automake.in: Cleaned up AM_PROGRAM code. + Handle TAGS target better + + * remake.am, remake-subd.am (Makefile.in): Bug fix. + + * automake.in (usage): Updated + + * remake-subd.am, remake.am: + Added rule where Makefile.in depends on Makefile.am + + * automake.in: Entire body of 'for' loop now in subshell + + * automake.in (common): config.guess and config.sub are common files. + + * dist-subd-top.am, dist.am (dist): Bug fix. + + * Makefile.am (DIST_OTHER): Don't include TODO + + * automake.in: Auto-include TODO and THANKS files. + + * dist-subd-top.am, dist.am (dist): Don't depend on DIST_DIRS + + * automake.in: More bug fixes in "look for Makefile.am" code. + + * automake.in: Bug fix in "look for Makefile.am" code. + + * automake.in: + If no arguments given, look for all Makefile.am's in this + directory and in immediate subdirs + + * automake.in: Bug fixes for LDADD-override feature. + + * program.am: Use @PROGRAM@_LDADD, and put after LDFLAGS + + * automake.in: Allow `prog_LDADD', if specified, to override LDADD. + + * automake.in: Use AM_PROGRAMS, not ALLPROGRAMS, and invert sense. + + * header-vars.am (ALL): Use PROGRAMS, not ALLPROGRAMS. + +Wed Nov 15 01:54:43 1995 Tom Tromey <tromey@cambric> + + * automake.in: No longer look for _SOURCES or _OBJECTS + + * header-vars.am: + Remove "automatically created" header (now in automake). + Updated copyright. + + * automake.in: Put version info in Makefile header + +Tue Nov 14 23:38:17 1995 Tom Tromey <tromey@cambric> + + * automake.in: Minor cleanups + + * dist-subd-top.am, dist.am (dist): + Don't link or copy file if it already exists. + + * automake.in: + Look for _SOURCES (common sources) and generate _OBJECTS. + + * footer.am (ID, TAGS): Include HEADERS + + * dist-vars.am, dist-subd-vars.am (DIST_FILES): Include HEADERS + +Mon Nov 13 22:20:02 1995 Tom Tromey <tromey@cambric> + + * dist-subd.am (distdir): Is relative to ".." + + * dist-subd-vars.am (PACKAGE, VERSION): Define + + * dist-subd.am (dist): Don't handle DIST_DIRS. + + * mans.am (uninstall-man): Another bug fix. + + * mans.am (uninstall-man): Bug fix. + + * dist.am, dist-subd-top.am (dist): Bug fix + + * Makefile.am (DIST_SUBDIRS): New macro + + * dist-subd-top.am, dist.am (dist): Handle DIST_SUBDIRS + + * Makefile.am (DIST_OTHER): Include automake.in + + * Makefile.am (DISTCLEANFILES): New macro. + + * automake.in (common): Include COPYING.LIB + + * Makefile.am (automake): New rule. + + * texinfos.am (install-info): Changed per GNU standards + + * remake-hdr.am (stamp-h.in): + Use "touch", not "date", per GNU standards. + + * automake.in (common): Include texinfo.tex + +Sun Nov 12 23:59:08 1995 Tom Tromey <tromey@cambric> + + * automake.in: More fixes when finding common files. + + * Makefile.am (DIST_OTHER): Another removal. + + * automake.in: Special-case when amdir=. + + * Makefile.am (DIST_OTHER): Removed auto-detected files. + + * automake.in: + Search for commonly-used files and auto-include them in distribution + + * dist-vars.am (DIST_FILES): Include DIST_COMMON. + (DIST_CONF): Removed files searched for by automake. + + * automake.in: More arg-parsing bug fixes. + + * Makefile.am (DIST_OTHER): Include install-sh + + * Makefile.am (DIST_OTHER): Don't include auto-included files. + + * automake.in: Bug fixes to argument parsing code. + + * automake.in: Handle --version and --help. + NLS stuff from autoconf. + + * Makefile.am (amdatadir): Fixed typo. + (install): Make install directories + + * Makefile.am: Use "install::", not "install:" + + * install-sh, mkinstalldirs: Initial revision + + * configure.in: Use AC_PROG_INSTALL + + * automake.in: Set AM_DIR based on configure results. + + * Makefile.am (install): New target. + (amdatadir): New variable. + + * automake.in: Use "#! /", not "#!/". + + * Makefile.am, configure.in: Initial revision + + * automake.in: Renamed from "automake". + Set VERSION. + + * dist.am (PACKAGE, VERSION): Now in dist-vars.am + + * automake.in: Insert remake-subd.am if appropriate. + + * subdirs.am (TAGS): Include $(CONFIG_HEADER) when making tags. + + * automake.in: Handle ALLPROGRAMS variable. + + * header-vars.am (ALL): Use ALLPROGRAMS, not PROGRAMS. + + * automake.in: Fixlet when printing "subdir=DIR" + + * automake.in: Put "subdir=DIR" into subdir Makefile + + * automake.in: Don't refer to distname.am. + Only put footer.am in subdir Makefiles. + + * subdirs.am (id, ID): New target. + (.NOEXPORT): Copied from footers.am. + + * subdirs.am (TAGS): Bug fixes. + + * subdirs.am (TAGS): Don't fail if a subdir doesn't have TAGS target. + + * subdirs.am (maintainer-clean-local): Remove TAGS + + * subdirs.am (TAGS): Make tags file that includes all subdir tags files + + * subdirs.am: Use maintainer-clean, per GNU standards + + * dist-subd-top.am: Some variables defined in dist-vars.am + + * dist-vars.am (PACKAGE, VERSION): + New variables, initialized by configure + + * footer.am (id, ID): New targets + (TAGS): Put TAGS file in build, not source, directory + + * remake-subd.am (Makefile): Don't assume subdir is 'src' + + * dist.am: Changed to assume PACKAGE and VERSION are set by configure. + + * dist-subd.am: Changed to conform to new top-level dist target. + + * dist-subd-top.am: + Changed to assume PACKAGE and VERSION are set by configure. + + * clean-kr.am, clean.am (maintainer-clean): + Updated rules per GNU standards. + + * clean.am, clean-kr.am (maintainer-clean): Renamed from realclean. + +Sat Nov 5 14:39:50 1994 djm <djm@cambric> + + * automake.in, texinfos.am: kludge for multiple-part info files + +Thu Nov 3 13:33:44 1994 djm <djm@cambric> + + * clean.am, clean-kr.am: remove INFOS + +Wed Nov 2 06:15:42 1994 djm <djm@cambric> + + * texinfos.am: add path + + * remake.am, remake-hdr.am: account for VPATH limitations + +Mon Oct 24 23:01:59 1994 djm <djm@cambric> + + * automake.in, dist-subd-top.am, dist-subd.am, dist.am, header-vars.am, libprograms.am, programs.am: + handle SCRIPTS and LIBSCRIPTS similar to PROGRAMS + +Sun Oct 23 01:50:41 1994 djm <djm@cambric> + + * texinfos.am: install-info depends on info files + + * dist-subd-vars.am, dist-vars.am: distrib info files + +Sun Oct 2 02:03:06 1994 djm <djm@cambric> + + * clean-kr.am, clean.am: fix up distclean + + * subdirs.am: fix typo + + * clean.am: do more in distclean + +Sat Oct 1 23:52:51 1994 djm <djm@cambric> + + * libraries.am: make install depend on all + + * automake.in: fix typo + +Wed Sep 28 21:15:26 1994 djm <djm@cambric> + + * dist-subd-vars.am, dist-vars.am, header-vars.am: fix doc bugs + + * automake.in, compile-vars.am, dist.am: fix dist for no subdirs + + * dist-subd-top.am: Initial revision + + * automake.in, header-vars.am, libraries-vars.am, mans-vars.am, texinfos-vars.am: + centralize prefix var setting + + * header-vars.am: set all the std vars based on prefix + +Tue Sep 27 01:32:22 1994 djm <djm@cambric> + + * automake.in: don't add kr stuff if not needed + + * dist-vars.am: add config vars to dist + +Mon Sep 26 23:09:09 1994 djm <djm@cambric> + + * program.am: add LDADD + + * compile-vars.am: remove LDADD from LDFLAGS + + * clean.am: move knr stuff to another file + + * automake.in: use different clean file for ansi2knr + + * clean-kr.am: Initial revision + +Thu Sep 22 03:45:02 1994 djm <djm@cambric> + + * automake.in, dist-subd.am, dist.am: fix rules and dist + +Tue Sep 20 21:29:40 1994 djm <djm@cambric> + + * compile.am, automake.in: split out knr + + * compile-kr.am: Initial revision + + * libprograms.am: fix typo + + * automake.in, clean.am, compile-vars.am, header-vars.am, libprograms.am: + make libprograms work + + * libprograms.am: Initial revision + + * automake.in, compile.am, header-vars.am: fix little bugs + + * compile.am: allow parallel K&R + + * clean.am: remove kerb temps + + * automake.in: fix recognizing start of rules + + * dist-subd.am, dist.am: fix dist + + * automake.in, compile.am, footer.am, texinfos.am: fix ansi2knr + +Mon Sep 19 23:39:21 1994 djm <djm@cambric> + + * automake.in: works on m4 too + + * automake.in, mans.am: works on fileutils + + * automake.in, clean.am, compile.am, dist-subd.am, dist.am, footer.am, header-vars.am, header.am, libraries.am, library.am, mans-vars.am, mans.am, programs.am, remake-hdr.am, remake-subd.am, remake.am, subdirs.am, texinfos.am: + works on fileutils except for all + + * automake.in: vars thing + + * header-vars.am: Initial revision + + * texinfos-vars.am, mans-vars.am, libraries-vars.am, dist-vars.am, dist-subd-vars.am: + entered into RCS + + * compile-vars.am: Initial revision + + * automake.in: many improvements + + * footer.am: Initial revision + + * dist.am: remove distname + + * automake.in: namespace cleanup + + * distname.am: Initial revision + + * automake.in, clean.am, compile.am, dist-subd.am, dist.am, header.am, libraries.am, library.am, mans.am, program.am, programs.am, remake-hdr.am, remake.am, subdirs.am, texinfos.am: + might work + + * mans.am, libraries.am, texinfos.am, library.am, compile.am, program.am, programs.am, clean.am, subdirs.am, remake-subd.am, remake.am, remake-hdr.am, dist.am, dist-subd.am, header.am, automake.in: + Initial revision + + +----- + +Copyright 1994-2012 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, are +permitted provided the copyright notice and this notice are preserved. diff --git a/old/ChangeLog.98 b/old/ChangeLog.98 new file mode 100644 index 000000000..3eeb35376 --- /dev/null +++ b/old/ChangeLog.98 @@ -0,0 +1,2191 @@ +1998-12-22 Marcus G. Daniels <mgd@chama.santafe.edu> + + * automake.in (handle_dependencies): Transform EXT & PFX in + Objective C case. + +1998-12-11 Marcus G. Daniels <mgd@chama.santafe.edu> + + * automake.in: Register Objective C language. + (finish_languages): Consider Objective C to be non_c. + (lang_objc_rewrite, lang_objc_finish): New functions. + (resolve_linker): Recognize OBJCLINK before LINK. + +1999-01-10 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_texinfo): Handle empty $config_aux_dir. + + * automake.in (handle_texinfo): Set $conf_pat correctly when + config_aux_dir not used. + (handle_texinfo): Run maintainer-clean-aminfo rules in srcdir. + From Erez Zadok. + * texi-vers.am (maintainer-clean-@VTI@): Prefix file names with + $(srcdir). From Erez Zadok. + ($(srcdir)/stamp-@VTI@): Don't run mdate-sh from srcdir. + +1999-01-08 Thomas Tanner <tanner@gmx.de> + + * depend.am: remove the dependencies (.deps) + in "make distclean", not "make maintainer-clean" + +1999-01-10 Tom Tromey <tromey@cygnus.com> + + * aclocal.in (write_aclocal): Updated copyright. + (parse_arguments): Likewise. + * automake.in (parse_arguments): Updated copyright. + (initialize_global_constants): Likewise. + + * Makefile.am (pkgdata_DATA): Renamed from pkgdata_SCRIPTS. + (install-data-hook): New hook. Report from Petter Reinholdtsen. + + * remake-hdr.am: Provide `else' clause for each `if'. + +1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br> + + * remake-hdr.am: recover from removal of config headers, and try + to get real timestamps, which is useful for CVS files + +1999-01-10 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_merge_targets): Don't special-case "-local" + targets. Test all.test. + + * automake.in (handle_texinfo): Prepend $(srcdir) to directory + used to find texinfo.tex. Report from Glenn Amerine. + +1999-01-07 Tom Tromey <tromey@cygnus.com> + + Based on report from Marcus G. Daniels. Fixes include.test. + * automake.in (generate_makefile): Call read_main_am_file. + (read_main_am_file): New sub. + (read_am_file): Moved header generation code into + read_main_am_file. + +1999-01-06 Gary V. Vaughan <garyv@oranda.demon.co.uk> + + * automake.in (require_file_internal): qub perl on win32 hangs + on a call to unlink for a non-existant file, which in turn causes + tests/symlink.test to hang on win32. Check that the file exists + before unlinking it! + +1998-12-24 Thomas Tanner <tanner@gmx.de> + + * automake.in (handle_ltlibraries): check whether -module was + defined for libraries names without 'lib' prefix. + +Fri Dec 11 10:20:42 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU> + + * compile_f_c_cxx.test: Change to use F77 and F77LINK instead of + FC and FLINK, respectively. + * flibs.test: same + * fnoc.test: same + * fo.test: same + * fonly.test: same + * link_f_c.test: same + * link_f_c_cxx.test: same + * link_f_cxx.test: same + * link_f_only.test: same + +Fri Dec 11 10:23:17 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU> + + * automake.in, automake.texi: Change all of the Fortran 77 code to + use the new `F77' prefix instead of the older `FC' prefix. + Specifically this changed FC, FCOMPILE, LTFCOMPILE, FLINK and FLD + to F77, F77COMPILE, LTF77COMPILE, F77LINK and F77LD, respectively. + +1999-01-05 Tom Tromey <tromey@cygnus.com> + + * depend2.am (%.o): Use \012, not \n, to avoid losing `tr's. From + Bill Currie. + (%.lo): Likewise. + +1998-12-22 Alexandre Oliva <oliva@dcc.unicamp.br> + + * depend2.am: Don't assume backslash can't occur in the middle of + filename; it loses on M$W + +1998-12-21 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_libraries): Reverted Thomas Tanner's + change. Non-libtool libraries still must fit naming + requirements. + +1998-12-21 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (handle_configure): Dist inputs for AC_OUTPUT. + +1998-12-21 Alexandre Oliva <oliva@dcc.unicamp.br> + + * depend2.am: don't use .p and .P for dependencies; it loses on + case-insensitive filesystems. + Reported by Henrik Frystyk Nielsen <frystyk@w3.org> + +1998-12-20 Thomas Tanner <tanner@gmx.de> + + * automake.in (handle_libraries, handle_ltlibraries): relax the + name checking to not enforce `^lib.*' for the sake of building libtool + modules. + +1998-12-21 Tom Tromey <tromey@cygnus.com> + + * automake.in (do_one_merge_target): Special case + install-data-hook and install-exec-hook. + (handle_merge_targets): Removed install-data-hook and + install-exec-hook code. Test insthook.test. + +1998-12-16 Tom Tromey <tromey@cygnus.com> + + * tags.am (ID): Uniquify list of sources. Report from Jim + Meyering. + +1998-12-11 Tom Tromey <tromey@cygnus.com> + + Bug report from Paul D. Smith: + * automake.in (handle_merge_targets): Set + AM_INSTALL_PROGRAM_FLAGS, not INSTALL_PROGRAM. + * header-vars.am (INSTALL_PROGRAM): Added + AM_INSTALL_PROGRAM_FLAGS. + +1998-12-03 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dist): Print prettier banner when + `make dist' succeeds. From Akim Demaille. + +1998-12-02 Tom Tromey <tromey@cygnus.com> + + * configure.in: Upped version to 1.3e (1.3d was just released). + + * configure.in: Upped version to 1.3d. + + * texinfo.tex, config.guess, config.sub, install-sh: New + versions. + * ansi2knr.c: New version. + + * automake.in (handle_configure): Quote @MAINTAINER_MODE_TRUE@ to + avoid problems where AM_MAINTAINER_MODE is put into automake's own + configure.in. + + * Makefile.am (cvs-dist): Run `cvs tag' operation in srcdir. + + Some bugs from François Pinard: + * automake.in (usage): Remove duplicates in file list. + + * automake.in (usage): Print files in column-major order. + (handle_gettext): Only require ABOUT-NLS for GNU programs. + +1998-12-01 Tom Tromey <tromey@cygnus.com> + + * automake.texi (Dist): Documented GZIP_ENV. + * automake.in (handle_dist): Define and use GZIP_ENV, not GZIP. + (initialize_global_constants): Use GZIP_ENV, not GZIP. + +1998-11-27 Tom Tromey <tromey@cygnus.com> + + * automake.in (quote_cond_val): Use "\002", not '\002', to + represent null string. + (unquote_cond_val): Removing all "\002" strings from result. Test + cond7.test. + + * automake.texi: Formatting changes for latest texinfo. + + * automake.in (handle_java): Removed debugging print. + +1998-11-18 Tom Tromey <tromey@cygnus.com> + + * automake.in (finish_languages): Use CCLD, not CLD. + + * automake.in (finish_languages): Define CLD; use it in LINK + definition. + (lang_cxx_finish): Define CXXLD; use it in CXXLINK definition. + (lang_f77_finish): Define FLD; use it in FLINK definition. + (lang_ppf77_finish): Likewise. + (lang_ratfor_finish): Likewise. + +1998-11-10 Matthew D. Langston <langston@SLAC.Stanford.EDU> + + * automake.in (scan_one_configure_file): Recognize + AC_F77_LIBRARY_LDFLAGS, and recognize FLIBS as a configure + substitution. + + * automake.texi: Fix several little Fortran 77 references to now + point to autoconf.texi. Rename associated Fortran 77 macros from + `AM_' to `AC_'. + +1998-11-10 Tom Tromey <tromey@cygnus.com> + + * automake.in (read_am_file): Handle configure_vars case. Test + pluseq4.test. + +1998-11-09 Tom Tromey <tromey@cygnus.com> + + * automake.in (read_am_file): `conditional_stack' isn't a + function. Correctly add new value to existing value in `+=' + case. + +1998-10-29 Gary V. Vaughan <gvaughan@oranda.demon.co.uk> + + * automake.in (parse_arguments): Fixed type of -c for copying + +1998-10-30 Tom Tromey <tromey@cygnus.com> + + * automake.texi (Install): Documented DESTDIR more fully. From + Jeff Garzik. + + * automake.in (MACRO_PATTERN): Recognize `+='. + (BOGUS_MACRO_PATTERN): Likewise. + (read_am_file): Handle `+=' assignments. + +1998-10-28 Tom Tromey <tromey@cygnus.com> + + * Makefile.am (maintainer-check): Changed code to be acceptable to + bash 2.01.1. + + * automake.in (do_one_clean_target): Special-case config.status. + Report from Jeff Garzik. + + * m4/Makefile.am (m4data_DATA): Don't mention f77.m4. + * m4/f77.m4: Removed; macro now in autoconf proper. + +1998-10-24 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dist_worker): Typo fix in code testing to + see if subdir is `.'. From Raja R Harinath. + + * m4/lispdir.m4: Fixed sed invocation. From Akim Demaille. + +1998-10-20 Tom Tromey <tromey@cygnus.com> + + * automake.in (scan_dependency_file): Fixed test on `while' loop. + Fixes depend2.test. Report from Akim Demaille. + +1998-10-16 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_ltlibraries): Specify `noinst' when + computing valid prefixes. From Ulrich Drepper. + + * automake.in (scan_dependency_file): Don't give an error if there + is text after the last line. Report from Matthew D. Langston. + + * m4/mktime.m4: Detect glibc mktime bug. From Jim Meyering. + + * Makefile.am (SUBDIRS): Added `.' again. + + * Makefile.am (EXTRA_DIST): Removed automake.spec.in. From + Matthew D. Langston. + (info_TEXINFOS): Removed am-f77.texi. + + * automake.in (handle_ltlibraries): Allow `noinst' LTLIBRARIES. + These are libtool convenience libraries. + +1998-10-13 Tom Tromey <tromey@cygnus.com> + + * m4/f77.m4: New file. + * m4/Makefile.am (m4data_DATA): Added f77.m4. + +Thu Oct 8 15:00:57 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU> + + * automake.in (resolve_linker): Put the Fortran 77 linker where it + needs to be. + + * automake.in (lang_f77_finish): Add support for Fortran 77. + + * automake.in (f77_extensions): New helper function for function + `lang_f77_finish'. + + * automake.in (lang_f77_rewrite): Change to return success. + + * automake.in (scan_one_configure_file): Add test for the Fortran + 77 compiler. + + * automake.in (finish_languages): Changed tests for "C++ only" to + "C++ and/or Fortran 77 only", and renamed `all_cxx' to `non_c'. + + * automake.in: Registered the ppf77 language (`.F' extension) for + preprocessed Fortran 77. + + * automake.in: Registered the ratfor language (`.r' extension). + + * automake.in: Registered Fortran 77 header files with the "header + language" (`.inc' extension). + +Tue Sep 8 14:50:50 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU> + + * automake.texi: Added several new index entries. + +Sun Aug 30 16:10:31 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU> + + * automake.texi: + - Add `@ovindex' (output variable index). + - Merge `@defmac' (Autoconf macros) and `@ovindex' to the General + Index. + + * automake.texi (Macros): + - Changed the `@table @code' list of macros to `@defmac'. + - Add `AC_PROG_FC' and `MDL_F77_LIBRARY_LDFLAGS' to the list. + +Tue Aug 11 10:42:39 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU> + + * automake.texi (C++): Change `@table' to `@vtable'. + + * automake.texi (Fortran 77): Add Fortran 77 documentation. + +1998-10-11 Tom Tromey <tromey@cygnus.com> + + Preliminary (completely untested) multilib support. + * automake.texi (Macros): Document AM_ENABLE_MULTILIB. + * m4/Makefile.am (m4data_DATA): Added multi.m4. + * Makefile.am (amfiles): Added multilib.am. + * automake.in (seen_multilib): New global. + (scan_one_configure_file): Recognize AM_ENABLE_MULTILIB. + (generate_makefile): Call handle_multilib. + (handle_multilib): New function. + * multilib.am: New file. + * m4/multi.m4: New file. + +1998-10-08 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dist): Always include configure.in and + configure in distribution. Fixes confdist.test. + + * automake.in (do_one_merge_target): Be silent when running + install-exec-am and install-data-am. Fixes extra3.test and + extra4.test. + +1998-10-07 Tom Tromey <tromey@cygnus.com> + + * automake.in (am_install_var): Added -noextra option. + (handle_data): Pass -noextra to am_install_var. + +Sun Oct 4 22:24:10 1998 Tom Tromey <tromey@cygnus.com> + + * m4/winsz.m4 (AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL): Use + 3-argument form of AC_DEFINE. + * m4/regex.m4 (AM_WITH_REGEX): Use 3-argument form of AC_DEFINE. + * m4/ptrdiff.m4 (AM_TYPE_PTRDIFF_T): Use 3-argument form of + AC_DEFINE. + * m4/protos.m4 (AM_C_PROTOTYPES):Use 3-argument form of + AC_DEFINE. + * m4/obstack.m4 (AM_FUNC_OBSTACK): Use 3-argument form of + AC_DEFINE. + * m4/init.m4 (AM_INIT_AUTOMAKE): Use 3-argument form of + AC_DEFINE. + * m4/dmalloc.m4 (AM_WITH_DMALLOC): Use 3-argument form of + AC_DEFINE. + +Tue Oct 6 00:02:15 1998 Tom Tromey <tromey@cygnus.com> + + * depend2.am (%.lo): Handle case where compiler does not put space + before ":". From Raja R Harinath. + +Mon Oct 5 13:05:43 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (scan_one_configure_file): AC_CONFIG_HEADER is not + obsolete; it simply isn't preferred with automake. + (scan_one_configure_file): Likewise for AC_DECL_YYTEXT and + AC_PROG_LEX. + + * automake.in (am_line_error): Handle case where variable defined + in configure.in. Fixes test badline.test. + (%configure_vars): Redefined meaning of values. + (scan_one_configure_file): Set $configure_vars values + appropriately. + +Sat Oct 3 14:53:34 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_aclocal_m4): Use new MAINTAINER_MODE + conditional. + (handle_configure): Likewise. + (read_am_file): Likewise. + (file_contents_with_transform): Likewise. + (scan_one_configure_file): Recognize that AM_MAINTAINER_MODE + defines a conditional. + * automake.texi (Optional): Document new AM_MAINTAINER_MODE. + * texi-vers.am ($(srcdir)/@VTEXI@): Look at MAINTAINER_MODE + conditional. + (maintainer-clean-@VTI@): Likewise. + * remake.am ($(srcdir)/configure): Look at MAINTAINER_MODE + conditional. + * remake-hdr.am ($(srcdir)/@CONFIG_HEADER_IN@): Look at + MAINTAINER_MODE conditional. + * m4/maintainer.m4 (AM_MAINTAINER_MODE): Defined MAINTAINER_MODE + conditional. + +1998-10-03 Jim Blandy <jimb@zwingli.cygnus.com> + + * depend2.am (%.lo): When editing the dependency file to add the + .lo file to the targets, allow for whitespace between the end of + the filename and the colon. Some compilers (notably the Cygnus + release of GCC 2.7-97r1) put space there: "alist.o : ..." + +Sat Oct 3 12:07:21 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_configure): Handle case where there is no + Makefile in the config header directory. Fixes test config.test. + +Thu Oct 1 00:51:51 1998 Tom Tromey <tromey@cygnus.com> + + * depend2.am (%.o): Append sed results to .P file in this case + too. From Raja R Harinath. + + * m4/lispdir.m4 (AM_PATH_LISPDIR): Correctly find xemacs and + xemacs install directories. From Robert Bihlmeyer. + + * depend2.am: Don't bother trying to delete source file from + list. + + * depend2.am (%.o): Handle deleted header file problem. + (%.lo): Likewise. + + * texinfos.am (install-info-am): Handle case where INFO_DEPS is + empty. Reported by Andrew Cagney. + (uninstall-info): Likewise. + (dist-info): Likewise. + + * automake.in (handle_texinfo): Error if user tries to generate + HTML. + +Wed Sep 30 00:41:40 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (do_one_clean_target): Don't push previous clean + target if this target is `mostly'. Report from Raja R Harinath. + + * subdirs.am (mostlyclean-recursive ...): Build local_target, not + target. From Raja R Harinath. + + Completely changed how languages and source files are handled: + * automake.in: Call register_language for each language. + (lang_c_rewrite): New function. + (lang_cxx_rewrite): Likewise. + (lang_header_rewrite): Likewise. + (lang_yacc_rewrite): Likewise. + (lang_yaccxx_rewrite): Likewise. + (lang_lex_rewrite): Likewise. + (lang_lexxx_rewrite): Likewise. + (lang_asm_rewrite): Likewise. + (lang_fortran_rewrite): Likewise. + (register_language): Likewise. + (extension_map): New global. + (language_map): Likewise. + (resolve_linker): New function. + (handle_single_transform_list): Rewrote to use lang_X_rewrite + functions. Changed meaning of first argument. + (initialize_per_input): Removed seen_any_source. Initialize + language_scratch, extension_seen. Removed cxx_extensions, + seen_c_source, dir_holds_headers, dir_holds_sources. + (handle_source_transform): Don't compute $objpat. Pass $obj + directly to handle_single_transform_list. + (handle_built_sources): Fixed call to + handle_single_transform_list. + (lang_c_finish): New function. + (lang_cxx_finish): Likewise. + (lang_header_finish): Likewise. + (lang_yacc_finish): Likewise. + (lang_yaccxx_finish): Likewise. + (lang_lex_finish): Likewise. + (lang_lexxx_finish): Likewise.. + (lang_asm_finish): Likewise. + (lang_fortran_finish): Likewise. + (yacc_lex_finish_helper): Likewise. + (libtool_compiler): Likewise. + (saw_extension): New function. + (handle_lib_objects_cond): Use saw_extension, not old variables. + (handle_yacc_lex_cxx): Removed. + (finish_languages): New function. + (get_object_extension): Don't set dir_holds_sources. + (handle_headers): Don't set dir_holds_headers. Instead, call + saw_extension. + (saw_sources_p): New function. + (handle_tags): Use it. + (handle_dependencies): Likewise. + (cxx_extensions): New function. + (handle_dependencies): Use it. + (generate_makefile): Call finish_languages, not + handle_yacc_lex_cxx. + +1998-05-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * texi-vers.am: Use the correct target names. Fix generation of + stamp file. + + * automake.in (handle_tests): In commands generating site.exp copy + the old contents from site.exp, not site.bak, which does not + exist. + +Tue Sep 29 00:10:22 1998 Tom Tromey <tromey@cygnus.com> + + Fixed noinst.test again: + * automake.in (do_one_merge_target): Special-case `install-am'. + (handle_merge_targets): Don't compute @install variable. + + Fixes for recurs2.test. Report from Jim Meyering. + * automake.in (vars_scanned): Define globally. + (variable_value_as_list_worker): Delete $var entry in + %vars_scanned after local work is done. + +1998-05-26 Marcus G. Daniels <mgd@ute.santafe.edu> + + * automake.in: New pattern: INCLUDE_PATTERN. + (read_am_file): Make AM_FILE a local filehandle. + For INCLUDE_PATTERN, store included paths on @include_stack and call + read_am_file with argument. + (handle_configure): When printing the dependencies for + Makefile.in, print the items on include_stack (if any) as + dependencies, too. + + * automake.texi: Make a command index `cm' that goes into the + concept index. Put if, endif, else, and include in the command index. + (Include): Show usage of include directive. + +Mon Sep 28 00:03:45 1998 Tom Tromey <tromey@cygnus.com> + + `.' in SUBDIRS changes order of builds: + * Makefile.am (SUBDIRS): Added `.'. Put tests last. + * tags.am (TAGS): Don't look for TAGS file in `.'. + * automake.texi (Top level): Document SUBDIRS change. + * automake.in (handle_installdirs): Create separate installdirs-am + target. + (handle_merge_targets): Don't put all-am onto @all. Fixed error + message. Correctly handle install-info. Give error if + install-info-local inappropriately defined. Don't special-case + install-data, install-exec, install, uninstall, or all. + (handle_subdirs): Don't push `-recursive' target names onto + corresponding lists. + (do_one_merge_target): Always define `-am' form of rule, and point + ordinary form to `-am' or `-recursive' as appropriate. + Special-case `all'. + (do_check_merge_target): Generate check-am target. + (handle_dist_worker): Use target_defined. + (handle_dist): Likewise. + (handle_merge_targets): Likewise. + (do_one_merge_target): Likewise. + (do_check_merge_target): Likewise. + (do_one_clean_target): Likewise. + (initialize_per_input): Initialize $all_target. + (do_one_clean_target): Always generate -am form of rule; other + changes for new SUBDIRS change. + (handle_clean): Always generate clean-am form of rule. + (handle_tags): Only build subdir if not `.'. + (handle_dist_worker): Skip `.' directory. + * subdirs.am: Allow `.' to be specified in SUBDIRS. + +Sun Sep 27 20:02:21 1998 Tom Tromey <tromey@cygnus.com> + + * automake.texi (Dist): Document EXTRA_DIST change. + * automake.in (handle_dist_worker): Allow subdirs in EXTRA_DIST. + + * automake.in (handle_ltlibraries): Wrote better comment about + EXTRA_LTLIBRARIES. + + * automake.texi (Invoking Automake): Document --copy. + * automake.in (copy_missing): New global. + (parse_arguments): Recognize --copy/-c. + (require_file_internal): Handle $copy_missing. Fixed error + message. + (initialize_global_constants): Document -c/--copy. + + * automake.texi: Document LIBOBJS trick. + + * automake.in (handle_dist_worker): If DIST_SUBDIRS defined, use + it even when SUBDIRS not conditional. + + * automake.in (quote_cond_val): Turn tabs into \003. + (unquote_cond_val): Turn \003 back into tabs. Fixes test + cond6.test. + + * automake.in (read_am_file): Treat backslash-newline as + whitespace. Test parse.test. + +Sat Sep 26 19:31:22 1998 Tom Tromey <tromey@cygnus.com> + + * configure: Rebuilt. + * configure.in: Upped version to 1.3c. + + Track recent autoconf changes: + * m4/Makefile.in: Rebuilt. + * m4/Makefile.am (m4data_DATA): Updated for deleted files. + * m4/init.m4 (AM_INIT_AUTOMAKE): Use AC_PROG_INSTALL. + * m4/mingw.m4: Removed. + * m4/cygwin.m4: Removed. + * m4/install.m4: Removed. + * m4/exeext.m4: Removed. + * automake.in (scan_one_configure_file): Don't look for + AM_EXEEXT. + (check_cygnus): Only mention AC_EXEEXT. + (obsolete_macros): Mention AM_PROG_INSTALL, AM_EXEEXT, + AM_CYGWIN32, AM_MINGW32. + ($seen_prog_install): Changed interpretation; changed all users. + (scan_one_configure_file): Don't look for AM_PROG_INSTALL. + ($scripts_installed): Removed. + (handle_scripts): Use local $scripts_installed. + * aclocal.in (obsolete_macros): Added AM_PROG_INSTALL, AM_EXEEXT, + AM_CYGWIN32, AM_MINGW32. + +Mon Jul 6 14:52:49 1998 Ian Lance Taylor <ian@cygnus.com> + + * compile.am (mostlyclean-compile): If OBJEXT, remove *.$(OBJEXT) + along with *.o. + +Thu May 28 18:49:47 1998 Ian Lance Taylor <ian@cygnus.com> + + * automake.in (seen_objext): New variable. + (get_object_extension): If seen_objext, use .$(OBJEXT) rather than + .o. When including compile.am, keep or discard OBJEXT lines + according to whether seen_objext is set. If seen_objext, add .obj + to @suffixes. If seen_objext, use .$(OBJEXT) rather than .o when + building ansi2knr. + (handle_yacc_lex_cxx): If seen_objext, add a rule to create .obj + files. If seen_objext, use .$(OBJEXT) rather than .o when + building ansi2knr. + (scan_one_configure_file): Check for .obj as well as .o in + LIBOBJS. Set seen_exeext if we see AC_EXEEXT. Look for + AC_OBJEXT, and if found set seen_objext and set OBJEXT in + configure_vars. + (check_cygnus): Change error message to permit AC_EXEEXT. + * compile.am: Add OBJEXT lines for .c.obj compilation. + * Makefile.in: Rebuild. + * m4/Makefile.in: Rebuild. + * tests/Makefile.in: Rebuild. + +Mon Sep 11 16:07:55 1997 Chris Provenzano <proven@cygnus.com> + + * header-vars.am: SHELL=@SHELL@ + Ran aclocal, autoconf, and automake. + +Sat Sep 26 16:31:29 1998 Tom Tromey <tromey@cygnus.com> + + * ltlib.am: Use $(INSTALL) and not $(INSTALL_DATA). + +Mon Sep 14 08:27:38 1998 Per Cederqvist <ceder@lysator.liu.se> + + * automake.in (handle_texinfo): The logic for when to provide + texinfo.tex was broken. Attempt to fix. + +Mon Sep 14 00:55:12 1998 Per Cederqvist <ceder@lysator.liu.se> + + Fix for Dynix 3.1.1. + * automake.in (handle_yacc_lex_cxx): Transform "# " to "#line"; + some compilers (such as /bin/cc on Dynix 3.1.1) don't accept the + output from the preprocessor. + +Tue Aug 25 18:40:51 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_tests): Don't create site.exp target if it + is already in Makefile.am. + +Sun Aug 16 23:26:26 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_configure): Use @inputs, not + @rewritten_inputs, when constructing CONFIG_FILES. Use different + list to test for file existence. Test colon6.test. + (rewrite_inputs_into_dependencies): Added add_srcdir argument. + Updated all callers. + +Wed Aug 12 14:16:57 1998 Tom Tromey <tromey@cygnus.com> + + * Released 1.3b. + +Tue Aug 11 12:18:59 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_clean): Added missing close-paren. Quote + `$' so it doesn't expand when replacing. From Markus + F.X.J. Oberhumer. + + * aclocal.in (usage): Changed bug address. + * automake.in (usage): Changed bug address. + + * clean.am (distclean-generic): Don't mention + DISTCONFIGCLEANFILES. From Markus F.X.J. Oberhumer. + +Mon Aug 10 20:57:35 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_yacc_lex_cxx): Redirect ansi2knr output to + correct file. From Kave Ghazi. + +Sun Aug 2 16:05:16 1998 Tom Tromey <tromey@cygnus.com> + + * Released 1.3a. + + * config.sub, config.guess, texinfo.tex: New versions from FSF. + +Sun Jul 19 00:04:25 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (variable_conditions): Initialize %vars_scanned. + (variable_conditions_sub): Check it. Test cond5.test. + +Sat Jul 18 00:24:14 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (variable_value_as_list_worker): Renamed from + variable_value_as_list. Set entry in vars_scanned, and give error + if variable recursively defined. Test recurs.test. + (value_to_list): Call it instead. + (variable_value_as_list): New function. + + * automake.in (variable_conditions_sub): If var is not + conditional, but does have conditional subvariables, then return + value should be all permutations of subvariable conditions. Test + cond4.test. + (handle_source_transform): Define _OBJECTS variable with each + condition; no need to define multiple new variables. + +Fri Jul 17 12:56:14 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (am_install_var): Use DESTDIR, not DATADIR. From + Motoyuki Kasahara. + + * automake.in (scan_dependency_file): Recognize DOS-style paths as + absolute. + * ylwrap: Recognize DOS-style paths as absolute. From Ian Lance + Taylor. + +Fri Jul 17 07:37:20 1998 H.J. Lu (hjl@gnu.org) + + * ylwrap: Don't use absolute path if the input is in the + current directory. + +Fri Jul 17 11:58:27 1998 Ian Lance Taylor <ian@cygnus.com> + + * automake.in: Use $(AM_MAKEFLAGS) in every invocation of $(MAKE). + * subdirs.am: Likewise. + +Thu Jul 16 18:09:03 1998 Ian Lance Taylor <ian@cygnus.com> + + * remake.am (config.status): Depend upon + $(CONFIG_STATUS_DEPENDENCIES). + * automake.in (handle_configure): Examine + CONFIG_STATUS_DEPENDENCIES. + +Tue Jul 14 13:37:48 1998 Tom Tromey <tromey@cygnus.com> + + * Makefile.am: Always look in srcdir for automake.in. + +Tue Jun 23 14:00:27 1998 Ian Lance Taylor <ian@cygnus.com> + + * progs.am: Don't let $(EXEEXT) interfere with $(transform). + Report from Mike Stump <mrs@wrs.com>. + +Tue Jun 2 13:27:34 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (scan_one_configure_file): Make CONFIGURE file + handle local. From Kevin Street. + + * automake.in (read_am_file): Error if blank line or comment + follows trailing backslash. Test syntax.test. + (file_contents_with_transform): Likewise. + +Thu May 28 18:49:47 1998 Ian Lance Taylor <ian@cygnus.com> + + * automake.in (handle_configure): Always use $(SHELL) when running + config.status. + +Mon Jun 1 14:23:29 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_yacc_lex_cxx): Use AM_CPPFLAGS, AM_CXXFLAGS, + AM_CFLAGS. + (output_yacc_build_rule): Use AM_YFLAGS, AM_LFLAGS. + (handle_dependencies): Don't define CXXMKDEP. + + * clean.am (mostlyclean-generic): Prefix rule with MOSTLYCLEAN. + (clean-generic): Prefix rule with CLEAN. + (distclean-generic): Prefix rule with DISTCLEAN. + (maintainer-clean-generic): Prefix rule with MAINTAINERCLEAN. + BUILT_SOURCES now handled in automake itself. + * automake.in (initialize_per_input): Initialize + maintainer_clean_files. + (handle_yacc_lex_cxx): Put lex and yacc output files onto + @maintainer_clean_files. + (handle_clean): Handle @maintainer_clean_files. Transform + clean.am when installing; try to remove unnecessary tests in + generated code. + + * automake.in (do_check_merge_target): Only generate $(MAKE) + command if there are check targets to make. Report from Karl + Heuer. + +Sun May 17 23:05:55 1998 Tom Tromey <tromey@cygnus.com> + + * aclocal.in (write_aclocal): Fixed generated copyright message. + From Eleftherios Gkioulekas. + + * automake.in (parse_arguments): Typo fix from Paul D. Smith. + +Fri May 8 12:14:03 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_yacc_lex_cxx): Put lex and yacc output files + onto @clean. + +Wed May 6 01:18:05 1998 Tom Tromey <tromey@cygnus.com> + + * header-vars.am (DESTDIR): Changed from DISTDIR. + +Fri Apr 24 10:16:20 1998 Tom Tromey <tromey@cygnus.com> + + * libs.am: Don't display loop while it runs. + +Sun Apr 5 13:58:24 1998 Tom Tromey <tromey@cygnus.com> + + * Released 1.3. + + * automake.in (handle_options): Correctly handle trailing alpha + version letter or lack thereof. Test version3.test. + + * automake.in (am_conf_line_warning): Perl 4 fixlet; typo fix. + + * automake.in (handle_ltlibraries): Examine _DEPENDENCIES + variable. Report from Chris Provenzano. Test library.test. + (handle_libraries): Likewise. + + * m4/lex.m4: Allow AM_PROG_LEX to be called with no arguments. + +Sun Apr 5 13:54:25 1998 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in (scan_one_configure_file): Only warn about + AC_DECL_YYTEXT and AC_PROG_LEXX. + (am_conf_line_warning): New function. + +Fri Apr 3 15:43:46 1998 Doug Evans <devans@seba.cygnus.com> + + * automake.in (handle_configure): Fix setting of colon_infile + in case where multiple files are used to build Makefile. + [ Test colon5.test ] + +Fri Apr 3 13:07:58 1998 Tom Tromey <tromey@cygnus.com> + + * ansi2knr.c, texinfo.tex: New versions from respective + maintainers. + + * automake.in (scan_one_configure_file): Exclude INSTALL_DATA from + configure_vars. Test instdata.test. + +Tue Mar 31 21:07:42 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_yacc_lex_cxx): Changed to use new version of + ansi2knr. + * ansi2knr.c: New version from L. Peter Deutsch. + +Thu Mar 26 11:00:04 1998 Tom Tromey <tromey@cygnus.com> + + * m4/exeext.m4: Correctly eliminate bad cases when computing + am_cv_exeext. Report from Markus F.X.J. Oberhumer. + +Wed Mar 25 15:09:56 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_options): Support alpha version numbers. + + * lisp.am (install-@DIR@LISP): Allow .el files to appear in build + directory. From Gary V Vaughan. + +Mon Mar 23 07:55:04 1998 Tom Tromey <tromey@cygnus.com> + + * Released 1.2h. + + * header.am (install-@DIR@HEADERS): A header can appear in the + build directory as well as the source directory. From Gary V + Vaughan. + + * automake.in (handle_yacc_lex_cxx): Push lib sources onto + de_ansi_files before generating ._c dependencies. Test + libobj8.test. + + * m4/mktime.m4: New version from Jim Meyering. + + * aclocal.in (usage): Document --print-ac-dir. + (parse_arguments): Added --print-ac-dir. + + * ansi2knr.c, ansi2knr.1: New versions from ghostscript. + (main): Reapplied "-" change from Harlan Stenn. + +Fri Mar 20 22:42:30 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (scan_one_configure_file): Use &am_conf_line_error, + not warn. Check to make sure warnings happen only for + configure.in, not for "not aclocal.m4". + +Fri Mar 20 22:35:31 1998 Alexandre Oliva <oliva@dcc.unicamp.br> + + * automake.in: understand AM_PROG_LEX as a replacement for + AC_PROG_LEX and AC_DECL_YYTEXT + warn if the replaced macros are used. + * m4/Makefile.am: add lex.m4 + * m4/lex.m4 (AM_PROG_LEX): new file and macro + * missing: added lex/flex support + instead of touching flex and bison output files, try to copy + them from a filename based on the last given argument + +Fri Mar 20 00:26:10 1998 Tom Tromey <tromey@cygnus.com> + + * m4/protos.m4: Require AC_PROG_CPP. + + * aclocal.in (add_file): If &search fails, and macro matches AM_, + then print error. Test aclocalii.test. + + De-ansi-fication fixes from Harlan Stenn: + * ansi2knr.c (main): Accept "-" argument to mean stdin. + * automake.in (handle_yacc_lex_cxx): Preprocess C source before + running through ANSI2KNR. + (get_object_extension): Generate rule for <dir>/ansi2knr.o. + + * texinfos.am: Include $(DESTDIR). + * lisp.am: Include $(DESTDIR). + * java.am: Include $(DESTDIR). + * mans.am (install-man@SECTION@): Include $(DESTDIR). + * automake.in (handle_man_pages): Include $(DESTDIR) in + installdirs variable. + (handle_texinfo): Likewise. + (am_install_var): Likewise. + * header-vars.am (DISTDIR): Define. + * data.am, header.am, libs.am, ltlib.am, progs.am, scripts.am: + Support $(DESTDIR) at install time. From Assar Westerlund. + + * automake.in (handle_java): Put Java sources in distribution. + +Thu Mar 19 01:33:35 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_java): Put JAVACFLAGS after -d option. From + Per Bothner. + + * automake.in (handle_java): Use $(JAVAROOT) in place of `../..' + in default CLASSPATH. + (am_install_var): Allow `JAVA' variable to be defined. Don't + define `JAVA' primary. + + * automake.in (scan_one_configure_file): Check for `sinclude' and + turn into recursive call. + + * automake.in (initialize_per_input): Set $output_all. + (generate_makefile): Don't set $output_header or generate + `default' target. Print $output_all before $output_header. + (handle_merge_targets): Put `all' target into $output_all. + +Wed Mar 18 14:48:44 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_configure): Put secondary dependencies from + multi-":" AC_OUTPUT entry into dependency list for file created by + config.status, not file created by automake. Test colon3.test. + (generate_makefile): Pass $output, not $makefile, to + handle_merge_targets. + + * Makefile.am (pkgdata_DATA): Added java.am, java-clean.am. + * java-clean.am: New file. + * java.am: New file. + * automake.in (generate_makefile): Call handle_java. + (handle_java): New sub. + (am_install_var): Only push primary variable on @all if not doing + Java. + +Sun Mar 8 15:43:09 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_configure): When recognizing AC_OUTPUT ":" + syntax, make regexp less greedy. From Maciej W. Rozycki. Test + colon4.test. + +Fri Mar 6 21:20:53 1998 Tom Tromey <tromey@cygnus.com> + + * m4/exeext.m4 (AM_EXEEXT): Ignore am_c_test.o. From Bruno + Haible. + +Tue Feb 24 12:10:44 1998 Tom Tromey <tromey@cygnus.com> + + * Released 1.2f. + + * mans.am (install-man@SECTION@, uninstall-man@SECTION@): Quote + `$' in sed expression. + + * config.guess, config.sub, texinfo.tex: New versions from FSF. + + * Makefile.am (pkgdata_DATA): Added mans.am. + * automake.in (handle_man_pages): Rewrote for new man page + handling. + (initialize_global_constants): Removed install_man_format, + uninstall_man_format. + * mans.am: New file. + + * data.am, header.am, libs.am, lisp.am, ltlib.am, progs.am, + scripts.am, texinfos.am: Put `@' before NORMAL_UNINSTALL + invocation. + +Mon Feb 23 13:38:56 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (get_object_extension): Remove .c.lo rule from + libtool when dependencies turned on. + * libtool.am (.c.lo): Disable when dependency checking turned on. + + Dependency fixes from Alexandre Oliva: + * automake.in (handle_dependencies): Fixed quoting when + substituting @PFX@ and @EXT@. Don't look for the `.P' file. + * depend2.am (%.o): Use @PFX@ and @EXT@. + (%.lo): New rule. + + * texinfos.am (.txi.info, .txi.dvi, .txi): New rules. + * automake.in (handle_texinfo): Recognize .txi files. From Karl + Berry. + + * automake.in (handle_single_transform_list): $objpat now a + parameter. Set $objpat when suffix rule found. + + * aclocal.in (parse_arguments): Only put current year in --version + output. + * automake.in (parse_arguments): Only put current year in + --version output. + +Mon Feb 16 00:12:03 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_aclocal_m4): When processing -I options, + directory is separate argument. Test aclocali.test. + +Fri Feb 13 14:35:39 1998 Ian Lance Taylor <ian@cygnus.com> + + * automake.in (handle_texinfo): Correct condition for whether + texinfo.tex is required. [Test texinfo5.test] + +Fri Feb 13 00:28:53 1998 Tom Tromey <tromey@cygnus.com> + + * Released 1.2e. + + * Makefile.am: Removed bogus line. + +Thu Feb 12 22:27:05 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (get_object_extension): Conditionally include .c.o + rule from compile.am. + (handle_dependencies): Generate correct code when including new + depend2.am. + (file_contents_with_transform): Better error reporting. + * depend.am (MKDEP): Removed. + (.deps/.P): Removed. Don't include .deps/.P. + * compile.am (.c.o): Now conditional on dependencies not being + generated by compiles. + * depend2.am (%.o): New rule. + (.deps/%.P): Removed. + + * tags.am (TAGS): Uniquify list of files. From Harlan Stenn. + + * aclocal.in (scan_m4_files): Reverse-sort keys when constructing + `search' function. From Johan Danielsson. + +Tue Sep 16 14:13:15 1997 Paul D. Smith <psmith@baynetworks.com> + + * automake.in: Create new option --generate-deps. This option has + automake generate a .dep_segment file containing just the + dependencies created from the .P list. This is needed to maintain + other makefiles that automake doesn't deal with (Makefile.DOS, + SMakefile, etc.) + * automake.texi (Invoking Automake): Document it. + +Thu Feb 12 19:45:16 1998 Tom Tromey <tromey@cygnus.com> + + * aclocal.in (scan_configure): Tightened regexp a bit. Test + whoami.test. From Johan Danielsson. + + Report from H.J. Lu. + * automake.in (output_yacc_build_rule): Don't write rule to create + `.h' file. + (handle_yacc_lex_cxx): Generate rule to build each .h file. + + * automake.in (handle_options): Set readme-alpha and check-news + for Gnits after main processing. Test alpha.test. From Jim + Meyering. + + * aclocal.in (usage): Updated bug-reporting address. + * automake.in (usage): Updated bug-reporting address. + + * compile.am: Remove *.core for 4.4BSD systems. From Assar + Westerlund. + + * automake.in (handle_single_transform_list): Don't set + seen_any_source if all sources are C++. + +Wed Feb 11 17:30:01 1998 Tom Tromey <tromey@cygnus.com> + + * aclocal.in (write_aclocal): Write to $output_file, not + aclocal.m4. From Alexandre Oliva. + +Thu Feb 5 13:38:55 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (scan_one_configure_file): Put CXCPP before CXX in + regexp. From Garth Corral. Test cxxxcpp.test. + +Sun Jan 25 11:16:53 1998 Tom Tromey <tromey@cygnus.com> + + * automake.in (generate_makefile): Run handle_minor_options before + handle_dist, to make sure README-alpha ends up in distribution. + From Jim Meyering. + +Tue Jan 13 09:19:33 1998 Tom Tromey <tromey@cygnus.com> + + * aclocal.in (add_file): Hack for Perl 4. From Seth Alves. + +Thu Dec 11 12:29:46 1997 Ian Lance Taylor <ian@cygnus.com> + + * scripts.am: Don't add @EXEEXT@ to installed scripts. Scripts + are not executables. + +Tue Dec 2 20:07:18 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (initialize_global_constants): Bug fix in + uninstall_man_format. Report from Eric Backus. + +Mon Dec 1 13:52:39 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_source_transform): Correctly generate + _OBJECTS when _SOURCES is defined conditionally. Reported by Rob + Savoye. Test cond3.test. + + Fixes for test objc.test: + * automake.in (initialize_per_input): New global seen_any_source. + (handle_yacc_lex_cxx): Use seen_any_source to decide when to + define LINK, et al. + (handle_single_transform_list): Set seen_any_source. + (handle_lib_objects_cond): Likewise. + +Wed Nov 26 13:41:57 1997 Tom Tromey <tromey@cygnus.com> + + * Released 1.2d. + + * m4/ccstdc.m4: Don't force AM_PROG_CC_STDC before AC_PROG_CPP. + Temporary hack. + + * m4/mktime.m4 (AM_FUNC_MTIME): New version from Paul Eggert. + + * header-vars.am (NORMAL_INSTALL, PRE_INSTALL, POST_INSTALL, + NORMAL_UNINSTALL, PRE_UNINSTALL, POST_UNINSTALL): Define as `:', + not `true'. + + * automake.in (output_yacc_build_rule): Don't overwrite .h file in + non-ylwrap case. + + * tags.am (ID): Scan lisp files. + (TAGS): Make tags for lisp files. + +Tue Nov 25 14:20:42 1997 Tom Tromey <tromey@cygnus.com> + + * ltlib.am: Use INSTALL_DATA, not INSTALL_PROGRAM. From Gord + Matzigkeit. + +Fri Nov 21 15:15:50 1997 Tom Tromey <tromey@cygnus.com> + + * m4/mingw.m4, m4/cygwin.m4: Argument to AC_TRY_COMPILE is + function body, not entire function. From Ian Taylor. + +Sat Oct 25 12:39:19 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (scan_one_configure_file): Skip empty string for + Perl 4. From Assar Westerlund. + + * config.guess, config.sub, texinfo.tex: New versions from FSF. + +Fri Oct 24 23:15:09 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (output_yacc_build_rule): Use YFLAGS again. + (handle_yacc_lex_cxx): Error if YACCFLAGS used. + +Wed Aug 27 19:26:45 1997 Rob Savoye <rob@chinadoll.cygnus.com> + + * compile.am: Add suffix rules for ".s.o" and ".S.o" so assembler + files can be used. + * libtool.am: Add suffix rules for ".s.lo" and ".S.lo" so assembler + files can be used. + * automake.in: Add .S and .s to the standard list of suffixes so + assembler files can be used. + +Fri Oct 24 13:39:01 1997 Tom Tromey <tromey@cygnus.com> + + * m4/exeext.m4: Require AM_MINGW32. Check MINGW32 setting. + +Thu Oct 23 21:16:28 1997 Tom Tromey <tromey@cygnus.com> + + * m4/init.m4 (missing_dir): AC_REQUIRE AM_SANITY_CHECK, + AC_ARG_PROGRAM, and AC_PROG_MAKE_SET. + +Tue Oct 21 16:49:36 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_options): Recognize `cygnus'. + +Tue Sep 9 17:09:47 1997 Rob Savoye <rob@chinadoll.cygnus.com> + + * m4/mingw.m4: New file for mingw32 support. + * m4/exeext.m4: Also check for the mingw32 environment. + +Tue Oct 21 00:39:44 1997 Tom Tromey <tromey@cygnus.com> + + * m4/Makefile.am (m4data_DATA): Added mingw.m4. + + * automake.in (handle_lib_objects_cond): Don't require @LEXLIB@. + (handle_programs): Likewise. + + * subdirs.am (check-recursive installcheck-recursive + info-recursive dvi-recursive): Handle case when SUBDIRS is empty. + (maintainer-clean-recursive): Likewise. From Assar Westerlund. + + * aclocal.in (scan_m4_files): If macro recognized, &search will + return 1. + (scan_configure): If AM_ macro not found, give error. + + * m4/sanity.m4: If `ls' completely fails, die. From Jim + Meyering. + +Mon Oct 20 16:13:48 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_single_transform_list): Fixlet for Fortran. + From Bernard Urban. + + * libtool.am: Remove _libs, for libtool 1.0d. From Gord + Matzigkeit. + +Sun Oct 19 22:59:35 1997 Tom Tromey <tromey@cygnus.com> + + * texinfos.am: Bug fix. From John W. Coomes. + +Mon Sep 29 12:57:00 1997 Tom Tromey <tromey@cygnus.com> + + * Released 1.2c. + + * automake.in (handle_dist_worker): In topmost directory of + project, use `distdir', not `top_distdir', as argument to + --output-dir; likewise when building in subdirs. + +Sun Sep 28 15:55:46 1997 Tom Tromey <tromey@cygnus.com> + + * m4/sanity.m4: Test $*, not $@. From Akim Demaille. + + * automake.in (handle_minor_options): New sub. + (check_gnits_standards): Don't handle README-alpha here. + (handle_dist_worker): Check NEWS file if `check-news' option + requested. + (generate_makefile): Run handle_minor_options. + (handle_options): Handle readme-alpha and check-news. Set them if + --gnits. + + * depend.am (MKDEP): Use $(CC), not gcc. + +Wed Sep 24 23:48:26 1997 Tom Tromey <tromey@cygnus.com> + + * Release 1.2b. + + * m4/ccstdc.m4 (AM_PROG_CC_STDC): Make sure this is run before + AC_PROG_CPP. From Markus Oberhumer. + +Fri Sep 12 00:04:19 1997 Paul Eggert <eggert@twinsun.com> + + * m4/ccstdc.m4 (AM_PROG_CC_STDC): Don't look at __STDC__; + look only at whether function prototypes are supported. + +Wed Sep 24 16:10:37 1997 Tom Tromey <tromey@cygnus.com> + + * Various: Put "-" before each `rm' line. This avoids a bug in + some losing makes (Ultrix, 4.3 BSD). + + * automake.in (handle_dist_worker): Correctly handle subdirs that + have their own configure.in. From Peter Mattis. + + * automake.in (handle_yacc_lex_cxx): Handle de-ansi-fied sources + in srcdir as well as build dir. + + * automake.in (scan_one_configure_file): Detect AC_OUTPUT(). + (handle_single_transform_list): Don't apply length() to a list. + + * automake.in (handle_programs): Define _DEPENDENCIES variable if + not defined by user. + +Thu Sep 18 19:43:38 1997 Tom Tromey <tromey@cygnus.com> + + * m4/sanity.m4: Quote "$@" for m4. From Gord Matzigkeit. + +Mon Sep 1 23:50:38 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_texinfo): Set need_texi_file only when + TEXINFO_TEX not defined. + +Thu Aug 28 09:37:29 1997 Tom Tromey <tromey@cygnus.com> + + From Juergen Erhard: + * automake.in (SUFFIX_RULE_PATTERN): New global. + (handle_single_transform_list): If suffix matches a source suffix, + rewrite. + (read_am_file): Add suffix rules to %suffix_rules. + (initialize_per_input): Initialize %suffix_rules. + +Wed Aug 27 12:56:50 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_texinfo): Also remove .kys and .ps files. + + * automake.in (handle_yacc_lex_cxx): Quoting fixlet. From Kaveh + Ghazi. + + * aclocal.in (write_aclocal): Print copyright and copying + permissions. From RMS. + * automake.in (initialize_global_constants): More copyright stuff + from RMS. + + * automake.in (handle_texinfo): Only require texinfo.tex in + appropriate situations. Report from Paul D. Smith. + +Mon Aug 25 15:45:52 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (scan_dependency_file): Fix so that + OMIT_DEPENDENCIES will work. From Alexander Lukyanov. + + * automake.in (handle_texinfo): texi2dvi can generate `.cn' + files. From Akim Demaille. + +Wed Aug 6 10:51:37 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_texinfo): Reversed sense of test. + +Tue Aug 5 17:49:54 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dependencies): Always mark OMIT_DEPENDENCIES + as seen. + + * automake.in (handle_yacc_lex_cxx): Make each _.c file depend on + ansi2knr. + + * automake.in (handle_yacc_lex_cxx): Fix for makes which don't + allow $< in non-suffix rules. From Akim Demaille. + + * automake.in (value_to_list): If variable name contains configure + substitution, then just ignore it. + + * automake.in (variable_defined): Mark variable is seen, even if + only conditionally seen. + + * Makefile.am: Check for bad splits. + * automake.in (various): Use split(' ',...), not split(/ /,...). + +Tue Aug 5 14:08:51 1997 Ian Lance Taylor <ian@cygnus.com> + + * ylwrap: If the program is a relative path, force it to be + absolute. + +Tue Aug 5 16:59:41 1997 Tom Tromey <tromey@cygnus.com> + + * missing: Examine A[CM]_CONFIG_HEADER for name of files to + touch. From Markus F.X.J. Oberhumer. + + * automake.in (require_file_internal): Better error message when + installing. + + * automake.in (handle_texinfo): Smarter test when deleting output + of makeinfo. + +Sat Aug 2 13:32:45 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (do_check_merge_target): In --cygnus mode, check + doesn't depend on all. + + * automake.in (output_yacc_build_rule): Use YACCFLAGS, not + YFLAGS. Per GNU Standards. + + * dejagnu.am (RUNTESTDEFAULTFLAGS): New macro. + (check-DEJAGNU): Use it. + + * subdirs.am (maintainer-clean-recursive): Actually reverse subdir + list. From Alexander Lukyanov. + + * automake.in (initialize_global_constants): Changed generated + copyright. From RMS. + + * automake.in (handle_configure): Pass correct value for + CONFIG_FILES. From Ian Taylor. + +Thu Jul 31 17:36:10 1997 Ian Lance Taylor <ian@cygnus.com> + + * ylwrap (pairlist): Shift out trailing "--"; don't pass it to + $prog. + +Thu Jul 24 00:52:02 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (initialize_global_constants): Changed index names + in dist hash so that alternate dist targets will be generated. + Report from Glenn Amerine. + + Suggestion from Karl Berry: + * automake.in (usage): Added short info line. + + * aclocal.in (usage): Updated bug-reporting address. Added short + info line. + + * automake.in (handle_emacs_lisp): Put contents of lisp-clean.am + into output. Report from Karl Berry. + +Mon Aug 25 16:14:32 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_configure): Only generate ":" syntax for + CONFIG_FILES when really needed. + +Wed Aug 6 14:47:12 1997 Ian Lance Taylor <ian@cygnus.com> + + * remake-hdr.am (@CONFIG_HEADER@): Use a dummy command to force + GNU make to recheck the file modification time. + +Tue Aug 5 14:44:10 1997 Ian Lance Taylor <ian@cygnus.com> + + * ylwrap: If the program is a relative path, force it to be + absolute. + +Mon Aug 4 14:52:08 1997 Ian Lance Taylor <ian@cygnus.com> + + * automake.in ($RULE_PATTERN): Accept $ in body of rule name. + (handle_programs): Don't append $(EXEEXT) if the + program name contains '.'. + (am_install_var): When rewriting _PROGRAMS, don't append $(EXEEXT) + if the program names contains '.'. Also, handle conditionals. + +Sat Aug 2 14:43:41 1997 Tom Tromey <tromey@cygnus.com> + + * m4/exeext.m4: Fixed quoting. + + * m4/exeext.m4 (am_cv_exeext): Use echo, not ls. + + * automake.in (handle_programs): Transform @EXEEXT@ when including + program.am. + +Fri Aug 1 17:09:09 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_programs): Don't transform CYGWIN or + NOTCYGWIN. + (am_install_var): Likewise. + + * progs-clean.am (clean-@DIR@PROGRAMS): Never include EXEEXT. + + * progs.am: Removed @EXEEXT@; it is now implicit. + * program.am: Add @EXEEXT@ in appropriate places; removed + cygwin-dependent code. + * automake.in (seen_exeext): Renamed from seen_cygwin32. + (handle_programs): Use seen_exeext. + (scan_one_configure_file): Look for AM_EXEEXT, not AM_CYGWIN32. + (check_cygnus): Use seen_exeext. + (am_install_var): Likewise. + (am_install_var): When handling PROGRAMS primary, append EXELIST + to program names as necessary. + * m4/exeext.m4: Require AM_CYGWIN32. + +Thu Jul 31 17:36:10 1997 Ian Lance Taylor <ian@cygnus.com> + + * ylwrap (pairlist): Shift out trailing "--"; don't pass it to + $prog. + + * texinfos.am: Add -I $(srcdir) when invoking $(MAKEINFO) for + CYGNUS .texinfo.info case and .texinfo case. + + * automake.in (handle_configure): Correct handling of inputs for + for AC_OUTPUT files when invoking config.status. + +Mon Jul 28 15:29:25 1997 Rob Savoye <rob@chinadoll.cygnus.com> + + * m4/cygwin.m4: Set a variable CYGWIN32, rather than EXEEXT. + * m4/exeext.m4: New autoconf test for an executable suffix. + * m4/Makefile.in: Install the new exeext.m4 test. + +Sun Jun 22 14:01:59 1997 Tom Tromey <tromey@cygnus.com> + + * Released version 1.2. + + * automake.in (handle_texinfo): Look for texinfo.tex in aux dir. + + * automake.in (require_file_internal): Only print "installing" + when actually installing. From Gord Matzigkeit. + + * automake.in (handle_tests): Exit status `77' means `ignore + test'. From François Pinard. + (handle_tests) Also, make banner same size as text. + + * automake.in (handle_configure): Don't handle PRE_BUILT_SOURCES. + (handle_built_sources): Likewise; don't have `all' depend on + BUILT_SOURCES. + + * depend.am (DEPS_MAGIC): New variable. + (.deps/.P): Depend on BUILT_SOURCES again. + + * texinfos.am: Use ||, not ;. + +Tue Jun 10 11:04:16 1997 Tom Tromey <tromey@cygnus.com> + + * m4/cygwin.m4: Examine output of compiler to see if .exe needed. + +Sun Jun 1 13:16:05 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_built_sources): Handle PRE_BUILT_SOURCES. + (handle_configure): Likewise. + + * depend2.am (.deps/%.P): Don't generate file if MKDEP fails. + From Alexandre Oliva. + + * depend.am (.deps/.P): Depend on PRE_BUILT_SOURCES, not + BUILT_SOURCES. + + * automake.in (initialize_global_constants): Added 1997 to + copyright info. + + * automake.in (output_yacc_build_rule): Never move y.tab.c over + the .h file. From Jim Meyering. + +Thu May 29 23:16:02 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (scan_one_configure_file): Avoid defining ACLOCAL, + AUTOCONF, AUTOMAKE, AUTOHEADER. From David Zaroski. + +Sat Feb 22 16:05:24 1997 Gordon Matzigkeit <gord@gnu.ai.mit.edu> + + * Makefile.am (pkgdata_DATA): Under this new scheme, we no longer + need compile-kr.am. Delete it. + + * automake.in (handle_yacc_lex_cxx, get_object_extension): Use + _.c, _.o, _.lo instead of ._c, ._o, .l_o for de-ansification. + + * ansi2knr.c (main): Parse our arguments a little differently so + that we don't create null output files when we can't read the + input file. + +Wed May 28 23:40:33 1997 Tom Tromey <tromey@cygnus.com> + + * depend.am (.deps/.P): Depend on $(BUILT_SOURCES) again. From + Gord Matzigkeit. + +Mon May 26 22:50:49 1997 Tom Tromey <tromey@cygnus.com> + + * remake-hdr.am ($(srcdir)/@STAMP@.in): Make echo silent. Report + from Alexandre Oliva. + + * automake.in (generate_makefile): If --no-force, check + Makefile.in against configure.in and aclocal.m4. Report from + Alexandre Oliva. + + * automake.in (handle_dist_worker): Put --include-deps on command + line if specified originally. + (handle_configure): Likewise. + + * configure.in: Error if Perl 5.001 is used. + + * ylwrap: Don't quote $prog when executing it. From Jim + Meyering. + +Thu May 15 12:05:20 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_merge_targets): Set INSTALL_SCRIPT in + install-strip target. + +Tue May 13 08:20:02 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dependencies): Don't generate dependencies + if DEP_FILES would be empty. + +Sun May 11 13:59:14 1997 Tom Tromey <tromey@cygnus.com> + + * config.guess: New version from FSF. + + * automake.in (get_object_extension): If ansi2knr in another + directory, always define ANSI2KNR to full path. From Akim + Demaille. + + * kr-extra.am (clean-krextra): Remove ansi2knr here, not in + distclean-krextra. + + * missing: Regularized grammar. From François Pinard. + +Sat May 10 16:48:47 1997 Tom Tromey <tromey@cygnus.com> + + * Released 1.1p. + + * m4/init.m4: Error if source directory already configured. + + * automake.in (scan_dependency_file): Always use srcdir name as + passed in on command line. + +Thu May 1 12:53:46 1997 Ian Lance Taylor <ian@cygnus.com> + + * automake.in (value_to_list): Don't fail when a variable + substitution is not a complete word. + +Tue May 6 15:22:41 1997 Ian Lance Taylor <ian@cygnus.com> + + * subdirs.am: Fix check for make -k to use $(MAKEFLAGS) and to not + get fooled by command line arguments. + +Sat May 10 15:48:46 1997 Tom Tromey <tromey@cygnus.com> + + * m4/ccstdc.m4: Print "none needed" if compiler accepts ANSI C by + default. + +Mon May 5 23:24:09 1997 Tom Tromey <tromey@cygnus.com> + + * mkinstalldirs, config.guess, config.sub, COPYING, texinfo.tex: + New versions from FSF. + +Sun May 4 15:21:22 1997 Tom Tromey <tromey@cygnus.com> + + * texinfos.am (install-info): Avoid the Debian install-info. + (uninstall-info): Likewise. + + * automake.in (handle_single_transform_list): Strip any directory + name before processing name. + +Thu May 1 19:24:08 1997 Tom Tromey <tromey@cygnus.com> + + * depend2.am (.deps/%.P): Don't put $(srcdir)/ into dependency. + +Wed Apr 30 19:15:47 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dist_worker): Change how top_distdir is + computed. Based on patch from Ian Taylor. + (handle_dist): Define top_distdir. + + * automake.in (handle_yacc_lex_cxx): Include CXXFLAGS in CXXLINK. + (handle_yacc_lex_cxx): Include CFLAGS in LINK. + +Wed Apr 30 14:46:37 1997 Ian Lance Taylor <ian@cygnus.com> + + * automake.in (handle_dist_worker): When building a distribution, + if SUBDIRS is defined conditionaly, recur into each possible + subdirectory. + + * clean.am (distclean-generic): Remove stamp-h[0-9]*. + +Tue Apr 29 19:11:45 1997 Tom Tromey <tromey@cygnus.com> + + * INSTALL, mkinstalldirs, install-sh: Update from François + Pinard. + + * aclocal.in (add_macro): If AC_ macro was defined, then mark it + as seen. Report from Janos Farkas. + + * subdirs.am: Clean targets now run in reverse order. From Kevin + Dalley. + + * automake.in (handle_texinfo): Put `aminfo', not `info' on + @clean. + + * mdate-sh: New version from Ulrich Drepper. + +Mon Apr 28 01:18:05 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_configure): Makefile only depends on + BUILT_SOURCES when generating dependencies. + + * Released 1.1o. + +Sun Apr 27 23:58:20 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dist): Use variable_value, not + variable_contents. + +Wed Apr 23 14:04:28 1997 Ian Lance Taylor <ian@cygnus.com> + + * automake.in (IF_PATTERN): Define. + (ELSE_PATTERN, ENDIF_PATTERN): Define. + (AM_CONDITIONAL_PATTERN): Define. + (%configure_cond): New global hash table. + (handle_source_transform): If xx_SOURCES is defined conditionally, + define xx_OBJECTS using the same conditions. + (handle_lib_objects): If variable is defined conditionally, define + xx_DEPENDENCIES conditionally. Most code moved into subroutine. + (handle_lib_objects_cond): New function, broken out of + handle_lib_objects. + (scan_one_configure_file): Look for $AM_CONDITIONAL_PATTERN. + (conditional_true_when): New function. + (variable_defined): Add new parameter: cond. Change some + callers. + (variable_conditions): New function. + (variable_conditionally_defined): New function. + (variable_value): New function. Change most uses of $contents to + call variable_value instead. + (value_to_list): New function, from variable_value_as_list. + (variable_value_as_list): Add new parameter: cond. Change all + callers. Move some code into subroutine value_to_list. + (define_pretty_variable): Add new parameter: cond. Change call + callers. + (read_am_file): Handle conditionals. + (initialize_per_input): Initialize %conditional and + @conditional_stack. + * m4/cond.m4: New file. + * m4/Makefile.am (m4data_DATA): Add cond.m4. + +Sun Apr 27 11:03:36 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dist_worker): Run automake once per + directory, instead of once at the top. + (handle_dist_worker): Changed interface. + (handle_dist): Likewise. + (generate_makefile): Better error message if can't write the + file. + (handle_dist_worker): Pass top_distdir to subdir makes. + + * automake.in (handle_dist_worker): Use mode 777 on directories in + distribution. GNU Standards compliance. + + * automake.in (handle_yacc_lex_cxx): Don't use interlock. + (output_yacc_build_rule): Don't use interlock; just use new ylwrap + instead. The new ylwrap builds in a subdir; idea from Mark + Eichin. + (output_lex_build_rule): Likewise. + (initialize_global_constants): [common_files] Don't include + interlock. + + * Makefile.am (pkgdata_SCRIPTS): Removed interlock. + * interlock: Removed. + * ylwrap: Changed interface. Now runs command in subdir. + + * remake.am (config.status): Look in srcdir for config header. + ($(srcdir)/configure): Likewise. + * remake-hdr.am (@STAMP@): Look in srcdir for config header. From + Phil Nelson. + ($(srcdir)/@CONFIG_HEADER_IN@): Likewise. + + * automake.in (handle_aclocal_m4): Make target $(ACLOCAL_M4), not + value spelled out. From Phil Nelson + + * automake.in (handle_configure): Don't skip Makefiles; instead + skip automake inputs. + (handle_merge_targets): Changed interface; put $makefile at + beginning of @all (rather than Makefile at end). + + * automake.in (handle_yacc_lex_cxx): Correctly compute + de_ansi_sources. + + * clean-kr.am (distclean-kr): Do nothing; ansi2knr is removed in + kr-extra.am. + + * Makefile.am: Check to make sure there are no accidental + configure substitutions. + + * automake.in (handle_texinfo): Don't allow configure substitution + on @MAKEINFO@ here. + + * automake.in (handle_yacc_lex_cxx): ._c and ._o files both depend + on $(ANSI2KNR). + + * kr-extra.am (ansi2knr): Removed. + (ansi2knr.o): Likewise. + + * automake.in (get_object_extension): Allow ansi2knr to be built + from any directory. + +Fri Apr 25 12:33:23 1997 Tom Tromey <tromey@cygnus.com> + + * missing: Changed bison text. From Ian Taylor. + + * m4/missing.m4: Redirect stdin of testee. From Bill Fenner. + + * automake.in (output_yacc_build_rule): Generate rule to create .h + file. + (handle_footer): Generate unique, sorted list of suffixes. + + * automake.in (scan_one_configure_file): Recognize AC_PROG_AWK, + _CPP, _CXCPP, _LN_S. From Ralph Schleicher. + +Mon Apr 21 12:35:57 1997 Ian Lance Taylor <ian@cygnus.com> + + * automake.in (@config_fullnames): New array. + (@config_names): New array, replacing $config_name. + (@config_headers): New array, replacing $config_header. + (get_object_extension): Handle multiple header files. + (handle_tags, handle_merge_targets): Likewise. + (scan_one_configure_file): Likewise. + (handle_configure): Likewise. Don't check for the configuration + header file in AC_OUTPUT; it won't be there. + * remake-hdr.am: Handle multiple header files. + * clean-hdr.am: New file, broken out of remake-hdr.am. + * m4/header.m4: Handle multiple header files. + * Makefile.am (pkgdata_DATA): Add clean-hdr.am. + +Wed Apr 16 00:05:47 1997 Tom Tromey <tromey@cygnus.com> + + * texinfos.am (.texi.info, .texi, .texinfo.info, .info): Remove + + * automake.in (define_program_variable): Added `override' argument. + (handle_texinfo): Pass override arg when defining MAKEINFO. + (AC_MISSING_PROG): New constant. + (scan_one_configure_file): Use it. + +Tue Apr 15 12:12:28 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_texinfo): In --cygnus mode, reserve + clean-info for the user. + + * automake.in (handle_subdirs): Typo fix. From Akim Demaille. + + * automake.in (handle_tags): Only use SUBDIRS if it is actually + defined. Report from Ian Taylor. + + * tags.am: Added prefix to SUBDIRS rules. + +Wed Apr 9 17:09:40 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_ltlibraries): Use correct rpath + substitution. Bug from Jim Blandy. + +Mon Apr 7 17:40:18 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (AM_INIT_AUTOMAKE_PATTERN): Fixed for new 3rd arg. + Test version2.test. + +Thu Apr 3 19:07:59 1997 Tom Tromey <tromey@cygnus.com> + + * Released 1.1n. + + * tags.am (TAGS): Run "cd && etags" in subshell for proper + associativity. + + * texinfos.am (install-info-am): If --cygnus, then info file can + be in build dir. From David Zaroski. + + * ltlibrary.am (@LTLIBRARY@): use @RPATH@, not explicit -rpath. + + * automake.in (handle_ltlibraries): Treat EXTRA_ libraries + specially. + +Wed Apr 2 00:03:50 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_source_transform): Don't generate dependency + on config.h. + (scan_dependency_file): Strip the .P file from the target. + + * automake.in (handle_tags): Use single, not double, quotes when + setting list variable. + + * data.am, header.am, libs.am, lisp.am, ltlib.am, progs-clean.am, + progs.am, scripts.am, tags.am: Use single quotes to fill list + variable; otherwise `$' in filename will not work. From Per + Bothner. + + * mdate-sh: Use "ls -d" so mdate-sh can be run on a directory. + From Bruno Haible. + + * automake.in (handle_programs): Error if LIBADD used where LDADD + meant. + (handle_libraries): Error if LDADD used where LIBADD meant. + (handle_ltlibraries): Likewise. + +Tue Apr 1 22:46:33 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (check_canonical_spelling): New sub. + (handle_programs): Use it. + (handle_libraries): Likewise. + (handle_ltlibraries): Likewise. + +Mon Mar 31 12:13:08 1997 Tom Tromey <tromey@cygnus.com> + + * depend2.am (.deps/%.P): Make .P file depend on everything the .c + file includes. + +Fri Mar 28 23:34:49 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_configure): Error if stamp-h appears in + AC_OUTPUT line. + +Thu Mar 27 17:28:47 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_dist_worker): Avoid automake rules in + generated Makefile when no-dependencies specified. From Greg + Woods. + + * m4/lispdir.m4: Don't AC_SUBST ELCFILES. From Greg Woods. + + * texi-vers.am (stamp-@VTI@): Make commands silent. + + * Makefile.am (maintainer-check): "true" is ok now. + + * m4/init.m4: Added optional 3rd argument, which avoids + AC_DEFINE. + + * automake.in (scan_one_configure_file): Explicitly avoid + INSTALL_SCRIPT to avoid defining it twice. + + * header-vars.am: Change _INSTALL variable definitions to `true'. + Updated all users to put `@' before invocation. + +Tue Mar 25 22:09:45 1997 Tom Tromey <tromey@cygnus.com> + + Update to follow GNU Standards: + * automake.in (handle_man_pages): Use NORMAL_UNINSTALL before + uninstall-man. + * texinfos.am (uninstall-info): Use two loops, and have + PRE_UNINSTALL before running install-info. + * data.am, header.am, libs.am, lisp.am, ltlib.am, progs.am, + scripts.am, texinfos.am: Use NORMAL_UNINSTALL. + * header-vars.am (PRE_UNINSTALL, POST_UNINSTALL, + NORMAL_UNINSTALL): Define. + + * automake.in (scan_one_configure_file): Don't define ANSI2KNR as + a configure varriable. + + * m4/missing.m4: Run test in a subshell. From Gord Matzigkeit. + +Mon Mar 24 23:28:59 1997 Tom Tromey <tromey@cygnus.com> + + * m4/sanity.m4: Sleep before creating temp file. + + * header-vars.am (NORMAL_INSTALL, PRE_INSTALL, POST_INSTALL): + Define. + +Sat Mar 22 00:06:00 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (am_install_var): Make sure to delete + CYGWIN/NOTCYGWIN tokens as appropriate. + (handle_programs): Remove NOTCYGWIN tokens as well. + (file_contents_with_transform): A single newline makes an empty + line. + + * program.am: Remove executable before linking. + + * texinfos.am (.texi.dvi): Look in @TEXINFODIR@ for texinfo.tex. + (.texinfo.dvi): Likewise. + + * automake.in (handle_texinfo): TEXINFO_TEX variable can set + location of texinfo.tex. + +Fri Mar 21 10:22:51 1997 Tom Tromey <tromey@cygnus.com> + + * texinfos.am (.texinfo.dvi): Mirror .texi.dvi. + + * ansi2knr.c, ansi2knr.1: New versions from L. Peter Deutsch. + + * scripts.am: Add @EXEEXT@ to installed scripts. + +Wed Jan 22 20:12:31 1997 Jim Meyering <meyering@na-net.ornl.gov> + + * m4/mktime.m4 (AM_FUNC_MKTIME): Run tests for each of a few values + for the TZ environment variable. Andre Novaes Cunha provided the + hairy TZ setting that exercized the Solaris tzset bug. + +1997-01-22 Paul Eggert <eggert@twinsun.com> + + * m4/mktime.m4: (AM_FUNC_MKTIME): Fix bug in mktime test -- don't + test now, test a couple of thousand times. + +Thu Mar 20 00:16:54 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_programs): Remove CYGWIN lines unless + AM_CYGWIN32 seen. + (am_install_var): Remove CYGWIN lines from -clean file as well. + + * progs.am: Put @EXEEXT@ where appropriate. + + * program.am (@PROGRAM@): If using Cygwin32, then create actual + name in addition to ".exe" name. + + * progs-clean.am (clean-@DIR@PROGRAMS): Conditionalize on CYGWIN. + + * automake.in (check_cygnus): Require AM_CYGWIN32 in --cygnus mode. + (am_install_var): If AM_CYGWIN32 not seen, then remove @EXEEXT@ + from .am files. + + * automake.in (seen_cygwin32): New global. + (scan_one_configure_file): Check for AM_CYGWIN32. + + * m4/cygwin.m4: New file. + + * automake.in (scan_one_configure_file): Explicitly handle + AC_CONFIG_HEADER so we can avoid spurious warnings. + (obsolete_macros): Removed AC_CONFIG_HEADER. + + * automake.in (handle_yacc_lex_cxx): Perl 4 fixes. From Greg + A. Woods. + +Wed Mar 19 00:35:13 1997 Tom Tromey <tromey@cygnus.com> + + * Released 1.1m. + + * m4/missing.m4: Print message saying what is happening. + + * m4/sanity.m4: sleep before testing. + +Tue Mar 18 17:20:03 1997 Tom Tromey <tromey@cygnus.com> + + * config.guess, config.sub: New from the FSF. + + * automake.in (initialize_global_constants): [common_files] + Include `missing'. + (scan_configure): Require `missing'. + + * header-vars.am (MAKEINFO): Don't define. + + * m4/init.m4 (missing_dir): Use AM_MISSING_PROG. + * m4/missing.m4: New file. + + `missing' changes from François Pinard: + * Everywhere: Use ACLOCAL_M4 to name aclocal.m4 file; ACLOCAL now + names aclocal program. + * m4/init.m4: Replace programs with `missing' if not found. + * automake.in (handle_texinfo): Define MAKEINFO as @MAKEINFO@. + (AC_CHECK_PATTERN): Check for alphanumeric names only. + (handle_aclocal_m4): Use ACLOCAL, not aclocal. + * Makefile.am (pkgdata_SCRIPTS): Include missing. + * missing: New file. + + * automake.in (target_defined): New sub. + (handle_footer): Error if target .SUFFIXES used. + +Sun Mar 16 14:33:41 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_lib_objects): Set seen_c_source to line + number. + (handle_yacc_lex_cxx): Use seen_c_source as line number. + (am_line_error): Line of -1 means skip line-number check. + + * automake.in (read_am_file): Change to keep perl -w quiet. + (check_typos): Removed extra check of EXTRA_ containing config + subs. + +Mon Mar 10 23:17:19 1997 Tom Tromey <tromey@cygnus.com> + + * remake-hdr.am (stamp-h): Set CONFIG_HEADERS to + $(CONFIG_HEADER_FULL). + * automake.in (handle_configure): Define CONFIG_HEADER_FULL. + + * automake.in (handle_lib_objects): Set seen_c_source as + appropriate. From Alexander V. Lukyanov. Test cxxlibobj.test. + +Sat Mar 8 22:54:35 1997 Tom Tromey <tromey@cygnus.com> + + * texinfo.tex: New version. + + * automake.in (handle_emacs_lisp): If EMACS is `no', then we + couldn't find an Emacs. So don't bother running elisp-comp. From + Ulrich Drepper. + + * automake.in (handle_texinfo): Added .tr and .cv to list of + texinfo clean extensions. From Karl Berry. + +Fri Feb 28 22:14:53 1997 Tom Tromey <tromey@cygnus.com> + + * Makefile.am: Make sure we never use "undef". + + * automake.in (usage): Changed bug-reporting address. + (handle_dist): Use undef, not delete. + +Wed Feb 26 08:41:11 1997 Gordon Matzigkeit <gord@gnu.ai.mit.edu> + + * automake.in (%obsolete_macros): Reintroduce, with hints for what + to do to upgrade the support. + + * automake.in, ltlib-clean.am, ltlib.am, ltlibrary.am: Revamped + libtool support to use the _LTLIBRARIES primary. + +Wed Feb 26 00:20:39 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_tags): In default case, add @tags_deps to + dependencies of tags target. + +Tue Feb 25 23:46:29 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_tests): If a test failed, then make should + fail. From Jim Meyering. + +Mon Feb 24 19:02:21 1997 Tom Tromey <tromey@cygnus.com> + + * texi-vers.am (@VTEXI@): Copy stamp file into output. + +Sun Feb 23 00:10:36 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (handle_programs): Give correct error line for lex + error. + (am_line_error): Avoid uninitialized value errors from perl -w. + + * aclocal.in (scan_m4_files): Fixed perl -w warning. + + * texinfos.am (.texi, .texinfo): New targets. + + * automake.in (scan_texinfo_file): Renamed. + (handle_texinfo): Handle files without ".info" extension. + + * automake.in (handle_subdirs): Error if directory contains "/". + (handle_yacc_lex_cxx): Quoting fix. + (handle_single_transform_list): Use transformed (non-ansi) version + of $obj instead of explicit ".o". From Gord Matzigkeit. + + * m4/sanity.m4: Pass -L to ls if possible. + +Sat Feb 22 15:22:31 1997 Tom Tromey <tromey@cygnus.com> + + * dist-vars.am (DISTFILES): Don't distribute MANS. + + * automake.in (handle_dist): Use define_variable to define TAR, + GZIP. + (handle_dist): Pass GZIP in environment to tar. + (initialize_global_constants): Likewise. + + From Kaveh Ghazi: + * m4/protos.m4: Don't put any dependencies on AC_C_INLINE or + AC_C_CONST. + * m4/ccstdc.m4: Force AM_PROG_CC_STDC to come before AC_C_INLINE + or AC_C_CONST. + +Fri Feb 21 00:39:17 1997 Tom Tromey <tromey@cygnus.com> + + From The Crimson Binome: + * automake.in (handle_yacc_lex_cxx): Handle C++ yacc/lex source. + (output_yacc_build_rule): New sub for C++ yacc/lex. + + * automake.in (my_glob): New sub. + (handle_dependencies): Use my_glob. + (handle_aclocal_m4): Scan ACLOCAL_AMFLAGS for dependencies. + + * ltlibs.am, lisp.am, libs.am, header.am, data.am, progs.am, + scripts.am, texinfos.am: Add leading space to echo. + + * automake.in (handle_texinfo): Added .tps and .vrs to list of TeX + endings. From Jim Blandy. + (install_man_format): Make rule silent; instead print actual + command. + +Tue Feb 4 18:29:42 1997 Tom Tromey <tromey@cygnus.com> + + * dist-vars.am (TAR): Removed. + * automake.in (TAR): New variable. + (handle_dist): Explicitly define TAR. + * configure.in: Compute TAR. + + * automake.in (handle_lib_objects): Put @ALLOCA@ on @dep_list, not + @dep_files. + (AC_SUBST_PATTERN): Typo fix. + (handle_aclocal_m4): Use ACLOCAL_AMFLAGS. + (handle_clean): Put -recursive target before -am target. + (handle_merge_targets): Put basename of $config_name on @all. + Test confsub.test. From Ramón García Fernández. + +Tue Jan 28 22:19:04 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (initialize_global_constants): Put libtoolize files + into @common_files, not @common_sometimes. From Gord Matzigkeit. + +Sun Jan 26 17:46:08 1997 Tom Tromey <tromey@cygnus.com> + + * texinfos.am (.texi.info): If --cygnus, set -I $(srcdir). From + Per Bothner. + +Sun Jan 12 18:28:16 1997 Fred Fish (fnf@ninemoons.com) + + * automake.in: Use 'interlock' and 'ylwrap' from source + directory or aux config directory, not build directory. + +Tue Jan 7 18:35:10 1997 Tom Tromey <tromey@cygnus.com> + + * aclocal.in (parse_arguments): Handle -I. + (usage): Ditto. + (scan_m4_files): Ditto. + + * automake.in (handle_single_transform_list): Don't give error + message if extension unrecognized. + +Tue Dec 17 11:18:20 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * m4/header.m4 (AM_CONFIG_HEADER): Check for $CONFIG_HEADERS, not + $CONFIG_HEADER. + +Tue Jan 7 17:59:26 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (scan_one_configure_file): AM_INIT_GUILE_MODULE runs + AM_PROG_INSTALL, not AC_PROG_INSTALL. From Jim Blandy. + (handle_texinfo): Handle no-texinfo.tex option. + (handle_options): Ditto. + +Thu Jan 2 14:16:17 1997 Tom Tromey <tromey@cygnus.com> + + * automake.in (am_install_var): Ignore EXTRA libtool libraries. + From Marius Vollmer. + +----- + +Copyright 1997-2012 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, are +permitted provided the copyright notice and this notice are preserved. diff --git a/old/TODO b/old/TODO new file mode 100644 index 000000000..f8e4754df --- /dev/null +++ b/old/TODO @@ -0,0 +1,504 @@ +the new YFLAGS code doesn't correctly handle srcdir + +allow foo_NAME to rename an object (library or program) +at build/install time + +remove _LTLIBRARIES and just use _LIBRARIES +then use this for zip/jar as well + +add an error if the user makefile.am violates our + namespace rules + +we need a document describing automake from the end user's point of view +eg describe INSTALL_HEADER there, among other things + +* maintainer-clean + +Akim: +> @@ -31,5 +31,9 @@ +> DISTCLEAN -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) +> +> maintainer-clean-generic: +> +## FIXME: shouldn't we really print these messages before running +> +## the dependencies? +> + @echo "This command is intended for maintainers to use" +> + @echo "it deletes files that may require special tools to rebuild." +> -rm -f Makefile.in + +Tom: +> I'd like to eventually fix the FIXME comment by having +> maintainer-clean look like: +> +> maintainer-clean: +> @echo ... +> $(MAKE) whatever +> +> We're left with the question of whether we should repeat them in every +> subdir. + +* +Alexandre Oliva: +> Hmm... Interesting. It must have been a side effect of the enabling +> of forced `relink' on GNU/Linux/x86. Anyway, on platforms that +> actually require relinking, this problem remains, and I see no way to +> overcome it other than arranging for automake to install libraries +> before executables, as you suggest. This shouldn't be a big problem, +> anyway. +> +> A bigger problem could show up if two libraries in the same directory, +> one dependent on the other, are installed concurrently. If relinking +> is needed for the dependent library, we have a problem. It appears to +> me that user will have to live without `make -j install', in this +> case. + +Alex Hornby +> Here's an Automake patch and changelog entry allow make -j install on +> such degenerate systems (and Linux with buggy libtool <g>) +> +> If you install to locations other that bin_ and lib_ then a larger fix +> is necessary, but this should fix the 90% case. + +* think about how per-object flags should work. in particular: + * how should they be specified? + using the object name is confusing when .lo/.obj in use + however, the object name provides a nice interaction with + per-exe flags + * how should they interact with per-executable flags? + [ this is probably a feature in search of a problem ] + +* cross-compilation support: + programs built and used by the build process need to be + built for CC_FOR_BUILD + introduce a new prefxi for this, e.g. `build_PROGRAMS' + [ we can do this in an automatic way I think. + unfortunately it isn't that useful until autoconf has support + for this sort of thing as well ] + +* one performance enhancement would be to have autoconf write + a single file containing all the macro assignments. + then read this file via `include' + unfortunately this can't be done because of conditionals + -- but it could be made to work if we also changed: + * automake to rewrite @FOO@ to $(FOO), and + * the implementation of conditionals to rely on some new + config.status magic + +* support prog_LIBS as override for LIBS + +* Test subdir-objects option with yacc, lex, ansi2knr + Our locking scheme won't prevent a parallel make from losing + if there are two `bar.o' files and the timing is just right + This only happens with parallel make and no-`-c -o' compiler, + so it probably isn't very important + `-c -o' when doing libtool + try to find a losing compiler and see if it really works. + (actually: hack config.cache and do it) + +* per-exe flags +** LIBOBJS shouldn't be used when there are per-exe flags (?) + +* Allow creation of Java .zip/.jar files in natural way + If you are building a compiled Java library, then the .zip/.jar + ought to be made automatically. + +* examine possibility of using any character in a macro name + and rewriting names automatically. this means we must rewrite + all references as well. + [ this is a 2.0-style feature ] + +* `distcheck' and `dist' should depend on `all' + +* Add code to generate foo-config script like gnome, gtk + +* document user namespace for macro/target names + adopt some conventions and use uniformly + [ this is a good thing for the rewrite ] + +* distclean must remove config.status + can't this cause problems for maintainer-clean? + shouldn't maintainer-clean print the message before running + any part of the make? (just to slow things down long enough + for the user to stop it) + (maybe doesn't matter since people who even know about + maintainer-clean already have a clue) + +* reintroduce AM_FUNC_FNMATCH which sets LIBOBJS + Then have automake know about fnmatch.h. + [ probably should wait for autoconf to get right functionality ] + +* "make diff" capability + look at gcc's Makefile.in to see what to do + or look at maint program + +* in --cygnus, clean-info not generated at top level + +* what if an element of a scanned variable looks like + $(FOO).$(BAR) ? + or some other arbitrary thing? + right now we try to cope, but not very well + [ this is only of theoretical interest for now ] + [ We now have an 'inner_expand' option to traverse_recursively, + but it is not yet used. ] + +* make sure every variable that is used is also defined + [ we don't really look at variable uses in detail. + 2.0 thing ] + +* make sure `missing' defines are generated + +* missing should handle install -d and rmdir -p (for uninstall) + +* NORMAL_INSTALL / NORMAL_UNINSTALL -vs- recursive rules + [ requires changes to the standard ] + +* should not put texiname_TEXINFOS into distribution + should rename this macro anyway, to foo_texi_DEPENDENCIES + +* For now I guess I'll just have automake give an error if it encounters +non-C source in a libtool library specification. + +* if program has the same name as a target, do something sensible: + - if the target is internal, rename it + - if the target is mandated (eg, "info"), tell the user + consider auto-modifying the program name to work around this + +* should separate actual options from strictness levels + strictness should only cover requirements + You should be able to pick and choose options + +having just one Makefile for a project would give a big speed increase +for a project with many directories, eg glibc. ideally (?) you'd +still be able to have a Makefile.am in each directory somehow; this +might make editing conceptually easier. + +* finish up TAGS work + +* only remove libtool at top level? + +* clean up source directory by moving stuff into subdirs + +* consider adding other variables similar to pkglibexecdir? + requests for pkg-dirs with version included + +Avoid loops when installing; instead unroll them in automake +[ Impossible when @AC_SUBST@ values are used. ] + +Some long-term projects: +* if $(FOO) is used somewhere, ensure FOO is defined, either by + user or by automake if possible + +[ include, += support ] +* even better would be allowing targets in different included + fragments to be merged. e.g., `install-local'. + +consider putting all check-* targets onto @check? + +take diff-n-query code from libit + +Per Bothner says: +Per> 1) Being able to build a set of non-source programs +Per> from source programs, without necessarily linking them together. +Per> I.e. one should be able to say something like: +Per> dummy_SOURCES=foo.c bar.c +Per> and automake should realize that it needs to build foo.o and bar.o. +Per> 2) Being intelligent about new kinds of suffixes. +Per> If it sees: +Per> SUFFIXES = .class .java +Per> and a suffix rule of the form: +Per> .java.class: +Per> then it should be able to realize it can build .class files from +Per> .java files, and thus be able to generate a list of +Per> .class files from a list of .java source files. +[What Per wanted here was a way to have automate automatically follow +suffix rules. So for instance if you had a `.x.y:' rule, and automake +saw a `.x' file, it would automatically build and install the +corresponding `.y' file.] + +Jim's idea: should look for @setfilename and warn if filenames too long +* guess split size + +from joerg-martin schwarz: + -- If Makefile.am contains $(CC), $(COMPILE), $(YLWRAP), .... + in an explicitly written rule, you should emit the corresponding + Makefile variables automatically. + +From the GNU Standards. These things could be checked, and probably +should be if --gnu. +* Make sure that the directory into which the distribution unpacks (as +well as any subdirectories) are all world-writable (octal mode 777). +* Make sure that no file name in the distribution is more than 14 +characters long. +* Don't include any symbolic links in the distribution itself. + (ditto hard links) +* Make sure that all the files in the distribution are world-readable. + +should be able to determine what is built by looking at rules (and +configure.in). Then built man pages (eg) could automatically be +omitted from the distribution. + +Right now, targets generated internally (eg "install") are not +overridable by user code. This should probably be possible, even +though it isn't very important. This could be done by generating all +internal rules via a function call instead of just appending to +$output_rules. + [ this will be harder to implement when scanning a rule like all-recursive + from subdirs.am ] + +Other priorities: +* Must rewrite am_install_var. Should break into multiple functions. + This will allow the callers to be a little smarter. +* Rewrite clean targets. +* Fix up require_file junk. + +djm wants ``LINKS'' variable; list of things to link together after +install. In BSD environment, use: + LINKS = from1 to1 from2 to2 ... + +Need way to say there are no suffixes in a Makefile (Franc,ois' +"override" idea suffices here) + +Check to make sure various scripts are executable (IE when looking for +them in a directory) + +Add support for html via an option. Use texi2html. Use +"html_TEXINFOS", and htmldir = .../html. Include html files in +distribution. Also allow "html_DATA", for raw .html files. + [ when will texinfo directly support html? ] +See also Karl Berry's message on a roadmap for a "info -> html" +transition: +<http://lists.gnu.org/archive/html/texinfo-devel/2012-03/msg00018.html> + +uninstall and pkg-dirs should rm -rf the dir. + +In general most .am files should be merged into automake. For +instance all the "clean" targets could be merged by keeping lists of +things to be removed. This would be a lot nicer looking. Note that +the install targets probably should not be merged; it is sometimes +useful to only install a small part. + +* Lex, yacc support: +** It would be nice to automatically support using bison's better features + to rename the output files. This requires autoconf support +** Consider supporting syntax from autoconf "derived:source", eg: + y.tab.c:perly.y + for yacc and lex source +** what if you use flex and the option to avoid -lfl? + should support this? + +* Multi-language support: +** should have mapping of file extensions to languages +** should automatically handle the linking issue (special-case C++) +** must get compile rules for various languages; FORTRAN probably + most important unimplemented language +This should be integrated in some way with Per's idea. +Eg .f.o rules should be recognized & auto-handled in _SOURCES +That way any random language can be treated with C/C++ on a first-class +basis (maybe) + +It might be cool to generate .texi dependencies by grepping for +@include. (If done, it should be done the same way C dependencies are +done) +[ Ask Karl Berry for a -M option to makeinfo and texi2dvi? ] + +It would be good to check some parts of GNU standards. Already check +for install-sh and mkinstalldirs. What else is required to be in +package by GNU standards or by automake? +Some things for --strictness=gnits: +* "cd $(foo); something" is an error in a rule. Should be: + "cd $(foo) && something" +* Look for 'ln -s' and warn about using $(LN_S) and AC_PROG_LN_S +* Look for $(LN_S) and require AC_PROG_LN_S + +Auto-distribute "ChangeLog.[0-9]+"? "ChangeLog.[a-z]+"? + +Check all source files to make sure that FSF address is up-to-date. +--gnits or --gnu only. + +Merge each -vars.am file with corresponding ".am" file. Can do this +because of changes to &file_contents. + +Should libexec programs have the name transform done on them? + +Order the output rules sensibly, so FOO_SOURCES and FOO_OBJECTS are +together and rules are in the usual order. + +djm says: +David> To avoid comments like the one about subdirs getting buried in +David> the middle of a Makefile.in, how about pushing comments that +David> start with ### to the top of the Makefile.in (in order)? Sort +David> of like how Autoconf uses diversions to force initialization +David> code to the top of configure. + +================================================================ + +Stuff for aclocal: + +probably should put each group of m4 files into a subdir owned by the +containing application. + +================================================================ + +Document: + +AM_MISSING_PROG + +how to use the generated makefiles + - standard targets + - required targets + - NORMAL_INSTALL junk + +rationale for avoiding + make CFLAGS="$CFLAGS" ... +in subdirs make rule + +write example of using automake with dejagnu +follow calc example in dejagnu docs + +document which variables are actually scanned and which are not. + +Document customary ordering of Makefile.am. From François. + +Should include extended version of diagram from Autoconf (suggested by +Greg Woods) + +Make a definition of the term "source" + +document how to use Automake with CVS. Idea from Mark Galassi. Also +include Greg Woods' more sophisticated "cvs-dist" target. + +-- must document all variables that are supposed + to be public knowledge + +must document the targets required for integration with +non-automake-using subdirs + +document the "make SHELL='/bin/sh -x'" trick for debugging + +section on relationship to GNU make. include notes on parallel makes + +add a concept index + +move discussion of cygwin32, etags, mkid under other gnu tools + +CCLD, CXXLD, FLD + +================================================================ + +Libraries: + +* Should support standalone library along with subdir library in same + Makefile.am. Maybe: turn off "standalone" mode if library's Makefile.am + is not only one specd? [ add an option for this ] + +================================================================ + +Longer term: + +Would it be useful to integrate in some way with the Debian package +building utility? Must check. maybe it would be possible to deal +with all the different package utilities somehow. Lately I've been +hearing good things about the RedHat packaging utilities. Why are +there so many of these? Are they fun to write or something? +The RedHat package utility is called RPM; see + ftp://ftp.redhat.com/pub/code/rpm +It actually has problems, like no configure script and no documentation. + +For Cygnus it would probably be good to be able to handle the native +package utility on each platform. There are probably 3 or 4 of these +(sysv, solaris?, aix?) + +tcl/unix/Makefile.in has some code to generate a Solaris package. + +Automake probably can't do all of this on its own. A new tool might +be a better idea + +I have some notes from a Debian developer on how the integration +should work + +================================================================ + +A tool to guess what the local Makefile.am should look like: +(see Gord's Maint program!) + +* Probably integrate with autoscan +* Use various simple rules to determine what to do: + * get name of top directory, sans version info + * search for .c files with 'main' in them + * if in main.c, use directory name for program + * if in more than one, generate multiple programs + * if not found, generate a library named after directory + * order subdir searches correctly: lib first, src last + * assume 'testsuite' dir means we are using dejagnu +* maybe be smart about reading existing Makefile.am, so tool + can be run for incremental changes? You could imagine: + + Makefile.am: + autoproject --incremental + +================================================================ + +Stuff NOT to do, and why: + +consider auto-including any file that matches "*.in". + [ no: po/Makefile.in shouldn't be included ] + +must look at mkid to see how it works (for subdir usage) + [ right now, it doesn't. i don't see a simple fix right now ] + +if configure.in not found, move up a directory and try again? This +could eliminate a common source of problems. + [ this is just a bad idea ] + +* scripts are installed in $exec_prefix/bin, not $prefix/bin + Bug or feature? + [ the consensus on Gnits is that this isn't required. + doubters can work around it anyway ] + +Scan source directories and warn about missing files, eg .c/.h files +that aren't mentioned? + [ distcheck makes this less useful ] + +* quoting bugs + - how to install file with a space in its name? + [ don't bother with this -- make is just too losing ] + +* notice when a .c file is a target somewhere, and auto-add it to + BUILT_SOURCES + [ BUILT_SOURCES are for files that need to be built before anything + else because of hidden dependencies (something .c files are + unlikely to be) ] + +* Scan multiple input files when Makefile is generated? + This would provide flexibility for large projects; subsumes + the "Makefile.tmpl" idea + [ can't do this. must explain why in manual. + basically, solving all the problems is too hard + like: how to remove redundancies between generated .in files + instead should implement `include' directive for Makefile.am ] + +* Should be a way to have "nobuild_PROGRAMS" which aren't even built, + but which could be by running the magic make command. + [ We already have EXTRA_PROGRAMS for this. ] + + +* copyright notice + +Copyright 1994-2012 Free Software Foundation, Inc. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. + + +Local Variables: +mode: outline +End: |