summaryrefslogtreecommitdiff
path: root/recipes/autoconf/autoconf.inc
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2009-09-17 20:35:50 +0000
committerutx@penguin.cz <utx@penguin.cz>2009-09-17 20:35:50 +0000
commit33cee0586991e235d0fe3d984f822ef2f310e7c3 (patch)
treed505541bf0340b45ad332f8d94a26f68fdfc19d7 /recipes/autoconf/autoconf.inc
parent2d899b917c23141945ad34f52b3fd80f93f105fb (diff)
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
Diffstat (limited to 'recipes/autoconf/autoconf.inc')
-rw-r--r--recipes/autoconf/autoconf.inc12
1 files changed, 10 insertions, 2 deletions
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
+}