]> git.ipfire.org Git - thirdparty/automake.git/log
thirdparty/automake.git
4 weeks agodoc: xfail doesn't mean testing a failure condition. master
Karl Berry [Mon, 14 Jul 2025 16:13:13 +0000 (09:13 -0700)] 
doc: xfail doesn't mean testing a failure condition.

* doc/automake.texi (Generalities about Testing): mention that
xfail is not about testing a failure condition. See thread around:
https://lists.gnu.org/archive/html/automake/2025-07/msg00008.html

5 weeks agodoc: THANKS email change.
Karl Berry [Sat, 12 Jul 2025 20:41:09 +0000 (13:41 -0700)] 
doc: THANKS email change.

* THANKS (Szewczyk): new address.

7 weeks agomaint: 1.18.1 released, version now 1.18.1.91.
Karl Berry [Fri, 27 Jun 2025 16:54:57 +0000 (09:54 -0700)] 
maint: 1.18.1 released, version now 1.18.1.91.

* configure.ac (AC_INIT): now 1.18.1.91.
* m4/amversion.m4 (AM_AUTOMAKE_VERSION): 1.18.1.91 (auto-update).
* HACKING: release tweaks.

7 weeks agomaint: prepare for 1.18.1 release. v1.18.1
Karl Berry [Thu, 26 Jun 2025 17:26:13 +0000 (10:26 -0700)] 
maint: prepare for 1.18.1 release.

* configure.ac (AC_INIT): 1.18.1. (APIVERSION remains 1.18.)
* m4/amversion.m4: likewise (auto-updated).
* HACKING: tweak release info some more.
* NEWS: likewise.

7 weeks agomdate-sh: ignore $SOURCE_DATE_EPOCH (again).
Karl Berry [Wed, 25 Jun 2025 21:16:03 +0000 (14:16 -0700)] 
mdate-sh: ignore $SOURCE_DATE_EPOCH (again).

* lib/mdate-sh: pay no attention to SOURCE_DATE_EPOCH.
The previous change (2025-05-15) was a misunderstanding;
looking at SOURCE_DATE_EPOCH causes spurious makeinfo rebuilds:
https://lists.gnu.org/archive/html/automake/2025-06/msg00021.html
* t/mdate5.sh: remove check for this.
* t/txinfo-vtexi4.sh: likewise.
* doc/automake.texi (Texinfo): remove mention of this.
* NEWS: update.

7 weeks agodoc: key maintenance, wording.
Karl Berry [Wed, 25 Jun 2025 20:52:29 +0000 (13:52 -0700)] 
doc: key maintenance, wording.

* HACKING: mention a couple of links wrt key maintenance.
* doc/automake.texi: wording tweaks.

8 weeks agoautomake: improve debuggability of installcheck failures.
Bruno Haible [Sat, 21 Jun 2025 01:06:20 +0000 (18:06 -0700)] 
automake: improve debuggability of installcheck failures.

From https://bugs.gnu.org/78850.

* lib/am/progs.am (installcheck-%DIR%PROGRAMS): Show the cause of
each failure.
* lib/am/scripts.am (installcheck-%DIR%SCRIPTS): Likewise.
* NEWS: mention this.

8 weeks agotest: adapt tests for SOURCE_DATE_EPOCH.
Karl Berry [Fri, 20 Jun 2025 16:04:52 +0000 (09:04 -0700)] 
test: adapt tests for SOURCE_DATE_EPOCH.

From https://lists.gnu.org/archive/html/automake/2025-06/msg00016.html.

* t/mdate5.sh: allow years 19xx for old SOURCE_DATE_EPOCH.
* t/txinfo-vtexi3.sh: likewise.
* t/txinfo-vtexi4.sh: if SDE is set, use mdate-sh to parse it into
the expected UPDATED and UPDATED-MONTH values.
Report from Frederic Berat.
* NEWS: mention this.

8 weeks agomaint: secondary updates from make fetch.
Karl Berry [Thu, 19 Jun 2025 21:42:06 +0000 (14:42 -0700)] 
maint: secondary updates from make fetch.

* lib/gendocs.sh: update with make fetch.
* lib/gitlog-to-changelog: likewise.
* lib/gnupload: likewise.
* lib/texinfo.tex: likewise.
* lib/update-copyright: likewise.

8 weeks agomaint: silence 'time-stamp' warnings with bleeding-edge Emacs.
Collin Funk [Thu, 19 Jun 2025 21:39:42 +0000 (14:39 -0700)] 
maint: silence 'time-stamp' warnings with bleeding-edge Emacs.

* contrib/tap-driver.pl:  Use "%Y" instead of "%:y" for the
'time-stamp-format' local variable.
* lib/compile: Likewise.
* lib/depcomp: Likewise.
* lib/install-sh: Likewise.
* lib/mdate-sh: Likewise.
* lib/missing: Likewise.
* lib/mkinstalldirs: Likewise.
* lib/py-compile: Likewise.
* lib/tap-driver.sh: Likewise.
* lib/test-driver: Likewise.
* lib/ylwrap: Likewise.

8 weeks agodoc: more release stuff in HACKING.
Karl Berry [Thu, 19 Jun 2025 21:34:34 +0000 (14:34 -0700)] 
doc: more release stuff in HACKING.

* HACKING: more on announcement and signature. Still incomplete.

2 months agodoc: Reference POSIX:2024 for rm -f future requirement.
Bruno Haible [Sat, 31 May 2025 17:36:16 +0000 (10:36 -0700)] 
doc: Reference POSIX:2024 for rm -f future requirement.

* NEWS-future: The previously "next" POSIX version is the current
POSIX (2024) now, requiring rm -f to be a no-op.

2 months agomaint: 1.18 released, version now 1.18.0.91.
Karl Berry [Tue, 27 May 2025 16:01:00 +0000 (09:01 -0700)] 
maint: 1.18 released, version now 1.18.0.91.

