From 33cee0586991e235d0fe3d984f822ef2f310e7c3 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Thu, 17 Sep 2009 20:35:50 +0000 Subject: autoconf: Fixed calling of perl and m4: * removed path_prog_fixes.patch * set needed ac_cv_* variables for non-native builds * depend on perl * for more see http://thread.gmane.org/gmane.comp.handhelds.openembedded/26476 --- recipes/autoconf/autoconf.inc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'recipes/autoconf/autoconf.inc') diff --git a/recipes/autoconf/autoconf.inc b/recipes/autoconf/autoconf.inc index a05f2ae7db..5bdc7e17ee 100644 --- a/recipes/autoconf/autoconf.inc +++ b/recipes/autoconf/autoconf.inc @@ -4,10 +4,18 @@ LICENSE = "GPL" HOMEPAGE = "http://www.gnu.org/software/autoconf/" SECTION = "devel" DEPENDS += "m4-native" -RDEPENDS_${PN} = "m4 gnu-config" +RDEPENDS_${PN} = "m4 perl gnu-config" +INC_PR = "r7" SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2 \ file://program_prefix.patch;patch=1" inherit autotools -INC_PR = "r6" + +do_configure_prepend () { + if ${@['true', 'false'][bb.data.inherits_class('native', d)]} + then + export ac_cv_path_PERL="${ac_cv_path_PERL=${bindir}/perl}" + export ac_cv_path_M4="${ac_cv_path_M4=${bindir}/m4}" + fi +} -- cgit v1.2.3