389 |
fi |
fi |
390 |
fi |
fi |
391 |
|
|
392 |
|
# Check that FC, LINK, CPP, and S64 are defined. If not, complain |
393 |
|
# and abort! |
394 |
|
if test "x$FC" = x ; then |
395 |
|
cat <<EOF 1>&2 |
396 |
|
|
397 |
|
Error: no Fortran compiler: please specify using one of the following: |
398 |
|
1) within the options file ("FC=...") as specified by "-of=OPTFILE" |
399 |
|
2) the "-fc=XXX" command-line option |
400 |
|
3) the "./gm_local" file |
401 |
|
EOF |
402 |
|
exit 1 |
403 |
|
fi |
404 |
|
if test "x$LINK" = x ; then |
405 |
|
LINK=$FC |
406 |
|
fi |
407 |
|
if test "x$CPP" = x ; then |
408 |
|
cat <<EOF 1>&2 |
409 |
|
|
410 |
|
Error: no C pre-processor: please specify using one of the following: |
411 |
|
1) within the options file ("CPP=...") as specified by "-of=OPTFILE" |
412 |
|
2) the "./gm_local" file |
413 |
|
EOF |
414 |
|
exit 1 |
415 |
|
fi |
416 |
|
if test "x$S64" = x ; then |
417 |
|
cat <<EOF 1>&2 |
418 |
|
|
419 |
|
Error: no C pre-processor: please specify using one of the following: |
420 |
|
1) within the options file ("S64=...") as specified by "-of=OPTFILE" |
421 |
|
2) the "./gm_local" file |
422 |
|
EOF |
423 |
|
exit 1 |
424 |
|
fi |
425 |
|
|
426 |
|
|
427 |
printf "\n=== Setting defaults ===\n" |
printf "\n=== Setting defaults ===\n" |
428 |
echo -n " Adding MODS directories: " |
echo -n " Adding MODS directories: " |
429 |
for d in $MODS ; do |
for d in $MODS ; do |