* configure.ac (AC_INIT): now 1.18.0.91.
* m4/amversion.m4 (AM_AUTOMAKE_VERSION): 1.18.0.91 (auto-update).
* HACKING: release tweaks.

2 months agomaint: more verbose git-tag-release. v1.18
Karl Berry [Tue, 27 May 2025 15:35:33 +0000 (08:35 -0700)] 
maint: more verbose git-tag-release.

* maintainer/maint.mk (git-tag-release): always show command being run.

2 months agomaint: more 1.18 preparations.
Karl Berry [Mon, 26 May 2025 17:31:51 +0000 (10:31 -0700)] 
maint: more 1.18 preparations.

* HACKING: it's the distcheck results that get distributed; tags.
* maintainer/maint.mk (git-tag-release, git-upload-release):
show commands that are being run.

2 months agotypo
Karl Berry [Mon, 26 May 2025 17:07:50 +0000 (10:07 -0700)] 
typo

2 months agomaint: prepare for 1.18 release.
Karl Berry [Mon, 26 May 2025 16:10:25 +0000 (09:10 -0700)] 
maint: prepare for 1.18 release.

* configure.ac (AC_INIT): 1.18
(APIVERSION): also 1.18.
* m4/amversion.m4: likewise (auto-updated).
* doc/automake.texi: missing comma in make xref.
* HACKING: tweak release info some more.
* NEWS: likewise.
* INSTALL: missed top-level update from make fetch.

2 months agomaint: secondary updates from make fetch.
Karl Berry [Fri, 23 May 2025 15:54:17 +0000 (08:54 -0700)] 
maint: secondary updates from make fetch.

* maintainer/maint.mk (git-sv-host): switch to
cgit.git.savannah.gnu.org/cgit, since https://git.savannah.gnu.org
has become unreliable, due to AI crawler bombardment.
(SV_GIT_CF, SV_GIT_GL): update.
https://lists.gnu.org/archive/html/savannah-hackers-public/2025-05/msg00040.html

* lib/INSTALL: update with make fetch.
* lib/gendocs.sh: likewise.

2 months agoautomake: algol68: rename A68C and A68CFLAGS back to A68 and A68FLAGS.
Jose Marchesi [Wed, 21 May 2025 16:49:46 +0000 (09:49 -0700)] 
automake: algol68: rename A68C and A68CFLAGS back to A68 and A68FLAGS.

From https://bugs.gnu.org/78518, discussion at 78481
(both automake-patches).

* bin/automake.in: Rename A68C and A68CFLAGS to A68 and A68FLAGS.
* doc/automake.texi: Likewise.
* configure.ac: Rename GNU_A68C and GNU_A68FLAGS to GNU_A68 and
GNU_A68FLAGS.
* lib/Automake/Variable.pm: Likewise.
* t/a68-demo.sh: Likewise.

2 months agotest: skip test py-compile-usage instead of failing without python.
Collin Funk [Wed, 21 May 2025 16:37:00 +0000 (09:37 -0700)] 
test: skip test py-compile-usage instead of failing without python.

From https://bugs.gnu.org/78525 (automake-patches).

* t/py-compile-usage.sh: Add 'required=python' before sourcing
test-init.sh.

2 months agomdate-sh: support $SOURCE_DATE_EPOCH.
Karl Berry [Tue, 20 May 2025 16:17:04 +0000 (09:17 -0700)] 
mdate-sh: support $SOURCE_DATE_EPOCH.

From https://bugs.gnu.org/77805.

* lib/mdate-sh: if $SOURCE_DATE_EPOCH is set, use it
instead of the mtime of any file. Debian was removing
@value{UPDATED}, etc., from manuals because of varying output.
Try date --date, then date -r, then perl gmtime, then
fall back to the file's mtime.
Also, warn if more than one file argument is given.
(mon_to_month): factor out conversion of Jan to January.
* t/mdate5.sh: test it.
* doc/automake.texi (Texinfo): mention it.
* NEWS: mention it.

3 months agodoc: Clarify where to put -L and -l options.
Bruno Haible [Wed, 14 May 2025 21:41:55 +0000 (14:41 -0700)] 
doc: Clarify where to put -L and -l options.

From https://bugs.gnu.org/78411.

* doc/automake.texi (Linking): Clarify that -L and -l options
belong in LDADD.

3 months agotap: fix typo in usage message.
Reuben Thomas [Sat, 3 May 2025 16:31:41 +0000 (09:31 -0700)] 
tap: fix typo in usage message.

* lib/tap-driver.sh: The usage message was missing a hyphen in
'--log-file'.

3 months agoautomake: algol68: also rename [AM_]A68FLAGS to [AM_]A68CFLAGS.
Karl Berry [Mon, 28 Apr 2025 22:42:52 +0000 (15:42 -0700)] 
automake: algol68: also rename [AM_]A68FLAGS to [AM_]A68CFLAGS.

From https://bugs.gnu.org/78033 (automake-patches).

* bin/automake.in (a68): change link and compile values.
* lib/Automake/Variable.pm: likewise rename.
* configure.ac: likewise rename.
* doc/automake.texi: likewise rename.

3 months agoautomake: algol68: rename A68 to A68C and AM_PROG_A68 to AM_PROG_A68C.
Jose Marchesi [Thu, 24 Apr 2025 22:07:41 +0000 (15:07 -0700)] 
automake: algol68: rename A68 to A68C and AM_PROG_A68 to AM_PROG_A68C.

From https://bugs.gnu.org/78033 (automake-patches).

While upstreaming the Algol 68 autoconf support it was pointed
out that the shell variable A68 should be renamed to A68C and
that the macro AC_PROG_A68 should be renamed to AC_PROG_A68C.
This is to be more consistent to the support for other languages
like Go. This patch updates the Automake side.

