]> git.ipfire.org Git - thirdparty/automake.git/log
thirdparty/automake.git
7 years agoMerge branch 'release' into maint maint
Mathieu Lirzin [Sun, 25 Feb 2018 22:03:05 +0000 (23:03 +0100)] 
Merge branch 'release' into maint

7 years agoversion 1.16 v1.16
Mathieu Lirzin [Sun, 25 Feb 2018 19:47:15 +0000 (20:47 +0100)] 
version 1.16

* configure.ac (AC_INIT, APIVERSION): Bump version number to 1.16.
* m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
* NEWS: Record release version.

7 years agomaint: Update INSTALL
Mathieu Lirzin [Sun, 25 Feb 2018 17:52:38 +0000 (18:52 +0100)] 
maint: Update INSTALL

* INSTALL: Use single quotes.

7 years agotests: Remove tests intended only for the 'next' branch
Mathieu Lirzin [Sun, 25 Feb 2018 15:45:32 +0000 (16:45 +0100)] 
tests: Remove tests intended only for the 'next' branch

The commit 199e7a445040270fa5ef67623c56cde40d765199 "Prefer https: URLS"
which is a cherry-pick of b09d945b795ab9deed2bc457289cd5f41c506b50 from
'next' to 'master' has mistakenly copied some tests only present on the
'next' branch.

* t/am-prog-mkdir-p.sh: Delete.
* t/txinfo-no-split.sh: Likewise.

7 years agomaint: Update files from upstream with 'make fetch'
Mathieu Lirzin [Sun, 25 Feb 2018 14:10:50 +0000 (15:10 +0100)] 
maint: Update files from upstream with 'make fetch'

* lib/config.guess: Update
* 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.

7 years agopython: Avoid exceeding command-line length limit
Mathieu Lirzin [Sat, 3 Feb 2018 23:09:31 +0000 (00:09 +0100)] 
python: Avoid exceeding command-line length limit

With Python implementations following PEP-3174, a large number of files
are installed in the ‘__pycache__’ directory.  As a consequence
“t/instmany-python.sh” test was failing due to the
‘uninstall-pythonPYTHON’ target deleting installed files in a single
‘rm’ command.  Doing that in multiple steps avoids exceeding the
command-line length limit.  This fixes bug#30335.

* lib/am/python.am (uninstall-%DIR%PYTHON): For byte-compiled files
installed in '__pycache__' directory, uninstall them by batch of 40.
[?FIRST?] (am__pep3147_tweak): Adapt.

7 years agotests: Don't check 'Getopt::Long' corner cases
Mathieu Lirzin [Thu, 18 Jan 2018 10:19:13 +0000 (11:19 +0100)] 
tests: Don't check 'Getopt::Long' corner cases

Depending on the installed 'Getopt::Long' perl module, command-line
handling may vary a bit.  As a consequence we prefer not to check
command-line corners cases.  This change fixes automake bug#29638.

* t/aclocal.sh (am_create_testdir): Don't expect "--versi" to be
interpreted as "--version".
* t/automake-cmdline.tap: Don't expect "--vers" to be interpreted as
"--version" and things after "--" to be interpreted as file arguments.
(do_check): Display the actual command output.
* t/maken3.sh (check_targets): "--force" is not a documented option, so
don't use it.

7 years agopython: Generate python interpreter list
Mathieu Lirzin [Thu, 1 Feb 2018 12:51:03 +0000 (13:51 +0100)] 
python: Generate python interpreter list

_AM_PYTHON_INTERPRETER_LIST is used by AM_PYTHON_PATH to autodetect
Python programs whose names correspond to a specific Python
version (e.g. python3.6).  Previously this list was updated manually.
The automatic support of newer versions (up to 4.0 excluded) fixes
bug#28160.

* m4/python.m4 (am_py_min_ver, am_py_max_ver): New macros.
(_AM_PYTHON_INTERPRETER_LIST): Generate this list instead of hard-coding
it.  Implementation is taken from GNU Pyconfigure.

7 years agotests: Improve comment in 'txinfo-many-output-formats.sh'
Mathieu Lirzin [Fri, 19 Jan 2018 14:54:46 +0000 (15:54 +0100)] 
tests: Improve comment in 'txinfo-many-output-formats.sh'

* t/txinfo-many-output-formats.sh: Explain why AM_MAKEINFOFLAGS is set
with an invalid option.

7 years agotests: Distribute DEJATOOL files manually
Mathieu Lirzin [Thu, 18 Jan 2018 23:41:31 +0000 (00:41 +0100)] 
tests: Distribute DEJATOOL files manually

