From: Philip Balister Date: Thu, 9 Dec 2010 18:07:16 +0000 (-0500) Subject: Revert "autoconf.inc: Use 'which' to find m4" X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=604fe17b5407465f381dd2d4c586e621c9684e17;p=openembedded.git 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. --- 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 }