The Algol 68 code snippets are also updated to use modern
stropping, which is the stropping regime now used by default by ga68.

* bin/automake.in (a68): change config_vars, libtool_tags et al.
* lib/Automake/Variable.pm: likewise rename.
* doc/automake.texi: likewise rename.
* t/a68-demo.sh: likewise modify.

3 months agodoc: fix whitespace typo in comment.
Reuben Thomas [Fri, 18 Apr 2025 21:20:05 +0000 (14:20 -0700)] 
doc: fix whitespace typo in comment.

* lib/am/check.am: remove a spurious space after a hyphen.

4 months agomaint: 1.17.92 pretest released, 1.17.93 for dev.
Karl Berry [Sat, 12 Apr 2025 15:47:59 +0000 (08:47 -0700)] 
maint: 1.17.92 pretest released, 1.17.93 for dev.

* configure.ac (AC_INIT): now 1.17.93.
* m4/amversion.m4 (AM_AUTOMAKE_VERSION): 1.17.93 (auto-update).
* HACKING: mention delay between upload and appearance on server.

4 months agomaint: doc fixes for 1.17.92 pretest.
Karl Berry [Fri, 11 Apr 2025 16:55:05 +0000 (09:55 -0700)] 
maint: doc fixes for 1.17.92 pretest.

* NEWS: forgot to update the version.
* HACKING: mention this.

4 months agomaint: doc and maintainer-check in preparation for 1.17.92. v1.17.92
Karl Berry [Fri, 11 Apr 2025 16:45:53 +0000 (09:45 -0700)] 
maint: doc and maintainer-check in preparation for 1.17.92.

* configure.ac (AC_INIT): now 1.17.92.
* m4/amversion.m4 (AM_AUTOMAKE_VERSION): 1.17.92 (auto-update).
* HACKING: release wording.

4 months agomaint: secondary updates from make fetch.
Karl Berry [Fri, 11 Apr 2025 15:23:23 +0000 (08:23 -0700)] 
maint: secondary updates from make fetch.

* lib/texinfo.tex: update with make fetch.

4 months agotest: force Autoconf config.site to /dev/null.
Richard Hansen [Wed, 9 Apr 2025 17:00:05 +0000 (10:00 -0700)] 
test: force Autoconf config.site to /dev/null.

From https://bugs.gnu.org/76622 (automake-patches).

* t/ax/test-defs.in: Set `CONFIG_SITE' to `/dev/null' to avoid
the local system's Autoconf site defaults from breaking the test
environment. Original report from Nelson Beebe, 26 Feb 2025.
* NEWS: mention this.

4 months agodoc: wording, --news-file.
Karl Berry [Wed, 9 Apr 2025 16:44:43 +0000 (09:44 -0700)] 
doc: wording, --news-file.

* doc/automake.texi: avoid @strong for emphasis; wording.
* HACKING: add --news-file option to sample announce-gen invocation.

5 months agodoc: Algol 68 typo.
Jose Marchesi [Thu, 13 Mar 2025 21:45:35 +0000 (14:45 -0700)] 
doc: Algol 68 typo.

From https://bugs.gnu.org/76995 (automake-patches).