"t/check12.sh" was failing because files declared in DEJATOOL are not
automatically distributed.  The test running 'make distcheck' couldn't succeed
since some scripts were not distributed.  This fixes automake bug#26738.

* t/check12.sh (Makefile.am): Distribute files from DEJATOOL.

7 years agotests: Let 'ltorder.sh' run successfully with Guix dynamic loader
Mathieu Lirzin [Thu, 18 Jan 2018 23:38:34 +0000 (00:38 +0100)] 
tests: Let 'ltorder.sh' run successfully with Guix dynamic loader

* t/ltorder.sh: Set GUIX_LD_WRAPPER_ALLOW_IMPURITIES environment variable to
unlock the dynamic loader provided by GNU Guix.

7 years agotests: Fix various 'flex' compilation issues
Mathieu Lirzin [Thu, 18 Jan 2018 22:51:49 +0000 (23:51 +0100)] 
tests: Fix various 'flex' compilation issues

* t/lex-clean-cxx.sh (parsefoo.lxx): Declare 'yylex':
(mainfoo.cc): Make declaration compatible with C++.
* t/lex-depend-cxx.sh (joe.ll): Declare 'yylex'.
* t/silent-many-languages.sh (Makefile.am, sub/Makefile.am): Link -lfl only
with 'fo2' and 'sub/ba2' which are the only program needing it.
(foo5.l): Define 'isatty'.
(foo6.y): Declare 'yylex'.

7 years agotests: Check GCS conformance of 'aclocal' command-line interface
Mathieu Lirzin [Thu, 18 Jan 2018 10:00:19 +0000 (11:00 +0100)] 
tests: Check GCS conformance of 'aclocal' command-line interface

* t/aclocal.sh: Check that 'aclocal' support the --version and --help
command-line options.

7 years agocontrib: Add Guile custom test driver using SRFI-64 test harness
Mathieu Lirzin [Wed, 17 Jan 2018 23:12:06 +0000 (00:12 +0100)] 
contrib: Add Guile custom test driver using SRFI-64 test harness

This sets a home for a script already used by GNU Guix and GNU Mcron.

* contrib/test-driver.scm: New test driver script.
* NEWS: Update.

7 years agomaint: Document how to use Guix for Automake development
Mathieu Lirzin [Mon, 15 Jan 2018 15:42:09 +0000 (16:42 +0100)] 
maint: Document how to use Guix for Automake development

* HACKING <Setting the development environment>: New part.

7 years agoautomake: Add default libtool_tag to cppasm
Khem Raj [Thu, 4 Jan 2018 22:59:00 +0000 (23:59 +0100)] 
automake: Add default libtool_tag to cppasm

* bin/automake.in (register_language): Define default libtool tag to be
CC since CPPASCOMPILE is using CC to call assembler.

Copyright-paperwork-exempt: yes

7 years agodoc: Document the portability of various tar formats better
Bruno Haible [Wed, 3 Jan 2018 00:52:34 +0000 (01:52 +0100)] 
doc: Document the portability of various tar formats better

* doc/automake.texi (List of Automake options): Document the portability of
the tar-ustar and tar-pax options better.

7 years agomissing: Update displayed URLs
Simon Sobisch [Thu, 4 Jan 2018 22:09:34 +0000 (23:09 +0100)] 
missing: Update displayed URLs

* lib/missing (perl_URL): Use HTTPS.
(flex_URL): Use new Github homepage.

Copyright-paperwork-exempt: yes

7 years agomaint: Update copyright years to 2018
Mathieu Lirzin [Thu, 4 Jan 2018 15:19:30 +0000 (16:19 +0100)] 
maint: Update copyright years to 2018

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

7 years agomaint: Exclude ".dir-locals.el" from copyright updates
Mathieu Lirzin [Thu, 4 Jan 2018 15:21:26 +0000 (16:21 +0100)] 
maint: Exclude ".dir-locals.el" from copyright updates

* maintainer/maint.mk (files_without_copyright): Add ".dir-locals.el".

7 years agoport elisp-compilation support to emacs-23.1 and newer
Jim Meyering [Thu, 23 Nov 2017 05:07:29 +0000 (21:07 -0800)] 
port elisp-compilation support to emacs-23.1 and newer

