Skip to content
Snippets Groups Projects
Commit 173b3336 authored by Izzard, Robert Dr (Maths & Physics)'s avatar Izzard, Robert Dr (Maths & Physics)
Browse files

update configure to search for gsl-config using the system's "which" command

as a fallback
parent 4f3200ba
No related branches found
No related tags found
No related merge requests found
......@@ -1331,7 +1331,9 @@ sub features
my $gsl_dir = resolve_gsl_dir() ;
my $gsl_config = -e "${gsl_dir}/bin/gsl-config" ? "${gsl_dir}/bin/gsl-config" :
-d "$ENV{HOME}/gsl" ? "$ENV{HOME}/gsl/bin/gsl-config" :'gsl-config';
-d "$ENV{HOME}/gsl" ? "$ENV{HOME}/gsl/bin/gsl-config" :
`which gsl-config`;
chomp $gsl_config;
$features = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment