platform/upstream/automake.git
7 years agoversion 1.15.1 upstream-git
Mathieu Lirzin [Sun, 18 Jun 2017 16:28:32 +0000 (18:28 +0200)]
version 1.15.1

* configure.ac (AC_INIT): Bump version number to 1.15.1.
* m4/amversion.m4: Likewise (auto-updated by "make bootstrap").

7 years agomaint: Update 'git-tag-release' rule
Mathieu Lirzin [Sun, 18 Jun 2017 12:28:40 +0000 (14:28 +0200)]
maint: Update 'git-tag-release' rule

* maintainer/maint.mk (git-tag-release): Use a Git tag message similar
to what the 'do-release-commit-and-tag' script from Gnulib do.

7 years agomaint: Update files from upstream with 'make fetch'
Mathieu Lirzin [Sun, 18 Jun 2017 01:04:25 +0000 (03:04 +0200)]
maint: Update files from upstream with 'make fetch'

* lib/config.guess: Update.
* lib/config.sub: Likewise.
* lib/texinfo.tex: Likewise.

7 years agomaint: Update NEWS
Mathieu Lirzin [Sun, 18 Jun 2017 00:55:17 +0000 (02:55 +0200)]
maint: Update NEWS

* NEWS: Announce important bug fixes.

8 years agobootstrap: Add a rationale for the bootstrap process.
Mathieu Lirzin [Thu, 18 May 2017 12:47:53 +0000 (14:47 +0200)]
bootstrap: Add a rationale for the bootstrap process.

* bootstrap: Explain why we can't simply run 'autoreconf -i'.

8 years agobootstrap: Rename 'bootstrap.sh' to 'bootstrap'.
Mathieu Lirzin [Thu, 18 May 2017 12:50:03 +0000 (14:50 +0200)]
bootstrap: Rename 'bootstrap.sh' to 'bootstrap'.

Follow Gnulib's convention of using either "bootstrap" or "autogen.sh"
file names for development bootstrap scripts.

* bootstrap.sh: Rename to ...
* bootstrap: ... this.
* GNUmakefile (bootstrap): Adapt.
* HACKING: Likewise.
* Makefile.am (EXTRA_DIST): Likewise.
* doc/automake.texi (Future of aclocal)
(Error required file ltmain.sh not found): Likewise.
* maintainer/maint.mk (autodiffs, update-copyright): Likewise.

8 years agoautomake: Update 'read_am_file' docstring.
Mathieu Lirzin [Tue, 16 May 2017 13:59:12 +0000 (15:59 +0200)]
automake: Update 'read_am_file' docstring.

* bin/automake.in (read_am_file): Update docstring which was referring
to a non existent '%contents' variable.

8 years agotests: Never invoke gettextize.
Bruno Haible [Sun, 16 Apr 2017 10:33:40 +0000 (12:33 +0200)]
tests: Never invoke gettextize.

This change fixes automake bug#26514.

* t/gettext-macros.sh: Never invoke gettextize.

8 years agotests: Update "t/txinfo-no-clutter.sh".
Mathieu Lirzin [Thu, 13 Apr 2017 18:26:40 +0000 (20:26 +0200)]
tests: Update "t/txinfo-no-clutter.sh".

This is workaround to a regression introduced by
48107579abadbe857c8299c38d2ca0a3f8f354c8.  With current
"lib/texinfo.tex", 'texi2dvi' is not able to produce a valid output
for a Texinfo document containing a @synindex command.  As a
consequence the test "t/txinfo-no-clutter.sh" was failing.

* t/txinfo-no-clutter.sh: Remove use of @synindex command.

8 years agomaint: Update "lib/texinfo.tex".
Mathieu Lirzin [Sun, 5 Mar 2017 09:57:29 +0000 (10:57 +0100)]
maint: Update "lib/texinfo.tex".

This fixes a regression in 48107579abadbe857c8299c38d2ca0a3f8f354c8
where 'texi2dvi' was not able to produce a valid output for a Texinfo
document without text.  As a consequence the test "t/silent-texi.sh"
was failing.

* lib/texinfo.tex: Update to 2017-03-05.09.

8 years agomaint: Update copyright years to 2017.
Mathieu Lirzin [Thu, 2 Mar 2017 17:55:53 +0000 (18:55 +0100)]
maint: Update copyright years to 2017.

This update has been made with 'make update-copyright'.

8 years agomaint: Update files from upstream with 'make fetch'.
Mathieu Lirzin [Thu, 2 Mar 2017 17:00:46 +0000 (18:00 +0100)]
maint: Update files from upstream with 'make fetch'.

* lib/INSTALL: Update.
* lib/config.guess: Likewise.
* lib/config.sub: Likewise.
* lib/gendocs.sh: Likewise.
* lib/gendocs_template: Likewise.
* lib/gitlog-to-changelog: Likewise.
* lib/gnupload: Likewise.
* lib/texinfo.tex: Likewise.
* lib/update-copyright: Likewise.

8 years agomaint: Update fetch URLs.
Mathieu Lirzin [Thu, 2 Mar 2017 16:50:02 +0000 (17:50 +0100)]
maint: Update fetch URLs.

* maintainer/maint.mk (SV_CVS, SV_GIT_AC): Remove.
(SV_GIT_CF, SV_GIT_GL): Use https for Savannah Git repositories.
(FETCHFILES): Use Gnulib repository as the source of "texinfo.tex",
"gendocs.sh", and "gendocs_template" files.

8 years agodoc: fix typo "requited" => "required"
Mathieu Lirzin [Thu, 23 Feb 2017 15:40:03 +0000 (16:40 +0100)]
doc: fix typo "requited" => "required"

This change fixes automake bug#25413.

* doc/automake.texi (Serial Test Harness): Fix typo.

8 years agoautomake: do not emit rule with two dependents
Jim Meyering [Fri, 9 Sep 2016 01:58:43 +0000 (18:58 -0700)]
automake: do not emit rule with two dependents

On a system using our replacement alloca, make would emit
this warning:
  target '.deps/alloca.Po' given more than once in the same rule