In May of 2017, emacs.master support for using the long-deprecated
byte-compile-dest-file function was removed, and that removal broke
automake's elisp-compiling rule for any .el file not in the current
directory.  In emacs-23.1 (July 2009) byte-compile-dest-file-function
became the recommended way to adjust the byte-compiler's destination.
The removed functionality has been restored for Emacs-26, albeit with
dissuasive diagnostics warning about the imminent removal of this
functionality.  It will be removed in Emacs-27.
* lib/am/lisp.am (.el.elc): Use byte-compile-dest-file-function, rather
than byte-compile-dest-file.  Also, use "-f batch-byte-compile '$<'"
rather than open-coding it, as suggested by Glenn Morris.
* t/lisp-readonly-srcdir.sh: New file, to test for the above.
* t/list-of-tests.mk (handwritten_TESTS): Add it.
* NEWS (Bugs fixed): Mention this problem.

7 years ago"make dist" did not depend on $(BUILT_SOURCES)
Jim Meyering [Thu, 20 Mar 2014 19:31:32 +0000 (12:31 -0700)] 
"make dist" did not depend on $(BUILT_SOURCES)

* lib/am/distdir.am (distdir-am): New intermediate target.
Interpose this target between $(distdir) and its dependency
on $(DISTFILES), so that we can ensure $(BUILT_SOURCES) are
all created before we begin creating $(DISTFILES).
* t/dist-vs-built-sources.sh: Test for this.
* t/list-of-tests.mk (handwritten_TESTS): Add it.
* NEWS (Bugs fixed): Mention it.
Assaf Gordon reported that "make dist" (after ./configure
from a pristine clone of GNU hello) would fail due to the
absence of configmake.h while compiling lib/localcharset.c.
https://lists.gnu.org/r/bug-hello/2014-03/msg00016.html

7 years agomaint: Update HACKING
Mathieu Lirzin [Fri, 24 Nov 2017 12:28:24 +0000 (13:28 +0100)] 
maint: Update HACKING

* HACKING (Working with git): Remove reference to the 'micro' branch and
adapt branch descriptions to the current branching scheme.

7 years agomaint: Make Emacs use 'makefile-automake-mode'
Mathieu Lirzin [Sat, 23 Sep 2017 10:19:43 +0000 (12:19 +0200)] 
maint: Make Emacs use 'makefile-automake-mode'

* bin/local.mk: Specify mode name in the first line.
* contrib/t/local.mk: Likewise.
* doc/local.mk: Likewise.
* lib/Automake/local.mk: Likewise.
* lib/am/local.mk: Likewise.
* lib/local.mk: Likewise.
* m4/local.mk: Likewise.
* t/local.mk: Likewise.

7 years agomaint: update .gitignore
Paul Eggert [Sat, 23 Sep 2017 18:10:38 +0000 (11:10 -0700)] 
maint: update .gitignore

* .gitignore: Add pre-inst-env, and sort.

7 years agoinstall-sh: do not assume / = //
Paul Eggert [Sat, 23 Sep 2017 18:03:34 +0000 (11:03 -0700)] 
install-sh: do not assume / = //

* lib/install-sh: Do not append / to destination
directory if it already ends in /.  This supports
a destination directory of // on hosts where / and //
are distinct directories, as POSIX allows.

7 years agomaint: fix two more http: URLs
Paul Eggert [Sat, 23 Sep 2017 16:36:21 +0000 (09:36 -0700)] 
maint: fix two more http: URLs

* m4/init.m4: Change http: to https: in comments.

7 years agomaint: Configure Emacs automatically with ".dir-locals.el"
Mathieu Lirzin [Fri, 22 Sep 2017 21:06:15 +0000 (23:06 +0200)] 
maint: Configure Emacs automatically with ".dir-locals.el"

* .dir-locals.el: New Emacs directory configuration file.  All perl
files adapted.

7 years agomaint: 'master' should be merged into 'next'
Mathieu Lirzin [Wed, 20 Sep 2017 10:50:25 +0000 (12:50 +0200)] 
maint: 'master' should be merged into 'next'

* HACKING: Fix instructions merge instructions.

7 years ago* lib/mdate.sh (TZ): Use portable setting.
Paul Eggert [Fri, 22 Sep 2017 03:08:48 +0000 (20:08 -0700)] 
* lib/mdate.sh (TZ): Use portable setting.

7 years agoMerge branch 'minor'
Mathieu Lirzin [Tue, 19 Sep 2017 22:08:59 +0000 (00:08 +0200)] 
Merge branch 'minor'

7 years agomaint: Document new Branch names convention
Mathieu Lirzin [Tue, 5 Sep 2017 23:11:50 +0000 (01:11 +0200)] 
maint: Document new Branch names convention

