On Sep 7, 2007, at 7:19 AM, James E Keenan wrote:
If you have gmake installed, then shouldn't
$conf->data->get('gmake_version') return a true value?
>>
>> if ( $conf->data->get('gmake_version') ) {
>> $conf->data->set( make_c => "$prog -C" );
>> }
>> else {
If so, how would you ever get into the 'else' block, which is the
location where this substitution becomes operative?
If you can get $conf->data->get('gmake_version') to return a false
value despite having gmake installed, can you supply a test for that?
Thank you very much.
kid51
`$prog ||= $conf->data->get($util);` sets $prog so check_progs is never
called so gmake is never looked for. On my make, `make --version`
gives an exit code of two.
But why does make_c contain $(MAKE) in the first place? It's set in
config/init/defaults, but that's just planning on the recursive nature.
Oh, the make on FreeBSD does support the -C option.