develooper Front page | perl.perl6.internals | Postings from February 2008

[perl #37927] [TODO] build - progs from env vars

From:
James Keenan via RT
Date:
February 24, 2008 16:59
Subject:
[perl #37927] [TODO] build - progs from env vars
On Wed Dec 14 02:00:08 2005, jhoblitt@ifa.hawaii.edu wrote:
> - It should be possible to specify the paths to all utilities via
>   environment variables.  Similar to how the new probes for lex and yacc
>   work.
> 

Joshua:

My guess is that you're referring to this code found in both
config/inter/lex.pm and config/inter/yacc.pm:

    # precedence of sources for the program:
    # default -> probe -> environment -> option -> ask
    my $prog = $conf->options->get($util);
    unless ($prog) {
        $prog = $ENV{ uc($util) };
    }

What are the other 'utilities' that you were referring to?  Which of
them would normally -- for some definition of 'normally' -- be set in
ENV variables?

Thank you very much.

kid51



Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About