* HACKING: Update to new Branch names.

7 years agomaint: Reset master
Mathieu Lirzin [Tue, 19 Sep 2017 11:43:07 +0000 (13:43 +0200)] 
maint: Reset master

7 years agoMerge branch 'minor' next
Mathieu Lirzin [Tue, 19 Sep 2017 11:29:18 +0000 (13:29 +0200)] 
Merge branch 'minor'

7 years agomake fetch
Paul Eggert [Sun, 17 Sep 2017 01:02:10 +0000 (18:02 -0700)] 
make fetch

7 years agoFix a couple more http: URLs
Paul Eggert [Sun, 17 Sep 2017 01:08:05 +0000 (18:08 -0700)] 
Fix a couple more http: URLs

7 years agoPrefer https: URLs
Paul Eggert [Sat, 16 Sep 2017 20:03:36 +0000 (13:03 -0700)] 
Prefer https: URLs

In Gnulib, Emacs, etc. we are changing ftp: and http: URLs to use
https:, to discourage man-in-the-middle attacks when downloading
software. The attached patch propagates these changes upstream to
Automake.  This patch does not affect files that Automake is
downstream of, which I'll patch separately.

Althouth the resources are not secret, plain HTTP is vulnerable to
malicious routers that tamper with responses from GNU servers,
and this sort of thing is all too common when people in some other
countries browse US-based websites. See, for example:

Aceto G, Botta A, Pescapé A, Awan MF, Ahmad T, Qaisar
S. Analyzing internet censorship in Pakistan. RTSI
2016. https://dx.doi.org/10.1109/RTSI.2016.7740626

HTTPS is not a complete solution here, but it can be a significant
help. The GNU project regularly serves up code to users, so we should
take some care here.

7 years agomake fetch
Paul Eggert [Sun, 17 Sep 2017 01:02:10 +0000 (18:02 -0700)] 
make fetch

7 years agoFix a couple more http: URLs
Paul Eggert [Sun, 17 Sep 2017 01:08:05 +0000 (18:08 -0700)] 
Fix a couple more http: URLs

7 years agoPrefer https: URLs
Paul Eggert [Sat, 16 Sep 2017 20:03:36 +0000 (13:03 -0700)] 
Prefer https: URLs

In Gnulib, Emacs, etc. we are changing ftp: and http: URLs to use
https:, to discourage man-in-the-middle attacks when downloading
software. The attached patch propagates these changes upstream to
Automake.  This patch does not affect files that Automake is
downstream of, which I'll patch separately.

Althouth the resources are not secret, plain HTTP is vulnerable to
malicious routers that tamper with responses from GNU servers,
and this sort of thing is all too common when people in some other
countries browse US-based websites. See, for example:

Aceto G, Botta A, Pescapé A, Awan MF, Ahmad T, Qaisar
S. Analyzing internet censorship in Pakistan. RTSI
2016. https://dx.doi.org/10.1109/RTSI.2016.7740626

HTTPS is not a complete solution here, but it can be a significant
help. The GNU project regularly serves up code to users, so we should
take some care here.

7 years agomaint: Document how to handle assignment exemption
Mathieu Lirzin [Fri, 15 Sep 2017 10:04:19 +0000 (12:04 +0200)] 
maint: Document how to handle assignment exemption

* HACKING: Update.

7 years agomdate-sh: Ensure reproducible time output
Reiner Herrmann [Fri, 15 Sep 2017 09:43:53 +0000 (11:43 +0200)] 
mdate-sh: Ensure reproducible time output

This change fixes automake bug#20314.

'mdate-sh' pretty-prints the modification time of a file.  But it's
output can vary depending on the timezone of the caller. Someone in
timezone GMT-12 will get a different result (day) than someone in
timezone GMT+12.  As this output is also used to create/update stamp
files, which influence the further build process, the build result can
vary.

* lib/mdate-sh: Set 'TZ' to UTC which ensures reproducible output.
* NEWS: Announce bug fix.

Copyright-paperwork-exempt: yes

7 years agoautomake: Depend on LIBOBJDIR for LIBOBJS and ALLOCA
Michael Haubenwallner [Wed, 16 Aug 2017 16:16:12 +0000 (18:16 +0200)] 
automake: Depend on LIBOBJDIR for LIBOBJS and ALLOCA

This change fixes automake bug#27781.

