Blitz logo

Blitz Devel :

From: Theodore Papadopoulo (Theodore.Papadopoulo_at_[hidden])
Date: 2004-05-06 14:13:24


patrick.guio_at_[hidden] said:
> Well I do not really understand, I also use FC1 with autoconf 2.59,
> automake 1.8.4 and libtool 1.5.6 (all installed by myself since RH or
> Fedora are not good on keeping up to date those tools...) and I have
> no trouble with them.

The problem is that I do not have a fortran 90 compiler. Thus the FC
varaiable is NOT defined by the AC_PROG_FC macro which is not a
problem.

But then the AC_FC_FREEFORM and AC_FC_SRCEXT require the FC variable
to be defined and exit with an error otherwise which is probably the
good thing to do if a project is f90 based, but in our case since f90
is somewhat optionnal those macros should not fail (actually there is
no reason to execute them if there is no f90 compiler).

So the fix is simply:

if test "x$FC" != "x"; then
    AC_FC_FREEFORM
    AC_FC_SRCEXT(f90)
fi

I'll commit that soon... + another small fix to allow for compilation
speed tests to pass when compiled in separate directories.

Doc generation (also in separate directories) still has some problems
in finding images... I do not know texinfo enough to propose a fix
(it seems that the -Ixxx option does not work for @image commands and
I actually do not even understand why they still use the epsf stuff
which is largely obsolete....). If you have an idea, I'll take it...

(Actually, I have one idea, but it
is quite complicate: have .texi.in files and have configure
the set the proper paths in the source and generate the proper .texi
file, but this is both an overkill and ugly...).

> What surprises me is the command ~/src/Cvs/Blitz/
> blitz/configure --with-cxx=gcc --with-cxx is definitely obsolete, try
> ~/src/Cvs/Blitz/blitz/configure --help

Don't worry, this is simply history. configure ignores any extra
--with-SMTHG arguments, so basically this is not troublesome.

Last, a last step to make the configury stuff very up to date, would
be to rename configure.in into configure.ac (the blessed name
nowadays).

        Theo.

--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo_at_[hidden] Tel: (33) 04 92 38 76 01
 --------------------------------------------------------------------