* doc/automake.texi (Algol 68 Support): Fortran 77 -> Algol 68.
(typo from #75807)

5 months agodist: document bzip3 support.
Karl Berry [Thu, 13 Mar 2025 21:39:59 +0000 (14:39 -0700)] 
dist: document bzip3 support.

More from https://bugs.gnu.org/73795 (automake-patches).

* doc/automake.texi (The Types of Distributions): add item for bzip3.
Analogous changes throughout.
* lib/am/distdir.am (dist-bzip3): bzip3 does not read any envvars;
don't set BZIP2.

5 months agomaint: 1.17.90 pretest released, 1.17.91 for dev.
Karl Berry [Tue, 25 Feb 2025 23:04:16 +0000 (15:04 -0800)] 
maint: 1.17.90 pretest released, 1.17.91 for dev.

* configure.ac (AC_INIT): now 1.17.91.
* m4/amversion.m4 (AM_AUTOMAKE_VERSION): 1.17.91 (auto-update).

5 months agomaint: doc and maintainer-check in preparation for 1.17.90. v1.17.90
Karl Berry [Tue, 25 Feb 2025 22:39:11 +0000 (14:39 -0800)] 
maint: doc and maintainer-check in preparation for 1.17.90.

* HACKING: mention thanks to individuals.
* NEWS: update for 1.17.90.
* configure.ac (AC_INIT): now 1.17.90.
* m4/amversion.m4 (AM_AUTOMAKE_VERSION): 1.17.90 (auto-update).
* maintainer/syntax-checks.mk (sc_tests_command_subst): allow
whitespace before # shell comment line.
(sc_tests_plain_sleep): emphasize using $sleep without a number;
only replace sleep 1 or sleep 2; longer than that would be fine.
* t/tap-stderr-prefix.tap: use $sleep instead of sleep 1.

5 months agodoc: tiny.
Karl Berry [Tue, 25 Feb 2025 17:42:23 +0000 (09:42 -0800)] 
doc: tiny.

* HACKING: mention tag list.
* doc/automake.texi: wording.

5 months agomaint: secondary updates from make fetch.
Karl Berry [Tue, 25 Feb 2025 17:39:18 +0000 (09:39 -0800)] 
maint: secondary updates from make fetch.

* lib/texinfo.tex: update with make fetch.

5 months agoautomake: warn about install.sh being found, rather than error.
Karl Berry [Mon, 24 Feb 2025 23:35:09 +0000 (15:35 -0800)] 
automake: warn about install.sh being found, rather than error.

Report from https://bugs.gnu.org/19964.

* bin/automake.in (scan_autoconf_files): give a msg 'obsolete'
rather than err_am. Mention where install.sh was found.
(En passant, fix some doubled words.)
* NEWS: mention this.

5 months agodist: change tar format default to ustar.
Karl Berry [Mon, 24 Feb 2025 22:41:48 +0000 (14:41 -0800)] 
dist: change tar format default to ustar.

Suggested in https://bugs.gnu.org74847.

* m4/init.m4 (tar-ustar): make ustar the default instead of tar-v7.
* doc/automake.texi (tar-formats): document this.
* NEWS: mention this.
* t/tar-override.sh: force tar-v7 for purposes of this test.

5 months agotests: test TAP stdout/stderr order with --merge --stderr-prefix
Richard Hansen [Mon, 24 Feb 2025 00:21:23 +0000 (19:21 -0500)] 
tests: test TAP stdout/stderr order with --merge --stderr-prefix

* t/tap-stderr-prefix.tap: Add a test checking the processing order of stdout
lines relative to stderr lines when the TAP driver is passed `--merge' and
`--stderr-prefix'.

5 months agotests: add shell function support to `command_ok_'
Richard Hansen [Mon, 24 Feb 2025 00:21:17 +0000 (19:21 -0500)] 
tests: add shell function support to `command_ok_'

* t/ax/tap-functions.sh (command_ok_): Run the command without testing
the exit status with `||' in case the command is a shell function.
This avoids unintentionally disabling `set -e' inside the shell
function.

5 months agodoc: Revise `--stderr-prefix' documentation
Richard Hansen [Mon, 24 Feb 2025 00:01:50 +0000 (19:01 -0500)] 
doc: Revise `--stderr-prefix' documentation

* doc/automake.texi (TAP prefixing stderr): Tweak the wording to
clarify, and mention awk input buffering.

5 months agodist: correct sense of no-dist-built-sources option.
Bogdan [Mon, 24 Feb 2025 18:30:42 +0000 (10:30 -0800)] 
dist: correct sense of no-dist-built-sources option.

Primarily from https://bugs.gnu.org/69908.

* bin/automake.in (preprocess_file) <DIST_BUILT_SOURCES>:
make the option name be "no-dist-built-sources",
per Options.pm and automake.texi; then set it with a single !.
* lib/am/distdir.am (distdir) [DIST_BUILT_SOURCES]: insert the
dependency on $(BUILT_SOURCES) when DIST_BUILT_SOURCES is true,
not false; i.e., sense was reversed.
* t/dist-no-built-sources.sh: edit the test configure.ac
in the no-dist-built-sources case. Rename the testopt value to
match the Automake option.
* NEWS: mention this.

5 months agodoc: tar-pax also works around too-large uid/gid for tar.
Karl Berry [Sun, 23 Feb 2025 18:38:57 +0000 (10:38 -0800)] 
doc: tar-pax also works around too-large uid/gid for tar.

From https://bugs.gnu.org/73316.

* doc/automake.texi (Basics of Distribution): also mention
the tar-pax format as a fix for out of range uid/gid for tar.

5 months agodoc: move --stderr-prefix doc details to a new subsubsection.
Karl Berry [Sun, 23 Feb 2025 17:57:47 +0000 (09:57 -0800)] 
doc: move --stderr-prefix doc details to a new subsubsection.

Still in https://bugs.gnu.org/72536.

* doc/automake.texi (TAP setup and examples):
(TAP stderr examples),
TAP stderr prefixing): split TAP examples
into new subsubsections. Add discussion of race condition and
other reordering from the open bug.
* NEWS: mention --stderr-prefix.

5 months agotests: use `--stderr-prefix' for TAP tests
Richard Hansen [Mon, 3 Feb 2025 23:26:59 +0000 (18:26 -0500)] 
tests: use `--stderr-prefix' for TAP tests

* t/local.mk: Pass `--stderr-prefix' to `lib/tap-driver.sh' when
running TAP tests to prevent stderr lines from being confused with
test results and to improve the readability of the test log files.

5 months agotap: include malformed output in error message to aid with debugging
Richard Hansen [Mon, 3 Feb 2025 23:26:58 +0000 (18:26 -0500)] 
tap: include malformed output in error message to aid with debugging

* lib/tap-driver.sh: If the line that should contain the test script's exit
status is not an integer (which would indicate a bug with the driver, not the
code under test), include the line in the error message to help with
debugging.

5 months agotap: new `--stderr-prefix' option to prefix test script's stderr
Richard Hansen [Mon, 3 Feb 2025 23:26:57 +0000 (18:26 -0500)] 
tap: new `--stderr-prefix' option to prefix test script's stderr

* lib/tap-driver.sh: Add a new `--stderr-prefix' option to instruct
the TAP driver to prefix each line of the test script's standard error
with the given string.  This is useful when `--merge' is enabled and
standard error lines might be confused with test results.
* doc/automake.texi: Document the new `--stderr-prefix' option.
* t/tap-stderr-prefix.tap: New test.
* t/list-of-tests.mk (handwritten_TESTS): Add it.

5 months agotap: minimize stderr redirection to just the test script
Richard Hansen [Mon, 3 Feb 2025 23:26:56 +0000 (18:26 -0500)] 
tap: minimize stderr redirection to just the test script

* lib/tap-driver.sh: Keep driver stderr separate from test script
stderr to aid with debugging (e.g., `set -x').

5 months agotap: close fd 3 before invoking the test script
Richard Hansen [Mon, 3 Feb 2025 23:26:55 +0000 (18:26 -0500)] 
tap: close fd 3 before invoking the test script

* lib/tap-driver.sh: Close file descriptor 3 before invoking the test
script to avoid potential conflicts with the test script.

5 months agotests: move space from `diag_()' to `$diag_string_'
Richard Hansen [Mon, 3 Feb 2025 23:26:54 +0000 (18:26 -0500)] 
tests: move space from `diag_()' to `$diag_string_'

