summaryrefslogtreecommitdiff
path: root/recipes/autoconf/autoconf.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-09-19 16:45:32 -0700
committerKhem Raj <raj.khem@gmail.com>2009-09-19 16:45:32 -0700
commitaa0d1e870c41d3375866c8180c720cd0fc27ffcd (patch)
treec0250ec673a1c26b1914927e0154772188a45f07 /recipes/autoconf/autoconf.inc
parent103e2071354d88a1fd6ea34469fd972123350b72 (diff)
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 <raj.khem@gmail.com>
Diffstat (limited to 'recipes/autoconf/autoconf.inc')
-rw-r--r--recipes/autoconf/autoconf.inc3
1 files changed, 2 insertions, 1 deletions
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
}