mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 15:29:40 +01:00
After too many years, autoconf has made a new release. On the whole it is compatible with previous releases, but some macros are more specific about what they expose so minor tweaks to configure.ac may be required. autoconf also now invokes intltoolize, gtkdocize, and copies config.sub/guess, so there is less work for autotools.bbclass to do. - AC_HEADER_MAJOR-port-to-glibc-2.25.patch - add_musl_config.patch - autoconf-replace-w-option-in-shebangs-with-modern-use-warnings.patch - autoreconf-gnuconfigize.patch - check-automake-cross-warning.patch - config_site.patch - fix_path_xtra.patch - performance.patch Drop a number of patches which have been integrated upstream. - man-host-perl.patch Don't use the target perl path when building documentation at build time: - no-man.patch Don't build documentation in native builds to avoid further build dependencies. (From OE-Core rev: f5dd2e0acbb0aa4079c51aaeab8c26e743a4c714) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
79 lines
2.7 KiB
BlitzBasic
79 lines
2.7 KiB
BlitzBasic
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 = "GPLv3+"
|
|
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] = "431075ad0bf529ef13cb41e9042c542381103e80015686222b8a9d4abef42a1c"
|
|
|
|
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-getopt-long \
|
|
perl-module-io-file \
|
|
perl-module-overloading \
|
|
perl-module-posix \
|
|
perl-module-symbol \
|
|
perl-module-thread-queue \
|
|
perl-module-threads \
|
|
"
|
|
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[prefuncss] += "update_gnu_config"
|
|
|
|
do_configure_class-native() {
|
|
oe_runconf
|
|
}
|
|
|
|
do_install_append() {
|
|
rm -rf ${D}${datadir}/emacs
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|