Revert "autoconf.inc: Use 'which' to find m4"
authorPhilip Balister <philip@balister.org>
Thu, 9 Dec 2010 18:07:16 +0000 (13:07 -0500)
committerPhilip Balister <philip@balister.org>
Thu, 9 Dec 2010 18:07:16 +0000 (13:07 -0500)
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

index ca6504f..79a8108 100644 (file)
@@ -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
 }