* bin/automake.in: Add Makefile dependency on LIBOBJDIR/dirstamp for
each LIBOBJS/ALLOCA source file found.
* t/list-of-tests.mk (XFAIL_TESTS): Drop
t/libobj-no-dependency-tracking.sh.
* NEWS: Announce bug fix.

7 years agoRevert "automake: Handle LTLIBOBJS more specifically"
Mathieu Lirzin [Thu, 14 Sep 2017 19:01:19 +0000 (21:01 +0200)] 
Revert "automake: Handle LTLIBOBJS more specifically"

This reverts commit 5521219348c55af354878583b99c5f9d66d6d38a.

7 years agoMerge branch 'minor'
Mathieu Lirzin [Thu, 31 Aug 2017 17:23:42 +0000 (19:23 +0200)] 
Merge branch 'minor'

7 years agobuild: Rename "Makefile.inc" Makefile fragments to "local.mk"
Mathieu Lirzin [Thu, 31 Aug 2017 12:42:13 +0000 (14:42 +0200)] 
build: Rename "Makefile.inc" Makefile fragments to "local.mk"

This is done to follow a convention used by a lot of GNU packages.

* bin/Makefile.inc: Rename to ...
* bin/local.mk: ... this.
* doc/Makefile.inc: Rename to ...
* doc/local.mk: ... this.
* lib/Automake/Makefile.inc: Rename to ...
* lib/Automake/local.mk: ... this.
* lib/am/Makefile.inc: Rename to ...
* lib/am/local.mk: ... this.
* lib/Makefile.inc: Rename to ...
* lib/local.mk: ... this.
* m4/Makefile.inc: Rename to ...
* m4/local.mk: ... this.
* contrib/t/Makefile.inc: Rename to ...
* contrib/t/local.mk: ... this.
* t/Makefile.inc: Rename to ...
* t/local.mk: ... this.  Adapt.
* Makefile.am: Adapt.

7 years agoMerge branch 'micro' into minor
Mathieu Lirzin [Thu, 31 Aug 2017 12:22:30 +0000 (14:22 +0200)] 
Merge branch 'micro' into minor

7 years agomaint: Define API version manually
Mathieu Lirzin [Sat, 8 Jul 2017 20:32:19 +0000 (22:32 +0200)] 
maint: Define API version manually

* configure.ac (APIVERSION): Define it to 1.15a.
* bootstrap (APIVERSION): Parse 'configure.ac' to get it.

7 years agobuild: Inline perl prototypes in sources
Mathieu Lirzin [Sat, 8 Jul 2017 18:18:45 +0000 (20:18 +0200)] 
build: Inline perl prototypes in sources

Prototypes allows us to avoid using the '&foo' invocation form when
invoking a subroutine before its definition.  Previously those
prototypes were generated to prevent them from falling out-of-sync
with actual definitions.  Now we provide a 'check-perl-protos' lint
script to ensure that this is not the case.  This has the same
benefits as generating prototypes while simplifying the
bootstrap/build process.

* bin/gen-perl-protos: Remove.
* bin/Makefile.inc: Adapt.
* bootstrap: Likewise.
* bin/aclocal.in: Inline prototypes.
* bin/automake.in: Likewise.
* maintainer/check-perl-protos: New lint script.
* maintainer/syntax-checks.mk (sc_perl_protos): New target.
(syntax_check_rules): Add it.

7 years agobuild: Generate versioned scripts at make time
Mathieu Lirzin [Wed, 30 Aug 2017 21:45:49 +0000 (23:45 +0200)] 
build: Generate versioned scripts at make time

* configure.ac: Don't generate 'bin/aclocal-${APIVERSION}' and
'bin/automake-${APIVERSION}'.
* bin/wrap-aclocal.in: Delete.
* bin/wrap-automake.in: Likewise.
* bin/Makefile.inc (%D%/automake-$(APIVERSION))
(%D%/aclocal-$(APIVERSION)): New targets.
(CLEANFILES): Add them.

7 years agoaclocal: Support ACLOCAL_AUTOMAKE_DIR environment variable
Mathieu Lirzin [Tue, 29 Aug 2017 19:15:14 +0000 (21:15 +0200)] 
aclocal: Support ACLOCAL_AUTOMAKE_DIR environment variable

