Log

Author Commit Date CI Message
Mike Frysinger cd995fe6 2022-01-24T01:02:41 tests: clear autotools env vars Fixes automake bug https://bugs.gnu.org/16714. The testsuite will try and retain these env vars when recursively running itself, but doesn't distinguish between vars coming from the env where the tests were launched. This breaks if the user happens to `export ACLOCAL=alocal` before `make check`. This gets a little more confusing in that the Makefile appears to export these already: ACLOCAL = ".../automake/pre-inst-env" aclocal-1.16 In reality, while those are set in the make execution environment, they aren't exported into the process environment, so children (i.e. shell processes in make rules) don't have them set. That's why tests work for most people today. However, if the user has first exported "ACLOCAL" in the parent make environment (regardless of value), then make's value will reset the process environment, and then that will leak into the children. That's why we see errors that look like the makefile env vars are leaking for these people. At any rate, the fix is to update the test harness to clear these vars that the test suite relies upon, especially the ones that are also set in the Makefiles. That includes AUTOUPDATE even though it currently isn't used inside any of the tests. * t/local.mk: Add ACLOCAL, AUTOCONF, AUTOHEADER, AUTOMAKE, and AUTOUPDATE to the env unset list. * t/ax/runtest.in: Likewise.
Mike Frysinger 4c2c73bf 2022-01-20T02:03:23 aclocal: add m4 search path info to --help Add a short summary to --help of the current paths that will be searched. Make sure to omit this from the man page when running help2man since pre-inst-env specifically clears some and others to the current build directory. * bin/aclocal.in: Include m4 search paths in usage. * doc/local.mk: Run help2man with AUTOMAKE_HELP2MAN=true.
Mike Frysinger ec1a20a3 2022-01-24T00:57:30 tests: fix quoting in eval We need to escape the quotes so eval sees them when expanding the variable value, not when quoting the variable name itself. * t/local.mk: Escape quotes to eval.
Karl Berry b64df48b 2022-01-23T14:27:11 doc: singular/plural agreement, since it's easy. * HACKING: singular/plural agreement. * t/README: likewise.
Mike Frysinger a4e22a7b 2022-01-22T22:30:54 THANKS: fix sorting * THANKS: Sort a bunch of names.
Zack Weinberg 8813fac0 2022-01-21T14:57:30 build: fix ChangeLog generation in external build directory When gitlog-to-changelog is run in a build directory that is neither the same as, nor a subdirectory of, the source directory, it needs a --srcdir option or it will fail to generate the changelog. For instance $ git clone https://git.savannah.gnu.org/git/automake.git … $ (cd automake && ./bootstrap) $ mkdir b-automake $ cd b-automake $ ../automake/configure … $ make dist … GEN ChangeLog gitlog-to-changelog:../s-automake/.git-log-fix: unused entry: 22729165f6bb902daeb8a4d8e7cb06982390f327 gitlog-to-changelog:../s-automake/.git-log-fix: unused entry: 3b369e6bbe0fb6d7359398935706c87dd9375cb6 make[2]: *** [../automake/maintainer/maint.mk:48: ChangeLog] Error 1 * maintainer/maint.mk (gitlog_to_changelog_options): Add --srcdir option.
Mike Frysinger 5d022858 2022-01-18T04:47:09 build: fix race in parallel builds As reported by Hongxu Jia: > The automake-$(APIVERSION) is a hardlink of automake, if it is > created later than update_mans executing, there is a failure > [snip] > |: && mkdir -p doc && ./pre-inst-env /usr/bin/env perl ../automake-1.16.1/doc/help2man --output=doc/aclocal-1.16.1 aclocal-1.16 > |help2man: can't get `--help' info from aclocal-1.16 > |Try `--no-discard-stderr' if option outputs to stderr > Makefile:3693: recipe for target 'doc/aclocal-1.16.1' failed > [snip] > > The automake_script is required by update_mans and update_mans > invokes automake-$(APIVERSION) rather than automake to generate > doc, so we should assign `automake-$(APIVERSION)' to automake_script. > > The same reason to tweak aclocal_script. However, rather than update the _script variables to point to the hardlinked copies of the programs, we can have the help2man steps run the existing scripts directly. This makes the relationship a bit more explicit and avoids implicit dependencies on names. * doc/local.mk: Pass $(aclocal_script) and $(automake_script) to $(update_mans). * THANKS: Add Hongxu Jia.
Pavel Raiskup 5fefc4a6 2018-07-30T15:02:35 lib: drop unused shell variables Detected by ShellCheck. * lib/depcomp: Drop never used $digits. * lib/ylwrap: Drop --basedir and $basedir, seems like that was old C&P error from 210797967a.
Mike Frysinger e2b3c48d 2021-12-11T23:34:25 gitignore: drop redundant config.h.in~ rule Since we're ignoring all *~ files, we don't need this explicit one. * .gitignore: Delete config.h.in~ rule.
Matthew Leeds 928288cb 2018-04-08T16:07:32 doc: use gender-neutral pronouns in t/README * t/README: s/him/them/
Jim Meyering ae8fb001 2022-01-18T02:00:22 tests: fix py-compile-basedir.sh: missing "test" Prompted by a patch from Thomas Deutschmann <whissi@gentoo.org>, via https://lists.gnu.org/r/automake-patches/2022-01/msg00001.html: commit v1.16.1-26-gb279a0d46 ("tests: in python tests, do not require .pyo files (for python3)") was missing a `test` call. Reported to Gentoo at https://bugs.gentoo.org/715040. * t/py-compile-basedir.sh: Rather than just adding the missing "test", rewrite using a case statement, to avoid some duplication.
Jim Meyering 6c8ff6a8 2022-01-12T14:15:12 maint: make update-copyright
Bruno Haible 40f4b5dd 2021-12-18T18:26:46 doc: %reldir% and %canon_reldir% do not expand to the empty string. This change fixes https://bugs.gnu.org/52500. * doc/automake.texi (Include): correct wrong text. (Along the way, correct plain-text "Makefile" to "@file{Makefile}".)
Mike Frysinger 5112a1fe 2021-12-12T18:08:06 configure: skip kcc on case-insensitive filesystems; add clang++. This change fixes https://bugs.gnu.org/21336. * configure.ac: Skip KCC check on case-insensitive filesystems; on macOS 10.10 and later, a kerberos tool named "kcc" is installed. Add clang++ to the C++ search list, as with current autoconf.
Mike Frysinger bed9e25e 2021-12-12T18:01:03 maint: update .gitignore. * .gitignore: ignore *~ .# and (from Zack Weinberg, autosave files) .*.sw[op] \#*#, closer to matching Autoconf. https://lists.gnu.org/archive/html/automake-patches/2021-12/msg00005.html https://lists.gnu.org/archive/html/automake-patches/2021-12/msg00010.html
Mike Frysinger 6156cd86 2021-12-12T01:07:39 m4: replace AC_DIAGNOSE with m4_warn AC_DIAGNOSE was marked obsolete with autoconf-2.62 in 2008. * m4/obsolete.m4: Change AC_DIAGNOSE to m4_warn.
Mike Frysinger a320a092 2021-11-27T17:43:00 dejagnu: add support for silent builds with site.exp. * lib/am/dejagnu.am (site.exp): Use $(AM_V_GEN) and merge all independent shell calls into one.
Karl Berry 948c5fa4 2021-11-04T18:17:39 doc: rearrange Multiple Outputs node. This change fixes https://bugs.gnu.org/48188. * doc/automake.texi (Multiple Outputs): move GNU pattern rule approach to the front, since it is probably best if GNU make can be assumed. Suggestion from Frank Heckenbach. Also, remove one of the examples that did not work, per Paul Smith.
Mike Frysinger b7868119 2021-10-31T12:52:43 config headers: add support for silent builds * lib/am/remake-hdr.am (%STAMP%): Use $(AM_V_at) and $(AM_V_GEN). (%CONFIG_HIN%): Likewise.
Karl Berry f4ac56ee 2021-11-01T18:24:25 doc: correct @node placement for new subsubsection. This change addresses https://bugs.gnu.org/51532. * doc/automake.texi (Linking Multiple Yacc Parsers): unfortunately I misplaced the @node after the @subsection; correct that.
Jim Meyering abe72f96 2021-10-03T20:25:27 maint: Post-release administrivia * configure.ac (AC_INIT): Bump version number to 1.16i. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
Jim Meyering 18416d64 2021-10-03T19:47:14 version 1.16.5 * configure.ac (AC_INIT): Bump version number to 1.16.5. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). * NEWS: Record release version.
Jim Meyering 5389f111 2021-10-03T20:06:35 maint: don't use obsolescent "egrep" * maintainer/syntax-checks.mk (sc_perl_local): Use grep -E in place of "egrep".
Jim Meyering 524d9961 2021-10-03T19:48:31 maint: remove trailing white space from a few files * NEWS: Remove trailing white space. * NEWS-2.0: Likewise. * contrib/checklinkx: Likewise. * doc/local.mk (chlx_args): Likewise. * m4/python.m4: Likewise. * t/test-extensions-empty.sh: Likewise.
Karl Berry 6f842a90 2021-09-28T18:27:57 doc: show "RUNNING: <testname>" example using [AM_]TESTS_ENVIRONMENT. This change addresses https://bugs.gnu.org/49309. * doc/automake.texi (Testsuite Environment Overrides): new subsubsection, separating out [AM_]TESTS_ENVIRONMENT description. Add example to get "RUNNING: <testname>" when a test starts.
Karl Berry 80ad99a6 2021-09-28T14:59:22 doc: tweak Yacc/Lex text; subnode for the yacc linking hack. * doc/automake.texi (Alternative): remove obsolete footnote. (Yacc and Lex): tweak wording, more consistent capitalization. (Linking Multiple Yacc Parsers): new subsection. Also add @shortcontents. Also update texinfo-master-menu (for the first time in ages).
Karl Berry 4e53bb67 2021-09-26T18:19:43 maint: Update files from upstream with 'make fetch'. * lib/config.sub: Update.
Jim Meyering 90bf665a 2021-09-19T19:40:32 maint: Post-release administrivia * configure.ac (AC_INIT): Bump version number to 1.16h. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
Jim Meyering 49d55448 2021-09-19T18:38:59 maint: adjust version for snapshot * configure.ac (AC_INIT): Bump version number to 1.16g for snapshot. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
Karl Berry 56387843 2021-09-19T15:12:27 python: only use Python's sys.* values if the new option --with-python-sys-prefix is specified; otherwise, return to previous behavior of using the GNU ${prefix} and ${exec_prefix}. * doc/automake.texi (Python): document the new behavior. * m4/python.m4 (AM_PATH_PYTHON): conditionalize use of Python's sys.* values on the new option --with-python-sys-prefix. * t/python-prefix.sh: doc update. * t/python-vars.sh: test both GNU and Python prefix values. * NEWS: mention this.
Karl Berry 00517c1c 2021-09-18T11:08:24 doc: update NEWS for yyerror const arg; update THANKS. * THANKS: update with missed recent committer. * NEWS: mention yyerror decl in our tests now uses const.
Akim Demaille 2bb6340f 2021-09-11T10:06:13 tests: let yacc's yyerror take its argument as a const string Some of yacc error messages are const strings; it makes no sense for yyerror to take a 'char *', it should be a 'const char *' as POSIX now requires. Fixes all the failures reported by Kiyoshi Kanazawa. <https://lists.gnu.org/r/bug-bison/2021-09/msg00005.html> See bug#50469 <https://debbugs.gnu.org/50469>. * t/cond35.sh, t/silent-many-languages.sh, t/silent-yacc-headers.sh, * t/silent-yacc.sh, t/subpkg-yacc.sh, t/suffix10.tap, t/yacc-basic.sh, * t/yacc-clean.sh, t/yacc-d-basic.sh, t/yacc-d-vpath.sh, * t/yacc-deleted-headers.sh, t/yacc-depend.sh, t/yacc-depend2.sh, * t/yacc-dist-nobuild-subdir.sh, t/yacc-dist-nobuild.sh, t/yacc-dry.sh, * t/yacc-line.sh, t/yacc-misc.sh, t/yacc-mix-c-cxx.sh, t/yacc-nodist.sh, * t/yacc-pr204.sh, t/yacc-subdir.sh, t/yacc-vpath.sh, * t/yflags-cmdline-override.sh, t/yflags-force-override.sh (yyerror): From 'char *' to 'const char *'. Enforce consistency: prefer '{}' to '{ return; }'.
Jan Engelhardt 4ffbab93 2021-09-10T15:45:29 automake: consistently depend on install-libLTLIBRARIES. Report and patch: https://lists.gnu.org/archive/html/automake/2021-08/msg00016.html * bin/automake.in (generate_makefile): depend on install-libLTLIBRARIES for all PROGRAMS and LTLIBRARIES, such as install-pkglibLTLIBRARIES. * NEWS: mention this.
Nick Bowler f4a3a70f 2021-08-17T18:26:42 automake: fatal error on second AM_INIT_AUTOMAKE. This change addresses https://bugs.gnu.org/50046. Patch posted: https://lists.gnu.org/archive/html/automake-patches/2021-08/msg00000.html * m4/init.m4: Make attempts to expand AM_INIT_AUTOMAKE more than once a fatal error at m4 time.
Karl Berry 4ace473b 2021-08-08T18:04:01 maint: Update doc/help2man. * doc/help2man: update to 1.48.24
Karl Berry b2487b78 2021-08-07T17:59:40 maint: Update doc/help2man. * doc/help2man: update to 1.48.2.
Dimitri Papadopoulos 522e0d40 2021-08-07T17:54:17 doc: typos from codespell. * HACKING: typo from codespell. * doc/local.mk: likewise. * lib/am/header-vars.am: likewise. * lib/am/lisp.am: likewise. * t/cond24.sh: likewise. * t/cond36.sh: likewise. * t/dist-auxdir-many-subdirs.sh: likewise. * t/link_override.sh: likewise. * t/parallel-tests-console-output.sh: likewise. * t/subobj11a.sh: likewise. * t/subobj11b.sh: likewise.
Karl Berry badd7d25 2021-07-26T18:03:53 cosmetics: py-compile consistently use test, not [ ... ]; indentation. * lib/py-compile: consistently use test rather than [ ... ]; use consistent sh indentation; check exit status consistently.
Jim Meyering 770b012b 2021-07-26T12:37:23 maint: Post-release administrivia * configure.ac (AC_INIT): Bump version number to 1.16f. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
Jim Meyering 39c0005a 2021-07-25T21:59:59 version 1.16.4 * configure.ac (AC_INIT): Bump version number to 1.16.4. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). * NEWS: Record release version.
Karl Berry 0b087f56 2021-07-22T13:44:12 maint: Update files from upstream with 'make fetch'. * lib/gendocs.sh: Update.
Jim Meyering cdc5372b 2021-07-18T19:34:37 maint: adjust version, post-snapshot * configure.ac (AC_INIT): Bump version number to 1.16e for snapshot. * m4/amversion.m4: Regenerate.
Jim Meyering 51c8ca10 2021-07-18T18:16:23 maint: adjust version for snapshot * configure.ac (AC_INIT): Bump version number to 1.16d for snapshot. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
Jim Meyering d5ca48a6 2021-07-17T12:55:12 doc: NEWS tweak * NEWS: Indent consistently.
Karl Berry bb0cd901 2021-07-17T18:10:21 doc: update HACKING. * HACKING: update for some current realities.
Jacob Bachmeyer 7e50be6b 2021-07-14T20:21:49 tests: use testsuite/ directory in DejaGnu tests Patch posted: https://lists.gnu.org/archive/html/automake-patches/2021-07/msg00009.html * t/check12.sh: Consistently use the directory name, testsuite/, for all DejaGnu tests, and always use recursive make to run DejaGnu, for backward and forward compatibility. * t/dejagnu3.sh: Likewise. * t/dejagnu4.sh: Likewise. * t/dejagnu5.sh: Likewise. * t/dejagnu6.sh: Likewise. * t/dejagnu7.sh: Likewise. * t/dejagnu-absolute-builddir.sh: Likewise. * t/dejagnu-relative-srcdir.sh: Likewise. * t/dejagnu-siteexp-extend.sh: Likewise. * t/dejagnu-siteexp-useredit.sh: Likewise. * NEWS: mention this. * THANKS: new contributor.
Nick Gasson 57688bd5 2021-07-15T18:37:09 automake: silent make output for custom link commands. Patch posted: https://lists.gnu.org/archive/html/automake-patches/2021-07/msg00010.html * bin/automake.in (define_per_target_linker_variable): Use AM_V_${target}_LINK if defined as the verbose variable name for custom link commands. * doc/automake.texi (Program and Library Variables): Document the new variable. * t/link_override.sh: Add extra checks for silent make rules. * NEWS: Mention this. * THANKS: new contributor.
meyering 15641c2f 2021-07-11T19:40:06 maint: avoid syntax-check failures * maintainer/syntax-checks.mk (toupper): Tighten the regexp to avoid a new false-match in t/python-prefix.sh. * t/instmany-python.sh: Use run_make in place of some $MAKE uses. * t/python-prefix.sh: Likewise. * t/python-vars.sh: Likewise.
Jim Meyering a470a47f 2021-07-11T19:19:42 maint: make update-copyright
Allison Karlitskaya 3d9460bc 2021-07-09T09:03:30 maint: tweak comment wording * doc/automake.texi (List of Automake options): Nit. * t/dist-no-built-sources.sh: Likewise.
Jim Meyering 314c55f0 2021-07-11T18:34:22 no-dist-built-sources: fix-up * bin/automake.in (preprocess_file): Process new option here, (handle_dist): ... not here. * lib/Automake/Options.pm (_is_valid_easy_option): Remove pure-dist. * lib/am/distdir.am: Don't factor out the duplicate-looking $(MAKE)... command. Otherwise, many dist-using tests would fail for me, e.g., t/aclocal-amflags.sh.
Jim Meyering bf22cfbe 2021-07-11T13:42:16 test: disable use of ksh in a test that would otherwise hang * t/tests-environment-fd-redirect.sh: This test would hang when using ksh93 from Fedora 34 and CentOS 8. Comments demonstrate the issue reported as https://github.com/ksh93/ksh/issues/316
Karl Berry 40b000c9 2021-07-11T18:02:13 doc: update THANKS. * THANKS: mention contributors over the past couple years.
Allison Karlitskaya 13659a73 2021-07-09T09:03:30 dist: add new "dist-no-built-sources" automake option. Fixes automake bug https://debbugs.gnu.org/49317. * bin/automake.in: implement new option "no-dist-built-sources" to omit the dependency of distdir on $(BUILT_SOURCES). (Allison's original patch used the option name dist-pure; trivially renamed.) * lib/am/distdir.am (distdir) [DIST_BUILT_SOURCES]: conditionalize the dependency. * lib/Automake/Options.pm (_is_valid_easy_option): list it. * doc/automake.texi (List of Automake options): document it. * NEWS: mention it. * t/dist-no-built-sources.sh: test it. * t/list-of-tests.mk (handwritten_TESTS): add it.
Karl Berry 6a986bc0 2021-07-07T18:00:21 maint: missed commits. * INSTALL: Update from gnulib via make fetch. * NEWS: mention config.{guess,sub} restoration of `...`.
Karl Berry 35c47fb6 2021-07-05T18:59:51 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.
Karl Berry 81b29007 2021-07-05T18:12:41 tests: forgot to remove dev exit 33 from new test. * t/toplevelmd.sh: normal ending.
Karl Berry 16569085 2021-07-01T18:21:51 dist: accept .md versions for README et al. This change was suggested by madmurphy; some ideas were taken from the patch he provided. https://lists.gnu.org/archive/html/automake-patches/2021-06/msg00005.html * bin/automake.in (@toplevelmd_ok): new global, listing the files for which we will accept .md versions. (@common_files): remove those files from there. (handle_dist): check for .md if non-.md is absent. (handle_minor_options): check for README-alpha.md. (check_gnu_standards): accept .md version if present. (check_gnits_standards): likewise. (usage): output list of .md-accepted files. * doc/automake.texi (Basics of Distribution): document. * t/toplevelmd.sh: new test. * t/list-of-tests.mk (handwritten_tests): add it. * NEWS: mention new feature.
Karl Berry e7724fb1 2021-06-08T17:58:10 doc: omit "really" from manual. * doc/automake.texi: remove or replace "really".
Karl Berry ccca652a 2021-06-07T18:09:25 doc: --always-make doesn't work. * doc/automake.texi (Rebuilding): the GNU Make option --always-make does not work with Automake. Report from Johan Persson, https://lists.gnu.org/archive/html/automake/2021-06/msg00002.html. Also, use "GNU Make" (capital M) more consistently.
Karl Berry 337c4bae 2021-05-18T18:34:56 doc: wording. * README: * t/python-virtualenv.sh: * doc/automake.texi: wording, typos, etc.
Karl Berry 2765c894 2021-05-18T18:11:02 doc: move future 2.0 incompatibilities to separate file. * NEWS: move info to ... * NEWS-2.0: ... this new file. * Makefile.am (EXTRA_DIST): add it.
Karl Berry b83830c8 2021-05-18T15:12:56 python: new python-prefix test. * t/python-prefix.sh: new test. * t/list-of-tests.mk (handwritten_tests): add it. * NEWS: describe new Python prefix behavior.
Joshua Root ed8daa06 2021-05-18T15:11:59 python: use Python's sys.prefix and sys.exec_prefix for PYTHON_PREFIX and PYTHON_EXEC_PREFIX; new configure options --with-python_prefix and --with-python_exec_prefix to set explicitly. This change fixes https://bugs.gnu.org/35322. * m4/python.m4 (AM_PATH_PYTHON): use Python's sys.prefix and sys.exec_prefix for PYTHON_PREFIX and PYTHON_EXEC_PREFIX, instead of $prefix and $exec_prefix. But use a variable reference to ${prefix} if it is contained within sys.prefix; similarly for exec_prefix. Also support new configure options to set explicitly. (PYTHON_PREFIX, PYTHON_EXEC_PREFIX): AC_SUBST these. (am_cv_python_pythondir): use our new $am_cv_python_prefix, substituting ${PYTHON_PREFIX}. (am_cv_python_pyexecdir): likewise. * doc/automake.texi (Python): PYTHON_PREFIX, PYTHON_EXEC_PREFIX, document new approach. * t/instmany-python.sh: set PYTHON_PREFIX as needed. * t/python-vars.sh (PYTHON_EXEC_PREFIX, PYTHON_PREFIX): also set from Python's sys.{exec_,}prefix; use ${PYTHON_{EXEC,}PREFIX} instead of ${exec_,}prefix.
Karl Berry 0c8100cb 2021-05-12T18:08:02 doc: HACKING updates. * HACKING: some additional tidbits.
Dirk Mueller 4a122012 2021-02-27T09:14:47 automake: sort hash keys needed for reproducible output. This change fixes https://bugs.gnu.org/46744. * bin/automake.in: sort keys, in: handle_LIBOBJS, handle_clean, handle_factored_dependencies, scan_autoconf_traces, lang_vala_finish. * NEWS: mention this.
Karl Berry 03d1ab0a 2021-02-22T18:23:16 doc: a_LDFLAGS always overrides AM_LDFLAGS. This change addresses https://bugs.gnu.org/34925. * doc/automake.texi (Program and Library Variables): document that using a_LDFLAGS at all, even in the false branch of a conditional, means that AM_LDFLAGS is ignored.
Mike Frysinger 784fcf21 2021-02-21T18:26:15 doc: [AM_]RUNTESTFLAGS not [AM_]RUNTESTDEFAULTFLAGS. * doc/automake.texi (Other Variables): Change [AM_]RUNTESTDEFAULTFLAGS to [AM_]RUNTESTFLAGS.
Karl Berry 89a76c9c 2021-02-11T18:05:15 doc: user flags last does not always allow overriding. This change addresses https://bugs.gnu.org/35526. * doc/automake.texi (Flag Variables Ordering): recognize that user flags last does not always allow overriding.
Karl Berry f80a940a 2021-01-06T17:57:08 doc: discuss AC_* ordering a little. * doc/automake.texi (Optional): mention that AC_CONFIG_AUX_DIR must be called before AM_INIT_AUTOMAKE, and recommend that other AC_CONFIG_* macros be called after. This seems to be the most common practice. Autoconf does not currently impose ordering: https://savannah.gnu.org/support/?110416
Zack Weinberg ccb57553 2020-12-14T14:50:47 Fix some build and test failures with Autoconf 2.70. Autoconf 2.70 (released last week) makes a few changes that broke Automake’s expectations, mostly in the test suite. This patch addresses two of the problems: - autoconf now issues a warning if fed a configure script that doesn’t invoke both AC_INIT and AC_OUTPUT; this, plus a problem with system-provided tools (still under investigation) broke the *build* on macOS; it also causes a couple of spurious testsuite failures. - AC_PACKAGE_NAME and AC_PACKAGE_VERSION are now defined unconditionally. AM_INIT_AUTOMAKE needs to use m4_ifset instead of m4_ifdef to diagnose the obsolete use of AC_INIT with fewer than two arguments. (This change is compatible with autoconf 2.69; m4_ifset is much older, and it means ‘defined with a non-empty value’.) * configure.ac: Use both AC_INIT and AC_OUTPUT in test configure scripts. * t/deprecated-acinit.sh, t/init.sh: Likewise. * m4/init.m4 (AM_INIT_AUTOMAKE): Use m4_ifset, not m4_ifdef, to detect AC_PACKAGE_NAME and/or AC_PACKAGE_VERSION not having a value.
Karl Berry 6a753ef5 2020-12-13T18:34:35 python: don't assume $(...) in py-compile. This change (very) partially fixes https://bugs.gnu.org/45205. * lib/py-compile: use `...` instead of $(...). Solaris 10 /bin/sh is still in use.
Karl Berry 9f044de1 2020-12-09T15:02:19 tests: more .NOTPARALLEL tests. * t/java-compile-run-nested.sh: .NOTPARALLEL in subdirs too.
Karl Berry 87b29629 2020-12-08T15:01:00 tests: more .NOTPARALLEL tests. * contrib/t/multilib.sh: yet more .NOTPARALLEL for AM_TESTSUITE_MAKE, found by Jim on heavier machines. * t/autodist-stamp-vti.sh: likewise. * t/java-compile-run-nested.sh: likewise. * t/transform2.sh: likewise.
Karl Berry 95da1185 2020-12-07T15:53:01 tests: more .NOTPARALLEL tests. * contrib/t/multilib.sh: use .NOTPARALLEL to avoid unreproducible (and undebuggable, by me) test failures when running make -j$njobs AM_TESTSUITE_MAKE="make -j$njobs" for some arbitrary but rather large value of $njobs. The failures don't occur with just make -j; have to run the makes inside the tests in parallel also. * t/java-compile-install.sh: likewise. * t/java-compile-run-flat.sh: likewise. * t/java-uninstall.sh: likewise. * t/vala-headers.sh: likewise.
Karl Berry 46420770 2020-12-05T18:19:18 doc: comment Vala -newer test. This change updates https://bugs.gnu.org/44772. * bin/automake.in (lang_vala_finish_target): comment that we're checking "C file not older than Vala file", and the log message misleadingly says "reversed".
Reuben Thomas d2ccbd7e 2020-12-05T18:11:55 tags: support setting CTAGS, ETAGS, CSCOPE vars via ./configure. This change fixes https://bugs.gnu.org/45013. * m4/init.m4: add default settings and AC_SUBST calls for the variables `CTAGS', `ETAGS' and `CSCOPE'. * lib/am/tags.am: remove default settings of the above variables. * doc/automake.texi (Tags): mention and index. * NEWS: mention.
Karl Berry e83520ff 2020-12-03T11:00:53 warnings: be less forceful about a missing subdir-objects option. This change somewhat ameliorates https://bugs.gnu.org/20699. * bin/automake.in (handle_single_transform): change forward-incompatibility message for subdir-objects to be less draconian and less certain that the change will ever be made. * t/subobj.sh: message text has changed. * doc/automake.texi (Program and Library Variables): mention the unfortunate fact that one directory can clean in a sibling, subdir-objects notwithstanding.
Karl Berry b35822b5 2020-11-27T18:07:10 tests: .NOTPARALLEL test-driver-create-log-dir. * t/test-driver-create-log-dir.sh (.NOTPARALLEL): add target, since the two tests under sub/ seem to have a race condition. No evident way to debug or reliably reproduce. Reported by Jim.
Reuben Thomas 7581ec20 2020-11-27T18:02:08 vala: avoid wrong regeneration of C files. This change might fix https://bugs.gnu.org/44772. * bin/automake.in (lang_val_finish_target): reverse -newer test to handle files being created at the same time causing spurious rebuilds.
Karl Berry 1f166f3c 2020-11-24T14:24:22 doc: typo. This change fixes https://bugs.gnu.org/44845. * doc/automake.texi (Vala Support): zardoz.c not zardoc.c.
Karl Berry a5af212c 2020-11-23T18:04:56 tests: create log file before running the test script. This change partially fixes https://bugs.gnu.org/35762. * lib/test-driver: create $log_file before running the test script. Also quote $log_file. Combined suggestions from howaboutsynergy and Eric Blake.
Karl Berry dd616e2d 2020-11-22T10:13:16 doc: mention overriding SUBDIRS= with TESTS= and recursive make. This change palliates https://bugs.gnu.org/42883, though it's not a real fix. * doc/automake.texi (Parallel Test Harness): with recursive make, when limiting the tests run, also presumably needed to override SUBDIRS.
Jim Meyering 5ce670d9 2020-11-18T20:19:12 maint: Post-release administrivia * configure.ac (AC_INIT): Bump version number to 1.16b. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
Jim Meyering 0188451e 2020-11-18T18:08:41 version 1.16.3 * configure.ac (AC_INIT): Bump version number to 1.16.3. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). * NEWS: Record release version.
Jim Meyering b28fead2 2020-11-16T09:50:04 tests: correct preceding change. * t/auxdir-pr19311.sh: Fix error in case stmt and match more upcoming versions.
Jim Meyering 7cdef9f7 2020-11-16T09:34:23 tests: auxdir-pr19311.sh no longer fails with latest autoconf * t/list-of-tests.mk (XFAIL_TESTS): Remove from this list. * t/auxdir-pr19311.sh: Instead, run this test only when autoconf is 2.69d or newer. Otherwise, skip it.
Jim Meyering a919babf 2020-11-16T07:47:30 maint: placate maintainer-check's rm -f check * t/vala-recursive-setup.sh: Add an unnecessary -f option to an rm invocation to avoid "make maintainer-check" failure.
Jim Meyering 3b2633fb 2020-11-15T21:42:14 maint: Update files from upstream with 'make fetch' * lib/config.guess: Update. * lib/config.sub: Likewise. * lib/texinfo.tex: Likewise.
Jim Meyering 17e6f26a 2020-11-15T21:14:24 tests: avoid missing .dvi failure with parallel tests * t/txinfo-no-clutter.sh: Tests of texinfo-related rules had overlap that made them fail often when some rules were run in parallel, so inhibit parallelism in that one directory. See discussion starting at https://lists.gnu.org/r/automake-patches/2020-11/msg00011.html
Jim Meyering 26ef6e7f 2020-11-15T09:00:37 tests: protect against parallel false failure * t/parallel-tests-console-output.sh: Do not depend on the order of items in test summary. With a parallel test run, they may appear in a different order, e.g., when running tests like this: make check AM_TESTSUITE_MAKE='make -j14' Sort the expected output and the actual output before comparing.
Jim Meyering ba522c63 2020-11-15T08:12:40 doc: fix quoting in suggested parallel test invocation * t/README: Fix reversed single/double quotes.
Jim Meyering 103cf704 2020-11-14T20:19:28 tests: accommodate an $ac_aux_dir of "." or "./" * t/auxdir-pr15981.sh: This test would fail when run with autoconf-2.69d because $ac_aux_dir would be "./" rather than the expected ".". Accept both.
Jim Meyering b495c128 2020-11-14T19:51:46 tests: avoid failures due to missing ar-lib * t/ar4.sh: Create dummy ar-lib, as done in other tests, to avoid failure like this: configure: error: cannot find required auxiliary files: ar-lib * t/ar5.sh: Likewise.
Karl Berry 3313d9ca 2020-11-13T17:51:46 install-sh: trailing whitespace. * lib/install-sh: remove trailing whitespace. Sigh. (scriptversion): 2020-11-14.01
Robert Menteer 37b70ac4 2020-11-13T17:50:09 dejagnu: quote `pwd` when writing "set objdir" line to site.exp. This change fixes https://bugs.gnu.org/44600. * lib/am/dejagnu.am (site.exp): quote set objdir line. * NEWS: mention this.
Karl Berry db65189f 2020-11-12T17:49:31 install-sh: new option -S SUFFIX for simple file backups. * lib/install-sh: implement and document -S. Patch sent by Julien Elie: https://lists.gnu.org/archive/html/automake-patches/2018-03/msg00004.html (scriptversion): 2020-11-13.01 * t/install-sh-option-S.sh: new test. * t/list-of-tests.mk (handwritten_tests): add it. * NEWS: mention it.
Karl Berry 8aa4d93f 2020-11-10T18:18:35 install-sh: --help tweaks. * lib/install-sh (usage): avoid too-long line, mention bug reporting address (bug-automake) and automake home page.
Karl Berry a296ffe1 2020-11-10T18:03:47 install-sh: new option -p to preserve mtime. * lib/install-sh: new option -p to call cp -p. Idea from patch sent by Julien Elie: https://lists.gnu.org/archive/html/automake-patches/2018-03/msg00002.html (scriptversion): 2020-11-11.02 * NEWS: mention this. 2020-11-10 Karl Berry <karl@freefriends.org>
Karl Berry 9b7f0f9e 2020-11-10T17:58:41 vala: forgot to update lists-of-tests.mk. * t/list-of-tests.mk (handwritten_tests): include t/vala-libs-distcheck.sh and t/vala-libs-vpath.sh. Should have been committed with 2020-10-29 vala change, but somehow missed. 2020-11-10 Karl Berry <karl@freefriends.org>