* t/ax/tap-functions.sh (diag_): Moved the space separating
`$diag_string_' from the diagnostic message to `$diag_string_' so that
callers can eliminate the space.

5 months agotests: support getting `diag_' message from stdin
Richard Hansen [Mon, 3 Feb 2025 23:26:54 +0000 (18:26 -0500)] 
tests: support getting `diag_' message from stdin

* t/ax/tap-functions.sh (diag_): Read the diagnostic message from
stdin if no arguments are given.

5 months agotests: use `printf' instead of `echo'
Richard Hansen [Mon, 3 Feb 2025 23:26:53 +0000 (18:26 -0500)] 
tests: use `printf' instead of `echo'

* t/ax/tap-functions (diag_): Use `printf' instead of `echo' in case
`echo' processes backslash escapes or the argument looks like an
option.

5 months agotests: prefix every line of diag_ text, not just the first
Richard Hansen [Mon, 3 Feb 2025 23:26:52 +0000 (18:26 -0500)] 
tests: prefix every line of diag_ text, not just the first

* t/ax/tap-function.sh (diag_): Prefix every line of the diagnostic
text, not just the first.

5 months agotests: turn off `set -x' in `diag_'
Richard Hansen [Mon, 3 Feb 2025 23:26:50 +0000 (18:26 -0500)] 
tests: turn off `set -x' in `diag_'

