3.6 Configure Script

The configure script produces a Makefile.

It is controlled by environment variables (see below).
It tries to use reasonable default values if they are not set (properly).
In the script the machine type is determined with `uname -m`.
According to the control variables and the machine architecture
the compiler name and its compiler flags are composed.
These are written into the header of a Makefile which is produced in the end.
An existing Makefile is appended to

Makefile_old.

Additionally the compilation command is written into the file

'compiler_flags.info'

in a form ready to be included in a Fortran program.

The environment variables that control the script are

F90_COMPILER:
Fortran compiler:

'': a machine dependent default is chosen individually for each architecture

f90: general default

F90_PREFLAGS:
Compiler flags to be put at the beginning of the list.
Usually, the list of compiler flags produced by the configure script should be pretty complete.
But you might want to add special switches like '-Bstatic' to enforce static linking of
libraries.

'': No extra flags

F90_POSTFLAGS:
Compiler flags to be put at the end of the list.
Usually, the list of compiler flags produced by the configure script should be pretty complete.
However, you might want to overwrite some settings. This can be done by setting this variable
to a none-empty value because typically a compiler should interpret the flags from left to right.