* bin/aclocal.in: Reset '@automake_includes' and '@system_includes' in
for build environment.  Allow setting '@automake_includes' with
ACLOCAL_AUTOMAKE_DIR environment variable.
(parse_arguments): Ignore 'dirlist' when '@system_includes' is empty.
* doc/automake.texi (aclocal Options): Document ACLOCAL_AUTOMAKE_DIR.
* bin/wrap-aclocal.in: Remove extra command line options.
* pre-inst-env.in: Set ACLOCAL_AUTOMAKE_DIR and ACLOCAL_PATH
environment variables.
* t/ax/test-defs.in: Adapt.
* t/ansi2knr-no-more.sh (warn_rx): Likewise.

7 years agoconfig: Support AUTOMAKE_LIBDIR environment variable
Mathieu Lirzin [Tue, 29 Aug 2017 12:16:24 +0000 (14:16 +0200)] 
config: Support AUTOMAKE_LIBDIR environment variable

* lib/Automake/Config.in: Let AUTOMAKE_LIBDIR environment variable
override the default location for '$libdir'.
* doc/automake.texi (automake Invocation): Document AUTOMAKE_LIBDIR.
* pre-inst-env.in (AUTOMAKE_LIBDIR): Set AUTOMAKE_LIBDIR.
* bin/wrap-automake.in: Don't use "--libdir" option.

7 years agobuild: Use PERL5LIB from 'pre-inst-env' script
Mathieu Lirzin [Tue, 29 Aug 2017 11:23:24 +0000 (13:23 +0200)] 
build: Use PERL5LIB from 'pre-inst-env' script

* bin/aclocal.in: Detect build environment with AUTOMAKE_UNINSTALLED.
Let 'PERL5LIB' from 'pre-inst-env' define the perl module directories.
* bin/automake.in: Likewise.
* bin/wrap-aclocal.in: Don't set 'Automake::perl_libdirs' anymore.
* bin/wrap-automake.in: Likewise.
* t/Makefile.inc (LOG_COMPILER, PL_LOG_COMPILER): Use 'pre-inst-env'.
(AM_PL_LOG_FLAGS): Don't set perl module path.

7 years agobuild: Extend PATH from 'pre-inst-env' script
Mathieu Lirzin [Tue, 29 Aug 2017 11:04:57 +0000 (13:04 +0200)] 
build: Extend PATH from 'pre-inst-env' script

* configure.ac (ACLOCAL, AUTOMAKE): Use 'pre-inst-env'.
* Makefile.am (extend_PATH): Delete.
* doc/Makefile.inc (update_mans, $(srcdir)/%D%/amhello-1.0.tar.gz)
(setup_autotools_paths): Use 'pre-inst-env' instead of $(extend_PATH).

7 years agobuild: Add 'pre-inst-env' wrapper script
Mathieu Lirzin [Sun, 27 Aug 2017 15:41:50 +0000 (17:41 +0200)] 
build: Add 'pre-inst-env' wrapper script

This script allows someone building Automake from source to easily run
'automake' and 'aclocal' without having to install it or knowing the
existence of "wrapped" scripts in "bin" directory.

* pre-inst-env.in: New script.
* configure.ac: Generate 'pre-inst-env' at configure time.
* Makefile.am (nodist_noinst_SCRIPTS, CLEANFILES): Add it.

7 years agobuild: Move wrapped scripts in "bin" directory
Mathieu Lirzin [Tue, 29 Aug 2017 09:27:52 +0000 (11:27 +0200)] 
build: Move wrapped scripts in "bin" directory

Those scripts are used both in the build process and for the tests, so
it seems clearer to not hide them in "t/wrap" directory.

* t/wrap/aclocal.in: Rename to ...
* bin/wrap-aclocal.in: ... this.
* t/wrap/automake.in: Rename to ...
* bin/wrap-automake.in: ... this.
* configure.ac: Generate "bin/aclocal-${APIVERSION}" and
"bin/automake-${APIVERSION}" at configure time.
* t/Makefile.inc (nodist_noinst_SCRIPTS): Move wrapped scripts ...
* bin/Makefile.inc (nodist_noinst_SCRIPTS): ... here.
* Makefile.am (extend_PATH): Use "bin" directory.
* t/ax/test-defs.in (am_bindir): Likewise.
* t/get-sysconf.sh: Likewise.
* .gitignore: Update.

7 years agoautomake: Handle LTLIBOBJS more specifically
Mathieu Lirzin [Sun, 27 Aug 2017 13:27:00 +0000 (15:27 +0200)] 
automake: Handle LTLIBOBJS more specifically

* bin/automake.in (handle_LIBOBJS_or_ALLOCA): Remove complex regexp
substitution when handling LTLIBOBJS.

