Merge branch 'prove' into testsuite-work
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 5 Nov 2011 15:22:22 +0000 (16:22 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 5 Nov 2011 15:22:22 +0000 (16:22 +0100)
* prove:
  cosmetics: fix typo in 'prove-runner' script

1  2 
ChangeLog
THANKS

diff --cc ChangeLog
+++ b/ChangeLog
+ 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 exporting 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-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
diff --cc THANKS
Simple merge