From aa0d1e870c41d3375866c8180c720cd0fc27ffcd Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 19 Sep 2009 16:45:32 -0700 Subject: autoconf: Dont execute perl and m4 for target builds * configure decides to probe perl verison dont do that as it wont work when building target autoconf. So far it was executing /usr/bin/perl and /usr/bin/m4 which is found on most build machines however micro change the layout and /bin/perl and /bin/m4 is now not found. So it brought up a hidden bug. Signed-off-by: Khem Raj --- recipes/autoconf/autoconf.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'recipes/autoconf/autoconf.inc') diff --git a/recipes/autoconf/autoconf.inc b/recipes/autoconf/autoconf.inc index 5bdc7e17ee..2fa12751a1 100644 --- a/recipes/autoconf/autoconf.inc +++ b/recipes/autoconf/autoconf.inc @@ -5,7 +5,7 @@ HOMEPAGE = "http://www.gnu.org/software/autoconf/" SECTION = "devel" DEPENDS += "m4-native" RDEPENDS_${PN} = "m4 perl gnu-config" -INC_PR = "r7" +INC_PR = "r8" SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2 \ file://program_prefix.patch;patch=1" @@ -17,5 +17,6 @@ do_configure_prepend () { then export ac_cv_path_PERL="${ac_cv_path_PERL=${bindir}/perl}" export ac_cv_path_M4="${ac_cv_path_M4=${bindir}/m4}" + export ac_cv_prog_gnu_m4="${ac_cv_prog_gnu_m4=yes}" fi } -- cgit v1.2.3