summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* version 1.16.5v1.16.5Jim Meyering2021-10-033-4/+4
| | | | | | * configure.ac (AC_INIT): Bump version number to 1.16.5. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). * NEWS: Record release version.
* maint: don't use obsolescent "egrep"Jim Meyering2021-10-031-1/+1
| | | | | * maintainer/syntax-checks.mk (sc_perl_local): Use grep -E in place of "egrep".
* maint: remove trailing white space from a few filesJim Meyering2021-10-036-9/+9
| | | | | | | | | * 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.
* doc: show "RUNNING: <testname>" example using [AM_]TESTS_ENVIRONMENT.Karl Berry2021-09-281-21/+52
| | | | | | | | 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.
* doc: tweak Yacc/Lex text; subnode for the yacc linking hack.Karl Berry2021-09-281-55/+71
| | | | | | | | | * 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).
* maint: Update files from upstream with 'make fetch'.Karl Berry2021-09-261-5/+16
| | | | * lib/config.sub: Update.
* maint: Post-release administriviaJim Meyering2021-09-192-3/+3
| | | | | * configure.ac (AC_INIT): Bump version number to 1.16h. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
* maint: adjust version for snapshotJim Meyering2021-09-192-3/+3
| | | | | * configure.ac (AC_INIT): Bump version number to 1.16g for snapshot. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
* python: only use Python's sys.* values if the new optionKarl Berry2021-09-195-154/+230
| | | | | | | | | | | | --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.
* doc: update NEWS for yyerror const arg; update THANKS.Karl Berry2021-09-182-0/+5
| | | | | * THANKS: update with missed recent committer. * NEWS: mention yyerror decl in our tests now uses const.
* tests: let yacc's yyerror take its argument as a const stringAkim Demaille2021-09-1128-36/+36
| | | | | | | | | | | | | | | | | | | | | 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; }'.
* automake: consistently depend on install-libLTLIBRARIES.Jan Engelhardt2021-09-102-6/+23
| | | | | | | | | | 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.
* automake: fatal error on second AM_INIT_AUTOMAKE.Nick Bowler2021-08-171-0/+4
| | | | | | | | | 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.
* maint: Update doc/help2man.Karl Berry2021-08-081-6/+6
| | | | * doc/help2man: update to 1.48.24
* maint: Update doc/help2man.Karl Berry2021-08-071-16/+21
| | | | * doc/help2man: update to 1.48.2.
* doc: typos from codespell.Dimitri Papadopoulos2021-08-0711-12/+12
| | | | | | | | | | | | | | * 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.
* cosmetics: py-compile consistently use test, not [ ... ]; indentation.Karl Berry2021-07-261-10/+10
| | | | | * lib/py-compile: consistently use test rather than [ ... ]; use consistent sh indentation; check exit status consistently.
* maint: Post-release administriviaJim Meyering2021-07-262-3/+3
| | | | | * configure.ac (AC_INIT): Bump version number to 1.16f. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
* version 1.16.4v1.16.4Jim Meyering2021-07-253-3/+7
| | | | | | * configure.ac (AC_INIT): Bump version number to 1.16.4. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). * NEWS: Record release version.
* maint: Update files from upstream with 'make fetch'.Karl Berry2021-07-221-3/+3
| | | | * lib/gendocs.sh: Update.
* maint: adjust version, post-snapshotJim Meyering2021-07-182-3/+3
| | | | | * configure.ac (AC_INIT): Bump version number to 1.16e for snapshot. * m4/amversion.m4: Regenerate.
* maint: adjust version for snapshotJim Meyering2021-07-182-3/+3
| | | | | * configure.ac (AC_INIT): Bump version number to 1.16d for snapshot. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap").
* doc: NEWS tweakJim Meyering2021-07-182-9/+8
| | | | * NEWS: Indent consistently.
* doc: update HACKING.Karl Berry2021-07-171-28/+139
| | | | * HACKING: update for some current realities.
* tests: use testsuite/ directory in DejaGnu testsJacob Bachmeyer2021-07-1512-144/+222
| | | | | | | | | | | | | | | | | | | | 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.
* automake: silent make output for custom link commands.Nick Gasson2021-07-155-3/+20
| | | | | | | | | | | | | | 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.
* maint: avoid syntax-check failuresmeyering2021-07-114-10/+10
| | | | | | | | * 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.
* maint: make update-copyrightJim Meyering2021-07-111442-1444/+1444
|
* maint: tweak comment wordingAllison Karlitskaya2021-07-112-4/+4
| | | | | * doc/automake.texi (List of Automake options): Nit. * t/dist-no-built-sources.sh: Likewise.
* no-dist-built-sources: fix-upJim Meyering2021-07-113-5/+4
| | | | | | | | | | * 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.
* test: disable use of ksh in a test that would otherwise hangJim Meyering2021-07-111-0/+9
| | | | | | * 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
* doc: update THANKS.Karl Berry2021-07-111-0/+13
| | | | * THANKS: mention contributors over the past couple years.
* dist: add new "dist-no-built-sources" automake option.Allison Karlitskaya2021-07-097-7/+107
| | | | | | | | | | | | | | | 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.
* maint: missed commits.Karl Berry2021-07-072-3/+8
| | | | | * INSTALL: Update from gnulib via make fetch. * NEWS: mention config.{guess,sub} restoration of `...`.
* maint: Update files from upstream with 'make fetch'Karl Berry2021-07-059-933/+863
| | | | | | | | | | | | * 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.
* tests: forgot to remove dev exit 33 from new test.Karl Berry2021-07-051-1/+0
| | | | * t/toplevelmd.sh: normal ending.
* dist: accept .md versions for README et al.Karl Berry2021-07-015-105/+265
| | | | | | | | | | | | | | | | | | | | 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.
* doc: omit "really" from manual.Karl Berry2021-06-081-69/+67
| | | | * doc/automake.texi: remove or replace "really".
* doc: --always-make doesn't work.Karl Berry2021-06-071-6/+15
| | | | | | | | * 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.
* doc: wording.Karl Berry2021-05-183-173/+170
| | | | | | * README: * t/python-virtualenv.sh: * doc/automake.texi: wording, typos, etc.
* doc: move future 2.0 incompatibilities to separate file.Karl Berry2021-05-183-62/+101
| | | | | | * NEWS: move info to ... * NEWS-2.0: ... this new file. * Makefile.am (EXTRA_DIST): add it.
* python: new python-prefix test.Karl Berry2021-05-183-0/+97
| | | | | | * t/python-prefix.sh: new test. * t/list-of-tests.mk (handwritten_tests): add it. * NEWS: describe new Python prefix behavior.
* python: use Python's sys.prefix and sys.exec_prefixJoshua Root2021-05-184-77/+159
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* doc: HACKING updates.Karl Berry2021-05-121-18/+33
| | | | * HACKING: some additional tidbits.
* automake: sort hash keys needed for reproducible output.Dirk Mueller2021-02-272-6/+7
| | | | | | | | | 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.
* doc: a_LDFLAGS always overrides AM_LDFLAGS.Karl Berry2021-02-221-1/+5
| | | | | | | | 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.
* doc: [AM_]RUNTESTFLAGS not [AM_]RUNTESTDEFAULTFLAGS.Mike Frysinger2021-02-211-2/+2
| | | | | * doc/automake.texi (Other Variables): Change [AM_]RUNTESTDEFAULTFLAGS to [AM_]RUNTESTFLAGS.
* doc: user flags last does not always allow overriding.Karl Berry2021-02-111-12/+17
| | | | | | | This change addresses https://bugs.gnu.org/35526. * doc/automake.texi (Flag Variables Ordering): recognize that user flags last does not always allow overriding.
* doc: discuss AC_* ordering a little.Karl Berry2021-01-061-5/+12
| | | | | | | | * 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
* Fix some build and test failures with Autoconf 2.70.Zack Weinberg2020-12-144-3/+10
| | | | | | | | | | | | | | | | | | | | | | 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.