That arose because automake would emit a rule depending on both
./.deps/alloca.Po and .deps/alloca.Po. Normally, duplicate
dependents are avoided by virtue of their names being keys in
the %dep_files hash, but in this case, that particular file
was specified in two different ways.
* bin/automake.in (handle_ALLOCA): When the $dir prefix is empty,
make it './', to ensure that when we add ./.deps/alloca.Po
it is deduped.
See: http://bugs/gnu/org/22702

9 years agopython: add python3.5, python3.4
Paul Eggert [Wed, 20 Apr 2016 22:29:48 +0000 (15:29 -0700)]
python: add python3.5, python3.4

* m4/python.m4 (AM_PATH_PYTHON): Add python3.5, python3.4.

9 years agoautomake: port to Perl 5.22 and later
Paul Eggert [Thu, 31 Mar 2016 23:35:29 +0000 (16:35 -0700)]
automake: port to Perl 5.22 and later

Without this change, Perl 5.22 complains "Unescaped left brace in
regex is deprecated" and this is planned to become a hard error in
Perl 5.26.  See:
http://search.cpan.org/dist/perl-5.22.0/pod/perldelta.pod#A_literal_%22{%22_should_now_be_escaped_in_a_pattern
* bin/automake.in (substitute_ac_subst_variables): Escape left brace.

9 years agoautomake: port better to future gzip
Paul Eggert [Tue, 29 Mar 2016 02:44:19 +0000 (19:44 -0700)]
automake: port better to future gzip

