From 7bae0a5b536afd65e38741d428c2aed17760c97f Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 17 Apr 2025 16:18:13 +0100 Subject: autoconf: upgrade to final 2.72 release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit autoconf 2.72e was the fifth release candidate build, and whilst we had good reason to use RCs during development we failed to notice that the final release was made because alpha.gnu.org _only_ contains the release candidates. There are minimal changes in the final release compared to 2.72e: 6199cff2 (tag: v2.72) Finalize NEWS for release 2.72. This is the finalisation of the release, updating documentation and version numbers. e544a323 Save/restore AC_LANG setting in AC_PROG_CC_C_O. This is a bug fix, aligning behaviour of AC_PROG_CC_C_O. 634fb3e7 Remove bashism from tests/local.at. 4fbe6436 Revert debugging change committed by mistake 8794cd1c Address “autom4te preselections” testsuite failure e5d98f4c Avoid a spurious test failure with shells that ignore write errors. 3fbfb13e Address “autoconf: forbidden tokens, basic” testsuite failure fdb58df6 testsuite: Skip tests that use aclocal or automake if they’re too old. These are fixes for the test suite. (From OE-Core rev: 11ff8dba0cee801e93cf4bdb3ccf043f4d2f751f) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/autoconf/autoconf_2.72.bb | 83 ++++++++++++++++++++++++ meta/recipes-devtools/autoconf/autoconf_2.72e.bb | 83 ------------------------ 2 files changed, 83 insertions(+), 83 deletions(-) create mode 100644 meta/recipes-devtools/autoconf/autoconf_2.72.bb delete mode 100644 meta/recipes-devtools/autoconf/autoconf_2.72e.bb (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/autoconf/autoconf_2.72.bb b/meta/recipes-devtools/autoconf/autoconf_2.72.bb new file mode 100644 index 0000000000..f2d2781fec --- /dev/null +++ b/meta/recipes-devtools/autoconf/autoconf_2.72.bb @@ -0,0 +1,83 @@ +SUMMARY = "A GNU tool that produce shell scripts to automatically configure software" +DESCRIPTION = "Autoconf is an extensible package of M4 macros that produce shell scripts to automatically \ +configure software source code packages. Autoconf creates a configuration script for a package from a template \ +file that lists the operating system features that the package can use, in the form of M4 macro calls." +LICENSE = "GPL-3.0-or-later" +HOMEPAGE = "http://www.gnu.org/software/autoconf/" +SECTION = "devel" +DEPENDS = "m4-native autoconf-native automake-native gnu-config-native help2man-native" +DEPENDS:remove:class-native = "autoconf-native automake-native help2man-native" + +LIC_FILES_CHKSUM = "file://COPYING;md5=cc3f3a7596cb558bbd9eb7fbaa3ef16c \ + file://COPYINGv3;md5=1ebbd3e34237af26da5dc08a4e440464" + +SRC_URI = " \ + ${GNU_MIRROR}/autoconf/${BP}.tar.gz \ + file://program_prefix.patch \ + file://autoreconf-exclude.patch \ + file://remove-usr-local-lib-from-m4.patch \ + file://preferbash.patch \ + file://autotest-automake-result-format.patch \ + file://man-host-perl.patch \ +" +SRC_URI:append:class-native = " file://no-man.patch" + +SRC_URI[sha256sum] = "afb181a76e1ee72832f6581c0eddf8df032b83e2e0239ef79ebedc4467d92d6e" + +RDEPENDS:${PN} = "m4 gnu-config \ + perl \ + perl-module-bytes \ + perl-module-carp \ + perl-module-constant \ + perl-module-data-dumper \ + perl-module-errno \ + perl-module-exporter \ + perl-module-file-basename \ + perl-module-file-compare \ + perl-module-file-copy \ + perl-module-file-find \ + perl-module-file-glob \ + perl-module-file-path \ + perl-module-file-spec \ + perl-module-file-spec-unix \ + perl-module-file-stat \ + perl-module-file-temp \ + perl-module-getopt-long \ + perl-module-io-file \ + perl-module-list-util \ + perl-module-overloading \ + perl-module-posix \ + perl-module-scalar-util \ + perl-module-symbol \ + perl-module-thread-queue \ + perl-module-threads \ + perl-module-feature \ + " +RDEPENDS:${PN}:class-native = "m4-native gnu-config-native hostperl-runtime-native" + +inherit autotools texinfo + +PERL = "${USRBINPATH}/perl" +PERL:class-native = "/usr/bin/env perl" +PERL:class-nativesdk = "/usr/bin/env perl" + +CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'" + +EXTRA_OECONF += "ac_cv_path_M4=m4 ac_cv_prog_TEST_EMACS=no" + +# As autoconf installs its own config.* files, ensure that they're always up to date. +update_gnu_config() { + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/build-aux + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/build-aux +} +do_configure[prefuncs] += "update_gnu_config" + +do_configure:class-native() { + oe_runconf +} + +do_install:append() { + rm -rf ${D}${datadir}/emacs +} + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/autoconf/autoconf_2.72e.bb b/meta/recipes-devtools/autoconf/autoconf_2.72e.bb deleted file mode 100644 index db374373cf..0000000000 --- a/meta/recipes-devtools/autoconf/autoconf_2.72e.bb +++ /dev/null @@ -1,83 +0,0 @@ -SUMMARY = "A GNU tool that produce shell scripts to automatically configure software" -DESCRIPTION = "Autoconf is an extensible package of M4 macros that produce shell scripts to automatically \ -configure software source code packages. Autoconf creates a configuration script for a package from a template \ -file that lists the operating system features that the package can use, in the form of M4 macro calls." -LICENSE = "GPL-3.0-or-later" -HOMEPAGE = "http://www.gnu.org/software/autoconf/" -SECTION = "devel" -DEPENDS = "m4-native autoconf-native automake-native gnu-config-native help2man-native" -DEPENDS:remove:class-native = "autoconf-native automake-native help2man-native" - -LIC_FILES_CHKSUM = "file://COPYING;md5=cc3f3a7596cb558bbd9eb7fbaa3ef16c \ - file://COPYINGv3;md5=1ebbd3e34237af26da5dc08a4e440464" - -SRC_URI = " \ - https://alpha.gnu.org/gnu/autoconf/${BP}.tar.gz \ - file://program_prefix.patch \ - file://autoreconf-exclude.patch \ - file://remove-usr-local-lib-from-m4.patch \ - file://preferbash.patch \ - file://autotest-automake-result-format.patch \ - file://man-host-perl.patch \ -" -SRC_URI:append:class-native = " file://no-man.patch" - -SRC_URI[sha256sum] = "f3478d3b597d51f5d61596fb2f6f6aba49cdd974b4b05ff0bac57f56b5cfdb39" - -RDEPENDS:${PN} = "m4 gnu-config \ - perl \ - perl-module-bytes \ - perl-module-carp \ - perl-module-constant \ - perl-module-data-dumper \ - perl-module-errno \ - perl-module-exporter \ - perl-module-file-basename \ - perl-module-file-compare \ - perl-module-file-copy \ - perl-module-file-find \ - perl-module-file-glob \ - perl-module-file-path \ - perl-module-file-spec \ - perl-module-file-spec-unix \ - perl-module-file-stat \ - perl-module-file-temp \ - perl-module-getopt-long \ - perl-module-io-file \ - perl-module-list-util \ - perl-module-overloading \ - perl-module-posix \ - perl-module-scalar-util \ - perl-module-symbol \ - perl-module-thread-queue \ - perl-module-threads \ - perl-module-feature \ - " -RDEPENDS:${PN}:class-native = "m4-native gnu-config-native hostperl-runtime-native" - -inherit autotools texinfo - -PERL = "${USRBINPATH}/perl" -PERL:class-native = "/usr/bin/env perl" -PERL:class-nativesdk = "/usr/bin/env perl" - -CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'" - -EXTRA_OECONF += "ac_cv_path_M4=m4 ac_cv_prog_TEST_EMACS=no" - -# As autoconf installs its own config.* files, ensure that they're always up to date. -update_gnu_config() { - install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/build-aux - install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/build-aux -} -do_configure[prefuncs] += "update_gnu_config" - -do_configure:class-native() { - oe_runconf -} - -do_install:append() { - rm -rf ${D}${datadir}/emacs -} - -BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf