<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 14 March 2017 at 12:06, Burton, Ross <span dir="ltr">&lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><span class=""><div class="gmail_quote">On 14 March 2017 at 08:45, Robert Yang <span dir="ltr">&lt;<a href="mailto:liezhi.yang@windriver.com" target="_blank">liezhi.yang@windriver.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id="m_-125199929849162915:r7" class="m_-125199929849162915a3s m_-125199929849162915aXjCH m_-125199929849162915m15acbff8aca769db">+CACHED_CONFIGUREVARS += &quot;ac_cv_path_PERL=${USRBINPATH}<wbr>/perl&quot;<br></div></blockquote></div><br></span>Would it be sensible to put this in autotools.bbclass?</div></blockquote><div><br></div><div>Hang on.  ac_cv_path_PERL is the result of AC_PATH_PROG(perl) which is the path to the perl on the host.  Is mc using this path only for writing the hashbang into scripts?  If it tries to execute the path on the build host then there&#39;s several ways this can fail (perl in /usr/local or with buildtools).</div><div><br></div><div>Ross  <br></div></div><br></div></div>