* lib/am/distdir.am (dist-gzip, dist-shar, distcheck):
Port better to future versions of gzip, which are planned to
deprecate the GZIP environment variable (Bug#20132).

9 years agomaint: port time-stamp-time-zone to strict POSIX
Paul Eggert [Tue, 12 Jan 2016 07:22:31 +0000 (23:22 -0800)]
maint: port time-stamp-time-zone to strict POSIX

Set time-stamp-time-zone to "UTC0", not to "UTC", as POSIX defines
TZ="UTC0" not TZ="UTC".

9 years agocompile: add icl to compile wrapper script
Jonathan L Peyton [Tue, 24 Nov 2015 11:19:19 +0000 (12:19 +0100)]
compile: add icl to compile wrapper script

* lib/compile: Have icl be treated similarly to cl
(scriptversion): Update.
* t/ax/am-test-lib.sh (require_tool): Handle icl.
* t/compile7.sh: Add new test file for icl...
* t/list-of-tests.mk (handwritten_TESTS): ...and use it.
* NEWS: Update.
* THANKS: Update.

Copyright-paperwork-exempt: yes
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
10 years agotests: fix a typo-induced bug
Stefano Lattarini [Tue, 6 Jan 2015 12:17:50 +0000 (13:17 +0100)]
tests: fix a typo-induced bug

* t/subobj-vpath-pr13928.sh: Here; we were using $FGREP instead of
$EGREP, oops.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoNEWS: fix a typo
Stefano Lattarini [Tue, 6 Jan 2015 10:18:43 +0000 (11:18 +0100)]
NEWS: fix a typo

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agomaint: update copyright years to 2015 (branch 'micro')
Stefano Lattarini [Mon, 5 Jan 2015 21:48:33 +0000 (22:48 +0100)]
maint: update copyright years to 2015 (branch 'micro')

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agosync: update third-part files from upstream
Stefano Lattarini [Mon, 5 Jan 2015 21:30:30 +0000 (22:30 +0100)]
sync: update third-part files from upstream

* lib/config.sub: This.
* lib/INSTALL, lib/config.guess, lib/gitlog-to-changelog, lib/gnupload,
lib/update-copyright: And this (but only for copyright year update, no
real semantic change)

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agomaint: fix typo in error message of a maintainer-only rule
Stefano Lattarini [Mon, 5 Jan 2015 21:25:21 +0000 (22:25 +0100)]
maint: fix typo in error message of a maintainer-only rule

* maintainer/maint.mk (web-manual-update): Here.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoMerge branch 'minor' into micro after 1.15 release
Stefano Lattarini [Mon, 5 Jan 2015 20:54:00 +0000 (21:54 +0100)]
Merge branch 'minor' into micro after 1.15 release

And bump version number: 1.15 -> 1.15.0a

* minor:
  release: stable minor release 1.15
  NEWS: minor improvements and fixed some typos and grammaros
  docs: "make distcheck" implementation details are not to be abused
  NEWS: improve and adjust in light of the oncoming 1.15 release
  Fix dumb logic error preventing $install_sh from being be overridden
  Expose automake bug#19311
  build: fix race in parallel builds
  init: ensure $ac_aux_dir is defined before being used
  plans: enabling subdir-object by default is blocked on bug#13928
  maint: update copyright years
  maint: sync files from upstream ("make fetch")
  Typofixes in warning messages and manual
  NEWS: a typofix, and better word wrapping
  parallel-tests: avoid possible implicit "make all" in test-suite.log rule
  Allow user to extend .PRECIOUS target
  cosmetics: remove a couple of extra trailing white spaces
  tests: fix a spurious failure on Mac OS X
  docs: make clear the JAVA primary is frozen
  install-sh: a slightly better diagnostic, and tests enhancements
  install-sh: be stricter in catching invalid usages
  tests: more significant names for some tests
  tests: some cosmetic fixes
  tests: more significant names for a test
  docs: drop a few obsolescent FIXME/TODO comments, and associated text
  testsuite harness: report test exit status in log file
  TAP driver: no need to invoke AC_PROG_AWK directly
  TAP driver: remove perl implementation (move it into contrib/)
  NEWS: stop reporting "new" Automake versioning scheme
  cosmetics: untabify the install-sh script
  install-sh: assume that "set -f" and "set +f" work...
  install-sh: assume ${var:-value} works as expected
  install-sh: assume 'dirname' is available and working correctly
  post-release: micro version bump (1.14a)

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agorelease: stable minor release 1.15
Stefano Lattarini [Tue, 30 Dec 2014 23:05:23 +0000 (00:05 +0100)]
release: stable minor release 1.15

* configure.ac (AC_INIT): Bump version number to 1.15.
* m4/amversion.m4: Likewise (auto-updated by "make bootstrap").

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoNEWS: minor improvements and fixed some typos and grammaros
Stefano Lattarini [Tue, 30 Dec 2014 23:02:30 +0000 (00:02 +0100)]
NEWS: minor improvements and fixed some typos and grammaros

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agodocs: "make distcheck" implementation details are not to be abused
Stefano Lattarini [Tue, 30 Dec 2014 19:45:48 +0000 (20:45 +0100)]
docs: "make distcheck" implementation details are not to be abused

* doc/automake.texi: State explicitly and in detail that the exact location
and the exact structure of the subdirectory used by "make distcheck" is to
be considered an implementation detail, which can change at any time.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoNEWS: improve and adjust in light of the oncoming 1.15 release
Stefano Lattarini [Tue, 30 Dec 2014 14:20:00 +0000 (15:20 +0100)]
NEWS: improve and adjust in light of the oncoming 1.15 release

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoMerge branch 'micro' into minor
Stefano Lattarini [Tue, 30 Dec 2014 13:49:46 +0000 (14:49 +0100)]
Merge branch 'micro' into minor

* micro:
  shell-no-trail-bslash: improve diagnostic in case of failure

10 years agoshell-no-trail-bslash: improve diagnostic in case of failure
Stefano Lattarini [Tue, 30 Dec 2014 13:28:52 +0000 (14:28 +0100)]
shell-no-trail-bslash: improve diagnostic in case of failure

* t/ax/shell-no-trail-bslash.in: Here, by fixing a typo in a
variable name and a logic error.
* t/self-check-shell-no-trail-bslash.sh: Enhance to catch the
issue.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoMerge branch 'micro' into minor
Stefano Lattarini [Sun, 28 Dec 2014 15:25:28 +0000 (16:25 +0100)]
Merge branch 'micro' into minor

* micro:
  tests: make script 'shell-no-trail-bslash' simpler and more robust

10 years agotests: make script 'shell-no-trail-bslash' simpler and more robust
Stefano Lattarini [Sun, 28 Dec 2014 13:02:30 +0000 (14:02 +0100)]
tests: make script 'shell-no-trail-bslash' simpler and more robust

This solves spurious failure in the 'check-no-trailing-backslash-in-recipes'
target for Automake-NG.

This is basically a backport of Automake-NG commit v1.14.1-1010-g85aae58;
the point is to minimize the amount of spurious diffs between the mainline
Automake and the Automake-NG source trees.

* t/ax/shell-no-trail-bslash.in: Simplify and fortify.
* t/self-check-shell-no-trail-bslash.sh: Enhance.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoMerge branch 'micro' into minor
Stefano Lattarini [Sat, 27 Dec 2014 15:33:12 +0000 (16:33 +0100)]
Merge branch 'micro' into minor

* micro:
  tests: fix spurious failure in test on TEXINFO_TEX overriding
  tests: avoid some spurious failures on AIX 7.1

10 years agotests: fix spurious failure in test on TEXINFO_TEX overriding
Stefano Lattarini [Sat, 27 Dec 2014 14:49:36 +0000 (15:49 +0100)]
tests: fix spurious failure in test on TEXINFO_TEX overriding

* t/txinfo-override-texinfo-tex.sh: Here.  The issue was pre-existing, but
has been only recently exposed by the fix for automake bug#18286 "distcheck
fails to detect missing files" (see commit v1.14.1-4-g01a7a4a) and by the
BSD make semantics.  To convince yourself this change actually makes sense
semantically, see https://sourceware.org/ml/binutils/2012-06/msg00004.html

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoMerge branch 'aix-testsuite-failures' into micro
Stefano Lattarini [Sat, 27 Dec 2014 14:38:21 +0000 (15:38 +0100)]
Merge branch 'aix-testsuite-failures' into micro

* aix-testsuite-failures:
  tests: avoid some spurious failures on AIX 7.1

10 years agotests: avoid some spurious failures on AIX 7.1
Stefano Lattarini [Sat, 27 Dec 2014 12:52:55 +0000 (13:52 +0100)]
tests: avoid some spurious failures on AIX 7.1

* t/lex-noyywrap.sh: Here.
* t/instmany-mans.sh: And here.
* t/instmany-python.sh: And here.
* t/instmany.sh: And here.
* t/parallel-tests-concurrency.sh: And here.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoMerge branch 'micro' into minor
Stefano Lattarini [Tue, 23 Dec 2014 20:15:18 +0000 (21:15 +0100)]
Merge branch 'micro' into minor

* micro:
  dist: fix bug#18286 "distcheck fails to detect missing files"
  tests: expose automake bug#18286 "distcheck fails to detect missing files"
  include: fix bug in handling of user-defined makefile fragments generation
  tests: expose bug in handling of user-defined makefile fragments generation

10 years agoMerge branch 'distcheck-pr18286' into micro
Stefano Lattarini [Tue, 23 Dec 2014 19:24:46 +0000 (20:24 +0100)]
Merge branch 'distcheck-pr18286' into micro

* distcheck-pr18286:
  dist: fix bug#18286 "distcheck fails to detect missing files"
  tests: expose automake bug#18286 "distcheck fails to detect missing files"

10 years agodist: fix bug#18286 "distcheck fails to detect missing files"
Stefano Lattarini [Tue, 23 Dec 2014 17:39:32 +0000 (18:39 +0100)]
dist: fix bug#18286 "distcheck fails to detect missing files"

BTW, this issue had been already reported in the past:
http://lists.gnu.org/archive/html/automake/2006-09/msg00008.html
http://lists.gnu.org/archive/html/automake/2013-01/msg00049.html

"make distcheck" could sometimes fail to detect missing files in the
distribution tarball, especially in those cases where both the generated
files and their dependencies are explicitly in $(srcdir).  An important
example of this are *generated* makefile fragments included at Automake
time in Makefile.am.  A basic example:

    # -*- Makefile.am -*-

    $(srcdir)/fragment.am: $(srcdir)/data.txt $(srcdir)/preproc.sh
        cd $(srcdir) && $(SHELL) preproc.sh <data.txt >fragment.am

    include $(srcdir)/fragment.am

    ...

If the use forgot to add data.txt and/or preproc.sh in the distribution
tarball, "make distcheck" would have erroneously succeeded!

The reason is that, while $(srcdir)/data.txt does not exist, make also
looks in $(srcdir)/$(srcdir)/data.txt, and in the distcheck-issued
VPATH build where $(srcdir) is '..', that file exists, as it is
part of the original development directory.

* t/distdir.am (distcheck): Adjust to have the build directory be
'$(distdir)/_build/sub' rather than just '$(distdir)/_build'.  Thanks
Nicola Fontana for the suggestion.
* t/distcheck-pr18286.sh: Enhance and tighten a little.
* t/list-of-tests.mk (XFAIL_TESTS): Remove 't/distcheck-pr18286.sh',
as it's now passing.
* t/subdir-am-cond.sh: Adjust to avoid a fully spurious failure due
to the new distcheck semantics.
* t/subdir-ac-subst.sh: Likewise.
* t/dejagnu-relative-srcdir.sh: Likewise.
* t/txinfo-builddir.sh: Likewise.
* NEWS: Update.

Helped-by: Nicola Fontana <ntd@entidi.it>
Helped-by: Peter Johansson <trojkan@gmail.com>
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agotests: expose automake bug#18286 "distcheck fails to detect missing files"
Stefano Lattarini [Tue, 23 Dec 2014 10:36:20 +0000 (11:36 +0100)]
tests: expose automake bug#18286 "distcheck fails to detect missing files"

* t/distcheck-pr18286.sh: New test, still XFAILing.
* t/list-of-tests.mk: Add it.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoMerge branch 'am-deps' into micro
Stefano Lattarini [Tue, 23 Dec 2014 16:27:30 +0000 (17:27 +0100)]
Merge branch 'am-deps' into micro

* am-deps:
  include: fix bug in handling of user-defined makefile fragments generation
  tests: expose bug in handling of user-defined makefile fragments generation

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoinclude: fix bug in handling of user-defined makefile fragments generation
Stefano Lattarini [Tue, 23 Dec 2014 12:10:21 +0000 (13:10 +0100)]
include: fix bug in handling of user-defined makefile fragments generation

If a user defined one single Makefile fragment to be included (via Automake
includes) in his main Makefile.am, and gave a rule to generate that file
from other data, Automake used to spuriously complain about with something
like "overrides Automake target '$(srcdir)/foo.am".  This change remove that
spurious error (via a simple hack rather than a systematic change, but oh
well).

* lib/am/configure.am (%MAKEFILE-IN-DEPS%) [?HAVE-MAKEFILE-IN-DEPS?]: Add
a trailing "$(am__empty)" to the list of targets, which is enough to trick
Automake into not complaining about "duplicated targets" in case the
'%MAKEFILE-IN-DEPS%' list expands to a single target that is also declared
in some user-defined rule.
* t/list-of-tests.mk (XFAIL_TESTS): Remove now-passing test
't/am-include-only-one-generated-fragment.sh'.
* NEWS: Update.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agotests: expose bug in handling of user-defined makefile fragments generation
Stefano Lattarini [Tue, 23 Dec 2014 11:11:58 +0000 (12:11 +0100)]
tests: expose bug in handling of user-defined makefile fragments generation

If a user defines one single Makefile fragment to be included (via Automake
includes) in his main Makefile.am, and givse a rule to generate that file
from other data, Automake will spuriously complain about with something
like "overrides Automake target '$(srcdir)/foo.am".

* t/am-include-only-one-generated-fragment.sh: Expose the bug (this test
is still XFAILing).
* t/list-of-tests.mk: Add the new test.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoMerge branch 'micro' into minor
Stefano Lattarini [Mon, 22 Dec 2014 16:56:22 +0000 (17:56 +0100)]
Merge branch 'micro' into minor

* micro:
  cleanup: refactor code to initialize DIST_COMMON
  dist: ordering of files in DIST_COMMON is deterministic now
  tests: refactor some tests on DIST_COMMON
  maint: make output of 'gen-testsuite-part' deterministic
  When computing lispdir, don't load emacs site wide init file.
  PATH: quote $(PATH_SEPARATOR) as well
  Improve detection of GNU make, avoiding "Arg list too long" errors.

10 years agocleanup: refactor code to initialize DIST_COMMON
Stefano Lattarini [Mon, 22 Dec 2014 12:39:30 +0000 (13:39 +0100)]
cleanup: refactor code to initialize DIST_COMMON

There is not need to make that an Automake variable early,
only to later get and munge its contents, and use the new
content to redefine the variable.

* bin/automake.in (@dist_common): New global variable.
(push_dist_common, handle_dist): Use it.
(handle_dist): Define am__DIST_COMMON instead of DIST_COMMON
directly.
(initialize_per_input): Reset it to empty.
($configure_dist_common): Turn this scalar variable ...
(@configure_dist_common): ... into this array variable.
(handle_dist): Adjust.
(required_file_check_or_copy): Update and wrap some comments.
* lib/am/distdir.am (DIST_COMMON): Append $(am__DIST_COMMON).
* t/distcom2.sh: Tighten a little.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agodist: ordering of files in DIST_COMMON is deterministic now
Stefano Lattarini [Mon, 22 Dec 2014 10:20:14 +0000 (11:20 +0100)]
dist: ordering of files in DIST_COMMON is deterministic now

It had likely stopped being deterministic due to the new perl behavior
of having non-deterministic order of numerating hash keys:
<http://search.cpan.org/dist/perl-5.18.0/pod/perldelta.pod#Hash_randomization>
<http://onionstand.blogspot.ie/2012/12/are-you-relying-on-hash-keys-being.html>
See also similar commit v1.14-19-g52e6404, albeit in this case the issue
is likely coming from autom4te/autoconf, not from automake itself.

Fixes automake bug http://debbugs.gnu.org/17908

* bin/automake.in (handle_dist): Sort @dist_common.
(print_autodist_files): Swap invocations of 'sort' and 'uniq', for
consistency with the new code in 'handle_dist' and to get rid of a
minor hack.
* NEWS: Update.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agotests: refactor some tests on DIST_COMMON
Stefano Lattarini [Mon, 22 Dec 2014 15:59:38 +0000 (16:59 +0100)]
tests: refactor some tests on DIST_COMMON

So that they prefer checking the semantics of the generated Makefiles,
rather than grepping their content.  This will be useful in an upcoming
refactoring.

* t/distcom-subdir.sh: Adjust this test.
* t/distcom2.sh: And this.
* t/distcom3.sh: And this.
* t/distcom4.sh: And this.
* t/distcom5.sh: And this.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agomaint: make output of 'gen-testsuite-part' deterministic
Stefano Lattarini [Mon, 22 Dec 2014 11:39:05 +0000 (12:39 +0100)]
maint: make output of 'gen-testsuite-part' deterministic

So that diffs displayed by the 'compare-autodiffs' target are
less spurious and more useful.

* gen-testsuite-part: Sort keys of %deps_extractor, %wrapper_setups
and %depmodes before iterating on them.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoWhen computing lispdir, don't load emacs site wide init file.
Andrew Burgess [Wed, 30 Jul 2014 16:41:15 +0000 (17:41 +0100)]
When computing lispdir, don't load emacs site wide init file.

When computing the lispdir emacs was previously invoked with the '-q'
option to avoid loading the users initialisation files, however, the
site wide initialisation file was still loaded, in some cases this can
cause emacs to hang, with the result that a configure can also hang.

The lisp code that aclocal causes to be executed reduces the load-path
list (in emacs) to empty.  The load-path is used by emacs to find
packages which it wants to load.  Currently, if emacs tries to auto
load a package during shut down, and the package is not found, then
emacs will hang.  This does seem like an emacs bug, but protecting
against this in aclocal is simply a case of not loading the site wide
initialisation file.

In this patch then the '-q' option to emacs is replaced with '-Q',
this has the same, the '-Q' option is similar to '-q --no-site-file
--no-splash'.

* doc/automake.texi (Hard-Coded Install Paths): Update explanation of
emacs code used to get lispdir.
* m4/lispdir.m4 (AM_PATH_LISPDIR): Update emacs flags.

Copyright-paperwork-exempt: yes
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoPATH: quote $(PATH_SEPARATOR) as well
KO Myung-Hun [Fri, 7 Nov 2014 14:41:28 +0000 (23:41 +0900)]
PATH: quote $(PATH_SEPARATOR) as well

On OS/2, $(PATH_SEPARATOR) is ';'. Without quote, it is recognized as
a mark of end of sentence.

* Makefile.am: quote $(PATH_SEPARATOR) as well.
* t/Makefile.inc: Likewise.

Copyright-paperwork-exempt: yes
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoImprove detection of GNU make, avoiding "Arg list too long" errors.
Stefano Lattarini [Fri, 19 Dec 2014 14:10:09 +0000 (15:10 +0100)]
Improve detection of GNU make, avoiding "Arg list too long" errors.

Such errors could take place when the main makefile included too many
sub-makefiles, making $(MAKEFILE_LIST) too long and causing the
recipes $(am__is_gnu_make) to exceed the shell's command-line length
limits.  This is not a theoretical issue: it could happen for projects
having lots of C/C++ sources and using automatic dependency tracking,
which created an included .Po sub-makefile for each of such sources.

Fixes http://debbugs.gnu.org/18744

* lib/am/header-vars.am (am__is_gnu_make): Fix the logic to avoid
the use of $(MAKEFILE_LIST).
* NEWS: Update.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoMerge branch 'micro' into minor
Stefano Lattarini [Fri, 19 Dec 2014 12:31:21 +0000 (13:31 +0100)]
Merge branch 'micro' into minor

* micro:
  Fix stupid typo in test, causing spurious failure

10 years agoFix stupid typo in test, causing spurious failure
Stefano Lattarini [Fri, 19 Dec 2014 12:30:36 +0000 (13:30 +0100)]
Fix stupid typo in test, causing spurious failure

* t/aminit-trailing-dnl-comment-pr16841.sh: s/greop/grep/

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoMerge branch 'micro' into minor
Stefano Lattarini [Fri, 19 Dec 2014 12:09:39 +0000 (13:09 +0100)]
Merge branch 'micro' into minor

* micro:
  sync: update third-part files from upstream
  Make sure AM_INIT_AUTOMAKE has a trailing newline
  dist: adjust warning messages about shar and tarZ deprecation
  docs: improve description of ${PACKAGE}, ${VERSION}, and similar variables

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoMerge branch 'pr16841' into micro
Stefano Lattarini [Fri, 19 Dec 2014 11:45:16 +0000 (12:45 +0100)]
Merge branch 'pr16841' into micro

* pr16841:
  Make sure AM_INIT_AUTOMAKE has a trailing newline

10 years agosync: update third-part files from upstream
Stefano Lattarini [Fri, 19 Dec 2014 11:43:47 +0000 (12:43 +0100)]
sync: update third-part files from upstream

* lib/config.guess: This.
* lib/config.sub: And this.
* lib/gitlog-to-changelog: And this.
* lib/gnupload: And this.
* lib/update-copyright: And this.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoMake sure AM_INIT_AUTOMAKE has a trailing newline
Stefano Lattarini [Fri, 19 Dec 2014 10:44:12 +0000 (11:44 +0100)]
Make sure AM_INIT_AUTOMAKE has a trailing newline

This used to be the case until Automke 1.13, but we broke it in
Automake 1.14 (see commit v1.13.1-71-gf78b0f0).  This caused
issues like http://debbugs.gnu.org/16841

* m4/init.m4 (AM_INIT_AUTOMAKE): Adjust.
* t/aminit-trailing-dnl-comment-pr16841.sh: New test.
* t/list-of-tests.mk: Add it.
* NEWS, THANKS: Update.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoMerge branches 'dist-warn-pr19108' and 'docs-pr16623' into micro
Stefano Lattarini [Fri, 19 Dec 2014 10:09:45 +0000 (11:09 +0100)]
Merge branches 'dist-warn-pr19108' and 'docs-pr16623' into micro

* dist-warn-pr19108:
  dist: adjust warning messages about shar and tarZ deprecation

* docs-pr16623:
  docs: improve description of ${PACKAGE}, ${VERSION}, and similar variables

10 years agodist: adjust warning messages about shar and tarZ deprecation
Aharon Robbins [Fri, 19 Dec 2014 10:08:15 +0000 (11:08 +0100)]
dist: adjust warning messages about shar and tarZ deprecation

They were swapped.  Reported in http://debbugs.gnu.org/19108.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agodocs: improve description of ${PACKAGE}, ${VERSION}, and similar variables
Stefano Lattarini [Wed, 17 Dec 2014 19:45:47 +0000 (20:45 +0100)]
docs: improve description of ${PACKAGE}, ${VERSION}, and similar variables

In particular, suggesting that $PACKAGE and $VERSION should be aliases of
the $PACKAGE_TARNAME and $PACKAGE_VERSION definitions coming from AC_INIT,
and not be defined via an obsolete 2-argument invocation of AM_INIT_AUTOMAKE;
and why that is the best default, given all our historical baggage.

See discussion in http://debbugs.gnu.org/16623 for more information and
background.

* doc/automake.texi: Adjust.
* THANKS: Update.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoFix dumb logic error preventing $install_sh from being be overridden
Thomas Jahns [Thu, 7 Aug 2014 09:03:06 +0000 (11:03 +0200)]
Fix dumb logic error preventing $install_sh from being be overridden

* m4/install-sh.m4: Here.
* THANKS: Update.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoMerge branches 'pr19311' and 'micro' into minor
Stefano Lattarini [Wed, 17 Dec 2014 16:53:32 +0000 (17:53 +0100)]
Merge branches 'pr19311' and 'micro' into minor

* pr19311:
  Expose automake bug#19311
  build: fix race in parallel builds

* micro:
  Automake docs: fix typos and use of British English
  build: fix race in parallel builds

10 years agoAutomake docs: fix typos and use of British English
Karl Berry [Wed, 17 Dec 2014 16:47:59 +0000 (17:47 +0100)]
Automake docs: fix typos and use of British English

* doc/automake.texi: Here.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoExpose automake bug#19311
Stefano Lattarini [Wed, 17 Dec 2014 14:14:16 +0000 (15:14 +0100)]
Expose automake bug#19311

AC_PROG_CC called before AC_CONFIG_AUX_DIR can silently force wrong
$ac_aux_dir definition.

* t/auxdir-pr19311.sh: New.
* t/list-of-tests.mk: Add it as an XFAIL test.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agobuild: fix race in parallel builds
Paul Eggert [Sat, 23 Aug 2014 14:55:28 +0000 (07:55 -0700)]
build: fix race in parallel builds

Reported by Friedrich Beckmann in: http://bugs.gnu.org/18301
* lib/am/texi-vers.am (?DIRSTAMP?): Put the process-ID into the
temporary file name.  Use a similar temporary in the source dir.

10 years agobuild: fix race in parallel builds
Paul Eggert [Sat, 23 Aug 2014 14:55:28 +0000 (07:55 -0700)]
build: fix race in parallel builds

Reported by Friedrich Beckmann in: http://bugs.gnu.org/18301
* lib/am/texi-vers.am (?DIRSTAMP?): Put the process-ID into the
temporary file name.  Use a similar temporary in the source dir.

11 years agoinit: ensure $ac_aux_dir is defined before being used
Stefano Lattarini [Mon, 21 Apr 2014 16:12:41 +0000 (17:12 +0100)]
init: ensure $ac_aux_dir is defined before being used

Since we use '$ac_aux_dir' to define '$am_aux_dir', we need
to ensure the former has been initialized before we try to
define the latter, otherwise the definition:

   am_aux_dir=`cd $ac_aux_dir && pwd`

will set '$am_aux_dir' to '$HOME', likely causing weird and
unexpected behaviours.

This change fixes automake bug#15981.

* m4/auxdir.m4 (AM_AUX_DIR_EXPAND): AC_REQUIRE expansion
of 'AC_CONFIG_AUX_DIR_DEFAULT'. Fix redundant comment and
AC_PREREQ, add extra quoting around '$ac_aux_dir'.
* t/auxdir-pr15981.sh: New test.
* t/auxdir-cc-pr15981.sh: Likewise.
* t/list-of-tests.mk (handwritten_TESTS): Add them.
* THANKS, NEWS: Update.
* bin/automake.in: Fix a harmless typo in comments, that
I happened to notice while writing this patch.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agoplans: enabling subdir-object by default is blocked on bug#13928
Stefano Lattarini [Mon, 21 Apr 2014 14:31:49 +0000 (15:31 +0100)]
plans: enabling subdir-object by default is blocked on bug#13928

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agomaint: update copyright years
Stefano Lattarini [Mon, 21 Apr 2014 14:10:54 +0000 (15:10 +0100)]
maint: update copyright years

We've been in 2014 already for few months now...

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agomaint: sync files from upstream ("make fetch")
Stefano Lattarini [Mon, 21 Apr 2014 14:08:34 +0000 (15:08 +0100)]
maint: sync files from upstream ("make fetch")

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agoTypofixes in warning messages and manual
Stefano Lattarini [Mon, 21 Apr 2014 09:22:29 +0000 (10:22 +0100)]
Typofixes in warning messages and manual

Fixes automake bug#16827 and bug#16997.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agoMerge branch 'micro' into minor
Stefano Lattarini [Mon, 21 Apr 2014 09:09:25 +0000 (10:09 +0100)]
Merge branch 'micro' into minor

* micro:
  doc: fix encoding error with UTF-8 characters

11 years agodoc: fix encoding error with UTF-8 characters
Paul Eggert [Sat, 4 Jan 2014 04:52:29 +0000 (20:52 -0800)]
doc: fix encoding error with UTF-8 characters

* doc/automake.texi: Specify @documentencoding and
@documentlanguage, to prevent encoding errors for parts of this
input file that are UTF-8.  This also causes the .info output to
use curly quotes, which is easier to read though it does assume
UTF-8 support.

11 years agoNEWS: a typofix, and better word wrapping
Stefano Lattarini [Tue, 31 Dec 2013 00:16:12 +0000 (01:16 +0100)]
NEWS: a typofix, and better word wrapping

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agoparallel-tests: avoid possible implicit "make all" in test-suite.log rule
Stefano Lattarini [Mon, 30 Dec 2013 22:21:03 +0000 (23:21 +0100)]
parallel-tests: avoid possible implicit "make all" in test-suite.log rule

This change fixes automake bug#16302.

* lib/am/check.am ($(TEST_SUITE_LOG)): Avoid running "make $redo_logs"
when $redo_logs expands to empty, since in that case we are actually
ending up invoking a full "make all".  That shouldn't be required, and
can cause slowdowns for people implementing their extra "laziness
wrappers" around check-TESTS (automake bug#16302).
* NEWS: Update.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agoAllow user to extend .PRECIOUS target
Stefano Lattarini [Thu, 26 Dec 2013 18:31:15 +0000 (19:31 +0100)]
Allow user to extend .PRECIOUS target

References:
<http://lists.freedesktop.org/archives/systemd-devel/2013-July/012155.html>
<http://lists.gnu.org/archive/html/automake/2013-07/msg00011.html>

* bin/automake.in: Adjust to ensure we handle '.PRECIOUS' the same way
we do for '.PHONY' and '.MAKE'.
* lib/Automake/Rule.pm: Likewise.
* t/precious.sh: New test.
* t/list-of-tests.mk: Add it.
* t/phony.sh: Enhance a little while at it.
* NEWS: Update.
* THANKS: Likewise.

Reported-by: Holger Hans Peter Freyther <holger@freyther.de>
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agocosmetics: remove a couple of extra trailing white spaces
Stefano Lattarini [Thu, 26 Dec 2013 16:05:27 +0000 (17:05 +0100)]
cosmetics: remove a couple of extra trailing white spaces

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agotests: fix a spurious failure on Mac OS X
Stefano Lattarini [Thu, 26 Dec 2013 15:52:06 +0000 (16:52 +0100)]
tests: fix a spurious failure on Mac OS X

This change fixes bug#14706.

* lib/depcomp2.sh: Also cater to spurious diagnostic from GNU rm,
not only from Apple's rm.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agodocs: make clear the JAVA primary is frozen
Stefano Lattarini [Thu, 26 Dec 2013 14:46:13 +0000 (15:46 +0100)]
docs: make clear the JAVA primary is frozen

* doc/automake.texi: Here.  The JAVA primary is broken in several ways,
and will no longer be developed, not even for bug fixes.

See also automake bugs #9088, #8662 and #8540.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agoMerge branch 'install-sh-improvements' into minor
Stefano Lattarini [Thu, 26 Dec 2013 00:11:25 +0000 (01:11 +0100)]
Merge branch 'install-sh-improvements' into minor

* install-sh-improvements:
  install-sh: a slightly better diagnostic, and tests enhancements
  install-sh: be stricter in catching invalid usages

11 years agoinstall-sh: a slightly better diagnostic, and tests enhancements
Stefano Lattarini [Wed, 25 Dec 2013 23:33:05 +0000 (00:33 +0100)]
install-sh: a slightly better diagnostic, and tests enhancements

* lib/install-sh: When called with no non-option arguments and the '-t'
option with an argument that is not an existing directory, have the
diagnostic output complain about the lack of required arguments rather
than about the bad argument passed to '-t'.
* t/install-sh-unittests.sh: Enhance to also check diagnostic printed
in cases of expected failure.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agoinstall-sh: be stricter in catching invalid usages
Stefano Lattarini [Wed, 25 Dec 2013 23:07:27 +0000 (00:07 +0100)]
install-sh: be stricter in catching invalid usages

Such usages (which are rejected by GNU install as well) are:

  - options -d and -t used together;

  - argument passed to option -t must be a directory;

  - if there are two or more SOURCEFILE arguments, the
    DESTINATION argument must be a directory.

Note that we still allow the use of options -d and -T together, by
making -d take the precedence; this is for compatibility with GNU
install.

This change fixes, among other things, automake bug#15376.

* lib/install-sh: Adjust.
* t/install-sh-unittests.sh: Enhance.
* NEWS: Update.
* THANKS: Add reporter of bug#15376.

Helped-by: Tobias Hansen <thansen@debian.org>
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agotests: more significant names for some tests
Stefano Lattarini [Wed, 25 Dec 2013 16:07:11 +0000 (17:07 +0100)]
tests: more significant names for some tests

* t/insh2.sh: Rename...
* t/dist-install-sh.sh: ... like this.
* t/instsh.sh: Rename...
* t/add-missing-install-sh.sh: ... like this.
* t/instsh2.sh: Rename...
* t/install-sh-unittests.sh: ... like this.
* t/instsh3.sh: Rename...
* t/install-sh-option-C.sh: ... like this.
* t/list-of-tests.mk: Adjust.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agotests: some cosmetic fixes
Stefano Lattarini [Wed, 25 Dec 2013 15:57:07 +0000 (16:57 +0100)]
tests: some cosmetic fixes

* t/instdat.sh: Here.
* t/instdat2.sh: And here.
* t/instsh.sh: And here.
* t/instsh3.sh: And here.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agotests: more significant names for a test
Stefano Lattarini [Wed, 25 Dec 2013 15:51:05 +0000 (16:51 +0100)]
tests: more significant names for a test

* t/install2.sh: Rename...
* t/dist-with-unreadable-makefile-fails.sh: ... like this.
* t/list-of-tests.mk: Adjust.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agoMerge branches 'fix-pr11814' and 'drop-perl-tap-driver' into minor
Stefano Lattarini [Wed, 25 Dec 2013 15:44:17 +0000 (16:44 +0100)]
Merge branches 'fix-pr11814' and 'drop-perl-tap-driver' into minor

* fix-pr11814:
  docs: drop a few obsolescent FIXME/TODO comments, and associated text
  testsuite harness: report test exit status in log file

* drop-perl-tap-driver:
  TAP driver: remove perl implementation (move it into contrib/)

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agodocs: drop a few obsolescent FIXME/TODO comments, and associated text
Stefano Lattarini [Tue, 24 Dec 2013 20:16:23 +0000 (21:16 +0100)]
docs: drop a few obsolescent FIXME/TODO comments, and associated text

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agotestsuite harness: report test exit status in log file
Stefano Lattarini [Tue, 24 Dec 2013 16:45:18 +0000 (17:45 +0100)]
testsuite harness: report test exit status in log file

The exit status of a test should be reported in the test logs, so
that one can see at a glance whether the test has succeeded or failed,
without having to look also into the corresponding .trs file.

This fixes automake bug#11814.

* lib/test-driver: Also report the test script exit status in the
test log (as the last line).
* t/check-exit-status-reported.sh: Test this new behaviour.
* t/list-of-tests.mk: Add the new test.
* t/ax/test-lib.sh( am_exit_trap): No longer log the test exit status;
this has been made redundant by the change to 'test-driver'.  While at
it, fix an imperfect quoting.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agoTAP driver: no need to invoke AC_PROG_AWK directly
Stefano Lattarini [Tue, 24 Dec 2013 21:02:15 +0000 (22:02 +0100)]
TAP driver: no need to invoke AC_PROG_AWK directly

It is already required by AM_INIT_AUTOMAKE anyway.

* doc/automake.texi: Adjust examples.
* t/tap-doc2.sh: Adjust documentation-tracking test.
* m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly tell that the AC_PROG_AWK
requirement is also needed whenever the TAP driver is used.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agoTAP driver: remove perl implementation (move it into contrib/)
Stefano Lattarini [Tue, 24 Dec 2013 15:27:28 +0000 (16:27 +0100)]
TAP driver: remove perl implementation (move it into contrib/)

That implementation was only meant as a standard against which the
portable awk+shell implementation was to be measured.  Now, since
Automake 1.12, the latter implementation is fully functional and
already used in the wild, and in fact feature-par with the perl
implementation.  So the perl implementation is now just slowing
down and complicating our testsuite.  Let's move it to 'contrib/'
(we don't want to remove it, in case someone is actually using it
in the wild).

* lib/tap-driver.pl: Move it ...
* contrib/tap-driver.pl: ... here.  While at it, convert quoting
`like this' to quoting 'like this', and remove an obsolescent FIXME
comment.
* lib/Makefile.inc (dist_script_DATA): Drop '%D%/tap-driver.pl'.
* Makefile.am (EXTRA_DIST): Add 'contrib/tap-driver.pl'.
* doc/automake.texi: Remove one stray reference to 'tap-driver.pl',
and reference 'tap-driver.sh' instead, as intended.
* t/ax/am-test-lib.sh ($am_tap_implementation): Delete definition and
uses.
(fetch_tap_driver): Simplify to unconditionally assume the shell+awk
implementation of the TAP driver is used.
(get_shell_script): Make more flexible so that it can cater to the
needs of 'fetch_tap_driver()'.
* t/tap-bad-prog.tap: Likewise.
* t/tap-bailout-leading-space.sh: Likewise.
* t/tap-signal.tap: Likewise.
* t/tap-test-number-0.sh: Likewise.
* t/test-driver-cond.sh: Use 'tap-driver.sh' instead of 'tap-driver.pl'.
* gen-testsuite-part (%test_generators): Do not generate sister tests
that use the perl TAP driver rather than the shell+awk one.
* NEWS: Update.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agoNEWS: stop reporting "new" Automake versioning scheme
Stefano Lattarini [Tue, 24 Dec 2013 14:28:23 +0000 (15:28 +0100)]
NEWS: stop reporting "new" Automake versioning scheme

It's actually old news by now.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agoMerge branch 'micro' into minor
Stefano Lattarini [Tue, 24 Dec 2013 14:26:17 +0000 (15:26 +0100)]
Merge branch 'micro' into minor

* micro:
  post-release: micro version bump to 1.14.1a devel version
  release: stable micro release 1.14.1
  HACKING: minor clarification
  tests: make install-info-dir.sh print more debugging info
  tests: remove too-brittle test tap-realtime.sh
  maintainer: am-ft: add option to cater to clock skews
  sync: update INSTALL, config.guess and config.sub from upstream
  TAP driver: cosmetic fixes

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agopost-release: micro version bump to 1.14.1a devel version
Stefano Lattarini [Tue, 24 Dec 2013 14:07:40 +0000 (15:07 +0100)]
post-release: micro version bump to 1.14.1a devel version

* configure.ac (AC_INIT): Bump version number to 1.14.1a.
* m4/amversion.m4: Likewise (auto-updated by "make bootstrap").

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agorelease: stable micro release 1.14.1 v1.14.1
Stefano Lattarini [Tue, 24 Dec 2013 13:13:58 +0000 (14:13 +0100)]
release: stable micro release 1.14.1

* configure.ac (AC_INIT): Bump version number to 1.14.1.
* m4/amversion.m4: Likewise (auto-updated by "make bootstrap").

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agoHACKING: minor clarification
Stefano Lattarini [Tue, 24 Dec 2013 12:49:44 +0000 (13:49 +0100)]
HACKING: minor clarification

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agotests: make install-info-dir.sh print more debugging info
Stefano Lattarini [Mon, 23 Dec 2013 18:56:55 +0000 (19:56 +0100)]
tests: make install-info-dir.sh print more debugging info

With the hope that this will shed more light on bug#14601

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agotests: remove too-brittle test tap-realtime.sh
Stefano Lattarini [Mon, 23 Dec 2013 18:12:09 +0000 (19:12 +0100)]
tests: remove too-brittle test tap-realtime.sh

* t/tap-realtime.sh: Delete.  It has always been brittle, but now
it's also causing spurious failures when mawk is used as the awk
implementation in tap-driver.sh (see bug#14601).
* t/list-of-tests.mk: Adjust.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
11 years agomaintainer: am-ft: add option to cater to clock skews
Stefano Lattarini [Mon, 23 Dec 2013 17:12:20 +0000 (18:12 +0100)]
maintainer: am-ft: add option to cater to clock skews

* maintainer/am-ft: Add option '-S', giving a number of seconds to sleep
after copying the tarball to the remote system and before unpacking,
building and testing it.  This is to cater to situations where the clock
of the remote system is skewed (in the past) w.r.t. the clock the local
system the tarball has been built on.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>