From 604fe17b5407465f381dd2d4c586e621c9684e17 Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Thu, 9 Dec 2010 13:07:16 -0500 Subject: [PATCH] Revert "autoconf.inc: Use 'which' to find m4" This reverts commit 8da17586c547f365ae667eb2608ba89a1c375afc. This commit broke autoconf running on the target. I spoke with Tom Rini and he approved the revert of his commit. --- recipes/autoconf/autoconf.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes/autoconf/autoconf.inc b/recipes/autoconf/autoconf.inc index ca6504fcfb..79a81082e9 100644 --- a/recipes/autoconf/autoconf.inc +++ b/recipes/autoconf/autoconf.inc @@ -21,9 +21,8 @@ SUBDIRS = "bin . lib" do_configure_prepend () { if ${@['true', 'false'][bb.data.inherits_class('native', d)]} then - M4=`which m4` export ac_cv_path_PERL="${ac_cv_path_PERL=${bindir}/perl}" - export ac_cv_path_M4="${ac_cv_path_M4=${M4}}" + export ac_cv_path_M4="${ac_cv_path_M4=${bindir}/m4}" export ac_cv_prog_gnu_m4="${ac_cv_prog_gnu_m4=yes}" fi } -- 2.39.5