314 |
echo "$FC was specified as the compiler" |
echo "$FC was specified as the compiler" |
315 |
else |
else |
316 |
echo " " |
echo " " |
317 |
set likelysuspects=(ifc g77 pgf77 f77 f90 f95) |
switch ($platform) |
318 |
|
case Linux*: |
319 |
|
set likelysuspects=(ifc g77 pgf77 f77 f90 f95) |
320 |
|
breaksw |
321 |
|
default: |
322 |
|
set likelysuspects=(f77) |
323 |
|
breaksw |
324 |
|
endsw |
325 |
foreach fc ($likelysuspects) |
foreach fc ($likelysuspects) |
326 |
set foundfc=`which $fc |& cat - ` |
set foundfc=`which $fc |& cat - ` |
327 |
if (-x $foundfc[1]) then |
if (-x $foundfc[1]) then |
338 |
else |
else |
339 |
echo "No compiler found\!" |
echo "No compiler found\!" |
340 |
echo I tried looking for \"$likelysuspects\" in your \$PATH but found none |
echo I tried looking for \"$likelysuspects\" in your \$PATH but found none |
341 |
exit 13 |
echo I will continue anyway and see what happens. |
342 |
|
set FC = ( 'f77' ) |
343 |
|
# exit 13 |
344 |
endif |
endif |
345 |
endif |
endif |
346 |
|
|