* t/ax/tap-functions.sh (diag_): Turn off `set -x' to reduce log spam.

5 months agom4: force newline after AM_SILENT_RULES, as before 1.17.
Karl Berry [Fri, 21 Feb 2025 17:58:12 +0000 (09:58 -0800)] 
m4: force newline after AM_SILENT_RULES, as before 1.17.

From https://bugs.gnu.org/72267.

* m4/silent.m4 (AM_SILENT_RULES): m4_newline() after the assignment.
Report from Francis Dupont, suggestions from Francis and Nick Bowler.
* NEWS: mention this.
* THANKS: add Francis.

5 months agodist: add bzip3 support.
Kamila Szewczyk [Fri, 21 Feb 2025 17:38:52 +0000 (09:38 -0800)] 
dist: add bzip3 support.

From https://bugs.gnu.org/73795 (automake-patches).

* bin/automake.in (handle_dist): add bzip3 support.
https://github.com/kspalaiologos/bzip3
* lib/Automake/Options.pm (_is_valid_easy_option): likewise.
* lib/am/distdir.am (dist-bzip3): likewise.
* t/dist-formats.tap: likewise.
* t/dist-bzip3.sh: new test.
* t/list-of-tests.mk (handwritten_TESTS): add it.
* NEWS: mention this.
* THANKS: add Kamila.

5 months agodoc: dates of releases.
Karl Berry [Fri, 21 Feb 2025 16:59:49 +0000 (08:59 -0800)] 
doc: dates of releases.

* NEWS: add dates of releases.

5 months agoautomake: add missing AC_MSG_RESULT calls to AM_SANITY_CHECK.
Richard Hansen [Thu, 20 Feb 2025 23:43:49 +0000 (15:43 -0800)] 
automake: add missing AC_MSG_RESULT calls to AM_SANITY_CHECK.

From https://bugs.gnu.org/76448 (automake-patches).

* m4/sanity.m4 (AM_SANITY_CHECK): Call AC_MSG_RESULT before erroring
out so that a complete line is printed to stdout before the error
message is written to stderr.
* NEWS: mention this.
* THANKS: add Richard.

6 months agotest: unset PERL5OPT later, in parallel-tests-log-compiler-example.sh.
Karl Berry [Sun, 9 Feb 2025 17:44:59 +0000 (09:44 -0800)] 
test: unset PERL5OPT later, in parallel-tests-log-compiler-example.sh.

* t/parallel-tests-log-compiler-example.sh: unset PERL5OPT
just for the make check warning.

6 months agopython: restore more compatible behavior for $PYTHON.
Karl Berry [Sun, 9 Feb 2025 17:36:24 +0000 (09:36 -0800)] 
python: restore more compatible behavior for $PYTHON.

For https://bugs.gnu.org/74434.

* lib/py-compile: if $PYTHON -V does not include the
string "python" (case-insensitive), consider the support
intentionally disabled and exit successfully, unless PYTHON is set
to false, in which case exit unsuccessfully. This is closer to
the old behavior. Mention this in the help message.
* t/py-compile-env.sh: add test for PYTHON=:.
* NEWS: mention this. (And, en passant, add some past bug#s and
clarify that only RCS/SCCS pattern rules were disabled, not all.)

6 months agotest: unset PERL5OPT for parallel-tests-log-compiler-example.sh.
Karl Berry [Thu, 6 Feb 2025 23:37:58 +0000 (15:37 -0800)] 
test: unset PERL5OPT for parallel-tests-log-compiler-example.sh.

* t/parallel-tests-log-compiler-example.sh: unset PERL5OPT
since the test expects a warning.

6 months agotest: allow running with fatal warnings given in PERL5OPT.
Karl Berry [Tue, 4 Feb 2025 16:22:26 +0000 (08:22 -0800)] 
test: allow running with fatal warnings given in PERL5OPT.

* HACKING: mention running the test suite with
PERL5OPT=-Mwarnings=FATAL,all  in the environment at new Perl (and
Automake releases), to try to keep up with new Perl warnings.
Suggestion from Jacob Bachmeyer,
https://lists.gnu.org/archive/html/automake/2025-02/msg00001.html
* t/parallel-tests-log-compiler-example.sh: explicitly use warnings
so that this PERL5OPT setting won't be a fatal error.
* NEWS: formatting.

6 months agocompile: Improve support for C++ compilations on MSYS2.
Bruno Haible [Mon, 3 Feb 2025 22:18:16 +0000 (14:18 -0800)] 
compile: Improve support for C++ compilations on MSYS2.

* lib/compile (func_file_conv): Use 'cygpath -w', not 'cygpath -m'
(c:\... vs. c:/... resp.).
* lib/ar-lib (func_file_conv): Likewise.

6 months agocompile: Distinguish various MinGW, MSYS, MSYS2 environments correctly.
Bruno Haible [Mon, 3 Feb 2025 22:16:42 +0000 (14:16 -0800)] 
compile: Distinguish various MinGW, MSYS, MSYS2 environments correctly.

* lib/compile (func_file_conv): Use not only "uname -s", but also
$MSYSTEM and the presence of cygpath, in order to distinguish the
original MinGW and MSYS2.
* lib/ar-lib (func_file_conv): Likewise.

6 months agocompile: Simplify, no need for nonexistent $file_conv=msys case,
Bruno Haible [Mon, 3 Feb 2025 22:15:35 +0000 (14:15 -0800)] 
compile: Simplify, no need for nonexistent $file_conv=msys case,

* lib/compile (func_file_conv): Remove unnecessary |msys, added on
2019-11-11.
* lib/ar-lib (func_file_conv): Likewise.

6 months agomaint: text/test cleanups.
Karl Berry [Mon, 3 Feb 2025 17:42:47 +0000 (09:42 -0800)] 
maint: text/test cleanups.

* THANKS: add Jose.
* NEWS: mention non-fatal Perl warnings and !! warning workaround.
* t/list-of-tests.mk (handwritten_TESTS): add a68-demo.sh.

6 months agoAdd support for the Algol 68 programming language.
Jose Marchesi [Sun, 2 Feb 2025 18:11:24 +0000 (10:11 -0800)] 
Add support for the Algol 68 programming language.

* bin/automake.in: Call register_language for Algol 68.
  (resolve_linker): handle A68LINK.
  (%_am_macro_for_cond): Add entry for am__fastdepGA68.
* configure.ac: Look for ga68 and set GNU_GA68 and GNU_A68FLAGS
    if found.
* lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for GA68
  and GA68FLAGS.
* t/a68-demo.sh: New test.
* doc/automake.texi (Algol 68 Support): New section.
* NEWS: Add entry for Algol 68.

6 months agoautomake: just use warnings, with no => FATAL.
Karl Berry [Fri, 31 Jan 2025 17:20:47 +0000 (09:20 -0800)] 
automake: just use warnings, with no => FATAL.

Per Perl recommendation:
  https://perldoc.perl.org/warnings#Fatal-Warnings
Suggested by Collin Funk:
  https://lists.gnu.org/archive/html/automake/2025-01/msg00003.html
And in the Perl discussion:
  https://github.com/Perl/perl5/issues/22954#issuecomment-2622966302

* bin/aclocal.in: just use warnings, not making them fatal.
* bin/automake.in:
* contrib/tap-driver.pl:
* gen-testsuite-part:
* lib/Automake/ChannelDefs.pm:
* lib/Automake/Channels.pm:
* lib/Automake/Condition.pm:
* lib/Automake/Config.in:
* lib/Automake/Configure_ac.pm:
* lib/Automake/DisjConditions.pm:
* lib/Automake/FileUtils.pm:
* lib/Automake/General.pm:
* lib/Automake/Getopt.pm:
* lib/Automake/Item.pm:
* lib/Automake/ItemDef.pm:
* lib/Automake/Language.pm:
* lib/Automake/Location.pm:
* lib/Automake/Options.pm:
* lib/Automake/Rule.pm:
* lib/Automake/RuleDef.pm:
* lib/Automake/VarDef.pm:
* lib/Automake/Variable.pm:
* lib/Automake/Version.pm:
* lib/Automake/Wrap.pm:
* lib/Automake/XFile.pm:
* t/ax/deltree.pl:
* t/ax/extract-testsuite-summary.pl:
* t/check-fd-redirect.sh:
* t/tap-signal.tap:
* t/tests-environment-fd-redirect.sh:
* t/testsuite-summary-count-many.sh:

6 months agoautomake: avoid precedence error when using Perl 5.41+.
Collin Funk [Thu, 30 Jan 2025 23:34:52 +0000 (15:34 -0800)] 
automake: avoid precedence error when using Perl 5.41+.

Reported by Igor Todorovski <itodorov@ca.ibm.com> in
<https://lists.gnu.org/archive/html/automake/2025-01/msg00000.html>.

* bin/automake.in (transform): Parentheses the '!' operators so
Perl 5.41.8 doesn't warn about "possible precedence problem".

7 months agoRename file to fix copyright update glitch
Paul Eggert [Wed, 1 Jan 2025 22:37:27 +0000 (14:37 -0800)] 
Rename file to fix copyright update glitch

* Makefile.am (EXTRA_DIST), NEWS: Adjust to file renaming.
* NEWS-future: Rename from NEWS-2.0, so that "make update-copyright"
does not think this is a man page and use \(en rather than - in year
ranges.  Change \(en back to -.

7 months agomaint: make update-copyright
Paul Eggert [Wed, 1 Jan 2025 22:31:02 +0000 (14:31 -0800)] 
maint: make update-copyright

7 months agomake fetch
Paul Eggert [Wed, 1 Jan 2025 22:28:48 +0000 (14:28 -0800)] 
make fetch

8 months agolib scripts: Make time-stamp after-save-hooks buffer-local.
Collin Funk [Tue, 3 Dec 2024 22:56:53 +0000 (14:56 -0800)] 
lib scripts: Make time-stamp after-save-hooks buffer-local.

From https://bugs.gnu.org/74661.

* contrib/tap-driver.pl: Add time-stamp-line-limit so Emacs updates the
timestamp. Pass optional arguments to 'add-hook'.
* lib/tap-driver.sh: Likewise.
* lib/compile: Pass optional arguments to 'add-hook'.
* lib/depcomp: Likewise.
* lib/install-sh: Likewise.
* lib/mdate-sh: Likewise.
* lib/missing: Likewise.
* lib/mkinstalldirs: Likewise.
* lib/py-compile: Likewise.
* lib/test-driver: Likewise.
* lib/ylwrap: Likewise.

8 months agoconfigure: make perl path with whitespace a warning, not error.
Karl Berry [Sun, 24 Nov 2024 01:57:41 +0000 (17:57 -0800)] 
configure: make perl path with whitespace a warning, not error.

For https://bugs.gnu.org/74453.
See also https://bugs.gnu.org/62896.

* configure.ac (PERL): use AC_MSG_WARN.

9 months agoautomake: require ABOUT-NLS only at gnits strictness.
Gavin Smith [Sun, 20 Oct 2024 21:34:39 +0000 (14:34 -0700)] 
automake: require ABOUT-NLS only at gnits strictness.

From https://lists.gnu.org/archive/html/automake/2024-10/msg00006.html.

* bin/automake.in (handle_gettext): In require_file for ABOUT-NLS,
change strictness level from GNU to GNITS.
* NEWS: Add notice.

10 months agodoc: doubled words in source comments.
Karl Berry [Wed, 16 Oct 2024 21:34:11 +0000 (14:34 -0700)] 
doc: doubled words in source comments.

Fixes https://bugs.gnu.org/73828 and https://bugs.gnu.org/73829.

* lib/Automake/Item.pm: repeated "that".
* lib/Automake/Variable.pm: repeated "by".
Reports from Bjarni Ingi Gislason.
Other English fixes en passant.

11 months agoautomake: recognize all-numeric MAJ.MIN.MICROa.ALPHA versions better.
Karl Berry [Tue, 10 Sep 2024 22:44:57 +0000 (15:44 -0700)] 
automake: recognize all-numeric MAJ.MIN.MICROa.ALPHA versions better.

* HACKING: more doc on version numbers.
* configure.ac (AC_INIT): 1.17.0.91, since we want (I guess)
to retain odd numbers for development and even numbers for pretests.
* m4/amversion.m4 (AM_AUTOMAKE_VERSION): 1.17.0.91 (auto-update).
(AM_SET_CURRENT_AUTOMAKE_VERSION): likewise.
* lib/Automake/Options.pm (_process_option_list): recognize
four-part numeric versions as Automake options.
* lib/Automake/Version.pm (split): recognize four-part numeric
versions.
* t/pm/Version.pl (@tests, @bad_versions): update test
to check (not reject) four-part numeric versions.

11 months agom4: align removal after compilation with autoconf.
Eric Gallager [Sat, 7 Sep 2024 17:15:38 +0000 (10:15 -0700)] 
m4: align removal after compilation with autoconf.

From https://bugs.gnu.org/72225, and
fixes https://bugs.gnu.org/72852.

* m4/prog-cc-c-o.m4: remove conftest[12]*.dSYM, and don't remove core.
* THANKS: add Eric.

13 months agomaint: it seems APIVERSION only changes for minor/major releases.
Karl Berry [Sun, 14 Jul 2024 15:39:46 +0000 (08:39 -0700)] 
maint: it seems APIVERSION only changes for minor/major releases.

* configure.ac (APIVERSION): back to 1.17 (from 1.17.0.90).
* m4/amversion.m4: likewise (auto-updated).

13 months agomaint: post-release version bump to 1.17.0.90
Jim Meyering [Fri, 12 Jul 2024 05:52:32 +0000 (22:52 -0700)] 
maint: post-release version bump to 1.17.0.90

* configure.ac (AC_INIT): 1.17.0.90.
* m4/amversion.m4: likewise (auto-updated).
* HACKING: Fix typo in version example.

13 months agomaint: prepare for 1.17 release. v1.17
Karl Berry [Wed, 10 Jul 2024 22:15:04 +0000 (15:15 -0700)] 
maint: prepare for 1.17 release.

* configure.ac (AC_INIT): 1.17.
(APIVERSION): also 1.17. (Yikes.)
* m4/amversion.m4: likewise (auto-updated).
* HACKING: tweak release info some more.

13 months agomaint: ignore all *.out in .gitignore.
Karl Berry [Wed, 10 Jul 2024 17:39:21 +0000 (10:39 -0700)] 
maint: ignore all *.out in .gitignore.

* .gitignore (*.out): ignore all at top level; common temp files.

13 months agotest: explanation of MTIME_RESOLUTION resetting.
Karl Berry [Tue, 9 Jul 2024 22:35:13 +0000 (15:35 -0700)] 
test: explanation of MTIME_RESOLUTION resetting.

* t/ax/test-defs.in (MTIME_RESOLUTION): separate the case
where am_cv_filesystem_timestamp_resolution is not set for
more explanations, but still reset MTIME_RESOLUTION to 1
even if it is already set. Which it should be when running
tests, because config.status is sourced. But it's too late in
the release process to change this now; after the release,
can try keeping a non-empty MTIME_RESOLUTION.

13 months agoautomake: info about Automake and Libtool being in different prefixes.
Karl Berry [Mon, 8 Jul 2024 22:04:48 +0000 (15:04 -0700)] 
automake: info about Automake and Libtool being in different prefixes.

In response to https://bugs.gnu.org/71847.

* doc/automake.texi (Libtool library used but LIBTOOL is undefined):
new node. Tweak aclocal section.
* lib/Automake/Variable.pm (require_variables): refer to the
new node in the message for LT_INIT.
* maintainer/maint.mk (announcement) <AO>: new fn; use it
to output a link to the new node for test releases only.
* HACKING: mention M-x texinfo-master-menu, et al.
* doc/amhello/README: mention that the package is named amhello.

13 months agomaint: secondary updates from make fetch.
Karl Berry [Mon, 8 Jul 2024 17:18:16 +0000 (10:18 -0700)] 
maint: secondary updates from make fetch.

* lib/gendocs.sh: update with make fetch.
* lib/gitlog-to-changelog: likewise.
* lib/gnupload: likewise.
* lib/update-copyright: likewise.

13 months agodoc: tweak announce-gen invocation HACKING.
Karl Berry [Wed, 3 Jul 2024 15:33:59 +0000 (08:33 -0700)] 
doc: tweak announce-gen invocation HACKING.

* HACKING: generalize gnulib/build-aux/announce-gen invocation.

13 months agoautomake: display whether sleep supports fractional seconds as yes/no.
Bruno Haible [Wed, 3 Jul 2024 15:27:02 +0000 (08:27 -0700)] 
automake: display whether sleep supports fractional seconds as yes/no.

https://lists.gnu.org/archive/html/automake/2024-07/msg00003.html

* m4/sanity.m4 (_AM_SLEEP_FRACTIONAL_SECONDS): Set
am_cv_sleep_fractional_seconds to yes/no, not true/false,
for consistency with other results.
Also "quote" this and other $am_cv values.
(_AM_FILESYSTEM_TIMESTAMP_RESOLUTION): Test for yes/no.
* t/ax/test-defs.in: Set am_cv_sleep_fractional_seconds to 'no',
not 'false'.

13 months agodoc: tweak release info in HACKING.
Karl Berry [Mon, 1 Jul 2024 15:31:40 +0000 (08:31 -0700)] 
doc: tweak release info in HACKING.

* HACKING: mention gnulib/build-aux/announce-gen, etc.

13 months agoautomake: avoid Perl-level warning on empty variable $().
Karl Berry [Sun, 30 Jun 2024 20:26:51 +0000 (13:26 -0700)] 
automake: avoid Perl-level warning on empty variable $().

https://lists.gnu.org/archive/html/automake/2024-06/msg00085.html

* lib/Automake/Variable.pm (scan_variable_expansions): recognize
and do nothing if the variable name is empty: $().
* t/varempty.sh: new test.
* t/list-of-tests.mk (handwritten_TESTS): add it.

13 months agoautomake: test $MAKE if that's defined.
Karl Berry [Sat, 29 Jun 2024 17:24:57 +0000 (10:24 -0700)] 
automake: test $MAKE if that's defined.

https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html

* m4/sanity.m4 (_AM_FILESYSTEM_TIMESTAMP_RESOLUTION): test $MAKE
if it's defined, else "make".

13 months agomaint: post-release: bump version to 1.16.93
Jim Meyering [Fri, 21 Jun 2024 05:12:53 +0000 (22:12 -0700)] 
maint: post-release: bump version to 1.16.93

* configure.ac (AC_INIT): Post-release version bump to 1.16.93.
* am/amversion.m4: Update by running ./bootstrap.

13 months agotest-driver: rm spurious blank line. v1.16.92
Karl Berry [Thu, 20 Jun 2024 20:34:46 +0000 (13:34 -0700)] 
test-driver: rm spurious blank line.

* lib/test-driver (print_usage): remove spurious blank line.
Report from Bruno,
https://lists.gnu.org/archive/html/automake/2024-06/msg00075.html

13 months agomaint: prepare for 1.16.92 pretest.
Karl Berry [Thu, 20 Jun 2024 17:15:21 +0000 (10:15 -0700)] 
maint: prepare for 1.16.92 pretest.

* configure.ac (AC_INIT): 1.16.92.
* m4/amversion.m4: likewise (auto-updated).

13 months agomaint: wording tweaks for announcement.
Karl Berry [Thu, 20 Jun 2024 17:14:06 +0000 (10:14 -0700)] 
maint: wording tweaks for announcement.

* NEWS: Automake 2.0 may not happen.
* maintainer/maint.mk (announcement): missed newline.

13 months agotest: sync list-of-tests.
Karl Berry [Thu, 20 Jun 2024 17:04:55 +0000 (10:04 -0700)] 
test: sync list-of-tests.

* t/list-of-tests.mk (handwritten_TESTS): add back t/instdir-ltlib.sh;
turns out all tests need to be listed there, XFAIL_TESTS is not
included, and that seems ok.
* t/CheckListOfTests.am (maintainer-check-list-of-tests): only
delete temp files if result is successful.

13 months agoautomake: insane typo * instead of 2.
Karl Berry [Wed, 19 Jun 2024 17:02:39 +0000 (10:02 -0700)] 
automake: insane typo * instead of 2.

* m4/sanity.m4 (AM_SANITY_CHECK): managed to replace 2 with *
in ls -t test. Clearly I have gone insane.

13 months agomaint: secondary updates from make fetch.
Karl Berry [Wed, 19 Jun 2024 16:43:18 +0000 (09:43 -0700)] 
maint: secondary updates from make fetch.

* lib/gendocs.sh: update with make fetch.
* lib/gitlog-to-changelog: likewise.

13 months agodoc: rewrite subsecond NEWS entry, sanity.m4 "make" testing wrong, etc.
Karl Berry [Wed, 19 Jun 2024 16:41:22 +0000 (09:41 -0700)] 
doc: rewrite subsecond NEWS entry, sanity.m4 "make" testing wrong, etc.

* m4/sanity.m4 (_AM_FILESYSTEM_TIMESTAMP_RESOLUTION): mention
that testing of "make" is wrong here; but $(MAKE) is not available?
Do some special pleading that it won't matter in practice; we'll see.
https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
(AM_SANITY_CHECK): use $[]* instead of $[*]2 to avoid
the confusing apparent (but not) use of shell arrays; the square
brackets are parsed off by m4.
* lib/am/check.am (output_system_information): en passant, mention
that $(AWK) should always be defined since AC_PROG_AWK is part of
AM_INIT_AUTOMAKE nowadays.
* NEWS: rewrite subsecond NEWS entry:workaround, more references.