7 years agoautomake: Ensure that LIBOBJ_DIR builddir is created
Michael Haubenwallner [Thu, 17 Aug 2017 12:12:20 +0000 (14:12 +0200)] 
automake: Ensure that LIBOBJ_DIR builddir is created

* t/libobj-no-dependency-tracking.sh: New test reproducing the issue
described in automake bug#27781.
* t/list-of-tests.mk (handwritten_TESTS, XFAIL_TESTS): Add it.

7 years agodoc: Update to latest help2man
Mathieu Lirzin [Tue, 8 Aug 2017 21:55:29 +0000 (23:55 +0200)] 
doc: Update to latest help2man

This fixes bug#27773.

* doc/help2man: Sync with version 1.47.3 to support reproducible
builds by using $SOURCE_DATE_EPOCH.

8 years agodoc: Fix typo "nothing" => "noting"
Mathieu Lirzin [Sun, 16 Jul 2017 00:01:28 +0000 (02:01 +0200)] 
doc: Fix typo "nothing" => "noting"

This fixes bug#24476.

* doc/automake.texi (Checking the Distribution): Fix typo.
* THANKS: Update.

8 years agodoc: Fix typos
Mathieu Lirzin [Sat, 15 Jul 2017 23:02:49 +0000 (01:02 +0200)] 
doc: Fix typos

This fixes bug#23099.

* doc/automake.texi (Scripts-based Testsuites)
(Parallel Test Harness): Fix typos.
* THANKS: Update.

8 years agocheck: Make 'check-TESTS' target depend on test dependencies
Mathieu Lirzin [Sat, 15 Jul 2017 22:11:07 +0000 (00:11 +0200)] 
check: Make 'check-TESTS' target depend on test dependencies

The 'check' and 'recheck' targets are already depending on the progams
and scripts required to run the test suite.  The 'check-TESTS' target
while not in the public API might be used by uninformed users, so it
makes sense to add the same dependency to it.  This fixes bug#27186.

* lib/am/check.am [!%?SERIAL_TESTS%] (check-TESTS): Add dependency to
'%CHECK_DEPS%'.
* THANKS: Update.

8 years agodejagnu: Allow AM_RUNTESTFLAGS to override default RUNTEST arguments
Mathieu Lirzin [Sat, 15 Jul 2017 20:24:43 +0000 (22:24 +0200)] 
dejagnu: Allow AM_RUNTESTFLAGS to override default RUNTEST arguments

This fixes bug#25335.

* lib/am/dejagnu.am (check-DEJAGNU): Swap $(RUNTESTDEFAULTFLAGS) and
$(AM_RUNTESTFLAGS).
* THANKS: Update.

8 years agoaclocal: Avoid problematic string interpolation
Thomas Jahns [Mon, 29 Jun 2015 07:50:02 +0000 (09:50 +0200)] 
aclocal: Avoid problematic string interpolation

This fixes bug#20903.  Thanks to Eric Bavier for reporting this issue.

* bin/aclocal.in (automake_includes): Avoid problematic string
interpolation.
* NEWS: Update.
* THANKS: Thank Eric Bavier.

Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
8 years agopython: Add python3.6
Mathieu Lirzin [Sat, 15 Jul 2017 13:46:52 +0000 (15:46 +0200)] 
python: Add python3.6

This fixes bug#27458.

* m4/python.m4 (AM_PATH_PYTHON): Add python3.6.

8 years agoautomake: Shorter object file names under subdir-objects
Thomas Martitz [Mon, 13 Mar 2017 11:41:59 +0000 (12:41 +0100)] 
automake: Shorter object file names under subdir-objects

Combining the 'subdir-objects' option with target-specific flags had
the consequence of producing long object file names.  This was done to
preventively ensure the uniqueness of object file names.  We are now
using shorter names by default, and handle long names when an actual
conflict is detected.  This will hopefully reduce the necessity of
using the 'prog_SHORTNAME' facility.

Example:
previously:
  AUTOMAKE_OPTIONS = subdir-objects
  bin_PROGRAMS += path/to/foo
  path_to_foo_CFLAGS = $(AM_CFLAGS) -g

resulted in objects:
  sub/path_to_foo-foo.o

now object file name is:
  sub/foo-foo.o

* bin/automake.in (proglist, liblist, ltliblist)
(dup_shortnames): New globals.
(initialize_per_input): Initialize them.
(handle_targets): New subroutine.
(handle_single_transform): Truncate object file names when possible.
* t/subobj-objname-clash.sh: New test.
* t/list-of-tests.mk (handwritten_TESTS): Add it.
* NEWS: Update.

Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
8 years agomaint: Post-release administrivia
Mathieu Lirzin [Sun, 18 Jun 2017 17:11:08 +0000 (19:11 +0200)] 
maint: Post-release administrivia

