Opened 3 weeks ago

Closed 2 weeks ago

#6074 closed enhancement (fixed)

automake-1.20

Reported by: Bruce Dubbs Owned by: lfs-book
Priority: normal Milestone: 13.2
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (2)

comment:1 by Bruce Dubbs, 2 weeks ago

New in 1.20 (2026-11-07):

Licensing

  • Automake is now licensed under the GNU General Public License version 3 or later (GPLv3+), matching Autoconf and following the Free Software Foundation's recommendation to use GPLv3 or later:
      https://www.gnu.org/software/autoconf/
      https://www.gnu.org/licenses/license-recommendations.html
      https://www.gnu.org/licenses/rms-why-gplv3.html
    

Existing exceptions for distributed support files remain in place. This does not change the licensing of generated Makefile.in files or require packages using Automake to adopt the GPL.

New features added

  • New configure option --enable-jobserver lets compilers and linkers inherit GNU make's pipe jobserver, for example for GCC's -flto=jobserver. Dry-run, question, and touch modes still do not run these commands.
  • New option delete-on-error. It emits the .DELETE_ON_ERROR special target in the generated Makefile.in, instructing GNU make to delete the target when its recipe fails after having modified it. A failed rule like `foo.h: gen.sh; ./gen.sh > $@' then no longer leaves a truncated result that later runs of make treat as up to date. Other make programs do not support this, so the option will have no effect.
  • New target print-distfiles lists the files that "make dist" would distribute.

Source tree organization

  • Historical ChangeLogs, development plans, and NEWS-future are now under attic/. The experimental contrib/tap-driver.pl is retained in attic/testing/; the maintained TAP driver is lib/tap-driver.sh. The manual's link checker moved from contrib/ to maintainer/.

Changes to Automake-generated Makefiles

  • distcheck no longer runs "make dvi" by default, so TeX is not needed to check a distribution containing Texinfo manuals. Set AM_DISTCHECK_DVI_TARGET in Makefile.am to, e.g., dvi, pdf or html, to check that the documentation can be built.

Bugs fixed

  • Repeated target declarations in overlapping Automake conditionals no longer produce spurious redefinition warnings when adding prerequisites.
  • Dependencies on another target's objects in LIBADD or LDADD are now tracked regardless of the order in which targets are processed.
  • distcheck now detects symbolic links left in the installation tree after uninstall, including dangling links.
  • lex and yacc output files distributed from a VPATH build no longer carry "#line" directives pointing to their sources through the build-time srcdir, e.g. "../src/parse.y"; the distributed copies now refer to the sources next to them.
  • dist-zstd now honors numeric ZSTD_CLEVEL values, such as 3, instead of treating them as input filenames. This fixes failed or incorrect distribution archives when ZSTD_CLEVEL is set.
  • lex and yacc rules now create output directories before generating sources, fixing out-of-tree builds with subdir-objects and --disable-dependency-tracking.
  • configure now refuses a source directory path containing '<', '>', '(' or ')'. These could be interpreted as shell redirections or syntax in compiler commands, potentially overwriting files in the build directory.
  • configure now refuses a source directory path ($srcdir) containing ';' or '|', reporting "unsafe srcdir value", as it already did for characters such as '$' and '&'. Such a path used to fail later with misleading errors, from config.status's dependency-tracking setup or from make ("No rule to make target"). These characters remain accepted when $srcdir is '.'.
  • Non-recursive Vala builds now pass distcheck when generated Vala sources trigger recompilation in the build directory. Generated C files are moved into their subdirectories together, and build-tree stamp files are removed by distclean.

comment:2 by Bruce Dubbs, 2 weeks ago

Resolution: → fixed
Status: new → closed

Fixed at commit f4fe536d6.

Note: See TracTickets for help on using tickets.