mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 02:33:02 +01:00
autoconf has not been released in a number of years. However many changes have been made to the gnu-config config.guess/.sub since 2.69, including new architectures, OS variants, etc. In order to enable these targets without creating patches for the source itself populate the gnu-config files from the sysroot as is done with autotools recipes. Whilst it is not possible for the autoconf recipe to bootstrap its configure task (using the autotools_do_configure), the files can be manually copied into the target location. (From OE-Core rev: 302bab86d65831d7b03325e7002a992eb266318e) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
54 lines
1.8 KiB
PHP
54 lines
1.8 KiB
PHP
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"
|
|
DEPENDS_class-native = "m4-native gnu-config-native"
|
|
DEPENDS_class-nativesdk = "nativesdk-m4 nativesdk-gnu-config"
|
|
RDEPENDS_${PN} = "m4 gnu-config \
|
|
perl \
|
|
perl-module-carp \
|
|
perl-module-constant \
|
|
perl-module-errno \
|
|
perl-module-exporter \
|
|
perl-module-file-basename \
|
|
perl-module-file-compare \
|
|
perl-module-file-copy \
|
|
perl-module-file-glob \
|
|
perl-module-file-path \
|
|
perl-module-file-stat \
|
|
perl-module-file-find \
|
|
perl-module-getopt-long \
|
|
perl-module-io-file \
|
|
perl-module-posix \
|
|
perl-module-data-dumper \
|
|
"
|
|
RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
|
|
RDEPENDS_${PN}_class-nativesdk = "nativesdk-m4 nativesdk-gnu-config"
|
|
|
|
SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \
|
|
file://program_prefix.patch"
|
|
|
|
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}'"
|
|
|
|
do_configure() {
|
|
# manually install a newer config.guess/.sub
|
|
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
|
|
|
|
oe_runconf
|
|
}
|
|
|
|
do_install_append() {
|
|
rm -rf ${D}${datadir}/emacs
|
|
}
|