[oe-commits] Philip Balister : Revert "autoconf.inc: Use 'which' to find m4"

git version control git at git.openembedded.org
Thu Dec 9 18:08:30 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 604fe17b5407465f381dd2d4c586e621c9684e17
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=604fe17b5407465f381dd2d4c586e621c9684e17

Author: Philip Balister <philip at balister.org>
Date:   Thu Dec  9 13:07:16 2010 -0500

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 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/recipes/autoconf/autoconf.inc b/recipes/autoconf/autoconf.inc
index ca6504f..79a8108 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
 }





More information about the Openembedded-commits mailing list