* NEWS: Add header line for next release.
* configure.ac (AC_INIT): Bump version number to 1.15.1a.
* m4/amversion.m4: Likewise (auto-updated by "make bootstrap").

8 years agoversion 1.15.1 v1.15.1
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").

8 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.

8 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.

8 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 agoMerge branch 'minor'
Mathieu Lirzin [Fri, 16 Jun 2017 21:07:00 +0000 (23:07 +0200)] 
Merge branch 'minor'

8 years agoMerge branch 'micro' into minor
Mathieu Lirzin [Fri, 16 Jun 2017 20:46:16 +0000 (22:46 +0200)] 
Merge branch 'micro' into minor

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 agomaint: update copyright dates for 2017
Jim Meyering [Sun, 1 Jan 2017 16:34:49 +0000 (08:34 -0800)] 
maint: update copyright dates for 2017

* all files: Run this command, using update-copyright from gnulib:
  UPDATE_COPYRIGHT_FORCE=1 \
  UPDATE_COPYRIGHT_USE_INTERVALS=2 \
  UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79 \
   update-copyright $(git ls-files)

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 agocompile: remove .Tpo file upon failure
Jim Meyering [Tue, 31 May 2016 00:07:52 +0000 (17:07 -0700)] 
compile: remove .Tpo file upon failure

When generating a .deps/base.Po file, our emitted rule first writes
to a temporary .Tpo file, so the final creation can be atomic, via
mv's rename.  However, when generation of the .Tpo fails, it stop the
process and does not remove that temporary file.  And nothing else
ever deletes it, either.  Hence, in the unusual case in which one
expects a compilation to fail during a successful build (gnulib's
test-verify.sh does precisely this), a .deps/test-verify.Tpo file
would be left behind, and that would in turn cause a "make distcheck"
failure because that file would exist in one build+distclean hierarchy
but not in the distribution tarball.
* lib/am/depend2.am: Ensure that the temporary file is removed
upon failure.
* t/distcheck-Tpo.sh: New file.
* t/list-of-tests.mk (handwritten_TESTS): Add it.
This addresses bug#23661.

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 agoMerge branch 'minor'
Paul Eggert [Thu, 31 Mar 2016 23:45:26 +0000 (16:45 -0700)] 
Merge branch 'minor'

9 years agoMerge branch 'micro' into minor
Paul Eggert [Thu, 31 Mar 2016 23:40:20 +0000 (16:40 -0700)] 
Merge branch 'micro' into minor

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 agoMerge branch 'minor'
Paul Eggert [Tue, 12 Jan 2016 20:45:39 +0000 (12:45 -0800)] 
Merge branch 'minor'

9 years agoMerge branch 'micro' into minor
Paul Eggert [Tue, 12 Jan 2016 20:44:53 +0000 (12:44 -0800)] 
Merge branch 'micro' into minor

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 agoMerge branch 'minor'
Peter Rosin [Tue, 24 Nov 2015 11:42:15 +0000 (12:42 +0100)] 
Merge branch 'minor'

* minor:
  compile: add icl to compile wrapper script
  tests: fix a typo-induced bug

9 years agoMerge branch 'micro' into minor
Peter Rosin [Tue, 24 Nov 2015 11:39:59 +0000 (12:39 +0100)] 
Merge branch 'micro' into minor

* micro:
  compile: add icl to compile wrapper script

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
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 agoMerge branch 'minor'
Stefano Lattarini [Tue, 6 Jan 2015 12:17:23 +0000 (13:17 +0100)] 
Merge branch 'minor'

* minor:
  deps: fix corner-case "make distclean" bug
  compile: don't place built object files in $(srcdir), ever ...
  tests: fix some bugs in an XFAILing test
  deps: 'subdir-object' option now works when foo_SOURCES contains $(var)
  NEWS: fix a typo

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
10 years agoMerge branch 'deps-pr13928' into minor
Stefano Lattarini [Tue, 6 Jan 2015 10:26:48 +0000 (11:26 +0100)] 
Merge branch 'deps-pr13928' into minor

* deps-pr13928:
  deps: fix corner-case "make distclean" bug
  compile: don't place built object files in $(srcdir), ever ...
  tests: fix some bugs in an XFAILing test
  deps: 'subdir-object' option now works when foo_SOURCES contains $(var)