[OE-core] [PATCH 4/8] mc: set ac_cv_path_PERL to /usr/bin/perl
Robert Yang
liezhi.yang at windriver.com
Thu Mar 16 06:35:32 UTC 2017
On 03/15/2017 10:14 AM, Robert Yang wrote:
>
>
> On 03/14/2017 08:10 PM, Burton, Ross wrote:
>>
>> On 14 March 2017 at 12:06, Burton, Ross <ross.burton at intel.com
>> <mailto:ross.burton at intel.com>> wrote:
>>
>> On 14 March 2017 at 08:45, Robert Yang <liezhi.yang at windriver.com
>> <mailto:liezhi.yang at windriver.com>> wrote:
>>
>> +CACHED_CONFIGUREVARS += "ac_cv_path_PERL=${USRBINPATH}/perl"
>>
>>
>> Would it be sensible to put this in autotools.bbclass?
>>
>>
>> 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's
>> several ways this can fail (perl in /usr/local or with buildtools).
>
> Hi Ross,
>
> The automake and autoconf had already set this:
>
> CACHED_CONFIGUREVARS += "ac_cv_path_PERL=${USRBINPATH}/perl"
>
> So I set it for mc referred to them, should we use "#!/usr/bin/env perl" here ?
Hi Ross,
Any comments, please ?
// Robert
>
> // Robert
>
>>
>> Ross
>>
More information about the Openembedded-core
mailing list